]> git.jsancho.org Git - gacela.git/blob - configure
Solved problem with Guile Autoconf macros.
[gacela.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gacela 0.5.
4 #
5 # Report bugs to <jsf@jsancho.org>.
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 jsf@jsancho.org
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='gacela'
592 PACKAGE_TARNAME='gacela'
593 PACKAGE_VERSION='0.5'
594 PACKAGE_STRING='gacela 0.5'
595 PACKAGE_BUGREPORT='jsf@jsancho.org'
596 PACKAGE_URL=''
597
598 # Factoring default headers for most tests.
599 ac_includes_default="\
600 #include <stdio.h>
601 #ifdef HAVE_SYS_TYPES_H
602 # include <sys/types.h>
603 #endif
604 #ifdef HAVE_SYS_STAT_H
605 # include <sys/stat.h>
606 #endif
607 #ifdef STDC_HEADERS
608 # include <stdlib.h>
609 # include <stddef.h>
610 #else
611 # ifdef HAVE_STDLIB_H
612 #  include <stdlib.h>
613 # endif
614 #endif
615 #ifdef HAVE_STRING_H
616 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
617 #  include <memory.h>
618 # endif
619 # include <string.h>
620 #endif
621 #ifdef HAVE_STRINGS_H
622 # include <strings.h>
623 #endif
624 #ifdef HAVE_INTTYPES_H
625 # include <inttypes.h>
626 #endif
627 #ifdef HAVE_STDINT_H
628 # include <stdint.h>
629 #endif
630 #ifdef HAVE_UNISTD_H
631 # include <unistd.h>
632 #endif"
633
634 ac_unique_file="src/sdl.c"
635 ac_subst_vars='am__EXEEXT_FALSE
636 am__EXEEXT_TRUE
637 LTLIBOBJS
638 LIBOBJS
639 FTGL_LIBS
640 GL_LIBS
641 SDL_LIBS
642 GUILE_LIBS
643 GUILE_CFLAGS
644 PKG_CONFIG_LIBDIR
645 PKG_CONFIG_PATH
646 PKG_CONFIG
647 CPP
648 OTOOL64
649 OTOOL
650 LIPO
651 NMEDIT
652 DSYMUTIL
653 MANIFEST_TOOL
654 RANLIB
655 ac_ct_AR
656 AR
657 DLLTOOL
658 OBJDUMP
659 LN_S
660 NM
661 ac_ct_DUMPBIN
662 DUMPBIN
663 LD
664 FGREP
665 EGREP
666 GREP
667 SED
668 am__fastdepCC_FALSE
669 am__fastdepCC_TRUE
670 CCDEPMODE
671 am__nodep
672 AMDEPBACKSLASH
673 AMDEP_FALSE
674 AMDEP_TRUE
675 am__quote
676 am__include
677 DEPDIR
678 OBJEXT
679 EXEEXT
680 ac_ct_CC
681 CPPFLAGS
682 LDFLAGS
683 CFLAGS
684 CC
685 host_os
686 host_vendor
687 host_cpu
688 host
689 build_os
690 build_vendor
691 build_cpu
692 build
693 LIBTOOL
694 am__untar
695 am__tar
696 AMTAR
697 am__leading_dot
698 SET_MAKE
699 AWK
700 mkdir_p
701 MKDIR_P
702 INSTALL_STRIP_PROGRAM
703 STRIP
704 install_sh
705 MAKEINFO
706 AUTOHEADER
707 AUTOMAKE
708 AUTOCONF
709 ACLOCAL
710 VERSION
711 PACKAGE
712 CYGPATH_W
713 am__isrc
714 INSTALL_DATA
715 INSTALL_SCRIPT
716 INSTALL_PROGRAM
717 target_alias
718 host_alias
719 build_alias
720 LIBS
721 ECHO_T
722 ECHO_N
723 ECHO_C
724 DEFS
725 mandir
726 localedir
727 libdir
728 psdir
729 pdfdir
730 dvidir
731 htmldir
732 infodir
733 docdir
734 oldincludedir
735 includedir
736 localstatedir
737 sharedstatedir
738 sysconfdir
739 datadir
740 datarootdir
741 libexecdir
742 sbindir
743 bindir
744 program_transform_name
745 prefix
746 exec_prefix
747 PACKAGE_URL
748 PACKAGE_BUGREPORT
749 PACKAGE_STRING
750 PACKAGE_VERSION
751 PACKAGE_TARNAME
752 PACKAGE_NAME
753 PATH_SEPARATOR
754 SHELL'
755 ac_subst_files=''
756 ac_user_opts='
757 enable_option_checking
758 enable_shared
759 enable_static
760 with_pic
761 enable_fast_install
762 enable_dependency_tracking
763 with_gnu_ld
764 with_sysroot
765 enable_libtool_lock
766 '
767       ac_precious_vars='build_alias
768 host_alias
769 target_alias
770 CC
771 CFLAGS
772 LDFLAGS
773 LIBS
774 CPPFLAGS
775 CPP
776 PKG_CONFIG
777 PKG_CONFIG_PATH
778 PKG_CONFIG_LIBDIR
779 GUILE_CFLAGS
780 GUILE_LIBS'
781
782
783 # Initialize some variables set by options.
784 ac_init_help=
785 ac_init_version=false
786 ac_unrecognized_opts=
787 ac_unrecognized_sep=
788 # The variables have the same names as the options, with
789 # dashes changed to underlines.
790 cache_file=/dev/null
791 exec_prefix=NONE
792 no_create=
793 no_recursion=
794 prefix=NONE
795 program_prefix=NONE
796 program_suffix=NONE
797 program_transform_name=s,x,x,
798 silent=
799 site=
800 srcdir=
801 verbose=
802 x_includes=NONE
803 x_libraries=NONE
804
805 # Installation directory options.
806 # These are left unexpanded so users can "make install exec_prefix=/foo"
807 # and all the variables that are supposed to be based on exec_prefix
808 # by default will actually change.
809 # Use braces instead of parens because sh, perl, etc. also accept them.
810 # (The list follows the same order as the GNU Coding Standards.)
811 bindir='${exec_prefix}/bin'
812 sbindir='${exec_prefix}/sbin'
813 libexecdir='${exec_prefix}/libexec'
814 datarootdir='${prefix}/share'
815 datadir='${datarootdir}'
816 sysconfdir='${prefix}/etc'
817 sharedstatedir='${prefix}/com'
818 localstatedir='${prefix}/var'
819 includedir='${prefix}/include'
820 oldincludedir='/usr/include'
821 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
822 infodir='${datarootdir}/info'
823 htmldir='${docdir}'
824 dvidir='${docdir}'
825 pdfdir='${docdir}'
826 psdir='${docdir}'
827 libdir='${exec_prefix}/lib'
828 localedir='${datarootdir}/locale'
829 mandir='${datarootdir}/man'
830
831 ac_prev=
832 ac_dashdash=
833 for ac_option
834 do
835   # If the previous option needs an argument, assign it.
836   if test -n "$ac_prev"; then
837     eval $ac_prev=\$ac_option
838     ac_prev=
839     continue
840   fi
841
842   case $ac_option in
843   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
844   *=)   ac_optarg= ;;
845   *)    ac_optarg=yes ;;
846   esac
847
848   # Accept the important Cygnus configure options, so we can diagnose typos.
849
850   case $ac_dashdash$ac_option in
851   --)
852     ac_dashdash=yes ;;
853
854   -bindir | --bindir | --bindi | --bind | --bin | --bi)
855     ac_prev=bindir ;;
856   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
857     bindir=$ac_optarg ;;
858
859   -build | --build | --buil | --bui | --bu)
860     ac_prev=build_alias ;;
861   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
862     build_alias=$ac_optarg ;;
863
864   -cache-file | --cache-file | --cache-fil | --cache-fi \
865   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
866     ac_prev=cache_file ;;
867   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
868   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
869     cache_file=$ac_optarg ;;
870
871   --config-cache | -C)
872     cache_file=config.cache ;;
873
874   -datadir | --datadir | --datadi | --datad)
875     ac_prev=datadir ;;
876   -datadir=* | --datadir=* | --datadi=* | --datad=*)
877     datadir=$ac_optarg ;;
878
879   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
880   | --dataroo | --dataro | --datar)
881     ac_prev=datarootdir ;;
882   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
883   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
884     datarootdir=$ac_optarg ;;
885
886   -disable-* | --disable-*)
887     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
888     # Reject names that are not valid shell variable names.
889     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
890       as_fn_error $? "invalid feature name: $ac_useropt"
891     ac_useropt_orig=$ac_useropt
892     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
893     case $ac_user_opts in
894       *"
895 "enable_$ac_useropt"
896 "*) ;;
897       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
898          ac_unrecognized_sep=', ';;
899     esac
900     eval enable_$ac_useropt=no ;;
901
902   -docdir | --docdir | --docdi | --doc | --do)
903     ac_prev=docdir ;;
904   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
905     docdir=$ac_optarg ;;
906
907   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
908     ac_prev=dvidir ;;
909   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
910     dvidir=$ac_optarg ;;
911
912   -enable-* | --enable-*)
913     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
914     # Reject names that are not valid shell variable names.
915     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
916       as_fn_error $? "invalid feature name: $ac_useropt"
917     ac_useropt_orig=$ac_useropt
918     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
919     case $ac_user_opts in
920       *"
921 "enable_$ac_useropt"
922 "*) ;;
923       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
924          ac_unrecognized_sep=', ';;
925     esac
926     eval enable_$ac_useropt=\$ac_optarg ;;
927
928   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
929   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
930   | --exec | --exe | --ex)
931     ac_prev=exec_prefix ;;
932   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
933   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
934   | --exec=* | --exe=* | --ex=*)
935     exec_prefix=$ac_optarg ;;
936
937   -gas | --gas | --ga | --g)
938     # Obsolete; use --with-gas.
939     with_gas=yes ;;
940
941   -help | --help | --hel | --he | -h)
942     ac_init_help=long ;;
943   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
944     ac_init_help=recursive ;;
945   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
946     ac_init_help=short ;;
947
948   -host | --host | --hos | --ho)
949     ac_prev=host_alias ;;
950   -host=* | --host=* | --hos=* | --ho=*)
951     host_alias=$ac_optarg ;;
952
953   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
954     ac_prev=htmldir ;;
955   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
956   | --ht=*)
957     htmldir=$ac_optarg ;;
958
959   -includedir | --includedir | --includedi | --included | --include \
960   | --includ | --inclu | --incl | --inc)
961     ac_prev=includedir ;;
962   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
963   | --includ=* | --inclu=* | --incl=* | --inc=*)
964     includedir=$ac_optarg ;;
965
966   -infodir | --infodir | --infodi | --infod | --info | --inf)
967     ac_prev=infodir ;;
968   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
969     infodir=$ac_optarg ;;
970
971   -libdir | --libdir | --libdi | --libd)
972     ac_prev=libdir ;;
973   -libdir=* | --libdir=* | --libdi=* | --libd=*)
974     libdir=$ac_optarg ;;
975
976   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
977   | --libexe | --libex | --libe)
978     ac_prev=libexecdir ;;
979   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
980   | --libexe=* | --libex=* | --libe=*)
981     libexecdir=$ac_optarg ;;
982
983   -localedir | --localedir | --localedi | --localed | --locale)
984     ac_prev=localedir ;;
985   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
986     localedir=$ac_optarg ;;
987
988   -localstatedir | --localstatedir | --localstatedi | --localstated \
989   | --localstate | --localstat | --localsta | --localst | --locals)
990     ac_prev=localstatedir ;;
991   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
992   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
993     localstatedir=$ac_optarg ;;
994
995   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
996     ac_prev=mandir ;;
997   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
998     mandir=$ac_optarg ;;
999
1000   -nfp | --nfp | --nf)
1001     # Obsolete; use --without-fp.
1002     with_fp=no ;;
1003
1004   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1005   | --no-cr | --no-c | -n)
1006     no_create=yes ;;
1007
1008   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1009   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1010     no_recursion=yes ;;
1011
1012   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1013   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1014   | --oldin | --oldi | --old | --ol | --o)
1015     ac_prev=oldincludedir ;;
1016   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1017   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1018   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1019     oldincludedir=$ac_optarg ;;
1020
1021   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1022     ac_prev=prefix ;;
1023   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1024     prefix=$ac_optarg ;;
1025
1026   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1027   | --program-pre | --program-pr | --program-p)
1028     ac_prev=program_prefix ;;
1029   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1030   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1031     program_prefix=$ac_optarg ;;
1032
1033   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1034   | --program-suf | --program-su | --program-s)
1035     ac_prev=program_suffix ;;
1036   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1037   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1038     program_suffix=$ac_optarg ;;
1039
1040   -program-transform-name | --program-transform-name \
1041   | --program-transform-nam | --program-transform-na \
1042   | --program-transform-n | --program-transform- \
1043   | --program-transform | --program-transfor \
1044   | --program-transfo | --program-transf \
1045   | --program-trans | --program-tran \
1046   | --progr-tra | --program-tr | --program-t)
1047     ac_prev=program_transform_name ;;
1048   -program-transform-name=* | --program-transform-name=* \
1049   | --program-transform-nam=* | --program-transform-na=* \
1050   | --program-transform-n=* | --program-transform-=* \
1051   | --program-transform=* | --program-transfor=* \
1052   | --program-transfo=* | --program-transf=* \
1053   | --program-trans=* | --program-tran=* \
1054   | --progr-tra=* | --program-tr=* | --program-t=*)
1055     program_transform_name=$ac_optarg ;;
1056
1057   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1058     ac_prev=pdfdir ;;
1059   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1060     pdfdir=$ac_optarg ;;
1061
1062   -psdir | --psdir | --psdi | --psd | --ps)
1063     ac_prev=psdir ;;
1064   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1065     psdir=$ac_optarg ;;
1066
1067   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1068   | -silent | --silent | --silen | --sile | --sil)
1069     silent=yes ;;
1070
1071   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1072     ac_prev=sbindir ;;
1073   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1074   | --sbi=* | --sb=*)
1075     sbindir=$ac_optarg ;;
1076
1077   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1078   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1079   | --sharedst | --shareds | --shared | --share | --shar \
1080   | --sha | --sh)
1081     ac_prev=sharedstatedir ;;
1082   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1083   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1084   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1085   | --sha=* | --sh=*)
1086     sharedstatedir=$ac_optarg ;;
1087
1088   -site | --site | --sit)
1089     ac_prev=site ;;
1090   -site=* | --site=* | --sit=*)
1091     site=$ac_optarg ;;
1092
1093   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1094     ac_prev=srcdir ;;
1095   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1096     srcdir=$ac_optarg ;;
1097
1098   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1099   | --syscon | --sysco | --sysc | --sys | --sy)
1100     ac_prev=sysconfdir ;;
1101   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1102   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1103     sysconfdir=$ac_optarg ;;
1104
1105   -target | --target | --targe | --targ | --tar | --ta | --t)
1106     ac_prev=target_alias ;;
1107   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1108     target_alias=$ac_optarg ;;
1109
1110   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1111     verbose=yes ;;
1112
1113   -version | --version | --versio | --versi | --vers | -V)
1114     ac_init_version=: ;;
1115
1116   -with-* | --with-*)
1117     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1118     # Reject names that are not valid shell variable names.
1119     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1120       as_fn_error $? "invalid package name: $ac_useropt"
1121     ac_useropt_orig=$ac_useropt
1122     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1123     case $ac_user_opts in
1124       *"
1125 "with_$ac_useropt"
1126 "*) ;;
1127       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1128          ac_unrecognized_sep=', ';;
1129     esac
1130     eval with_$ac_useropt=\$ac_optarg ;;
1131
1132   -without-* | --without-*)
1133     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1134     # Reject names that are not valid shell variable names.
1135     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1136       as_fn_error $? "invalid package name: $ac_useropt"
1137     ac_useropt_orig=$ac_useropt
1138     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1139     case $ac_user_opts in
1140       *"
1141 "with_$ac_useropt"
1142 "*) ;;
1143       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1144          ac_unrecognized_sep=', ';;
1145     esac
1146     eval with_$ac_useropt=no ;;
1147
1148   --x)
1149     # Obsolete; use --with-x.
1150     with_x=yes ;;
1151
1152   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1153   | --x-incl | --x-inc | --x-in | --x-i)
1154     ac_prev=x_includes ;;
1155   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1156   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1157     x_includes=$ac_optarg ;;
1158
1159   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1160   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1161     ac_prev=x_libraries ;;
1162   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1163   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1164     x_libraries=$ac_optarg ;;
1165
1166   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1167 Try \`$0 --help' for more information"
1168     ;;
1169
1170   *=*)
1171     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1172     # Reject names that are not valid shell variable names.
1173     case $ac_envvar in #(
1174       '' | [0-9]* | *[!_$as_cr_alnum]* )
1175       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1176     esac
1177     eval $ac_envvar=\$ac_optarg
1178     export $ac_envvar ;;
1179
1180   *)
1181     # FIXME: should be removed in autoconf 3.0.
1182     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1183     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1184       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1185     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1186     ;;
1187
1188   esac
1189 done
1190
1191 if test -n "$ac_prev"; then
1192   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1193   as_fn_error $? "missing argument to $ac_option"
1194 fi
1195
1196 if test -n "$ac_unrecognized_opts"; then
1197   case $enable_option_checking in
1198     no) ;;
1199     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1200     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1201   esac
1202 fi
1203
1204 # Check all directory arguments for consistency.
1205 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1206                 datadir sysconfdir sharedstatedir localstatedir includedir \
1207                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1208                 libdir localedir mandir
1209 do
1210   eval ac_val=\$$ac_var
1211   # Remove trailing slashes.
1212   case $ac_val in
1213     */ )
1214       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1215       eval $ac_var=\$ac_val;;
1216   esac
1217   # Be sure to have absolute directory names.
1218   case $ac_val in
1219     [\\/$]* | ?:[\\/]* )  continue;;
1220     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1221   esac
1222   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1223 done
1224
1225 # There might be people who depend on the old broken behavior: `$host'
1226 # used to hold the argument of --host etc.
1227 # FIXME: To remove some day.
1228 build=$build_alias
1229 host=$host_alias
1230 target=$target_alias
1231
1232 # FIXME: To remove some day.
1233 if test "x$host_alias" != x; then
1234   if test "x$build_alias" = x; then
1235     cross_compiling=maybe
1236   elif test "x$build_alias" != "x$host_alias"; then
1237     cross_compiling=yes
1238   fi
1239 fi
1240
1241 ac_tool_prefix=
1242 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1243
1244 test "$silent" = yes && exec 6>/dev/null
1245
1246
1247 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1248 ac_ls_di=`ls -di .` &&
1249 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1250   as_fn_error $? "working directory cannot be determined"
1251 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1252   as_fn_error $? "pwd does not report name of working directory"
1253
1254
1255 # Find the source files, if location was not specified.
1256 if test -z "$srcdir"; then
1257   ac_srcdir_defaulted=yes
1258   # Try the directory containing this script, then the parent directory.
1259   ac_confdir=`$as_dirname -- "$as_myself" ||
1260 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1261          X"$as_myself" : 'X\(//\)[^/]' \| \
1262          X"$as_myself" : 'X\(//\)$' \| \
1263          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1264 $as_echo X"$as_myself" |
1265     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1266             s//\1/
1267             q
1268           }
1269           /^X\(\/\/\)[^/].*/{
1270             s//\1/
1271             q
1272           }
1273           /^X\(\/\/\)$/{
1274             s//\1/
1275             q
1276           }
1277           /^X\(\/\).*/{
1278             s//\1/
1279             q
1280           }
1281           s/.*/./; q'`
1282   srcdir=$ac_confdir
1283   if test ! -r "$srcdir/$ac_unique_file"; then
1284     srcdir=..
1285   fi
1286 else
1287   ac_srcdir_defaulted=no
1288 fi
1289 if test ! -r "$srcdir/$ac_unique_file"; then
1290   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1291   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1292 fi
1293 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1294 ac_abs_confdir=`(
1295         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1296         pwd)`
1297 # When building in place, set srcdir=.
1298 if test "$ac_abs_confdir" = "$ac_pwd"; then
1299   srcdir=.
1300 fi
1301 # Remove unnecessary trailing slashes from srcdir.
1302 # Double slashes in file names in object file debugging info
1303 # mess up M-x gdb in Emacs.
1304 case $srcdir in
1305 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1306 esac
1307 for ac_var in $ac_precious_vars; do
1308   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1309   eval ac_env_${ac_var}_value=\$${ac_var}
1310   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1311   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1312 done
1313
1314 #
1315 # Report the --help message.
1316 #
1317 if test "$ac_init_help" = "long"; then
1318   # Omit some internal or obsolete options to make the list less imposing.
1319   # This message is too long to be a string in the A/UX 3.1 sh.
1320   cat <<_ACEOF
1321 \`configure' configures gacela 0.5 to adapt to many kinds of systems.
1322
1323 Usage: $0 [OPTION]... [VAR=VALUE]...
1324
1325 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1326 VAR=VALUE.  See below for descriptions of some of the useful variables.
1327
1328 Defaults for the options are specified in brackets.
1329
1330 Configuration:
1331   -h, --help              display this help and exit
1332       --help=short        display options specific to this package
1333       --help=recursive    display the short help of all the included packages
1334   -V, --version           display version information and exit
1335   -q, --quiet, --silent   do not print \`checking ...' messages
1336       --cache-file=FILE   cache test results in FILE [disabled]
1337   -C, --config-cache      alias for \`--cache-file=config.cache'
1338   -n, --no-create         do not create output files
1339       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1340
1341 Installation directories:
1342   --prefix=PREFIX         install architecture-independent files in PREFIX
1343                           [$ac_default_prefix]
1344   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1345                           [PREFIX]
1346
1347 By default, \`make install' will install all the files in
1348 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1349 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1350 for instance \`--prefix=\$HOME'.
1351
1352 For better control, use the options below.
1353
1354 Fine tuning of the installation directories:
1355   --bindir=DIR            user executables [EPREFIX/bin]
1356   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1357   --libexecdir=DIR        program executables [EPREFIX/libexec]
1358   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1359   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1360   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1361   --libdir=DIR            object code libraries [EPREFIX/lib]
1362   --includedir=DIR        C header files [PREFIX/include]
1363   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1364   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1365   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1366   --infodir=DIR           info documentation [DATAROOTDIR/info]
1367   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1368   --mandir=DIR            man documentation [DATAROOTDIR/man]
1369   --docdir=DIR            documentation root [DATAROOTDIR/doc/gacela]
1370   --htmldir=DIR           html documentation [DOCDIR]
1371   --dvidir=DIR            dvi documentation [DOCDIR]
1372   --pdfdir=DIR            pdf documentation [DOCDIR]
1373   --psdir=DIR             ps documentation [DOCDIR]
1374 _ACEOF
1375
1376   cat <<\_ACEOF
1377
1378 Program names:
1379   --program-prefix=PREFIX            prepend PREFIX to installed program names
1380   --program-suffix=SUFFIX            append SUFFIX to installed program names
1381   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1382
1383 System types:
1384   --build=BUILD     configure for building on BUILD [guessed]
1385   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1386 _ACEOF
1387 fi
1388
1389 if test -n "$ac_init_help"; then
1390   case $ac_init_help in
1391      short | recursive ) echo "Configuration of gacela 0.5:";;
1392    esac
1393   cat <<\_ACEOF
1394
1395 Optional Features:
1396   --disable-option-checking  ignore unrecognized --enable/--with options
1397   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1398   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1399   --enable-shared[=PKGS]  build shared libraries [default=yes]
1400   --enable-static[=PKGS]  build static libraries [default=yes]
1401   --enable-fast-install[=PKGS]
1402                           optimize for fast installation [default=yes]
1403   --disable-dependency-tracking  speeds up one-time build
1404   --enable-dependency-tracking   do not reject slow dependency extractors
1405   --disable-libtool-lock  avoid locking (might break parallel builds)
1406
1407 Optional Packages:
1408   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1409   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1410   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1411                           both]
1412   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1413   --with-sysroot=DIR Search for dependent libraries within DIR
1414                         (or the compiler's sysroot if not specified).
1415
1416 Some influential environment variables:
1417   CC          C compiler command
1418   CFLAGS      C compiler flags
1419   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1420               nonstandard directory <lib dir>
1421   LIBS        libraries to pass to the linker, e.g. -l<library>
1422   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1423               you have headers in a nonstandard directory <include dir>
1424   CPP         C preprocessor
1425   PKG_CONFIG  path to pkg-config utility
1426   PKG_CONFIG_PATH
1427               directories to add to pkg-config's search path
1428   PKG_CONFIG_LIBDIR
1429               path overriding pkg-config's built-in search path
1430   GUILE_CFLAGS
1431               C compiler flags for GUILE, overriding pkg-config
1432   GUILE_LIBS  linker flags for GUILE, overriding pkg-config
1433
1434 Use these variables to override the choices made by `configure' or to help
1435 it to find libraries and programs with nonstandard names/locations.
1436
1437 Report bugs to <jsf@jsancho.org>.
1438 _ACEOF
1439 ac_status=$?
1440 fi
1441
1442 if test "$ac_init_help" = "recursive"; then
1443   # If there are subdirs, report their specific --help.
1444   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1445     test -d "$ac_dir" ||
1446       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1447       continue
1448     ac_builddir=.
1449
1450 case "$ac_dir" in
1451 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1452 *)
1453   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1454   # A ".." for each directory in $ac_dir_suffix.
1455   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1456   case $ac_top_builddir_sub in
1457   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1458   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1459   esac ;;
1460 esac
1461 ac_abs_top_builddir=$ac_pwd
1462 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1463 # for backward compatibility:
1464 ac_top_builddir=$ac_top_build_prefix
1465
1466 case $srcdir in
1467   .)  # We are building in place.
1468     ac_srcdir=.
1469     ac_top_srcdir=$ac_top_builddir_sub
1470     ac_abs_top_srcdir=$ac_pwd ;;
1471   [\\/]* | ?:[\\/]* )  # Absolute name.
1472     ac_srcdir=$srcdir$ac_dir_suffix;
1473     ac_top_srcdir=$srcdir
1474     ac_abs_top_srcdir=$srcdir ;;
1475   *) # Relative name.
1476     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1477     ac_top_srcdir=$ac_top_build_prefix$srcdir
1478     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1479 esac
1480 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1481
1482     cd "$ac_dir" || { ac_status=$?; continue; }
1483     # Check for guested configure.
1484     if test -f "$ac_srcdir/configure.gnu"; then
1485       echo &&
1486       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1487     elif test -f "$ac_srcdir/configure"; then
1488       echo &&
1489       $SHELL "$ac_srcdir/configure" --help=recursive
1490     else
1491       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1492     fi || ac_status=$?
1493     cd "$ac_pwd" || { ac_status=$?; break; }
1494   done
1495 fi
1496
1497 test -n "$ac_init_help" && exit $ac_status
1498 if $ac_init_version; then
1499   cat <<\_ACEOF
1500 gacela configure 0.5
1501 generated by GNU Autoconf 2.69
1502
1503 Copyright (C) 2012 Free Software Foundation, Inc.
1504 This configure script is free software; the Free Software Foundation
1505 gives unlimited permission to copy, distribute and modify it.
1506 _ACEOF
1507   exit
1508 fi
1509
1510 ## ------------------------ ##
1511 ## Autoconf initialization. ##
1512 ## ------------------------ ##
1513
1514 # ac_fn_c_try_compile LINENO
1515 # --------------------------
1516 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1517 ac_fn_c_try_compile ()
1518 {
1519   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1520   rm -f conftest.$ac_objext
1521   if { { ac_try="$ac_compile"
1522 case "(($ac_try" in
1523   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1524   *) ac_try_echo=$ac_try;;
1525 esac
1526 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1527 $as_echo "$ac_try_echo"; } >&5
1528   (eval "$ac_compile") 2>conftest.err
1529   ac_status=$?
1530   if test -s conftest.err; then
1531     grep -v '^ *+' conftest.err >conftest.er1
1532     cat conftest.er1 >&5
1533     mv -f conftest.er1 conftest.err
1534   fi
1535   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1536   test $ac_status = 0; } && {
1537          test -z "$ac_c_werror_flag" ||
1538          test ! -s conftest.err
1539        } && test -s conftest.$ac_objext; then :
1540   ac_retval=0
1541 else
1542   $as_echo "$as_me: failed program was:" >&5
1543 sed 's/^/| /' conftest.$ac_ext >&5
1544
1545         ac_retval=1
1546 fi
1547   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1548   as_fn_set_status $ac_retval
1549
1550 } # ac_fn_c_try_compile
1551
1552 # ac_fn_c_try_link LINENO
1553 # -----------------------
1554 # Try to link conftest.$ac_ext, and return whether this succeeded.
1555 ac_fn_c_try_link ()
1556 {
1557   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1558   rm -f conftest.$ac_objext conftest$ac_exeext
1559   if { { ac_try="$ac_link"
1560 case "(($ac_try" in
1561   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1562   *) ac_try_echo=$ac_try;;
1563 esac
1564 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1565 $as_echo "$ac_try_echo"; } >&5
1566   (eval "$ac_link") 2>conftest.err
1567   ac_status=$?
1568   if test -s conftest.err; then
1569     grep -v '^ *+' conftest.err >conftest.er1
1570     cat conftest.er1 >&5
1571     mv -f conftest.er1 conftest.err
1572   fi
1573   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1574   test $ac_status = 0; } && {
1575          test -z "$ac_c_werror_flag" ||
1576          test ! -s conftest.err
1577        } && test -s conftest$ac_exeext && {
1578          test "$cross_compiling" = yes ||
1579          test -x conftest$ac_exeext
1580        }; then :
1581   ac_retval=0
1582 else
1583   $as_echo "$as_me: failed program was:" >&5
1584 sed 's/^/| /' conftest.$ac_ext >&5
1585
1586         ac_retval=1
1587 fi
1588   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1589   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1590   # interfere with the next link command; also delete a directory that is
1591   # left behind by Apple's compiler.  We do this before executing the actions.
1592   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1593   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1594   as_fn_set_status $ac_retval
1595
1596 } # ac_fn_c_try_link
1597
1598 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1599 # -------------------------------------------------------
1600 # Tests whether HEADER exists and can be compiled using the include files in
1601 # INCLUDES, setting the cache variable VAR accordingly.
1602 ac_fn_c_check_header_compile ()
1603 {
1604   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1605   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1606 $as_echo_n "checking for $2... " >&6; }
1607 if eval \${$3+:} false; then :
1608   $as_echo_n "(cached) " >&6
1609 else
1610   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1611 /* end confdefs.h.  */
1612 $4
1613 #include <$2>
1614 _ACEOF
1615 if ac_fn_c_try_compile "$LINENO"; then :
1616   eval "$3=yes"
1617 else
1618   eval "$3=no"
1619 fi
1620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1621 fi
1622 eval ac_res=\$$3
1623                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1624 $as_echo "$ac_res" >&6; }
1625   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1626
1627 } # ac_fn_c_check_header_compile
1628
1629 # ac_fn_c_try_cpp LINENO
1630 # ----------------------
1631 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1632 ac_fn_c_try_cpp ()
1633 {
1634   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1635   if { { ac_try="$ac_cpp conftest.$ac_ext"
1636 case "(($ac_try" in
1637   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1638   *) ac_try_echo=$ac_try;;
1639 esac
1640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1641 $as_echo "$ac_try_echo"; } >&5
1642   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1643   ac_status=$?
1644   if test -s conftest.err; then
1645     grep -v '^ *+' conftest.err >conftest.er1
1646     cat conftest.er1 >&5
1647     mv -f conftest.er1 conftest.err
1648   fi
1649   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1650   test $ac_status = 0; } > conftest.i && {
1651          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1652          test ! -s conftest.err
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   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1662   as_fn_set_status $ac_retval
1663
1664 } # ac_fn_c_try_cpp
1665
1666 # ac_fn_c_try_run LINENO
1667 # ----------------------
1668 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1669 # that executables *can* be run.
1670 ac_fn_c_try_run ()
1671 {
1672   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1673   if { { ac_try="$ac_link"
1674 case "(($ac_try" in
1675   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1676   *) ac_try_echo=$ac_try;;
1677 esac
1678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1679 $as_echo "$ac_try_echo"; } >&5
1680   (eval "$ac_link") 2>&5
1681   ac_status=$?
1682   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1683   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1684   { { case "(($ac_try" in
1685   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1686   *) ac_try_echo=$ac_try;;
1687 esac
1688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1689 $as_echo "$ac_try_echo"; } >&5
1690   (eval "$ac_try") 2>&5
1691   ac_status=$?
1692   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1693   test $ac_status = 0; }; }; then :
1694   ac_retval=0
1695 else
1696   $as_echo "$as_me: program exited with status $ac_status" >&5
1697        $as_echo "$as_me: failed program was:" >&5
1698 sed 's/^/| /' conftest.$ac_ext >&5
1699
1700        ac_retval=$ac_status
1701 fi
1702   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1703   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1704   as_fn_set_status $ac_retval
1705
1706 } # ac_fn_c_try_run
1707
1708 # ac_fn_c_check_func LINENO FUNC VAR
1709 # ----------------------------------
1710 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1711 ac_fn_c_check_func ()
1712 {
1713   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1714   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1715 $as_echo_n "checking for $2... " >&6; }
1716 if eval \${$3+:} false; then :
1717   $as_echo_n "(cached) " >&6
1718 else
1719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1720 /* end confdefs.h.  */
1721 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1722    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1723 #define $2 innocuous_$2
1724
1725 /* System header to define __stub macros and hopefully few prototypes,
1726     which can conflict with char $2 (); below.
1727     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1728     <limits.h> exists even on freestanding compilers.  */
1729
1730 #ifdef __STDC__
1731 # include <limits.h>
1732 #else
1733 # include <assert.h>
1734 #endif
1735
1736 #undef $2
1737
1738 /* Override any GCC internal prototype to avoid an error.
1739    Use char because int might match the return type of a GCC
1740    builtin and then its argument prototype would still apply.  */
1741 #ifdef __cplusplus
1742 extern "C"
1743 #endif
1744 char $2 ();
1745 /* The GNU C library defines this for functions which it implements
1746     to always fail with ENOSYS.  Some functions are actually named
1747     something starting with __ and the normal name is an alias.  */
1748 #if defined __stub_$2 || defined __stub___$2
1749 choke me
1750 #endif
1751
1752 int
1753 main ()
1754 {
1755 return $2 ();
1756   ;
1757   return 0;
1758 }
1759 _ACEOF
1760 if ac_fn_c_try_link "$LINENO"; then :
1761   eval "$3=yes"
1762 else
1763   eval "$3=no"
1764 fi
1765 rm -f core conftest.err conftest.$ac_objext \
1766     conftest$ac_exeext conftest.$ac_ext
1767 fi
1768 eval ac_res=\$$3
1769                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1770 $as_echo "$ac_res" >&6; }
1771   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1772
1773 } # ac_fn_c_check_func
1774 cat >config.log <<_ACEOF
1775 This file contains any messages produced by compilers while
1776 running configure, to aid debugging if configure makes a mistake.
1777
1778 It was created by gacela $as_me 0.5, which was
1779 generated by GNU Autoconf 2.69.  Invocation command line was
1780
1781   $ $0 $@
1782
1783 _ACEOF
1784 exec 5>>config.log
1785 {
1786 cat <<_ASUNAME
1787 ## --------- ##
1788 ## Platform. ##
1789 ## --------- ##
1790
1791 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1792 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1793 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1794 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1795 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1796
1797 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1798 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1799
1800 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1801 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1802 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1803 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1804 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1805 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1806 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1807
1808 _ASUNAME
1809
1810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1811 for as_dir in $PATH
1812 do
1813   IFS=$as_save_IFS
1814   test -z "$as_dir" && as_dir=.
1815     $as_echo "PATH: $as_dir"
1816   done
1817 IFS=$as_save_IFS
1818
1819 } >&5
1820
1821 cat >&5 <<_ACEOF
1822
1823
1824 ## ----------- ##
1825 ## Core tests. ##
1826 ## ----------- ##
1827
1828 _ACEOF
1829
1830
1831 # Keep a trace of the command line.
1832 # Strip out --no-create and --no-recursion so they do not pile up.
1833 # Strip out --silent because we don't want to record it for future runs.
1834 # Also quote any args containing shell meta-characters.
1835 # Make two passes to allow for proper duplicate-argument suppression.
1836 ac_configure_args=
1837 ac_configure_args0=
1838 ac_configure_args1=
1839 ac_must_keep_next=false
1840 for ac_pass in 1 2
1841 do
1842   for ac_arg
1843   do
1844     case $ac_arg in
1845     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1846     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1847     | -silent | --silent | --silen | --sile | --sil)
1848       continue ;;
1849     *\'*)
1850       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1851     esac
1852     case $ac_pass in
1853     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1854     2)
1855       as_fn_append ac_configure_args1 " '$ac_arg'"
1856       if test $ac_must_keep_next = true; then
1857         ac_must_keep_next=false # Got value, back to normal.
1858       else
1859         case $ac_arg in
1860           *=* | --config-cache | -C | -disable-* | --disable-* \
1861           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1862           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1863           | -with-* | --with-* | -without-* | --without-* | --x)
1864             case "$ac_configure_args0 " in
1865               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1866             esac
1867             ;;
1868           -* ) ac_must_keep_next=true ;;
1869         esac
1870       fi
1871       as_fn_append ac_configure_args " '$ac_arg'"
1872       ;;
1873     esac
1874   done
1875 done
1876 { ac_configure_args0=; unset ac_configure_args0;}
1877 { ac_configure_args1=; unset ac_configure_args1;}
1878
1879 # When interrupted or exit'd, cleanup temporary files, and complete
1880 # config.log.  We remove comments because anyway the quotes in there
1881 # would cause problems or look ugly.
1882 # WARNING: Use '\'' to represent an apostrophe within the trap.
1883 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1884 trap 'exit_status=$?
1885   # Save into config.log some information that might help in debugging.
1886   {
1887     echo
1888
1889     $as_echo "## ---------------- ##
1890 ## Cache variables. ##
1891 ## ---------------- ##"
1892     echo
1893     # The following way of writing the cache mishandles newlines in values,
1894 (
1895   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1896     eval ac_val=\$$ac_var
1897     case $ac_val in #(
1898     *${as_nl}*)
1899       case $ac_var in #(
1900       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1901 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1902       esac
1903       case $ac_var in #(
1904       _ | IFS | as_nl) ;; #(
1905       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1906       *) { eval $ac_var=; unset $ac_var;} ;;
1907       esac ;;
1908     esac
1909   done
1910   (set) 2>&1 |
1911     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1912     *${as_nl}ac_space=\ *)
1913       sed -n \
1914         "s/'\''/'\''\\\\'\'''\''/g;
1915           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1916       ;; #(
1917     *)
1918       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1919       ;;
1920     esac |
1921     sort
1922 )
1923     echo
1924
1925     $as_echo "## ----------------- ##
1926 ## Output variables. ##
1927 ## ----------------- ##"
1928     echo
1929     for ac_var in $ac_subst_vars
1930     do
1931       eval ac_val=\$$ac_var
1932       case $ac_val in
1933       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1934       esac
1935       $as_echo "$ac_var='\''$ac_val'\''"
1936     done | sort
1937     echo
1938
1939     if test -n "$ac_subst_files"; then
1940       $as_echo "## ------------------- ##
1941 ## File substitutions. ##
1942 ## ------------------- ##"
1943       echo
1944       for ac_var in $ac_subst_files
1945       do
1946         eval ac_val=\$$ac_var
1947         case $ac_val in
1948         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1949         esac
1950         $as_echo "$ac_var='\''$ac_val'\''"
1951       done | sort
1952       echo
1953     fi
1954
1955     if test -s confdefs.h; then
1956       $as_echo "## ----------- ##
1957 ## confdefs.h. ##
1958 ## ----------- ##"
1959       echo
1960       cat confdefs.h
1961       echo
1962     fi
1963     test "$ac_signal" != 0 &&
1964       $as_echo "$as_me: caught signal $ac_signal"
1965     $as_echo "$as_me: exit $exit_status"
1966   } >&5
1967   rm -f core *.core core.conftest.* &&
1968     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1969     exit $exit_status
1970 ' 0
1971 for ac_signal in 1 2 13 15; do
1972   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1973 done
1974 ac_signal=0
1975
1976 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1977 rm -f -r conftest* confdefs.h
1978
1979 $as_echo "/* confdefs.h */" > confdefs.h
1980
1981 # Predefined preprocessor variables.
1982
1983 cat >>confdefs.h <<_ACEOF
1984 #define PACKAGE_NAME "$PACKAGE_NAME"
1985 _ACEOF
1986
1987 cat >>confdefs.h <<_ACEOF
1988 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1989 _ACEOF
1990
1991 cat >>confdefs.h <<_ACEOF
1992 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1993 _ACEOF
1994
1995 cat >>confdefs.h <<_ACEOF
1996 #define PACKAGE_STRING "$PACKAGE_STRING"
1997 _ACEOF
1998
1999 cat >>confdefs.h <<_ACEOF
2000 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2001 _ACEOF
2002
2003 cat >>confdefs.h <<_ACEOF
2004 #define PACKAGE_URL "$PACKAGE_URL"
2005 _ACEOF
2006
2007
2008 # Let the site file select an alternate cache file if it wants to.
2009 # Prefer an explicitly selected file to automatically selected ones.
2010 ac_site_file1=NONE
2011 ac_site_file2=NONE
2012 if test -n "$CONFIG_SITE"; then
2013   # We do not want a PATH search for config.site.
2014   case $CONFIG_SITE in #((
2015     -*)  ac_site_file1=./$CONFIG_SITE;;
2016     */*) ac_site_file1=$CONFIG_SITE;;
2017     *)   ac_site_file1=./$CONFIG_SITE;;
2018   esac
2019 elif test "x$prefix" != xNONE; then
2020   ac_site_file1=$prefix/share/config.site
2021   ac_site_file2=$prefix/etc/config.site
2022 else
2023   ac_site_file1=$ac_default_prefix/share/config.site
2024   ac_site_file2=$ac_default_prefix/etc/config.site
2025 fi
2026 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2027 do
2028   test "x$ac_site_file" = xNONE && continue
2029   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2030     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2031 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2032     sed 's/^/| /' "$ac_site_file" >&5
2033     . "$ac_site_file" \
2034       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2035 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2036 as_fn_error $? "failed to load site script $ac_site_file
2037 See \`config.log' for more details" "$LINENO" 5; }
2038   fi
2039 done
2040
2041 if test -r "$cache_file"; then
2042   # Some versions of bash will fail to source /dev/null (special files
2043   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2044   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2045     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2046 $as_echo "$as_me: loading cache $cache_file" >&6;}
2047     case $cache_file in
2048       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2049       *)                      . "./$cache_file";;
2050     esac
2051   fi
2052 else
2053   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2054 $as_echo "$as_me: creating cache $cache_file" >&6;}
2055   >$cache_file
2056 fi
2057
2058 # Check that the precious variables saved in the cache have kept the same
2059 # value.
2060 ac_cache_corrupted=false
2061 for ac_var in $ac_precious_vars; do
2062   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2063   eval ac_new_set=\$ac_env_${ac_var}_set
2064   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2065   eval ac_new_val=\$ac_env_${ac_var}_value
2066   case $ac_old_set,$ac_new_set in
2067     set,)
2068       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2069 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2070       ac_cache_corrupted=: ;;
2071     ,set)
2072       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2073 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2074       ac_cache_corrupted=: ;;
2075     ,);;
2076     *)
2077       if test "x$ac_old_val" != "x$ac_new_val"; then
2078         # differences in whitespace do not lead to failure.
2079         ac_old_val_w=`echo x $ac_old_val`
2080         ac_new_val_w=`echo x $ac_new_val`
2081         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2082           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2083 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2084           ac_cache_corrupted=:
2085         else
2086           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2087 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2088           eval $ac_var=\$ac_old_val
2089         fi
2090         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2091 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2092         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2093 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2094       fi;;
2095   esac
2096   # Pass precious variables to config.status.
2097   if test "$ac_new_set" = set; then
2098     case $ac_new_val in
2099     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2100     *) ac_arg=$ac_var=$ac_new_val ;;
2101     esac
2102     case " $ac_configure_args " in
2103       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2104       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2105     esac
2106   fi
2107 done
2108 if $ac_cache_corrupted; then
2109   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2110 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2111   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2112 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2113   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2114 fi
2115 ## -------------------- ##
2116 ## Main body of script. ##
2117 ## -------------------- ##
2118
2119 ac_ext=c
2120 ac_cpp='$CPP $CPPFLAGS'
2121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2124
2125
2126 am__api_version='1.11'
2127
2128 ac_aux_dir=
2129 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2130   if test -f "$ac_dir/install-sh"; then
2131     ac_aux_dir=$ac_dir
2132     ac_install_sh="$ac_aux_dir/install-sh -c"
2133     break
2134   elif test -f "$ac_dir/install.sh"; then
2135     ac_aux_dir=$ac_dir
2136     ac_install_sh="$ac_aux_dir/install.sh -c"
2137     break
2138   elif test -f "$ac_dir/shtool"; then
2139     ac_aux_dir=$ac_dir
2140     ac_install_sh="$ac_aux_dir/shtool install -c"
2141     break
2142   fi
2143 done
2144 if test -z "$ac_aux_dir"; then
2145   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2146 fi
2147
2148 # These three variables are undocumented and unsupported,
2149 # and are intended to be withdrawn in a future Autoconf release.
2150 # They can cause serious problems if a builder's source tree is in a directory
2151 # whose full name contains unusual characters.
2152 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2153 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2154 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2155
2156
2157 # Find a good install program.  We prefer a C program (faster),
2158 # so one script is as good as another.  But avoid the broken or
2159 # incompatible versions:
2160 # SysV /etc/install, /usr/sbin/install
2161 # SunOS /usr/etc/install
2162 # IRIX /sbin/install
2163 # AIX /bin/install
2164 # AmigaOS /C/install, which installs bootblocks on floppy discs
2165 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2166 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2167 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2168 # OS/2's system install, which has a completely different semantic
2169 # ./install, which can be erroneously created by make from ./install.sh.
2170 # Reject install programs that cannot install multiple files.
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2172 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2173 if test -z "$INSTALL"; then
2174 if ${ac_cv_path_install+:} false; then :
2175   $as_echo_n "(cached) " >&6
2176 else
2177   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2178 for as_dir in $PATH
2179 do
2180   IFS=$as_save_IFS
2181   test -z "$as_dir" && as_dir=.
2182     # Account for people who put trailing slashes in PATH elements.
2183 case $as_dir/ in #((
2184   ./ | .// | /[cC]/* | \
2185   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2186   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2187   /usr/ucb/* ) ;;
2188   *)
2189     # OSF1 and SCO ODT 3.0 have their own names for install.
2190     # Don't use installbsd from OSF since it installs stuff as root
2191     # by default.
2192     for ac_prog in ginstall scoinst install; do
2193       for ac_exec_ext in '' $ac_executable_extensions; do
2194         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2195           if test $ac_prog = install &&
2196             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2197             # AIX install.  It has an incompatible calling convention.
2198             :
2199           elif test $ac_prog = install &&
2200             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2201             # program-specific install script used by HP pwplus--don't use.
2202             :
2203           else
2204             rm -rf conftest.one conftest.two conftest.dir
2205             echo one > conftest.one
2206             echo two > conftest.two
2207             mkdir conftest.dir
2208             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2209               test -s conftest.one && test -s conftest.two &&
2210               test -s conftest.dir/conftest.one &&
2211               test -s conftest.dir/conftest.two
2212             then
2213               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2214               break 3
2215             fi
2216           fi
2217         fi
2218       done
2219     done
2220     ;;
2221 esac
2222
2223   done
2224 IFS=$as_save_IFS
2225
2226 rm -rf conftest.one conftest.two conftest.dir
2227
2228 fi
2229   if test "${ac_cv_path_install+set}" = set; then
2230     INSTALL=$ac_cv_path_install
2231   else
2232     # As a last resort, use the slow shell script.  Don't cache a
2233     # value for INSTALL within a source directory, because that will
2234     # break other packages using the cache if that directory is
2235     # removed, or if the value is a relative name.
2236     INSTALL=$ac_install_sh
2237   fi
2238 fi
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2240 $as_echo "$INSTALL" >&6; }
2241
2242 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2243 # It thinks the first close brace ends the variable substitution.
2244 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2245
2246 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2247
2248 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2249
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2251 $as_echo_n "checking whether build environment is sane... " >&6; }
2252 # Just in case
2253 sleep 1
2254 echo timestamp > conftest.file
2255 # Reject unsafe characters in $srcdir or the absolute working directory
2256 # name.  Accept space and tab only in the latter.
2257 am_lf='
2258 '
2259 case `pwd` in
2260   *[\\\"\#\$\&\'\`$am_lf]*)
2261     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2262 esac
2263 case $srcdir in
2264   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2265     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2266 esac
2267
2268 # Do `set' in a subshell so we don't clobber the current shell's
2269 # arguments.  Must try -L first in case configure is actually a
2270 # symlink; some systems play weird games with the mod time of symlinks
2271 # (eg FreeBSD returns the mod time of the symlink's containing
2272 # directory).
2273 if (
2274    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2275    if test "$*" = "X"; then
2276       # -L didn't work.
2277       set X `ls -t "$srcdir/configure" conftest.file`
2278    fi
2279    rm -f conftest.file
2280    if test "$*" != "X $srcdir/configure conftest.file" \
2281       && test "$*" != "X conftest.file $srcdir/configure"; then
2282
2283       # If neither matched, then we have a broken ls.  This can happen
2284       # if, for instance, CONFIG_SHELL is bash and it inherits a
2285       # broken ls alias from the environment.  This has actually
2286       # happened.  Such a system could not be considered "sane".
2287       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2288 alias in your environment" "$LINENO" 5
2289    fi
2290
2291    test "$2" = conftest.file
2292    )
2293 then
2294    # Ok.
2295    :
2296 else
2297    as_fn_error $? "newly created file is older than distributed files!
2298 Check your system clock" "$LINENO" 5
2299 fi
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2301 $as_echo "yes" >&6; }
2302 test "$program_prefix" != NONE &&
2303   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2304 # Use a double $ so make ignores it.
2305 test "$program_suffix" != NONE &&
2306   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2307 # Double any \ or $.
2308 # By default was `s,x,x', remove it if useless.
2309 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2310 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2311
2312 # expand $ac_aux_dir to an absolute path
2313 am_aux_dir=`cd $ac_aux_dir && pwd`
2314
2315 if test x"${MISSING+set}" != xset; then
2316   case $am_aux_dir in
2317   *\ * | *\     *)
2318     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2319   *)
2320     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2321   esac
2322 fi
2323 # Use eval to expand $SHELL
2324 if eval "$MISSING --run true"; then
2325   am_missing_run="$MISSING --run "
2326 else
2327   am_missing_run=
2328   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2329 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2330 fi
2331
2332 if test x"${install_sh}" != xset; then
2333   case $am_aux_dir in
2334   *\ * | *\     *)
2335     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2336   *)
2337     install_sh="\${SHELL} $am_aux_dir/install-sh"
2338   esac
2339 fi
2340
2341 # Installed binaries are usually stripped using `strip' when the user
2342 # run `make install-strip'.  However `strip' might not be the right
2343 # tool to use in cross-compilation environments, therefore Automake
2344 # will honor the `STRIP' environment variable to overrule this program.
2345 if test "$cross_compiling" != no; then
2346   if test -n "$ac_tool_prefix"; then
2347   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2348 set dummy ${ac_tool_prefix}strip; ac_word=$2
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2350 $as_echo_n "checking for $ac_word... " >&6; }
2351 if ${ac_cv_prog_STRIP+:} false; then :
2352   $as_echo_n "(cached) " >&6
2353 else
2354   if test -n "$STRIP"; then
2355   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2356 else
2357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2358 for as_dir in $PATH
2359 do
2360   IFS=$as_save_IFS
2361   test -z "$as_dir" && as_dir=.
2362     for ac_exec_ext in '' $ac_executable_extensions; do
2363   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2364     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2365     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2366     break 2
2367   fi
2368 done
2369   done
2370 IFS=$as_save_IFS
2371
2372 fi
2373 fi
2374 STRIP=$ac_cv_prog_STRIP
2375 if test -n "$STRIP"; then
2376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2377 $as_echo "$STRIP" >&6; }
2378 else
2379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2380 $as_echo "no" >&6; }
2381 fi
2382
2383
2384 fi
2385 if test -z "$ac_cv_prog_STRIP"; then
2386   ac_ct_STRIP=$STRIP
2387   # Extract the first word of "strip", so it can be a program name with args.
2388 set dummy strip; ac_word=$2
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2390 $as_echo_n "checking for $ac_word... " >&6; }
2391 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2392   $as_echo_n "(cached) " >&6
2393 else
2394   if test -n "$ac_ct_STRIP"; then
2395   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2396 else
2397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2398 for as_dir in $PATH
2399 do
2400   IFS=$as_save_IFS
2401   test -z "$as_dir" && as_dir=.
2402     for ac_exec_ext in '' $ac_executable_extensions; do
2403   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2404     ac_cv_prog_ac_ct_STRIP="strip"
2405     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2406     break 2
2407   fi
2408 done
2409   done
2410 IFS=$as_save_IFS
2411
2412 fi
2413 fi
2414 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2415 if test -n "$ac_ct_STRIP"; then
2416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2417 $as_echo "$ac_ct_STRIP" >&6; }
2418 else
2419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2420 $as_echo "no" >&6; }
2421 fi
2422
2423   if test "x$ac_ct_STRIP" = x; then
2424     STRIP=":"
2425   else
2426     case $cross_compiling:$ac_tool_warned in
2427 yes:)
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2430 ac_tool_warned=yes ;;
2431 esac
2432     STRIP=$ac_ct_STRIP
2433   fi
2434 else
2435   STRIP="$ac_cv_prog_STRIP"
2436 fi
2437
2438 fi
2439 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2440
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2442 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2443 if test -z "$MKDIR_P"; then
2444   if ${ac_cv_path_mkdir+:} false; then :
2445   $as_echo_n "(cached) " >&6
2446 else
2447   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2448 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2449 do
2450   IFS=$as_save_IFS
2451   test -z "$as_dir" && as_dir=.
2452     for ac_prog in mkdir gmkdir; do
2453          for ac_exec_ext in '' $ac_executable_extensions; do
2454            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2455            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2456              'mkdir (GNU coreutils) '* | \
2457              'mkdir (coreutils) '* | \
2458              'mkdir (fileutils) '4.1*)
2459                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2460                break 3;;
2461            esac
2462          done
2463        done
2464   done
2465 IFS=$as_save_IFS
2466
2467 fi
2468
2469   test -d ./--version && rmdir ./--version
2470   if test "${ac_cv_path_mkdir+set}" = set; then
2471     MKDIR_P="$ac_cv_path_mkdir -p"
2472   else
2473     # As a last resort, use the slow shell script.  Don't cache a
2474     # value for MKDIR_P within a source directory, because that will
2475     # break other packages using the cache if that directory is
2476     # removed, or if the value is a relative name.
2477     MKDIR_P="$ac_install_sh -d"
2478   fi
2479 fi
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2481 $as_echo "$MKDIR_P" >&6; }
2482
2483 mkdir_p="$MKDIR_P"
2484 case $mkdir_p in
2485   [\\/$]* | ?:[\\/]*) ;;
2486   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2487 esac
2488
2489 for ac_prog in gawk mawk nawk awk
2490 do
2491   # Extract the first word of "$ac_prog", so it can be a program name with args.
2492 set dummy $ac_prog; ac_word=$2
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2494 $as_echo_n "checking for $ac_word... " >&6; }
2495 if ${ac_cv_prog_AWK+:} false; then :
2496   $as_echo_n "(cached) " >&6
2497 else
2498   if test -n "$AWK"; then
2499   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2500 else
2501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2502 for as_dir in $PATH
2503 do
2504   IFS=$as_save_IFS
2505   test -z "$as_dir" && as_dir=.
2506     for ac_exec_ext in '' $ac_executable_extensions; do
2507   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2508     ac_cv_prog_AWK="$ac_prog"
2509     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2510     break 2
2511   fi
2512 done
2513   done
2514 IFS=$as_save_IFS
2515
2516 fi
2517 fi
2518 AWK=$ac_cv_prog_AWK
2519 if test -n "$AWK"; then
2520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2521 $as_echo "$AWK" >&6; }
2522 else
2523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2524 $as_echo "no" >&6; }
2525 fi
2526
2527
2528   test -n "$AWK" && break
2529 done
2530
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2532 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2533 set x ${MAKE-make}
2534 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2535 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2536   $as_echo_n "(cached) " >&6
2537 else
2538   cat >conftest.make <<\_ACEOF
2539 SHELL = /bin/sh
2540 all:
2541         @echo '@@@%%%=$(MAKE)=@@@%%%'
2542 _ACEOF
2543 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2544 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2545   *@@@%%%=?*=@@@%%%*)
2546     eval ac_cv_prog_make_${ac_make}_set=yes;;
2547   *)
2548     eval ac_cv_prog_make_${ac_make}_set=no;;
2549 esac
2550 rm -f conftest.make
2551 fi
2552 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2554 $as_echo "yes" >&6; }
2555   SET_MAKE=
2556 else
2557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2558 $as_echo "no" >&6; }
2559   SET_MAKE="MAKE=${MAKE-make}"
2560 fi
2561
2562 rm -rf .tst 2>/dev/null
2563 mkdir .tst 2>/dev/null
2564 if test -d .tst; then
2565   am__leading_dot=.
2566 else
2567   am__leading_dot=_
2568 fi
2569 rmdir .tst 2>/dev/null
2570
2571 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2572   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2573   # is not polluted with repeated "-I."
2574   am__isrc=' -I$(srcdir)'
2575   # test to see if srcdir already configured
2576   if test -f $srcdir/config.status; then
2577     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2578   fi
2579 fi
2580
2581 # test whether we have cygpath
2582 if test -z "$CYGPATH_W"; then
2583   if (cygpath --version) >/dev/null 2>/dev/null; then
2584     CYGPATH_W='cygpath -w'
2585   else
2586     CYGPATH_W=echo
2587   fi
2588 fi
2589
2590
2591 # Define the identity of the package.
2592  PACKAGE='gacela'
2593  VERSION='0.5'
2594
2595
2596 cat >>confdefs.h <<_ACEOF
2597 #define PACKAGE "$PACKAGE"
2598 _ACEOF
2599
2600
2601 cat >>confdefs.h <<_ACEOF
2602 #define VERSION "$VERSION"
2603 _ACEOF
2604
2605 # Some tools Automake needs.
2606
2607 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2608
2609
2610 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2611
2612
2613 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2614
2615
2616 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2617
2618
2619 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2620
2621 # We need awk for the "check" target.  The system "awk" is bad on
2622 # some platforms.
2623 # Always define AMTAR for backward compatibility.  Yes, it's still used
2624 # in the wild :-(  We should find a proper way to deprecate it ...
2625 AMTAR='$${TAR-tar}'
2626
2627 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2628
2629
2630
2631
2632
2633 case `pwd` in
2634   *\ * | *\     *)
2635     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2636 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2637 esac
2638
2639
2640
2641 macro_version='2.4.2'
2642 macro_revision='1.3337'
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656 ltmain="$ac_aux_dir/ltmain.sh"
2657
2658 # Make sure we can run config.sub.
2659 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2660   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2661
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2663 $as_echo_n "checking build system type... " >&6; }
2664 if ${ac_cv_build+:} false; then :
2665   $as_echo_n "(cached) " >&6
2666 else
2667   ac_build_alias=$build_alias
2668 test "x$ac_build_alias" = x &&
2669   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2670 test "x$ac_build_alias" = x &&
2671   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2672 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2673   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2674
2675 fi
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2677 $as_echo "$ac_cv_build" >&6; }
2678 case $ac_cv_build in
2679 *-*-*) ;;
2680 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2681 esac
2682 build=$ac_cv_build
2683 ac_save_IFS=$IFS; IFS='-'
2684 set x $ac_cv_build
2685 shift
2686 build_cpu=$1
2687 build_vendor=$2
2688 shift; shift
2689 # Remember, the first character of IFS is used to create $*,
2690 # except with old shells:
2691 build_os=$*
2692 IFS=$ac_save_IFS
2693 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2694
2695
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2697 $as_echo_n "checking host system type... " >&6; }
2698 if ${ac_cv_host+:} false; then :
2699   $as_echo_n "(cached) " >&6
2700 else
2701   if test "x$host_alias" = x; then
2702   ac_cv_host=$ac_cv_build
2703 else
2704   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2705     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2706 fi
2707
2708 fi
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2710 $as_echo "$ac_cv_host" >&6; }
2711 case $ac_cv_host in
2712 *-*-*) ;;
2713 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2714 esac
2715 host=$ac_cv_host
2716 ac_save_IFS=$IFS; IFS='-'
2717 set x $ac_cv_host
2718 shift
2719 host_cpu=$1
2720 host_vendor=$2
2721 shift; shift
2722 # Remember, the first character of IFS is used to create $*,
2723 # except with old shells:
2724 host_os=$*
2725 IFS=$ac_save_IFS
2726 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2727
2728
2729 # Backslashify metacharacters that are still active within
2730 # double-quoted strings.
2731 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
2732
2733 # Same as above, but do not quote variable references.
2734 double_quote_subst='s/\(["`\\]\)/\\\1/g'
2735
2736 # Sed substitution to delay expansion of an escaped shell variable in a
2737 # double_quote_subst'ed string.
2738 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
2739
2740 # Sed substitution to delay expansion of an escaped single quote.
2741 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
2742
2743 # Sed substitution to avoid accidental globbing in evaled expressions
2744 no_glob_subst='s/\*/\\\*/g'
2745
2746 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2747 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
2748 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
2749
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
2751 $as_echo_n "checking how to print strings... " >&6; }
2752 # Test print first, because it will be a builtin if present.
2753 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
2754    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
2755   ECHO='print -r --'
2756 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
2757   ECHO='printf %s\n'
2758 else
2759   # Use this function as a fallback that always works.
2760   func_fallback_echo ()
2761   {
2762     eval 'cat <<_LTECHO_EOF
2763 $1
2764 _LTECHO_EOF'
2765   }
2766   ECHO='func_fallback_echo'
2767 fi
2768
2769 # func_echo_all arg...
2770 # Invoke $ECHO with all args, space-separated.
2771 func_echo_all ()
2772 {
2773     $ECHO ""
2774 }
2775
2776 case "$ECHO" in
2777   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
2778 $as_echo "printf" >&6; } ;;
2779   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
2780 $as_echo "print -r" >&6; } ;;
2781   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
2782 $as_echo "cat" >&6; } ;;
2783 esac
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798 DEPDIR="${am__leading_dot}deps"
2799
2800 ac_config_commands="$ac_config_commands depfiles"
2801
2802
2803 am_make=${MAKE-make}
2804 cat > confinc << 'END'
2805 am__doit:
2806         @echo this is the am__doit target
2807 .PHONY: am__doit
2808 END
2809 # If we don't find an include directive, just comment out the code.
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2811 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2812 am__include="#"
2813 am__quote=
2814 _am_result=none
2815 # First try GNU make style include.
2816 echo "include confinc" > confmf
2817 # Ignore all kinds of additional output from `make'.
2818 case `$am_make -s -f confmf 2> /dev/null` in #(
2819 *the\ am__doit\ target*)
2820   am__include=include
2821   am__quote=
2822   _am_result=GNU
2823   ;;
2824 esac
2825 # Now try BSD make style include.
2826 if test "$am__include" = "#"; then
2827    echo '.include "confinc"' > confmf
2828    case `$am_make -s -f confmf 2> /dev/null` in #(
2829    *the\ am__doit\ target*)
2830      am__include=.include
2831      am__quote="\""
2832      _am_result=BSD
2833      ;;
2834    esac
2835 fi
2836
2837
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2839 $as_echo "$_am_result" >&6; }
2840 rm -f confinc confmf
2841
2842 # Check whether --enable-dependency-tracking was given.
2843 if test "${enable_dependency_tracking+set}" = set; then :
2844   enableval=$enable_dependency_tracking;
2845 fi
2846
2847 if test "x$enable_dependency_tracking" != xno; then
2848   am_depcomp="$ac_aux_dir/depcomp"
2849   AMDEPBACKSLASH='\'
2850   am__nodep='_no'
2851 fi
2852  if test "x$enable_dependency_tracking" != xno; then
2853   AMDEP_TRUE=
2854   AMDEP_FALSE='#'
2855 else
2856   AMDEP_TRUE='#'
2857   AMDEP_FALSE=
2858 fi
2859
2860
2861 ac_ext=c
2862 ac_cpp='$CPP $CPPFLAGS'
2863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2866 if test -n "$ac_tool_prefix"; then
2867   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2868 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2870 $as_echo_n "checking for $ac_word... " >&6; }
2871 if ${ac_cv_prog_CC+:} false; then :
2872   $as_echo_n "(cached) " >&6
2873 else
2874   if test -n "$CC"; then
2875   ac_cv_prog_CC="$CC" # Let the user override the test.
2876 else
2877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2878 for as_dir in $PATH
2879 do
2880   IFS=$as_save_IFS
2881   test -z "$as_dir" && as_dir=.
2882     for ac_exec_ext in '' $ac_executable_extensions; do
2883   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2884     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2885     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2886     break 2
2887   fi
2888 done
2889   done
2890 IFS=$as_save_IFS
2891
2892 fi
2893 fi
2894 CC=$ac_cv_prog_CC
2895 if test -n "$CC"; then
2896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2897 $as_echo "$CC" >&6; }
2898 else
2899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2900 $as_echo "no" >&6; }
2901 fi
2902
2903
2904 fi
2905 if test -z "$ac_cv_prog_CC"; then
2906   ac_ct_CC=$CC
2907   # Extract the first word of "gcc", so it can be a program name with args.
2908 set dummy gcc; ac_word=$2
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2910 $as_echo_n "checking for $ac_word... " >&6; }
2911 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2912   $as_echo_n "(cached) " >&6
2913 else
2914   if test -n "$ac_ct_CC"; then
2915   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2916 else
2917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2918 for as_dir in $PATH
2919 do
2920   IFS=$as_save_IFS
2921   test -z "$as_dir" && as_dir=.
2922     for ac_exec_ext in '' $ac_executable_extensions; do
2923   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2924     ac_cv_prog_ac_ct_CC="gcc"
2925     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2926     break 2
2927   fi
2928 done
2929   done
2930 IFS=$as_save_IFS
2931
2932 fi
2933 fi
2934 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2935 if test -n "$ac_ct_CC"; then
2936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2937 $as_echo "$ac_ct_CC" >&6; }
2938 else
2939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2940 $as_echo "no" >&6; }
2941 fi
2942
2943   if test "x$ac_ct_CC" = x; then
2944     CC=""
2945   else
2946     case $cross_compiling:$ac_tool_warned in
2947 yes:)
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2949 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2950 ac_tool_warned=yes ;;
2951 esac
2952     CC=$ac_ct_CC
2953   fi
2954 else
2955   CC="$ac_cv_prog_CC"
2956 fi
2957
2958 if test -z "$CC"; then
2959           if test -n "$ac_tool_prefix"; then
2960     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2961 set dummy ${ac_tool_prefix}cc; ac_word=$2
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2963 $as_echo_n "checking for $ac_word... " >&6; }
2964 if ${ac_cv_prog_CC+:} false; then :
2965   $as_echo_n "(cached) " >&6
2966 else
2967   if test -n "$CC"; then
2968   ac_cv_prog_CC="$CC" # Let the user override the test.
2969 else
2970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2971 for as_dir in $PATH
2972 do
2973   IFS=$as_save_IFS
2974   test -z "$as_dir" && as_dir=.
2975     for ac_exec_ext in '' $ac_executable_extensions; do
2976   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2977     ac_cv_prog_CC="${ac_tool_prefix}cc"
2978     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2979     break 2
2980   fi
2981 done
2982   done
2983 IFS=$as_save_IFS
2984
2985 fi
2986 fi
2987 CC=$ac_cv_prog_CC
2988 if test -n "$CC"; then
2989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2990 $as_echo "$CC" >&6; }
2991 else
2992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2993 $as_echo "no" >&6; }
2994 fi
2995
2996
2997   fi
2998 fi
2999 if test -z "$CC"; then
3000   # Extract the first word of "cc", so it can be a program name with args.
3001 set dummy cc; ac_word=$2
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3003 $as_echo_n "checking for $ac_word... " >&6; }
3004 if ${ac_cv_prog_CC+:} false; then :
3005   $as_echo_n "(cached) " >&6
3006 else
3007   if test -n "$CC"; then
3008   ac_cv_prog_CC="$CC" # Let the user override the test.
3009 else
3010   ac_prog_rejected=no
3011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3012 for as_dir in $PATH
3013 do
3014   IFS=$as_save_IFS
3015   test -z "$as_dir" && as_dir=.
3016     for ac_exec_ext in '' $ac_executable_extensions; do
3017   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3018     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3019        ac_prog_rejected=yes
3020        continue
3021      fi
3022     ac_cv_prog_CC="cc"
3023     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3024     break 2
3025   fi
3026 done
3027   done
3028 IFS=$as_save_IFS
3029
3030 if test $ac_prog_rejected = yes; then
3031   # We found a bogon in the path, so make sure we never use it.
3032   set dummy $ac_cv_prog_CC
3033   shift
3034   if test $# != 0; then
3035     # We chose a different compiler from the bogus one.
3036     # However, it has the same basename, so the bogon will be chosen
3037     # first if we set CC to just the basename; use the full file name.
3038     shift
3039     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3040   fi
3041 fi
3042 fi
3043 fi
3044 CC=$ac_cv_prog_CC
3045 if test -n "$CC"; then
3046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3047 $as_echo "$CC" >&6; }
3048 else
3049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3050 $as_echo "no" >&6; }
3051 fi
3052
3053
3054 fi
3055 if test -z "$CC"; then
3056   if test -n "$ac_tool_prefix"; then
3057   for ac_prog in cl.exe
3058   do
3059     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3060 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3062 $as_echo_n "checking for $ac_word... " >&6; }
3063 if ${ac_cv_prog_CC+:} false; then :
3064   $as_echo_n "(cached) " >&6
3065 else
3066   if test -n "$CC"; then
3067   ac_cv_prog_CC="$CC" # Let the user override the test.
3068 else
3069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3070 for as_dir in $PATH
3071 do
3072   IFS=$as_save_IFS
3073   test -z "$as_dir" && as_dir=.
3074     for ac_exec_ext in '' $ac_executable_extensions; do
3075   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3076     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3077     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3078     break 2
3079   fi
3080 done
3081   done
3082 IFS=$as_save_IFS
3083
3084 fi
3085 fi
3086 CC=$ac_cv_prog_CC
3087 if test -n "$CC"; then
3088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3089 $as_echo "$CC" >&6; }
3090 else
3091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3092 $as_echo "no" >&6; }
3093 fi
3094
3095
3096     test -n "$CC" && break
3097   done
3098 fi
3099 if test -z "$CC"; then
3100   ac_ct_CC=$CC
3101   for ac_prog in cl.exe
3102 do
3103   # Extract the first word of "$ac_prog", so it can be a program name with args.
3104 set dummy $ac_prog; ac_word=$2
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3106 $as_echo_n "checking for $ac_word... " >&6; }
3107 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3108   $as_echo_n "(cached) " >&6
3109 else
3110   if test -n "$ac_ct_CC"; then
3111   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3112 else
3113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3114 for as_dir in $PATH
3115 do
3116   IFS=$as_save_IFS
3117   test -z "$as_dir" && as_dir=.
3118     for ac_exec_ext in '' $ac_executable_extensions; do
3119   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3120     ac_cv_prog_ac_ct_CC="$ac_prog"
3121     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3122     break 2
3123   fi
3124 done
3125   done
3126 IFS=$as_save_IFS
3127
3128 fi
3129 fi
3130 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3131 if test -n "$ac_ct_CC"; then
3132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3133 $as_echo "$ac_ct_CC" >&6; }
3134 else
3135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3136 $as_echo "no" >&6; }
3137 fi
3138
3139
3140   test -n "$ac_ct_CC" && break
3141 done
3142
3143   if test "x$ac_ct_CC" = x; then
3144     CC=""
3145   else
3146     case $cross_compiling:$ac_tool_warned in
3147 yes:)
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3149 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3150 ac_tool_warned=yes ;;
3151 esac
3152     CC=$ac_ct_CC
3153   fi
3154 fi
3155
3156 fi
3157
3158
3159 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3160 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3161 as_fn_error $? "no acceptable C compiler found in \$PATH
3162 See \`config.log' for more details" "$LINENO" 5; }
3163
3164 # Provide some information about the compiler.
3165 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3166 set X $ac_compile
3167 ac_compiler=$2
3168 for ac_option in --version -v -V -qversion; do
3169   { { ac_try="$ac_compiler $ac_option >&5"
3170 case "(($ac_try" in
3171   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3172   *) ac_try_echo=$ac_try;;
3173 esac
3174 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3175 $as_echo "$ac_try_echo"; } >&5
3176   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3177   ac_status=$?
3178   if test -s conftest.err; then
3179     sed '10a\
3180 ... rest of stderr output deleted ...
3181          10q' conftest.err >conftest.er1
3182     cat conftest.er1 >&5
3183   fi
3184   rm -f conftest.er1 conftest.err
3185   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3186   test $ac_status = 0; }
3187 done
3188
3189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3190 /* end confdefs.h.  */
3191
3192 int
3193 main ()
3194 {
3195
3196   ;
3197   return 0;
3198 }
3199 _ACEOF
3200 ac_clean_files_save=$ac_clean_files
3201 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3202 # Try to create an executable without -o first, disregard a.out.
3203 # It will help us diagnose broken compilers, and finding out an intuition
3204 # of exeext.
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3206 $as_echo_n "checking whether the C compiler works... " >&6; }
3207 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3208
3209 # The possible output files:
3210 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3211
3212 ac_rmfiles=
3213 for ac_file in $ac_files
3214 do
3215   case $ac_file in
3216     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3217     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3218   esac
3219 done
3220 rm -f $ac_rmfiles
3221
3222 if { { ac_try="$ac_link_default"
3223 case "(($ac_try" in
3224   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3225   *) ac_try_echo=$ac_try;;
3226 esac
3227 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3228 $as_echo "$ac_try_echo"; } >&5
3229   (eval "$ac_link_default") 2>&5
3230   ac_status=$?
3231   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3232   test $ac_status = 0; }; then :
3233   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3234 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3235 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3236 # so that the user can short-circuit this test for compilers unknown to
3237 # Autoconf.
3238 for ac_file in $ac_files ''
3239 do
3240   test -f "$ac_file" || continue
3241   case $ac_file in
3242     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3243         ;;
3244     [ab].out )
3245         # We found the default executable, but exeext='' is most
3246         # certainly right.
3247         break;;
3248     *.* )
3249         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3250         then :; else
3251            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3252         fi
3253         # We set ac_cv_exeext here because the later test for it is not
3254         # safe: cross compilers may not add the suffix if given an `-o'
3255         # argument, so we may need to know it at that point already.
3256         # Even if this section looks crufty: it has the advantage of
3257         # actually working.
3258         break;;
3259     * )
3260         break;;
3261   esac
3262 done
3263 test "$ac_cv_exeext" = no && ac_cv_exeext=
3264
3265 else
3266   ac_file=''
3267 fi
3268 if test -z "$ac_file"; then :
3269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3270 $as_echo "no" >&6; }
3271 $as_echo "$as_me: failed program was:" >&5
3272 sed 's/^/| /' conftest.$ac_ext >&5
3273
3274 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3275 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3276 as_fn_error 77 "C compiler cannot create executables
3277 See \`config.log' for more details" "$LINENO" 5; }
3278 else
3279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3280 $as_echo "yes" >&6; }
3281 fi
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3283 $as_echo_n "checking for C compiler default output file name... " >&6; }
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3285 $as_echo "$ac_file" >&6; }
3286 ac_exeext=$ac_cv_exeext
3287
3288 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3289 ac_clean_files=$ac_clean_files_save
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3291 $as_echo_n "checking for suffix of executables... " >&6; }
3292 if { { ac_try="$ac_link"
3293 case "(($ac_try" in
3294   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3295   *) ac_try_echo=$ac_try;;
3296 esac
3297 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3298 $as_echo "$ac_try_echo"; } >&5
3299   (eval "$ac_link") 2>&5
3300   ac_status=$?
3301   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3302   test $ac_status = 0; }; then :
3303   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3304 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3305 # work properly (i.e., refer to `conftest.exe'), while it won't with
3306 # `rm'.
3307 for ac_file in conftest.exe conftest conftest.*; do
3308   test -f "$ac_file" || continue
3309   case $ac_file in
3310     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3311     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3312           break;;
3313     * ) break;;
3314   esac
3315 done
3316 else
3317   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3318 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3319 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3320 See \`config.log' for more details" "$LINENO" 5; }
3321 fi
3322 rm -f conftest conftest$ac_cv_exeext
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3324 $as_echo "$ac_cv_exeext" >&6; }
3325
3326 rm -f conftest.$ac_ext
3327 EXEEXT=$ac_cv_exeext
3328 ac_exeext=$EXEEXT
3329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3330 /* end confdefs.h.  */
3331 #include <stdio.h>
3332 int
3333 main ()
3334 {
3335 FILE *f = fopen ("conftest.out", "w");
3336  return ferror (f) || fclose (f) != 0;
3337
3338   ;
3339   return 0;
3340 }
3341 _ACEOF
3342 ac_clean_files="$ac_clean_files conftest.out"
3343 # Check that the compiler produces executables we can run.  If not, either
3344 # the compiler is broken, or we cross compile.
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3346 $as_echo_n "checking whether we are cross compiling... " >&6; }
3347 if test "$cross_compiling" != yes; then
3348   { { ac_try="$ac_link"
3349 case "(($ac_try" in
3350   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3351   *) ac_try_echo=$ac_try;;
3352 esac
3353 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3354 $as_echo "$ac_try_echo"; } >&5
3355   (eval "$ac_link") 2>&5
3356   ac_status=$?
3357   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3358   test $ac_status = 0; }
3359   if { ac_try='./conftest$ac_cv_exeext'
3360   { { case "(($ac_try" in
3361   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3362   *) ac_try_echo=$ac_try;;
3363 esac
3364 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3365 $as_echo "$ac_try_echo"; } >&5
3366   (eval "$ac_try") 2>&5
3367   ac_status=$?
3368   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3369   test $ac_status = 0; }; }; then
3370     cross_compiling=no
3371   else
3372     if test "$cross_compiling" = maybe; then
3373         cross_compiling=yes
3374     else
3375         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3376 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3377 as_fn_error $? "cannot run C compiled programs.
3378 If you meant to cross compile, use \`--host'.
3379 See \`config.log' for more details" "$LINENO" 5; }
3380     fi
3381   fi
3382 fi
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3384 $as_echo "$cross_compiling" >&6; }
3385
3386 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3387 ac_clean_files=$ac_clean_files_save
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3389 $as_echo_n "checking for suffix of object files... " >&6; }
3390 if ${ac_cv_objext+:} false; then :
3391   $as_echo_n "(cached) " >&6
3392 else
3393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3394 /* end confdefs.h.  */
3395
3396 int
3397 main ()
3398 {
3399
3400   ;
3401   return 0;
3402 }
3403 _ACEOF
3404 rm -f conftest.o conftest.obj
3405 if { { ac_try="$ac_compile"
3406 case "(($ac_try" in
3407   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3408   *) ac_try_echo=$ac_try;;
3409 esac
3410 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3411 $as_echo "$ac_try_echo"; } >&5
3412   (eval "$ac_compile") 2>&5
3413   ac_status=$?
3414   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3415   test $ac_status = 0; }; then :
3416   for ac_file in conftest.o conftest.obj conftest.*; do
3417   test -f "$ac_file" || continue;
3418   case $ac_file in
3419     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3420     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3421        break;;
3422   esac
3423 done
3424 else
3425   $as_echo "$as_me: failed program was:" >&5
3426 sed 's/^/| /' conftest.$ac_ext >&5
3427
3428 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3429 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3430 as_fn_error $? "cannot compute suffix of object files: cannot compile
3431 See \`config.log' for more details" "$LINENO" 5; }
3432 fi
3433 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3434 fi
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3436 $as_echo "$ac_cv_objext" >&6; }
3437 OBJEXT=$ac_cv_objext
3438 ac_objext=$OBJEXT
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3440 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3441 if ${ac_cv_c_compiler_gnu+:} false; then :
3442   $as_echo_n "(cached) " >&6
3443 else
3444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3445 /* end confdefs.h.  */
3446
3447 int
3448 main ()
3449 {
3450 #ifndef __GNUC__
3451        choke me
3452 #endif
3453
3454   ;
3455   return 0;
3456 }
3457 _ACEOF
3458 if ac_fn_c_try_compile "$LINENO"; then :
3459   ac_compiler_gnu=yes
3460 else
3461   ac_compiler_gnu=no
3462 fi
3463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3464 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3465
3466 fi
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3468 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3469 if test $ac_compiler_gnu = yes; then
3470   GCC=yes
3471 else
3472   GCC=
3473 fi
3474 ac_test_CFLAGS=${CFLAGS+set}
3475 ac_save_CFLAGS=$CFLAGS
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3477 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3478 if ${ac_cv_prog_cc_g+:} false; then :
3479   $as_echo_n "(cached) " >&6
3480 else
3481   ac_save_c_werror_flag=$ac_c_werror_flag
3482    ac_c_werror_flag=yes
3483    ac_cv_prog_cc_g=no
3484    CFLAGS="-g"
3485    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3486 /* end confdefs.h.  */
3487
3488 int
3489 main ()
3490 {
3491
3492   ;
3493   return 0;
3494 }
3495 _ACEOF
3496 if ac_fn_c_try_compile "$LINENO"; then :
3497   ac_cv_prog_cc_g=yes
3498 else
3499   CFLAGS=""
3500       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3501 /* end confdefs.h.  */
3502
3503 int
3504 main ()
3505 {
3506
3507   ;
3508   return 0;
3509 }
3510 _ACEOF
3511 if ac_fn_c_try_compile "$LINENO"; then :
3512
3513 else
3514   ac_c_werror_flag=$ac_save_c_werror_flag
3515          CFLAGS="-g"
3516          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3517 /* end confdefs.h.  */
3518
3519 int
3520 main ()
3521 {
3522
3523   ;
3524   return 0;
3525 }
3526 _ACEOF
3527 if ac_fn_c_try_compile "$LINENO"; then :
3528   ac_cv_prog_cc_g=yes
3529 fi
3530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3531 fi
3532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3533 fi
3534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3535    ac_c_werror_flag=$ac_save_c_werror_flag
3536 fi
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3538 $as_echo "$ac_cv_prog_cc_g" >&6; }
3539 if test "$ac_test_CFLAGS" = set; then
3540   CFLAGS=$ac_save_CFLAGS
3541 elif test $ac_cv_prog_cc_g = yes; then
3542   if test "$GCC" = yes; then
3543     CFLAGS="-g -O2"
3544   else
3545     CFLAGS="-g"
3546   fi
3547 else
3548   if test "$GCC" = yes; then
3549     CFLAGS="-O2"
3550   else
3551     CFLAGS=
3552   fi
3553 fi
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3555 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3556 if ${ac_cv_prog_cc_c89+:} false; then :
3557   $as_echo_n "(cached) " >&6
3558 else
3559   ac_cv_prog_cc_c89=no
3560 ac_save_CC=$CC
3561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3562 /* end confdefs.h.  */
3563 #include <stdarg.h>
3564 #include <stdio.h>
3565 struct stat;
3566 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3567 struct buf { int x; };
3568 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3569 static char *e (p, i)
3570      char **p;
3571      int i;
3572 {
3573   return p[i];
3574 }
3575 static char *f (char * (*g) (char **, int), char **p, ...)
3576 {
3577   char *s;
3578   va_list v;
3579   va_start (v,p);
3580   s = g (p, va_arg (v,int));
3581   va_end (v);
3582   return s;
3583 }
3584
3585 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3586    function prototypes and stuff, but not '\xHH' hex character constants.
3587    These don't provoke an error unfortunately, instead are silently treated
3588    as 'x'.  The following induces an error, until -std is added to get
3589    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3590    array size at least.  It's necessary to write '\x00'==0 to get something
3591    that's true only with -std.  */
3592 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3593
3594 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3595    inside strings and character constants.  */
3596 #define FOO(x) 'x'
3597 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3598
3599 int test (int i, double x);
3600 struct s1 {int (*f) (int a);};
3601 struct s2 {int (*f) (double a);};
3602 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3603 int argc;
3604 char **argv;
3605 int
3606 main ()
3607 {
3608 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3609   ;
3610   return 0;
3611 }
3612 _ACEOF
3613 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3614         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3615 do
3616   CC="$ac_save_CC $ac_arg"
3617   if ac_fn_c_try_compile "$LINENO"; then :
3618   ac_cv_prog_cc_c89=$ac_arg
3619 fi
3620 rm -f core conftest.err conftest.$ac_objext
3621   test "x$ac_cv_prog_cc_c89" != "xno" && break
3622 done
3623 rm -f conftest.$ac_ext
3624 CC=$ac_save_CC
3625
3626 fi
3627 # AC_CACHE_VAL
3628 case "x$ac_cv_prog_cc_c89" in
3629   x)
3630     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3631 $as_echo "none needed" >&6; } ;;
3632   xno)
3633     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3634 $as_echo "unsupported" >&6; } ;;
3635   *)
3636     CC="$CC $ac_cv_prog_cc_c89"
3637     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3638 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3639 esac
3640 if test "x$ac_cv_prog_cc_c89" != xno; then :
3641
3642 fi
3643
3644 ac_ext=c
3645 ac_cpp='$CPP $CPPFLAGS'
3646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3649
3650 depcc="$CC"   am_compiler_list=
3651
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3653 $as_echo_n "checking dependency style of $depcc... " >&6; }
3654 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3655   $as_echo_n "(cached) " >&6
3656 else
3657   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3658   # We make a subdir and do the tests there.  Otherwise we can end up
3659   # making bogus files that we don't know about and never remove.  For
3660   # instance it was reported that on HP-UX the gcc test will end up
3661   # making a dummy file named `D' -- because `-MD' means `put the output
3662   # in D'.
3663   rm -rf conftest.dir
3664   mkdir conftest.dir
3665   # Copy depcomp to subdir because otherwise we won't find it if we're
3666   # using a relative directory.
3667   cp "$am_depcomp" conftest.dir
3668   cd conftest.dir
3669   # We will build objects and dependencies in a subdirectory because
3670   # it helps to detect inapplicable dependency modes.  For instance
3671   # both Tru64's cc and ICC support -MD to output dependencies as a
3672   # side effect of compilation, but ICC will put the dependencies in
3673   # the current directory while Tru64 will put them in the object
3674   # directory.
3675   mkdir sub
3676
3677   am_cv_CC_dependencies_compiler_type=none
3678   if test "$am_compiler_list" = ""; then
3679      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3680   fi
3681   am__universal=false
3682   case " $depcc " in #(
3683      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3684      esac
3685
3686   for depmode in $am_compiler_list; do
3687     # Setup a source with many dependencies, because some compilers
3688     # like to wrap large dependency lists on column 80 (with \), and
3689     # we should not choose a depcomp mode which is confused by this.
3690     #
3691     # We need to recreate these files for each test, as the compiler may
3692     # overwrite some of them when testing with obscure command lines.
3693     # This happens at least with the AIX C compiler.
3694     : > sub/conftest.c
3695     for i in 1 2 3 4 5 6; do
3696       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3697       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3698       # Solaris 8's {/usr,}/bin/sh.
3699       touch sub/conftst$i.h
3700     done
3701     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3702
3703     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3704     # mode.  It turns out that the SunPro C++ compiler does not properly
3705     # handle `-M -o', and we need to detect this.  Also, some Intel
3706     # versions had trouble with output in subdirs
3707     am__obj=sub/conftest.${OBJEXT-o}
3708     am__minus_obj="-o $am__obj"
3709     case $depmode in
3710     gcc)
3711       # This depmode causes a compiler race in universal mode.
3712       test "$am__universal" = false || continue
3713       ;;
3714     nosideeffect)
3715       # after this tag, mechanisms are not by side-effect, so they'll
3716       # only be used when explicitly requested
3717       if test "x$enable_dependency_tracking" = xyes; then
3718         continue
3719       else
3720         break
3721       fi
3722       ;;
3723     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3724       # This compiler won't grok `-c -o', but also, the minuso test has
3725       # not run yet.  These depmodes are late enough in the game, and
3726       # so weak that their functioning should not be impacted.
3727       am__obj=conftest.${OBJEXT-o}
3728       am__minus_obj=
3729       ;;
3730     none) break ;;
3731     esac
3732     if depmode=$depmode \
3733        source=sub/conftest.c object=$am__obj \
3734        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3735        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3736          >/dev/null 2>conftest.err &&
3737        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3738        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3739        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3740        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3741       # icc doesn't choke on unknown options, it will just issue warnings
3742       # or remarks (even with -Werror).  So we grep stderr for any message
3743       # that says an option was ignored or not supported.
3744       # When given -MP, icc 7.0 and 7.1 complain thusly:
3745       #   icc: Command line warning: ignoring option '-M'; no argument required
3746       # The diagnosis changed in icc 8.0:
3747       #   icc: Command line remark: option '-MP' not supported
3748       if (grep 'ignoring option' conftest.err ||
3749           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3750         am_cv_CC_dependencies_compiler_type=$depmode
3751         break
3752       fi
3753     fi
3754   done
3755
3756   cd ..
3757   rm -rf conftest.dir
3758 else
3759   am_cv_CC_dependencies_compiler_type=none
3760 fi
3761
3762 fi
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3764 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3765 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3766
3767  if
3768   test "x$enable_dependency_tracking" != xno \
3769   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3770   am__fastdepCC_TRUE=
3771   am__fastdepCC_FALSE='#'
3772 else
3773   am__fastdepCC_TRUE='#'
3774   am__fastdepCC_FALSE=
3775 fi
3776
3777
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3779 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3780 if ${ac_cv_path_SED+:} false; then :
3781   $as_echo_n "(cached) " >&6
3782 else
3783             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3784      for ac_i in 1 2 3 4 5 6 7; do
3785        ac_script="$ac_script$as_nl$ac_script"
3786      done
3787      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3788      { ac_script=; unset ac_script;}
3789      if test -z "$SED"; then
3790   ac_path_SED_found=false
3791   # Loop through the user's path and test for each of PROGNAME-LIST
3792   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3793 for as_dir in $PATH
3794 do
3795   IFS=$as_save_IFS
3796   test -z "$as_dir" && as_dir=.
3797     for ac_prog in sed gsed; do
3798     for ac_exec_ext in '' $ac_executable_extensions; do
3799       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3800       as_fn_executable_p "$ac_path_SED" || continue
3801 # Check for GNU ac_path_SED and select it if it is found.
3802   # Check for GNU $ac_path_SED
3803 case `"$ac_path_SED" --version 2>&1` in
3804 *GNU*)
3805   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3806 *)
3807   ac_count=0
3808   $as_echo_n 0123456789 >"conftest.in"
3809   while :
3810   do
3811     cat "conftest.in" "conftest.in" >"conftest.tmp"
3812     mv "conftest.tmp" "conftest.in"
3813     cp "conftest.in" "conftest.nl"
3814     $as_echo '' >> "conftest.nl"
3815     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3816     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3817     as_fn_arith $ac_count + 1 && ac_count=$as_val
3818     if test $ac_count -gt ${ac_path_SED_max-0}; then
3819       # Best one so far, save it but keep looking for a better one
3820       ac_cv_path_SED="$ac_path_SED"
3821       ac_path_SED_max=$ac_count
3822     fi
3823     # 10*(2^10) chars as input seems more than enough
3824     test $ac_count -gt 10 && break
3825   done
3826   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3827 esac
3828
3829       $ac_path_SED_found && break 3
3830     done
3831   done
3832   done
3833 IFS=$as_save_IFS
3834   if test -z "$ac_cv_path_SED"; then
3835     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3836   fi
3837 else
3838   ac_cv_path_SED=$SED
3839 fi
3840
3841 fi
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3843 $as_echo "$ac_cv_path_SED" >&6; }
3844  SED="$ac_cv_path_SED"
3845   rm -f conftest.sed
3846
3847 test -z "$SED" && SED=sed
3848 Xsed="$SED -e 1s/^X//"
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3861 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3862 if ${ac_cv_path_GREP+:} false; then :
3863   $as_echo_n "(cached) " >&6
3864 else
3865   if test -z "$GREP"; then
3866   ac_path_GREP_found=false
3867   # Loop through the user's path and test for each of PROGNAME-LIST
3868   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3869 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3870 do
3871   IFS=$as_save_IFS
3872   test -z "$as_dir" && as_dir=.
3873     for ac_prog in grep ggrep; do
3874     for ac_exec_ext in '' $ac_executable_extensions; do
3875       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3876       as_fn_executable_p "$ac_path_GREP" || continue
3877 # Check for GNU ac_path_GREP and select it if it is found.
3878   # Check for GNU $ac_path_GREP
3879 case `"$ac_path_GREP" --version 2>&1` in
3880 *GNU*)
3881   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3882 *)
3883   ac_count=0
3884   $as_echo_n 0123456789 >"conftest.in"
3885   while :
3886   do
3887     cat "conftest.in" "conftest.in" >"conftest.tmp"
3888     mv "conftest.tmp" "conftest.in"
3889     cp "conftest.in" "conftest.nl"
3890     $as_echo 'GREP' >> "conftest.nl"
3891     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3892     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3893     as_fn_arith $ac_count + 1 && ac_count=$as_val
3894     if test $ac_count -gt ${ac_path_GREP_max-0}; then
3895       # Best one so far, save it but keep looking for a better one
3896       ac_cv_path_GREP="$ac_path_GREP"
3897       ac_path_GREP_max=$ac_count
3898     fi
3899     # 10*(2^10) chars as input seems more than enough
3900     test $ac_count -gt 10 && break
3901   done
3902   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3903 esac
3904
3905       $ac_path_GREP_found && break 3
3906     done
3907   done
3908   done
3909 IFS=$as_save_IFS
3910   if test -z "$ac_cv_path_GREP"; then
3911     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3912   fi
3913 else
3914   ac_cv_path_GREP=$GREP
3915 fi
3916
3917 fi
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3919 $as_echo "$ac_cv_path_GREP" >&6; }
3920  GREP="$ac_cv_path_GREP"
3921
3922
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3924 $as_echo_n "checking for egrep... " >&6; }
3925 if ${ac_cv_path_EGREP+:} false; then :
3926   $as_echo_n "(cached) " >&6
3927 else
3928   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3929    then ac_cv_path_EGREP="$GREP -E"
3930    else
3931      if test -z "$EGREP"; then
3932   ac_path_EGREP_found=false
3933   # Loop through the user's path and test for each of PROGNAME-LIST
3934   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3935 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3936 do
3937   IFS=$as_save_IFS
3938   test -z "$as_dir" && as_dir=.
3939     for ac_prog in egrep; do
3940     for ac_exec_ext in '' $ac_executable_extensions; do
3941       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3942       as_fn_executable_p "$ac_path_EGREP" || continue
3943 # Check for GNU ac_path_EGREP and select it if it is found.
3944   # Check for GNU $ac_path_EGREP
3945 case `"$ac_path_EGREP" --version 2>&1` in
3946 *GNU*)
3947   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3948 *)
3949   ac_count=0
3950   $as_echo_n 0123456789 >"conftest.in"
3951   while :
3952   do
3953     cat "conftest.in" "conftest.in" >"conftest.tmp"
3954     mv "conftest.tmp" "conftest.in"
3955     cp "conftest.in" "conftest.nl"
3956     $as_echo 'EGREP' >> "conftest.nl"
3957     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3958     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3959     as_fn_arith $ac_count + 1 && ac_count=$as_val
3960     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3961       # Best one so far, save it but keep looking for a better one
3962       ac_cv_path_EGREP="$ac_path_EGREP"
3963       ac_path_EGREP_max=$ac_count
3964     fi
3965     # 10*(2^10) chars as input seems more than enough
3966     test $ac_count -gt 10 && break
3967   done
3968   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3969 esac
3970
3971       $ac_path_EGREP_found && break 3
3972     done
3973   done
3974   done
3975 IFS=$as_save_IFS
3976   if test -z "$ac_cv_path_EGREP"; then
3977     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3978   fi
3979 else
3980   ac_cv_path_EGREP=$EGREP
3981 fi
3982
3983    fi
3984 fi
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3986 $as_echo "$ac_cv_path_EGREP" >&6; }
3987  EGREP="$ac_cv_path_EGREP"
3988
3989
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3991 $as_echo_n "checking for fgrep... " >&6; }
3992 if ${ac_cv_path_FGREP+:} false; then :
3993   $as_echo_n "(cached) " >&6
3994 else
3995   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3996    then ac_cv_path_FGREP="$GREP -F"
3997    else
3998      if test -z "$FGREP"; then
3999   ac_path_FGREP_found=false
4000   # Loop through the user's path and test for each of PROGNAME-LIST
4001   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4002 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4003 do
4004   IFS=$as_save_IFS
4005   test -z "$as_dir" && as_dir=.
4006     for ac_prog in fgrep; do
4007     for ac_exec_ext in '' $ac_executable_extensions; do
4008       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4009       as_fn_executable_p "$ac_path_FGREP" || continue
4010 # Check for GNU ac_path_FGREP and select it if it is found.
4011   # Check for GNU $ac_path_FGREP
4012 case `"$ac_path_FGREP" --version 2>&1` in
4013 *GNU*)
4014   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4015 *)
4016   ac_count=0
4017   $as_echo_n 0123456789 >"conftest.in"
4018   while :
4019   do
4020     cat "conftest.in" "conftest.in" >"conftest.tmp"
4021     mv "conftest.tmp" "conftest.in"
4022     cp "conftest.in" "conftest.nl"
4023     $as_echo 'FGREP' >> "conftest.nl"
4024     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4025     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4026     as_fn_arith $ac_count + 1 && ac_count=$as_val
4027     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4028       # Best one so far, save it but keep looking for a better one
4029       ac_cv_path_FGREP="$ac_path_FGREP"
4030       ac_path_FGREP_max=$ac_count
4031     fi
4032     # 10*(2^10) chars as input seems more than enough
4033     test $ac_count -gt 10 && break
4034   done
4035   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4036 esac
4037
4038       $ac_path_FGREP_found && break 3
4039     done
4040   done
4041   done
4042 IFS=$as_save_IFS
4043   if test -z "$ac_cv_path_FGREP"; then
4044     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4045   fi
4046 else
4047   ac_cv_path_FGREP=$FGREP
4048 fi
4049
4050    fi
4051 fi
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4053 $as_echo "$ac_cv_path_FGREP" >&6; }
4054  FGREP="$ac_cv_path_FGREP"
4055
4056
4057 test -z "$GREP" && GREP=grep
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077 # Check whether --with-gnu-ld was given.
4078 if test "${with_gnu_ld+set}" = set; then :
4079   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4080 else
4081   with_gnu_ld=no
4082 fi
4083
4084 ac_prog=ld
4085 if test "$GCC" = yes; then
4086   # Check if gcc -print-prog-name=ld gives a path.
4087   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4088 $as_echo_n "checking for ld used by $CC... " >&6; }
4089   case $host in
4090   *-*-mingw*)
4091     # gcc leaves a trailing carriage return which upsets mingw
4092     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4093   *)
4094     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4095   esac
4096   case $ac_prog in
4097     # Accept absolute paths.
4098     [\\/]* | ?:[\\/]*)
4099       re_direlt='/[^/][^/]*/\.\./'
4100       # Canonicalize the pathname of ld
4101       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4102       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4103         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4104       done
4105       test -z "$LD" && LD="$ac_prog"
4106       ;;
4107   "")
4108     # If it fails, then pretend we aren't using GCC.
4109     ac_prog=ld
4110     ;;
4111   *)
4112     # If it is relative, then search for the first ld in PATH.
4113     with_gnu_ld=unknown
4114     ;;
4115   esac
4116 elif test "$with_gnu_ld" = yes; then
4117   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4118 $as_echo_n "checking for GNU ld... " >&6; }
4119 else
4120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4121 $as_echo_n "checking for non-GNU ld... " >&6; }
4122 fi
4123 if ${lt_cv_path_LD+:} false; then :
4124   $as_echo_n "(cached) " >&6
4125 else
4126   if test -z "$LD"; then
4127   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4128   for ac_dir in $PATH; do
4129     IFS="$lt_save_ifs"
4130     test -z "$ac_dir" && ac_dir=.
4131     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4132       lt_cv_path_LD="$ac_dir/$ac_prog"
4133       # Check to see if the program is GNU ld.  I'd rather use --version,
4134       # but apparently some variants of GNU ld only accept -v.
4135       # Break only if it was the GNU/non-GNU ld that we prefer.
4136       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4137       *GNU* | *'with BFD'*)
4138         test "$with_gnu_ld" != no && break
4139         ;;
4140       *)
4141         test "$with_gnu_ld" != yes && break
4142         ;;
4143       esac
4144     fi
4145   done
4146   IFS="$lt_save_ifs"
4147 else
4148   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4149 fi
4150 fi
4151
4152 LD="$lt_cv_path_LD"
4153 if test -n "$LD"; then
4154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4155 $as_echo "$LD" >&6; }
4156 else
4157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4158 $as_echo "no" >&6; }
4159 fi
4160 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4162 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4163 if ${lt_cv_prog_gnu_ld+:} false; then :
4164   $as_echo_n "(cached) " >&6
4165 else
4166   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4167 case `$LD -v 2>&1 </dev/null` in
4168 *GNU* | *'with BFD'*)
4169   lt_cv_prog_gnu_ld=yes
4170   ;;
4171 *)
4172   lt_cv_prog_gnu_ld=no
4173   ;;
4174 esac
4175 fi
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4177 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4178 with_gnu_ld=$lt_cv_prog_gnu_ld
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4189 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4190 if ${lt_cv_path_NM+:} false; then :
4191   $as_echo_n "(cached) " >&6
4192 else
4193   if test -n "$NM"; then
4194   # Let the user override the test.
4195   lt_cv_path_NM="$NM"
4196 else
4197   lt_nm_to_check="${ac_tool_prefix}nm"
4198   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4199     lt_nm_to_check="$lt_nm_to_check nm"
4200   fi
4201   for lt_tmp_nm in $lt_nm_to_check; do
4202     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4203     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4204       IFS="$lt_save_ifs"
4205       test -z "$ac_dir" && ac_dir=.
4206       tmp_nm="$ac_dir/$lt_tmp_nm"
4207       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4208         # Check to see if the nm accepts a BSD-compat flag.
4209         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4210         #   nm: unknown option "B" ignored
4211         # Tru64's nm complains that /dev/null is an invalid object file
4212         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4213         */dev/null* | *'Invalid file or object type'*)
4214           lt_cv_path_NM="$tmp_nm -B"
4215           break
4216           ;;
4217         *)
4218           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4219           */dev/null*)
4220             lt_cv_path_NM="$tmp_nm -p"
4221             break
4222             ;;
4223           *)
4224             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4225             continue # so that we can try to find one that supports BSD flags
4226             ;;
4227           esac
4228           ;;
4229         esac
4230       fi
4231     done
4232     IFS="$lt_save_ifs"
4233   done
4234   : ${lt_cv_path_NM=no}
4235 fi
4236 fi
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4238 $as_echo "$lt_cv_path_NM" >&6; }
4239 if test "$lt_cv_path_NM" != "no"; then
4240   NM="$lt_cv_path_NM"
4241 else
4242   # Didn't find any BSD compatible name lister, look for dumpbin.
4243   if test -n "$DUMPBIN"; then :
4244     # Let the user override the test.
4245   else
4246     if test -n "$ac_tool_prefix"; then
4247   for ac_prog in dumpbin "link -dump"
4248   do
4249     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4250 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4252 $as_echo_n "checking for $ac_word... " >&6; }
4253 if ${ac_cv_prog_DUMPBIN+:} false; then :
4254   $as_echo_n "(cached) " >&6
4255 else
4256   if test -n "$DUMPBIN"; then
4257   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4258 else
4259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4260 for as_dir in $PATH
4261 do
4262   IFS=$as_save_IFS
4263   test -z "$as_dir" && as_dir=.
4264     for ac_exec_ext in '' $ac_executable_extensions; do
4265   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4266     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4267     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4268     break 2
4269   fi
4270 done
4271   done
4272 IFS=$as_save_IFS
4273
4274 fi
4275 fi
4276 DUMPBIN=$ac_cv_prog_DUMPBIN
4277 if test -n "$DUMPBIN"; then
4278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4279 $as_echo "$DUMPBIN" >&6; }
4280 else
4281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4282 $as_echo "no" >&6; }
4283 fi
4284
4285
4286     test -n "$DUMPBIN" && break
4287   done
4288 fi
4289 if test -z "$DUMPBIN"; then
4290   ac_ct_DUMPBIN=$DUMPBIN
4291   for ac_prog in dumpbin "link -dump"
4292 do
4293   # Extract the first word of "$ac_prog", so it can be a program name with args.
4294 set dummy $ac_prog; ac_word=$2
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4296 $as_echo_n "checking for $ac_word... " >&6; }
4297 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4298   $as_echo_n "(cached) " >&6
4299 else
4300   if test -n "$ac_ct_DUMPBIN"; then
4301   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4302 else
4303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4304 for as_dir in $PATH
4305 do
4306   IFS=$as_save_IFS
4307   test -z "$as_dir" && as_dir=.
4308     for ac_exec_ext in '' $ac_executable_extensions; do
4309   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4310     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4311     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4312     break 2
4313   fi
4314 done
4315   done
4316 IFS=$as_save_IFS
4317
4318 fi
4319 fi
4320 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4321 if test -n "$ac_ct_DUMPBIN"; then
4322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4323 $as_echo "$ac_ct_DUMPBIN" >&6; }
4324 else
4325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4326 $as_echo "no" >&6; }
4327 fi
4328
4329
4330   test -n "$ac_ct_DUMPBIN" && break
4331 done
4332
4333   if test "x$ac_ct_DUMPBIN" = x; then
4334     DUMPBIN=":"
4335   else
4336     case $cross_compiling:$ac_tool_warned in
4337 yes:)
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4339 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4340 ac_tool_warned=yes ;;
4341 esac
4342     DUMPBIN=$ac_ct_DUMPBIN
4343   fi
4344 fi
4345
4346     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4347     *COFF*)
4348       DUMPBIN="$DUMPBIN -symbols"
4349       ;;
4350     *)
4351       DUMPBIN=:
4352       ;;
4353     esac
4354   fi
4355
4356   if test "$DUMPBIN" != ":"; then
4357     NM="$DUMPBIN"
4358   fi
4359 fi
4360 test -z "$NM" && NM=nm
4361
4362
4363
4364
4365
4366
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4368 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4369 if ${lt_cv_nm_interface+:} false; then :
4370   $as_echo_n "(cached) " >&6
4371 else
4372   lt_cv_nm_interface="BSD nm"
4373   echo "int some_variable = 0;" > conftest.$ac_ext
4374   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4375   (eval "$ac_compile" 2>conftest.err)
4376   cat conftest.err >&5
4377   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4378   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4379   cat conftest.err >&5
4380   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4381   cat conftest.out >&5
4382   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4383     lt_cv_nm_interface="MS dumpbin"
4384   fi
4385   rm -f conftest*
4386 fi
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4388 $as_echo "$lt_cv_nm_interface" >&6; }
4389
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4391 $as_echo_n "checking whether ln -s works... " >&6; }
4392 LN_S=$as_ln_s
4393 if test "$LN_S" = "ln -s"; then
4394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4395 $as_echo "yes" >&6; }
4396 else
4397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4398 $as_echo "no, using $LN_S" >&6; }
4399 fi
4400
4401 # find the maximum length of command line arguments
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4403 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4404 if ${lt_cv_sys_max_cmd_len+:} false; then :
4405   $as_echo_n "(cached) " >&6
4406 else
4407     i=0
4408   teststring="ABCD"
4409
4410   case $build_os in
4411   msdosdjgpp*)
4412     # On DJGPP, this test can blow up pretty badly due to problems in libc
4413     # (any single argument exceeding 2000 bytes causes a buffer overrun
4414     # during glob expansion).  Even if it were fixed, the result of this
4415     # check would be larger than it should be.
4416     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4417     ;;
4418
4419   gnu*)
4420     # Under GNU Hurd, this test is not required because there is
4421     # no limit to the length of command line arguments.
4422     # Libtool will interpret -1 as no limit whatsoever
4423     lt_cv_sys_max_cmd_len=-1;
4424     ;;
4425
4426   cygwin* | mingw* | cegcc*)
4427     # On Win9x/ME, this test blows up -- it succeeds, but takes
4428     # about 5 minutes as the teststring grows exponentially.
4429     # Worse, since 9x/ME are not pre-emptively multitasking,
4430     # you end up with a "frozen" computer, even though with patience
4431     # the test eventually succeeds (with a max line length of 256k).
4432     # Instead, let's just punt: use the minimum linelength reported by
4433     # all of the supported platforms: 8192 (on NT/2K/XP).
4434     lt_cv_sys_max_cmd_len=8192;
4435     ;;
4436
4437   mint*)
4438     # On MiNT this can take a long time and run out of memory.
4439     lt_cv_sys_max_cmd_len=8192;
4440     ;;
4441
4442   amigaos*)
4443     # On AmigaOS with pdksh, this test takes hours, literally.
4444     # So we just punt and use a minimum line length of 8192.
4445     lt_cv_sys_max_cmd_len=8192;
4446     ;;
4447
4448   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4449     # This has been around since 386BSD, at least.  Likely further.
4450     if test -x /sbin/sysctl; then
4451       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4452     elif test -x /usr/sbin/sysctl; then
4453       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4454     else
4455       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4456     fi
4457     # And add a safety zone
4458     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4459     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4460     ;;
4461
4462   interix*)
4463     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4464     lt_cv_sys_max_cmd_len=196608
4465     ;;
4466
4467   os2*)
4468     # The test takes a long time on OS/2.
4469     lt_cv_sys_max_cmd_len=8192
4470     ;;
4471
4472   osf*)
4473     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4474     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4475     # nice to cause kernel panics so lets avoid the loop below.
4476     # First set a reasonable default.
4477     lt_cv_sys_max_cmd_len=16384
4478     #
4479     if test -x /sbin/sysconfig; then
4480       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4481         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4482       esac
4483     fi
4484     ;;
4485   sco3.2v5*)
4486     lt_cv_sys_max_cmd_len=102400
4487     ;;
4488   sysv5* | sco5v6* | sysv4.2uw2*)
4489     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4490     if test -n "$kargmax"; then
4491       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4492     else
4493       lt_cv_sys_max_cmd_len=32768
4494     fi
4495     ;;
4496   *)
4497     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4498     if test -n "$lt_cv_sys_max_cmd_len"; then
4499       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4500       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4501     else
4502       # Make teststring a little bigger before we do anything with it.
4503       # a 1K string should be a reasonable start.
4504       for i in 1 2 3 4 5 6 7 8 ; do
4505         teststring=$teststring$teststring
4506       done
4507       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4508       # If test is not a shell built-in, we'll probably end up computing a
4509       # maximum length that is only half of the actual maximum length, but
4510       # we can't tell.
4511       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4512                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4513               test $i != 17 # 1/2 MB should be enough
4514       do
4515         i=`expr $i + 1`
4516         teststring=$teststring$teststring
4517       done
4518       # Only check the string length outside the loop.
4519       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4520       teststring=
4521       # Add a significant safety factor because C++ compilers can tack on
4522       # massive amounts of additional arguments before passing them to the
4523       # linker.  It appears as though 1/2 is a usable value.
4524       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4525     fi
4526     ;;
4527   esac
4528
4529 fi
4530
4531 if test -n $lt_cv_sys_max_cmd_len ; then
4532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4533 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4534 else
4535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4536 $as_echo "none" >&6; }
4537 fi
4538 max_cmd_len=$lt_cv_sys_max_cmd_len
4539
4540
4541
4542
4543
4544
4545 : ${CP="cp -f"}
4546 : ${MV="mv -f"}
4547 : ${RM="rm -f"}
4548
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4550 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4551 # Try some XSI features
4552 xsi_shell=no
4553 ( _lt_dummy="a/b/c"
4554   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4555       = c,a/b,b/c, \
4556     && eval 'test $(( 1 + 1 )) -eq 2 \
4557     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4558   && xsi_shell=yes
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4560 $as_echo "$xsi_shell" >&6; }
4561
4562
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4564 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4565 lt_shell_append=no
4566 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4567     >/dev/null 2>&1 \
4568   && lt_shell_append=yes
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4570 $as_echo "$lt_shell_append" >&6; }
4571
4572
4573 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4574   lt_unset=unset
4575 else
4576   lt_unset=false
4577 fi
4578
4579
4580
4581
4582
4583 # test EBCDIC or ASCII
4584 case `echo X|tr X '\101'` in
4585  A) # ASCII based system
4586     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4587   lt_SP2NL='tr \040 \012'
4588   lt_NL2SP='tr \015\012 \040\040'
4589   ;;
4590  *) # EBCDIC based system
4591   lt_SP2NL='tr \100 \n'
4592   lt_NL2SP='tr \r\n \100\100'
4593   ;;
4594 esac
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4605 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4606 if ${lt_cv_to_host_file_cmd+:} false; then :
4607   $as_echo_n "(cached) " >&6
4608 else
4609   case $host in
4610   *-*-mingw* )
4611     case $build in
4612       *-*-mingw* ) # actually msys
4613         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4614         ;;
4615       *-*-cygwin* )
4616         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4617         ;;
4618       * ) # otherwise, assume *nix
4619         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4620         ;;
4621     esac
4622     ;;
4623   *-*-cygwin* )
4624     case $build in
4625       *-*-mingw* ) # actually msys
4626         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4627         ;;
4628       *-*-cygwin* )
4629         lt_cv_to_host_file_cmd=func_convert_file_noop
4630         ;;
4631       * ) # otherwise, assume *nix
4632         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4633         ;;
4634     esac
4635     ;;
4636   * ) # unhandled hosts (and "normal" native builds)
4637     lt_cv_to_host_file_cmd=func_convert_file_noop
4638     ;;
4639 esac
4640
4641 fi
4642
4643 to_host_file_cmd=$lt_cv_to_host_file_cmd
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4645 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4646
4647
4648
4649
4650
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4652 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4653 if ${lt_cv_to_tool_file_cmd+:} false; then :
4654   $as_echo_n "(cached) " >&6
4655 else
4656   #assume ordinary cross tools, or native build.
4657 lt_cv_to_tool_file_cmd=func_convert_file_noop
4658 case $host in
4659   *-*-mingw* )
4660     case $build in
4661       *-*-mingw* ) # actually msys
4662         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4663         ;;
4664     esac
4665     ;;
4666 esac
4667
4668 fi
4669
4670 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4672 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4673
4674
4675
4676
4677
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4679 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4680 if ${lt_cv_ld_reload_flag+:} false; then :
4681   $as_echo_n "(cached) " >&6
4682 else
4683   lt_cv_ld_reload_flag='-r'
4684 fi
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4686 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4687 reload_flag=$lt_cv_ld_reload_flag
4688 case $reload_flag in
4689 "" | " "*) ;;
4690 *) reload_flag=" $reload_flag" ;;
4691 esac
4692 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4693 case $host_os in
4694   cygwin* | mingw* | pw32* | cegcc*)
4695     if test "$GCC" != yes; then
4696       reload_cmds=false
4697     fi
4698     ;;
4699   darwin*)
4700     if test "$GCC" = yes; then
4701       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4702     else
4703       reload_cmds='$LD$reload_flag -o $output$reload_objs'
4704     fi
4705     ;;
4706 esac
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716 if test -n "$ac_tool_prefix"; then
4717   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4718 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4720 $as_echo_n "checking for $ac_word... " >&6; }
4721 if ${ac_cv_prog_OBJDUMP+:} false; then :
4722   $as_echo_n "(cached) " >&6
4723 else
4724   if test -n "$OBJDUMP"; then
4725   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4726 else
4727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4728 for as_dir in $PATH
4729 do
4730   IFS=$as_save_IFS
4731   test -z "$as_dir" && as_dir=.
4732     for ac_exec_ext in '' $ac_executable_extensions; do
4733   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4734     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4735     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4736     break 2
4737   fi
4738 done
4739   done
4740 IFS=$as_save_IFS
4741
4742 fi
4743 fi
4744 OBJDUMP=$ac_cv_prog_OBJDUMP
4745 if test -n "$OBJDUMP"; then
4746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4747 $as_echo "$OBJDUMP" >&6; }
4748 else
4749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4750 $as_echo "no" >&6; }
4751 fi
4752
4753
4754 fi
4755 if test -z "$ac_cv_prog_OBJDUMP"; then
4756   ac_ct_OBJDUMP=$OBJDUMP
4757   # Extract the first word of "objdump", so it can be a program name with args.
4758 set dummy objdump; ac_word=$2
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4760 $as_echo_n "checking for $ac_word... " >&6; }
4761 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4762   $as_echo_n "(cached) " >&6
4763 else
4764   if test -n "$ac_ct_OBJDUMP"; then
4765   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4766 else
4767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4768 for as_dir in $PATH
4769 do
4770   IFS=$as_save_IFS
4771   test -z "$as_dir" && as_dir=.
4772     for ac_exec_ext in '' $ac_executable_extensions; do
4773   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4774     ac_cv_prog_ac_ct_OBJDUMP="objdump"
4775     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4776     break 2
4777   fi
4778 done
4779   done
4780 IFS=$as_save_IFS
4781
4782 fi
4783 fi
4784 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4785 if test -n "$ac_ct_OBJDUMP"; then
4786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4787 $as_echo "$ac_ct_OBJDUMP" >&6; }
4788 else
4789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4790 $as_echo "no" >&6; }
4791 fi
4792
4793   if test "x$ac_ct_OBJDUMP" = x; then
4794     OBJDUMP="false"
4795   else
4796     case $cross_compiling:$ac_tool_warned in
4797 yes:)
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4800 ac_tool_warned=yes ;;
4801 esac
4802     OBJDUMP=$ac_ct_OBJDUMP
4803   fi
4804 else
4805   OBJDUMP="$ac_cv_prog_OBJDUMP"
4806 fi
4807
4808 test -z "$OBJDUMP" && OBJDUMP=objdump
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4819 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4820 if ${lt_cv_deplibs_check_method+:} false; then :
4821   $as_echo_n "(cached) " >&6
4822 else
4823   lt_cv_file_magic_cmd='$MAGIC_CMD'
4824 lt_cv_file_magic_test_file=
4825 lt_cv_deplibs_check_method='unknown'
4826 # Need to set the preceding variable on all platforms that support
4827 # interlibrary dependencies.
4828 # 'none' -- dependencies not supported.
4829 # `unknown' -- same as none, but documents that we really don't know.
4830 # 'pass_all' -- all dependencies passed with no checks.
4831 # 'test_compile' -- check by making test program.
4832 # 'file_magic [[regex]]' -- check by looking for files in library path
4833 # which responds to the $file_magic_cmd with a given extended regex.
4834 # If you have `file' or equivalent on your system and you're not sure
4835 # whether `pass_all' will *always* work, you probably want this one.
4836
4837 case $host_os in
4838 aix[4-9]*)
4839   lt_cv_deplibs_check_method=pass_all
4840   ;;
4841
4842 beos*)
4843   lt_cv_deplibs_check_method=pass_all
4844   ;;
4845
4846 bsdi[45]*)
4847   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4848   lt_cv_file_magic_cmd='/usr/bin/file -L'
4849   lt_cv_file_magic_test_file=/shlib/libc.so
4850   ;;
4851
4852 cygwin*)
4853   # func_win32_libid is a shell function defined in ltmain.sh
4854   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4855   lt_cv_file_magic_cmd='func_win32_libid'
4856   ;;
4857
4858 mingw* | pw32*)
4859   # Base MSYS/MinGW do not provide the 'file' command needed by
4860   # func_win32_libid shell function, so use a weaker test based on 'objdump',
4861   # unless we find 'file', for example because we are cross-compiling.
4862   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
4863   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
4864     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4865     lt_cv_file_magic_cmd='func_win32_libid'
4866   else
4867     # Keep this pattern in sync with the one in func_win32_libid.
4868     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
4869     lt_cv_file_magic_cmd='$OBJDUMP -f'
4870   fi
4871   ;;
4872
4873 cegcc*)
4874   # use the weaker test based on 'objdump'. See mingw*.
4875   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4876   lt_cv_file_magic_cmd='$OBJDUMP -f'
4877   ;;
4878
4879 darwin* | rhapsody*)
4880   lt_cv_deplibs_check_method=pass_all
4881   ;;
4882
4883 freebsd* | dragonfly*)
4884   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4885     case $host_cpu in
4886     i*86 )
4887       # Not sure whether the presence of OpenBSD here was a mistake.
4888       # Let's accept both of them until this is cleared up.
4889       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4890       lt_cv_file_magic_cmd=/usr/bin/file
4891       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4892       ;;
4893     esac
4894   else
4895     lt_cv_deplibs_check_method=pass_all
4896   fi
4897   ;;
4898
4899 gnu*)
4900   lt_cv_deplibs_check_method=pass_all
4901   ;;
4902
4903 haiku*)
4904   lt_cv_deplibs_check_method=pass_all
4905   ;;
4906
4907 hpux10.20* | hpux11*)
4908   lt_cv_file_magic_cmd=/usr/bin/file
4909   case $host_cpu in
4910   ia64*)
4911     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4912     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4913     ;;
4914   hppa*64*)
4915     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]'
4916     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4917     ;;
4918   *)
4919     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
4920     lt_cv_file_magic_test_file=/usr/lib/libc.sl
4921     ;;
4922   esac
4923   ;;
4924
4925 interix[3-9]*)
4926   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4927   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4928   ;;
4929
4930 irix5* | irix6* | nonstopux*)
4931   case $LD in
4932   *-32|*"-32 ") libmagic=32-bit;;
4933   *-n32|*"-n32 ") libmagic=N32;;
4934   *-64|*"-64 ") libmagic=64-bit;;
4935   *) libmagic=never-match;;
4936   esac
4937   lt_cv_deplibs_check_method=pass_all
4938   ;;
4939
4940 # This must be glibc/ELF.
4941 linux* | k*bsd*-gnu | kopensolaris*-gnu)
4942   lt_cv_deplibs_check_method=pass_all
4943   ;;
4944
4945 netbsd* | netbsdelf*-gnu)
4946   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4947     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4948   else
4949     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4950   fi
4951   ;;
4952
4953 newos6*)
4954   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4955   lt_cv_file_magic_cmd=/usr/bin/file
4956   lt_cv_file_magic_test_file=/usr/lib/libnls.so
4957   ;;
4958
4959 *nto* | *qnx*)
4960   lt_cv_deplibs_check_method=pass_all
4961   ;;
4962
4963 openbsd*)
4964   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4965     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4966   else
4967     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4968   fi
4969   ;;
4970
4971 osf3* | osf4* | osf5*)
4972   lt_cv_deplibs_check_method=pass_all
4973   ;;
4974
4975 rdos*)
4976   lt_cv_deplibs_check_method=pass_all
4977   ;;
4978
4979 solaris*)
4980   lt_cv_deplibs_check_method=pass_all
4981   ;;
4982
4983 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4984   lt_cv_deplibs_check_method=pass_all
4985   ;;
4986
4987 sysv4 | sysv4.3*)
4988   case $host_vendor in
4989   motorola)
4990     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]'
4991     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4992     ;;
4993   ncr)
4994     lt_cv_deplibs_check_method=pass_all
4995     ;;
4996   sequent)
4997     lt_cv_file_magic_cmd='/bin/file'
4998     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4999     ;;
5000   sni)
5001     lt_cv_file_magic_cmd='/bin/file'
5002     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5003     lt_cv_file_magic_test_file=/lib/libc.so
5004     ;;
5005   siemens)
5006     lt_cv_deplibs_check_method=pass_all
5007     ;;
5008   pc)
5009     lt_cv_deplibs_check_method=pass_all
5010     ;;
5011   esac
5012   ;;
5013
5014 tpf*)
5015   lt_cv_deplibs_check_method=pass_all
5016   ;;
5017 esac
5018
5019 fi
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5021 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5022
5023 file_magic_glob=
5024 want_nocaseglob=no
5025 if test "$build" = "$host"; then
5026   case $host_os in
5027   mingw* | pw32*)
5028     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5029       want_nocaseglob=yes
5030     else
5031       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5032     fi
5033     ;;
5034   esac
5035 fi
5036
5037 file_magic_cmd=$lt_cv_file_magic_cmd
5038 deplibs_check_method=$lt_cv_deplibs_check_method
5039 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062 if test -n "$ac_tool_prefix"; then
5063   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5064 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5066 $as_echo_n "checking for $ac_word... " >&6; }
5067 if ${ac_cv_prog_DLLTOOL+:} false; then :
5068   $as_echo_n "(cached) " >&6
5069 else
5070   if test -n "$DLLTOOL"; then
5071   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5072 else
5073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5074 for as_dir in $PATH
5075 do
5076   IFS=$as_save_IFS
5077   test -z "$as_dir" && as_dir=.
5078     for ac_exec_ext in '' $ac_executable_extensions; do
5079   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5080     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5081     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5082     break 2
5083   fi
5084 done
5085   done
5086 IFS=$as_save_IFS
5087
5088 fi
5089 fi
5090 DLLTOOL=$ac_cv_prog_DLLTOOL
5091 if test -n "$DLLTOOL"; then
5092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5093 $as_echo "$DLLTOOL" >&6; }
5094 else
5095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5096 $as_echo "no" >&6; }
5097 fi
5098
5099
5100 fi
5101 if test -z "$ac_cv_prog_DLLTOOL"; then
5102   ac_ct_DLLTOOL=$DLLTOOL
5103   # Extract the first word of "dlltool", so it can be a program name with args.
5104 set dummy dlltool; ac_word=$2
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5106 $as_echo_n "checking for $ac_word... " >&6; }
5107 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5108   $as_echo_n "(cached) " >&6
5109 else
5110   if test -n "$ac_ct_DLLTOOL"; then
5111   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5112 else
5113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5114 for as_dir in $PATH
5115 do
5116   IFS=$as_save_IFS
5117   test -z "$as_dir" && as_dir=.
5118     for ac_exec_ext in '' $ac_executable_extensions; do
5119   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5120     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5121     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5122     break 2
5123   fi
5124 done
5125   done
5126 IFS=$as_save_IFS
5127
5128 fi
5129 fi
5130 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5131 if test -n "$ac_ct_DLLTOOL"; then
5132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5133 $as_echo "$ac_ct_DLLTOOL" >&6; }
5134 else
5135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5136 $as_echo "no" >&6; }
5137 fi
5138
5139   if test "x$ac_ct_DLLTOOL" = x; then
5140     DLLTOOL="false"
5141   else
5142     case $cross_compiling:$ac_tool_warned in
5143 yes:)
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5145 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5146 ac_tool_warned=yes ;;
5147 esac
5148     DLLTOOL=$ac_ct_DLLTOOL
5149   fi
5150 else
5151   DLLTOOL="$ac_cv_prog_DLLTOOL"
5152 fi
5153
5154 test -z "$DLLTOOL" && DLLTOOL=dlltool
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5166 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5167 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5168   $as_echo_n "(cached) " >&6
5169 else
5170   lt_cv_sharedlib_from_linklib_cmd='unknown'
5171
5172 case $host_os in
5173 cygwin* | mingw* | pw32* | cegcc*)
5174   # two different shell functions defined in ltmain.sh
5175   # decide which to use based on capabilities of $DLLTOOL
5176   case `$DLLTOOL --help 2>&1` in
5177   *--identify-strict*)
5178     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5179     ;;
5180   *)
5181     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5182     ;;
5183   esac
5184   ;;
5185 *)
5186   # fallback: assume linklib IS sharedlib
5187   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5188   ;;
5189 esac
5190
5191 fi
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5193 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5194 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5195 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5196
5197
5198
5199
5200
5201
5202
5203
5204 if test -n "$ac_tool_prefix"; then
5205   for ac_prog in ar
5206   do
5207     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5208 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5210 $as_echo_n "checking for $ac_word... " >&6; }
5211 if ${ac_cv_prog_AR+:} false; then :
5212   $as_echo_n "(cached) " >&6
5213 else
5214   if test -n "$AR"; then
5215   ac_cv_prog_AR="$AR" # Let the user override the test.
5216 else
5217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5218 for as_dir in $PATH
5219 do
5220   IFS=$as_save_IFS
5221   test -z "$as_dir" && as_dir=.
5222     for ac_exec_ext in '' $ac_executable_extensions; do
5223   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5224     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5225     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5226     break 2
5227   fi
5228 done
5229   done
5230 IFS=$as_save_IFS
5231
5232 fi
5233 fi
5234 AR=$ac_cv_prog_AR
5235 if test -n "$AR"; then
5236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5237 $as_echo "$AR" >&6; }
5238 else
5239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5240 $as_echo "no" >&6; }
5241 fi
5242
5243
5244     test -n "$AR" && break
5245   done
5246 fi
5247 if test -z "$AR"; then
5248   ac_ct_AR=$AR
5249   for ac_prog in ar
5250 do
5251   # Extract the first word of "$ac_prog", so it can be a program name with args.
5252 set dummy $ac_prog; ac_word=$2
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5254 $as_echo_n "checking for $ac_word... " >&6; }
5255 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5256   $as_echo_n "(cached) " >&6
5257 else
5258   if test -n "$ac_ct_AR"; then
5259   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5260 else
5261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5262 for as_dir in $PATH
5263 do
5264   IFS=$as_save_IFS
5265   test -z "$as_dir" && as_dir=.
5266     for ac_exec_ext in '' $ac_executable_extensions; do
5267   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5268     ac_cv_prog_ac_ct_AR="$ac_prog"
5269     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5270     break 2
5271   fi
5272 done
5273   done
5274 IFS=$as_save_IFS
5275
5276 fi
5277 fi
5278 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5279 if test -n "$ac_ct_AR"; then
5280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5281 $as_echo "$ac_ct_AR" >&6; }
5282 else
5283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5284 $as_echo "no" >&6; }
5285 fi
5286
5287
5288   test -n "$ac_ct_AR" && break
5289 done
5290
5291   if test "x$ac_ct_AR" = x; then
5292     AR="false"
5293   else
5294     case $cross_compiling:$ac_tool_warned in
5295 yes:)
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5297 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5298 ac_tool_warned=yes ;;
5299 esac
5300     AR=$ac_ct_AR
5301   fi
5302 fi
5303
5304 : ${AR=ar}
5305 : ${AR_FLAGS=cru}
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5318 $as_echo_n "checking for archiver @FILE support... " >&6; }
5319 if ${lt_cv_ar_at_file+:} false; then :
5320   $as_echo_n "(cached) " >&6
5321 else
5322   lt_cv_ar_at_file=no
5323    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5324 /* end confdefs.h.  */
5325
5326 int
5327 main ()
5328 {
5329
5330   ;
5331   return 0;
5332 }
5333 _ACEOF
5334 if ac_fn_c_try_compile "$LINENO"; then :
5335   echo conftest.$ac_objext > conftest.lst
5336       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5337       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5338   (eval $lt_ar_try) 2>&5
5339   ac_status=$?
5340   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5341   test $ac_status = 0; }
5342       if test "$ac_status" -eq 0; then
5343         # Ensure the archiver fails upon bogus file names.
5344         rm -f conftest.$ac_objext libconftest.a
5345         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5346   (eval $lt_ar_try) 2>&5
5347   ac_status=$?
5348   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5349   test $ac_status = 0; }
5350         if test "$ac_status" -ne 0; then
5351           lt_cv_ar_at_file=@
5352         fi
5353       fi
5354       rm -f conftest.* libconftest.a
5355
5356 fi
5357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5358
5359 fi
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5361 $as_echo "$lt_cv_ar_at_file" >&6; }
5362
5363 if test "x$lt_cv_ar_at_file" = xno; then
5364   archiver_list_spec=
5365 else
5366   archiver_list_spec=$lt_cv_ar_at_file
5367 fi
5368
5369
5370
5371
5372
5373
5374
5375 if test -n "$ac_tool_prefix"; then
5376   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5377 set dummy ${ac_tool_prefix}strip; ac_word=$2
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5379 $as_echo_n "checking for $ac_word... " >&6; }
5380 if ${ac_cv_prog_STRIP+:} false; then :
5381   $as_echo_n "(cached) " >&6
5382 else
5383   if test -n "$STRIP"; then
5384   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5385 else
5386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5387 for as_dir in $PATH
5388 do
5389   IFS=$as_save_IFS
5390   test -z "$as_dir" && as_dir=.
5391     for ac_exec_ext in '' $ac_executable_extensions; do
5392   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5393     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5394     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5395     break 2
5396   fi
5397 done
5398   done
5399 IFS=$as_save_IFS
5400
5401 fi
5402 fi
5403 STRIP=$ac_cv_prog_STRIP
5404 if test -n "$STRIP"; then
5405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5406 $as_echo "$STRIP" >&6; }
5407 else
5408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5409 $as_echo "no" >&6; }
5410 fi
5411
5412
5413 fi
5414 if test -z "$ac_cv_prog_STRIP"; then
5415   ac_ct_STRIP=$STRIP
5416   # Extract the first word of "strip", so it can be a program name with args.
5417 set dummy strip; ac_word=$2
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5419 $as_echo_n "checking for $ac_word... " >&6; }
5420 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5421   $as_echo_n "(cached) " >&6
5422 else
5423   if test -n "$ac_ct_STRIP"; then
5424   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5425 else
5426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5427 for as_dir in $PATH
5428 do
5429   IFS=$as_save_IFS
5430   test -z "$as_dir" && as_dir=.
5431     for ac_exec_ext in '' $ac_executable_extensions; do
5432   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5433     ac_cv_prog_ac_ct_STRIP="strip"
5434     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5435     break 2
5436   fi
5437 done
5438   done
5439 IFS=$as_save_IFS
5440
5441 fi
5442 fi
5443 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5444 if test -n "$ac_ct_STRIP"; then
5445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5446 $as_echo "$ac_ct_STRIP" >&6; }
5447 else
5448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5449 $as_echo "no" >&6; }
5450 fi
5451
5452   if test "x$ac_ct_STRIP" = x; then
5453     STRIP=":"
5454   else
5455     case $cross_compiling:$ac_tool_warned in
5456 yes:)
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5458 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5459 ac_tool_warned=yes ;;
5460 esac
5461     STRIP=$ac_ct_STRIP
5462   fi
5463 else
5464   STRIP="$ac_cv_prog_STRIP"
5465 fi
5466
5467 test -z "$STRIP" && STRIP=:
5468
5469
5470
5471
5472
5473
5474 if test -n "$ac_tool_prefix"; then
5475   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5476 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5478 $as_echo_n "checking for $ac_word... " >&6; }
5479 if ${ac_cv_prog_RANLIB+:} false; then :
5480   $as_echo_n "(cached) " >&6
5481 else
5482   if test -n "$RANLIB"; then
5483   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5484 else
5485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5486 for as_dir in $PATH
5487 do
5488   IFS=$as_save_IFS
5489   test -z "$as_dir" && as_dir=.
5490     for ac_exec_ext in '' $ac_executable_extensions; do
5491   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5492     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5493     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5494     break 2
5495   fi
5496 done
5497   done
5498 IFS=$as_save_IFS
5499
5500 fi
5501 fi
5502 RANLIB=$ac_cv_prog_RANLIB
5503 if test -n "$RANLIB"; then
5504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5505 $as_echo "$RANLIB" >&6; }
5506 else
5507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5508 $as_echo "no" >&6; }
5509 fi
5510
5511
5512 fi
5513 if test -z "$ac_cv_prog_RANLIB"; then
5514   ac_ct_RANLIB=$RANLIB
5515   # Extract the first word of "ranlib", so it can be a program name with args.
5516 set dummy ranlib; ac_word=$2
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5518 $as_echo_n "checking for $ac_word... " >&6; }
5519 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5520   $as_echo_n "(cached) " >&6
5521 else
5522   if test -n "$ac_ct_RANLIB"; then
5523   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5524 else
5525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5526 for as_dir in $PATH
5527 do
5528   IFS=$as_save_IFS
5529   test -z "$as_dir" && as_dir=.
5530     for ac_exec_ext in '' $ac_executable_extensions; do
5531   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5532     ac_cv_prog_ac_ct_RANLIB="ranlib"
5533     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5534     break 2
5535   fi
5536 done
5537   done
5538 IFS=$as_save_IFS
5539
5540 fi
5541 fi
5542 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5543 if test -n "$ac_ct_RANLIB"; then
5544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5545 $as_echo "$ac_ct_RANLIB" >&6; }
5546 else
5547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5548 $as_echo "no" >&6; }
5549 fi
5550
5551   if test "x$ac_ct_RANLIB" = x; then
5552     RANLIB=":"
5553   else
5554     case $cross_compiling:$ac_tool_warned in
5555 yes:)
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5557 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5558 ac_tool_warned=yes ;;
5559 esac
5560     RANLIB=$ac_ct_RANLIB
5561   fi
5562 else
5563   RANLIB="$ac_cv_prog_RANLIB"
5564 fi
5565
5566 test -z "$RANLIB" && RANLIB=:
5567
5568
5569
5570
5571
5572
5573 # Determine commands to create old-style static archives.
5574 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5575 old_postinstall_cmds='chmod 644 $oldlib'
5576 old_postuninstall_cmds=
5577
5578 if test -n "$RANLIB"; then
5579   case $host_os in
5580   openbsd*)
5581     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5582     ;;
5583   *)
5584     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5585     ;;
5586   esac
5587   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5588 fi
5589
5590 case $host_os in
5591   darwin*)
5592     lock_old_archive_extraction=yes ;;
5593   *)
5594     lock_old_archive_extraction=no ;;
5595 esac
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635 # If no C compiler was specified, use CC.
5636 LTCC=${LTCC-"$CC"}
5637
5638 # If no C compiler flags were specified, use CFLAGS.
5639 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5640
5641 # Allow CC to be a program name with arguments.
5642 compiler=$CC
5643
5644
5645 # Check for command to grab the raw symbol name followed by C symbol from nm.
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5647 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5648 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5649   $as_echo_n "(cached) " >&6
5650 else
5651
5652 # These are sane defaults that work on at least a few old systems.
5653 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5654
5655 # Character class describing NM global symbol codes.
5656 symcode='[BCDEGRST]'
5657
5658 # Regexp to match symbols that can be accessed directly from C.
5659 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5660
5661 # Define system-specific variables.
5662 case $host_os in
5663 aix*)
5664   symcode='[BCDT]'
5665   ;;
5666 cygwin* | mingw* | pw32* | cegcc*)
5667   symcode='[ABCDGISTW]'
5668   ;;
5669 hpux*)
5670   if test "$host_cpu" = ia64; then
5671     symcode='[ABCDEGRST]'
5672   fi
5673   ;;
5674 irix* | nonstopux*)
5675   symcode='[BCDEGRST]'
5676   ;;
5677 osf*)
5678   symcode='[BCDEGQRST]'
5679   ;;
5680 solaris*)
5681   symcode='[BDRT]'
5682   ;;
5683 sco3.2v5*)
5684   symcode='[DT]'
5685   ;;
5686 sysv4.2uw2*)
5687   symcode='[DT]'
5688   ;;
5689 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5690   symcode='[ABDT]'
5691   ;;
5692 sysv4)
5693   symcode='[DFNSTU]'
5694   ;;
5695 esac
5696
5697 # If we're using GNU nm, then use its standard symbol codes.
5698 case `$NM -V 2>&1` in
5699 *GNU* | *'with BFD'*)
5700   symcode='[ABCDGIRSTW]' ;;
5701 esac
5702
5703 # Transform an extracted symbol line into a proper C declaration.
5704 # Some systems (esp. on ia64) link data and code symbols differently,
5705 # so use this general approach.
5706 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5707
5708 # Transform an extracted symbol line into symbol name and symbol address
5709 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5710 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'"
5711
5712 # Handle CRLF in mingw tool chain
5713 opt_cr=
5714 case $build_os in
5715 mingw*)
5716   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5717   ;;
5718 esac
5719
5720 # Try without a prefix underscore, then with it.
5721 for ac_symprfx in "" "_"; do
5722
5723   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5724   symxfrm="\\1 $ac_symprfx\\2 \\2"
5725
5726   # Write the raw and C identifiers.
5727   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5728     # Fake it for dumpbin and say T for any non-static function
5729     # and D for any global variable.
5730     # Also find C++ and __fastcall symbols from MSVC++,
5731     # which start with @ or ?.
5732     lt_cv_sys_global_symbol_pipe="$AWK '"\
5733 "     {last_section=section; section=\$ 3};"\
5734 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5735 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5736 "     \$ 0!~/External *\|/{next};"\
5737 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5738 "     {if(hide[section]) next};"\
5739 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5740 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5741 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5742 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5743 "     ' prfx=^$ac_symprfx"
5744   else
5745     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5746   fi
5747   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5748
5749   # Check to see that the pipe works correctly.
5750   pipe_works=no
5751
5752   rm -f conftest*
5753   cat > conftest.$ac_ext <<_LT_EOF
5754 #ifdef __cplusplus
5755 extern "C" {
5756 #endif
5757 char nm_test_var;
5758 void nm_test_func(void);
5759 void nm_test_func(void){}
5760 #ifdef __cplusplus
5761 }
5762 #endif
5763 int main(){nm_test_var='a';nm_test_func();return(0);}
5764 _LT_EOF
5765
5766   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5767   (eval $ac_compile) 2>&5
5768   ac_status=$?
5769   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5770   test $ac_status = 0; }; then
5771     # Now try to grab the symbols.
5772     nlist=conftest.nm
5773     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5774   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5775   ac_status=$?
5776   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5777   test $ac_status = 0; } && test -s "$nlist"; then
5778       # Try sorting and uniquifying the output.
5779       if sort "$nlist" | uniq > "$nlist"T; then
5780         mv -f "$nlist"T "$nlist"
5781       else
5782         rm -f "$nlist"T
5783       fi
5784
5785       # Make sure that we snagged all the symbols we need.
5786       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5787         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5788           cat <<_LT_EOF > conftest.$ac_ext
5789 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
5790 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5791 /* DATA imports from DLLs on WIN32 con't be const, because runtime
5792    relocations are performed -- see ld's documentation on pseudo-relocs.  */
5793 # define LT_DLSYM_CONST
5794 #elif defined(__osf__)
5795 /* This system does not cope well with relocations in const data.  */
5796 # define LT_DLSYM_CONST
5797 #else
5798 # define LT_DLSYM_CONST const
5799 #endif
5800
5801 #ifdef __cplusplus
5802 extern "C" {
5803 #endif
5804
5805 _LT_EOF
5806           # Now generate the symbol file.
5807           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5808
5809           cat <<_LT_EOF >> conftest.$ac_ext
5810
5811 /* The mapping between symbol names and symbols.  */
5812 LT_DLSYM_CONST struct {
5813   const char *name;
5814   void       *address;
5815 }
5816 lt__PROGRAM__LTX_preloaded_symbols[] =
5817 {
5818   { "@PROGRAM@", (void *) 0 },
5819 _LT_EOF
5820           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5821           cat <<\_LT_EOF >> conftest.$ac_ext
5822   {0, (void *) 0}
5823 };
5824
5825 /* This works around a problem in FreeBSD linker */
5826 #ifdef FREEBSD_WORKAROUND
5827 static const void *lt_preloaded_setup() {
5828   return lt__PROGRAM__LTX_preloaded_symbols;
5829 }
5830 #endif
5831
5832 #ifdef __cplusplus
5833 }
5834 #endif
5835 _LT_EOF
5836           # Now try linking the two files.
5837           mv conftest.$ac_objext conftstm.$ac_objext
5838           lt_globsym_save_LIBS=$LIBS
5839           lt_globsym_save_CFLAGS=$CFLAGS
5840           LIBS="conftstm.$ac_objext"
5841           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5842           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5843   (eval $ac_link) 2>&5
5844   ac_status=$?
5845   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5846   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5847             pipe_works=yes
5848           fi
5849           LIBS=$lt_globsym_save_LIBS
5850           CFLAGS=$lt_globsym_save_CFLAGS
5851         else
5852           echo "cannot find nm_test_func in $nlist" >&5
5853         fi
5854       else
5855         echo "cannot find nm_test_var in $nlist" >&5
5856       fi
5857     else
5858       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5859     fi
5860   else
5861     echo "$progname: failed program was:" >&5
5862     cat conftest.$ac_ext >&5
5863   fi
5864   rm -rf conftest* conftst*
5865
5866   # Do not use the global_symbol_pipe unless it works.
5867   if test "$pipe_works" = yes; then
5868     break
5869   else
5870     lt_cv_sys_global_symbol_pipe=
5871   fi
5872 done
5873
5874 fi
5875
5876 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5877   lt_cv_sys_global_symbol_to_cdecl=
5878 fi
5879 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5881 $as_echo "failed" >&6; }
5882 else
5883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5884 $as_echo "ok" >&6; }
5885 fi
5886
5887 # Response file support.
5888 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5889   nm_file_list_spec='@'
5890 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
5891   nm_file_list_spec='@'
5892 fi
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
5921 $as_echo_n "checking for sysroot... " >&6; }
5922
5923 # Check whether --with-sysroot was given.
5924 if test "${with_sysroot+set}" = set; then :
5925   withval=$with_sysroot;
5926 else
5927   with_sysroot=no
5928 fi
5929
5930
5931 lt_sysroot=
5932 case ${with_sysroot} in #(
5933  yes)
5934    if test "$GCC" = yes; then
5935      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
5936    fi
5937    ;; #(
5938  /*)
5939    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
5940    ;; #(
5941  no|'')
5942    ;; #(
5943  *)
5944    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
5945 $as_echo "${with_sysroot}" >&6; }
5946    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
5947    ;;
5948 esac
5949
5950  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
5951 $as_echo "${lt_sysroot:-no}" >&6; }
5952
5953
5954
5955
5956
5957 # Check whether --enable-libtool-lock was given.
5958 if test "${enable_libtool_lock+set}" = set; then :
5959   enableval=$enable_libtool_lock;
5960 fi
5961
5962 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5963
5964 # Some flags need to be propagated to the compiler or linker for good
5965 # libtool support.
5966 case $host in
5967 ia64-*-hpux*)
5968   # Find out which ABI we are using.
5969   echo 'int i;' > conftest.$ac_ext
5970   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5971   (eval $ac_compile) 2>&5
5972   ac_status=$?
5973   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5974   test $ac_status = 0; }; then
5975     case `/usr/bin/file conftest.$ac_objext` in
5976       *ELF-32*)
5977         HPUX_IA64_MODE="32"
5978         ;;
5979       *ELF-64*)
5980         HPUX_IA64_MODE="64"
5981         ;;
5982     esac
5983   fi
5984   rm -rf conftest*
5985   ;;
5986 *-*-irix6*)
5987   # Find out which ABI we are using.
5988   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
5989   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5990   (eval $ac_compile) 2>&5
5991   ac_status=$?
5992   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5993   test $ac_status = 0; }; then
5994     if test "$lt_cv_prog_gnu_ld" = yes; then
5995       case `/usr/bin/file conftest.$ac_objext` in
5996         *32-bit*)
5997           LD="${LD-ld} -melf32bsmip"
5998           ;;
5999         *N32*)
6000           LD="${LD-ld} -melf32bmipn32"
6001           ;;
6002         *64-bit*)
6003           LD="${LD-ld} -melf64bmip"
6004         ;;
6005       esac
6006     else
6007       case `/usr/bin/file conftest.$ac_objext` in
6008         *32-bit*)
6009           LD="${LD-ld} -32"
6010           ;;
6011         *N32*)
6012           LD="${LD-ld} -n32"
6013           ;;
6014         *64-bit*)
6015           LD="${LD-ld} -64"
6016           ;;
6017       esac
6018     fi
6019   fi
6020   rm -rf conftest*
6021   ;;
6022
6023 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6024 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6025   # Find out which ABI we are using.
6026   echo 'int i;' > conftest.$ac_ext
6027   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6028   (eval $ac_compile) 2>&5
6029   ac_status=$?
6030   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6031   test $ac_status = 0; }; then
6032     case `/usr/bin/file conftest.o` in
6033       *32-bit*)
6034         case $host in
6035           x86_64-*kfreebsd*-gnu)
6036             LD="${LD-ld} -m elf_i386_fbsd"
6037             ;;
6038           x86_64-*linux*)
6039             LD="${LD-ld} -m elf_i386"
6040             ;;
6041           ppc64-*linux*|powerpc64-*linux*)
6042             LD="${LD-ld} -m elf32ppclinux"
6043             ;;
6044           s390x-*linux*)
6045             LD="${LD-ld} -m elf_s390"
6046             ;;
6047           sparc64-*linux*)
6048             LD="${LD-ld} -m elf32_sparc"
6049             ;;
6050         esac
6051         ;;
6052       *64-bit*)
6053         case $host in
6054           x86_64-*kfreebsd*-gnu)
6055             LD="${LD-ld} -m elf_x86_64_fbsd"
6056             ;;
6057           x86_64-*linux*)
6058             LD="${LD-ld} -m elf_x86_64"
6059             ;;
6060           ppc*-*linux*|powerpc*-*linux*)
6061             LD="${LD-ld} -m elf64ppc"
6062             ;;
6063           s390*-*linux*|s390*-*tpf*)
6064             LD="${LD-ld} -m elf64_s390"
6065             ;;
6066           sparc*-*linux*)
6067             LD="${LD-ld} -m elf64_sparc"
6068             ;;
6069         esac
6070         ;;
6071     esac
6072   fi
6073   rm -rf conftest*
6074   ;;
6075
6076 *-*-sco3.2v5*)
6077   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6078   SAVE_CFLAGS="$CFLAGS"
6079   CFLAGS="$CFLAGS -belf"
6080   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6081 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6082 if ${lt_cv_cc_needs_belf+:} false; then :
6083   $as_echo_n "(cached) " >&6
6084 else
6085   ac_ext=c
6086 ac_cpp='$CPP $CPPFLAGS'
6087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6090
6091      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6092 /* end confdefs.h.  */
6093
6094 int
6095 main ()
6096 {
6097
6098   ;
6099   return 0;
6100 }
6101 _ACEOF
6102 if ac_fn_c_try_link "$LINENO"; then :
6103   lt_cv_cc_needs_belf=yes
6104 else
6105   lt_cv_cc_needs_belf=no
6106 fi
6107 rm -f core conftest.err conftest.$ac_objext \
6108     conftest$ac_exeext conftest.$ac_ext
6109      ac_ext=c
6110 ac_cpp='$CPP $CPPFLAGS'
6111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6114
6115 fi
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6117 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6118   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6119     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6120     CFLAGS="$SAVE_CFLAGS"
6121   fi
6122   ;;
6123 *-*solaris*)
6124   # Find out which ABI we are using.
6125   echo 'int i;' > conftest.$ac_ext
6126   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6127   (eval $ac_compile) 2>&5
6128   ac_status=$?
6129   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6130   test $ac_status = 0; }; then
6131     case `/usr/bin/file conftest.o` in
6132     *64-bit*)
6133       case $lt_cv_prog_gnu_ld in
6134       yes*)
6135         case $host in
6136         i?86-*-solaris*)
6137           LD="${LD-ld} -m elf_x86_64"
6138           ;;
6139         sparc*-*-solaris*)
6140           LD="${LD-ld} -m elf64_sparc"
6141           ;;
6142         esac
6143         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6144         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6145           LD="${LD-ld}_sol2"
6146         fi
6147         ;;
6148       *)
6149         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6150           LD="${LD-ld} -64"
6151         fi
6152         ;;
6153       esac
6154       ;;
6155     esac
6156   fi
6157   rm -rf conftest*
6158   ;;
6159 esac
6160
6161 need_locks="$enable_libtool_lock"
6162
6163 if test -n "$ac_tool_prefix"; then
6164   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6165 set dummy ${ac_tool_prefix}mt; ac_word=$2
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6167 $as_echo_n "checking for $ac_word... " >&6; }
6168 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6169   $as_echo_n "(cached) " >&6
6170 else
6171   if test -n "$MANIFEST_TOOL"; then
6172   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6173 else
6174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6175 for as_dir in $PATH
6176 do
6177   IFS=$as_save_IFS
6178   test -z "$as_dir" && as_dir=.
6179     for ac_exec_ext in '' $ac_executable_extensions; do
6180   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6181     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6182     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6183     break 2
6184   fi
6185 done
6186   done
6187 IFS=$as_save_IFS
6188
6189 fi
6190 fi
6191 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6192 if test -n "$MANIFEST_TOOL"; then
6193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6194 $as_echo "$MANIFEST_TOOL" >&6; }
6195 else
6196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6197 $as_echo "no" >&6; }
6198 fi
6199
6200
6201 fi
6202 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6203   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6204   # Extract the first word of "mt", so it can be a program name with args.
6205 set dummy mt; ac_word=$2
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6207 $as_echo_n "checking for $ac_word... " >&6; }
6208 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6209   $as_echo_n "(cached) " >&6
6210 else
6211   if test -n "$ac_ct_MANIFEST_TOOL"; then
6212   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6213 else
6214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6215 for as_dir in $PATH
6216 do
6217   IFS=$as_save_IFS
6218   test -z "$as_dir" && as_dir=.
6219     for ac_exec_ext in '' $ac_executable_extensions; do
6220   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6221     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6222     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6223     break 2
6224   fi
6225 done
6226   done
6227 IFS=$as_save_IFS
6228
6229 fi
6230 fi
6231 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6232 if test -n "$ac_ct_MANIFEST_TOOL"; then
6233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6234 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6235 else
6236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6237 $as_echo "no" >&6; }
6238 fi
6239
6240   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6241     MANIFEST_TOOL=":"
6242   else
6243     case $cross_compiling:$ac_tool_warned in
6244 yes:)
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6247 ac_tool_warned=yes ;;
6248 esac
6249     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6250   fi
6251 else
6252   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6253 fi
6254
6255 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6257 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6258 if ${lt_cv_path_mainfest_tool+:} false; then :
6259   $as_echo_n "(cached) " >&6
6260 else
6261   lt_cv_path_mainfest_tool=no
6262   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6263   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6264   cat conftest.err >&5
6265   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6266     lt_cv_path_mainfest_tool=yes
6267   fi
6268   rm -f conftest*
6269 fi
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6271 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6272 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6273   MANIFEST_TOOL=:
6274 fi
6275
6276
6277
6278
6279
6280
6281   case $host_os in
6282     rhapsody* | darwin*)
6283     if test -n "$ac_tool_prefix"; then
6284   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6285 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6287 $as_echo_n "checking for $ac_word... " >&6; }
6288 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6289   $as_echo_n "(cached) " >&6
6290 else
6291   if test -n "$DSYMUTIL"; then
6292   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6293 else
6294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6295 for as_dir in $PATH
6296 do
6297   IFS=$as_save_IFS
6298   test -z "$as_dir" && as_dir=.
6299     for ac_exec_ext in '' $ac_executable_extensions; do
6300   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6301     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6302     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6303     break 2
6304   fi
6305 done
6306   done
6307 IFS=$as_save_IFS
6308
6309 fi
6310 fi
6311 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6312 if test -n "$DSYMUTIL"; then
6313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6314 $as_echo "$DSYMUTIL" >&6; }
6315 else
6316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6317 $as_echo "no" >&6; }
6318 fi
6319
6320
6321 fi
6322 if test -z "$ac_cv_prog_DSYMUTIL"; then
6323   ac_ct_DSYMUTIL=$DSYMUTIL
6324   # Extract the first word of "dsymutil", so it can be a program name with args.
6325 set dummy dsymutil; ac_word=$2
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6327 $as_echo_n "checking for $ac_word... " >&6; }
6328 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6329   $as_echo_n "(cached) " >&6
6330 else
6331   if test -n "$ac_ct_DSYMUTIL"; then
6332   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6333 else
6334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6335 for as_dir in $PATH
6336 do
6337   IFS=$as_save_IFS
6338   test -z "$as_dir" && as_dir=.
6339     for ac_exec_ext in '' $ac_executable_extensions; do
6340   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6341     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6342     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6343     break 2
6344   fi
6345 done
6346   done
6347 IFS=$as_save_IFS
6348
6349 fi
6350 fi
6351 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6352 if test -n "$ac_ct_DSYMUTIL"; then
6353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6354 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6355 else
6356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6357 $as_echo "no" >&6; }
6358 fi
6359
6360   if test "x$ac_ct_DSYMUTIL" = x; then
6361     DSYMUTIL=":"
6362   else
6363     case $cross_compiling:$ac_tool_warned in
6364 yes:)
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6366 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6367 ac_tool_warned=yes ;;
6368 esac
6369     DSYMUTIL=$ac_ct_DSYMUTIL
6370   fi
6371 else
6372   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6373 fi
6374
6375     if test -n "$ac_tool_prefix"; then
6376   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6377 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6379 $as_echo_n "checking for $ac_word... " >&6; }
6380 if ${ac_cv_prog_NMEDIT+:} false; then :
6381   $as_echo_n "(cached) " >&6
6382 else
6383   if test -n "$NMEDIT"; then
6384   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6385 else
6386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6387 for as_dir in $PATH
6388 do
6389   IFS=$as_save_IFS
6390   test -z "$as_dir" && as_dir=.
6391     for ac_exec_ext in '' $ac_executable_extensions; do
6392   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6393     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6394     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6395     break 2
6396   fi
6397 done
6398   done
6399 IFS=$as_save_IFS
6400
6401 fi
6402 fi
6403 NMEDIT=$ac_cv_prog_NMEDIT
6404 if test -n "$NMEDIT"; then
6405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6406 $as_echo "$NMEDIT" >&6; }
6407 else
6408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6409 $as_echo "no" >&6; }
6410 fi
6411
6412
6413 fi
6414 if test -z "$ac_cv_prog_NMEDIT"; then
6415   ac_ct_NMEDIT=$NMEDIT
6416   # Extract the first word of "nmedit", so it can be a program name with args.
6417 set dummy nmedit; ac_word=$2
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6419 $as_echo_n "checking for $ac_word... " >&6; }
6420 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6421   $as_echo_n "(cached) " >&6
6422 else
6423   if test -n "$ac_ct_NMEDIT"; then
6424   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6425 else
6426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6427 for as_dir in $PATH
6428 do
6429   IFS=$as_save_IFS
6430   test -z "$as_dir" && as_dir=.
6431     for ac_exec_ext in '' $ac_executable_extensions; do
6432   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6433     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6434     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6435     break 2
6436   fi
6437 done
6438   done
6439 IFS=$as_save_IFS
6440
6441 fi
6442 fi
6443 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6444 if test -n "$ac_ct_NMEDIT"; then
6445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6446 $as_echo "$ac_ct_NMEDIT" >&6; }
6447 else
6448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6449 $as_echo "no" >&6; }
6450 fi
6451
6452   if test "x$ac_ct_NMEDIT" = x; then
6453     NMEDIT=":"
6454   else
6455     case $cross_compiling:$ac_tool_warned in
6456 yes:)
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6458 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6459 ac_tool_warned=yes ;;
6460 esac
6461     NMEDIT=$ac_ct_NMEDIT
6462   fi
6463 else
6464   NMEDIT="$ac_cv_prog_NMEDIT"
6465 fi
6466
6467     if test -n "$ac_tool_prefix"; then
6468   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6469 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6471 $as_echo_n "checking for $ac_word... " >&6; }
6472 if ${ac_cv_prog_LIPO+:} false; then :
6473   $as_echo_n "(cached) " >&6
6474 else
6475   if test -n "$LIPO"; then
6476   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6477 else
6478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6479 for as_dir in $PATH
6480 do
6481   IFS=$as_save_IFS
6482   test -z "$as_dir" && as_dir=.
6483     for ac_exec_ext in '' $ac_executable_extensions; do
6484   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6485     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6486     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6487     break 2
6488   fi
6489 done
6490   done
6491 IFS=$as_save_IFS
6492
6493 fi
6494 fi
6495 LIPO=$ac_cv_prog_LIPO
6496 if test -n "$LIPO"; then
6497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6498 $as_echo "$LIPO" >&6; }
6499 else
6500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6501 $as_echo "no" >&6; }
6502 fi
6503
6504
6505 fi
6506 if test -z "$ac_cv_prog_LIPO"; then
6507   ac_ct_LIPO=$LIPO
6508   # Extract the first word of "lipo", so it can be a program name with args.
6509 set dummy lipo; ac_word=$2
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6511 $as_echo_n "checking for $ac_word... " >&6; }
6512 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6513   $as_echo_n "(cached) " >&6
6514 else
6515   if test -n "$ac_ct_LIPO"; then
6516   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6517 else
6518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6519 for as_dir in $PATH
6520 do
6521   IFS=$as_save_IFS
6522   test -z "$as_dir" && as_dir=.
6523     for ac_exec_ext in '' $ac_executable_extensions; do
6524   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6525     ac_cv_prog_ac_ct_LIPO="lipo"
6526     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6527     break 2
6528   fi
6529 done
6530   done
6531 IFS=$as_save_IFS
6532
6533 fi
6534 fi
6535 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6536 if test -n "$ac_ct_LIPO"; then
6537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6538 $as_echo "$ac_ct_LIPO" >&6; }
6539 else
6540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6541 $as_echo "no" >&6; }
6542 fi
6543
6544   if test "x$ac_ct_LIPO" = x; then
6545     LIPO=":"
6546   else
6547     case $cross_compiling:$ac_tool_warned in
6548 yes:)
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6550 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6551 ac_tool_warned=yes ;;
6552 esac
6553     LIPO=$ac_ct_LIPO
6554   fi
6555 else
6556   LIPO="$ac_cv_prog_LIPO"
6557 fi
6558
6559     if test -n "$ac_tool_prefix"; then
6560   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6561 set dummy ${ac_tool_prefix}otool; ac_word=$2
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6563 $as_echo_n "checking for $ac_word... " >&6; }
6564 if ${ac_cv_prog_OTOOL+:} false; then :
6565   $as_echo_n "(cached) " >&6
6566 else
6567   if test -n "$OTOOL"; then
6568   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6569 else
6570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6571 for as_dir in $PATH
6572 do
6573   IFS=$as_save_IFS
6574   test -z "$as_dir" && as_dir=.
6575     for ac_exec_ext in '' $ac_executable_extensions; do
6576   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6577     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6578     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6579     break 2
6580   fi
6581 done
6582   done
6583 IFS=$as_save_IFS
6584
6585 fi
6586 fi
6587 OTOOL=$ac_cv_prog_OTOOL
6588 if test -n "$OTOOL"; then
6589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6590 $as_echo "$OTOOL" >&6; }
6591 else
6592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6593 $as_echo "no" >&6; }
6594 fi
6595
6596
6597 fi
6598 if test -z "$ac_cv_prog_OTOOL"; then
6599   ac_ct_OTOOL=$OTOOL
6600   # Extract the first word of "otool", so it can be a program name with args.
6601 set dummy otool; ac_word=$2
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6603 $as_echo_n "checking for $ac_word... " >&6; }
6604 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6605   $as_echo_n "(cached) " >&6
6606 else
6607   if test -n "$ac_ct_OTOOL"; then
6608   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6609 else
6610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6611 for as_dir in $PATH
6612 do
6613   IFS=$as_save_IFS
6614   test -z "$as_dir" && as_dir=.
6615     for ac_exec_ext in '' $ac_executable_extensions; do
6616   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6617     ac_cv_prog_ac_ct_OTOOL="otool"
6618     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6619     break 2
6620   fi
6621 done
6622   done
6623 IFS=$as_save_IFS
6624
6625 fi
6626 fi
6627 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6628 if test -n "$ac_ct_OTOOL"; then
6629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6630 $as_echo "$ac_ct_OTOOL" >&6; }
6631 else
6632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6633 $as_echo "no" >&6; }
6634 fi
6635
6636   if test "x$ac_ct_OTOOL" = x; then
6637     OTOOL=":"
6638   else
6639     case $cross_compiling:$ac_tool_warned in
6640 yes:)
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6642 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6643 ac_tool_warned=yes ;;
6644 esac
6645     OTOOL=$ac_ct_OTOOL
6646   fi
6647 else
6648   OTOOL="$ac_cv_prog_OTOOL"
6649 fi
6650
6651     if test -n "$ac_tool_prefix"; then
6652   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6653 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6655 $as_echo_n "checking for $ac_word... " >&6; }
6656 if ${ac_cv_prog_OTOOL64+:} false; then :
6657   $as_echo_n "(cached) " >&6
6658 else
6659   if test -n "$OTOOL64"; then
6660   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6661 else
6662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6663 for as_dir in $PATH
6664 do
6665   IFS=$as_save_IFS
6666   test -z "$as_dir" && as_dir=.
6667     for ac_exec_ext in '' $ac_executable_extensions; do
6668   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6669     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6670     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6671     break 2
6672   fi
6673 done
6674   done
6675 IFS=$as_save_IFS
6676
6677 fi
6678 fi
6679 OTOOL64=$ac_cv_prog_OTOOL64
6680 if test -n "$OTOOL64"; then
6681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6682 $as_echo "$OTOOL64" >&6; }
6683 else
6684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6685 $as_echo "no" >&6; }
6686 fi
6687
6688
6689 fi
6690 if test -z "$ac_cv_prog_OTOOL64"; then
6691   ac_ct_OTOOL64=$OTOOL64
6692   # Extract the first word of "otool64", so it can be a program name with args.
6693 set dummy otool64; ac_word=$2
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6695 $as_echo_n "checking for $ac_word... " >&6; }
6696 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6697   $as_echo_n "(cached) " >&6
6698 else
6699   if test -n "$ac_ct_OTOOL64"; then
6700   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6701 else
6702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6703 for as_dir in $PATH
6704 do
6705   IFS=$as_save_IFS
6706   test -z "$as_dir" && as_dir=.
6707     for ac_exec_ext in '' $ac_executable_extensions; do
6708   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6709     ac_cv_prog_ac_ct_OTOOL64="otool64"
6710     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6711     break 2
6712   fi
6713 done
6714   done
6715 IFS=$as_save_IFS
6716
6717 fi
6718 fi
6719 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6720 if test -n "$ac_ct_OTOOL64"; then
6721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6722 $as_echo "$ac_ct_OTOOL64" >&6; }
6723 else
6724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6725 $as_echo "no" >&6; }
6726 fi
6727
6728   if test "x$ac_ct_OTOOL64" = x; then
6729     OTOOL64=":"
6730   else
6731     case $cross_compiling:$ac_tool_warned in
6732 yes:)
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6734 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6735 ac_tool_warned=yes ;;
6736 esac
6737     OTOOL64=$ac_ct_OTOOL64
6738   fi
6739 else
6740   OTOOL64="$ac_cv_prog_OTOOL64"
6741 fi
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6770 $as_echo_n "checking for -single_module linker flag... " >&6; }
6771 if ${lt_cv_apple_cc_single_mod+:} false; then :
6772   $as_echo_n "(cached) " >&6
6773 else
6774   lt_cv_apple_cc_single_mod=no
6775       if test -z "${LT_MULTI_MODULE}"; then
6776         # By default we will add the -single_module flag. You can override
6777         # by either setting the environment variable LT_MULTI_MODULE
6778         # non-empty at configure time, or by adding -multi_module to the
6779         # link flags.
6780         rm -rf libconftest.dylib*
6781         echo "int foo(void){return 1;}" > conftest.c
6782         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6783 -dynamiclib -Wl,-single_module conftest.c" >&5
6784         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6785           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6786         _lt_result=$?
6787         # If there is a non-empty error log, and "single_module"
6788         # appears in it, assume the flag caused a linker warning
6789         if test -s conftest.err && $GREP single_module conftest.err; then
6790           cat conftest.err >&5
6791         # Otherwise, if the output was created with a 0 exit code from
6792         # the compiler, it worked.
6793         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
6794           lt_cv_apple_cc_single_mod=yes
6795         else
6796           cat conftest.err >&5
6797         fi
6798         rm -rf libconftest.dylib*
6799         rm -f conftest.*
6800       fi
6801 fi
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6803 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6804
6805     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6806 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6807 if ${lt_cv_ld_exported_symbols_list+:} false; then :
6808   $as_echo_n "(cached) " >&6
6809 else
6810   lt_cv_ld_exported_symbols_list=no
6811       save_LDFLAGS=$LDFLAGS
6812       echo "_main" > conftest.sym
6813       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6814       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6815 /* end confdefs.h.  */
6816
6817 int
6818 main ()
6819 {
6820
6821   ;
6822   return 0;
6823 }
6824 _ACEOF
6825 if ac_fn_c_try_link "$LINENO"; then :
6826   lt_cv_ld_exported_symbols_list=yes
6827 else
6828   lt_cv_ld_exported_symbols_list=no
6829 fi
6830 rm -f core conftest.err conftest.$ac_objext \
6831     conftest$ac_exeext conftest.$ac_ext
6832         LDFLAGS="$save_LDFLAGS"
6833
6834 fi
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6836 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6837
6838     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6839 $as_echo_n "checking for -force_load linker flag... " >&6; }
6840 if ${lt_cv_ld_force_load+:} false; then :
6841   $as_echo_n "(cached) " >&6
6842 else
6843   lt_cv_ld_force_load=no
6844       cat > conftest.c << _LT_EOF
6845 int forced_loaded() { return 2;}
6846 _LT_EOF
6847       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6848       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6849       echo "$AR cru libconftest.a conftest.o" >&5
6850       $AR cru libconftest.a conftest.o 2>&5
6851       echo "$RANLIB libconftest.a" >&5
6852       $RANLIB libconftest.a 2>&5
6853       cat > conftest.c << _LT_EOF
6854 int main() { return 0;}
6855 _LT_EOF
6856       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6857       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6858       _lt_result=$?
6859       if test -s conftest.err && $GREP force_load conftest.err; then
6860         cat conftest.err >&5
6861       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
6862         lt_cv_ld_force_load=yes
6863       else
6864         cat conftest.err >&5
6865       fi
6866         rm -f conftest.err libconftest.a conftest conftest.c
6867         rm -rf conftest.dSYM
6868
6869 fi
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
6871 $as_echo "$lt_cv_ld_force_load" >&6; }
6872     case $host_os in
6873     rhapsody* | darwin1.[012])
6874       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6875     darwin1.*)
6876       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6877     darwin*) # darwin 5.x on
6878       # if running on 10.5 or later, the deployment target defaults
6879       # to the OS version, if on x86, and 10.4, the deployment
6880       # target defaults to 10.4. Don't you love it?
6881       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6882         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6883           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6884         10.[012]*)
6885           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6886         10.*)
6887           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6888       esac
6889     ;;
6890   esac
6891     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6892       _lt_dar_single_mod='$single_module'
6893     fi
6894     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6895       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6896     else
6897       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6898     fi
6899     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
6900       _lt_dsymutil='~$DSYMUTIL $lib || :'
6901     else
6902       _lt_dsymutil=
6903     fi
6904     ;;
6905   esac
6906
6907 ac_ext=c
6908 ac_cpp='$CPP $CPPFLAGS'
6909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6913 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6914 # On Suns, sometimes $CPP names a directory.
6915 if test -n "$CPP" && test -d "$CPP"; then
6916   CPP=
6917 fi
6918 if test -z "$CPP"; then
6919   if ${ac_cv_prog_CPP+:} false; then :
6920   $as_echo_n "(cached) " >&6
6921 else
6922       # Double quotes because CPP needs to be expanded
6923     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6924     do
6925       ac_preproc_ok=false
6926 for ac_c_preproc_warn_flag in '' yes
6927 do
6928   # Use a header file that comes with gcc, so configuring glibc
6929   # with a fresh cross-compiler works.
6930   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6931   # <limits.h> exists even on freestanding compilers.
6932   # On the NeXT, cc -E runs the code through the compiler's parser,
6933   # not just through cpp. "Syntax error" is here to catch this case.
6934   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6935 /* end confdefs.h.  */
6936 #ifdef __STDC__
6937 # include <limits.h>
6938 #else
6939 # include <assert.h>
6940 #endif
6941                      Syntax error
6942 _ACEOF
6943 if ac_fn_c_try_cpp "$LINENO"; then :
6944
6945 else
6946   # Broken: fails on valid input.
6947 continue
6948 fi
6949 rm -f conftest.err conftest.i conftest.$ac_ext
6950
6951   # OK, works on sane cases.  Now check whether nonexistent headers
6952   # can be detected and how.
6953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6954 /* end confdefs.h.  */
6955 #include <ac_nonexistent.h>
6956 _ACEOF
6957 if ac_fn_c_try_cpp "$LINENO"; then :
6958   # Broken: success on invalid input.
6959 continue
6960 else
6961   # Passes both tests.
6962 ac_preproc_ok=:
6963 break
6964 fi
6965 rm -f conftest.err conftest.i conftest.$ac_ext
6966
6967 done
6968 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6969 rm -f conftest.i conftest.err conftest.$ac_ext
6970 if $ac_preproc_ok; then :
6971   break
6972 fi
6973
6974     done
6975     ac_cv_prog_CPP=$CPP
6976
6977 fi
6978   CPP=$ac_cv_prog_CPP
6979 else
6980   ac_cv_prog_CPP=$CPP
6981 fi
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6983 $as_echo "$CPP" >&6; }
6984 ac_preproc_ok=false
6985 for ac_c_preproc_warn_flag in '' yes
6986 do
6987   # Use a header file that comes with gcc, so configuring glibc
6988   # with a fresh cross-compiler works.
6989   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6990   # <limits.h> exists even on freestanding compilers.
6991   # On the NeXT, cc -E runs the code through the compiler's parser,
6992   # not just through cpp. "Syntax error" is here to catch this case.
6993   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6994 /* end confdefs.h.  */
6995 #ifdef __STDC__
6996 # include <limits.h>
6997 #else
6998 # include <assert.h>
6999 #endif
7000                      Syntax error
7001 _ACEOF
7002 if ac_fn_c_try_cpp "$LINENO"; then :
7003
7004 else
7005   # Broken: fails on valid input.
7006 continue
7007 fi
7008 rm -f conftest.err conftest.i conftest.$ac_ext
7009
7010   # OK, works on sane cases.  Now check whether nonexistent headers
7011   # can be detected and how.
7012   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7013 /* end confdefs.h.  */
7014 #include <ac_nonexistent.h>
7015 _ACEOF
7016 if ac_fn_c_try_cpp "$LINENO"; then :
7017   # Broken: success on invalid input.
7018 continue
7019 else
7020   # Passes both tests.
7021 ac_preproc_ok=:
7022 break
7023 fi
7024 rm -f conftest.err conftest.i conftest.$ac_ext
7025
7026 done
7027 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7028 rm -f conftest.i conftest.err conftest.$ac_ext
7029 if $ac_preproc_ok; then :
7030
7031 else
7032   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7033 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7034 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7035 See \`config.log' for more details" "$LINENO" 5; }
7036 fi
7037
7038 ac_ext=c
7039 ac_cpp='$CPP $CPPFLAGS'
7040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7043
7044
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7046 $as_echo_n "checking for ANSI C header files... " >&6; }
7047 if ${ac_cv_header_stdc+:} false; then :
7048   $as_echo_n "(cached) " >&6
7049 else
7050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7051 /* end confdefs.h.  */
7052 #include <stdlib.h>
7053 #include <stdarg.h>
7054 #include <string.h>
7055 #include <float.h>
7056
7057 int
7058 main ()
7059 {
7060
7061   ;
7062   return 0;
7063 }
7064 _ACEOF
7065 if ac_fn_c_try_compile "$LINENO"; then :
7066   ac_cv_header_stdc=yes
7067 else
7068   ac_cv_header_stdc=no
7069 fi
7070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7071
7072 if test $ac_cv_header_stdc = yes; then
7073   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7075 /* end confdefs.h.  */
7076 #include <string.h>
7077
7078 _ACEOF
7079 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7080   $EGREP "memchr" >/dev/null 2>&1; then :
7081
7082 else
7083   ac_cv_header_stdc=no
7084 fi
7085 rm -f conftest*
7086
7087 fi
7088
7089 if test $ac_cv_header_stdc = yes; then
7090   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7092 /* end confdefs.h.  */
7093 #include <stdlib.h>
7094
7095 _ACEOF
7096 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7097   $EGREP "free" >/dev/null 2>&1; then :
7098
7099 else
7100   ac_cv_header_stdc=no
7101 fi
7102 rm -f conftest*
7103
7104 fi
7105
7106 if test $ac_cv_header_stdc = yes; then
7107   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7108   if test "$cross_compiling" = yes; then :
7109   :
7110 else
7111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7112 /* end confdefs.h.  */
7113 #include <ctype.h>
7114 #include <stdlib.h>
7115 #if ((' ' & 0x0FF) == 0x020)
7116 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7117 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7118 #else
7119 # define ISLOWER(c) \
7120                    (('a' <= (c) && (c) <= 'i') \
7121                      || ('j' <= (c) && (c) <= 'r') \
7122                      || ('s' <= (c) && (c) <= 'z'))
7123 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7124 #endif
7125
7126 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7127 int
7128 main ()
7129 {
7130   int i;
7131   for (i = 0; i < 256; i++)
7132     if (XOR (islower (i), ISLOWER (i))
7133         || toupper (i) != TOUPPER (i))
7134       return 2;
7135   return 0;
7136 }
7137 _ACEOF
7138 if ac_fn_c_try_run "$LINENO"; then :
7139
7140 else
7141   ac_cv_header_stdc=no
7142 fi
7143 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7144   conftest.$ac_objext conftest.beam conftest.$ac_ext
7145 fi
7146
7147 fi
7148 fi
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7150 $as_echo "$ac_cv_header_stdc" >&6; }
7151 if test $ac_cv_header_stdc = yes; then
7152
7153 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7154
7155 fi
7156
7157 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7158 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7159                   inttypes.h stdint.h unistd.h
7160 do :
7161   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7162 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7163 "
7164 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7165   cat >>confdefs.h <<_ACEOF
7166 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7167 _ACEOF
7168
7169 fi
7170
7171 done
7172
7173
7174 for ac_header in dlfcn.h
7175 do :
7176   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7177 "
7178 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7179   cat >>confdefs.h <<_ACEOF
7180 #define HAVE_DLFCN_H 1
7181 _ACEOF
7182
7183 fi
7184
7185 done
7186
7187
7188
7189
7190
7191 # Set options
7192
7193
7194
7195         enable_dlopen=no
7196
7197
7198   enable_win32_dll=no
7199
7200
7201             # Check whether --enable-shared was given.
7202 if test "${enable_shared+set}" = set; then :
7203   enableval=$enable_shared; p=${PACKAGE-default}
7204     case $enableval in
7205     yes) enable_shared=yes ;;
7206     no) enable_shared=no ;;
7207     *)
7208       enable_shared=no
7209       # Look at the argument we got.  We use all the common list separators.
7210       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7211       for pkg in $enableval; do
7212         IFS="$lt_save_ifs"
7213         if test "X$pkg" = "X$p"; then
7214           enable_shared=yes
7215         fi
7216       done
7217       IFS="$lt_save_ifs"
7218       ;;
7219     esac
7220 else
7221   enable_shared=yes
7222 fi
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232   # Check whether --enable-static was given.
7233 if test "${enable_static+set}" = set; then :
7234   enableval=$enable_static; p=${PACKAGE-default}
7235     case $enableval in
7236     yes) enable_static=yes ;;
7237     no) enable_static=no ;;
7238     *)
7239      enable_static=no
7240       # Look at the argument we got.  We use all the common list separators.
7241       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7242       for pkg in $enableval; do
7243         IFS="$lt_save_ifs"
7244         if test "X$pkg" = "X$p"; then
7245           enable_static=yes
7246         fi
7247       done
7248       IFS="$lt_save_ifs"
7249       ;;
7250     esac
7251 else
7252   enable_static=yes
7253 fi
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264 # Check whether --with-pic was given.
7265 if test "${with_pic+set}" = set; then :
7266   withval=$with_pic; lt_p=${PACKAGE-default}
7267     case $withval in
7268     yes|no) pic_mode=$withval ;;
7269     *)
7270       pic_mode=default
7271       # Look at the argument we got.  We use all the common list separators.
7272       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7273       for lt_pkg in $withval; do
7274         IFS="$lt_save_ifs"
7275         if test "X$lt_pkg" = "X$lt_p"; then
7276           pic_mode=yes
7277         fi
7278       done
7279       IFS="$lt_save_ifs"
7280       ;;
7281     esac
7282 else
7283   pic_mode=default
7284 fi
7285
7286
7287 test -z "$pic_mode" && pic_mode=default
7288
7289
7290
7291
7292
7293
7294
7295   # Check whether --enable-fast-install was given.
7296 if test "${enable_fast_install+set}" = set; then :
7297   enableval=$enable_fast_install; p=${PACKAGE-default}
7298     case $enableval in
7299     yes) enable_fast_install=yes ;;
7300     no) enable_fast_install=no ;;
7301     *)
7302       enable_fast_install=no
7303       # Look at the argument we got.  We use all the common list separators.
7304       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7305       for pkg in $enableval; do
7306         IFS="$lt_save_ifs"
7307         if test "X$pkg" = "X$p"; then
7308           enable_fast_install=yes
7309         fi
7310       done
7311       IFS="$lt_save_ifs"
7312       ;;
7313     esac
7314 else
7315   enable_fast_install=yes
7316 fi
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328 # This can be used to rebuild libtool when needed
7329 LIBTOOL_DEPS="$ltmain"
7330
7331 # Always use our own libtool.
7332 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363 test -z "$LN_S" && LN_S="ln -s"
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378 if test -n "${ZSH_VERSION+set}" ; then
7379    setopt NO_GLOB_SUBST
7380 fi
7381
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7383 $as_echo_n "checking for objdir... " >&6; }
7384 if ${lt_cv_objdir+:} false; then :
7385   $as_echo_n "(cached) " >&6
7386 else
7387   rm -f .libs 2>/dev/null
7388 mkdir .libs 2>/dev/null
7389 if test -d .libs; then
7390   lt_cv_objdir=.libs
7391 else
7392   # MS-DOS does not allow filenames that begin with a dot.
7393   lt_cv_objdir=_libs
7394 fi
7395 rmdir .libs 2>/dev/null
7396 fi
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7398 $as_echo "$lt_cv_objdir" >&6; }
7399 objdir=$lt_cv_objdir
7400
7401
7402
7403
7404
7405 cat >>confdefs.h <<_ACEOF
7406 #define LT_OBJDIR "$lt_cv_objdir/"
7407 _ACEOF
7408
7409
7410
7411
7412 case $host_os in
7413 aix3*)
7414   # AIX sometimes has problems with the GCC collect2 program.  For some
7415   # reason, if we set the COLLECT_NAMES environment variable, the problems
7416   # vanish in a puff of smoke.
7417   if test "X${COLLECT_NAMES+set}" != Xset; then
7418     COLLECT_NAMES=
7419     export COLLECT_NAMES
7420   fi
7421   ;;
7422 esac
7423
7424 # Global variables:
7425 ofile=libtool
7426 can_build_shared=yes
7427
7428 # All known linkers require a `.a' archive for static linking (except MSVC,
7429 # which needs '.lib').
7430 libext=a
7431
7432 with_gnu_ld="$lt_cv_prog_gnu_ld"
7433
7434 old_CC="$CC"
7435 old_CFLAGS="$CFLAGS"
7436
7437 # Set sane defaults for various variables
7438 test -z "$CC" && CC=cc
7439 test -z "$LTCC" && LTCC=$CC
7440 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7441 test -z "$LD" && LD=ld
7442 test -z "$ac_objext" && ac_objext=o
7443
7444 for cc_temp in $compiler""; do
7445   case $cc_temp in
7446     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7447     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7448     \-*) ;;
7449     *) break;;
7450   esac
7451 done
7452 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7453
7454
7455 # Only perform the check for file, if the check method requires it
7456 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7457 case $deplibs_check_method in
7458 file_magic*)
7459   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7460     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7461 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7462 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7463   $as_echo_n "(cached) " >&6
7464 else
7465   case $MAGIC_CMD in
7466 [\\/*] |  ?:[\\/]*)
7467   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7468   ;;
7469 *)
7470   lt_save_MAGIC_CMD="$MAGIC_CMD"
7471   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7472   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7473   for ac_dir in $ac_dummy; do
7474     IFS="$lt_save_ifs"
7475     test -z "$ac_dir" && ac_dir=.
7476     if test -f $ac_dir/${ac_tool_prefix}file; then
7477       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7478       if test -n "$file_magic_test_file"; then
7479         case $deplibs_check_method in
7480         "file_magic "*)
7481           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7482           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7483           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7484             $EGREP "$file_magic_regex" > /dev/null; then
7485             :
7486           else
7487             cat <<_LT_EOF 1>&2
7488
7489 *** Warning: the command libtool uses to detect shared libraries,
7490 *** $file_magic_cmd, produces output that libtool cannot recognize.
7491 *** The result is that libtool may fail to recognize shared libraries
7492 *** as such.  This will affect the creation of libtool libraries that
7493 *** depend on shared libraries, but programs linked with such libtool
7494 *** libraries will work regardless of this problem.  Nevertheless, you
7495 *** may want to report the problem to your system manager and/or to
7496 *** bug-libtool@gnu.org
7497
7498 _LT_EOF
7499           fi ;;
7500         esac
7501       fi
7502       break
7503     fi
7504   done
7505   IFS="$lt_save_ifs"
7506   MAGIC_CMD="$lt_save_MAGIC_CMD"
7507   ;;
7508 esac
7509 fi
7510
7511 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7512 if test -n "$MAGIC_CMD"; then
7513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7514 $as_echo "$MAGIC_CMD" >&6; }
7515 else
7516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7517 $as_echo "no" >&6; }
7518 fi
7519
7520
7521
7522
7523
7524 if test -z "$lt_cv_path_MAGIC_CMD"; then
7525   if test -n "$ac_tool_prefix"; then
7526     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7527 $as_echo_n "checking for file... " >&6; }
7528 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7529   $as_echo_n "(cached) " >&6
7530 else
7531   case $MAGIC_CMD in
7532 [\\/*] |  ?:[\\/]*)
7533   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7534   ;;
7535 *)
7536   lt_save_MAGIC_CMD="$MAGIC_CMD"
7537   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7538   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7539   for ac_dir in $ac_dummy; do
7540     IFS="$lt_save_ifs"
7541     test -z "$ac_dir" && ac_dir=.
7542     if test -f $ac_dir/file; then
7543       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7544       if test -n "$file_magic_test_file"; then
7545         case $deplibs_check_method in
7546         "file_magic "*)
7547           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7548           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7549           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7550             $EGREP "$file_magic_regex" > /dev/null; then
7551             :
7552           else
7553             cat <<_LT_EOF 1>&2
7554
7555 *** Warning: the command libtool uses to detect shared libraries,
7556 *** $file_magic_cmd, produces output that libtool cannot recognize.
7557 *** The result is that libtool may fail to recognize shared libraries
7558 *** as such.  This will affect the creation of libtool libraries that
7559 *** depend on shared libraries, but programs linked with such libtool
7560 *** libraries will work regardless of this problem.  Nevertheless, you
7561 *** may want to report the problem to your system manager and/or to
7562 *** bug-libtool@gnu.org
7563
7564 _LT_EOF
7565           fi ;;
7566         esac
7567       fi
7568       break
7569     fi
7570   done
7571   IFS="$lt_save_ifs"
7572   MAGIC_CMD="$lt_save_MAGIC_CMD"
7573   ;;
7574 esac
7575 fi
7576
7577 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7578 if test -n "$MAGIC_CMD"; then
7579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7580 $as_echo "$MAGIC_CMD" >&6; }
7581 else
7582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7583 $as_echo "no" >&6; }
7584 fi
7585
7586
7587   else
7588     MAGIC_CMD=:
7589   fi
7590 fi
7591
7592   fi
7593   ;;
7594 esac
7595
7596 # Use C for the default configuration in the libtool script
7597
7598 lt_save_CC="$CC"
7599 ac_ext=c
7600 ac_cpp='$CPP $CPPFLAGS'
7601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7604
7605
7606 # Source file extension for C test sources.
7607 ac_ext=c
7608
7609 # Object file extension for compiled C test sources.
7610 objext=o
7611 objext=$objext
7612
7613 # Code to be used in simple compile tests
7614 lt_simple_compile_test_code="int some_variable = 0;"
7615
7616 # Code to be used in simple link tests
7617 lt_simple_link_test_code='int main(){return(0);}'
7618
7619
7620
7621
7622
7623
7624
7625 # If no C compiler was specified, use CC.
7626 LTCC=${LTCC-"$CC"}
7627
7628 # If no C compiler flags were specified, use CFLAGS.
7629 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7630
7631 # Allow CC to be a program name with arguments.
7632 compiler=$CC
7633
7634 # Save the default compiler, since it gets overwritten when the other
7635 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7636 compiler_DEFAULT=$CC
7637
7638 # save warnings/boilerplate of simple test code
7639 ac_outfile=conftest.$ac_objext
7640 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7641 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7642 _lt_compiler_boilerplate=`cat conftest.err`
7643 $RM conftest*
7644
7645 ac_outfile=conftest.$ac_objext
7646 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7647 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7648 _lt_linker_boilerplate=`cat conftest.err`
7649 $RM -r conftest*
7650
7651
7652 ## CAVEAT EMPTOR:
7653 ## There is no encapsulation within the following macros, do not change
7654 ## the running order or otherwise move them around unless you know exactly
7655 ## what you are doing...
7656 if test -n "$compiler"; then
7657
7658 lt_prog_compiler_no_builtin_flag=
7659
7660 if test "$GCC" = yes; then
7661   case $cc_basename in
7662   nvcc*)
7663     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7664   *)
7665     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7666   esac
7667
7668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7669 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7670 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7671   $as_echo_n "(cached) " >&6
7672 else
7673   lt_cv_prog_compiler_rtti_exceptions=no
7674    ac_outfile=conftest.$ac_objext
7675    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7676    lt_compiler_flag="-fno-rtti -fno-exceptions"
7677    # Insert the option either (1) after the last *FLAGS variable, or
7678    # (2) before a word containing "conftest.", or (3) at the end.
7679    # Note that $ac_compile itself does not contain backslashes and begins
7680    # with a dollar sign (not a hyphen), so the echo should work correctly.
7681    # The option is referenced via a variable to avoid confusing sed.
7682    lt_compile=`echo "$ac_compile" | $SED \
7683    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7684    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7685    -e 's:$: $lt_compiler_flag:'`
7686    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7687    (eval "$lt_compile" 2>conftest.err)
7688    ac_status=$?
7689    cat conftest.err >&5
7690    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7691    if (exit $ac_status) && test -s "$ac_outfile"; then
7692      # The compiler can only warn and ignore the option if not recognized
7693      # So say no if there are warnings other than the usual output.
7694      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7695      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7696      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7697        lt_cv_prog_compiler_rtti_exceptions=yes
7698      fi
7699    fi
7700    $RM conftest*
7701
7702 fi
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7704 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7705
7706 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7707     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7708 else
7709     :
7710 fi
7711
7712 fi
7713
7714
7715
7716
7717
7718
7719   lt_prog_compiler_wl=
7720 lt_prog_compiler_pic=
7721 lt_prog_compiler_static=
7722
7723
7724   if test "$GCC" = yes; then
7725     lt_prog_compiler_wl='-Wl,'
7726     lt_prog_compiler_static='-static'
7727
7728     case $host_os in
7729       aix*)
7730       # All AIX code is PIC.
7731       if test "$host_cpu" = ia64; then
7732         # AIX 5 now supports IA64 processor
7733         lt_prog_compiler_static='-Bstatic'
7734       fi
7735       ;;
7736
7737     amigaos*)
7738       case $host_cpu in
7739       powerpc)
7740             # see comment about AmigaOS4 .so support
7741             lt_prog_compiler_pic='-fPIC'
7742         ;;
7743       m68k)
7744             # FIXME: we need at least 68020 code to build shared libraries, but
7745             # adding the `-m68020' flag to GCC prevents building anything better,
7746             # like `-m68040'.
7747             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7748         ;;
7749       esac
7750       ;;
7751
7752     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7753       # PIC is the default for these OSes.
7754       ;;
7755
7756     mingw* | cygwin* | pw32* | os2* | cegcc*)
7757       # This hack is so that the source file can tell whether it is being
7758       # built for inclusion in a dll (and should export symbols for example).
7759       # Although the cygwin gcc ignores -fPIC, still need this for old-style
7760       # (--disable-auto-import) libraries
7761       lt_prog_compiler_pic='-DDLL_EXPORT'
7762       ;;
7763
7764     darwin* | rhapsody*)
7765       # PIC is the default on this platform
7766       # Common symbols not allowed in MH_DYLIB files
7767       lt_prog_compiler_pic='-fno-common'
7768       ;;
7769
7770     haiku*)
7771       # PIC is the default for Haiku.
7772       # The "-static" flag exists, but is broken.
7773       lt_prog_compiler_static=
7774       ;;
7775
7776     hpux*)
7777       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7778       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7779       # sets the default TLS model and affects inlining.
7780       case $host_cpu in
7781       hppa*64*)
7782         # +Z the default
7783         ;;
7784       *)
7785         lt_prog_compiler_pic='-fPIC'
7786         ;;
7787       esac
7788       ;;
7789
7790     interix[3-9]*)
7791       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7792       # Instead, we relocate shared libraries at runtime.
7793       ;;
7794
7795     msdosdjgpp*)
7796       # Just because we use GCC doesn't mean we suddenly get shared libraries
7797       # on systems that don't support them.
7798       lt_prog_compiler_can_build_shared=no
7799       enable_shared=no
7800       ;;
7801
7802     *nto* | *qnx*)
7803       # QNX uses GNU C++, but need to define -shared option too, otherwise
7804       # it will coredump.
7805       lt_prog_compiler_pic='-fPIC -shared'
7806       ;;
7807
7808     sysv4*MP*)
7809       if test -d /usr/nec; then
7810         lt_prog_compiler_pic=-Kconform_pic
7811       fi
7812       ;;
7813
7814     *)
7815       lt_prog_compiler_pic='-fPIC'
7816       ;;
7817     esac
7818
7819     case $cc_basename in
7820     nvcc*) # Cuda Compiler Driver 2.2
7821       lt_prog_compiler_wl='-Xlinker '
7822       if test -n "$lt_prog_compiler_pic"; then
7823         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
7824       fi
7825       ;;
7826     esac
7827   else
7828     # PORTME Check for flag to pass linker flags through the system compiler.
7829     case $host_os in
7830     aix*)
7831       lt_prog_compiler_wl='-Wl,'
7832       if test "$host_cpu" = ia64; then
7833         # AIX 5 now supports IA64 processor
7834         lt_prog_compiler_static='-Bstatic'
7835       else
7836         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7837       fi
7838       ;;
7839
7840     mingw* | cygwin* | pw32* | os2* | cegcc*)
7841       # This hack is so that the source file can tell whether it is being
7842       # built for inclusion in a dll (and should export symbols for example).
7843       lt_prog_compiler_pic='-DDLL_EXPORT'
7844       ;;
7845
7846     hpux9* | hpux10* | hpux11*)
7847       lt_prog_compiler_wl='-Wl,'
7848       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7849       # not for PA HP-UX.
7850       case $host_cpu in
7851       hppa*64*|ia64*)
7852         # +Z the default
7853         ;;
7854       *)
7855         lt_prog_compiler_pic='+Z'
7856         ;;
7857       esac
7858       # Is there a better lt_prog_compiler_static that works with the bundled CC?
7859       lt_prog_compiler_static='${wl}-a ${wl}archive'
7860       ;;
7861
7862     irix5* | irix6* | nonstopux*)
7863       lt_prog_compiler_wl='-Wl,'
7864       # PIC (with -KPIC) is the default.
7865       lt_prog_compiler_static='-non_shared'
7866       ;;
7867
7868     linux* | k*bsd*-gnu | kopensolaris*-gnu)
7869       case $cc_basename in
7870       # old Intel for x86_64 which still supported -KPIC.
7871       ecc*)
7872         lt_prog_compiler_wl='-Wl,'
7873         lt_prog_compiler_pic='-KPIC'
7874         lt_prog_compiler_static='-static'
7875         ;;
7876       # icc used to be incompatible with GCC.
7877       # ICC 10 doesn't accept -KPIC any more.
7878       icc* | ifort*)
7879         lt_prog_compiler_wl='-Wl,'
7880         lt_prog_compiler_pic='-fPIC'
7881         lt_prog_compiler_static='-static'
7882         ;;
7883       # Lahey Fortran 8.1.
7884       lf95*)
7885         lt_prog_compiler_wl='-Wl,'
7886         lt_prog_compiler_pic='--shared'
7887         lt_prog_compiler_static='--static'
7888         ;;
7889       nagfor*)
7890         # NAG Fortran compiler
7891         lt_prog_compiler_wl='-Wl,-Wl,,'
7892         lt_prog_compiler_pic='-PIC'
7893         lt_prog_compiler_static='-Bstatic'
7894         ;;
7895       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7896         # Portland Group compilers (*not* the Pentium gcc compiler,
7897         # which looks to be a dead project)
7898         lt_prog_compiler_wl='-Wl,'
7899         lt_prog_compiler_pic='-fpic'
7900         lt_prog_compiler_static='-Bstatic'
7901         ;;
7902       ccc*)
7903         lt_prog_compiler_wl='-Wl,'
7904         # All Alpha code is PIC.
7905         lt_prog_compiler_static='-non_shared'
7906         ;;
7907       xl* | bgxl* | bgf* | mpixl*)
7908         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7909         lt_prog_compiler_wl='-Wl,'
7910         lt_prog_compiler_pic='-qpic'
7911         lt_prog_compiler_static='-qstaticlink'
7912         ;;
7913       *)
7914         case `$CC -V 2>&1 | sed 5q` in
7915         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
7916           # Sun Fortran 8.3 passes all unrecognized flags to the linker
7917           lt_prog_compiler_pic='-KPIC'
7918           lt_prog_compiler_static='-Bstatic'
7919           lt_prog_compiler_wl=''
7920           ;;
7921         *Sun\ F* | *Sun*Fortran*)
7922           lt_prog_compiler_pic='-KPIC'
7923           lt_prog_compiler_static='-Bstatic'
7924           lt_prog_compiler_wl='-Qoption ld '
7925           ;;
7926         *Sun\ C*)
7927           # Sun C 5.9
7928           lt_prog_compiler_pic='-KPIC'
7929           lt_prog_compiler_static='-Bstatic'
7930           lt_prog_compiler_wl='-Wl,'
7931           ;;
7932         *Intel*\ [CF]*Compiler*)
7933           lt_prog_compiler_wl='-Wl,'
7934           lt_prog_compiler_pic='-fPIC'
7935           lt_prog_compiler_static='-static'
7936           ;;
7937         *Portland\ Group*)
7938           lt_prog_compiler_wl='-Wl,'
7939           lt_prog_compiler_pic='-fpic'
7940           lt_prog_compiler_static='-Bstatic'
7941           ;;
7942         esac
7943         ;;
7944       esac
7945       ;;
7946
7947     newsos6)
7948       lt_prog_compiler_pic='-KPIC'
7949       lt_prog_compiler_static='-Bstatic'
7950       ;;
7951
7952     *nto* | *qnx*)
7953       # QNX uses GNU C++, but need to define -shared option too, otherwise
7954       # it will coredump.
7955       lt_prog_compiler_pic='-fPIC -shared'
7956       ;;
7957
7958     osf3* | osf4* | osf5*)
7959       lt_prog_compiler_wl='-Wl,'
7960       # All OSF/1 code is PIC.
7961       lt_prog_compiler_static='-non_shared'
7962       ;;
7963
7964     rdos*)
7965       lt_prog_compiler_static='-non_shared'
7966       ;;
7967
7968     solaris*)
7969       lt_prog_compiler_pic='-KPIC'
7970       lt_prog_compiler_static='-Bstatic'
7971       case $cc_basename in
7972       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
7973         lt_prog_compiler_wl='-Qoption ld ';;
7974       *)
7975         lt_prog_compiler_wl='-Wl,';;
7976       esac
7977       ;;
7978
7979     sunos4*)
7980       lt_prog_compiler_wl='-Qoption ld '
7981       lt_prog_compiler_pic='-PIC'
7982       lt_prog_compiler_static='-Bstatic'
7983       ;;
7984
7985     sysv4 | sysv4.2uw2* | sysv4.3*)
7986       lt_prog_compiler_wl='-Wl,'
7987       lt_prog_compiler_pic='-KPIC'
7988       lt_prog_compiler_static='-Bstatic'
7989       ;;
7990
7991     sysv4*MP*)
7992       if test -d /usr/nec ;then
7993         lt_prog_compiler_pic='-Kconform_pic'
7994         lt_prog_compiler_static='-Bstatic'
7995       fi
7996       ;;
7997
7998     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7999       lt_prog_compiler_wl='-Wl,'
8000       lt_prog_compiler_pic='-KPIC'
8001       lt_prog_compiler_static='-Bstatic'
8002       ;;
8003
8004     unicos*)
8005       lt_prog_compiler_wl='-Wl,'
8006       lt_prog_compiler_can_build_shared=no
8007       ;;
8008
8009     uts4*)
8010       lt_prog_compiler_pic='-pic'
8011       lt_prog_compiler_static='-Bstatic'
8012       ;;
8013
8014     *)
8015       lt_prog_compiler_can_build_shared=no
8016       ;;
8017     esac
8018   fi
8019
8020 case $host_os in
8021   # For platforms which do not support PIC, -DPIC is meaningless:
8022   *djgpp*)
8023     lt_prog_compiler_pic=
8024     ;;
8025   *)
8026     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8027     ;;
8028 esac
8029
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8031 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8032 if ${lt_cv_prog_compiler_pic+:} false; then :
8033   $as_echo_n "(cached) " >&6
8034 else
8035   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8036 fi
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8038 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8039 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8040
8041 #
8042 # Check to make sure the PIC flag actually works.
8043 #
8044 if test -n "$lt_prog_compiler_pic"; then
8045   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8046 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8047 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8048   $as_echo_n "(cached) " >&6
8049 else
8050   lt_cv_prog_compiler_pic_works=no
8051    ac_outfile=conftest.$ac_objext
8052    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8053    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8054    # Insert the option either (1) after the last *FLAGS variable, or
8055    # (2) before a word containing "conftest.", or (3) at the end.
8056    # Note that $ac_compile itself does not contain backslashes and begins
8057    # with a dollar sign (not a hyphen), so the echo should work correctly.
8058    # The option is referenced via a variable to avoid confusing sed.
8059    lt_compile=`echo "$ac_compile" | $SED \
8060    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8061    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8062    -e 's:$: $lt_compiler_flag:'`
8063    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8064    (eval "$lt_compile" 2>conftest.err)
8065    ac_status=$?
8066    cat conftest.err >&5
8067    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8068    if (exit $ac_status) && test -s "$ac_outfile"; then
8069      # The compiler can only warn and ignore the option if not recognized
8070      # So say no if there are warnings other than the usual output.
8071      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8072      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8073      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8074        lt_cv_prog_compiler_pic_works=yes
8075      fi
8076    fi
8077    $RM conftest*
8078
8079 fi
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8081 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8082
8083 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8084     case $lt_prog_compiler_pic in
8085      "" | " "*) ;;
8086      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8087      esac
8088 else
8089     lt_prog_compiler_pic=
8090      lt_prog_compiler_can_build_shared=no
8091 fi
8092
8093 fi
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105 #
8106 # Check to make sure the static flag actually works.
8107 #
8108 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8110 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8111 if ${lt_cv_prog_compiler_static_works+:} false; then :
8112   $as_echo_n "(cached) " >&6
8113 else
8114   lt_cv_prog_compiler_static_works=no
8115    save_LDFLAGS="$LDFLAGS"
8116    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8117    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8118    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8119      # The linker can only warn and ignore the option if not recognized
8120      # So say no if there are warnings
8121      if test -s conftest.err; then
8122        # Append any errors to the config.log.
8123        cat conftest.err 1>&5
8124        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8125        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8126        if diff conftest.exp conftest.er2 >/dev/null; then
8127          lt_cv_prog_compiler_static_works=yes
8128        fi
8129      else
8130        lt_cv_prog_compiler_static_works=yes
8131      fi
8132    fi
8133    $RM -r conftest*
8134    LDFLAGS="$save_LDFLAGS"
8135
8136 fi
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8138 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8139
8140 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8141     :
8142 else
8143     lt_prog_compiler_static=
8144 fi
8145
8146
8147
8148
8149
8150
8151
8152   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8153 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8154 if ${lt_cv_prog_compiler_c_o+:} false; then :
8155   $as_echo_n "(cached) " >&6
8156 else
8157   lt_cv_prog_compiler_c_o=no
8158    $RM -r conftest 2>/dev/null
8159    mkdir conftest
8160    cd conftest
8161    mkdir out
8162    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8163
8164    lt_compiler_flag="-o out/conftest2.$ac_objext"
8165    # Insert the option either (1) after the last *FLAGS variable, or
8166    # (2) before a word containing "conftest.", or (3) at the end.
8167    # Note that $ac_compile itself does not contain backslashes and begins
8168    # with a dollar sign (not a hyphen), so the echo should work correctly.
8169    lt_compile=`echo "$ac_compile" | $SED \
8170    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8171    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8172    -e 's:$: $lt_compiler_flag:'`
8173    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8174    (eval "$lt_compile" 2>out/conftest.err)
8175    ac_status=$?
8176    cat out/conftest.err >&5
8177    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8178    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8179    then
8180      # The compiler can only warn and ignore the option if not recognized
8181      # So say no if there are warnings
8182      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8183      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8184      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8185        lt_cv_prog_compiler_c_o=yes
8186      fi
8187    fi
8188    chmod u+w . 2>&5
8189    $RM conftest*
8190    # SGI C++ compiler will create directory out/ii_files/ for
8191    # template instantiation
8192    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8193    $RM out/* && rmdir out
8194    cd ..
8195    $RM -r conftest
8196    $RM conftest*
8197
8198 fi
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8200 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8201
8202
8203
8204
8205
8206
8207   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8208 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8209 if ${lt_cv_prog_compiler_c_o+:} false; then :
8210   $as_echo_n "(cached) " >&6
8211 else
8212   lt_cv_prog_compiler_c_o=no
8213    $RM -r conftest 2>/dev/null
8214    mkdir conftest
8215    cd conftest
8216    mkdir out
8217    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8218
8219    lt_compiler_flag="-o out/conftest2.$ac_objext"
8220    # Insert the option either (1) after the last *FLAGS variable, or
8221    # (2) before a word containing "conftest.", or (3) at the end.
8222    # Note that $ac_compile itself does not contain backslashes and begins
8223    # with a dollar sign (not a hyphen), so the echo should work correctly.
8224    lt_compile=`echo "$ac_compile" | $SED \
8225    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8226    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8227    -e 's:$: $lt_compiler_flag:'`
8228    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8229    (eval "$lt_compile" 2>out/conftest.err)
8230    ac_status=$?
8231    cat out/conftest.err >&5
8232    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8233    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8234    then
8235      # The compiler can only warn and ignore the option if not recognized
8236      # So say no if there are warnings
8237      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8238      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8239      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8240        lt_cv_prog_compiler_c_o=yes
8241      fi
8242    fi
8243    chmod u+w . 2>&5
8244    $RM conftest*
8245    # SGI C++ compiler will create directory out/ii_files/ for
8246    # template instantiation
8247    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8248    $RM out/* && rmdir out
8249    cd ..
8250    $RM -r conftest
8251    $RM conftest*
8252
8253 fi
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8255 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8256
8257
8258
8259
8260 hard_links="nottested"
8261 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8262   # do not overwrite the value of need_locks provided by the user
8263   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8264 $as_echo_n "checking if we can lock with hard links... " >&6; }
8265   hard_links=yes
8266   $RM conftest*
8267   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8268   touch conftest.a
8269   ln conftest.a conftest.b 2>&5 || hard_links=no
8270   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8272 $as_echo "$hard_links" >&6; }
8273   if test "$hard_links" = no; then
8274     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8275 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8276     need_locks=warn
8277   fi
8278 else
8279   need_locks=no
8280 fi
8281
8282
8283
8284
8285
8286
8287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8288 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8289
8290   runpath_var=
8291   allow_undefined_flag=
8292   always_export_symbols=no
8293   archive_cmds=
8294   archive_expsym_cmds=
8295   compiler_needs_object=no
8296   enable_shared_with_static_runtimes=no
8297   export_dynamic_flag_spec=
8298   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8299   hardcode_automatic=no
8300   hardcode_direct=no
8301   hardcode_direct_absolute=no
8302   hardcode_libdir_flag_spec=
8303   hardcode_libdir_separator=
8304   hardcode_minus_L=no
8305   hardcode_shlibpath_var=unsupported
8306   inherit_rpath=no
8307   link_all_deplibs=unknown
8308   module_cmds=
8309   module_expsym_cmds=
8310   old_archive_from_new_cmds=
8311   old_archive_from_expsyms_cmds=
8312   thread_safe_flag_spec=
8313   whole_archive_flag_spec=
8314   # include_expsyms should be a list of space-separated symbols to be *always*
8315   # included in the symbol list
8316   include_expsyms=
8317   # exclude_expsyms can be an extended regexp of symbols to exclude
8318   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8319   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8320   # as well as any symbol that contains `d'.
8321   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8322   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8323   # platforms (ab)use it in PIC code, but their linkers get confused if
8324   # the symbol is explicitly referenced.  Since portable code cannot
8325   # rely on this symbol name, it's probably fine to never include it in
8326   # preloaded symbol tables.
8327   # Exclude shared library initialization/finalization symbols.
8328   extract_expsyms_cmds=
8329
8330   case $host_os in
8331   cygwin* | mingw* | pw32* | cegcc*)
8332     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8333     # When not using gcc, we currently assume that we are using
8334     # Microsoft Visual C++.
8335     if test "$GCC" != yes; then
8336       with_gnu_ld=no
8337     fi
8338     ;;
8339   interix*)
8340     # we just hope/assume this is gcc and not c89 (= MSVC++)
8341     with_gnu_ld=yes
8342     ;;
8343   openbsd*)
8344     with_gnu_ld=no
8345     ;;
8346   linux* | k*bsd*-gnu | gnu*)
8347     link_all_deplibs=no
8348     ;;
8349   esac
8350
8351   ld_shlibs=yes
8352
8353   # On some targets, GNU ld is compatible enough with the native linker
8354   # that we're better off using the native interface for both.
8355   lt_use_gnu_ld_interface=no
8356   if test "$with_gnu_ld" = yes; then
8357     case $host_os in
8358       aix*)
8359         # The AIX port of GNU ld has always aspired to compatibility
8360         # with the native linker.  However, as the warning in the GNU ld
8361         # block says, versions before 2.19.5* couldn't really create working
8362         # shared libraries, regardless of the interface used.
8363         case `$LD -v 2>&1` in
8364           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8365           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8366           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8367           *)
8368             lt_use_gnu_ld_interface=yes
8369             ;;
8370         esac
8371         ;;
8372       *)
8373         lt_use_gnu_ld_interface=yes
8374         ;;
8375     esac
8376   fi
8377
8378   if test "$lt_use_gnu_ld_interface" = yes; then
8379     # If archive_cmds runs LD, not CC, wlarc should be empty
8380     wlarc='${wl}'
8381
8382     # Set some defaults for GNU ld with shared library support. These
8383     # are reset later if shared libraries are not supported. Putting them
8384     # here allows them to be overridden if necessary.
8385     runpath_var=LD_RUN_PATH
8386     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8387     export_dynamic_flag_spec='${wl}--export-dynamic'
8388     # ancient GNU ld didn't support --whole-archive et. al.
8389     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8390       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8391     else
8392       whole_archive_flag_spec=
8393     fi
8394     supports_anon_versioning=no
8395     case `$LD -v 2>&1` in
8396       *GNU\ gold*) supports_anon_versioning=yes ;;
8397       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8398       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8399       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8400       *\ 2.11.*) ;; # other 2.11 versions
8401       *) supports_anon_versioning=yes ;;
8402     esac
8403
8404     # See if GNU ld supports shared libraries.
8405     case $host_os in
8406     aix[3-9]*)
8407       # On AIX/PPC, the GNU linker is very broken
8408       if test "$host_cpu" != ia64; then
8409         ld_shlibs=no
8410         cat <<_LT_EOF 1>&2
8411
8412 *** Warning: the GNU linker, at least up to release 2.19, is reported
8413 *** to be unable to reliably create shared libraries on AIX.
8414 *** Therefore, libtool is disabling shared libraries support.  If you
8415 *** really care for shared libraries, you may want to install binutils
8416 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8417 *** You will then need to restart the configuration process.
8418
8419 _LT_EOF
8420       fi
8421       ;;
8422
8423     amigaos*)
8424       case $host_cpu in
8425       powerpc)
8426             # see comment about AmigaOS4 .so support
8427             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8428             archive_expsym_cmds=''
8429         ;;
8430       m68k)
8431             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)'
8432             hardcode_libdir_flag_spec='-L$libdir'
8433             hardcode_minus_L=yes
8434         ;;
8435       esac
8436       ;;
8437
8438     beos*)
8439       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8440         allow_undefined_flag=unsupported
8441         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8442         # support --undefined.  This deserves some investigation.  FIXME
8443         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8444       else
8445         ld_shlibs=no
8446       fi
8447       ;;
8448
8449     cygwin* | mingw* | pw32* | cegcc*)
8450       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8451       # as there is no search path for DLLs.
8452       hardcode_libdir_flag_spec='-L$libdir'
8453       export_dynamic_flag_spec='${wl}--export-all-symbols'
8454       allow_undefined_flag=unsupported
8455       always_export_symbols=no
8456       enable_shared_with_static_runtimes=yes
8457       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'
8458       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8459
8460       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8461         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8462         # If the export-symbols file already is a .def file (1st line
8463         # is EXPORTS), use it as is; otherwise, prepend...
8464         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8465           cp $export_symbols $output_objdir/$soname.def;
8466         else
8467           echo EXPORTS > $output_objdir/$soname.def;
8468           cat $export_symbols >> $output_objdir/$soname.def;
8469         fi~
8470         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8471       else
8472         ld_shlibs=no
8473       fi
8474       ;;
8475
8476     haiku*)
8477       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8478       link_all_deplibs=yes
8479       ;;
8480
8481     interix[3-9]*)
8482       hardcode_direct=no
8483       hardcode_shlibpath_var=no
8484       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8485       export_dynamic_flag_spec='${wl}-E'
8486       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8487       # Instead, shared libraries are loaded at an image base (0x10000000 by
8488       # default) and relocated if they conflict, which is a slow very memory
8489       # consuming and fragmenting process.  To avoid this, we pick a random,
8490       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8491       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8492       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8493       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'
8494       ;;
8495
8496     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8497       tmp_diet=no
8498       if test "$host_os" = linux-dietlibc; then
8499         case $cc_basename in
8500           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8501         esac
8502       fi
8503       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8504          && test "$tmp_diet" = no
8505       then
8506         tmp_addflag=' $pic_flag'
8507         tmp_sharedflag='-shared'
8508         case $cc_basename,$host_cpu in
8509         pgcc*)                          # Portland Group C compiler
8510           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'
8511           tmp_addflag=' $pic_flag'
8512           ;;
8513         pgf77* | pgf90* | pgf95* | pgfortran*)
8514                                         # Portland Group f77 and f90 compilers
8515           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'
8516           tmp_addflag=' $pic_flag -Mnomain' ;;
8517         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8518           tmp_addflag=' -i_dynamic' ;;
8519         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8520           tmp_addflag=' -i_dynamic -nofor_main' ;;
8521         ifc* | ifort*)                  # Intel Fortran compiler
8522           tmp_addflag=' -nofor_main' ;;
8523         lf95*)                          # Lahey Fortran 8.1
8524           whole_archive_flag_spec=
8525           tmp_sharedflag='--shared' ;;
8526         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8527           tmp_sharedflag='-qmkshrobj'
8528           tmp_addflag= ;;
8529         nvcc*)  # Cuda Compiler Driver 2.2
8530           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'
8531           compiler_needs_object=yes
8532           ;;
8533         esac
8534         case `$CC -V 2>&1 | sed 5q` in
8535         *Sun\ C*)                       # Sun C 5.9
8536           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'
8537           compiler_needs_object=yes
8538           tmp_sharedflag='-G' ;;
8539         *Sun\ F*)                       # Sun Fortran 8.3
8540           tmp_sharedflag='-G' ;;
8541         esac
8542         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8543
8544         if test "x$supports_anon_versioning" = xyes; then
8545           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8546             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8547             echo "local: *; };" >> $output_objdir/$libname.ver~
8548             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8549         fi
8550
8551         case $cc_basename in
8552         xlf* | bgf* | bgxlf* | mpixlf*)
8553           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8554           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8555           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8556           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8557           if test "x$supports_anon_versioning" = xyes; then
8558             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8559               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8560               echo "local: *; };" >> $output_objdir/$libname.ver~
8561               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8562           fi
8563           ;;
8564         esac
8565       else
8566         ld_shlibs=no
8567       fi
8568       ;;
8569
8570     netbsd* | netbsdelf*-gnu)
8571       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8572         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8573         wlarc=
8574       else
8575         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8576         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8577       fi
8578       ;;
8579
8580     solaris*)
8581       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8582         ld_shlibs=no
8583         cat <<_LT_EOF 1>&2
8584
8585 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8586 *** create shared libraries on Solaris systems.  Therefore, libtool
8587 *** is disabling shared libraries support.  We urge you to upgrade GNU
8588 *** binutils to release 2.9.1 or newer.  Another option is to modify
8589 *** your PATH or compiler configuration so that the native linker is
8590 *** used, and then restart.
8591
8592 _LT_EOF
8593       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8594         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8595         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8596       else
8597         ld_shlibs=no
8598       fi
8599       ;;
8600
8601     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8602       case `$LD -v 2>&1` in
8603         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8604         ld_shlibs=no
8605         cat <<_LT_EOF 1>&2
8606
8607 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8608 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8609 *** is disabling shared libraries support.  We urge you to upgrade GNU
8610 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8611 *** your PATH or compiler configuration so that the native linker is
8612 *** used, and then restart.
8613
8614 _LT_EOF
8615         ;;
8616         *)
8617           # For security reasons, it is highly recommended that you always
8618           # use absolute paths for naming shared libraries, and exclude the
8619           # DT_RUNPATH tag from executables and libraries.  But doing so
8620           # requires that you compile everything twice, which is a pain.
8621           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8622             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8623             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8624             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8625           else
8626             ld_shlibs=no
8627           fi
8628         ;;
8629       esac
8630       ;;
8631
8632     sunos4*)
8633       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8634       wlarc=
8635       hardcode_direct=yes
8636       hardcode_shlibpath_var=no
8637       ;;
8638
8639     *)
8640       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8641         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8642         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8643       else
8644         ld_shlibs=no
8645       fi
8646       ;;
8647     esac
8648
8649     if test "$ld_shlibs" = no; then
8650       runpath_var=
8651       hardcode_libdir_flag_spec=
8652       export_dynamic_flag_spec=
8653       whole_archive_flag_spec=
8654     fi
8655   else
8656     # PORTME fill in a description of your system's linker (not GNU ld)
8657     case $host_os in
8658     aix3*)
8659       allow_undefined_flag=unsupported
8660       always_export_symbols=yes
8661       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'
8662       # Note: this linker hardcodes the directories in LIBPATH if there
8663       # are no directories specified by -L.
8664       hardcode_minus_L=yes
8665       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8666         # Neither direct hardcoding nor static linking is supported with a
8667         # broken collect2.
8668         hardcode_direct=unsupported
8669       fi
8670       ;;
8671
8672     aix[4-9]*)
8673       if test "$host_cpu" = ia64; then
8674         # On IA64, the linker does run time linking by default, so we don't
8675         # have to do anything special.
8676         aix_use_runtimelinking=no
8677         exp_sym_flag='-Bexport'
8678         no_entry_flag=""
8679       else
8680         # If we're using GNU nm, then we don't want the "-C" option.
8681         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8682         # Also, AIX nm treats weak defined symbols like other global
8683         # defined symbols, whereas GNU nm marks them as "W".
8684         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8685           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'
8686         else
8687           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'
8688         fi
8689         aix_use_runtimelinking=no
8690
8691         # Test if we are trying to use run time linking or normal
8692         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8693         # need to do runtime linking.
8694         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8695           for ld_flag in $LDFLAGS; do
8696           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8697             aix_use_runtimelinking=yes
8698             break
8699           fi
8700           done
8701           ;;
8702         esac
8703
8704         exp_sym_flag='-bexport'
8705         no_entry_flag='-bnoentry'
8706       fi
8707
8708       # When large executables or shared objects are built, AIX ld can
8709       # have problems creating the table of contents.  If linking a library
8710       # or program results in "error TOC overflow" add -mminimal-toc to
8711       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8712       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8713
8714       archive_cmds=''
8715       hardcode_direct=yes
8716       hardcode_direct_absolute=yes
8717       hardcode_libdir_separator=':'
8718       link_all_deplibs=yes
8719       file_list_spec='${wl}-f,'
8720
8721       if test "$GCC" = yes; then
8722         case $host_os in aix4.[012]|aix4.[012].*)
8723         # We only want to do this on AIX 4.2 and lower, the check
8724         # below for broken collect2 doesn't work under 4.3+
8725           collect2name=`${CC} -print-prog-name=collect2`
8726           if test -f "$collect2name" &&
8727            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8728           then
8729           # We have reworked collect2
8730           :
8731           else
8732           # We have old collect2
8733           hardcode_direct=unsupported
8734           # It fails to find uninstalled libraries when the uninstalled
8735           # path is not listed in the libpath.  Setting hardcode_minus_L
8736           # to unsupported forces relinking
8737           hardcode_minus_L=yes
8738           hardcode_libdir_flag_spec='-L$libdir'
8739           hardcode_libdir_separator=
8740           fi
8741           ;;
8742         esac
8743         shared_flag='-shared'
8744         if test "$aix_use_runtimelinking" = yes; then
8745           shared_flag="$shared_flag "'${wl}-G'
8746         fi
8747         link_all_deplibs=no
8748       else
8749         # not using gcc
8750         if test "$host_cpu" = ia64; then
8751         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8752         # chokes on -Wl,-G. The following line is correct:
8753           shared_flag='-G'
8754         else
8755           if test "$aix_use_runtimelinking" = yes; then
8756             shared_flag='${wl}-G'
8757           else
8758             shared_flag='${wl}-bM:SRE'
8759           fi
8760         fi
8761       fi
8762
8763       export_dynamic_flag_spec='${wl}-bexpall'
8764       # It seems that -bexpall does not export symbols beginning with
8765       # underscore (_), so it is better to generate a list of symbols to export.
8766       always_export_symbols=yes
8767       if test "$aix_use_runtimelinking" = yes; then
8768         # Warning - without using the other runtime loading flags (-brtl),
8769         # -berok will link without error, but may produce a broken library.
8770         allow_undefined_flag='-berok'
8771         # Determine the default libpath from the value encoded in an
8772         # empty executable.
8773         if test "${lt_cv_aix_libpath+set}" = set; then
8774   aix_libpath=$lt_cv_aix_libpath
8775 else
8776   if ${lt_cv_aix_libpath_+:} false; then :
8777   $as_echo_n "(cached) " >&6
8778 else
8779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8780 /* end confdefs.h.  */
8781
8782 int
8783 main ()
8784 {
8785
8786   ;
8787   return 0;
8788 }
8789 _ACEOF
8790 if ac_fn_c_try_link "$LINENO"; then :
8791
8792   lt_aix_libpath_sed='
8793       /Import File Strings/,/^$/ {
8794           /^0/ {
8795               s/^0  *\([^ ]*\) *$/\1/
8796               p
8797           }
8798       }'
8799   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8800   # Check for a 64-bit object if we didn't find anything.
8801   if test -z "$lt_cv_aix_libpath_"; then
8802     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8803   fi
8804 fi
8805 rm -f core conftest.err conftest.$ac_objext \
8806     conftest$ac_exeext conftest.$ac_ext
8807   if test -z "$lt_cv_aix_libpath_"; then
8808     lt_cv_aix_libpath_="/usr/lib:/lib"
8809   fi
8810
8811 fi
8812
8813   aix_libpath=$lt_cv_aix_libpath_
8814 fi
8815
8816         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8817         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"
8818       else
8819         if test "$host_cpu" = ia64; then
8820           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8821           allow_undefined_flag="-z nodefs"
8822           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"
8823         else
8824          # Determine the default libpath from the value encoded in an
8825          # empty executable.
8826          if test "${lt_cv_aix_libpath+set}" = set; then
8827   aix_libpath=$lt_cv_aix_libpath
8828 else
8829   if ${lt_cv_aix_libpath_+:} false; then :
8830   $as_echo_n "(cached) " >&6
8831 else
8832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8833 /* end confdefs.h.  */
8834
8835 int
8836 main ()
8837 {
8838
8839   ;
8840   return 0;
8841 }
8842 _ACEOF
8843 if ac_fn_c_try_link "$LINENO"; then :
8844
8845   lt_aix_libpath_sed='
8846       /Import File Strings/,/^$/ {
8847           /^0/ {
8848               s/^0  *\([^ ]*\) *$/\1/
8849               p
8850           }
8851       }'
8852   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8853   # Check for a 64-bit object if we didn't find anything.
8854   if test -z "$lt_cv_aix_libpath_"; then
8855     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8856   fi
8857 fi
8858 rm -f core conftest.err conftest.$ac_objext \
8859     conftest$ac_exeext conftest.$ac_ext
8860   if test -z "$lt_cv_aix_libpath_"; then
8861     lt_cv_aix_libpath_="/usr/lib:/lib"
8862   fi
8863
8864 fi
8865
8866   aix_libpath=$lt_cv_aix_libpath_
8867 fi
8868
8869          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8870           # Warning - without using the other run time loading flags,
8871           # -berok will link without error, but may produce a broken library.
8872           no_undefined_flag=' ${wl}-bernotok'
8873           allow_undefined_flag=' ${wl}-berok'
8874           if test "$with_gnu_ld" = yes; then
8875             # We only use this code for GNU lds that support --whole-archive.
8876             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8877           else
8878             # Exported symbols can be pulled into shared objects from archives
8879             whole_archive_flag_spec='$convenience'
8880           fi
8881           archive_cmds_need_lc=yes
8882           # This is similar to how AIX traditionally builds its shared libraries.
8883           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'
8884         fi
8885       fi
8886       ;;
8887
8888     amigaos*)
8889       case $host_cpu in
8890       powerpc)
8891             # see comment about AmigaOS4 .so support
8892             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8893             archive_expsym_cmds=''
8894         ;;
8895       m68k)
8896             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)'
8897             hardcode_libdir_flag_spec='-L$libdir'
8898             hardcode_minus_L=yes
8899         ;;
8900       esac
8901       ;;
8902
8903     bsdi[45]*)
8904       export_dynamic_flag_spec=-rdynamic
8905       ;;
8906
8907     cygwin* | mingw* | pw32* | cegcc*)
8908       # When not using gcc, we currently assume that we are using
8909       # Microsoft Visual C++.
8910       # hardcode_libdir_flag_spec is actually meaningless, as there is
8911       # no search path for DLLs.
8912       case $cc_basename in
8913       cl*)
8914         # Native MSVC
8915         hardcode_libdir_flag_spec=' '
8916         allow_undefined_flag=unsupported
8917         always_export_symbols=yes
8918         file_list_spec='@'
8919         # Tell ltmain to make .lib files, not .a files.
8920         libext=lib
8921         # Tell ltmain to make .dll files, not .so files.
8922         shrext_cmds=".dll"
8923         # FIXME: Setting linknames here is a bad hack.
8924         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
8925         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8926             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
8927           else
8928             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
8929           fi~
8930           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
8931           linknames='
8932         # The linker will not automatically build a static lib if we build a DLL.
8933         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
8934         enable_shared_with_static_runtimes=yes
8935         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
8936         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8937         # Don't use ranlib
8938         old_postinstall_cmds='chmod 644 $oldlib'
8939         postlink_cmds='lt_outputfile="@OUTPUT@"~
8940           lt_tool_outputfile="@TOOL_OUTPUT@"~
8941           case $lt_outputfile in
8942             *.exe|*.EXE) ;;
8943             *)
8944               lt_outputfile="$lt_outputfile.exe"
8945               lt_tool_outputfile="$lt_tool_outputfile.exe"
8946               ;;
8947           esac~
8948           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
8949             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
8950             $RM "$lt_outputfile.manifest";
8951           fi'
8952         ;;
8953       *)
8954         # Assume MSVC wrapper
8955         hardcode_libdir_flag_spec=' '
8956         allow_undefined_flag=unsupported
8957         # Tell ltmain to make .lib files, not .a files.
8958         libext=lib
8959         # Tell ltmain to make .dll files, not .so files.
8960         shrext_cmds=".dll"
8961         # FIXME: Setting linknames here is a bad hack.
8962         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8963         # The linker will automatically build a .lib file if we build a DLL.
8964         old_archive_from_new_cmds='true'
8965         # FIXME: Should let the user specify the lib program.
8966         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8967         enable_shared_with_static_runtimes=yes
8968         ;;
8969       esac
8970       ;;
8971
8972     darwin* | rhapsody*)
8973
8974
8975   archive_cmds_need_lc=no
8976   hardcode_direct=no
8977   hardcode_automatic=yes
8978   hardcode_shlibpath_var=unsupported
8979   if test "$lt_cv_ld_force_load" = "yes"; then
8980     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\"`'
8981
8982   else
8983     whole_archive_flag_spec=''
8984   fi
8985   link_all_deplibs=yes
8986   allow_undefined_flag="$_lt_dar_allow_undefined"
8987   case $cc_basename in
8988      ifort*) _lt_dar_can_shared=yes ;;
8989      *) _lt_dar_can_shared=$GCC ;;
8990   esac
8991   if test "$_lt_dar_can_shared" = "yes"; then
8992     output_verbose_link_cmd=func_echo_all
8993     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8994     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8995     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}"
8996     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}"
8997
8998   else
8999   ld_shlibs=no
9000   fi
9001
9002       ;;
9003
9004     dgux*)
9005       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9006       hardcode_libdir_flag_spec='-L$libdir'
9007       hardcode_shlibpath_var=no
9008       ;;
9009
9010     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9011     # support.  Future versions do this automatically, but an explicit c++rt0.o
9012     # does not break anything, and helps significantly (at the cost of a little
9013     # extra space).
9014     freebsd2.2*)
9015       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9016       hardcode_libdir_flag_spec='-R$libdir'
9017       hardcode_direct=yes
9018       hardcode_shlibpath_var=no
9019       ;;
9020
9021     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9022     freebsd2.*)
9023       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9024       hardcode_direct=yes
9025       hardcode_minus_L=yes
9026       hardcode_shlibpath_var=no
9027       ;;
9028
9029     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9030     freebsd* | dragonfly*)
9031       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9032       hardcode_libdir_flag_spec='-R$libdir'
9033       hardcode_direct=yes
9034       hardcode_shlibpath_var=no
9035       ;;
9036
9037     hpux9*)
9038       if test "$GCC" = yes; then
9039         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'
9040       else
9041         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'
9042       fi
9043       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9044       hardcode_libdir_separator=:
9045       hardcode_direct=yes
9046
9047       # hardcode_minus_L: Not really in the search PATH,
9048       # but as the default location of the library.
9049       hardcode_minus_L=yes
9050       export_dynamic_flag_spec='${wl}-E'
9051       ;;
9052
9053     hpux10*)
9054       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9055         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9056       else
9057         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9058       fi
9059       if test "$with_gnu_ld" = no; then
9060         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9061         hardcode_libdir_separator=:
9062         hardcode_direct=yes
9063         hardcode_direct_absolute=yes
9064         export_dynamic_flag_spec='${wl}-E'
9065         # hardcode_minus_L: Not really in the search PATH,
9066         # but as the default location of the library.
9067         hardcode_minus_L=yes
9068       fi
9069       ;;
9070
9071     hpux11*)
9072       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9073         case $host_cpu in
9074         hppa*64*)
9075           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9076           ;;
9077         ia64*)
9078           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9079           ;;
9080         *)
9081           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9082           ;;
9083         esac
9084       else
9085         case $host_cpu in
9086         hppa*64*)
9087           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9088           ;;
9089         ia64*)
9090           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9091           ;;
9092         *)
9093
9094           # Older versions of the 11.00 compiler do not understand -b yet
9095           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9096           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9097 $as_echo_n "checking if $CC understands -b... " >&6; }
9098 if ${lt_cv_prog_compiler__b+:} false; then :
9099   $as_echo_n "(cached) " >&6
9100 else
9101   lt_cv_prog_compiler__b=no
9102    save_LDFLAGS="$LDFLAGS"
9103    LDFLAGS="$LDFLAGS -b"
9104    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9105    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9106      # The linker can only warn and ignore the option if not recognized
9107      # So say no if there are warnings
9108      if test -s conftest.err; then
9109        # Append any errors to the config.log.
9110        cat conftest.err 1>&5
9111        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9112        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9113        if diff conftest.exp conftest.er2 >/dev/null; then
9114          lt_cv_prog_compiler__b=yes
9115        fi
9116      else
9117        lt_cv_prog_compiler__b=yes
9118      fi
9119    fi
9120    $RM -r conftest*
9121    LDFLAGS="$save_LDFLAGS"
9122
9123 fi
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9125 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9126
9127 if test x"$lt_cv_prog_compiler__b" = xyes; then
9128     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9129 else
9130     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9131 fi
9132
9133           ;;
9134         esac
9135       fi
9136       if test "$with_gnu_ld" = no; then
9137         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9138         hardcode_libdir_separator=:
9139
9140         case $host_cpu in
9141         hppa*64*|ia64*)
9142           hardcode_direct=no
9143           hardcode_shlibpath_var=no
9144           ;;
9145         *)
9146           hardcode_direct=yes
9147           hardcode_direct_absolute=yes
9148           export_dynamic_flag_spec='${wl}-E'
9149
9150           # hardcode_minus_L: Not really in the search PATH,
9151           # but as the default location of the library.
9152           hardcode_minus_L=yes
9153           ;;
9154         esac
9155       fi
9156       ;;
9157
9158     irix5* | irix6* | nonstopux*)
9159       if test "$GCC" = yes; then
9160         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'
9161         # Try to use the -exported_symbol ld option, if it does not
9162         # work, assume that -exports_file does not work either and
9163         # implicitly export all symbols.
9164         # This should be the same for all languages, so no per-tag cache variable.
9165         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9166 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9167 if ${lt_cv_irix_exported_symbol+:} false; then :
9168   $as_echo_n "(cached) " >&6
9169 else
9170   save_LDFLAGS="$LDFLAGS"
9171            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9172            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9173 /* end confdefs.h.  */
9174 int foo (void) { return 0; }
9175 _ACEOF
9176 if ac_fn_c_try_link "$LINENO"; then :
9177   lt_cv_irix_exported_symbol=yes
9178 else
9179   lt_cv_irix_exported_symbol=no
9180 fi
9181 rm -f core conftest.err conftest.$ac_objext \
9182     conftest$ac_exeext conftest.$ac_ext
9183            LDFLAGS="$save_LDFLAGS"
9184 fi
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9186 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9187         if test "$lt_cv_irix_exported_symbol" = yes; then
9188           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'
9189         fi
9190       else
9191         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'
9192         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'
9193       fi
9194       archive_cmds_need_lc='no'
9195       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9196       hardcode_libdir_separator=:
9197       inherit_rpath=yes
9198       link_all_deplibs=yes
9199       ;;
9200
9201     netbsd* | netbsdelf*-gnu)
9202       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9203         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9204       else
9205         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9206       fi
9207       hardcode_libdir_flag_spec='-R$libdir'
9208       hardcode_direct=yes
9209       hardcode_shlibpath_var=no
9210       ;;
9211
9212     newsos6)
9213       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9214       hardcode_direct=yes
9215       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9216       hardcode_libdir_separator=:
9217       hardcode_shlibpath_var=no
9218       ;;
9219
9220     *nto* | *qnx*)
9221       ;;
9222
9223     openbsd*)
9224       if test -f /usr/libexec/ld.so; then
9225         hardcode_direct=yes
9226         hardcode_shlibpath_var=no
9227         hardcode_direct_absolute=yes
9228         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9229           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9230           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9231           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9232           export_dynamic_flag_spec='${wl}-E'
9233         else
9234           case $host_os in
9235            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9236              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9237              hardcode_libdir_flag_spec='-R$libdir'
9238              ;;
9239            *)
9240              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9241              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9242              ;;
9243           esac
9244         fi
9245       else
9246         ld_shlibs=no
9247       fi
9248       ;;
9249
9250     os2*)
9251       hardcode_libdir_flag_spec='-L$libdir'
9252       hardcode_minus_L=yes
9253       allow_undefined_flag=unsupported
9254       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'
9255       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9256       ;;
9257
9258     osf3*)
9259       if test "$GCC" = yes; then
9260         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9261         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'
9262       else
9263         allow_undefined_flag=' -expect_unresolved \*'
9264         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'
9265       fi
9266       archive_cmds_need_lc='no'
9267       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9268       hardcode_libdir_separator=:
9269       ;;
9270
9271     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9272       if test "$GCC" = yes; then
9273         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9274         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'
9275         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9276       else
9277         allow_undefined_flag=' -expect_unresolved \*'
9278         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'
9279         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~
9280         $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'
9281
9282         # Both c and cxx compiler support -rpath directly
9283         hardcode_libdir_flag_spec='-rpath $libdir'
9284       fi
9285       archive_cmds_need_lc='no'
9286       hardcode_libdir_separator=:
9287       ;;
9288
9289     solaris*)
9290       no_undefined_flag=' -z defs'
9291       if test "$GCC" = yes; then
9292         wlarc='${wl}'
9293         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9294         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9295           $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'
9296       else
9297         case `$CC -V 2>&1` in
9298         *"Compilers 5.0"*)
9299           wlarc=''
9300           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9301           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9302           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9303           ;;
9304         *)
9305           wlarc='${wl}'
9306           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9307           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9308           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9309           ;;
9310         esac
9311       fi
9312       hardcode_libdir_flag_spec='-R$libdir'
9313       hardcode_shlibpath_var=no
9314       case $host_os in
9315       solaris2.[0-5] | solaris2.[0-5].*) ;;
9316       *)
9317         # The compiler driver will combine and reorder linker options,
9318         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9319         # but is careful enough not to reorder.
9320         # Supported since Solaris 2.6 (maybe 2.5.1?)
9321         if test "$GCC" = yes; then
9322           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9323         else
9324           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9325         fi
9326         ;;
9327       esac
9328       link_all_deplibs=yes
9329       ;;
9330
9331     sunos4*)
9332       if test "x$host_vendor" = xsequent; then
9333         # Use $CC to link under sequent, because it throws in some extra .o
9334         # files that make .init and .fini sections work.
9335         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9336       else
9337         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9338       fi
9339       hardcode_libdir_flag_spec='-L$libdir'
9340       hardcode_direct=yes
9341       hardcode_minus_L=yes
9342       hardcode_shlibpath_var=no
9343       ;;
9344
9345     sysv4)
9346       case $host_vendor in
9347         sni)
9348           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9349           hardcode_direct=yes # is this really true???
9350         ;;
9351         siemens)
9352           ## LD is ld it makes a PLAMLIB
9353           ## CC just makes a GrossModule.
9354           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9355           reload_cmds='$CC -r -o $output$reload_objs'
9356           hardcode_direct=no
9357         ;;
9358         motorola)
9359           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9360           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9361         ;;
9362       esac
9363       runpath_var='LD_RUN_PATH'
9364       hardcode_shlibpath_var=no
9365       ;;
9366
9367     sysv4.3*)
9368       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9369       hardcode_shlibpath_var=no
9370       export_dynamic_flag_spec='-Bexport'
9371       ;;
9372
9373     sysv4*MP*)
9374       if test -d /usr/nec; then
9375         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9376         hardcode_shlibpath_var=no
9377         runpath_var=LD_RUN_PATH
9378         hardcode_runpath_var=yes
9379         ld_shlibs=yes
9380       fi
9381       ;;
9382
9383     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9384       no_undefined_flag='${wl}-z,text'
9385       archive_cmds_need_lc=no
9386       hardcode_shlibpath_var=no
9387       runpath_var='LD_RUN_PATH'
9388
9389       if test "$GCC" = yes; then
9390         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9391         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9392       else
9393         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9394         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9395       fi
9396       ;;
9397
9398     sysv5* | sco3.2v5* | sco5v6*)
9399       # Note: We can NOT use -z defs as we might desire, because we do not
9400       # link with -lc, and that would cause any symbols used from libc to
9401       # always be unresolved, which means just about no library would
9402       # ever link correctly.  If we're not using GNU ld we use -z text
9403       # though, which does catch some bad symbols but isn't as heavy-handed
9404       # as -z defs.
9405       no_undefined_flag='${wl}-z,text'
9406       allow_undefined_flag='${wl}-z,nodefs'
9407       archive_cmds_need_lc=no
9408       hardcode_shlibpath_var=no
9409       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9410       hardcode_libdir_separator=':'
9411       link_all_deplibs=yes
9412       export_dynamic_flag_spec='${wl}-Bexport'
9413       runpath_var='LD_RUN_PATH'
9414
9415       if test "$GCC" = yes; then
9416         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9417         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9418       else
9419         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9420         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9421       fi
9422       ;;
9423
9424     uts4*)
9425       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9426       hardcode_libdir_flag_spec='-L$libdir'
9427       hardcode_shlibpath_var=no
9428       ;;
9429
9430     *)
9431       ld_shlibs=no
9432       ;;
9433     esac
9434
9435     if test x$host_vendor = xsni; then
9436       case $host in
9437       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9438         export_dynamic_flag_spec='${wl}-Blargedynsym'
9439         ;;
9440       esac
9441     fi
9442   fi
9443
9444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9445 $as_echo "$ld_shlibs" >&6; }
9446 test "$ld_shlibs" = no && can_build_shared=no
9447
9448 with_gnu_ld=$with_gnu_ld
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464 #
9465 # Do we need to explicitly link libc?
9466 #
9467 case "x$archive_cmds_need_lc" in
9468 x|xyes)
9469   # Assume -lc should be added
9470   archive_cmds_need_lc=yes
9471
9472   if test "$enable_shared" = yes && test "$GCC" = yes; then
9473     case $archive_cmds in
9474     *'~'*)
9475       # FIXME: we may have to deal with multi-command sequences.
9476       ;;
9477     '$CC '*)
9478       # Test whether the compiler implicitly links with -lc since on some
9479       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9480       # to ld, don't add -lc before -lgcc.
9481       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9482 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9483 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9484   $as_echo_n "(cached) " >&6
9485 else
9486   $RM conftest*
9487         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9488
9489         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9490   (eval $ac_compile) 2>&5
9491   ac_status=$?
9492   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9493   test $ac_status = 0; } 2>conftest.err; then
9494           soname=conftest
9495           lib=conftest
9496           libobjs=conftest.$ac_objext
9497           deplibs=
9498           wl=$lt_prog_compiler_wl
9499           pic_flag=$lt_prog_compiler_pic
9500           compiler_flags=-v
9501           linker_flags=-v
9502           verstring=
9503           output_objdir=.
9504           libname=conftest
9505           lt_save_allow_undefined_flag=$allow_undefined_flag
9506           allow_undefined_flag=
9507           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9508   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9509   ac_status=$?
9510   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9511   test $ac_status = 0; }
9512           then
9513             lt_cv_archive_cmds_need_lc=no
9514           else
9515             lt_cv_archive_cmds_need_lc=yes
9516           fi
9517           allow_undefined_flag=$lt_save_allow_undefined_flag
9518         else
9519           cat conftest.err 1>&5
9520         fi
9521         $RM conftest*
9522
9523 fi
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9525 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9526       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9527       ;;
9528     esac
9529   fi
9530   ;;
9531 esac
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9685 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9686
9687 if test "$GCC" = yes; then
9688   case $host_os in
9689     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9690     *) lt_awk_arg="/^libraries:/" ;;
9691   esac
9692   case $host_os in
9693     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9694     *) lt_sed_strip_eq="s,=/,/,g" ;;
9695   esac
9696   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9697   case $lt_search_path_spec in
9698   *\;*)
9699     # if the path contains ";" then we assume it to be the separator
9700     # otherwise default to the standard path separator (i.e. ":") - it is
9701     # assumed that no part of a normal pathname contains ";" but that should
9702     # okay in the real world where ";" in dirpaths is itself problematic.
9703     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9704     ;;
9705   *)
9706     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9707     ;;
9708   esac
9709   # Ok, now we have the path, separated by spaces, we can step through it
9710   # and add multilib dir if necessary.
9711   lt_tmp_lt_search_path_spec=
9712   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9713   for lt_sys_path in $lt_search_path_spec; do
9714     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9715       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9716     else
9717       test -d "$lt_sys_path" && \
9718         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9719     fi
9720   done
9721   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9722 BEGIN {RS=" "; FS="/|\n";} {
9723   lt_foo="";
9724   lt_count=0;
9725   for (lt_i = NF; lt_i > 0; lt_i--) {
9726     if ($lt_i != "" && $lt_i != ".") {
9727       if ($lt_i == "..") {
9728         lt_count++;
9729       } else {
9730         if (lt_count == 0) {
9731           lt_foo="/" $lt_i lt_foo;
9732         } else {
9733           lt_count--;
9734         }
9735       }
9736     }
9737   }
9738   if (lt_foo != "") { lt_freq[lt_foo]++; }
9739   if (lt_freq[lt_foo] == 1) { print lt_foo; }
9740 }'`
9741   # AWK program above erroneously prepends '/' to C:/dos/paths
9742   # for these hosts.
9743   case $host_os in
9744     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9745       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9746   esac
9747   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9748 else
9749   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9750 fi
9751 library_names_spec=
9752 libname_spec='lib$name'
9753 soname_spec=
9754 shrext_cmds=".so"
9755 postinstall_cmds=
9756 postuninstall_cmds=
9757 finish_cmds=
9758 finish_eval=
9759 shlibpath_var=
9760 shlibpath_overrides_runpath=unknown
9761 version_type=none
9762 dynamic_linker="$host_os ld.so"
9763 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9764 need_lib_prefix=unknown
9765 hardcode_into_libs=no
9766
9767 # when you set need_version to no, make sure it does not cause -set_version
9768 # flags to be left without arguments
9769 need_version=unknown
9770
9771 case $host_os in
9772 aix3*)
9773   version_type=linux # correct to gnu/linux during the next big refactor
9774   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9775   shlibpath_var=LIBPATH
9776
9777   # AIX 3 has no versioning support, so we append a major version to the name.
9778   soname_spec='${libname}${release}${shared_ext}$major'
9779   ;;
9780
9781 aix[4-9]*)
9782   version_type=linux # correct to gnu/linux during the next big refactor
9783   need_lib_prefix=no
9784   need_version=no
9785   hardcode_into_libs=yes
9786   if test "$host_cpu" = ia64; then
9787     # AIX 5 supports IA64
9788     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9789     shlibpath_var=LD_LIBRARY_PATH
9790   else
9791     # With GCC up to 2.95.x, collect2 would create an import file
9792     # for dependence libraries.  The import file would start with
9793     # the line `#! .'.  This would cause the generated library to
9794     # depend on `.', always an invalid library.  This was fixed in
9795     # development snapshots of GCC prior to 3.0.
9796     case $host_os in
9797       aix4 | aix4.[01] | aix4.[01].*)
9798       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9799            echo ' yes '
9800            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9801         :
9802       else
9803         can_build_shared=no
9804       fi
9805       ;;
9806     esac
9807     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9808     # soname into executable. Probably we can add versioning support to
9809     # collect2, so additional links can be useful in future.
9810     if test "$aix_use_runtimelinking" = yes; then
9811       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9812       # instead of lib<name>.a to let people know that these are not
9813       # typical AIX shared libraries.
9814       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9815     else
9816       # We preserve .a as extension for shared libraries through AIX4.2
9817       # and later when we are not doing run time linking.
9818       library_names_spec='${libname}${release}.a $libname.a'
9819       soname_spec='${libname}${release}${shared_ext}$major'
9820     fi
9821     shlibpath_var=LIBPATH
9822   fi
9823   ;;
9824
9825 amigaos*)
9826   case $host_cpu in
9827   powerpc)
9828     # Since July 2007 AmigaOS4 officially supports .so libraries.
9829     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9830     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9831     ;;
9832   m68k)
9833     library_names_spec='$libname.ixlibrary $libname.a'
9834     # Create ${libname}_ixlibrary.a entries in /sys/libs.
9835     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'
9836     ;;
9837   esac
9838   ;;
9839
9840 beos*)
9841   library_names_spec='${libname}${shared_ext}'
9842   dynamic_linker="$host_os ld.so"
9843   shlibpath_var=LIBRARY_PATH
9844   ;;
9845
9846 bsdi[45]*)
9847   version_type=linux # correct to gnu/linux during the next big refactor
9848   need_version=no
9849   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9850   soname_spec='${libname}${release}${shared_ext}$major'
9851   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9852   shlibpath_var=LD_LIBRARY_PATH
9853   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9854   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9855   # the default ld.so.conf also contains /usr/contrib/lib and
9856   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9857   # libtool to hard-code these into programs
9858   ;;
9859
9860 cygwin* | mingw* | pw32* | cegcc*)
9861   version_type=windows
9862   shrext_cmds=".dll"
9863   need_version=no
9864   need_lib_prefix=no
9865
9866   case $GCC,$cc_basename in
9867   yes,*)
9868     # gcc
9869     library_names_spec='$libname.dll.a'
9870     # DLL is installed to $(libdir)/../bin by postinstall_cmds
9871     postinstall_cmds='base_file=`basename \${file}`~
9872       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9873       dldir=$destdir/`dirname \$dlpath`~
9874       test -d \$dldir || mkdir -p \$dldir~
9875       $install_prog $dir/$dlname \$dldir/$dlname~
9876       chmod a+x \$dldir/$dlname~
9877       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9878         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9879       fi'
9880     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9881       dlpath=$dir/\$dldll~
9882        $RM \$dlpath'
9883     shlibpath_overrides_runpath=yes
9884
9885     case $host_os in
9886     cygwin*)
9887       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9888       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9889
9890       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9891       ;;
9892     mingw* | cegcc*)
9893       # MinGW DLLs use traditional 'lib' prefix
9894       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9895       ;;
9896     pw32*)
9897       # pw32 DLLs use 'pw' prefix rather than 'lib'
9898       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9899       ;;
9900     esac
9901     dynamic_linker='Win32 ld.exe'
9902     ;;
9903
9904   *,cl*)
9905     # Native MSVC
9906     libname_spec='$name'
9907     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9908     library_names_spec='${libname}.dll.lib'
9909
9910     case $build_os in
9911     mingw*)
9912       sys_lib_search_path_spec=
9913       lt_save_ifs=$IFS
9914       IFS=';'
9915       for lt_path in $LIB
9916       do
9917         IFS=$lt_save_ifs
9918         # Let DOS variable expansion print the short 8.3 style file name.
9919         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
9920         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
9921       done
9922       IFS=$lt_save_ifs
9923       # Convert to MSYS style.
9924       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
9925       ;;
9926     cygwin*)
9927       # Convert to unix form, then to dos form, then back to unix form
9928       # but this time dos style (no spaces!) so that the unix form looks
9929       # like /cygdrive/c/PROGRA~1:/cygdr...
9930       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
9931       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
9932       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9933       ;;
9934     *)
9935       sys_lib_search_path_spec="$LIB"
9936       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9937         # It is most probably a Windows format PATH.
9938         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9939       else
9940         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9941       fi
9942       # FIXME: find the short name or the path components, as spaces are
9943       # common. (e.g. "Program Files" -> "PROGRA~1")
9944       ;;
9945     esac
9946
9947     # DLL is installed to $(libdir)/../bin by postinstall_cmds
9948     postinstall_cmds='base_file=`basename \${file}`~
9949       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9950       dldir=$destdir/`dirname \$dlpath`~
9951       test -d \$dldir || mkdir -p \$dldir~
9952       $install_prog $dir/$dlname \$dldir/$dlname'
9953     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9954       dlpath=$dir/\$dldll~
9955        $RM \$dlpath'
9956     shlibpath_overrides_runpath=yes
9957     dynamic_linker='Win32 link.exe'
9958     ;;
9959
9960   *)
9961     # Assume MSVC wrapper
9962     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9963     dynamic_linker='Win32 ld.exe'
9964     ;;
9965   esac
9966   # FIXME: first we should search . and the directory the executable is in
9967   shlibpath_var=PATH
9968   ;;
9969
9970 darwin* | rhapsody*)
9971   dynamic_linker="$host_os dyld"
9972   version_type=darwin
9973   need_lib_prefix=no
9974   need_version=no
9975   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9976   soname_spec='${libname}${release}${major}$shared_ext'
9977   shlibpath_overrides_runpath=yes
9978   shlibpath_var=DYLD_LIBRARY_PATH
9979   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9980
9981   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9982   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9983   ;;
9984
9985 dgux*)
9986   version_type=linux # correct to gnu/linux during the next big refactor
9987   need_lib_prefix=no
9988   need_version=no
9989   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9990   soname_spec='${libname}${release}${shared_ext}$major'
9991   shlibpath_var=LD_LIBRARY_PATH
9992   ;;
9993
9994 freebsd* | dragonfly*)
9995   # DragonFly does not have aout.  When/if they implement a new
9996   # versioning mechanism, adjust this.
9997   if test -x /usr/bin/objformat; then
9998     objformat=`/usr/bin/objformat`
9999   else
10000     case $host_os in
10001     freebsd[23].*) objformat=aout ;;
10002     *) objformat=elf ;;
10003     esac
10004   fi
10005   version_type=freebsd-$objformat
10006   case $version_type in
10007     freebsd-elf*)
10008       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10009       need_version=no
10010       need_lib_prefix=no
10011       ;;
10012     freebsd-*)
10013       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10014       need_version=yes
10015       ;;
10016   esac
10017   shlibpath_var=LD_LIBRARY_PATH
10018   case $host_os in
10019   freebsd2.*)
10020     shlibpath_overrides_runpath=yes
10021     ;;
10022   freebsd3.[01]* | freebsdelf3.[01]*)
10023     shlibpath_overrides_runpath=yes
10024     hardcode_into_libs=yes
10025     ;;
10026   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10027   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10028     shlibpath_overrides_runpath=no
10029     hardcode_into_libs=yes
10030     ;;
10031   *) # from 4.6 on, and DragonFly
10032     shlibpath_overrides_runpath=yes
10033     hardcode_into_libs=yes
10034     ;;
10035   esac
10036   ;;
10037
10038 gnu*)
10039   version_type=linux # correct to gnu/linux during the next big refactor
10040   need_lib_prefix=no
10041   need_version=no
10042   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10043   soname_spec='${libname}${release}${shared_ext}$major'
10044   shlibpath_var=LD_LIBRARY_PATH
10045   shlibpath_overrides_runpath=no
10046   hardcode_into_libs=yes
10047   ;;
10048
10049 haiku*)
10050   version_type=linux # correct to gnu/linux during the next big refactor
10051   need_lib_prefix=no
10052   need_version=no
10053   dynamic_linker="$host_os runtime_loader"
10054   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10055   soname_spec='${libname}${release}${shared_ext}$major'
10056   shlibpath_var=LIBRARY_PATH
10057   shlibpath_overrides_runpath=yes
10058   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10059   hardcode_into_libs=yes
10060   ;;
10061
10062 hpux9* | hpux10* | hpux11*)
10063   # Give a soname corresponding to the major version so that dld.sl refuses to
10064   # link against other versions.
10065   version_type=sunos
10066   need_lib_prefix=no
10067   need_version=no
10068   case $host_cpu in
10069   ia64*)
10070     shrext_cmds='.so'
10071     hardcode_into_libs=yes
10072     dynamic_linker="$host_os dld.so"
10073     shlibpath_var=LD_LIBRARY_PATH
10074     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10075     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10076     soname_spec='${libname}${release}${shared_ext}$major'
10077     if test "X$HPUX_IA64_MODE" = X32; then
10078       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10079     else
10080       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10081     fi
10082     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10083     ;;
10084   hppa*64*)
10085     shrext_cmds='.sl'
10086     hardcode_into_libs=yes
10087     dynamic_linker="$host_os dld.sl"
10088     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10089     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10090     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10091     soname_spec='${libname}${release}${shared_ext}$major'
10092     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10093     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10094     ;;
10095   *)
10096     shrext_cmds='.sl'
10097     dynamic_linker="$host_os dld.sl"
10098     shlibpath_var=SHLIB_PATH
10099     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10100     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10101     soname_spec='${libname}${release}${shared_ext}$major'
10102     ;;
10103   esac
10104   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10105   postinstall_cmds='chmod 555 $lib'
10106   # or fails outright, so override atomically:
10107   install_override_mode=555
10108   ;;
10109
10110 interix[3-9]*)
10111   version_type=linux # correct to gnu/linux during the next big refactor
10112   need_lib_prefix=no
10113   need_version=no
10114   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10115   soname_spec='${libname}${release}${shared_ext}$major'
10116   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10117   shlibpath_var=LD_LIBRARY_PATH
10118   shlibpath_overrides_runpath=no
10119   hardcode_into_libs=yes
10120   ;;
10121
10122 irix5* | irix6* | nonstopux*)
10123   case $host_os in
10124     nonstopux*) version_type=nonstopux ;;
10125     *)
10126         if test "$lt_cv_prog_gnu_ld" = yes; then
10127                 version_type=linux # correct to gnu/linux during the next big refactor
10128         else
10129                 version_type=irix
10130         fi ;;
10131   esac
10132   need_lib_prefix=no
10133   need_version=no
10134   soname_spec='${libname}${release}${shared_ext}$major'
10135   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10136   case $host_os in
10137   irix5* | nonstopux*)
10138     libsuff= shlibsuff=
10139     ;;
10140   *)
10141     case $LD in # libtool.m4 will add one of these switches to LD
10142     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10143       libsuff= shlibsuff= libmagic=32-bit;;
10144     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10145       libsuff=32 shlibsuff=N32 libmagic=N32;;
10146     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10147       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10148     *) libsuff= shlibsuff= libmagic=never-match;;
10149     esac
10150     ;;
10151   esac
10152   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10153   shlibpath_overrides_runpath=no
10154   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10155   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10156   hardcode_into_libs=yes
10157   ;;
10158
10159 # No shared lib support for Linux oldld, aout, or coff.
10160 linux*oldld* | linux*aout* | linux*coff*)
10161   dynamic_linker=no
10162   ;;
10163
10164 # This must be glibc/ELF.
10165 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10166   version_type=linux # correct to gnu/linux during the next big refactor
10167   need_lib_prefix=no
10168   need_version=no
10169   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10170   soname_spec='${libname}${release}${shared_ext}$major'
10171   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10172   shlibpath_var=LD_LIBRARY_PATH
10173   shlibpath_overrides_runpath=no
10174
10175   # Some binutils ld are patched to set DT_RUNPATH
10176   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10177   $as_echo_n "(cached) " >&6
10178 else
10179   lt_cv_shlibpath_overrides_runpath=no
10180     save_LDFLAGS=$LDFLAGS
10181     save_libdir=$libdir
10182     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10183          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10184     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10185 /* end confdefs.h.  */
10186
10187 int
10188 main ()
10189 {
10190
10191   ;
10192   return 0;
10193 }
10194 _ACEOF
10195 if ac_fn_c_try_link "$LINENO"; then :
10196   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10197   lt_cv_shlibpath_overrides_runpath=yes
10198 fi
10199 fi
10200 rm -f core conftest.err conftest.$ac_objext \
10201     conftest$ac_exeext conftest.$ac_ext
10202     LDFLAGS=$save_LDFLAGS
10203     libdir=$save_libdir
10204
10205 fi
10206
10207   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10208
10209   # This implies no fast_install, which is unacceptable.
10210   # Some rework will be needed to allow for fast_install
10211   # before this can be enabled.
10212   hardcode_into_libs=yes
10213
10214   # Append ld.so.conf contents to the search path
10215   if test -f /etc/ld.so.conf; then
10216     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' ' '`
10217     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10218   fi
10219
10220   # We used to test for /lib/ld.so.1 and disable shared libraries on
10221   # powerpc, because MkLinux only supported shared libraries with the
10222   # GNU dynamic linker.  Since this was broken with cross compilers,
10223   # most powerpc-linux boxes support dynamic linking these days and
10224   # people can always --disable-shared, the test was removed, and we
10225   # assume the GNU/Linux dynamic linker is in use.
10226   dynamic_linker='GNU/Linux ld.so'
10227   ;;
10228
10229 netbsdelf*-gnu)
10230   version_type=linux
10231   need_lib_prefix=no
10232   need_version=no
10233   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10234   soname_spec='${libname}${release}${shared_ext}$major'
10235   shlibpath_var=LD_LIBRARY_PATH
10236   shlibpath_overrides_runpath=no
10237   hardcode_into_libs=yes
10238   dynamic_linker='NetBSD ld.elf_so'
10239   ;;
10240
10241 netbsd*)
10242   version_type=sunos
10243   need_lib_prefix=no
10244   need_version=no
10245   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10246     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10247     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10248     dynamic_linker='NetBSD (a.out) ld.so'
10249   else
10250     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10251     soname_spec='${libname}${release}${shared_ext}$major'
10252     dynamic_linker='NetBSD ld.elf_so'
10253   fi
10254   shlibpath_var=LD_LIBRARY_PATH
10255   shlibpath_overrides_runpath=yes
10256   hardcode_into_libs=yes
10257   ;;
10258
10259 newsos6)
10260   version_type=linux # correct to gnu/linux during the next big refactor
10261   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10262   shlibpath_var=LD_LIBRARY_PATH
10263   shlibpath_overrides_runpath=yes
10264   ;;
10265
10266 *nto* | *qnx*)
10267   version_type=qnx
10268   need_lib_prefix=no
10269   need_version=no
10270   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10271   soname_spec='${libname}${release}${shared_ext}$major'
10272   shlibpath_var=LD_LIBRARY_PATH
10273   shlibpath_overrides_runpath=no
10274   hardcode_into_libs=yes
10275   dynamic_linker='ldqnx.so'
10276   ;;
10277
10278 openbsd*)
10279   version_type=sunos
10280   sys_lib_dlsearch_path_spec="/usr/lib"
10281   need_lib_prefix=no
10282   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10283   case $host_os in
10284     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10285     *)                          need_version=no  ;;
10286   esac
10287   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10288   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10289   shlibpath_var=LD_LIBRARY_PATH
10290   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10291     case $host_os in
10292       openbsd2.[89] | openbsd2.[89].*)
10293         shlibpath_overrides_runpath=no
10294         ;;
10295       *)
10296         shlibpath_overrides_runpath=yes
10297         ;;
10298       esac
10299   else
10300     shlibpath_overrides_runpath=yes
10301   fi
10302   ;;
10303
10304 os2*)
10305   libname_spec='$name'
10306   shrext_cmds=".dll"
10307   need_lib_prefix=no
10308   library_names_spec='$libname${shared_ext} $libname.a'
10309   dynamic_linker='OS/2 ld.exe'
10310   shlibpath_var=LIBPATH
10311   ;;
10312
10313 osf3* | osf4* | osf5*)
10314   version_type=osf
10315   need_lib_prefix=no
10316   need_version=no
10317   soname_spec='${libname}${release}${shared_ext}$major'
10318   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10319   shlibpath_var=LD_LIBRARY_PATH
10320   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10321   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10322   ;;
10323
10324 rdos*)
10325   dynamic_linker=no
10326   ;;
10327
10328 solaris*)
10329   version_type=linux # correct to gnu/linux during the next big refactor
10330   need_lib_prefix=no
10331   need_version=no
10332   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10333   soname_spec='${libname}${release}${shared_ext}$major'
10334   shlibpath_var=LD_LIBRARY_PATH
10335   shlibpath_overrides_runpath=yes
10336   hardcode_into_libs=yes
10337   # ldd complains unless libraries are executable
10338   postinstall_cmds='chmod +x $lib'
10339   ;;
10340
10341 sunos4*)
10342   version_type=sunos
10343   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10344   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10345   shlibpath_var=LD_LIBRARY_PATH
10346   shlibpath_overrides_runpath=yes
10347   if test "$with_gnu_ld" = yes; then
10348     need_lib_prefix=no
10349   fi
10350   need_version=yes
10351   ;;
10352
10353 sysv4 | sysv4.3*)
10354   version_type=linux # correct to gnu/linux during the next big refactor
10355   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10356   soname_spec='${libname}${release}${shared_ext}$major'
10357   shlibpath_var=LD_LIBRARY_PATH
10358   case $host_vendor in
10359     sni)
10360       shlibpath_overrides_runpath=no
10361       need_lib_prefix=no
10362       runpath_var=LD_RUN_PATH
10363       ;;
10364     siemens)
10365       need_lib_prefix=no
10366       ;;
10367     motorola)
10368       need_lib_prefix=no
10369       need_version=no
10370       shlibpath_overrides_runpath=no
10371       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10372       ;;
10373   esac
10374   ;;
10375
10376 sysv4*MP*)
10377   if test -d /usr/nec ;then
10378     version_type=linux # correct to gnu/linux during the next big refactor
10379     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10380     soname_spec='$libname${shared_ext}.$major'
10381     shlibpath_var=LD_LIBRARY_PATH
10382   fi
10383   ;;
10384
10385 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10386   version_type=freebsd-elf
10387   need_lib_prefix=no
10388   need_version=no
10389   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10390   soname_spec='${libname}${release}${shared_ext}$major'
10391   shlibpath_var=LD_LIBRARY_PATH
10392   shlibpath_overrides_runpath=yes
10393   hardcode_into_libs=yes
10394   if test "$with_gnu_ld" = yes; then
10395     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10396   else
10397     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10398     case $host_os in
10399       sco3.2v5*)
10400         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10401         ;;
10402     esac
10403   fi
10404   sys_lib_dlsearch_path_spec='/usr/lib'
10405   ;;
10406
10407 tpf*)
10408   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
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   shlibpath_var=LD_LIBRARY_PATH
10414   shlibpath_overrides_runpath=no
10415   hardcode_into_libs=yes
10416   ;;
10417
10418 uts4*)
10419   version_type=linux # correct to gnu/linux during the next big refactor
10420   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10421   soname_spec='${libname}${release}${shared_ext}$major'
10422   shlibpath_var=LD_LIBRARY_PATH
10423   ;;
10424
10425 *)
10426   dynamic_linker=no
10427   ;;
10428 esac
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10430 $as_echo "$dynamic_linker" >&6; }
10431 test "$dynamic_linker" = no && can_build_shared=no
10432
10433 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10434 if test "$GCC" = yes; then
10435   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10436 fi
10437
10438 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10439   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10440 fi
10441 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10442   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10443 fi
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10537 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10538 hardcode_action=
10539 if test -n "$hardcode_libdir_flag_spec" ||
10540    test -n "$runpath_var" ||
10541    test "X$hardcode_automatic" = "Xyes" ; then
10542
10543   # We can hardcode non-existent directories.
10544   if test "$hardcode_direct" != no &&
10545      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10546      # have to relink, otherwise we might link with an installed library
10547      # when we should be linking with a yet-to-be-installed one
10548      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10549      test "$hardcode_minus_L" != no; then
10550     # Linking always hardcodes the temporary library directory.
10551     hardcode_action=relink
10552   else
10553     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10554     hardcode_action=immediate
10555   fi
10556 else
10557   # We cannot hardcode anything, or else we can only hardcode existing
10558   # directories.
10559   hardcode_action=unsupported
10560 fi
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10562 $as_echo "$hardcode_action" >&6; }
10563
10564 if test "$hardcode_action" = relink ||
10565    test "$inherit_rpath" = yes; then
10566   # Fast installation is not supported
10567   enable_fast_install=no
10568 elif test "$shlibpath_overrides_runpath" = yes ||
10569      test "$enable_shared" = no; then
10570   # Fast installation is not necessary
10571   enable_fast_install=needless
10572 fi
10573
10574
10575
10576
10577
10578
10579   if test "x$enable_dlopen" != xyes; then
10580   enable_dlopen=unknown
10581   enable_dlopen_self=unknown
10582   enable_dlopen_self_static=unknown
10583 else
10584   lt_cv_dlopen=no
10585   lt_cv_dlopen_libs=
10586
10587   case $host_os in
10588   beos*)
10589     lt_cv_dlopen="load_add_on"
10590     lt_cv_dlopen_libs=
10591     lt_cv_dlopen_self=yes
10592     ;;
10593
10594   mingw* | pw32* | cegcc*)
10595     lt_cv_dlopen="LoadLibrary"
10596     lt_cv_dlopen_libs=
10597     ;;
10598
10599   cygwin*)
10600     lt_cv_dlopen="dlopen"
10601     lt_cv_dlopen_libs=
10602     ;;
10603
10604   darwin*)
10605   # if libdl is installed we need to link against it
10606     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10607 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10608 if ${ac_cv_lib_dl_dlopen+:} false; then :
10609   $as_echo_n "(cached) " >&6
10610 else
10611   ac_check_lib_save_LIBS=$LIBS
10612 LIBS="-ldl  $LIBS"
10613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10614 /* end confdefs.h.  */
10615
10616 /* Override any GCC internal prototype to avoid an error.
10617    Use char because int might match the return type of a GCC
10618    builtin and then its argument prototype would still apply.  */
10619 #ifdef __cplusplus
10620 extern "C"
10621 #endif
10622 char dlopen ();
10623 int
10624 main ()
10625 {
10626 return dlopen ();
10627   ;
10628   return 0;
10629 }
10630 _ACEOF
10631 if ac_fn_c_try_link "$LINENO"; then :
10632   ac_cv_lib_dl_dlopen=yes
10633 else
10634   ac_cv_lib_dl_dlopen=no
10635 fi
10636 rm -f core conftest.err conftest.$ac_objext \
10637     conftest$ac_exeext conftest.$ac_ext
10638 LIBS=$ac_check_lib_save_LIBS
10639 fi
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10641 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10642 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10643   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10644 else
10645
10646     lt_cv_dlopen="dyld"
10647     lt_cv_dlopen_libs=
10648     lt_cv_dlopen_self=yes
10649
10650 fi
10651
10652     ;;
10653
10654   *)
10655     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10656 if test "x$ac_cv_func_shl_load" = xyes; then :
10657   lt_cv_dlopen="shl_load"
10658 else
10659   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10660 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10661 if ${ac_cv_lib_dld_shl_load+:} false; then :
10662   $as_echo_n "(cached) " >&6
10663 else
10664   ac_check_lib_save_LIBS=$LIBS
10665 LIBS="-ldld  $LIBS"
10666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10667 /* end confdefs.h.  */
10668
10669 /* Override any GCC internal prototype to avoid an error.
10670    Use char because int might match the return type of a GCC
10671    builtin and then its argument prototype would still apply.  */
10672 #ifdef __cplusplus
10673 extern "C"
10674 #endif
10675 char shl_load ();
10676 int
10677 main ()
10678 {
10679 return shl_load ();
10680   ;
10681   return 0;
10682 }
10683 _ACEOF
10684 if ac_fn_c_try_link "$LINENO"; then :
10685   ac_cv_lib_dld_shl_load=yes
10686 else
10687   ac_cv_lib_dld_shl_load=no
10688 fi
10689 rm -f core conftest.err conftest.$ac_objext \
10690     conftest$ac_exeext conftest.$ac_ext
10691 LIBS=$ac_check_lib_save_LIBS
10692 fi
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10694 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10695 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10696   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10697 else
10698   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10699 if test "x$ac_cv_func_dlopen" = xyes; then :
10700   lt_cv_dlopen="dlopen"
10701 else
10702   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10703 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10704 if ${ac_cv_lib_dl_dlopen+:} false; then :
10705   $as_echo_n "(cached) " >&6
10706 else
10707   ac_check_lib_save_LIBS=$LIBS
10708 LIBS="-ldl  $LIBS"
10709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10710 /* end confdefs.h.  */
10711
10712 /* Override any GCC internal prototype to avoid an error.
10713    Use char because int might match the return type of a GCC
10714    builtin and then its argument prototype would still apply.  */
10715 #ifdef __cplusplus
10716 extern "C"
10717 #endif
10718 char dlopen ();
10719 int
10720 main ()
10721 {
10722 return dlopen ();
10723   ;
10724   return 0;
10725 }
10726 _ACEOF
10727 if ac_fn_c_try_link "$LINENO"; then :
10728   ac_cv_lib_dl_dlopen=yes
10729 else
10730   ac_cv_lib_dl_dlopen=no
10731 fi
10732 rm -f core conftest.err conftest.$ac_objext \
10733     conftest$ac_exeext conftest.$ac_ext
10734 LIBS=$ac_check_lib_save_LIBS
10735 fi
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10737 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10738 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10739   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10740 else
10741   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10742 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10743 if ${ac_cv_lib_svld_dlopen+:} false; then :
10744   $as_echo_n "(cached) " >&6
10745 else
10746   ac_check_lib_save_LIBS=$LIBS
10747 LIBS="-lsvld  $LIBS"
10748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10749 /* end confdefs.h.  */
10750
10751 /* Override any GCC internal prototype to avoid an error.
10752    Use char because int might match the return type of a GCC
10753    builtin and then its argument prototype would still apply.  */
10754 #ifdef __cplusplus
10755 extern "C"
10756 #endif
10757 char dlopen ();
10758 int
10759 main ()
10760 {
10761 return dlopen ();
10762   ;
10763   return 0;
10764 }
10765 _ACEOF
10766 if ac_fn_c_try_link "$LINENO"; then :
10767   ac_cv_lib_svld_dlopen=yes
10768 else
10769   ac_cv_lib_svld_dlopen=no
10770 fi
10771 rm -f core conftest.err conftest.$ac_objext \
10772     conftest$ac_exeext conftest.$ac_ext
10773 LIBS=$ac_check_lib_save_LIBS
10774 fi
10775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10776 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10777 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10778   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10779 else
10780   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10781 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10782 if ${ac_cv_lib_dld_dld_link+:} false; then :
10783   $as_echo_n "(cached) " >&6
10784 else
10785   ac_check_lib_save_LIBS=$LIBS
10786 LIBS="-ldld  $LIBS"
10787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10788 /* end confdefs.h.  */
10789
10790 /* Override any GCC internal prototype to avoid an error.
10791    Use char because int might match the return type of a GCC
10792    builtin and then its argument prototype would still apply.  */
10793 #ifdef __cplusplus
10794 extern "C"
10795 #endif
10796 char dld_link ();
10797 int
10798 main ()
10799 {
10800 return dld_link ();
10801   ;
10802   return 0;
10803 }
10804 _ACEOF
10805 if ac_fn_c_try_link "$LINENO"; then :
10806   ac_cv_lib_dld_dld_link=yes
10807 else
10808   ac_cv_lib_dld_dld_link=no
10809 fi
10810 rm -f core conftest.err conftest.$ac_objext \
10811     conftest$ac_exeext conftest.$ac_ext
10812 LIBS=$ac_check_lib_save_LIBS
10813 fi
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10815 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10816 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10817   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10818 fi
10819
10820
10821 fi
10822
10823
10824 fi
10825
10826
10827 fi
10828
10829
10830 fi
10831
10832
10833 fi
10834
10835     ;;
10836   esac
10837
10838   if test "x$lt_cv_dlopen" != xno; then
10839     enable_dlopen=yes
10840   else
10841     enable_dlopen=no
10842   fi
10843
10844   case $lt_cv_dlopen in
10845   dlopen)
10846     save_CPPFLAGS="$CPPFLAGS"
10847     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10848
10849     save_LDFLAGS="$LDFLAGS"
10850     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10851
10852     save_LIBS="$LIBS"
10853     LIBS="$lt_cv_dlopen_libs $LIBS"
10854
10855     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10856 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10857 if ${lt_cv_dlopen_self+:} false; then :
10858   $as_echo_n "(cached) " >&6
10859 else
10860           if test "$cross_compiling" = yes; then :
10861   lt_cv_dlopen_self=cross
10862 else
10863   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10864   lt_status=$lt_dlunknown
10865   cat > conftest.$ac_ext <<_LT_EOF
10866 #line $LINENO "configure"
10867 #include "confdefs.h"
10868
10869 #if HAVE_DLFCN_H
10870 #include <dlfcn.h>
10871 #endif
10872
10873 #include <stdio.h>
10874
10875 #ifdef RTLD_GLOBAL
10876 #  define LT_DLGLOBAL           RTLD_GLOBAL
10877 #else
10878 #  ifdef DL_GLOBAL
10879 #    define LT_DLGLOBAL         DL_GLOBAL
10880 #  else
10881 #    define LT_DLGLOBAL         0
10882 #  endif
10883 #endif
10884
10885 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10886    find out it does not work in some platform. */
10887 #ifndef LT_DLLAZY_OR_NOW
10888 #  ifdef RTLD_LAZY
10889 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10890 #  else
10891 #    ifdef DL_LAZY
10892 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10893 #    else
10894 #      ifdef RTLD_NOW
10895 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10896 #      else
10897 #        ifdef DL_NOW
10898 #          define LT_DLLAZY_OR_NOW      DL_NOW
10899 #        else
10900 #          define LT_DLLAZY_OR_NOW      0
10901 #        endif
10902 #      endif
10903 #    endif
10904 #  endif
10905 #endif
10906
10907 /* When -fvisbility=hidden is used, assume the code has been annotated
10908    correspondingly for the symbols needed.  */
10909 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10910 int fnord () __attribute__((visibility("default")));
10911 #endif
10912
10913 int fnord () { return 42; }
10914 int main ()
10915 {
10916   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10917   int status = $lt_dlunknown;
10918
10919   if (self)
10920     {
10921       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10922       else
10923         {
10924           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
10925           else puts (dlerror ());
10926         }
10927       /* dlclose (self); */
10928     }
10929   else
10930     puts (dlerror ());
10931
10932   return status;
10933 }
10934 _LT_EOF
10935   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10936   (eval $ac_link) 2>&5
10937   ac_status=$?
10938   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10939   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10940     (./conftest; exit; ) >&5 2>/dev/null
10941     lt_status=$?
10942     case x$lt_status in
10943       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10944       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10945       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10946     esac
10947   else :
10948     # compilation failed
10949     lt_cv_dlopen_self=no
10950   fi
10951 fi
10952 rm -fr conftest*
10953
10954
10955 fi
10956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10957 $as_echo "$lt_cv_dlopen_self" >&6; }
10958
10959     if test "x$lt_cv_dlopen_self" = xyes; then
10960       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10961       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10962 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10963 if ${lt_cv_dlopen_self_static+:} false; then :
10964   $as_echo_n "(cached) " >&6
10965 else
10966           if test "$cross_compiling" = yes; then :
10967   lt_cv_dlopen_self_static=cross
10968 else
10969   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10970   lt_status=$lt_dlunknown
10971   cat > conftest.$ac_ext <<_LT_EOF
10972 #line $LINENO "configure"
10973 #include "confdefs.h"
10974
10975 #if HAVE_DLFCN_H
10976 #include <dlfcn.h>
10977 #endif
10978
10979 #include <stdio.h>
10980
10981 #ifdef RTLD_GLOBAL
10982 #  define LT_DLGLOBAL           RTLD_GLOBAL
10983 #else
10984 #  ifdef DL_GLOBAL
10985 #    define LT_DLGLOBAL         DL_GLOBAL
10986 #  else
10987 #    define LT_DLGLOBAL         0
10988 #  endif
10989 #endif
10990
10991 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10992    find out it does not work in some platform. */
10993 #ifndef LT_DLLAZY_OR_NOW
10994 #  ifdef RTLD_LAZY
10995 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10996 #  else
10997 #    ifdef DL_LAZY
10998 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10999 #    else
11000 #      ifdef RTLD_NOW
11001 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11002 #      else
11003 #        ifdef DL_NOW
11004 #          define LT_DLLAZY_OR_NOW      DL_NOW
11005 #        else
11006 #          define LT_DLLAZY_OR_NOW      0
11007 #        endif
11008 #      endif
11009 #    endif
11010 #  endif
11011 #endif
11012
11013 /* When -fvisbility=hidden is used, assume the code has been annotated
11014    correspondingly for the symbols needed.  */
11015 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11016 int fnord () __attribute__((visibility("default")));
11017 #endif
11018
11019 int fnord () { return 42; }
11020 int main ()
11021 {
11022   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11023   int status = $lt_dlunknown;
11024
11025   if (self)
11026     {
11027       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11028       else
11029         {
11030           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11031           else puts (dlerror ());
11032         }
11033       /* dlclose (self); */
11034     }
11035   else
11036     puts (dlerror ());
11037
11038   return status;
11039 }
11040 _LT_EOF
11041   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11042   (eval $ac_link) 2>&5
11043   ac_status=$?
11044   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11045   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11046     (./conftest; exit; ) >&5 2>/dev/null
11047     lt_status=$?
11048     case x$lt_status in
11049       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11050       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11051       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11052     esac
11053   else :
11054     # compilation failed
11055     lt_cv_dlopen_self_static=no
11056   fi
11057 fi
11058 rm -fr conftest*
11059
11060
11061 fi
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11063 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11064     fi
11065
11066     CPPFLAGS="$save_CPPFLAGS"
11067     LDFLAGS="$save_LDFLAGS"
11068     LIBS="$save_LIBS"
11069     ;;
11070   esac
11071
11072   case $lt_cv_dlopen_self in
11073   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11074   *) enable_dlopen_self=unknown ;;
11075   esac
11076
11077   case $lt_cv_dlopen_self_static in
11078   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11079   *) enable_dlopen_self_static=unknown ;;
11080   esac
11081 fi
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099 striplib=
11100 old_striplib=
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11102 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11103 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11104   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11105   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11107 $as_echo "yes" >&6; }
11108 else
11109 # FIXME - insert some real tests, host_os isn't really good enough
11110   case $host_os in
11111   darwin*)
11112     if test -n "$STRIP" ; then
11113       striplib="$STRIP -x"
11114       old_striplib="$STRIP -S"
11115       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11116 $as_echo "yes" >&6; }
11117     else
11118       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11119 $as_echo "no" >&6; }
11120     fi
11121     ;;
11122   *)
11123     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11124 $as_echo "no" >&6; }
11125     ;;
11126   esac
11127 fi
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140   # Report which library types will actually be built
11141   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11142 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11144 $as_echo "$can_build_shared" >&6; }
11145
11146   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11147 $as_echo_n "checking whether to build shared libraries... " >&6; }
11148   test "$can_build_shared" = "no" && enable_shared=no
11149
11150   # On AIX, shared libraries and static libraries use the same namespace, and
11151   # are all built from PIC.
11152   case $host_os in
11153   aix3*)
11154     test "$enable_shared" = yes && enable_static=no
11155     if test -n "$RANLIB"; then
11156       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11157       postinstall_cmds='$RANLIB $lib'
11158     fi
11159     ;;
11160
11161   aix[4-9]*)
11162     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11163       test "$enable_shared" = yes && enable_static=no
11164     fi
11165     ;;
11166   esac
11167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11168 $as_echo "$enable_shared" >&6; }
11169
11170   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11171 $as_echo_n "checking whether to build static libraries... " >&6; }
11172   # Make sure either enable_shared or enable_static is yes.
11173   test "$enable_shared" = yes || enable_static=yes
11174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11175 $as_echo "$enable_static" >&6; }
11176
11177
11178
11179
11180 fi
11181 ac_ext=c
11182 ac_cpp='$CPP $CPPFLAGS'
11183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11186
11187 CC="$lt_save_CC"
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203         ac_config_commands="$ac_config_commands libtool"
11204
11205
11206
11207
11208 # Only expand once:
11209
11210
11211 ac_ext=c
11212 ac_cpp='$CPP $CPPFLAGS'
11213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11216 if test -n "$ac_tool_prefix"; then
11217   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11218 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11220 $as_echo_n "checking for $ac_word... " >&6; }
11221 if ${ac_cv_prog_CC+:} false; then :
11222   $as_echo_n "(cached) " >&6
11223 else
11224   if test -n "$CC"; then
11225   ac_cv_prog_CC="$CC" # Let the user override the test.
11226 else
11227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11228 for as_dir in $PATH
11229 do
11230   IFS=$as_save_IFS
11231   test -z "$as_dir" && as_dir=.
11232     for ac_exec_ext in '' $ac_executable_extensions; do
11233   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11234     ac_cv_prog_CC="${ac_tool_prefix}gcc"
11235     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11236     break 2
11237   fi
11238 done
11239   done
11240 IFS=$as_save_IFS
11241
11242 fi
11243 fi
11244 CC=$ac_cv_prog_CC
11245 if test -n "$CC"; then
11246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11247 $as_echo "$CC" >&6; }
11248 else
11249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11250 $as_echo "no" >&6; }
11251 fi
11252
11253
11254 fi
11255 if test -z "$ac_cv_prog_CC"; then
11256   ac_ct_CC=$CC
11257   # Extract the first word of "gcc", so it can be a program name with args.
11258 set dummy gcc; ac_word=$2
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11260 $as_echo_n "checking for $ac_word... " >&6; }
11261 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11262   $as_echo_n "(cached) " >&6
11263 else
11264   if test -n "$ac_ct_CC"; then
11265   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11266 else
11267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11268 for as_dir in $PATH
11269 do
11270   IFS=$as_save_IFS
11271   test -z "$as_dir" && as_dir=.
11272     for ac_exec_ext in '' $ac_executable_extensions; do
11273   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11274     ac_cv_prog_ac_ct_CC="gcc"
11275     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11276     break 2
11277   fi
11278 done
11279   done
11280 IFS=$as_save_IFS
11281
11282 fi
11283 fi
11284 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11285 if test -n "$ac_ct_CC"; then
11286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11287 $as_echo "$ac_ct_CC" >&6; }
11288 else
11289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11290 $as_echo "no" >&6; }
11291 fi
11292
11293   if test "x$ac_ct_CC" = x; then
11294     CC=""
11295   else
11296     case $cross_compiling:$ac_tool_warned in
11297 yes:)
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11299 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11300 ac_tool_warned=yes ;;
11301 esac
11302     CC=$ac_ct_CC
11303   fi
11304 else
11305   CC="$ac_cv_prog_CC"
11306 fi
11307
11308 if test -z "$CC"; then
11309           if test -n "$ac_tool_prefix"; then
11310     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11311 set dummy ${ac_tool_prefix}cc; ac_word=$2
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11313 $as_echo_n "checking for $ac_word... " >&6; }
11314 if ${ac_cv_prog_CC+:} false; then :
11315   $as_echo_n "(cached) " >&6
11316 else
11317   if test -n "$CC"; then
11318   ac_cv_prog_CC="$CC" # Let the user override the test.
11319 else
11320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11321 for as_dir in $PATH
11322 do
11323   IFS=$as_save_IFS
11324   test -z "$as_dir" && as_dir=.
11325     for ac_exec_ext in '' $ac_executable_extensions; do
11326   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11327     ac_cv_prog_CC="${ac_tool_prefix}cc"
11328     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11329     break 2
11330   fi
11331 done
11332   done
11333 IFS=$as_save_IFS
11334
11335 fi
11336 fi
11337 CC=$ac_cv_prog_CC
11338 if test -n "$CC"; then
11339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11340 $as_echo "$CC" >&6; }
11341 else
11342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11343 $as_echo "no" >&6; }
11344 fi
11345
11346
11347   fi
11348 fi
11349 if test -z "$CC"; then
11350   # Extract the first word of "cc", so it can be a program name with args.
11351 set dummy cc; ac_word=$2
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11353 $as_echo_n "checking for $ac_word... " >&6; }
11354 if ${ac_cv_prog_CC+:} false; then :
11355   $as_echo_n "(cached) " >&6
11356 else
11357   if test -n "$CC"; then
11358   ac_cv_prog_CC="$CC" # Let the user override the test.
11359 else
11360   ac_prog_rejected=no
11361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11362 for as_dir in $PATH
11363 do
11364   IFS=$as_save_IFS
11365   test -z "$as_dir" && as_dir=.
11366     for ac_exec_ext in '' $ac_executable_extensions; do
11367   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11368     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11369        ac_prog_rejected=yes
11370        continue
11371      fi
11372     ac_cv_prog_CC="cc"
11373     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11374     break 2
11375   fi
11376 done
11377   done
11378 IFS=$as_save_IFS
11379
11380 if test $ac_prog_rejected = yes; then
11381   # We found a bogon in the path, so make sure we never use it.
11382   set dummy $ac_cv_prog_CC
11383   shift
11384   if test $# != 0; then
11385     # We chose a different compiler from the bogus one.
11386     # However, it has the same basename, so the bogon will be chosen
11387     # first if we set CC to just the basename; use the full file name.
11388     shift
11389     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11390   fi
11391 fi
11392 fi
11393 fi
11394 CC=$ac_cv_prog_CC
11395 if test -n "$CC"; then
11396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11397 $as_echo "$CC" >&6; }
11398 else
11399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11400 $as_echo "no" >&6; }
11401 fi
11402
11403
11404 fi
11405 if test -z "$CC"; then
11406   if test -n "$ac_tool_prefix"; then
11407   for ac_prog in cl.exe
11408   do
11409     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11410 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11412 $as_echo_n "checking for $ac_word... " >&6; }
11413 if ${ac_cv_prog_CC+:} false; then :
11414   $as_echo_n "(cached) " >&6
11415 else
11416   if test -n "$CC"; then
11417   ac_cv_prog_CC="$CC" # Let the user override the test.
11418 else
11419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11420 for as_dir in $PATH
11421 do
11422   IFS=$as_save_IFS
11423   test -z "$as_dir" && as_dir=.
11424     for ac_exec_ext in '' $ac_executable_extensions; do
11425   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11426     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11427     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11428     break 2
11429   fi
11430 done
11431   done
11432 IFS=$as_save_IFS
11433
11434 fi
11435 fi
11436 CC=$ac_cv_prog_CC
11437 if test -n "$CC"; then
11438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11439 $as_echo "$CC" >&6; }
11440 else
11441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11442 $as_echo "no" >&6; }
11443 fi
11444
11445
11446     test -n "$CC" && break
11447   done
11448 fi
11449 if test -z "$CC"; then
11450   ac_ct_CC=$CC
11451   for ac_prog in cl.exe
11452 do
11453   # Extract the first word of "$ac_prog", so it can be a program name with args.
11454 set dummy $ac_prog; ac_word=$2
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11456 $as_echo_n "checking for $ac_word... " >&6; }
11457 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11458   $as_echo_n "(cached) " >&6
11459 else
11460   if test -n "$ac_ct_CC"; then
11461   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11462 else
11463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11464 for as_dir in $PATH
11465 do
11466   IFS=$as_save_IFS
11467   test -z "$as_dir" && as_dir=.
11468     for ac_exec_ext in '' $ac_executable_extensions; do
11469   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11470     ac_cv_prog_ac_ct_CC="$ac_prog"
11471     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11472     break 2
11473   fi
11474 done
11475   done
11476 IFS=$as_save_IFS
11477
11478 fi
11479 fi
11480 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11481 if test -n "$ac_ct_CC"; then
11482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11483 $as_echo "$ac_ct_CC" >&6; }
11484 else
11485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11486 $as_echo "no" >&6; }
11487 fi
11488
11489
11490   test -n "$ac_ct_CC" && break
11491 done
11492
11493   if test "x$ac_ct_CC" = x; then
11494     CC=""
11495   else
11496     case $cross_compiling:$ac_tool_warned in
11497 yes:)
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11499 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11500 ac_tool_warned=yes ;;
11501 esac
11502     CC=$ac_ct_CC
11503   fi
11504 fi
11505
11506 fi
11507
11508
11509 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11511 as_fn_error $? "no acceptable C compiler found in \$PATH
11512 See \`config.log' for more details" "$LINENO" 5; }
11513
11514 # Provide some information about the compiler.
11515 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11516 set X $ac_compile
11517 ac_compiler=$2
11518 for ac_option in --version -v -V -qversion; do
11519   { { ac_try="$ac_compiler $ac_option >&5"
11520 case "(($ac_try" in
11521   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11522   *) ac_try_echo=$ac_try;;
11523 esac
11524 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11525 $as_echo "$ac_try_echo"; } >&5
11526   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11527   ac_status=$?
11528   if test -s conftest.err; then
11529     sed '10a\
11530 ... rest of stderr output deleted ...
11531          10q' conftest.err >conftest.er1
11532     cat conftest.er1 >&5
11533   fi
11534   rm -f conftest.er1 conftest.err
11535   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11536   test $ac_status = 0; }
11537 done
11538
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11540 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11541 if ${ac_cv_c_compiler_gnu+:} false; then :
11542   $as_echo_n "(cached) " >&6
11543 else
11544   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11545 /* end confdefs.h.  */
11546
11547 int
11548 main ()
11549 {
11550 #ifndef __GNUC__
11551        choke me
11552 #endif
11553
11554   ;
11555   return 0;
11556 }
11557 _ACEOF
11558 if ac_fn_c_try_compile "$LINENO"; then :
11559   ac_compiler_gnu=yes
11560 else
11561   ac_compiler_gnu=no
11562 fi
11563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11564 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11565
11566 fi
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11568 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11569 if test $ac_compiler_gnu = yes; then
11570   GCC=yes
11571 else
11572   GCC=
11573 fi
11574 ac_test_CFLAGS=${CFLAGS+set}
11575 ac_save_CFLAGS=$CFLAGS
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11577 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11578 if ${ac_cv_prog_cc_g+:} false; then :
11579   $as_echo_n "(cached) " >&6
11580 else
11581   ac_save_c_werror_flag=$ac_c_werror_flag
11582    ac_c_werror_flag=yes
11583    ac_cv_prog_cc_g=no
11584    CFLAGS="-g"
11585    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11586 /* end confdefs.h.  */
11587
11588 int
11589 main ()
11590 {
11591
11592   ;
11593   return 0;
11594 }
11595 _ACEOF
11596 if ac_fn_c_try_compile "$LINENO"; then :
11597   ac_cv_prog_cc_g=yes
11598 else
11599   CFLAGS=""
11600       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11601 /* end confdefs.h.  */
11602
11603 int
11604 main ()
11605 {
11606
11607   ;
11608   return 0;
11609 }
11610 _ACEOF
11611 if ac_fn_c_try_compile "$LINENO"; then :
11612
11613 else
11614   ac_c_werror_flag=$ac_save_c_werror_flag
11615          CFLAGS="-g"
11616          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11617 /* end confdefs.h.  */
11618
11619 int
11620 main ()
11621 {
11622
11623   ;
11624   return 0;
11625 }
11626 _ACEOF
11627 if ac_fn_c_try_compile "$LINENO"; then :
11628   ac_cv_prog_cc_g=yes
11629 fi
11630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11631 fi
11632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11633 fi
11634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11635    ac_c_werror_flag=$ac_save_c_werror_flag
11636 fi
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11638 $as_echo "$ac_cv_prog_cc_g" >&6; }
11639 if test "$ac_test_CFLAGS" = set; then
11640   CFLAGS=$ac_save_CFLAGS
11641 elif test $ac_cv_prog_cc_g = yes; then
11642   if test "$GCC" = yes; then
11643     CFLAGS="-g -O2"
11644   else
11645     CFLAGS="-g"
11646   fi
11647 else
11648   if test "$GCC" = yes; then
11649     CFLAGS="-O2"
11650   else
11651     CFLAGS=
11652   fi
11653 fi
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11655 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11656 if ${ac_cv_prog_cc_c89+:} false; then :
11657   $as_echo_n "(cached) " >&6
11658 else
11659   ac_cv_prog_cc_c89=no
11660 ac_save_CC=$CC
11661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11662 /* end confdefs.h.  */
11663 #include <stdarg.h>
11664 #include <stdio.h>
11665 struct stat;
11666 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
11667 struct buf { int x; };
11668 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11669 static char *e (p, i)
11670      char **p;
11671      int i;
11672 {
11673   return p[i];
11674 }
11675 static char *f (char * (*g) (char **, int), char **p, ...)
11676 {
11677   char *s;
11678   va_list v;
11679   va_start (v,p);
11680   s = g (p, va_arg (v,int));
11681   va_end (v);
11682   return s;
11683 }
11684
11685 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
11686    function prototypes and stuff, but not '\xHH' hex character constants.
11687    These don't provoke an error unfortunately, instead are silently treated
11688    as 'x'.  The following induces an error, until -std is added to get
11689    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
11690    array size at least.  It's necessary to write '\x00'==0 to get something
11691    that's true only with -std.  */
11692 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11693
11694 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11695    inside strings and character constants.  */
11696 #define FOO(x) 'x'
11697 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11698
11699 int test (int i, double x);
11700 struct s1 {int (*f) (int a);};
11701 struct s2 {int (*f) (double a);};
11702 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11703 int argc;
11704 char **argv;
11705 int
11706 main ()
11707 {
11708 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
11709   ;
11710   return 0;
11711 }
11712 _ACEOF
11713 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11714         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11715 do
11716   CC="$ac_save_CC $ac_arg"
11717   if ac_fn_c_try_compile "$LINENO"; then :
11718   ac_cv_prog_cc_c89=$ac_arg
11719 fi
11720 rm -f core conftest.err conftest.$ac_objext
11721   test "x$ac_cv_prog_cc_c89" != "xno" && break
11722 done
11723 rm -f conftest.$ac_ext
11724 CC=$ac_save_CC
11725
11726 fi
11727 # AC_CACHE_VAL
11728 case "x$ac_cv_prog_cc_c89" in
11729   x)
11730     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11731 $as_echo "none needed" >&6; } ;;
11732   xno)
11733     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11734 $as_echo "unsupported" >&6; } ;;
11735   *)
11736     CC="$CC $ac_cv_prog_cc_c89"
11737     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11738 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11739 esac
11740 if test "x$ac_cv_prog_cc_c89" != xno; then :
11741
11742 fi
11743
11744 ac_ext=c
11745 ac_cpp='$CPP $CPPFLAGS'
11746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11749
11750 depcc="$CC"   am_compiler_list=
11751
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11753 $as_echo_n "checking dependency style of $depcc... " >&6; }
11754 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
11755   $as_echo_n "(cached) " >&6
11756 else
11757   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11758   # We make a subdir and do the tests there.  Otherwise we can end up
11759   # making bogus files that we don't know about and never remove.  For
11760   # instance it was reported that on HP-UX the gcc test will end up
11761   # making a dummy file named `D' -- because `-MD' means `put the output
11762   # in D'.
11763   rm -rf conftest.dir
11764   mkdir conftest.dir
11765   # Copy depcomp to subdir because otherwise we won't find it if we're
11766   # using a relative directory.
11767   cp "$am_depcomp" conftest.dir
11768   cd conftest.dir
11769   # We will build objects and dependencies in a subdirectory because
11770   # it helps to detect inapplicable dependency modes.  For instance
11771   # both Tru64's cc and ICC support -MD to output dependencies as a
11772   # side effect of compilation, but ICC will put the dependencies in
11773   # the current directory while Tru64 will put them in the object
11774   # directory.
11775   mkdir sub
11776
11777   am_cv_CC_dependencies_compiler_type=none
11778   if test "$am_compiler_list" = ""; then
11779      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11780   fi
11781   am__universal=false
11782   case " $depcc " in #(
11783      *\ -arch\ *\ -arch\ *) am__universal=true ;;
11784      esac
11785
11786   for depmode in $am_compiler_list; do
11787     # Setup a source with many dependencies, because some compilers
11788     # like to wrap large dependency lists on column 80 (with \), and
11789     # we should not choose a depcomp mode which is confused by this.
11790     #
11791     # We need to recreate these files for each test, as the compiler may
11792     # overwrite some of them when testing with obscure command lines.
11793     # This happens at least with the AIX C compiler.
11794     : > sub/conftest.c
11795     for i in 1 2 3 4 5 6; do
11796       echo '#include "conftst'$i'.h"' >> sub/conftest.c
11797       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11798       # Solaris 8's {/usr,}/bin/sh.
11799       touch sub/conftst$i.h
11800     done
11801     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11802
11803     # We check with `-c' and `-o' for the sake of the "dashmstdout"
11804     # mode.  It turns out that the SunPro C++ compiler does not properly
11805     # handle `-M -o', and we need to detect this.  Also, some Intel
11806     # versions had trouble with output in subdirs
11807     am__obj=sub/conftest.${OBJEXT-o}
11808     am__minus_obj="-o $am__obj"
11809     case $depmode in
11810     gcc)
11811       # This depmode causes a compiler race in universal mode.
11812       test "$am__universal" = false || continue
11813       ;;
11814     nosideeffect)
11815       # after this tag, mechanisms are not by side-effect, so they'll
11816       # only be used when explicitly requested
11817       if test "x$enable_dependency_tracking" = xyes; then
11818         continue
11819       else
11820         break
11821       fi
11822       ;;
11823     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
11824       # This compiler won't grok `-c -o', but also, the minuso test has
11825       # not run yet.  These depmodes are late enough in the game, and
11826       # so weak that their functioning should not be impacted.
11827       am__obj=conftest.${OBJEXT-o}
11828       am__minus_obj=
11829       ;;
11830     none) break ;;
11831     esac
11832     if depmode=$depmode \
11833        source=sub/conftest.c object=$am__obj \
11834        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11835        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11836          >/dev/null 2>conftest.err &&
11837        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11838        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11839        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11840        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11841       # icc doesn't choke on unknown options, it will just issue warnings
11842       # or remarks (even with -Werror).  So we grep stderr for any message
11843       # that says an option was ignored or not supported.
11844       # When given -MP, icc 7.0 and 7.1 complain thusly:
11845       #   icc: Command line warning: ignoring option '-M'; no argument required
11846       # The diagnosis changed in icc 8.0:
11847       #   icc: Command line remark: option '-MP' not supported
11848       if (grep 'ignoring option' conftest.err ||
11849           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11850         am_cv_CC_dependencies_compiler_type=$depmode
11851         break
11852       fi
11853     fi
11854   done
11855
11856   cd ..
11857   rm -rf conftest.dir
11858 else
11859   am_cv_CC_dependencies_compiler_type=none
11860 fi
11861
11862 fi
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11864 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11865 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11866
11867  if
11868   test "x$enable_dependency_tracking" != xno \
11869   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
11870   am__fastdepCC_TRUE=
11871   am__fastdepCC_FALSE='#'
11872 else
11873   am__fastdepCC_TRUE='#'
11874   am__fastdepCC_FALSE=
11875 fi
11876
11877
11878
11879 # GUILE_FLAGS
11880
11881
11882
11883
11884
11885
11886
11887 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11888         if test -n "$ac_tool_prefix"; then
11889   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11890 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11892 $as_echo_n "checking for $ac_word... " >&6; }
11893 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11894   $as_echo_n "(cached) " >&6
11895 else
11896   case $PKG_CONFIG in
11897   [\\/]* | ?:[\\/]*)
11898   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11899   ;;
11900   *)
11901   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11902 for as_dir in $PATH
11903 do
11904   IFS=$as_save_IFS
11905   test -z "$as_dir" && as_dir=.
11906     for ac_exec_ext in '' $ac_executable_extensions; do
11907   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11908     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11909     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11910     break 2
11911   fi
11912 done
11913   done
11914 IFS=$as_save_IFS
11915
11916   ;;
11917 esac
11918 fi
11919 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11920 if test -n "$PKG_CONFIG"; then
11921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11922 $as_echo "$PKG_CONFIG" >&6; }
11923 else
11924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11925 $as_echo "no" >&6; }
11926 fi
11927
11928
11929 fi
11930 if test -z "$ac_cv_path_PKG_CONFIG"; then
11931   ac_pt_PKG_CONFIG=$PKG_CONFIG
11932   # Extract the first word of "pkg-config", so it can be a program name with args.
11933 set dummy pkg-config; ac_word=$2
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11935 $as_echo_n "checking for $ac_word... " >&6; }
11936 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11937   $as_echo_n "(cached) " >&6
11938 else
11939   case $ac_pt_PKG_CONFIG in
11940   [\\/]* | ?:[\\/]*)
11941   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11942   ;;
11943   *)
11944   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11945 for as_dir in $PATH
11946 do
11947   IFS=$as_save_IFS
11948   test -z "$as_dir" && as_dir=.
11949     for ac_exec_ext in '' $ac_executable_extensions; do
11950   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11951     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11952     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11953     break 2
11954   fi
11955 done
11956   done
11957 IFS=$as_save_IFS
11958
11959   ;;
11960 esac
11961 fi
11962 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11963 if test -n "$ac_pt_PKG_CONFIG"; then
11964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11965 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11966 else
11967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11968 $as_echo "no" >&6; }
11969 fi
11970
11971   if test "x$ac_pt_PKG_CONFIG" = x; then
11972     PKG_CONFIG=""
11973   else
11974     case $cross_compiling:$ac_tool_warned in
11975 yes:)
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11977 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11978 ac_tool_warned=yes ;;
11979 esac
11980     PKG_CONFIG=$ac_pt_PKG_CONFIG
11981   fi
11982 else
11983   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11984 fi
11985
11986 fi
11987 if test -n "$PKG_CONFIG"; then
11988         _pkg_min_version=0.9.0
11989         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11990 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11991         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11992                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11993 $as_echo "yes" >&6; }
11994         else
11995                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11996 $as_echo "no" >&6; }
11997                 PKG_CONFIG=""
11998         fi
11999 fi
12000
12001 pkg_failed=no
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUILE" >&5
12003 $as_echo_n "checking for GUILE... " >&6; }
12004
12005 if test -n "$GUILE_CFLAGS"; then
12006     pkg_cv_GUILE_CFLAGS="$GUILE_CFLAGS"
12007  elif test -n "$PKG_CONFIG"; then
12008     if test -n "$PKG_CONFIG" && \
12009     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"guile-2.0\""; } >&5
12010   ($PKG_CONFIG --exists --print-errors "guile-2.0") 2>&5
12011   ac_status=$?
12012   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12013   test $ac_status = 0; }; then
12014   pkg_cv_GUILE_CFLAGS=`$PKG_CONFIG --cflags "guile-2.0" 2>/dev/null`
12015                       test "x$?" != "x0" && pkg_failed=yes
12016 else
12017   pkg_failed=yes
12018 fi
12019  else
12020     pkg_failed=untried
12021 fi
12022 if test -n "$GUILE_LIBS"; then
12023     pkg_cv_GUILE_LIBS="$GUILE_LIBS"
12024  elif test -n "$PKG_CONFIG"; then
12025     if test -n "$PKG_CONFIG" && \
12026     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"guile-2.0\""; } >&5
12027   ($PKG_CONFIG --exists --print-errors "guile-2.0") 2>&5
12028   ac_status=$?
12029   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12030   test $ac_status = 0; }; then
12031   pkg_cv_GUILE_LIBS=`$PKG_CONFIG --libs "guile-2.0" 2>/dev/null`
12032                       test "x$?" != "x0" && pkg_failed=yes
12033 else
12034   pkg_failed=yes
12035 fi
12036  else
12037     pkg_failed=untried
12038 fi
12039
12040
12041
12042 if test $pkg_failed = yes; then
12043         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12044 $as_echo "no" >&6; }
12045
12046 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12047         _pkg_short_errors_supported=yes
12048 else
12049         _pkg_short_errors_supported=no
12050 fi
12051         if test $_pkg_short_errors_supported = yes; then
12052                 GUILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "guile-2.0" 2>&1`
12053         else
12054                 GUILE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "guile-2.0" 2>&1`
12055         fi
12056         # Put the nasty error message in config.log where it belongs
12057         echo "$GUILE_PKG_ERRORS" >&5
12058
12059         as_fn_error $? "Package requirements (guile-2.0) were not met:
12060
12061 $GUILE_PKG_ERRORS
12062
12063 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12064 installed software in a non-standard prefix.
12065
12066 Alternatively, you may set the environment variables GUILE_CFLAGS
12067 and GUILE_LIBS to avoid the need to call pkg-config.
12068 See the pkg-config man page for more details." "$LINENO" 5
12069 elif test $pkg_failed = untried; then
12070         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12071 $as_echo "no" >&6; }
12072         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12073 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12074 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12075 is in your PATH or set the PKG_CONFIG environment variable to the full
12076 path to pkg-config.
12077
12078 Alternatively, you may set the environment variables GUILE_CFLAGS
12079 and GUILE_LIBS to avoid the need to call pkg-config.
12080 See the pkg-config man page for more details.
12081
12082 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12083 See \`config.log' for more details" "$LINENO" 5; }
12084 else
12085         GUILE_CFLAGS=$pkg_cv_GUILE_CFLAGS
12086         GUILE_LIBS=$pkg_cv_GUILE_LIBS
12087         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12088 $as_echo "yes" >&6; }
12089
12090 fi
12091
12092
12093 for lib in SDL SDL_image SDL_gfx SDL_mixer ; do
12094         as_ac_Lib=`$as_echo "ac_cv_lib_${lib}''_main" | $as_tr_sh`
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -l${lib}" >&5
12096 $as_echo_n "checking for main in -l${lib}... " >&6; }
12097 if eval \${$as_ac_Lib+:} false; then :
12098   $as_echo_n "(cached) " >&6
12099 else
12100   ac_check_lib_save_LIBS=$LIBS
12101 LIBS="-l${lib}  $LIBS"
12102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12103 /* end confdefs.h.  */
12104
12105
12106 int
12107 main ()
12108 {
12109 return main ();
12110   ;
12111   return 0;
12112 }
12113 _ACEOF
12114 if ac_fn_c_try_link "$LINENO"; then :
12115   eval "$as_ac_Lib=yes"
12116 else
12117   eval "$as_ac_Lib=no"
12118 fi
12119 rm -f core conftest.err conftest.$ac_objext \
12120     conftest$ac_exeext conftest.$ac_ext
12121 LIBS=$ac_check_lib_save_LIBS
12122 fi
12123 eval ac_res=\$$as_ac_Lib
12124                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12125 $as_echo "$ac_res" >&6; }
12126 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
12127   SDL_LIBS="${SDL_LIBS} -l${lib}"
12128 else
12129   as_fn_error $? "*** ${lib} library not found!" "$LINENO" 5
12130 fi
12131
12132     done
12133
12134
12135 for lib in GL GLU ; do
12136         as_ac_Lib=`$as_echo "ac_cv_lib_${lib}''_main" | $as_tr_sh`
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -l${lib}" >&5
12138 $as_echo_n "checking for main in -l${lib}... " >&6; }
12139 if eval \${$as_ac_Lib+:} false; then :
12140   $as_echo_n "(cached) " >&6
12141 else
12142   ac_check_lib_save_LIBS=$LIBS
12143 LIBS="-l${lib}  $LIBS"
12144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12145 /* end confdefs.h.  */
12146
12147
12148 int
12149 main ()
12150 {
12151 return main ();
12152   ;
12153   return 0;
12154 }
12155 _ACEOF
12156 if ac_fn_c_try_link "$LINENO"; then :
12157   eval "$as_ac_Lib=yes"
12158 else
12159   eval "$as_ac_Lib=no"
12160 fi
12161 rm -f core conftest.err conftest.$ac_objext \
12162     conftest$ac_exeext conftest.$ac_ext
12163 LIBS=$ac_check_lib_save_LIBS
12164 fi
12165 eval ac_res=\$$as_ac_Lib
12166                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12167 $as_echo "$ac_res" >&6; }
12168 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
12169   GL_LIBS="${GL_LIBS} -l${lib}"
12170 else
12171   as_fn_error $? "*** ${lib} library not found!" "$LINENO" 5
12172 fi
12173
12174     done
12175
12176
12177 for lib in ftgl ; do
12178         as_ac_Lib=`$as_echo "ac_cv_lib_${lib}''_main" | $as_tr_sh`
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -l${lib}" >&5
12180 $as_echo_n "checking for main in -l${lib}... " >&6; }
12181 if eval \${$as_ac_Lib+:} false; then :
12182   $as_echo_n "(cached) " >&6
12183 else
12184   ac_check_lib_save_LIBS=$LIBS
12185 LIBS="-l${lib}  $LIBS"
12186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12187 /* end confdefs.h.  */
12188
12189
12190 int
12191 main ()
12192 {
12193 return main ();
12194   ;
12195   return 0;
12196 }
12197 _ACEOF
12198 if ac_fn_c_try_link "$LINENO"; then :
12199   eval "$as_ac_Lib=yes"
12200 else
12201   eval "$as_ac_Lib=no"
12202 fi
12203 rm -f core conftest.err conftest.$ac_objext \
12204     conftest$ac_exeext conftest.$ac_ext
12205 LIBS=$ac_check_lib_save_LIBS
12206 fi
12207 eval ac_res=\$$as_ac_Lib
12208                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12209 $as_echo "$ac_res" >&6; }
12210 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
12211   FTGL_LIBS="${FTGL_LIBS} -l${lib}"
12212 else
12213   as_fn_error $? "*** ${lib} library not found!" "$LINENO" 5
12214 fi
12215
12216     done
12217
12218
12219
12220
12221
12222 ac_config_headers="$ac_config_headers config.h"
12223
12224 ac_config_files="$ac_config_files Makefile src/Makefile"
12225
12226 cat >confcache <<\_ACEOF
12227 # This file is a shell script that caches the results of configure
12228 # tests run on this system so they can be shared between configure
12229 # scripts and configure runs, see configure's option --config-cache.
12230 # It is not useful on other systems.  If it contains results you don't
12231 # want to keep, you may remove or edit it.
12232 #
12233 # config.status only pays attention to the cache file if you give it
12234 # the --recheck option to rerun configure.
12235 #
12236 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12237 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12238 # following values.
12239
12240 _ACEOF
12241
12242 # The following way of writing the cache mishandles newlines in values,
12243 # but we know of no workaround that is simple, portable, and efficient.
12244 # So, we kill variables containing newlines.
12245 # Ultrix sh set writes to stderr and can't be redirected directly,
12246 # and sets the high bit in the cache file unless we assign to the vars.
12247 (
12248   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12249     eval ac_val=\$$ac_var
12250     case $ac_val in #(
12251     *${as_nl}*)
12252       case $ac_var in #(
12253       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12254 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12255       esac
12256       case $ac_var in #(
12257       _ | IFS | as_nl) ;; #(
12258       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12259       *) { eval $ac_var=; unset $ac_var;} ;;
12260       esac ;;
12261     esac
12262   done
12263
12264   (set) 2>&1 |
12265     case $as_nl`(ac_space=' '; set) 2>&1` in #(
12266     *${as_nl}ac_space=\ *)
12267       # `set' does not quote correctly, so add quotes: double-quote
12268       # substitution turns \\\\ into \\, and sed turns \\ into \.
12269       sed -n \
12270         "s/'/'\\\\''/g;
12271           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12272       ;; #(
12273     *)
12274       # `set' quotes correctly as required by POSIX, so do not add quotes.
12275       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12276       ;;
12277     esac |
12278     sort
12279 ) |
12280   sed '
12281      /^ac_cv_env_/b end
12282      t clear
12283      :clear
12284      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12285      t end
12286      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12287      :end' >>confcache
12288 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12289   if test -w "$cache_file"; then
12290     if test "x$cache_file" != "x/dev/null"; then
12291       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12292 $as_echo "$as_me: updating cache $cache_file" >&6;}
12293       if test ! -f "$cache_file" || test -h "$cache_file"; then
12294         cat confcache >"$cache_file"
12295       else
12296         case $cache_file in #(
12297         */* | ?:*)
12298           mv -f confcache "$cache_file"$$ &&
12299           mv -f "$cache_file"$$ "$cache_file" ;; #(
12300         *)
12301           mv -f confcache "$cache_file" ;;
12302         esac
12303       fi
12304     fi
12305   else
12306     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12307 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12308   fi
12309 fi
12310 rm -f confcache
12311
12312 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12313 # Let make expand exec_prefix.
12314 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12315
12316 DEFS=-DHAVE_CONFIG_H
12317
12318 ac_libobjs=
12319 ac_ltlibobjs=
12320 U=
12321 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12322   # 1. Remove the extension, and $U if already installed.
12323   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12324   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12325   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12326   #    will be set to the directory where LIBOBJS objects are built.
12327   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12328   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12329 done
12330 LIBOBJS=$ac_libobjs
12331
12332 LTLIBOBJS=$ac_ltlibobjs
12333
12334
12335  if test -n "$EXEEXT"; then
12336   am__EXEEXT_TRUE=
12337   am__EXEEXT_FALSE='#'
12338 else
12339   am__EXEEXT_TRUE='#'
12340   am__EXEEXT_FALSE=
12341 fi
12342
12343 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12344   as_fn_error $? "conditional \"AMDEP\" was never defined.
12345 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12346 fi
12347 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12348   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12349 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12350 fi
12351 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12352   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12353 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12354 fi
12355
12356 : "${CONFIG_STATUS=./config.status}"
12357 ac_write_fail=0
12358 ac_clean_files_save=$ac_clean_files
12359 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12361 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12362 as_write_fail=0
12363 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12364 #! $SHELL
12365 # Generated by $as_me.
12366 # Run this file to recreate the current configuration.
12367 # Compiler output produced by configure, useful for debugging
12368 # configure, is in config.log if it exists.
12369
12370 debug=false
12371 ac_cs_recheck=false
12372 ac_cs_silent=false
12373
12374 SHELL=\${CONFIG_SHELL-$SHELL}
12375 export SHELL
12376 _ASEOF
12377 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12378 ## -------------------- ##
12379 ## M4sh Initialization. ##
12380 ## -------------------- ##
12381
12382 # Be more Bourne compatible
12383 DUALCASE=1; export DUALCASE # for MKS sh
12384 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12385   emulate sh
12386   NULLCMD=:
12387   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12388   # is contrary to our usage.  Disable this feature.
12389   alias -g '${1+"$@"}'='"$@"'
12390   setopt NO_GLOB_SUBST
12391 else
12392   case `(set -o) 2>/dev/null` in #(
12393   *posix*) :
12394     set -o posix ;; #(
12395   *) :
12396      ;;
12397 esac
12398 fi
12399
12400
12401 as_nl='
12402 '
12403 export as_nl
12404 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12405 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12406 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12407 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12408 # Prefer a ksh shell builtin over an external printf program on Solaris,
12409 # but without wasting forks for bash or zsh.
12410 if test -z "$BASH_VERSION$ZSH_VERSION" \
12411     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12412   as_echo='print -r --'
12413   as_echo_n='print -rn --'
12414 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12415   as_echo='printf %s\n'
12416   as_echo_n='printf %s'
12417 else
12418   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12419     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12420     as_echo_n='/usr/ucb/echo -n'
12421   else
12422     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12423     as_echo_n_body='eval
12424       arg=$1;
12425       case $arg in #(
12426       *"$as_nl"*)
12427         expr "X$arg" : "X\\(.*\\)$as_nl";
12428         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12429       esac;
12430       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12431     '
12432     export as_echo_n_body
12433     as_echo_n='sh -c $as_echo_n_body as_echo'
12434   fi
12435   export as_echo_body
12436   as_echo='sh -c $as_echo_body as_echo'
12437 fi
12438
12439 # The user is always right.
12440 if test "${PATH_SEPARATOR+set}" != set; then
12441   PATH_SEPARATOR=:
12442   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12443     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12444       PATH_SEPARATOR=';'
12445   }
12446 fi
12447
12448
12449 # IFS
12450 # We need space, tab and new line, in precisely that order.  Quoting is
12451 # there to prevent editors from complaining about space-tab.
12452 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12453 # splitting by setting IFS to empty value.)
12454 IFS=" ""        $as_nl"
12455
12456 # Find who we are.  Look in the path if we contain no directory separator.
12457 as_myself=
12458 case $0 in #((
12459   *[\\/]* ) as_myself=$0 ;;
12460   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12461 for as_dir in $PATH
12462 do
12463   IFS=$as_save_IFS
12464   test -z "$as_dir" && as_dir=.
12465     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12466   done
12467 IFS=$as_save_IFS
12468
12469      ;;
12470 esac
12471 # We did not find ourselves, most probably we were run as `sh COMMAND'
12472 # in which case we are not to be found in the path.
12473 if test "x$as_myself" = x; then
12474   as_myself=$0
12475 fi
12476 if test ! -f "$as_myself"; then
12477   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12478   exit 1
12479 fi
12480
12481 # Unset variables that we do not need and which cause bugs (e.g. in
12482 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
12483 # suppresses any "Segmentation fault" message there.  '((' could
12484 # trigger a bug in pdksh 5.2.14.
12485 for as_var in BASH_ENV ENV MAIL MAILPATH
12486 do eval test x\${$as_var+set} = xset \
12487   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12488 done
12489 PS1='$ '
12490 PS2='> '
12491 PS4='+ '
12492
12493 # NLS nuisances.
12494 LC_ALL=C
12495 export LC_ALL
12496 LANGUAGE=C
12497 export LANGUAGE
12498
12499 # CDPATH.
12500 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12501
12502
12503 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12504 # ----------------------------------------
12505 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12506 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12507 # script with STATUS, using 1 if that was 0.
12508 as_fn_error ()
12509 {
12510   as_status=$1; test $as_status -eq 0 && as_status=1
12511   if test "$4"; then
12512     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12513     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12514   fi
12515   $as_echo "$as_me: error: $2" >&2
12516   as_fn_exit $as_status
12517 } # as_fn_error
12518
12519
12520 # as_fn_set_status STATUS
12521 # -----------------------
12522 # Set $? to STATUS, without forking.
12523 as_fn_set_status ()
12524 {
12525   return $1
12526 } # as_fn_set_status
12527
12528 # as_fn_exit STATUS
12529 # -----------------
12530 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12531 as_fn_exit ()
12532 {
12533   set +e
12534   as_fn_set_status $1
12535   exit $1
12536 } # as_fn_exit
12537
12538 # as_fn_unset VAR
12539 # ---------------
12540 # Portably unset VAR.
12541 as_fn_unset ()
12542 {
12543   { eval $1=; unset $1;}
12544 }
12545 as_unset=as_fn_unset
12546 # as_fn_append VAR VALUE
12547 # ----------------------
12548 # Append the text in VALUE to the end of the definition contained in VAR. Take
12549 # advantage of any shell optimizations that allow amortized linear growth over
12550 # repeated appends, instead of the typical quadratic growth present in naive
12551 # implementations.
12552 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12553   eval 'as_fn_append ()
12554   {
12555     eval $1+=\$2
12556   }'
12557 else
12558   as_fn_append ()
12559   {
12560     eval $1=\$$1\$2
12561   }
12562 fi # as_fn_append
12563
12564 # as_fn_arith ARG...
12565 # ------------------
12566 # Perform arithmetic evaluation on the ARGs, and store the result in the
12567 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12568 # must be portable across $(()) and expr.
12569 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12570   eval 'as_fn_arith ()
12571   {
12572     as_val=$(( $* ))
12573   }'
12574 else
12575   as_fn_arith ()
12576   {
12577     as_val=`expr "$@" || test $? -eq 1`
12578   }
12579 fi # as_fn_arith
12580
12581
12582 if expr a : '\(a\)' >/dev/null 2>&1 &&
12583    test "X`expr 00001 : '.*\(...\)'`" = X001; then
12584   as_expr=expr
12585 else
12586   as_expr=false
12587 fi
12588
12589 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12590   as_basename=basename
12591 else
12592   as_basename=false
12593 fi
12594
12595 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12596   as_dirname=dirname
12597 else
12598   as_dirname=false
12599 fi
12600
12601 as_me=`$as_basename -- "$0" ||
12602 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12603          X"$0" : 'X\(//\)$' \| \
12604          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12605 $as_echo X/"$0" |
12606     sed '/^.*\/\([^/][^/]*\)\/*$/{
12607             s//\1/
12608             q
12609           }
12610           /^X\/\(\/\/\)$/{
12611             s//\1/
12612             q
12613           }
12614           /^X\/\(\/\).*/{
12615             s//\1/
12616             q
12617           }
12618           s/.*/./; q'`
12619
12620 # Avoid depending upon Character Ranges.
12621 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12622 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12623 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12624 as_cr_digits='0123456789'
12625 as_cr_alnum=$as_cr_Letters$as_cr_digits
12626
12627 ECHO_C= ECHO_N= ECHO_T=
12628 case `echo -n x` in #(((((
12629 -n*)
12630   case `echo 'xy\c'` in
12631   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
12632   xy)  ECHO_C='\c';;
12633   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
12634        ECHO_T=' ';;
12635   esac;;
12636 *)
12637   ECHO_N='-n';;
12638 esac
12639
12640 rm -f conf$$ conf$$.exe conf$$.file
12641 if test -d conf$$.dir; then
12642   rm -f conf$$.dir/conf$$.file
12643 else
12644   rm -f conf$$.dir
12645   mkdir conf$$.dir 2>/dev/null
12646 fi
12647 if (echo >conf$$.file) 2>/dev/null; then
12648   if ln -s conf$$.file conf$$ 2>/dev/null; then
12649     as_ln_s='ln -s'
12650     # ... but there are two gotchas:
12651     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12652     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12653     # In both cases, we have to default to `cp -pR'.
12654     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12655       as_ln_s='cp -pR'
12656   elif ln conf$$.file conf$$ 2>/dev/null; then
12657     as_ln_s=ln
12658   else
12659     as_ln_s='cp -pR'
12660   fi
12661 else
12662   as_ln_s='cp -pR'
12663 fi
12664 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12665 rmdir conf$$.dir 2>/dev/null
12666
12667
12668 # as_fn_mkdir_p
12669 # -------------
12670 # Create "$as_dir" as a directory, including parents if necessary.
12671 as_fn_mkdir_p ()
12672 {
12673
12674   case $as_dir in #(
12675   -*) as_dir=./$as_dir;;
12676   esac
12677   test -d "$as_dir" || eval $as_mkdir_p || {
12678     as_dirs=
12679     while :; do
12680       case $as_dir in #(
12681       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12682       *) as_qdir=$as_dir;;
12683       esac
12684       as_dirs="'$as_qdir' $as_dirs"
12685       as_dir=`$as_dirname -- "$as_dir" ||
12686 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12687          X"$as_dir" : 'X\(//\)[^/]' \| \
12688          X"$as_dir" : 'X\(//\)$' \| \
12689          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12690 $as_echo X"$as_dir" |
12691     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12692             s//\1/
12693             q
12694           }
12695           /^X\(\/\/\)[^/].*/{
12696             s//\1/
12697             q
12698           }
12699           /^X\(\/\/\)$/{
12700             s//\1/
12701             q
12702           }
12703           /^X\(\/\).*/{
12704             s//\1/
12705             q
12706           }
12707           s/.*/./; q'`
12708       test -d "$as_dir" && break
12709     done
12710     test -z "$as_dirs" || eval "mkdir $as_dirs"
12711   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12712
12713
12714 } # as_fn_mkdir_p
12715 if mkdir -p . 2>/dev/null; then
12716   as_mkdir_p='mkdir -p "$as_dir"'
12717 else
12718   test -d ./-p && rmdir ./-p
12719   as_mkdir_p=false
12720 fi
12721
12722
12723 # as_fn_executable_p FILE
12724 # -----------------------
12725 # Test if FILE is an executable regular file.
12726 as_fn_executable_p ()
12727 {
12728   test -f "$1" && test -x "$1"
12729 } # as_fn_executable_p
12730 as_test_x='test -x'
12731 as_executable_p=as_fn_executable_p
12732
12733 # Sed expression to map a string onto a valid CPP name.
12734 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12735
12736 # Sed expression to map a string onto a valid variable name.
12737 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12738
12739
12740 exec 6>&1
12741 ## ----------------------------------- ##
12742 ## Main body of $CONFIG_STATUS script. ##
12743 ## ----------------------------------- ##
12744 _ASEOF
12745 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12746
12747 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12748 # Save the log message, to keep $0 and so on meaningful, and to
12749 # report actual input values of CONFIG_FILES etc. instead of their
12750 # values after options handling.
12751 ac_log="
12752 This file was extended by gacela $as_me 0.5, which was
12753 generated by GNU Autoconf 2.69.  Invocation command line was
12754
12755   CONFIG_FILES    = $CONFIG_FILES
12756   CONFIG_HEADERS  = $CONFIG_HEADERS
12757   CONFIG_LINKS    = $CONFIG_LINKS
12758   CONFIG_COMMANDS = $CONFIG_COMMANDS
12759   $ $0 $@
12760
12761 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12762 "
12763
12764 _ACEOF
12765
12766 case $ac_config_files in *"
12767 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12768 esac
12769
12770 case $ac_config_headers in *"
12771 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12772 esac
12773
12774
12775 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12776 # Files that config.status was made for.
12777 config_files="$ac_config_files"
12778 config_headers="$ac_config_headers"
12779 config_commands="$ac_config_commands"
12780
12781 _ACEOF
12782
12783 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12784 ac_cs_usage="\
12785 \`$as_me' instantiates files and other configuration actions
12786 from templates according to the current configuration.  Unless the files
12787 and actions are specified as TAGs, all are instantiated by default.
12788
12789 Usage: $0 [OPTION]... [TAG]...
12790
12791   -h, --help       print this help, then exit
12792   -V, --version    print version number and configuration settings, then exit
12793       --config     print configuration, then exit
12794   -q, --quiet, --silent
12795                    do not print progress messages
12796   -d, --debug      don't remove temporary files
12797       --recheck    update $as_me by reconfiguring in the same conditions
12798       --file=FILE[:TEMPLATE]
12799                    instantiate the configuration file FILE
12800       --header=FILE[:TEMPLATE]
12801                    instantiate the configuration header FILE
12802
12803 Configuration files:
12804 $config_files
12805
12806 Configuration headers:
12807 $config_headers
12808
12809 Configuration commands:
12810 $config_commands
12811
12812 Report bugs to <jsf@jsancho.org>."
12813
12814 _ACEOF
12815 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12816 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12817 ac_cs_version="\\
12818 gacela config.status 0.5
12819 configured by $0, generated by GNU Autoconf 2.69,
12820   with options \\"\$ac_cs_config\\"
12821
12822 Copyright (C) 2012 Free Software Foundation, Inc.
12823 This config.status script is free software; the Free Software Foundation
12824 gives unlimited permission to copy, distribute and modify it."
12825
12826 ac_pwd='$ac_pwd'
12827 srcdir='$srcdir'
12828 INSTALL='$INSTALL'
12829 MKDIR_P='$MKDIR_P'
12830 AWK='$AWK'
12831 test -n "\$AWK" || AWK=awk
12832 _ACEOF
12833
12834 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12835 # The default lists apply if the user does not specify any file.
12836 ac_need_defaults=:
12837 while test $# != 0
12838 do
12839   case $1 in
12840   --*=?*)
12841     ac_option=`expr "X$1" : 'X\([^=]*\)='`
12842     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12843     ac_shift=:
12844     ;;
12845   --*=)
12846     ac_option=`expr "X$1" : 'X\([^=]*\)='`
12847     ac_optarg=
12848     ac_shift=:
12849     ;;
12850   *)
12851     ac_option=$1
12852     ac_optarg=$2
12853     ac_shift=shift
12854     ;;
12855   esac
12856
12857   case $ac_option in
12858   # Handling of the options.
12859   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12860     ac_cs_recheck=: ;;
12861   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12862     $as_echo "$ac_cs_version"; exit ;;
12863   --config | --confi | --conf | --con | --co | --c )
12864     $as_echo "$ac_cs_config"; exit ;;
12865   --debug | --debu | --deb | --de | --d | -d )
12866     debug=: ;;
12867   --file | --fil | --fi | --f )
12868     $ac_shift
12869     case $ac_optarg in
12870     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12871     '') as_fn_error $? "missing file argument" ;;
12872     esac
12873     as_fn_append CONFIG_FILES " '$ac_optarg'"
12874     ac_need_defaults=false;;
12875   --header | --heade | --head | --hea )
12876     $ac_shift
12877     case $ac_optarg in
12878     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12879     esac
12880     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
12881     ac_need_defaults=false;;
12882   --he | --h)
12883     # Conflict between --help and --header
12884     as_fn_error $? "ambiguous option: \`$1'
12885 Try \`$0 --help' for more information.";;
12886   --help | --hel | -h )
12887     $as_echo "$ac_cs_usage"; exit ;;
12888   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12889   | -silent | --silent | --silen | --sile | --sil | --si | --s)
12890     ac_cs_silent=: ;;
12891
12892   # This is an error.
12893   -*) as_fn_error $? "unrecognized option: \`$1'
12894 Try \`$0 --help' for more information." ;;
12895
12896   *) as_fn_append ac_config_targets " $1"
12897      ac_need_defaults=false ;;
12898
12899   esac
12900   shift
12901 done
12902
12903 ac_configure_extra_args=
12904
12905 if $ac_cs_silent; then
12906   exec 6>/dev/null
12907   ac_configure_extra_args="$ac_configure_extra_args --silent"
12908 fi
12909
12910 _ACEOF
12911 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12912 if \$ac_cs_recheck; then
12913   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12914   shift
12915   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12916   CONFIG_SHELL='$SHELL'
12917   export CONFIG_SHELL
12918   exec "\$@"
12919 fi
12920
12921 _ACEOF
12922 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12923 exec 5>>config.log
12924 {
12925   echo
12926   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12927 ## Running $as_me. ##
12928 _ASBOX
12929   $as_echo "$ac_log"
12930 } >&5
12931
12932 _ACEOF
12933 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12934 #
12935 # INIT-COMMANDS
12936 #
12937 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12938
12939
12940 # The HP-UX ksh and POSIX shell print the target directory to stdout
12941 # if CDPATH is set.
12942 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12943
12944 sed_quote_subst='$sed_quote_subst'
12945 double_quote_subst='$double_quote_subst'
12946 delay_variable_subst='$delay_variable_subst'
12947 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12948 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12949 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12950 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12951 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12952 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12953 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12954 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12955 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
12956 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12957 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12958 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12959 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12960 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12961 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12962 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12963 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12964 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12965 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12966 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12967 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12968 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12969 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12970 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12971 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12972 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12973 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12974 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12975 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12976 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
12977 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
12978 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12979 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12980 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12981 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12982 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12983 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
12984 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
12985 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
12986 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
12987 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12988 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12989 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
12990 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12991 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12992 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12993 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12994 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12995 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12996 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12997 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12998 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12999 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13000 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13001 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13002 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13003 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"`'
13004 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13005 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13006 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13007 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13008 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13009 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13010 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13011 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13012 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13013 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13014 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13015 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13016 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13017 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13018 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13019 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13020 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13021 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13022 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13023 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13024 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13025 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13026 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13027 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13028 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13029 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13030 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13031 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13032 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13033 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13034 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13035 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13036 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13037 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13038 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13039 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13040 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13041 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13042 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13043 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13044 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13045 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13046 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13047 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13048 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13049 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13050 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13051 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13052 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13053 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13054 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13055 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13056 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13057 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13058 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13059 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13060 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13061 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13062 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13063 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13064 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13065 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13066 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13067 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13068 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13069 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13070 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13071 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13072 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13073 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13074 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13075 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13076 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13077
13078 LTCC='$LTCC'
13079 LTCFLAGS='$LTCFLAGS'
13080 compiler='$compiler_DEFAULT'
13081
13082 # A function that is used when there is no print builtin or printf.
13083 func_fallback_echo ()
13084 {
13085   eval 'cat <<_LTECHO_EOF
13086 \$1
13087 _LTECHO_EOF'
13088 }
13089
13090 # Quote evaled strings.
13091 for var in SHELL \
13092 ECHO \
13093 PATH_SEPARATOR \
13094 SED \
13095 GREP \
13096 EGREP \
13097 FGREP \
13098 LD \
13099 NM \
13100 LN_S \
13101 lt_SP2NL \
13102 lt_NL2SP \
13103 reload_flag \
13104 OBJDUMP \
13105 deplibs_check_method \
13106 file_magic_cmd \
13107 file_magic_glob \
13108 want_nocaseglob \
13109 DLLTOOL \
13110 sharedlib_from_linklib_cmd \
13111 AR \
13112 AR_FLAGS \
13113 archiver_list_spec \
13114 STRIP \
13115 RANLIB \
13116 CC \
13117 CFLAGS \
13118 compiler \
13119 lt_cv_sys_global_symbol_pipe \
13120 lt_cv_sys_global_symbol_to_cdecl \
13121 lt_cv_sys_global_symbol_to_c_name_address \
13122 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13123 nm_file_list_spec \
13124 lt_prog_compiler_no_builtin_flag \
13125 lt_prog_compiler_pic \
13126 lt_prog_compiler_wl \
13127 lt_prog_compiler_static \
13128 lt_cv_prog_compiler_c_o \
13129 need_locks \
13130 MANIFEST_TOOL \
13131 DSYMUTIL \
13132 NMEDIT \
13133 LIPO \
13134 OTOOL \
13135 OTOOL64 \
13136 shrext_cmds \
13137 export_dynamic_flag_spec \
13138 whole_archive_flag_spec \
13139 compiler_needs_object \
13140 with_gnu_ld \
13141 allow_undefined_flag \
13142 no_undefined_flag \
13143 hardcode_libdir_flag_spec \
13144 hardcode_libdir_separator \
13145 exclude_expsyms \
13146 include_expsyms \
13147 file_list_spec \
13148 variables_saved_for_relink \
13149 libname_spec \
13150 library_names_spec \
13151 soname_spec \
13152 install_override_mode \
13153 finish_eval \
13154 old_striplib \
13155 striplib; do
13156     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13157     *[\\\\\\\`\\"\\\$]*)
13158       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13159       ;;
13160     *)
13161       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13162       ;;
13163     esac
13164 done
13165
13166 # Double-quote double-evaled strings.
13167 for var in reload_cmds \
13168 old_postinstall_cmds \
13169 old_postuninstall_cmds \
13170 old_archive_cmds \
13171 extract_expsyms_cmds \
13172 old_archive_from_new_cmds \
13173 old_archive_from_expsyms_cmds \
13174 archive_cmds \
13175 archive_expsym_cmds \
13176 module_cmds \
13177 module_expsym_cmds \
13178 export_symbols_cmds \
13179 prelink_cmds \
13180 postlink_cmds \
13181 postinstall_cmds \
13182 postuninstall_cmds \
13183 finish_cmds \
13184 sys_lib_search_path_spec \
13185 sys_lib_dlsearch_path_spec; do
13186     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13187     *[\\\\\\\`\\"\\\$]*)
13188       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13189       ;;
13190     *)
13191       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13192       ;;
13193     esac
13194 done
13195
13196 ac_aux_dir='$ac_aux_dir'
13197 xsi_shell='$xsi_shell'
13198 lt_shell_append='$lt_shell_append'
13199
13200 # See if we are running on zsh, and set the options which allow our
13201 # commands through without removal of \ escapes INIT.
13202 if test -n "\${ZSH_VERSION+set}" ; then
13203    setopt NO_GLOB_SUBST
13204 fi
13205
13206
13207     PACKAGE='$PACKAGE'
13208     VERSION='$VERSION'
13209     TIMESTAMP='$TIMESTAMP'
13210     RM='$RM'
13211     ofile='$ofile'
13212
13213
13214
13215
13216 _ACEOF
13217
13218 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13219
13220 # Handling of arguments.
13221 for ac_config_target in $ac_config_targets
13222 do
13223   case $ac_config_target in
13224     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13225     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13226     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13227     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13228     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13229
13230   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13231   esac
13232 done
13233
13234
13235 # If the user did not use the arguments to specify the items to instantiate,
13236 # then the envvar interface is used.  Set only those that are not.
13237 # We use the long form for the default assignment because of an extremely
13238 # bizarre bug on SunOS 4.1.3.
13239 if $ac_need_defaults; then
13240   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13241   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13242   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13243 fi
13244
13245 # Have a temporary directory for convenience.  Make it in the build tree
13246 # simply because there is no reason against having it here, and in addition,
13247 # creating and moving files from /tmp can sometimes cause problems.
13248 # Hook for its removal unless debugging.
13249 # Note that there is a small window in which the directory will not be cleaned:
13250 # after its creation but before its name has been assigned to `$tmp'.
13251 $debug ||
13252 {
13253   tmp= ac_tmp=
13254   trap 'exit_status=$?
13255   : "${ac_tmp:=$tmp}"
13256   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13257 ' 0
13258   trap 'as_fn_exit 1' 1 2 13 15
13259 }
13260 # Create a (secure) tmp directory for tmp files.
13261
13262 {
13263   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13264   test -d "$tmp"
13265 }  ||
13266 {
13267   tmp=./conf$$-$RANDOM
13268   (umask 077 && mkdir "$tmp")
13269 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13270 ac_tmp=$tmp
13271
13272 # Set up the scripts for CONFIG_FILES section.
13273 # No need to generate them if there are no CONFIG_FILES.
13274 # This happens for instance with `./config.status config.h'.
13275 if test -n "$CONFIG_FILES"; then
13276
13277
13278 ac_cr=`echo X | tr X '\015'`
13279 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13280 # But we know of no other shell where ac_cr would be empty at this
13281 # point, so we can use a bashism as a fallback.
13282 if test "x$ac_cr" = x; then
13283   eval ac_cr=\$\'\\r\'
13284 fi
13285 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13286 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13287   ac_cs_awk_cr='\\r'
13288 else
13289   ac_cs_awk_cr=$ac_cr
13290 fi
13291
13292 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13293 _ACEOF
13294
13295
13296 {
13297   echo "cat >conf$$subs.awk <<_ACEOF" &&
13298   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13299   echo "_ACEOF"
13300 } >conf$$subs.sh ||
13301   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13302 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13303 ac_delim='%!_!# '
13304 for ac_last_try in false false false false false :; do
13305   . ./conf$$subs.sh ||
13306     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13307
13308   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13309   if test $ac_delim_n = $ac_delim_num; then
13310     break
13311   elif $ac_last_try; then
13312     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13313   else
13314     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13315   fi
13316 done
13317 rm -f conf$$subs.sh
13318
13319 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13320 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13321 _ACEOF
13322 sed -n '
13323 h
13324 s/^/S["/; s/!.*/"]=/
13325 p
13326 g
13327 s/^[^!]*!//
13328 :repl
13329 t repl
13330 s/'"$ac_delim"'$//
13331 t delim
13332 :nl
13333 h
13334 s/\(.\{148\}\)..*/\1/
13335 t more1
13336 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13337 p
13338 n
13339 b repl
13340 :more1
13341 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13342 p
13343 g
13344 s/.\{148\}//
13345 t nl
13346 :delim
13347 h
13348 s/\(.\{148\}\)..*/\1/
13349 t more2
13350 s/["\\]/\\&/g; s/^/"/; s/$/"/
13351 p
13352 b
13353 :more2
13354 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13355 p
13356 g
13357 s/.\{148\}//
13358 t delim
13359 ' <conf$$subs.awk | sed '
13360 /^[^""]/{
13361   N
13362   s/\n//
13363 }
13364 ' >>$CONFIG_STATUS || ac_write_fail=1
13365 rm -f conf$$subs.awk
13366 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13367 _ACAWK
13368 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13369   for (key in S) S_is_set[key] = 1
13370   FS = "\a"
13371
13372 }
13373 {
13374   line = $ 0
13375   nfields = split(line, field, "@")
13376   substed = 0
13377   len = length(field[1])
13378   for (i = 2; i < nfields; i++) {
13379     key = field[i]
13380     keylen = length(key)
13381     if (S_is_set[key]) {
13382       value = S[key]
13383       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13384       len += length(value) + length(field[++i])
13385       substed = 1
13386     } else
13387       len += 1 + keylen
13388   }
13389
13390   print line
13391 }
13392
13393 _ACAWK
13394 _ACEOF
13395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13396 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13397   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13398 else
13399   cat
13400 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13401   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13402 _ACEOF
13403
13404 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13405 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13406 # trailing colons and then remove the whole line if VPATH becomes empty
13407 # (actually we leave an empty line to preserve line numbers).
13408 if test "x$srcdir" = x.; then
13409   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
13410 h
13411 s///
13412 s/^/:/
13413 s/[      ]*$/:/
13414 s/:\$(srcdir):/:/g
13415 s/:\${srcdir}:/:/g
13416 s/:@srcdir@:/:/g
13417 s/^:*//
13418 s/:*$//
13419 x
13420 s/\(=[   ]*\).*/\1/
13421 G
13422 s/\n//
13423 s/^[^=]*=[       ]*$//
13424 }'
13425 fi
13426
13427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13428 fi # test -n "$CONFIG_FILES"
13429
13430 # Set up the scripts for CONFIG_HEADERS section.
13431 # No need to generate them if there are no CONFIG_HEADERS.
13432 # This happens for instance with `./config.status Makefile'.
13433 if test -n "$CONFIG_HEADERS"; then
13434 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13435 BEGIN {
13436 _ACEOF
13437
13438 # Transform confdefs.h into an awk script `defines.awk', embedded as
13439 # here-document in config.status, that substitutes the proper values into
13440 # config.h.in to produce config.h.
13441
13442 # Create a delimiter string that does not exist in confdefs.h, to ease
13443 # handling of long lines.
13444 ac_delim='%!_!# '
13445 for ac_last_try in false false :; do
13446   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13447   if test -z "$ac_tt"; then
13448     break
13449   elif $ac_last_try; then
13450     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13451   else
13452     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13453   fi
13454 done
13455
13456 # For the awk script, D is an array of macro values keyed by name,
13457 # likewise P contains macro parameters if any.  Preserve backslash
13458 # newline sequences.
13459
13460 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13461 sed -n '
13462 s/.\{148\}/&'"$ac_delim"'/g
13463 t rset
13464 :rset
13465 s/^[     ]*#[    ]*define[       ][      ]*/ /
13466 t def
13467 d
13468 :def
13469 s/\\$//
13470 t bsnl
13471 s/["\\]/\\&/g
13472 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
13473 D["\1"]=" \3"/p
13474 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
13475 d
13476 :bsnl
13477 s/["\\]/\\&/g
13478 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
13479 D["\1"]=" \3\\\\\\n"\\/p
13480 t cont
13481 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13482 t cont
13483 d
13484 :cont
13485 n
13486 s/.\{148\}/&'"$ac_delim"'/g
13487 t clear
13488 :clear
13489 s/\\$//
13490 t bsnlc
13491 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13492 d
13493 :bsnlc
13494 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13495 b cont
13496 ' <confdefs.h | sed '
13497 s/'"$ac_delim"'/"\\\
13498 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13499
13500 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13501   for (key in D) D_is_set[key] = 1
13502   FS = "\a"
13503 }
13504 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13505   line = \$ 0
13506   split(line, arg, " ")
13507   if (arg[1] == "#") {
13508     defundef = arg[2]
13509     mac1 = arg[3]
13510   } else {
13511     defundef = substr(arg[1], 2)
13512     mac1 = arg[2]
13513   }
13514   split(mac1, mac2, "(") #)
13515   macro = mac2[1]
13516   prefix = substr(line, 1, index(line, defundef) - 1)
13517   if (D_is_set[macro]) {
13518     # Preserve the white space surrounding the "#".
13519     print prefix "define", macro P[macro] D[macro]
13520     next
13521   } else {
13522     # Replace #undef with comments.  This is necessary, for example,
13523     # in the case of _POSIX_SOURCE, which is predefined and required
13524     # on some systems where configure will not decide to define it.
13525     if (defundef == "undef") {
13526       print "/*", prefix defundef, macro, "*/"
13527       next
13528     }
13529   }
13530 }
13531 { print }
13532 _ACAWK
13533 _ACEOF
13534 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13535   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13536 fi # test -n "$CONFIG_HEADERS"
13537
13538
13539 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
13540 shift
13541 for ac_tag
13542 do
13543   case $ac_tag in
13544   :[FHLC]) ac_mode=$ac_tag; continue;;
13545   esac
13546   case $ac_mode$ac_tag in
13547   :[FHL]*:*);;
13548   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13549   :[FH]-) ac_tag=-:-;;
13550   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13551   esac
13552   ac_save_IFS=$IFS
13553   IFS=:
13554   set x $ac_tag
13555   IFS=$ac_save_IFS
13556   shift
13557   ac_file=$1
13558   shift
13559
13560   case $ac_mode in
13561   :L) ac_source=$1;;
13562   :[FH])
13563     ac_file_inputs=
13564     for ac_f
13565     do
13566       case $ac_f in
13567       -) ac_f="$ac_tmp/stdin";;
13568       *) # Look for the file first in the build tree, then in the source tree
13569          # (if the path is not absolute).  The absolute path cannot be DOS-style,
13570          # because $ac_f cannot contain `:'.
13571          test -f "$ac_f" ||
13572            case $ac_f in
13573            [\\/$]*) false;;
13574            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13575            esac ||
13576            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13577       esac
13578       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13579       as_fn_append ac_file_inputs " '$ac_f'"
13580     done
13581
13582     # Let's still pretend it is `configure' which instantiates (i.e., don't
13583     # use $as_me), people would be surprised to read:
13584     #    /* config.h.  Generated by config.status.  */
13585     configure_input='Generated from '`
13586           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13587         `' by configure.'
13588     if test x"$ac_file" != x-; then
13589       configure_input="$ac_file.  $configure_input"
13590       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13591 $as_echo "$as_me: creating $ac_file" >&6;}
13592     fi
13593     # Neutralize special characters interpreted by sed in replacement strings.
13594     case $configure_input in #(
13595     *\&* | *\|* | *\\* )
13596        ac_sed_conf_input=`$as_echo "$configure_input" |
13597        sed 's/[\\\\&|]/\\\\&/g'`;; #(
13598     *) ac_sed_conf_input=$configure_input;;
13599     esac
13600
13601     case $ac_tag in
13602     *:-:* | *:-) cat >"$ac_tmp/stdin" \
13603       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13604     esac
13605     ;;
13606   esac
13607
13608   ac_dir=`$as_dirname -- "$ac_file" ||
13609 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13610          X"$ac_file" : 'X\(//\)[^/]' \| \
13611          X"$ac_file" : 'X\(//\)$' \| \
13612          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13613 $as_echo X"$ac_file" |
13614     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13615             s//\1/
13616             q
13617           }
13618           /^X\(\/\/\)[^/].*/{
13619             s//\1/
13620             q
13621           }
13622           /^X\(\/\/\)$/{
13623             s//\1/
13624             q
13625           }
13626           /^X\(\/\).*/{
13627             s//\1/
13628             q
13629           }
13630           s/.*/./; q'`
13631   as_dir="$ac_dir"; as_fn_mkdir_p
13632   ac_builddir=.
13633
13634 case "$ac_dir" in
13635 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13636 *)
13637   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13638   # A ".." for each directory in $ac_dir_suffix.
13639   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13640   case $ac_top_builddir_sub in
13641   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13642   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13643   esac ;;
13644 esac
13645 ac_abs_top_builddir=$ac_pwd
13646 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13647 # for backward compatibility:
13648 ac_top_builddir=$ac_top_build_prefix
13649
13650 case $srcdir in
13651   .)  # We are building in place.
13652     ac_srcdir=.
13653     ac_top_srcdir=$ac_top_builddir_sub
13654     ac_abs_top_srcdir=$ac_pwd ;;
13655   [\\/]* | ?:[\\/]* )  # Absolute name.
13656     ac_srcdir=$srcdir$ac_dir_suffix;
13657     ac_top_srcdir=$srcdir
13658     ac_abs_top_srcdir=$srcdir ;;
13659   *) # Relative name.
13660     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13661     ac_top_srcdir=$ac_top_build_prefix$srcdir
13662     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13663 esac
13664 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13665
13666
13667   case $ac_mode in
13668   :F)
13669   #
13670   # CONFIG_FILE
13671   #
13672
13673   case $INSTALL in
13674   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13675   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13676   esac
13677   ac_MKDIR_P=$MKDIR_P
13678   case $MKDIR_P in
13679   [\\/$]* | ?:[\\/]* ) ;;
13680   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13681   esac
13682 _ACEOF
13683
13684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13685 # If the template does not know about datarootdir, expand it.
13686 # FIXME: This hack should be removed a few years after 2.60.
13687 ac_datarootdir_hack=; ac_datarootdir_seen=
13688 ac_sed_dataroot='
13689 /datarootdir/ {
13690   p
13691   q
13692 }
13693 /@datadir@/p
13694 /@docdir@/p
13695 /@infodir@/p
13696 /@localedir@/p
13697 /@mandir@/p'
13698 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13699 *datarootdir*) ac_datarootdir_seen=yes;;
13700 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13701   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13702 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13703 _ACEOF
13704 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13705   ac_datarootdir_hack='
13706   s&@datadir@&$datadir&g
13707   s&@docdir@&$docdir&g
13708   s&@infodir@&$infodir&g
13709   s&@localedir@&$localedir&g
13710   s&@mandir@&$mandir&g
13711   s&\\\${datarootdir}&$datarootdir&g' ;;
13712 esac
13713 _ACEOF
13714
13715 # Neutralize VPATH when `$srcdir' = `.'.
13716 # Shell code in configure.ac might set extrasub.
13717 # FIXME: do we really want to maintain this feature?
13718 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13719 ac_sed_extra="$ac_vpsub
13720 $extrasub
13721 _ACEOF
13722 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13723 :t
13724 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13725 s|@configure_input@|$ac_sed_conf_input|;t t
13726 s&@top_builddir@&$ac_top_builddir_sub&;t t
13727 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13728 s&@srcdir@&$ac_srcdir&;t t
13729 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13730 s&@top_srcdir@&$ac_top_srcdir&;t t
13731 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13732 s&@builddir@&$ac_builddir&;t t
13733 s&@abs_builddir@&$ac_abs_builddir&;t t
13734 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13735 s&@INSTALL@&$ac_INSTALL&;t t
13736 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13737 $ac_datarootdir_hack
13738 "
13739 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
13740   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13741
13742 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13743   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
13744   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
13745       "$ac_tmp/out"`; test -z "$ac_out"; } &&
13746   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13747 which seems to be undefined.  Please make sure it is defined" >&5
13748 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13749 which seems to be undefined.  Please make sure it is defined" >&2;}
13750
13751   rm -f "$ac_tmp/stdin"
13752   case $ac_file in
13753   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13754   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13755   esac \
13756   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13757  ;;
13758   :H)
13759   #
13760   # CONFIG_HEADER
13761   #
13762   if test x"$ac_file" != x-; then
13763     {
13764       $as_echo "/* $configure_input  */" \
13765       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13766     } >"$ac_tmp/config.h" \
13767       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13768     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13769       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13770 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13771     else
13772       rm -f "$ac_file"
13773       mv "$ac_tmp/config.h" "$ac_file" \
13774         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13775     fi
13776   else
13777     $as_echo "/* $configure_input  */" \
13778       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13779       || as_fn_error $? "could not create -" "$LINENO" 5
13780   fi
13781 # Compute "$ac_file"'s index in $config_headers.
13782 _am_arg="$ac_file"
13783 _am_stamp_count=1
13784 for _am_header in $config_headers :; do
13785   case $_am_header in
13786     $_am_arg | $_am_arg:* )
13787       break ;;
13788     * )
13789       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13790   esac
13791 done
13792 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13793 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13794          X"$_am_arg" : 'X\(//\)[^/]' \| \
13795          X"$_am_arg" : 'X\(//\)$' \| \
13796          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13797 $as_echo X"$_am_arg" |
13798     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13799             s//\1/
13800             q
13801           }
13802           /^X\(\/\/\)[^/].*/{
13803             s//\1/
13804             q
13805           }
13806           /^X\(\/\/\)$/{
13807             s//\1/
13808             q
13809           }
13810           /^X\(\/\).*/{
13811             s//\1/
13812             q
13813           }
13814           s/.*/./; q'`/stamp-h$_am_stamp_count
13815  ;;
13816
13817   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13818 $as_echo "$as_me: executing $ac_file commands" >&6;}
13819  ;;
13820   esac
13821
13822
13823   case $ac_file$ac_mode in
13824     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13825   # Autoconf 2.62 quotes --file arguments for eval, but not when files
13826   # are listed without --file.  Let's play safe and only enable the eval
13827   # if we detect the quoting.
13828   case $CONFIG_FILES in
13829   *\'*) eval set x "$CONFIG_FILES" ;;
13830   *)   set x $CONFIG_FILES ;;
13831   esac
13832   shift
13833   for mf
13834   do
13835     # Strip MF so we end up with the name of the file.
13836     mf=`echo "$mf" | sed -e 's/:.*$//'`
13837     # Check whether this is an Automake generated Makefile or not.
13838     # We used to match only the files named `Makefile.in', but
13839     # some people rename them; so instead we look at the file content.
13840     # Grep'ing the first line is not enough: some people post-process
13841     # each Makefile.in and add a new line on top of each file to say so.
13842     # Grep'ing the whole file is not good either: AIX grep has a line
13843     # limit of 2048, but all sed's we know have understand at least 4000.
13844     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13845       dirpart=`$as_dirname -- "$mf" ||
13846 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13847          X"$mf" : 'X\(//\)[^/]' \| \
13848          X"$mf" : 'X\(//\)$' \| \
13849          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13850 $as_echo X"$mf" |
13851     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13852             s//\1/
13853             q
13854           }
13855           /^X\(\/\/\)[^/].*/{
13856             s//\1/
13857             q
13858           }
13859           /^X\(\/\/\)$/{
13860             s//\1/
13861             q
13862           }
13863           /^X\(\/\).*/{
13864             s//\1/
13865             q
13866           }
13867           s/.*/./; q'`
13868     else
13869       continue
13870     fi
13871     # Extract the definition of DEPDIR, am__include, and am__quote
13872     # from the Makefile without running `make'.
13873     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13874     test -z "$DEPDIR" && continue
13875     am__include=`sed -n 's/^am__include = //p' < "$mf"`
13876     test -z "am__include" && continue
13877     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13878     # When using ansi2knr, U may be empty or an underscore; expand it
13879     U=`sed -n 's/^U = //p' < "$mf"`
13880     # Find all dependency output files, they are included files with
13881     # $(DEPDIR) in their names.  We invoke sed twice because it is the
13882     # simplest approach to changing $(DEPDIR) to its actual value in the
13883     # expansion.
13884     for file in `sed -n "
13885       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13886          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13887       # Make sure the directory exists.
13888       test -f "$dirpart/$file" && continue
13889       fdir=`$as_dirname -- "$file" ||
13890 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13891          X"$file" : 'X\(//\)[^/]' \| \
13892          X"$file" : 'X\(//\)$' \| \
13893          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13894 $as_echo X"$file" |
13895     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13896             s//\1/
13897             q
13898           }
13899           /^X\(\/\/\)[^/].*/{
13900             s//\1/
13901             q
13902           }
13903           /^X\(\/\/\)$/{
13904             s//\1/
13905             q
13906           }
13907           /^X\(\/\).*/{
13908             s//\1/
13909             q
13910           }
13911           s/.*/./; q'`
13912       as_dir=$dirpart/$fdir; as_fn_mkdir_p
13913       # echo "creating $dirpart/$file"
13914       echo '# dummy' > "$dirpart/$file"
13915     done
13916   done
13917 }
13918  ;;
13919     "libtool":C)
13920
13921     # See if we are running on zsh, and set the options which allow our
13922     # commands through without removal of \ escapes.
13923     if test -n "${ZSH_VERSION+set}" ; then
13924       setopt NO_GLOB_SUBST
13925     fi
13926
13927     cfgfile="${ofile}T"
13928     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13929     $RM "$cfgfile"
13930
13931     cat <<_LT_EOF >> "$cfgfile"
13932 #! $SHELL
13933
13934 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13935 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13936 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13937 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13938 #
13939 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13940 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
13941 #                 Foundation, Inc.
13942 #   Written by Gordon Matzigkeit, 1996
13943 #
13944 #   This file is part of GNU Libtool.
13945 #
13946 # GNU Libtool is free software; you can redistribute it and/or
13947 # modify it under the terms of the GNU General Public License as
13948 # published by the Free Software Foundation; either version 2 of
13949 # the License, or (at your option) any later version.
13950 #
13951 # As a special exception to the GNU General Public License,
13952 # if you distribute this file as part of a program or library that
13953 # is built using GNU Libtool, you may include this file under the
13954 # same distribution terms that you use for the rest of that program.
13955 #
13956 # GNU Libtool is distributed in the hope that it will be useful,
13957 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13958 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13959 # GNU General Public License for more details.
13960 #
13961 # You should have received a copy of the GNU General Public License
13962 # along with GNU Libtool; see the file COPYING.  If not, a copy
13963 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13964 # obtained by writing to the Free Software Foundation, Inc.,
13965 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13966
13967
13968 # The names of the tagged configurations supported by this script.
13969 available_tags=""
13970
13971 # ### BEGIN LIBTOOL CONFIG
13972
13973 # Which release of libtool.m4 was used?
13974 macro_version=$macro_version
13975 macro_revision=$macro_revision
13976
13977 # Whether or not to build shared libraries.
13978 build_libtool_libs=$enable_shared
13979
13980 # Whether or not to build static libraries.
13981 build_old_libs=$enable_static
13982
13983 # What type of objects to build.
13984 pic_mode=$pic_mode
13985
13986 # Whether or not to optimize for fast installation.
13987 fast_install=$enable_fast_install
13988
13989 # Shell to use when invoking shell scripts.
13990 SHELL=$lt_SHELL
13991
13992 # An echo program that protects backslashes.
13993 ECHO=$lt_ECHO
13994
13995 # The PATH separator for the build system.
13996 PATH_SEPARATOR=$lt_PATH_SEPARATOR
13997
13998 # The host system.
13999 host_alias=$host_alias
14000 host=$host
14001 host_os=$host_os
14002
14003 # The build system.
14004 build_alias=$build_alias
14005 build=$build
14006 build_os=$build_os
14007
14008 # A sed program that does not truncate output.
14009 SED=$lt_SED
14010
14011 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14012 Xsed="\$SED -e 1s/^X//"
14013
14014 # A grep program that handles long lines.
14015 GREP=$lt_GREP
14016
14017 # An ERE matcher.
14018 EGREP=$lt_EGREP
14019
14020 # A literal string matcher.
14021 FGREP=$lt_FGREP
14022
14023 # A BSD- or MS-compatible name lister.
14024 NM=$lt_NM
14025
14026 # Whether we need soft or hard links.
14027 LN_S=$lt_LN_S
14028
14029 # What is the maximum length of a command?
14030 max_cmd_len=$max_cmd_len
14031
14032 # Object file suffix (normally "o").
14033 objext=$ac_objext
14034
14035 # Executable file suffix (normally "").
14036 exeext=$exeext
14037
14038 # whether the shell understands "unset".
14039 lt_unset=$lt_unset
14040
14041 # turn spaces into newlines.
14042 SP2NL=$lt_lt_SP2NL
14043
14044 # turn newlines into spaces.
14045 NL2SP=$lt_lt_NL2SP
14046
14047 # convert \$build file names to \$host format.
14048 to_host_file_cmd=$lt_cv_to_host_file_cmd
14049
14050 # convert \$build files to toolchain format.
14051 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14052
14053 # An object symbol dumper.
14054 OBJDUMP=$lt_OBJDUMP
14055
14056 # Method to check whether dependent libraries are shared objects.
14057 deplibs_check_method=$lt_deplibs_check_method
14058
14059 # Command to use when deplibs_check_method = "file_magic".
14060 file_magic_cmd=$lt_file_magic_cmd
14061
14062 # How to find potential files when deplibs_check_method = "file_magic".
14063 file_magic_glob=$lt_file_magic_glob
14064
14065 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14066 want_nocaseglob=$lt_want_nocaseglob
14067
14068 # DLL creation program.
14069 DLLTOOL=$lt_DLLTOOL
14070
14071 # Command to associate shared and link libraries.
14072 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14073
14074 # The archiver.
14075 AR=$lt_AR
14076
14077 # Flags to create an archive.
14078 AR_FLAGS=$lt_AR_FLAGS
14079
14080 # How to feed a file listing to the archiver.
14081 archiver_list_spec=$lt_archiver_list_spec
14082
14083 # A symbol stripping program.
14084 STRIP=$lt_STRIP
14085
14086 # Commands used to install an old-style archive.
14087 RANLIB=$lt_RANLIB
14088 old_postinstall_cmds=$lt_old_postinstall_cmds
14089 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14090
14091 # Whether to use a lock for old archive extraction.
14092 lock_old_archive_extraction=$lock_old_archive_extraction
14093
14094 # A C compiler.
14095 LTCC=$lt_CC
14096
14097 # LTCC compiler flags.
14098 LTCFLAGS=$lt_CFLAGS
14099
14100 # Take the output of nm and produce a listing of raw symbols and C names.
14101 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14102
14103 # Transform the output of nm in a proper C declaration.
14104 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14105
14106 # Transform the output of nm in a C name address pair.
14107 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14108
14109 # Transform the output of nm in a C name address pair when lib prefix is needed.
14110 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14111
14112 # Specify filename containing input files for \$NM.
14113 nm_file_list_spec=$lt_nm_file_list_spec
14114
14115 # The root where to search for dependent libraries,and in which our libraries should be installed.
14116 lt_sysroot=$lt_sysroot
14117
14118 # The name of the directory that contains temporary libtool files.
14119 objdir=$objdir
14120
14121 # Used to examine libraries when file_magic_cmd begins with "file".
14122 MAGIC_CMD=$MAGIC_CMD
14123
14124 # Must we lock files when doing compilation?
14125 need_locks=$lt_need_locks
14126
14127 # Manifest tool.
14128 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14129
14130 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14131 DSYMUTIL=$lt_DSYMUTIL
14132
14133 # Tool to change global to local symbols on Mac OS X.
14134 NMEDIT=$lt_NMEDIT
14135
14136 # Tool to manipulate fat objects and archives on Mac OS X.
14137 LIPO=$lt_LIPO
14138
14139 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14140 OTOOL=$lt_OTOOL
14141
14142 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14143 OTOOL64=$lt_OTOOL64
14144
14145 # Old archive suffix (normally "a").
14146 libext=$libext
14147
14148 # Shared library suffix (normally ".so").
14149 shrext_cmds=$lt_shrext_cmds
14150
14151 # The commands to extract the exported symbol list from a shared archive.
14152 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14153
14154 # Variables whose values should be saved in libtool wrapper scripts and
14155 # restored at link time.
14156 variables_saved_for_relink=$lt_variables_saved_for_relink
14157
14158 # Do we need the "lib" prefix for modules?
14159 need_lib_prefix=$need_lib_prefix
14160
14161 # Do we need a version for libraries?
14162 need_version=$need_version
14163
14164 # Library versioning type.
14165 version_type=$version_type
14166
14167 # Shared library runtime path variable.
14168 runpath_var=$runpath_var
14169
14170 # Shared library path variable.
14171 shlibpath_var=$shlibpath_var
14172
14173 # Is shlibpath searched before the hard-coded library search path?
14174 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14175
14176 # Format of library name prefix.
14177 libname_spec=$lt_libname_spec
14178
14179 # List of archive names.  First name is the real one, the rest are links.
14180 # The last name is the one that the linker finds with -lNAME
14181 library_names_spec=$lt_library_names_spec
14182
14183 # The coded name of the library, if different from the real name.
14184 soname_spec=$lt_soname_spec
14185
14186 # Permission mode override for installation of shared libraries.
14187 install_override_mode=$lt_install_override_mode
14188
14189 # Command to use after installation of a shared archive.
14190 postinstall_cmds=$lt_postinstall_cmds
14191
14192 # Command to use after uninstallation of a shared archive.
14193 postuninstall_cmds=$lt_postuninstall_cmds
14194
14195 # Commands used to finish a libtool library installation in a directory.
14196 finish_cmds=$lt_finish_cmds
14197
14198 # As "finish_cmds", except a single script fragment to be evaled but
14199 # not shown.
14200 finish_eval=$lt_finish_eval
14201
14202 # Whether we should hardcode library paths into libraries.
14203 hardcode_into_libs=$hardcode_into_libs
14204
14205 # Compile-time system search path for libraries.
14206 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14207
14208 # Run-time system search path for libraries.
14209 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14210
14211 # Whether dlopen is supported.
14212 dlopen_support=$enable_dlopen
14213
14214 # Whether dlopen of programs is supported.
14215 dlopen_self=$enable_dlopen_self
14216
14217 # Whether dlopen of statically linked programs is supported.
14218 dlopen_self_static=$enable_dlopen_self_static
14219
14220 # Commands to strip libraries.
14221 old_striplib=$lt_old_striplib
14222 striplib=$lt_striplib
14223
14224
14225 # The linker used to build libraries.
14226 LD=$lt_LD
14227
14228 # How to create reloadable object files.
14229 reload_flag=$lt_reload_flag
14230 reload_cmds=$lt_reload_cmds
14231
14232 # Commands used to build an old-style archive.
14233 old_archive_cmds=$lt_old_archive_cmds
14234
14235 # A language specific compiler.
14236 CC=$lt_compiler
14237
14238 # Is the compiler the GNU compiler?
14239 with_gcc=$GCC
14240
14241 # Compiler flag to turn off builtin functions.
14242 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14243
14244 # Additional compiler flags for building library objects.
14245 pic_flag=$lt_lt_prog_compiler_pic
14246
14247 # How to pass a linker flag through the compiler.
14248 wl=$lt_lt_prog_compiler_wl
14249
14250 # Compiler flag to prevent dynamic linking.
14251 link_static_flag=$lt_lt_prog_compiler_static
14252
14253 # Does compiler simultaneously support -c and -o options?
14254 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14255
14256 # Whether or not to add -lc for building shared libraries.
14257 build_libtool_need_lc=$archive_cmds_need_lc
14258
14259 # Whether or not to disallow shared libs when runtime libs are static.
14260 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14261
14262 # Compiler flag to allow reflexive dlopens.
14263 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14264
14265 # Compiler flag to generate shared objects directly from archives.
14266 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14267
14268 # Whether the compiler copes with passing no objects directly.
14269 compiler_needs_object=$lt_compiler_needs_object
14270
14271 # Create an old-style archive from a shared archive.
14272 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14273
14274 # Create a temporary old-style archive to link instead of a shared archive.
14275 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14276
14277 # Commands used to build a shared archive.
14278 archive_cmds=$lt_archive_cmds
14279 archive_expsym_cmds=$lt_archive_expsym_cmds
14280
14281 # Commands used to build a loadable module if different from building
14282 # a shared archive.
14283 module_cmds=$lt_module_cmds
14284 module_expsym_cmds=$lt_module_expsym_cmds
14285
14286 # Whether we are building with GNU ld or not.
14287 with_gnu_ld=$lt_with_gnu_ld
14288
14289 # Flag that allows shared libraries with undefined symbols to be built.
14290 allow_undefined_flag=$lt_allow_undefined_flag
14291
14292 # Flag that enforces no undefined symbols.
14293 no_undefined_flag=$lt_no_undefined_flag
14294
14295 # Flag to hardcode \$libdir into a binary during linking.
14296 # This must work even if \$libdir does not exist
14297 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14298
14299 # Whether we need a single "-rpath" flag with a separated argument.
14300 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14301
14302 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14303 # DIR into the resulting binary.
14304 hardcode_direct=$hardcode_direct
14305
14306 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14307 # DIR into the resulting binary and the resulting library dependency is
14308 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14309 # library is relocated.
14310 hardcode_direct_absolute=$hardcode_direct_absolute
14311
14312 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14313 # into the resulting binary.
14314 hardcode_minus_L=$hardcode_minus_L
14315
14316 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14317 # into the resulting binary.
14318 hardcode_shlibpath_var=$hardcode_shlibpath_var
14319
14320 # Set to "yes" if building a shared library automatically hardcodes DIR
14321 # into the library and all subsequent libraries and executables linked
14322 # against it.
14323 hardcode_automatic=$hardcode_automatic
14324
14325 # Set to yes if linker adds runtime paths of dependent libraries
14326 # to runtime path list.
14327 inherit_rpath=$inherit_rpath
14328
14329 # Whether libtool must link a program against all its dependency libraries.
14330 link_all_deplibs=$link_all_deplibs
14331
14332 # Set to "yes" if exported symbols are required.
14333 always_export_symbols=$always_export_symbols
14334
14335 # The commands to list exported symbols.
14336 export_symbols_cmds=$lt_export_symbols_cmds
14337
14338 # Symbols that should not be listed in the preloaded symbols.
14339 exclude_expsyms=$lt_exclude_expsyms
14340
14341 # Symbols that must always be exported.
14342 include_expsyms=$lt_include_expsyms
14343
14344 # Commands necessary for linking programs (against libraries) with templates.
14345 prelink_cmds=$lt_prelink_cmds
14346
14347 # Commands necessary for finishing linking programs.
14348 postlink_cmds=$lt_postlink_cmds
14349
14350 # Specify filename containing input files.
14351 file_list_spec=$lt_file_list_spec
14352
14353 # How to hardcode a shared library path into an executable.
14354 hardcode_action=$hardcode_action
14355
14356 # ### END LIBTOOL CONFIG
14357
14358 _LT_EOF
14359
14360   case $host_os in
14361   aix3*)
14362     cat <<\_LT_EOF >> "$cfgfile"
14363 # AIX sometimes has problems with the GCC collect2 program.  For some
14364 # reason, if we set the COLLECT_NAMES environment variable, the problems
14365 # vanish in a puff of smoke.
14366 if test "X${COLLECT_NAMES+set}" != Xset; then
14367   COLLECT_NAMES=
14368   export COLLECT_NAMES
14369 fi
14370 _LT_EOF
14371     ;;
14372   esac
14373
14374
14375 ltmain="$ac_aux_dir/ltmain.sh"
14376
14377
14378   # We use sed instead of cat because bash on DJGPP gets confused if
14379   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14380   # text mode, it properly converts lines to CR/LF.  This bash problem
14381   # is reportedly fixed, but why not run on old versions too?
14382   sed '$q' "$ltmain" >> "$cfgfile" \
14383      || (rm -f "$cfgfile"; exit 1)
14384
14385   if test x"$xsi_shell" = xyes; then
14386   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14387 func_dirname ()\
14388 {\
14389 \    case ${1} in\
14390 \      */*) func_dirname_result="${1%/*}${2}" ;;\
14391 \      *  ) func_dirname_result="${3}" ;;\
14392 \    esac\
14393 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14394   && mv -f "$cfgfile.tmp" "$cfgfile" \
14395     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14396 test 0 -eq $? || _lt_function_replace_fail=:
14397
14398
14399   sed -e '/^func_basename ()$/,/^} # func_basename /c\
14400 func_basename ()\
14401 {\
14402 \    func_basename_result="${1##*/}"\
14403 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14404   && mv -f "$cfgfile.tmp" "$cfgfile" \
14405     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14406 test 0 -eq $? || _lt_function_replace_fail=:
14407
14408
14409   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14410 func_dirname_and_basename ()\
14411 {\
14412 \    case ${1} in\
14413 \      */*) func_dirname_result="${1%/*}${2}" ;;\
14414 \      *  ) func_dirname_result="${3}" ;;\
14415 \    esac\
14416 \    func_basename_result="${1##*/}"\
14417 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14418   && mv -f "$cfgfile.tmp" "$cfgfile" \
14419     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14420 test 0 -eq $? || _lt_function_replace_fail=:
14421
14422
14423   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14424 func_stripname ()\
14425 {\
14426 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14427 \    # positional parameters, so assign one to ordinary parameter first.\
14428 \    func_stripname_result=${3}\
14429 \    func_stripname_result=${func_stripname_result#"${1}"}\
14430 \    func_stripname_result=${func_stripname_result%"${2}"}\
14431 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14432   && mv -f "$cfgfile.tmp" "$cfgfile" \
14433     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14434 test 0 -eq $? || _lt_function_replace_fail=:
14435
14436
14437   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14438 func_split_long_opt ()\
14439 {\
14440 \    func_split_long_opt_name=${1%%=*}\
14441 \    func_split_long_opt_arg=${1#*=}\
14442 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14443   && mv -f "$cfgfile.tmp" "$cfgfile" \
14444     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14445 test 0 -eq $? || _lt_function_replace_fail=:
14446
14447
14448   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14449 func_split_short_opt ()\
14450 {\
14451 \    func_split_short_opt_arg=${1#??}\
14452 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14453 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14454   && mv -f "$cfgfile.tmp" "$cfgfile" \
14455     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14456 test 0 -eq $? || _lt_function_replace_fail=:
14457
14458
14459   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14460 func_lo2o ()\
14461 {\
14462 \    case ${1} in\
14463 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14464 \      *)    func_lo2o_result=${1} ;;\
14465 \    esac\
14466 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14467   && mv -f "$cfgfile.tmp" "$cfgfile" \
14468     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14469 test 0 -eq $? || _lt_function_replace_fail=:
14470
14471
14472   sed -e '/^func_xform ()$/,/^} # func_xform /c\
14473 func_xform ()\
14474 {\
14475     func_xform_result=${1%.*}.lo\
14476 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14477   && mv -f "$cfgfile.tmp" "$cfgfile" \
14478     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14479 test 0 -eq $? || _lt_function_replace_fail=:
14480
14481
14482   sed -e '/^func_arith ()$/,/^} # func_arith /c\
14483 func_arith ()\
14484 {\
14485     func_arith_result=$(( $* ))\
14486 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14487   && mv -f "$cfgfile.tmp" "$cfgfile" \
14488     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14489 test 0 -eq $? || _lt_function_replace_fail=:
14490
14491
14492   sed -e '/^func_len ()$/,/^} # func_len /c\
14493 func_len ()\
14494 {\
14495     func_len_result=${#1}\
14496 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14497   && mv -f "$cfgfile.tmp" "$cfgfile" \
14498     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14499 test 0 -eq $? || _lt_function_replace_fail=:
14500
14501 fi
14502
14503 if test x"$lt_shell_append" = xyes; then
14504   sed -e '/^func_append ()$/,/^} # func_append /c\
14505 func_append ()\
14506 {\
14507     eval "${1}+=\\${2}"\
14508 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14509   && mv -f "$cfgfile.tmp" "$cfgfile" \
14510     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14511 test 0 -eq $? || _lt_function_replace_fail=:
14512
14513
14514   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14515 func_append_quoted ()\
14516 {\
14517 \    func_quote_for_eval "${2}"\
14518 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14519 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14520   && mv -f "$cfgfile.tmp" "$cfgfile" \
14521     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14522 test 0 -eq $? || _lt_function_replace_fail=:
14523
14524
14525   # Save a `func_append' function call where possible by direct use of '+='
14526   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14527     && mv -f "$cfgfile.tmp" "$cfgfile" \
14528       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14529   test 0 -eq $? || _lt_function_replace_fail=:
14530 else
14531   # Save a `func_append' function call even when '+=' is not available
14532   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14533     && mv -f "$cfgfile.tmp" "$cfgfile" \
14534       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14535   test 0 -eq $? || _lt_function_replace_fail=:
14536 fi
14537
14538 if test x"$_lt_function_replace_fail" = x":"; then
14539   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14540 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14541 fi
14542
14543
14544    mv -f "$cfgfile" "$ofile" ||
14545     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14546   chmod +x "$ofile"
14547
14548  ;;
14549
14550   esac
14551 done # for ac_tag
14552
14553
14554 as_fn_exit 0
14555 _ACEOF
14556 ac_clean_files=$ac_clean_files_save
14557
14558 test $ac_write_fail = 0 ||
14559   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14560
14561
14562 # configure is writing to config.log, and then calls config.status.
14563 # config.status does its own redirection, appending to config.log.
14564 # Unfortunately, on DOS this fails, as config.log is still kept open
14565 # by configure, so config.status won't be able to write to it; its
14566 # output is simply discarded.  So we exec the FD to /dev/null,
14567 # effectively closing config.log, so it can be properly (re)opened and
14568 # appended to by config.status.  When coming back to configure, we
14569 # need to make the FD available again.
14570 if test "$no_create" != yes; then
14571   ac_cs_success=:
14572   ac_config_status_args=
14573   test "$silent" = yes &&
14574     ac_config_status_args="$ac_config_status_args --quiet"
14575   exec 5>/dev/null
14576   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14577   exec 5>>config.log
14578   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14579   # would make configure fail if this is the last instruction.
14580   $ac_cs_success || as_fn_exit 1
14581 fi
14582 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14583   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14584 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14585 fi
14586