Changes to update Tomato RAF.
[tomato.git] / release / src / router / glib / autom4te.cache / output.0
blob4fe3f184da370782dc0fbf8899d693e6c5197db1
1 @%:@! /bin/sh
2 @%:@ Guess values for system-dependent variables and create Makefiles.
3 @%:@ Generated by GNU Autoconf 2.68.
4 @%:@ 
5 @%:@ 
6 @%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 @%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8 @%:@ 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 ## -------------------- ##
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
36 as_nl='
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'
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   }
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"
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
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
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
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
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='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 if test "x$CONFIG_SHELL" = x; then
138   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
139   emulate sh
140   NULLCMD=:
141   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142   # is contrary to our usage.  Disable this feature.
143   alias -g '\${1+\"\$@\"}'='\"\$@\"'
144   setopt NO_GLOB_SUBST
145 else
146   case \`(set -o) 2>/dev/null\` in @%:@(
147   *posix*) :
148     set -o posix ;; @%:@(
149   *) :
150      ;;
151 esac
154   as_required="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
160 exitcode=0
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
166   
167 else
168   exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
177     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
178     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
179     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180     PATH=/empty FPATH=/empty; export PATH FPATH
181     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
182       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
183 test \$(( 1 + 1 )) = 2 || exit 1"
184   if (eval "$as_required") 2>/dev/null; then :
185   as_have_required=yes
186 else
187   as_have_required=no
189   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
190   
191 else
192   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
193 as_found=false
194 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
196   IFS=$as_save_IFS
197   test -z "$as_dir" && as_dir=.
198   as_found=:
199   case $as_dir in @%:@(
200          /*)
201            for as_base in sh bash ksh sh5; do
202              # Try only shells that exist, to save several forks.
203              as_shell=$as_dir/$as_base
204              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
205                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
206   CONFIG_SHELL=$as_shell as_have_required=yes
207                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208   break 2
211            done;;
212        esac
213   as_found=false
214 done
215 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
216               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
217   CONFIG_SHELL=$SHELL as_have_required=yes
218 fi; }
219 IFS=$as_save_IFS
222       if test "x$CONFIG_SHELL" != x; then :
223   # We cannot yet assume a decent shell, so we have to provide a
224         # neutralization value for shells without unset; and this also
225         # works around shells that cannot unset nonexistent variables.
226         # Preserve -v and -x to the replacement shell.
227         BASH_ENV=/dev/null
228         ENV=/dev/null
229         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
230         export CONFIG_SHELL
231         case $- in @%:@ ((((
232           *v*x* | *x*v* ) as_opts=-vx ;;
233           *v* ) as_opts=-v ;;
234           *x* ) as_opts=-x ;;
235           * ) as_opts= ;;
236         esac
237         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240     if test x$as_have_required = xno; then :
241   $as_echo "$0: This script requires a shell more modern than all"
242   $as_echo "$0: the shells that I found on your system."
243   if test x${ZSH_VERSION+set} = xset ; then
244     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
245     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
246   else
247     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
248 $0: including any error possibly output before this
249 $0: message. Then install a modern shell, or manually run
250 $0: the script under such a shell if you do have one."
251   fi
252   exit 1
256 SHELL=${CONFIG_SHELL-/bin/sh}
257 export SHELL
258 # Unset more variables known to interfere with behavior of common tools.
259 CLICOLOR_FORCE= GREP_OPTIONS=
260 unset CLICOLOR_FORCE GREP_OPTIONS
262 ## --------------------- ##
263 ## M4sh Shell Functions. ##
264 ## --------------------- ##
265 @%:@ as_fn_unset VAR
266 @%:@ ---------------
267 @%:@ Portably unset VAR.
268 as_fn_unset ()
270   { eval $1=; unset $1;}
272 as_unset=as_fn_unset
274 @%:@ as_fn_set_status STATUS
275 @%:@ -----------------------
276 @%:@ Set @S|@? to STATUS, without forking.
277 as_fn_set_status ()
279   return $1
280 } @%:@ as_fn_set_status
282 @%:@ as_fn_exit STATUS
283 @%:@ -----------------
284 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
285 as_fn_exit ()
287   set +e
288   as_fn_set_status $1
289   exit $1
290 } @%:@ as_fn_exit
292 @%:@ as_fn_mkdir_p
293 @%:@ -------------
294 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
295 as_fn_mkdir_p ()
298   case $as_dir in #(
299   -*) as_dir=./$as_dir;;
300   esac
301   test -d "$as_dir" || eval $as_mkdir_p || {
302     as_dirs=
303     while :; do
304       case $as_dir in #(
305       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
306       *) as_qdir=$as_dir;;
307       esac
308       as_dirs="'$as_qdir' $as_dirs"
309       as_dir=`$as_dirname -- "$as_dir" ||
310 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
311          X"$as_dir" : 'X\(//\)[^/]' \| \
312          X"$as_dir" : 'X\(//\)$' \| \
313          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
314 $as_echo X"$as_dir" |
315     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316             s//\1/
317             q
318           }
319           /^X\(\/\/\)[^/].*/{
320             s//\1/
321             q
322           }
323           /^X\(\/\/\)$/{
324             s//\1/
325             q
326           }
327           /^X\(\/\).*/{
328             s//\1/
329             q
330           }
331           s/.*/./; q'`
332       test -d "$as_dir" && break
333     done
334     test -z "$as_dirs" || eval "mkdir $as_dirs"
335   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
338 } @%:@ as_fn_mkdir_p
339 @%:@ as_fn_append VAR VALUE
340 @%:@ ----------------------
341 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
342 @%:@ advantage of any shell optimizations that allow amortized linear growth over
343 @%:@ repeated appends, instead of the typical quadratic growth present in naive
344 @%:@ implementations.
345 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
346   eval 'as_fn_append ()
347   {
348     eval $1+=\$2
349   }'
350 else
351   as_fn_append ()
352   {
353     eval $1=\$$1\$2
354   }
355 fi # as_fn_append
357 @%:@ as_fn_arith ARG...
358 @%:@ ------------------
359 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
360 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
361 @%:@ must be portable across @S|@(()) and expr.
362 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
363   eval 'as_fn_arith ()
364   {
365     as_val=$(( $* ))
366   }'
367 else
368   as_fn_arith ()
369   {
370     as_val=`expr "$@" || test $? -eq 1`
371   }
372 fi # as_fn_arith
375 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
376 @%:@ ----------------------------------------
377 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
378 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
379 @%:@ script with STATUS, using 1 if that was 0.
380 as_fn_error ()
382   as_status=$1; test $as_status -eq 0 && as_status=1
383   if test "$4"; then
384     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
385     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
386   fi
387   $as_echo "$as_me: error: $2" >&2
388   as_fn_exit $as_status
389 } @%:@ as_fn_error
391 if expr a : '\(a\)' >/dev/null 2>&1 &&
392    test "X`expr 00001 : '.*\(...\)'`" = X001; then
393   as_expr=expr
394 else
395   as_expr=false
398 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
399   as_basename=basename
400 else
401   as_basename=false
404 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
405   as_dirname=dirname
406 else
407   as_dirname=false
410 as_me=`$as_basename -- "$0" ||
411 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
412          X"$0" : 'X\(//\)$' \| \
413          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
414 $as_echo X/"$0" |
415     sed '/^.*\/\([^/][^/]*\)\/*$/{
416             s//\1/
417             q
418           }
419           /^X\/\(\/\/\)$/{
420             s//\1/
421             q
422           }
423           /^X\/\(\/\).*/{
424             s//\1/
425             q
426           }
427           s/.*/./; q'`
429 # Avoid depending upon Character Ranges.
430 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
431 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
432 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
433 as_cr_digits='0123456789'
434 as_cr_alnum=$as_cr_Letters$as_cr_digits
437   as_lineno_1=$LINENO as_lineno_1a=$LINENO
438   as_lineno_2=$LINENO as_lineno_2a=$LINENO
439   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
440   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
441   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
442   sed -n '
443     p
444     /[$]LINENO/=
445   ' <$as_myself |
446     sed '
447       s/[$]LINENO.*/&-/
448       t lineno
449       b
450       :lineno
451       N
452       :loop
453       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
454       t loop
455       s/-\n.*//
456     ' >$as_me.lineno &&
457   chmod +x "$as_me.lineno" ||
458     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
460   # Don't try to exec as it changes $[0], causing all sort of problems
461   # (the dirname of $[0] is not the place where we might find the
462   # original and so on.  Autoconf is especially sensitive to this).
463   . "./$as_me.lineno"
464   # Exit status is that of the last command.
465   exit
468 ECHO_C= ECHO_N= ECHO_T=
469 case `echo -n x` in @%:@(((((
470 -n*)
471   case `echo 'xy\c'` in
472   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
473   xy)  ECHO_C='\c';;
474   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
475        ECHO_T=' ';;
476   esac;;
478   ECHO_N='-n';;
479 esac
481 rm -f conf$$ conf$$.exe conf$$.file
482 if test -d conf$$.dir; then
483   rm -f conf$$.dir/conf$$.file
484 else
485   rm -f conf$$.dir
486   mkdir conf$$.dir 2>/dev/null
488 if (echo >conf$$.file) 2>/dev/null; then
489   if ln -s conf$$.file conf$$ 2>/dev/null; then
490     as_ln_s='ln -s'
491     # ... but there are two gotchas:
492     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
493     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
494     # In both cases, we have to default to `cp -p'.
495     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
496       as_ln_s='cp -p'
497   elif ln conf$$.file conf$$ 2>/dev/null; then
498     as_ln_s=ln
499   else
500     as_ln_s='cp -p'
501   fi
502 else
503   as_ln_s='cp -p'
505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506 rmdir conf$$.dir 2>/dev/null
508 if mkdir -p . 2>/dev/null; then
509   as_mkdir_p='mkdir -p "$as_dir"'
510 else
511   test -d ./-p && rmdir ./-p
512   as_mkdir_p=false
515 if test -x / >/dev/null 2>&1; then
516   as_test_x='test -x'
517 else
518   if ls -dL / >/dev/null 2>&1; then
519     as_ls_L_option=L
520   else
521     as_ls_L_option=
522   fi
523   as_test_x='
524     eval sh -c '\''
525       if test -d "$1"; then
526         test -d "$1/.";
527       else
528         case $1 in @%:@(
529         -*)set "./$1";;
530         esac;
531         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
532         ???[sx]*):;;*)false;;esac;fi
533     '\'' sh
534   '
536 as_executable_p=$as_test_x
538 # Sed expression to map a string onto a valid CPP name.
539 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
541 # Sed expression to map a string onto a valid variable name.
542 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
544 SHELL=${CONFIG_SHELL-/bin/sh}
547 test -n "$DJDIR" || exec 7<&0 </dev/null
548 exec 6>&1
550 # Name of the host.
551 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
552 # so uname gets run too.
553 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
556 # Initializations.
558 ac_default_prefix=/usr/local
559 ac_clean_files=
560 ac_config_libobj_dir=.
561 LIB@&t@OBJS=
562 cross_compiling=no
563 subdirs=
564 MFLAGS=
565 MAKEFLAGS=
567 # Identity of this package.
568 PACKAGE_NAME=
569 PACKAGE_TARNAME=
570 PACKAGE_VERSION=
571 PACKAGE_STRING=
572 PACKAGE_BUGREPORT=
573 PACKAGE_URL=
575 ac_unique_file="glist.c"
576 # Factoring default headers for most tests.
577 ac_includes_default="\
578 #include <stdio.h>
579 #ifdef HAVE_SYS_TYPES_H
580 # include <sys/types.h>
581 #endif
582 #ifdef HAVE_SYS_STAT_H
583 # include <sys/stat.h>
584 #endif
585 #ifdef STDC_HEADERS
586 # include <stdlib.h>
587 # include <stddef.h>
588 #else
589 # ifdef HAVE_STDLIB_H
590 #  include <stdlib.h>
591 # endif
592 #endif
593 #ifdef HAVE_STRING_H
594 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
595 #  include <memory.h>
596 # endif
597 # include <string.h>
598 #endif
599 #ifdef HAVE_STRINGS_H
600 # include <strings.h>
601 #endif
602 #ifdef HAVE_INTTYPES_H
603 # include <inttypes.h>
604 #endif
605 #ifdef HAVE_STDINT_H
606 # include <stdint.h>
607 #endif
608 #ifdef HAVE_UNISTD_H
609 # include <unistd.h>
610 #endif"
612 ac_subst_vars='am__EXEEXT_FALSE
613 am__EXEEXT_TRUE
614 LTLIBOBJS
615 LIB@&t@OBJS
616 G_THREAD_LIBS
617 G_THREAD_CFLAGS
618 GLIB_DEBUG_FLAGS
619 G_MODULE_BROKEN_RTLD_GLOBAL
620 G_MODULE_NEED_USCORE
621 G_MODULE_HAVE_DLERROR
622 G_MODULE_LDFLAGS
623 G_MODULE_LIBS
624 G_MODULE_IMPL
625 ENABLE_MEM_PROFILE
626 ENABLE_MEM_CHECK
627 MAINT
628 MAINTAINER_MODE_FALSE
629 MAINTAINER_MODE_TRUE
631 OTOOL64
632 OTOOL
633 LIPO
634 NMEDIT
635 DSYMUTIL
636 MANIFEST_TOOL
637 RANLIB
638 ac_ct_AR
640 DLLTOOL
641 OBJDUMP
642 LN_S
644 ac_ct_DUMPBIN
645 DUMPBIN
647 FGREP
648 EGREP
649 GREP
651 am__fastdepCC_FALSE
652 am__fastdepCC_TRUE
653 CCDEPMODE
654 AMDEPBACKSLASH
655 AMDEP_FALSE
656 AMDEP_TRUE
657 am__quote
658 am__include
659 DEPDIR
660 OBJEXT
661 EXEEXT
662 ac_ct_CC
663 CPPFLAGS
664 LDFLAGS
665 CFLAGS
667 host_os
668 host_vendor
669 host_cpu
670 host
671 build_os
672 build_vendor
673 build_cpu
674 build
675 LIBTOOL
676 am__untar
677 am__tar
678 AMTAR
679 am__leading_dot
680 SET_MAKE
682 mkdir_p
683 MKDIR_P
684 INSTALL_STRIP_PROGRAM
685 STRIP
686 install_sh
687 MAKEINFO
688 AUTOHEADER
689 AUTOMAKE
690 AUTOCONF
691 ACLOCAL
692 VERSION
693 PACKAGE
694 CYGPATH_W
695 am__isrc
696 INSTALL_DATA
697 INSTALL_SCRIPT
698 INSTALL_PROGRAM
699 LT_AGE
700 LT_REVISION
701 LT_CURRENT
702 LT_RELEASE
703 GLIB_BINARY_AGE
704 GLIB_INTERFACE_AGE
705 GLIB_VERSION
706 GLIB_MICRO_VERSION
707 GLIB_MINOR_VERSION
708 GLIB_MAJOR_VERSION
709 target_alias
710 host_alias
711 build_alias
712 LIBS
713 ECHO_T
714 ECHO_N
715 ECHO_C
716 DEFS
717 mandir
718 localedir
719 libdir
720 psdir
721 pdfdir
722 dvidir
723 htmldir
724 infodir
725 docdir
726 oldincludedir
727 includedir
728 localstatedir
729 sharedstatedir
730 sysconfdir
731 datadir
732 datarootdir
733 libexecdir
734 sbindir
735 bindir
736 program_transform_name
737 prefix
738 exec_prefix
739 PACKAGE_URL
740 PACKAGE_BUGREPORT
741 PACKAGE_STRING
742 PACKAGE_VERSION
743 PACKAGE_TARNAME
744 PACKAGE_NAME
745 PATH_SEPARATOR
746 SHELL'
747 ac_subst_files=''
748 ac_user_opts='
749 enable_option_checking
750 enable_shared
751 enable_static
752 with_pic
753 enable_fast_install
754 enable_dependency_tracking
755 with_gnu_ld
756 with_sysroot
757 enable_libtool_lock
758 enable_maintainer_mode
759 enable_debug
760 enable_mem_check
761 enable_mem_profile
762 enable_ansi
763 enable_threads
764 with_threads
766       ac_precious_vars='build_alias
767 host_alias
768 target_alias
770 CFLAGS
771 LDFLAGS
772 LIBS
773 CPPFLAGS
774 CPP'
777 # Initialize some variables set by options.
778 ac_init_help=
779 ac_init_version=false
780 ac_unrecognized_opts=
781 ac_unrecognized_sep=
782 # The variables have the same names as the options, with
783 # dashes changed to underlines.
784 cache_file=/dev/null
785 exec_prefix=NONE
786 no_create=
787 no_recursion=
788 prefix=NONE
789 program_prefix=NONE
790 program_suffix=NONE
791 program_transform_name=s,x,x,
792 silent=
793 site=
794 srcdir=
795 verbose=
796 x_includes=NONE
797 x_libraries=NONE
799 # Installation directory options.
800 # These are left unexpanded so users can "make install exec_prefix=/foo"
801 # and all the variables that are supposed to be based on exec_prefix
802 # by default will actually change.
803 # Use braces instead of parens because sh, perl, etc. also accept them.
804 # (The list follows the same order as the GNU Coding Standards.)
805 bindir='${exec_prefix}/bin'
806 sbindir='${exec_prefix}/sbin'
807 libexecdir='${exec_prefix}/libexec'
808 datarootdir='${prefix}/share'
809 datadir='${datarootdir}'
810 sysconfdir='${prefix}/etc'
811 sharedstatedir='${prefix}/com'
812 localstatedir='${prefix}/var'
813 includedir='${prefix}/include'
814 oldincludedir='/usr/include'
815 docdir='${datarootdir}/doc/${PACKAGE}'
816 infodir='${datarootdir}/info'
817 htmldir='${docdir}'
818 dvidir='${docdir}'
819 pdfdir='${docdir}'
820 psdir='${docdir}'
821 libdir='${exec_prefix}/lib'
822 localedir='${datarootdir}/locale'
823 mandir='${datarootdir}/man'
825 ac_prev=
826 ac_dashdash=
827 for ac_option
829   # If the previous option needs an argument, assign it.
830   if test -n "$ac_prev"; then
831     eval $ac_prev=\$ac_option
832     ac_prev=
833     continue
834   fi
836   case $ac_option in
837   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
838   *=)   ac_optarg= ;;
839   *)    ac_optarg=yes ;;
840   esac
842   # Accept the important Cygnus configure options, so we can diagnose typos.
844   case $ac_dashdash$ac_option in
845   --)
846     ac_dashdash=yes ;;
848   -bindir | --bindir | --bindi | --bind | --bin | --bi)
849     ac_prev=bindir ;;
850   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
851     bindir=$ac_optarg ;;
853   -build | --build | --buil | --bui | --bu)
854     ac_prev=build_alias ;;
855   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
856     build_alias=$ac_optarg ;;
858   -cache-file | --cache-file | --cache-fil | --cache-fi \
859   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
860     ac_prev=cache_file ;;
861   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
862   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
863     cache_file=$ac_optarg ;;
865   --config-cache | -C)
866     cache_file=config.cache ;;
868   -datadir | --datadir | --datadi | --datad)
869     ac_prev=datadir ;;
870   -datadir=* | --datadir=* | --datadi=* | --datad=*)
871     datadir=$ac_optarg ;;
873   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
874   | --dataroo | --dataro | --datar)
875     ac_prev=datarootdir ;;
876   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
877   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
878     datarootdir=$ac_optarg ;;
880   -disable-* | --disable-*)
881     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
882     # Reject names that are not valid shell variable names.
883     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
884       as_fn_error $? "invalid feature name: $ac_useropt"
885     ac_useropt_orig=$ac_useropt
886     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
887     case $ac_user_opts in
888       *"
889 "enable_$ac_useropt"
890 "*) ;;
891       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
892          ac_unrecognized_sep=', ';;
893     esac
894     eval enable_$ac_useropt=no ;;
896   -docdir | --docdir | --docdi | --doc | --do)
897     ac_prev=docdir ;;
898   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
899     docdir=$ac_optarg ;;
901   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
902     ac_prev=dvidir ;;
903   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
904     dvidir=$ac_optarg ;;
906   -enable-* | --enable-*)
907     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
908     # Reject names that are not valid shell variable names.
909     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
910       as_fn_error $? "invalid feature name: $ac_useropt"
911     ac_useropt_orig=$ac_useropt
912     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
913     case $ac_user_opts in
914       *"
915 "enable_$ac_useropt"
916 "*) ;;
917       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
918          ac_unrecognized_sep=', ';;
919     esac
920     eval enable_$ac_useropt=\$ac_optarg ;;
922   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
923   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
924   | --exec | --exe | --ex)
925     ac_prev=exec_prefix ;;
926   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
927   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
928   | --exec=* | --exe=* | --ex=*)
929     exec_prefix=$ac_optarg ;;
931   -gas | --gas | --ga | --g)
932     # Obsolete; use --with-gas.
933     with_gas=yes ;;
935   -help | --help | --hel | --he | -h)
936     ac_init_help=long ;;
937   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
938     ac_init_help=recursive ;;
939   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
940     ac_init_help=short ;;
942   -host | --host | --hos | --ho)
943     ac_prev=host_alias ;;
944   -host=* | --host=* | --hos=* | --ho=*)
945     host_alias=$ac_optarg ;;
947   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
948     ac_prev=htmldir ;;
949   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
950   | --ht=*)
951     htmldir=$ac_optarg ;;
953   -includedir | --includedir | --includedi | --included | --include \
954   | --includ | --inclu | --incl | --inc)
955     ac_prev=includedir ;;
956   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
957   | --includ=* | --inclu=* | --incl=* | --inc=*)
958     includedir=$ac_optarg ;;
960   -infodir | --infodir | --infodi | --infod | --info | --inf)
961     ac_prev=infodir ;;
962   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
963     infodir=$ac_optarg ;;
965   -libdir | --libdir | --libdi | --libd)
966     ac_prev=libdir ;;
967   -libdir=* | --libdir=* | --libdi=* | --libd=*)
968     libdir=$ac_optarg ;;
970   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
971   | --libexe | --libex | --libe)
972     ac_prev=libexecdir ;;
973   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
974   | --libexe=* | --libex=* | --libe=*)
975     libexecdir=$ac_optarg ;;
977   -localedir | --localedir | --localedi | --localed | --locale)
978     ac_prev=localedir ;;
979   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
980     localedir=$ac_optarg ;;
982   -localstatedir | --localstatedir | --localstatedi | --localstated \
983   | --localstate | --localstat | --localsta | --localst | --locals)
984     ac_prev=localstatedir ;;
985   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
986   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
987     localstatedir=$ac_optarg ;;
989   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
990     ac_prev=mandir ;;
991   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
992     mandir=$ac_optarg ;;
994   -nfp | --nfp | --nf)
995     # Obsolete; use --without-fp.
996     with_fp=no ;;
998   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
999   | --no-cr | --no-c | -n)
1000     no_create=yes ;;
1002   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1003   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1004     no_recursion=yes ;;
1006   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1007   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1008   | --oldin | --oldi | --old | --ol | --o)
1009     ac_prev=oldincludedir ;;
1010   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1011   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1012   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1013     oldincludedir=$ac_optarg ;;
1015   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1016     ac_prev=prefix ;;
1017   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1018     prefix=$ac_optarg ;;
1020   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1021   | --program-pre | --program-pr | --program-p)
1022     ac_prev=program_prefix ;;
1023   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1024   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1025     program_prefix=$ac_optarg ;;
1027   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1028   | --program-suf | --program-su | --program-s)
1029     ac_prev=program_suffix ;;
1030   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1031   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1032     program_suffix=$ac_optarg ;;
1034   -program-transform-name | --program-transform-name \
1035   | --program-transform-nam | --program-transform-na \
1036   | --program-transform-n | --program-transform- \
1037   | --program-transform | --program-transfor \
1038   | --program-transfo | --program-transf \
1039   | --program-trans | --program-tran \
1040   | --progr-tra | --program-tr | --program-t)
1041     ac_prev=program_transform_name ;;
1042   -program-transform-name=* | --program-transform-name=* \
1043   | --program-transform-nam=* | --program-transform-na=* \
1044   | --program-transform-n=* | --program-transform-=* \
1045   | --program-transform=* | --program-transfor=* \
1046   | --program-transfo=* | --program-transf=* \
1047   | --program-trans=* | --program-tran=* \
1048   | --progr-tra=* | --program-tr=* | --program-t=*)
1049     program_transform_name=$ac_optarg ;;
1051   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1052     ac_prev=pdfdir ;;
1053   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1054     pdfdir=$ac_optarg ;;
1056   -psdir | --psdir | --psdi | --psd | --ps)
1057     ac_prev=psdir ;;
1058   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1059     psdir=$ac_optarg ;;
1061   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062   | -silent | --silent | --silen | --sile | --sil)
1063     silent=yes ;;
1065   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1066     ac_prev=sbindir ;;
1067   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1068   | --sbi=* | --sb=*)
1069     sbindir=$ac_optarg ;;
1071   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1072   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1073   | --sharedst | --shareds | --shared | --share | --shar \
1074   | --sha | --sh)
1075     ac_prev=sharedstatedir ;;
1076   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1077   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1078   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1079   | --sha=* | --sh=*)
1080     sharedstatedir=$ac_optarg ;;
1082   -site | --site | --sit)
1083     ac_prev=site ;;
1084   -site=* | --site=* | --sit=*)
1085     site=$ac_optarg ;;
1087   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1088     ac_prev=srcdir ;;
1089   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1090     srcdir=$ac_optarg ;;
1092   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1093   | --syscon | --sysco | --sysc | --sys | --sy)
1094     ac_prev=sysconfdir ;;
1095   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1096   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1097     sysconfdir=$ac_optarg ;;
1099   -target | --target | --targe | --targ | --tar | --ta | --t)
1100     ac_prev=target_alias ;;
1101   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1102     target_alias=$ac_optarg ;;
1104   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1105     verbose=yes ;;
1107   -version | --version | --versio | --versi | --vers | -V)
1108     ac_init_version=: ;;
1110   -with-* | --with-*)
1111     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1112     # Reject names that are not valid shell variable names.
1113     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1114       as_fn_error $? "invalid package name: $ac_useropt"
1115     ac_useropt_orig=$ac_useropt
1116     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1117     case $ac_user_opts in
1118       *"
1119 "with_$ac_useropt"
1120 "*) ;;
1121       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1122          ac_unrecognized_sep=', ';;
1123     esac
1124     eval with_$ac_useropt=\$ac_optarg ;;
1126   -without-* | --without-*)
1127     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1128     # Reject names that are not valid shell variable names.
1129     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1130       as_fn_error $? "invalid package name: $ac_useropt"
1131     ac_useropt_orig=$ac_useropt
1132     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1133     case $ac_user_opts in
1134       *"
1135 "with_$ac_useropt"
1136 "*) ;;
1137       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1138          ac_unrecognized_sep=', ';;
1139     esac
1140     eval with_$ac_useropt=no ;;
1142   --x)
1143     # Obsolete; use --with-x.
1144     with_x=yes ;;
1146   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1147   | --x-incl | --x-inc | --x-in | --x-i)
1148     ac_prev=x_includes ;;
1149   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1150   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1151     x_includes=$ac_optarg ;;
1153   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1154   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1155     ac_prev=x_libraries ;;
1156   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1157   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1158     x_libraries=$ac_optarg ;;
1160   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1161 Try \`$0 --help' for more information"
1162     ;;
1164   *=*)
1165     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1166     # Reject names that are not valid shell variable names.
1167     case $ac_envvar in #(
1168       '' | [0-9]* | *[!_$as_cr_alnum]* )
1169       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1170     esac
1171     eval $ac_envvar=\$ac_optarg
1172     export $ac_envvar ;;
1174   *)
1175     # FIXME: should be removed in autoconf 3.0.
1176     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1177     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1178       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1179     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1180     ;;
1182   esac
1183 done
1185 if test -n "$ac_prev"; then
1186   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1187   as_fn_error $? "missing argument to $ac_option"
1190 if test -n "$ac_unrecognized_opts"; then
1191   case $enable_option_checking in
1192     no) ;;
1193     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1194     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1195   esac
1198 # Check all directory arguments for consistency.
1199 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1200                 datadir sysconfdir sharedstatedir localstatedir includedir \
1201                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1202                 libdir localedir mandir
1204   eval ac_val=\$$ac_var
1205   # Remove trailing slashes.
1206   case $ac_val in
1207     */ )
1208       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1209       eval $ac_var=\$ac_val;;
1210   esac
1211   # Be sure to have absolute directory names.
1212   case $ac_val in
1213     [\\/$]* | ?:[\\/]* )  continue;;
1214     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1215   esac
1216   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1217 done
1219 # There might be people who depend on the old broken behavior: `$host'
1220 # used to hold the argument of --host etc.
1221 # FIXME: To remove some day.
1222 build=$build_alias
1223 host=$host_alias
1224 target=$target_alias
1226 # FIXME: To remove some day.
1227 if test "x$host_alias" != x; then
1228   if test "x$build_alias" = x; then
1229     cross_compiling=maybe
1230     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1231     If a cross compiler is detected then cross compile mode will be used" >&2
1232   elif test "x$build_alias" != "x$host_alias"; then
1233     cross_compiling=yes
1234   fi
1237 ac_tool_prefix=
1238 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1240 test "$silent" = yes && exec 6>/dev/null
1243 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1244 ac_ls_di=`ls -di .` &&
1245 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1246   as_fn_error $? "working directory cannot be determined"
1247 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1248   as_fn_error $? "pwd does not report name of working directory"
1251 # Find the source files, if location was not specified.
1252 if test -z "$srcdir"; then
1253   ac_srcdir_defaulted=yes
1254   # Try the directory containing this script, then the parent directory.
1255   ac_confdir=`$as_dirname -- "$as_myself" ||
1256 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1257          X"$as_myself" : 'X\(//\)[^/]' \| \
1258          X"$as_myself" : 'X\(//\)$' \| \
1259          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1260 $as_echo X"$as_myself" |
1261     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1262             s//\1/
1263             q
1264           }
1265           /^X\(\/\/\)[^/].*/{
1266             s//\1/
1267             q
1268           }
1269           /^X\(\/\/\)$/{
1270             s//\1/
1271             q
1272           }
1273           /^X\(\/\).*/{
1274             s//\1/
1275             q
1276           }
1277           s/.*/./; q'`
1278   srcdir=$ac_confdir
1279   if test ! -r "$srcdir/$ac_unique_file"; then
1280     srcdir=..
1281   fi
1282 else
1283   ac_srcdir_defaulted=no
1285 if test ! -r "$srcdir/$ac_unique_file"; then
1286   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1287   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1289 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1290 ac_abs_confdir=`(
1291         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1292         pwd)`
1293 # When building in place, set srcdir=.
1294 if test "$ac_abs_confdir" = "$ac_pwd"; then
1295   srcdir=.
1297 # Remove unnecessary trailing slashes from srcdir.
1298 # Double slashes in file names in object file debugging info
1299 # mess up M-x gdb in Emacs.
1300 case $srcdir in
1301 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1302 esac
1303 for ac_var in $ac_precious_vars; do
1304   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1305   eval ac_env_${ac_var}_value=\$${ac_var}
1306   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1307   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1308 done
1311 # Report the --help message.
1313 if test "$ac_init_help" = "long"; then
1314   # Omit some internal or obsolete options to make the list less imposing.
1315   # This message is too long to be a string in the A/UX 3.1 sh.
1316   cat <<_ACEOF
1317 \`configure' configures this package to adapt to many kinds of systems.
1319 Usage: $0 [OPTION]... [VAR=VALUE]...
1321 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1322 VAR=VALUE.  See below for descriptions of some of the useful variables.
1324 Defaults for the options are specified in brackets.
1326 Configuration:
1327   -h, --help              display this help and exit
1328       --help=short        display options specific to this package
1329       --help=recursive    display the short help of all the included packages
1330   -V, --version           display version information and exit
1331   -q, --quiet, --silent   do not print \`checking ...' messages
1332       --cache-file=FILE   cache test results in FILE [disabled]
1333   -C, --config-cache      alias for \`--cache-file=config.cache'
1334   -n, --no-create         do not create output files
1335       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1337 Installation directories:
1338   --prefix=PREFIX         install architecture-independent files in PREFIX
1339                           @<:@@S|@ac_default_prefix@:>@
1340   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1341                           @<:@PREFIX@:>@
1343 By default, \`make install' will install all the files in
1344 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1345 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1346 for instance \`--prefix=\$HOME'.
1348 For better control, use the options below.
1350 Fine tuning of the installation directories:
1351   --bindir=DIR            user executables [EPREFIX/bin]
1352   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1353   --libexecdir=DIR        program executables [EPREFIX/libexec]
1354   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1355   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1356   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1357   --libdir=DIR            object code libraries [EPREFIX/lib]
1358   --includedir=DIR        C header files [PREFIX/include]
1359   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1360   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1361   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1362   --infodir=DIR           info documentation [DATAROOTDIR/info]
1363   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1364   --mandir=DIR            man documentation [DATAROOTDIR/man]
1365   --docdir=DIR            documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@
1366   --htmldir=DIR           html documentation [DOCDIR]
1367   --dvidir=DIR            dvi documentation [DOCDIR]
1368   --pdfdir=DIR            pdf documentation [DOCDIR]
1369   --psdir=DIR             ps documentation [DOCDIR]
1370 _ACEOF
1372   cat <<\_ACEOF
1374 Program names:
1375   --program-prefix=PREFIX            prepend PREFIX to installed program names
1376   --program-suffix=SUFFIX            append SUFFIX to installed program names
1377   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1379 System types:
1380   --build=BUILD     configure for building on BUILD [guessed]
1381   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1382 _ACEOF
1385 if test -n "$ac_init_help"; then
1387   cat <<\_ACEOF
1389 Optional Features:
1390   --disable-option-checking  ignore unrecognized --enable/--with options
1391   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1392   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1393   --enable-shared@<:@=PKGS@:>@  build shared libraries @<:@default=yes@:>@
1394   --enable-static@<:@=PKGS@:>@  build static libraries @<:@default=yes@:>@
1395   --enable-fast-install@<:@=PKGS@:>@ 
1396                           optimize for fast installation @<:@default=yes@:>@
1397   --disable-dependency-tracking  speeds up one-time build
1398   --enable-dependency-tracking   do not reject slow dependency extractors
1399   --disable-libtool-lock  avoid locking (might break parallel builds)
1400   --enable-maintainer-mode  enable make rules and dependencies not useful
1401                           (and sometimes confusing) to the casual installer
1402   --enable-debug=no/minimum/yes turn on debugging default=$debug_default
1403   --enable-mem-check      turn on malloc/free sanity checking (not recommended) default=no
1404   --enable-mem-profile    turn on malloc profiling atexit (not recommended) default=no
1405   --enable-ansi           turn on strict ansi default=no
1406   --enable-threads        turn on basic thread support default=yes
1407                           (=no will override --with-threads)
1409 Optional Packages:
1410   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1411   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1412   --with-pic              try to use only PIC/non-PIC objects @<:@default=use
1413                           both@:>@
1414   --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
1415   --with-sysroot=DIR Search for dependent libraries within DIR
1416                         (or the compiler's sysroot if not specified).
1417   --with-threads=none/posix/solaris/nspr specify a thread implementation to use
1419 Some influential environment variables:
1420   CC          C compiler command
1421   CFLAGS      C compiler flags
1422   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1423               nonstandard directory <lib dir>
1424   LIBS        libraries to pass to the linker, e.g. -l<library>
1425   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1426               you have headers in a nonstandard directory <include dir>
1427   CPP         C preprocessor
1429 Use these variables to override the choices made by `configure' or to help
1430 it to find libraries and programs with nonstandard names/locations.
1432 Report bugs to the package provider.
1433 _ACEOF
1434 ac_status=$?
1437 if test "$ac_init_help" = "recursive"; then
1438   # If there are subdirs, report their specific --help.
1439   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1440     test -d "$ac_dir" ||
1441       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1442       continue
1443     ac_builddir=.
1445 case "$ac_dir" in
1446 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1448   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1449   # A ".." for each directory in $ac_dir_suffix.
1450   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1451   case $ac_top_builddir_sub in
1452   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1453   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1454   esac ;;
1455 esac
1456 ac_abs_top_builddir=$ac_pwd
1457 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1458 # for backward compatibility:
1459 ac_top_builddir=$ac_top_build_prefix
1461 case $srcdir in
1462   .)  # We are building in place.
1463     ac_srcdir=.
1464     ac_top_srcdir=$ac_top_builddir_sub
1465     ac_abs_top_srcdir=$ac_pwd ;;
1466   [\\/]* | ?:[\\/]* )  # Absolute name.
1467     ac_srcdir=$srcdir$ac_dir_suffix;
1468     ac_top_srcdir=$srcdir
1469     ac_abs_top_srcdir=$srcdir ;;
1470   *) # Relative name.
1471     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1472     ac_top_srcdir=$ac_top_build_prefix$srcdir
1473     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1474 esac
1475 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1477     cd "$ac_dir" || { ac_status=$?; continue; }
1478     # Check for guested configure.
1479     if test -f "$ac_srcdir/configure.gnu"; then
1480       echo &&
1481       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1482     elif test -f "$ac_srcdir/configure"; then
1483       echo &&
1484       $SHELL "$ac_srcdir/configure" --help=recursive
1485     else
1486       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1487     fi || ac_status=$?
1488     cd "$ac_pwd" || { ac_status=$?; break; }
1489   done
1492 test -n "$ac_init_help" && exit $ac_status
1493 if $ac_init_version; then
1494   cat <<\_ACEOF
1495 configure
1496 generated by GNU Autoconf 2.68
1498 Copyright (C) 2010 Free Software Foundation, Inc.
1499 This configure script is free software; the Free Software Foundation
1500 gives unlimited permission to copy, distribute and modify it.
1501 _ACEOF
1502   exit
1505 ## ------------------------ ##
1506 ## Autoconf initialization. ##
1507 ## ------------------------ ##
1509 @%:@ ac_fn_c_try_compile LINENO
1510 @%:@ --------------------------
1511 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1512 ac_fn_c_try_compile ()
1514   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1515   rm -f conftest.$ac_objext
1516   if { { ac_try="$ac_compile"
1517 case "(($ac_try" in
1518   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1519   *) ac_try_echo=$ac_try;;
1520 esac
1521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1522 $as_echo "$ac_try_echo"; } >&5
1523   (eval "$ac_compile") 2>conftest.err
1524   ac_status=$?
1525   if test -s conftest.err; then
1526     grep -v '^ *+' conftest.err >conftest.er1
1527     cat conftest.er1 >&5
1528     mv -f conftest.er1 conftest.err
1529   fi
1530   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1531   test $ac_status = 0; } && {
1532          test -z "$ac_c_werror_flag" ||
1533          test ! -s conftest.err
1534        } && test -s conftest.$ac_objext; then :
1535   ac_retval=0
1536 else
1537   $as_echo "$as_me: failed program was:" >&5
1538 sed 's/^/| /' conftest.$ac_ext >&5
1540         ac_retval=1
1542   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1543   as_fn_set_status $ac_retval
1545 } @%:@ ac_fn_c_try_compile
1547 @%:@ ac_fn_c_try_link LINENO
1548 @%:@ -----------------------
1549 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1550 ac_fn_c_try_link ()
1552   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1553   rm -f conftest.$ac_objext conftest$ac_exeext
1554   if { { ac_try="$ac_link"
1555 case "(($ac_try" in
1556   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1557   *) ac_try_echo=$ac_try;;
1558 esac
1559 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1560 $as_echo "$ac_try_echo"; } >&5
1561   (eval "$ac_link") 2>conftest.err
1562   ac_status=$?
1563   if test -s conftest.err; then
1564     grep -v '^ *+' conftest.err >conftest.er1
1565     cat conftest.er1 >&5
1566     mv -f conftest.er1 conftest.err
1567   fi
1568   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1569   test $ac_status = 0; } && {
1570          test -z "$ac_c_werror_flag" ||
1571          test ! -s conftest.err
1572        } && test -s conftest$ac_exeext && {
1573          test "$cross_compiling" = yes ||
1574          $as_test_x conftest$ac_exeext
1575        }; then :
1576   ac_retval=0
1577 else
1578   $as_echo "$as_me: failed program was:" >&5
1579 sed 's/^/| /' conftest.$ac_ext >&5
1581         ac_retval=1
1583   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1584   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1585   # interfere with the next link command; also delete a directory that is
1586   # left behind by Apple's compiler.  We do this before executing the actions.
1587   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1588   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1589   as_fn_set_status $ac_retval
1591 } @%:@ ac_fn_c_try_link
1593 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1594 @%:@ -------------------------------------------------------
1595 @%:@ Tests whether HEADER exists and can be compiled using the include files in
1596 @%:@ INCLUDES, setting the cache variable VAR accordingly.
1597 ac_fn_c_check_header_compile ()
1599   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1600   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1601 $as_echo_n "checking for $2... " >&6; }
1602 if eval \${$3+:} false; then :
1603   $as_echo_n "(cached) " >&6
1604 else
1605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1606 /* end confdefs.h.  */
1608 @%:@include <$2>
1609 _ACEOF
1610 if ac_fn_c_try_compile "$LINENO"; then :
1611   eval "$3=yes"
1612 else
1613   eval "$3=no"
1615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1617 eval ac_res=\$$3
1618                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1619 $as_echo "$ac_res" >&6; }
1620   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1622 } @%:@ ac_fn_c_check_header_compile
1624 @%:@ ac_fn_c_try_cpp LINENO
1625 @%:@ ----------------------
1626 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1627 ac_fn_c_try_cpp ()
1629   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1630   if { { ac_try="$ac_cpp conftest.$ac_ext"
1631 case "(($ac_try" in
1632   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1633   *) ac_try_echo=$ac_try;;
1634 esac
1635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1636 $as_echo "$ac_try_echo"; } >&5
1637   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1638   ac_status=$?
1639   if test -s conftest.err; then
1640     grep -v '^ *+' conftest.err >conftest.er1
1641     cat conftest.er1 >&5
1642     mv -f conftest.er1 conftest.err
1643   fi
1644   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1645   test $ac_status = 0; } > conftest.i && {
1646          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1647          test ! -s conftest.err
1648        }; then :
1649   ac_retval=0
1650 else
1651   $as_echo "$as_me: failed program was:" >&5
1652 sed 's/^/| /' conftest.$ac_ext >&5
1654     ac_retval=1
1656   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1657   as_fn_set_status $ac_retval
1659 } @%:@ ac_fn_c_try_cpp
1661 @%:@ ac_fn_c_try_run LINENO
1662 @%:@ ----------------------
1663 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1664 @%:@ that executables *can* be run.
1665 ac_fn_c_try_run ()
1667   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1668   if { { ac_try="$ac_link"
1669 case "(($ac_try" in
1670   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1671   *) ac_try_echo=$ac_try;;
1672 esac
1673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1674 $as_echo "$ac_try_echo"; } >&5
1675   (eval "$ac_link") 2>&5
1676   ac_status=$?
1677   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1678   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1679   { { case "(($ac_try" in
1680   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1681   *) ac_try_echo=$ac_try;;
1682 esac
1683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1684 $as_echo "$ac_try_echo"; } >&5
1685   (eval "$ac_try") 2>&5
1686   ac_status=$?
1687   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1688   test $ac_status = 0; }; }; then :
1689   ac_retval=0
1690 else
1691   $as_echo "$as_me: program exited with status $ac_status" >&5
1692        $as_echo "$as_me: failed program was:" >&5
1693 sed 's/^/| /' conftest.$ac_ext >&5
1695        ac_retval=$ac_status
1697   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1698   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1699   as_fn_set_status $ac_retval
1701 } @%:@ ac_fn_c_try_run
1703 @%:@ ac_fn_c_check_func LINENO FUNC VAR
1704 @%:@ ----------------------------------
1705 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1706 ac_fn_c_check_func ()
1708   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1709   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1710 $as_echo_n "checking for $2... " >&6; }
1711 if eval \${$3+:} false; then :
1712   $as_echo_n "(cached) " >&6
1713 else
1714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1715 /* end confdefs.h.  */
1716 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1717    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1718 #define $2 innocuous_$2
1720 /* System header to define __stub macros and hopefully few prototypes,
1721     which can conflict with char $2 (); below.
1722     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1723     <limits.h> exists even on freestanding compilers.  */
1725 #ifdef __STDC__
1726 # include <limits.h>
1727 #else
1728 # include <assert.h>
1729 #endif
1731 #undef $2
1733 /* Override any GCC internal prototype to avoid an error.
1734    Use char because int might match the return type of a GCC
1735    builtin and then its argument prototype would still apply.  */
1736 #ifdef __cplusplus
1737 extern "C"
1738 #endif
1739 char $2 ();
1740 /* The GNU C library defines this for functions which it implements
1741     to always fail with ENOSYS.  Some functions are actually named
1742     something starting with __ and the normal name is an alias.  */
1743 #if defined __stub_$2 || defined __stub___$2
1744 choke me
1745 #endif
1748 main ()
1750 return $2 ();
1751   ;
1752   return 0;
1754 _ACEOF
1755 if ac_fn_c_try_link "$LINENO"; then :
1756   eval "$3=yes"
1757 else
1758   eval "$3=no"
1760 rm -f core conftest.err conftest.$ac_objext \
1761     conftest$ac_exeext conftest.$ac_ext
1763 eval ac_res=\$$3
1764                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1765 $as_echo "$ac_res" >&6; }
1766   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1768 } @%:@ ac_fn_c_check_func
1770 @%:@ ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1771 @%:@ --------------------------------------------
1772 @%:@ Tries to find the compile-time value of EXPR in a program that includes
1773 @%:@ INCLUDES, setting VAR accordingly. Returns whether the value could be
1774 @%:@ computed
1775 ac_fn_c_compute_int ()
1777   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1778   if test "$cross_compiling" = yes; then
1779     # Depending upon the size, compute the lo and hi bounds.
1780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1781 /* end confdefs.h.  */
1784 main ()
1786 static int test_array @<:@1 - 2 * !(($2) >= 0)@:>@;
1787 test_array @<:@0@:>@ = 0
1789   ;
1790   return 0;
1792 _ACEOF
1793 if ac_fn_c_try_compile "$LINENO"; then :
1794   ac_lo=0 ac_mid=0
1795   while :; do
1796     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1797 /* end confdefs.h.  */
1800 main ()
1802 static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
1803 test_array @<:@0@:>@ = 0
1805   ;
1806   return 0;
1808 _ACEOF
1809 if ac_fn_c_try_compile "$LINENO"; then :
1810   ac_hi=$ac_mid; break
1811 else
1812   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1813                         if test $ac_lo -le $ac_mid; then
1814                           ac_lo= ac_hi=
1815                           break
1816                         fi
1817                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1820   done
1821 else
1822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1823 /* end confdefs.h.  */
1826 main ()
1828 static int test_array @<:@1 - 2 * !(($2) < 0)@:>@;
1829 test_array @<:@0@:>@ = 0
1831   ;
1832   return 0;
1834 _ACEOF
1835 if ac_fn_c_try_compile "$LINENO"; then :
1836   ac_hi=-1 ac_mid=-1
1837   while :; do
1838     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1839 /* end confdefs.h.  */
1842 main ()
1844 static int test_array @<:@1 - 2 * !(($2) >= $ac_mid)@:>@;
1845 test_array @<:@0@:>@ = 0
1847   ;
1848   return 0;
1850 _ACEOF
1851 if ac_fn_c_try_compile "$LINENO"; then :
1852   ac_lo=$ac_mid; break
1853 else
1854   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1855                         if test $ac_mid -le $ac_hi; then
1856                           ac_lo= ac_hi=
1857                           break
1858                         fi
1859                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1862   done
1863 else
1864   ac_lo= ac_hi=
1866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1869 # Binary search between lo and hi bounds.
1870 while test "x$ac_lo" != "x$ac_hi"; do
1871   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1873 /* end confdefs.h.  */
1876 main ()
1878 static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
1879 test_array @<:@0@:>@ = 0
1881   ;
1882   return 0;
1884 _ACEOF
1885 if ac_fn_c_try_compile "$LINENO"; then :
1886   ac_hi=$ac_mid
1887 else
1888   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1891 done
1892 case $ac_lo in @%:@((
1893 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1894 '') ac_retval=1 ;;
1895 esac
1896   else
1897     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1898 /* end confdefs.h.  */
1900 static long int longval () { return $2; }
1901 static unsigned long int ulongval () { return $2; }
1902 @%:@include <stdio.h>
1903 @%:@include <stdlib.h>
1905 main ()
1908   FILE *f = fopen ("conftest.val", "w");
1909   if (! f)
1910     return 1;
1911   if (($2) < 0)
1912     {
1913       long int i = longval ();
1914       if (i != ($2))
1915         return 1;
1916       fprintf (f, "%ld", i);
1917     }
1918   else
1919     {
1920       unsigned long int i = ulongval ();
1921       if (i != ($2))
1922         return 1;
1923       fprintf (f, "%lu", i);
1924     }
1925   /* Do not output a trailing newline, as this causes \r\n confusion
1926      on some platforms.  */
1927   return ferror (f) || fclose (f) != 0;
1929   ;
1930   return 0;
1932 _ACEOF
1933 if ac_fn_c_try_run "$LINENO"; then :
1934   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1935 else
1936   ac_retval=1
1938 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1939   conftest.$ac_objext conftest.beam conftest.$ac_ext
1940 rm -f conftest.val
1942   fi
1943   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1944   as_fn_set_status $ac_retval
1946 } @%:@ ac_fn_c_compute_int
1948 @%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1949 @%:@ -------------------------------------------------------
1950 @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
1951 @%:@ the include files in INCLUDES and setting the cache variable VAR
1952 @%:@ accordingly.
1953 ac_fn_c_check_header_mongrel ()
1955   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1956   if eval \${$3+:} false; then :
1957   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1958 $as_echo_n "checking for $2... " >&6; }
1959 if eval \${$3+:} false; then :
1960   $as_echo_n "(cached) " >&6
1962 eval ac_res=\$$3
1963                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1964 $as_echo "$ac_res" >&6; }
1965 else
1966   # Is the header compilable?
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1968 $as_echo_n "checking $2 usability... " >&6; }
1969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1970 /* end confdefs.h.  */
1972 @%:@include <$2>
1973 _ACEOF
1974 if ac_fn_c_try_compile "$LINENO"; then :
1975   ac_header_compiler=yes
1976 else
1977   ac_header_compiler=no
1979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1981 $as_echo "$ac_header_compiler" >&6; }
1983 # Is the header present?
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1985 $as_echo_n "checking $2 presence... " >&6; }
1986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1987 /* end confdefs.h.  */
1988 @%:@include <$2>
1989 _ACEOF
1990 if ac_fn_c_try_cpp "$LINENO"; then :
1991   ac_header_preproc=yes
1992 else
1993   ac_header_preproc=no
1995 rm -f conftest.err conftest.i conftest.$ac_ext
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1997 $as_echo "$ac_header_preproc" >&6; }
1999 # So?  What about this header?
2000 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2001   yes:no: )
2002     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2003 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2004     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2005 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2006     ;;
2007   no:yes:* )
2008     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2009 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2010     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2011 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2012     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2013 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2014     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2015 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2016     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2017 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2018     ;;
2019 esac
2020   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2021 $as_echo_n "checking for $2... " >&6; }
2022 if eval \${$3+:} false; then :
2023   $as_echo_n "(cached) " >&6
2024 else
2025   eval "$3=\$ac_header_compiler"
2027 eval ac_res=\$$3
2028                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2029 $as_echo "$ac_res" >&6; }
2031   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2033 } @%:@ ac_fn_c_check_header_mongrel
2034 cat >config.log <<_ACEOF
2035 This file contains any messages produced by compilers while
2036 running configure, to aid debugging if configure makes a mistake.
2038 It was created by $as_me, which was
2039 generated by GNU Autoconf 2.68.  Invocation command line was
2041   $ $0 $@
2043 _ACEOF
2044 exec 5>>config.log
2046 cat <<_ASUNAME
2047 ## --------- ##
2048 ## Platform. ##
2049 ## --------- ##
2051 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2052 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2053 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2054 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2055 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2057 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2058 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2060 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2061 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2062 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2063 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2064 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2065 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2066 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2068 _ASUNAME
2070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2071 for as_dir in $PATH
2073   IFS=$as_save_IFS
2074   test -z "$as_dir" && as_dir=.
2075     $as_echo "PATH: $as_dir"
2076   done
2077 IFS=$as_save_IFS
2079 } >&5
2081 cat >&5 <<_ACEOF
2084 ## ----------- ##
2085 ## Core tests. ##
2086 ## ----------- ##
2088 _ACEOF
2091 # Keep a trace of the command line.
2092 # Strip out --no-create and --no-recursion so they do not pile up.
2093 # Strip out --silent because we don't want to record it for future runs.
2094 # Also quote any args containing shell meta-characters.
2095 # Make two passes to allow for proper duplicate-argument suppression.
2096 ac_configure_args=
2097 ac_configure_args0=
2098 ac_configure_args1=
2099 ac_must_keep_next=false
2100 for ac_pass in 1 2
2102   for ac_arg
2103   do
2104     case $ac_arg in
2105     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2106     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2107     | -silent | --silent | --silen | --sile | --sil)
2108       continue ;;
2109     *\'*)
2110       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2111     esac
2112     case $ac_pass in
2113     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2114     2)
2115       as_fn_append ac_configure_args1 " '$ac_arg'"
2116       if test $ac_must_keep_next = true; then
2117         ac_must_keep_next=false # Got value, back to normal.
2118       else
2119         case $ac_arg in
2120           *=* | --config-cache | -C | -disable-* | --disable-* \
2121           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2122           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2123           | -with-* | --with-* | -without-* | --without-* | --x)
2124             case "$ac_configure_args0 " in
2125               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2126             esac
2127             ;;
2128           -* ) ac_must_keep_next=true ;;
2129         esac
2130       fi
2131       as_fn_append ac_configure_args " '$ac_arg'"
2132       ;;
2133     esac
2134   done
2135 done
2136 { ac_configure_args0=; unset ac_configure_args0;}
2137 { ac_configure_args1=; unset ac_configure_args1;}
2139 # When interrupted or exit'd, cleanup temporary files, and complete
2140 # config.log.  We remove comments because anyway the quotes in there
2141 # would cause problems or look ugly.
2142 # WARNING: Use '\'' to represent an apostrophe within the trap.
2143 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2144 trap 'exit_status=$?
2145   # Save into config.log some information that might help in debugging.
2146   {
2147     echo
2149     $as_echo "## ---------------- ##
2150 ## Cache variables. ##
2151 ## ---------------- ##"
2152     echo
2153     # The following way of writing the cache mishandles newlines in values,
2155   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2156     eval ac_val=\$$ac_var
2157     case $ac_val in #(
2158     *${as_nl}*)
2159       case $ac_var in #(
2160       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2161 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2162       esac
2163       case $ac_var in #(
2164       _ | IFS | as_nl) ;; #(
2165       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2166       *) { eval $ac_var=; unset $ac_var;} ;;
2167       esac ;;
2168     esac
2169   done
2170   (set) 2>&1 |
2171     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2172     *${as_nl}ac_space=\ *)
2173       sed -n \
2174         "s/'\''/'\''\\\\'\'''\''/g;
2175           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2176       ;; #(
2177     *)
2178       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2179       ;;
2180     esac |
2181     sort
2183     echo
2185     $as_echo "## ----------------- ##
2186 ## Output variables. ##
2187 ## ----------------- ##"
2188     echo
2189     for ac_var in $ac_subst_vars
2190     do
2191       eval ac_val=\$$ac_var
2192       case $ac_val in
2193       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2194       esac
2195       $as_echo "$ac_var='\''$ac_val'\''"
2196     done | sort
2197     echo
2199     if test -n "$ac_subst_files"; then
2200       $as_echo "## ------------------- ##
2201 ## File substitutions. ##
2202 ## ------------------- ##"
2203       echo
2204       for ac_var in $ac_subst_files
2205       do
2206         eval ac_val=\$$ac_var
2207         case $ac_val in
2208         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2209         esac
2210         $as_echo "$ac_var='\''$ac_val'\''"
2211       done | sort
2212       echo
2213     fi
2215     if test -s confdefs.h; then
2216       $as_echo "## ----------- ##
2217 ## confdefs.h. ##
2218 ## ----------- ##"
2219       echo
2220       cat confdefs.h
2221       echo
2222     fi
2223     test "$ac_signal" != 0 &&
2224       $as_echo "$as_me: caught signal $ac_signal"
2225     $as_echo "$as_me: exit $exit_status"
2226   } >&5
2227   rm -f core *.core core.conftest.* &&
2228     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2229     exit $exit_status
2230 ' 0
2231 for ac_signal in 1 2 13 15; do
2232   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2233 done
2234 ac_signal=0
2236 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2237 rm -f -r conftest* confdefs.h
2239 $as_echo "/* confdefs.h */" > confdefs.h
2241 # Predefined preprocessor variables.
2243 cat >>confdefs.h <<_ACEOF
2244 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
2245 _ACEOF
2247 cat >>confdefs.h <<_ACEOF
2248 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2249 _ACEOF
2251 cat >>confdefs.h <<_ACEOF
2252 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2253 _ACEOF
2255 cat >>confdefs.h <<_ACEOF
2256 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
2257 _ACEOF
2259 cat >>confdefs.h <<_ACEOF
2260 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2261 _ACEOF
2263 cat >>confdefs.h <<_ACEOF
2264 @%:@define PACKAGE_URL "$PACKAGE_URL"
2265 _ACEOF
2268 # Let the site file select an alternate cache file if it wants to.
2269 # Prefer an explicitly selected file to automatically selected ones.
2270 ac_site_file1=NONE
2271 ac_site_file2=NONE
2272 if test -n "$CONFIG_SITE"; then
2273   # We do not want a PATH search for config.site.
2274   case $CONFIG_SITE in @%:@((
2275     -*)  ac_site_file1=./$CONFIG_SITE;;
2276     */*) ac_site_file1=$CONFIG_SITE;;
2277     *)   ac_site_file1=./$CONFIG_SITE;;
2278   esac
2279 elif test "x$prefix" != xNONE; then
2280   ac_site_file1=$prefix/share/config.site
2281   ac_site_file2=$prefix/etc/config.site
2282 else
2283   ac_site_file1=$ac_default_prefix/share/config.site
2284   ac_site_file2=$ac_default_prefix/etc/config.site
2286 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2288   test "x$ac_site_file" = xNONE && continue
2289   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2290     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2291 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2292     sed 's/^/| /' "$ac_site_file" >&5
2293     . "$ac_site_file" \
2294       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2295 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2296 as_fn_error $? "failed to load site script $ac_site_file
2297 See \`config.log' for more details" "$LINENO" 5; }
2298   fi
2299 done
2301 if test -r "$cache_file"; then
2302   # Some versions of bash will fail to source /dev/null (special files
2303   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2304   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2305     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2306 $as_echo "$as_me: loading cache $cache_file" >&6;}
2307     case $cache_file in
2308       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2309       *)                      . "./$cache_file";;
2310     esac
2311   fi
2312 else
2313   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2314 $as_echo "$as_me: creating cache $cache_file" >&6;}
2315   >$cache_file
2318 # Check that the precious variables saved in the cache have kept the same
2319 # value.
2320 ac_cache_corrupted=false
2321 for ac_var in $ac_precious_vars; do
2322   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2323   eval ac_new_set=\$ac_env_${ac_var}_set
2324   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2325   eval ac_new_val=\$ac_env_${ac_var}_value
2326   case $ac_old_set,$ac_new_set in
2327     set,)
2328       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2329 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2330       ac_cache_corrupted=: ;;
2331     ,set)
2332       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2333 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2334       ac_cache_corrupted=: ;;
2335     ,);;
2336     *)
2337       if test "x$ac_old_val" != "x$ac_new_val"; then
2338         # differences in whitespace do not lead to failure.
2339         ac_old_val_w=`echo x $ac_old_val`
2340         ac_new_val_w=`echo x $ac_new_val`
2341         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2342           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2343 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2344           ac_cache_corrupted=:
2345         else
2346           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2347 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2348           eval $ac_var=\$ac_old_val
2349         fi
2350         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2351 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2352         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2353 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2354       fi;;
2355   esac
2356   # Pass precious variables to config.status.
2357   if test "$ac_new_set" = set; then
2358     case $ac_new_val in
2359     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2360     *) ac_arg=$ac_var=$ac_new_val ;;
2361     esac
2362     case " $ac_configure_args " in
2363       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2364       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2365     esac
2366   fi
2367 done
2368 if $ac_cache_corrupted; then
2369   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2370 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2371   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2372 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2373   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2375 ## -------------------- ##
2376 ## Main body of script. ##
2377 ## -------------------- ##
2379 ac_ext=c
2380 ac_cpp='$CPP $CPPFLAGS'
2381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2387 # Save this value here, since automake will set cflags later
2388 cflags_set=${CFLAGS+set}
2390 # we rewrite this file
2391 if test "x$cross_compiling" != "xyes"; then
2392         rm -f glibconfig-sysdefs.h
2396 # The following version number definitions apply to GLib, GModule and GThread
2397 # as a whole, so if changes occoured in any of them, they are all
2398 # treated with the same interface and binary age.
2400 # Making releases:
2401 #   GLIB_MICRO_VERSION += 1;
2402 #   GLIB_INTERFACE_AGE += 1;
2403 #   GLIB_BINARY_AGE += 1;
2404 # if any functions have been added, set GLIB_INTERFACE_AGE to 0.
2405 # if backwards compatibility has been broken,
2406 # set GLIB_BINARY_AGE _and_ GLIB_INTERFACE_AGE to 0.
2408 GLIB_MAJOR_VERSION=1
2409 GLIB_MINOR_VERSION=2
2410 GLIB_MICRO_VERSION=10
2411 GLIB_INTERFACE_AGE=10
2412 GLIB_BINARY_AGE=10
2413 GLIB_VERSION=$GLIB_MAJOR_VERSION.$GLIB_MINOR_VERSION.$GLIB_MICRO_VERSION
2422 # libtool versioning
2423 LT_RELEASE=$GLIB_MAJOR_VERSION.$GLIB_MINOR_VERSION
2424 LT_CURRENT=`expr $GLIB_MICRO_VERSION - $GLIB_INTERFACE_AGE`
2425 LT_REVISION=$GLIB_INTERFACE_AGE
2426 LT_AGE=`expr $GLIB_BINARY_AGE - $GLIB_INTERFACE_AGE`
2432 VERSION=$GLIB_VERSION
2433 PACKAGE=glib
2435 am__api_version='1.11'
2437 ac_aux_dir=
2438 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2439   if test -f "$ac_dir/install-sh"; then
2440     ac_aux_dir=$ac_dir
2441     ac_install_sh="$ac_aux_dir/install-sh -c"
2442     break
2443   elif test -f "$ac_dir/install.sh"; then
2444     ac_aux_dir=$ac_dir
2445     ac_install_sh="$ac_aux_dir/install.sh -c"
2446     break
2447   elif test -f "$ac_dir/shtool"; then
2448     ac_aux_dir=$ac_dir
2449     ac_install_sh="$ac_aux_dir/shtool install -c"
2450     break
2451   fi
2452 done
2453 if test -z "$ac_aux_dir"; then
2454   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2457 # These three variables are undocumented and unsupported,
2458 # and are intended to be withdrawn in a future Autoconf release.
2459 # They can cause serious problems if a builder's source tree is in a directory
2460 # whose full name contains unusual characters.
2461 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2462 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2463 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2466 # Find a good install program.  We prefer a C program (faster),
2467 # so one script is as good as another.  But avoid the broken or
2468 # incompatible versions:
2469 # SysV /etc/install, /usr/sbin/install
2470 # SunOS /usr/etc/install
2471 # IRIX /sbin/install
2472 # AIX /bin/install
2473 # AmigaOS /C/install, which installs bootblocks on floppy discs
2474 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2475 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2476 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2477 # OS/2's system install, which has a completely different semantic
2478 # ./install, which can be erroneously created by make from ./install.sh.
2479 # Reject install programs that cannot install multiple files.
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2481 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2482 if test -z "$INSTALL"; then
2483 if ${ac_cv_path_install+:} false; then :
2484   $as_echo_n "(cached) " >&6
2485 else
2486   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2487 for as_dir in $PATH
2489   IFS=$as_save_IFS
2490   test -z "$as_dir" && as_dir=.
2491     # Account for people who put trailing slashes in PATH elements.
2492 case $as_dir/ in @%:@((
2493   ./ | .// | /[cC]/* | \
2494   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2495   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2496   /usr/ucb/* ) ;;
2497   *)
2498     # OSF1 and SCO ODT 3.0 have their own names for install.
2499     # Don't use installbsd from OSF since it installs stuff as root
2500     # by default.
2501     for ac_prog in ginstall scoinst install; do
2502       for ac_exec_ext in '' $ac_executable_extensions; do
2503         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2504           if test $ac_prog = install &&
2505             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2506             # AIX install.  It has an incompatible calling convention.
2507             :
2508           elif test $ac_prog = install &&
2509             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2510             # program-specific install script used by HP pwplus--don't use.
2511             :
2512           else
2513             rm -rf conftest.one conftest.two conftest.dir
2514             echo one > conftest.one
2515             echo two > conftest.two
2516             mkdir conftest.dir
2517             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2518               test -s conftest.one && test -s conftest.two &&
2519               test -s conftest.dir/conftest.one &&
2520               test -s conftest.dir/conftest.two
2521             then
2522               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2523               break 3
2524             fi
2525           fi
2526         fi
2527       done
2528     done
2529     ;;
2530 esac
2532   done
2533 IFS=$as_save_IFS
2535 rm -rf conftest.one conftest.two conftest.dir
2538   if test "${ac_cv_path_install+set}" = set; then
2539     INSTALL=$ac_cv_path_install
2540   else
2541     # As a last resort, use the slow shell script.  Don't cache a
2542     # value for INSTALL within a source directory, because that will
2543     # break other packages using the cache if that directory is
2544     # removed, or if the value is a relative name.
2545     INSTALL=$ac_install_sh
2546   fi
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2549 $as_echo "$INSTALL" >&6; }
2551 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2552 # It thinks the first close brace ends the variable substitution.
2553 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2555 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2557 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2560 $as_echo_n "checking whether build environment is sane... " >&6; }
2561 # Just in case
2562 sleep 1
2563 echo timestamp > conftest.file
2564 # Reject unsafe characters in $srcdir or the absolute working directory
2565 # name.  Accept space and tab only in the latter.
2566 am_lf='
2568 case `pwd` in
2569   *[\\\"\#\$\&\'\`$am_lf]*)
2570     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2571 esac
2572 case $srcdir in
2573   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2574     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2575 esac
2577 # Do `set' in a subshell so we don't clobber the current shell's
2578 # arguments.  Must try -L first in case configure is actually a
2579 # symlink; some systems play weird games with the mod time of symlinks
2580 # (eg FreeBSD returns the mod time of the symlink's containing
2581 # directory).
2582 if (
2583    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2584    if test "$*" = "X"; then
2585       # -L didn't work.
2586       set X `ls -t "$srcdir/configure" conftest.file`
2587    fi
2588    rm -f conftest.file
2589    if test "$*" != "X $srcdir/configure conftest.file" \
2590       && test "$*" != "X conftest.file $srcdir/configure"; then
2592       # If neither matched, then we have a broken ls.  This can happen
2593       # if, for instance, CONFIG_SHELL is bash and it inherits a
2594       # broken ls alias from the environment.  This has actually
2595       # happened.  Such a system could not be considered "sane".
2596       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2597 alias in your environment" "$LINENO" 5
2598    fi
2600    test "$2" = conftest.file
2601    )
2602 then
2603    # Ok.
2604    :
2605 else
2606    as_fn_error $? "newly created file is older than distributed files!
2607 Check your system clock" "$LINENO" 5
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2610 $as_echo "yes" >&6; }
2611 test "$program_prefix" != NONE &&
2612   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2613 # Use a double $ so make ignores it.
2614 test "$program_suffix" != NONE &&
2615   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2616 # Double any \ or $.
2617 # By default was `s,x,x', remove it if useless.
2618 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2619 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2621 # expand $ac_aux_dir to an absolute path
2622 am_aux_dir=`cd $ac_aux_dir && pwd`
2624 if test x"${MISSING+set}" != xset; then
2625   case $am_aux_dir in
2626   *\ * | *\     *)
2627     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2628   *)
2629     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2630   esac
2632 # Use eval to expand $SHELL
2633 if eval "$MISSING --run true"; then
2634   am_missing_run="$MISSING --run "
2635 else
2636   am_missing_run=
2637   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2638 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2641 if test x"${install_sh}" != xset; then
2642   case $am_aux_dir in
2643   *\ * | *\     *)
2644     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2645   *)
2646     install_sh="\${SHELL} $am_aux_dir/install-sh"
2647   esac
2650 # Installed binaries are usually stripped using `strip' when the user
2651 # run `make install-strip'.  However `strip' might not be the right
2652 # tool to use in cross-compilation environments, therefore Automake
2653 # will honor the `STRIP' environment variable to overrule this program.
2654 if test "$cross_compiling" != no; then
2655   if test -n "$ac_tool_prefix"; then
2656   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2657 set dummy ${ac_tool_prefix}strip; ac_word=$2
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2659 $as_echo_n "checking for $ac_word... " >&6; }
2660 if ${ac_cv_prog_STRIP+:} false; then :
2661   $as_echo_n "(cached) " >&6
2662 else
2663   if test -n "$STRIP"; then
2664   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2665 else
2666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2667 for as_dir in $PATH
2669   IFS=$as_save_IFS
2670   test -z "$as_dir" && as_dir=.
2671     for ac_exec_ext in '' $ac_executable_extensions; do
2672   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2673     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2674     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2675     break 2
2676   fi
2677 done
2678   done
2679 IFS=$as_save_IFS
2683 STRIP=$ac_cv_prog_STRIP
2684 if test -n "$STRIP"; then
2685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2686 $as_echo "$STRIP" >&6; }
2687 else
2688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2689 $as_echo "no" >&6; }
2694 if test -z "$ac_cv_prog_STRIP"; then
2695   ac_ct_STRIP=$STRIP
2696   # Extract the first word of "strip", so it can be a program name with args.
2697 set dummy strip; ac_word=$2
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2699 $as_echo_n "checking for $ac_word... " >&6; }
2700 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2701   $as_echo_n "(cached) " >&6
2702 else
2703   if test -n "$ac_ct_STRIP"; then
2704   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2705 else
2706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2707 for as_dir in $PATH
2709   IFS=$as_save_IFS
2710   test -z "$as_dir" && as_dir=.
2711     for ac_exec_ext in '' $ac_executable_extensions; do
2712   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2713     ac_cv_prog_ac_ct_STRIP="strip"
2714     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2715     break 2
2716   fi
2717 done
2718   done
2719 IFS=$as_save_IFS
2723 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2724 if test -n "$ac_ct_STRIP"; then
2725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2726 $as_echo "$ac_ct_STRIP" >&6; }
2727 else
2728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2729 $as_echo "no" >&6; }
2732   if test "x$ac_ct_STRIP" = x; then
2733     STRIP=":"
2734   else
2735     case $cross_compiling:$ac_tool_warned in
2736 yes:)
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2738 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2739 ac_tool_warned=yes ;;
2740 esac
2741     STRIP=$ac_ct_STRIP
2742   fi
2743 else
2744   STRIP="$ac_cv_prog_STRIP"
2748 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2751 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2752 if test -z "$MKDIR_P"; then
2753   if ${ac_cv_path_mkdir+:} false; then :
2754   $as_echo_n "(cached) " >&6
2755 else
2756   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2757 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2759   IFS=$as_save_IFS
2760   test -z "$as_dir" && as_dir=.
2761     for ac_prog in mkdir gmkdir; do
2762          for ac_exec_ext in '' $ac_executable_extensions; do
2763            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2764            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2765              'mkdir (GNU coreutils) '* | \
2766              'mkdir (coreutils) '* | \
2767              'mkdir (fileutils) '4.1*)
2768                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2769                break 3;;
2770            esac
2771          done
2772        done
2773   done
2774 IFS=$as_save_IFS
2778   test -d ./--version && rmdir ./--version
2779   if test "${ac_cv_path_mkdir+set}" = set; then
2780     MKDIR_P="$ac_cv_path_mkdir -p"
2781   else
2782     # As a last resort, use the slow shell script.  Don't cache a
2783     # value for MKDIR_P within a source directory, because that will
2784     # break other packages using the cache if that directory is
2785     # removed, or if the value is a relative name.
2786     MKDIR_P="$ac_install_sh -d"
2787   fi
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2790 $as_echo "$MKDIR_P" >&6; }
2792 mkdir_p="$MKDIR_P"
2793 case $mkdir_p in
2794   [\\/$]* | ?:[\\/]*) ;;
2795   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2796 esac
2798 for ac_prog in gawk mawk nawk awk
2800   # Extract the first word of "$ac_prog", so it can be a program name with args.
2801 set dummy $ac_prog; ac_word=$2
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2803 $as_echo_n "checking for $ac_word... " >&6; }
2804 if ${ac_cv_prog_AWK+:} false; then :
2805   $as_echo_n "(cached) " >&6
2806 else
2807   if test -n "$AWK"; then
2808   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2809 else
2810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2811 for as_dir in $PATH
2813   IFS=$as_save_IFS
2814   test -z "$as_dir" && as_dir=.
2815     for ac_exec_ext in '' $ac_executable_extensions; do
2816   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2817     ac_cv_prog_AWK="$ac_prog"
2818     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2819     break 2
2820   fi
2821 done
2822   done
2823 IFS=$as_save_IFS
2827 AWK=$ac_cv_prog_AWK
2828 if test -n "$AWK"; then
2829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2830 $as_echo "$AWK" >&6; }
2831 else
2832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2833 $as_echo "no" >&6; }
2837   test -n "$AWK" && break
2838 done
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2841 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2842 set x ${MAKE-make}
2843 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2844 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2845   $as_echo_n "(cached) " >&6
2846 else
2847   cat >conftest.make <<\_ACEOF
2848 SHELL = /bin/sh
2849 all:
2850         @echo '@@@%%%=$(MAKE)=@@@%%%'
2851 _ACEOF
2852 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2853 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2854   *@@@%%%=?*=@@@%%%*)
2855     eval ac_cv_prog_make_${ac_make}_set=yes;;
2856   *)
2857     eval ac_cv_prog_make_${ac_make}_set=no;;
2858 esac
2859 rm -f conftest.make
2861 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2863 $as_echo "yes" >&6; }
2864   SET_MAKE=
2865 else
2866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2867 $as_echo "no" >&6; }
2868   SET_MAKE="MAKE=${MAKE-make}"
2871 rm -rf .tst 2>/dev/null
2872 mkdir .tst 2>/dev/null
2873 if test -d .tst; then
2874   am__leading_dot=.
2875 else
2876   am__leading_dot=_
2878 rmdir .tst 2>/dev/null
2880 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2881   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2882   # is not polluted with repeated "-I."
2883   am__isrc=' -I$(srcdir)'
2884   # test to see if srcdir already configured
2885   if test -f $srcdir/config.status; then
2886     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2887   fi
2890 # test whether we have cygpath
2891 if test -z "$CYGPATH_W"; then
2892   if (cygpath --version) >/dev/null 2>/dev/null; then
2893     CYGPATH_W='cygpath -w'
2894   else
2895     CYGPATH_W=echo
2896   fi
2900 # Define the identity of the package.
2901  PACKAGE=$PACKAGE
2902  VERSION=$VERSION
2905 # Some tools Automake needs.
2907 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2910 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2913 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2916 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2919 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2921 # We need awk for the "check" target.  The system "awk" is bad on
2922 # some platforms.
2923 # Always define AMTAR for backward compatibility.
2925 AMTAR=${AMTAR-"${am_missing_run}tar"}
2927 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2934 # Specify a configuration file
2935 ac_config_headers="$ac_config_headers config.h"
2938 cat >>confdefs.h <<_ACEOF
2939 @%:@define GLIB_MAJOR_VERSION $GLIB_MAJOR_VERSION
2940 _ACEOF
2942 cat >>confdefs.h <<_ACEOF
2943 @%:@define GLIB_MINOR_VERSION $GLIB_MINOR_VERSION
2944 _ACEOF
2946 cat >>confdefs.h <<_ACEOF
2947 @%:@define GLIB_MICRO_VERSION $GLIB_MICRO_VERSION
2948 _ACEOF
2950 cat >>confdefs.h <<_ACEOF
2951 @%:@define GLIB_INTERFACE_AGE $GLIB_INTERFACE_AGE
2952 _ACEOF
2954 cat >>confdefs.h <<_ACEOF
2955 @%:@define GLIB_BINARY_AGE $GLIB_BINARY_AGE
2956 _ACEOF
2959 case `pwd` in
2960   *\ * | *\     *)
2961     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2962 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2963 esac
2967 macro_version='2.4'
2968 macro_revision='1.3293'
2970     
2971     
2972     
2975     
2976     
2977     
2982 ltmain="$ac_aux_dir/ltmain.sh"
2984 # Make sure we can run config.sub.
2985 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2986   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2989 $as_echo_n "checking build system type... " >&6; }
2990 if ${ac_cv_build+:} false; then :
2991   $as_echo_n "(cached) " >&6
2992 else
2993   ac_build_alias=$build_alias
2994 test "x$ac_build_alias" = x &&
2995   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2996 test "x$ac_build_alias" = x &&
2997   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2998 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2999   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3003 $as_echo "$ac_cv_build" >&6; }
3004 case $ac_cv_build in
3005 *-*-*) ;;
3006 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3007 esac
3008 build=$ac_cv_build
3009 ac_save_IFS=$IFS; IFS='-'
3010 set x $ac_cv_build
3011 shift
3012 build_cpu=$1
3013 build_vendor=$2
3014 shift; shift
3015 # Remember, the first character of IFS is used to create $*,
3016 # except with old shells:
3017 build_os=$*
3018 IFS=$ac_save_IFS
3019 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3023 $as_echo_n "checking host system type... " >&6; }
3024 if ${ac_cv_host+:} false; then :
3025   $as_echo_n "(cached) " >&6
3026 else
3027   if test "x$host_alias" = x; then
3028   ac_cv_host=$ac_cv_build
3029 else
3030   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3031     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3036 $as_echo "$ac_cv_host" >&6; }
3037 case $ac_cv_host in
3038 *-*-*) ;;
3039 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3040 esac
3041 host=$ac_cv_host
3042 ac_save_IFS=$IFS; IFS='-'
3043 set x $ac_cv_host
3044 shift
3045 host_cpu=$1
3046 host_vendor=$2
3047 shift; shift
3048 # Remember, the first character of IFS is used to create $*,
3049 # except with old shells:
3050 host_os=$*
3051 IFS=$ac_save_IFS
3052 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3055 # Backslashify metacharacters that are still active within
3056 # double-quoted strings.
3057 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3059 # Same as above, but do not quote variable references.
3060 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3062 # Sed substitution to delay expansion of an escaped shell variable in a
3063 # double_quote_subst'ed string.
3064 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3066 # Sed substitution to delay expansion of an escaped single quote.
3067 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3069 # Sed substitution to avoid accidental globbing in evaled expressions
3070 no_glob_subst='s/\*/\\\*/g'
3072 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3073 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3074 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3077 $as_echo_n "checking how to print strings... " >&6; }
3078 # Test print first, because it will be a builtin if present.
3079 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3080    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3081   ECHO='print -r --'
3082 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3083   ECHO='printf %s\n'
3084 else
3085   # Use this function as a fallback that always works.
3086   func_fallback_echo ()
3087   {
3088     eval 'cat <<_LTECHO_EOF
3090 _LTECHO_EOF'
3091   }
3092   ECHO='func_fallback_echo'
3095 # func_echo_all arg...
3096 # Invoke $ECHO with all args, space-separated.
3097 func_echo_all ()
3099     $ECHO "" 
3102 case "$ECHO" in
3103   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3104 $as_echo "printf" >&6; } ;;
3105   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3106 $as_echo "print -r" >&6; } ;;
3107   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3108 $as_echo "cat" >&6; } ;;
3109 esac
3114     
3115     
3116     
3119     
3120     
3121     
3124 DEPDIR="${am__leading_dot}deps"
3126 ac_config_commands="$ac_config_commands depfiles"
3129 am_make=${MAKE-make}
3130 cat > confinc << 'END'
3131 am__doit:
3132         @echo this is the am__doit target
3133 .PHONY: am__doit
3135 # If we don't find an include directive, just comment out the code.
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3137 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3138 am__include="#"
3139 am__quote=
3140 _am_result=none
3141 # First try GNU make style include.
3142 echo "include confinc" > confmf
3143 # Ignore all kinds of additional output from `make'.
3144 case `$am_make -s -f confmf 2> /dev/null` in #(
3145 *the\ am__doit\ target*)
3146   am__include=include
3147   am__quote=
3148   _am_result=GNU
3149   ;;
3150 esac
3151 # Now try BSD make style include.
3152 if test "$am__include" = "#"; then
3153    echo '.include "confinc"' > confmf
3154    case `$am_make -s -f confmf 2> /dev/null` in #(
3155    *the\ am__doit\ target*)
3156      am__include=.include
3157      am__quote="\""
3158      _am_result=BSD
3159      ;;
3160    esac
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3165 $as_echo "$_am_result" >&6; }
3166 rm -f confinc confmf
3168 @%:@ Check whether --enable-dependency-tracking was given.
3169 if test "${enable_dependency_tracking+set}" = set; then :
3170   enableval=$enable_dependency_tracking; 
3173 if test "x$enable_dependency_tracking" != xno; then
3174   am_depcomp="$ac_aux_dir/depcomp"
3175   AMDEPBACKSLASH='\'
3177  if test "x$enable_dependency_tracking" != xno; then
3178   AMDEP_TRUE=
3179   AMDEP_FALSE='#'
3180 else
3181   AMDEP_TRUE='#'
3182   AMDEP_FALSE=
3186 ac_ext=c
3187 ac_cpp='$CPP $CPPFLAGS'
3188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3191 if test -n "$ac_tool_prefix"; then
3192   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3193 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3195 $as_echo_n "checking for $ac_word... " >&6; }
3196 if ${ac_cv_prog_CC+:} false; then :
3197   $as_echo_n "(cached) " >&6
3198 else
3199   if test -n "$CC"; then
3200   ac_cv_prog_CC="$CC" # Let the user override the test.
3201 else
3202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3203 for as_dir in $PATH
3205   IFS=$as_save_IFS
3206   test -z "$as_dir" && as_dir=.
3207     for ac_exec_ext in '' $ac_executable_extensions; do
3208   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3209     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3210     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3211     break 2
3212   fi
3213 done
3214   done
3215 IFS=$as_save_IFS
3219 CC=$ac_cv_prog_CC
3220 if test -n "$CC"; then
3221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3222 $as_echo "$CC" >&6; }
3223 else
3224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3225 $as_echo "no" >&6; }
3230 if test -z "$ac_cv_prog_CC"; then
3231   ac_ct_CC=$CC
3232   # Extract the first word of "gcc", so it can be a program name with args.
3233 set dummy gcc; ac_word=$2
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3235 $as_echo_n "checking for $ac_word... " >&6; }
3236 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3237   $as_echo_n "(cached) " >&6
3238 else
3239   if test -n "$ac_ct_CC"; then
3240   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3241 else
3242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3243 for as_dir in $PATH
3245   IFS=$as_save_IFS
3246   test -z "$as_dir" && as_dir=.
3247     for ac_exec_ext in '' $ac_executable_extensions; do
3248   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3249     ac_cv_prog_ac_ct_CC="gcc"
3250     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3251     break 2
3252   fi
3253 done
3254   done
3255 IFS=$as_save_IFS
3259 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3260 if test -n "$ac_ct_CC"; then
3261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3262 $as_echo "$ac_ct_CC" >&6; }
3263 else
3264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3265 $as_echo "no" >&6; }
3268   if test "x$ac_ct_CC" = x; then
3269     CC=""
3270   else
3271     case $cross_compiling:$ac_tool_warned in
3272 yes:)
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3274 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3275 ac_tool_warned=yes ;;
3276 esac
3277     CC=$ac_ct_CC
3278   fi
3279 else
3280   CC="$ac_cv_prog_CC"
3283 if test -z "$CC"; then
3284           if test -n "$ac_tool_prefix"; then
3285     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3286 set dummy ${ac_tool_prefix}cc; ac_word=$2
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3288 $as_echo_n "checking for $ac_word... " >&6; }
3289 if ${ac_cv_prog_CC+:} false; then :
3290   $as_echo_n "(cached) " >&6
3291 else
3292   if test -n "$CC"; then
3293   ac_cv_prog_CC="$CC" # Let the user override the test.
3294 else
3295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3296 for as_dir in $PATH
3298   IFS=$as_save_IFS
3299   test -z "$as_dir" && as_dir=.
3300     for ac_exec_ext in '' $ac_executable_extensions; do
3301   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3302     ac_cv_prog_CC="${ac_tool_prefix}cc"
3303     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3304     break 2
3305   fi
3306 done
3307   done
3308 IFS=$as_save_IFS
3312 CC=$ac_cv_prog_CC
3313 if test -n "$CC"; then
3314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3315 $as_echo "$CC" >&6; }
3316 else
3317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3318 $as_echo "no" >&6; }
3322   fi
3324 if test -z "$CC"; then
3325   # Extract the first word of "cc", so it can be a program name with args.
3326 set dummy cc; ac_word=$2
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3328 $as_echo_n "checking for $ac_word... " >&6; }
3329 if ${ac_cv_prog_CC+:} false; then :
3330   $as_echo_n "(cached) " >&6
3331 else
3332   if test -n "$CC"; then
3333   ac_cv_prog_CC="$CC" # Let the user override the test.
3334 else
3335   ac_prog_rejected=no
3336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3337 for as_dir in $PATH
3339   IFS=$as_save_IFS
3340   test -z "$as_dir" && as_dir=.
3341     for ac_exec_ext in '' $ac_executable_extensions; do
3342   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3343     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3344        ac_prog_rejected=yes
3345        continue
3346      fi
3347     ac_cv_prog_CC="cc"
3348     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3349     break 2
3350   fi
3351 done
3352   done
3353 IFS=$as_save_IFS
3355 if test $ac_prog_rejected = yes; then
3356   # We found a bogon in the path, so make sure we never use it.
3357   set dummy $ac_cv_prog_CC
3358   shift
3359   if test $@%:@ != 0; then
3360     # We chose a different compiler from the bogus one.
3361     # However, it has the same basename, so the bogon will be chosen
3362     # first if we set CC to just the basename; use the full file name.
3363     shift
3364     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3365   fi
3369 CC=$ac_cv_prog_CC
3370 if test -n "$CC"; then
3371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3372 $as_echo "$CC" >&6; }
3373 else
3374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3375 $as_echo "no" >&6; }
3380 if test -z "$CC"; then
3381   if test -n "$ac_tool_prefix"; then
3382   for ac_prog in cl.exe
3383   do
3384     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3385 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3387 $as_echo_n "checking for $ac_word... " >&6; }
3388 if ${ac_cv_prog_CC+:} false; then :
3389   $as_echo_n "(cached) " >&6
3390 else
3391   if test -n "$CC"; then
3392   ac_cv_prog_CC="$CC" # Let the user override the test.
3393 else
3394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3395 for as_dir in $PATH
3397   IFS=$as_save_IFS
3398   test -z "$as_dir" && as_dir=.
3399     for ac_exec_ext in '' $ac_executable_extensions; do
3400   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3401     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3402     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3403     break 2
3404   fi
3405 done
3406   done
3407 IFS=$as_save_IFS
3411 CC=$ac_cv_prog_CC
3412 if test -n "$CC"; then
3413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3414 $as_echo "$CC" >&6; }
3415 else
3416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3417 $as_echo "no" >&6; }
3421     test -n "$CC" && break
3422   done
3424 if test -z "$CC"; then
3425   ac_ct_CC=$CC
3426   for ac_prog in cl.exe
3428   # Extract the first word of "$ac_prog", so it can be a program name with args.
3429 set dummy $ac_prog; ac_word=$2
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3431 $as_echo_n "checking for $ac_word... " >&6; }
3432 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3433   $as_echo_n "(cached) " >&6
3434 else
3435   if test -n "$ac_ct_CC"; then
3436   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3437 else
3438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3439 for as_dir in $PATH
3441   IFS=$as_save_IFS
3442   test -z "$as_dir" && as_dir=.
3443     for ac_exec_ext in '' $ac_executable_extensions; do
3444   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3445     ac_cv_prog_ac_ct_CC="$ac_prog"
3446     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3447     break 2
3448   fi
3449 done
3450   done
3451 IFS=$as_save_IFS
3455 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3456 if test -n "$ac_ct_CC"; then
3457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3458 $as_echo "$ac_ct_CC" >&6; }
3459 else
3460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3461 $as_echo "no" >&6; }
3465   test -n "$ac_ct_CC" && break
3466 done
3468   if test "x$ac_ct_CC" = x; then
3469     CC=""
3470   else
3471     case $cross_compiling:$ac_tool_warned in
3472 yes:)
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3474 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3475 ac_tool_warned=yes ;;
3476 esac
3477     CC=$ac_ct_CC
3478   fi
3484 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3485 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3486 as_fn_error $? "no acceptable C compiler found in \$PATH
3487 See \`config.log' for more details" "$LINENO" 5; }
3489 # Provide some information about the compiler.
3490 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3491 set X $ac_compile
3492 ac_compiler=$2
3493 for ac_option in --version -v -V -qversion; do
3494   { { ac_try="$ac_compiler $ac_option >&5"
3495 case "(($ac_try" in
3496   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3497   *) ac_try_echo=$ac_try;;
3498 esac
3499 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3500 $as_echo "$ac_try_echo"; } >&5
3501   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3502   ac_status=$?
3503   if test -s conftest.err; then
3504     sed '10a\
3505 ... rest of stderr output deleted ...
3506          10q' conftest.err >conftest.er1
3507     cat conftest.er1 >&5
3508   fi
3509   rm -f conftest.er1 conftest.err
3510   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3511   test $ac_status = 0; }
3512 done
3514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3515 /* end confdefs.h.  */
3518 main ()
3521   ;
3522   return 0;
3524 _ACEOF
3525 ac_clean_files_save=$ac_clean_files
3526 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3527 # Try to create an executable without -o first, disregard a.out.
3528 # It will help us diagnose broken compilers, and finding out an intuition
3529 # of exeext.
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3531 $as_echo_n "checking whether the C compiler works... " >&6; }
3532 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3534 # The possible output files:
3535 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3537 ac_rmfiles=
3538 for ac_file in $ac_files
3540   case $ac_file in
3541     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3542     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3543   esac
3544 done
3545 rm -f $ac_rmfiles
3547 if { { ac_try="$ac_link_default"
3548 case "(($ac_try" in
3549   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3550   *) ac_try_echo=$ac_try;;
3551 esac
3552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3553 $as_echo "$ac_try_echo"; } >&5
3554   (eval "$ac_link_default") 2>&5
3555   ac_status=$?
3556   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3557   test $ac_status = 0; }; then :
3558   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3559 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3560 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3561 # so that the user can short-circuit this test for compilers unknown to
3562 # Autoconf.
3563 for ac_file in $ac_files ''
3565   test -f "$ac_file" || continue
3566   case $ac_file in
3567     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3568         ;;
3569     [ab].out )
3570         # We found the default executable, but exeext='' is most
3571         # certainly right.
3572         break;;
3573     *.* )
3574         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3575         then :; else
3576            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3577         fi
3578         # We set ac_cv_exeext here because the later test for it is not
3579         # safe: cross compilers may not add the suffix if given an `-o'
3580         # argument, so we may need to know it at that point already.
3581         # Even if this section looks crufty: it has the advantage of
3582         # actually working.
3583         break;;
3584     * )
3585         break;;
3586   esac
3587 done
3588 test "$ac_cv_exeext" = no && ac_cv_exeext=
3590 else
3591   ac_file=''
3593 if test -z "$ac_file"; then :
3594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3595 $as_echo "no" >&6; }
3596 $as_echo "$as_me: failed program was:" >&5
3597 sed 's/^/| /' conftest.$ac_ext >&5
3599 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3600 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3601 as_fn_error 77 "C compiler cannot create executables
3602 See \`config.log' for more details" "$LINENO" 5; }
3603 else
3604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3605 $as_echo "yes" >&6; }
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3608 $as_echo_n "checking for C compiler default output file name... " >&6; }
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3610 $as_echo "$ac_file" >&6; }
3611 ac_exeext=$ac_cv_exeext
3613 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3614 ac_clean_files=$ac_clean_files_save
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3616 $as_echo_n "checking for suffix of executables... " >&6; }
3617 if { { ac_try="$ac_link"
3618 case "(($ac_try" in
3619   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3620   *) ac_try_echo=$ac_try;;
3621 esac
3622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3623 $as_echo "$ac_try_echo"; } >&5
3624   (eval "$ac_link") 2>&5
3625   ac_status=$?
3626   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3627   test $ac_status = 0; }; then :
3628   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3629 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3630 # work properly (i.e., refer to `conftest.exe'), while it won't with
3631 # `rm'.
3632 for ac_file in conftest.exe conftest conftest.*; do
3633   test -f "$ac_file" || continue
3634   case $ac_file in
3635     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3636     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3637           break;;
3638     * ) break;;
3639   esac
3640 done
3641 else
3642   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3643 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3644 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3645 See \`config.log' for more details" "$LINENO" 5; }
3647 rm -f conftest conftest$ac_cv_exeext
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3649 $as_echo "$ac_cv_exeext" >&6; }
3651 rm -f conftest.$ac_ext
3652 EXEEXT=$ac_cv_exeext
3653 ac_exeext=$EXEEXT
3654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3655 /* end confdefs.h.  */
3656 @%:@include <stdio.h>
3658 main ()
3660 FILE *f = fopen ("conftest.out", "w");
3661  return ferror (f) || fclose (f) != 0;
3663   ;
3664   return 0;
3666 _ACEOF
3667 ac_clean_files="$ac_clean_files conftest.out"
3668 # Check that the compiler produces executables we can run.  If not, either
3669 # the compiler is broken, or we cross compile.
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3671 $as_echo_n "checking whether we are cross compiling... " >&6; }
3672 if test "$cross_compiling" != yes; then
3673   { { ac_try="$ac_link"
3674 case "(($ac_try" in
3675   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3676   *) ac_try_echo=$ac_try;;
3677 esac
3678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3679 $as_echo "$ac_try_echo"; } >&5
3680   (eval "$ac_link") 2>&5
3681   ac_status=$?
3682   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3683   test $ac_status = 0; }
3684   if { ac_try='./conftest$ac_cv_exeext'
3685   { { case "(($ac_try" in
3686   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3687   *) ac_try_echo=$ac_try;;
3688 esac
3689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3690 $as_echo "$ac_try_echo"; } >&5
3691   (eval "$ac_try") 2>&5
3692   ac_status=$?
3693   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3694   test $ac_status = 0; }; }; then
3695     cross_compiling=no
3696   else
3697     if test "$cross_compiling" = maybe; then
3698         cross_compiling=yes
3699     else
3700         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3701 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3702 as_fn_error $? "cannot run C compiled programs.
3703 If you meant to cross compile, use \`--host'.
3704 See \`config.log' for more details" "$LINENO" 5; }
3705     fi
3706   fi
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3709 $as_echo "$cross_compiling" >&6; }
3711 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3712 ac_clean_files=$ac_clean_files_save
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3714 $as_echo_n "checking for suffix of object files... " >&6; }
3715 if ${ac_cv_objext+:} false; then :
3716   $as_echo_n "(cached) " >&6
3717 else
3718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3719 /* end confdefs.h.  */
3722 main ()
3725   ;
3726   return 0;
3728 _ACEOF
3729 rm -f conftest.o conftest.obj
3730 if { { ac_try="$ac_compile"
3731 case "(($ac_try" in
3732   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3733   *) ac_try_echo=$ac_try;;
3734 esac
3735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3736 $as_echo "$ac_try_echo"; } >&5
3737   (eval "$ac_compile") 2>&5
3738   ac_status=$?
3739   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3740   test $ac_status = 0; }; then :
3741   for ac_file in conftest.o conftest.obj conftest.*; do
3742   test -f "$ac_file" || continue;
3743   case $ac_file in
3744     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3745     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3746        break;;
3747   esac
3748 done
3749 else
3750   $as_echo "$as_me: failed program was:" >&5
3751 sed 's/^/| /' conftest.$ac_ext >&5
3753 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3754 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3755 as_fn_error $? "cannot compute suffix of object files: cannot compile
3756 See \`config.log' for more details" "$LINENO" 5; }
3758 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3761 $as_echo "$ac_cv_objext" >&6; }
3762 OBJEXT=$ac_cv_objext
3763 ac_objext=$OBJEXT
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3765 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3766 if ${ac_cv_c_compiler_gnu+:} false; then :
3767   $as_echo_n "(cached) " >&6
3768 else
3769   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3770 /* end confdefs.h.  */
3773 main ()
3775 #ifndef __GNUC__
3776        choke me
3777 #endif
3779   ;
3780   return 0;
3782 _ACEOF
3783 if ac_fn_c_try_compile "$LINENO"; then :
3784   ac_compiler_gnu=yes
3785 else
3786   ac_compiler_gnu=no
3788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3789 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3793 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3794 if test $ac_compiler_gnu = yes; then
3795   GCC=yes
3796 else
3797   GCC=
3799 ac_test_CFLAGS=${CFLAGS+set}
3800 ac_save_CFLAGS=$CFLAGS
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3802 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3803 if ${ac_cv_prog_cc_g+:} false; then :
3804   $as_echo_n "(cached) " >&6
3805 else
3806   ac_save_c_werror_flag=$ac_c_werror_flag
3807    ac_c_werror_flag=yes
3808    ac_cv_prog_cc_g=no
3809    CFLAGS="-g"
3810    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3811 /* end confdefs.h.  */
3814 main ()
3817   ;
3818   return 0;
3820 _ACEOF
3821 if ac_fn_c_try_compile "$LINENO"; then :
3822   ac_cv_prog_cc_g=yes
3823 else
3824   CFLAGS=""
3825       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3826 /* end confdefs.h.  */
3829 main ()
3832   ;
3833   return 0;
3835 _ACEOF
3836 if ac_fn_c_try_compile "$LINENO"; then :
3837   
3838 else
3839   ac_c_werror_flag=$ac_save_c_werror_flag
3840          CFLAGS="-g"
3841          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3842 /* end confdefs.h.  */
3845 main ()
3848   ;
3849   return 0;
3851 _ACEOF
3852 if ac_fn_c_try_compile "$LINENO"; then :
3853   ac_cv_prog_cc_g=yes
3855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3860    ac_c_werror_flag=$ac_save_c_werror_flag
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3863 $as_echo "$ac_cv_prog_cc_g" >&6; }
3864 if test "$ac_test_CFLAGS" = set; then
3865   CFLAGS=$ac_save_CFLAGS
3866 elif test $ac_cv_prog_cc_g = yes; then
3867   if test "$GCC" = yes; then
3868     CFLAGS="-g -O2"
3869   else
3870     CFLAGS="-g"
3871   fi
3872 else
3873   if test "$GCC" = yes; then
3874     CFLAGS="-O2"
3875   else
3876     CFLAGS=
3877   fi
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3880 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3881 if ${ac_cv_prog_cc_c89+:} false; then :
3882   $as_echo_n "(cached) " >&6
3883 else
3884   ac_cv_prog_cc_c89=no
3885 ac_save_CC=$CC
3886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3887 /* end confdefs.h.  */
3888 #include <stdarg.h>
3889 #include <stdio.h>
3890 #include <sys/types.h>
3891 #include <sys/stat.h>
3892 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3893 struct buf { int x; };
3894 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3895 static char *e (p, i)
3896      char **p;
3897      int i;
3899   return p[i];
3901 static char *f (char * (*g) (char **, int), char **p, ...)
3903   char *s;
3904   va_list v;
3905   va_start (v,p);
3906   s = g (p, va_arg (v,int));
3907   va_end (v);
3908   return s;
3911 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3912    function prototypes and stuff, but not '\xHH' hex character constants.
3913    These don't provoke an error unfortunately, instead are silently treated
3914    as 'x'.  The following induces an error, until -std is added to get
3915    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3916    array size at least.  It's necessary to write '\x00'==0 to get something
3917    that's true only with -std.  */
3918 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3920 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3921    inside strings and character constants.  */
3922 #define FOO(x) 'x'
3923 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3925 int test (int i, double x);
3926 struct s1 {int (*f) (int a);};
3927 struct s2 {int (*f) (double a);};
3928 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3929 int argc;
3930 char **argv;
3932 main ()
3934 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3935   ;
3936   return 0;
3938 _ACEOF
3939 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3940         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3942   CC="$ac_save_CC $ac_arg"
3943   if ac_fn_c_try_compile "$LINENO"; then :
3944   ac_cv_prog_cc_c89=$ac_arg
3946 rm -f core conftest.err conftest.$ac_objext
3947   test "x$ac_cv_prog_cc_c89" != "xno" && break
3948 done
3949 rm -f conftest.$ac_ext
3950 CC=$ac_save_CC
3953 # AC_CACHE_VAL
3954 case "x$ac_cv_prog_cc_c89" in
3955   x)
3956     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3957 $as_echo "none needed" >&6; } ;;
3958   xno)
3959     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3960 $as_echo "unsupported" >&6; } ;;
3961   *)
3962     CC="$CC $ac_cv_prog_cc_c89"
3963     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3964 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3965 esac
3966 if test "x$ac_cv_prog_cc_c89" != xno; then :
3967   
3970 ac_ext=c
3971 ac_cpp='$CPP $CPPFLAGS'
3972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3976 depcc="$CC"   am_compiler_list=
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3979 $as_echo_n "checking dependency style of $depcc... " >&6; }
3980 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3981   $as_echo_n "(cached) " >&6
3982 else
3983   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3984   # We make a subdir and do the tests there.  Otherwise we can end up
3985   # making bogus files that we don't know about and never remove.  For
3986   # instance it was reported that on HP-UX the gcc test will end up
3987   # making a dummy file named `D' -- because `-MD' means `put the output
3988   # in D'.
3989   mkdir conftest.dir
3990   # Copy depcomp to subdir because otherwise we won't find it if we're
3991   # using a relative directory.
3992   cp "$am_depcomp" conftest.dir
3993   cd conftest.dir
3994   # We will build objects and dependencies in a subdirectory because
3995   # it helps to detect inapplicable dependency modes.  For instance
3996   # both Tru64's cc and ICC support -MD to output dependencies as a
3997   # side effect of compilation, but ICC will put the dependencies in
3998   # the current directory while Tru64 will put them in the object
3999   # directory.
4000   mkdir sub
4002   am_cv_CC_dependencies_compiler_type=none
4003   if test "$am_compiler_list" = ""; then
4004      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4005   fi
4006   am__universal=false
4007   case " $depcc " in #(
4008      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4009      esac
4011   for depmode in $am_compiler_list; do
4012     # Setup a source with many dependencies, because some compilers
4013     # like to wrap large dependency lists on column 80 (with \), and
4014     # we should not choose a depcomp mode which is confused by this.
4015     #
4016     # We need to recreate these files for each test, as the compiler may
4017     # overwrite some of them when testing with obscure command lines.
4018     # This happens at least with the AIX C compiler.
4019     : > sub/conftest.c
4020     for i in 1 2 3 4 5 6; do
4021       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4022       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4023       # Solaris 8's {/usr,}/bin/sh.
4024       touch sub/conftst$i.h
4025     done
4026     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4028     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4029     # mode.  It turns out that the SunPro C++ compiler does not properly
4030     # handle `-M -o', and we need to detect this.  Also, some Intel
4031     # versions had trouble with output in subdirs
4032     am__obj=sub/conftest.${OBJEXT-o}
4033     am__minus_obj="-o $am__obj"
4034     case $depmode in
4035     gcc)
4036       # This depmode causes a compiler race in universal mode.
4037       test "$am__universal" = false || continue
4038       ;;
4039     nosideeffect)
4040       # after this tag, mechanisms are not by side-effect, so they'll
4041       # only be used when explicitly requested
4042       if test "x$enable_dependency_tracking" = xyes; then
4043         continue
4044       else
4045         break
4046       fi
4047       ;;
4048     msvisualcpp | msvcmsys)
4049       # This compiler won't grok `-c -o', but also, the minuso test has
4050       # not run yet.  These depmodes are late enough in the game, and
4051       # so weak that their functioning should not be impacted.
4052       am__obj=conftest.${OBJEXT-o}
4053       am__minus_obj=
4054       ;;
4055     none) break ;;
4056     esac
4057     if depmode=$depmode \
4058        source=sub/conftest.c object=$am__obj \
4059        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4060        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4061          >/dev/null 2>conftest.err &&
4062        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4063        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4064        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4065        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4066       # icc doesn't choke on unknown options, it will just issue warnings
4067       # or remarks (even with -Werror).  So we grep stderr for any message
4068       # that says an option was ignored or not supported.
4069       # When given -MP, icc 7.0 and 7.1 complain thusly:
4070       #   icc: Command line warning: ignoring option '-M'; no argument required
4071       # The diagnosis changed in icc 8.0:
4072       #   icc: Command line remark: option '-MP' not supported
4073       if (grep 'ignoring option' conftest.err ||
4074           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4075         am_cv_CC_dependencies_compiler_type=$depmode
4076         break
4077       fi
4078     fi
4079   done
4081   cd ..
4082   rm -rf conftest.dir
4083 else
4084   am_cv_CC_dependencies_compiler_type=none
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4089 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4090 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4092  if 
4093   test "x$enable_dependency_tracking" != xno \
4094   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4095   am__fastdepCC_TRUE=
4096   am__fastdepCC_FALSE='#'
4097 else
4098   am__fastdepCC_TRUE='#'
4099   am__fastdepCC_FALSE=
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4104 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4105 if ${ac_cv_path_SED+:} false; then :
4106   $as_echo_n "(cached) " >&6
4107 else
4108             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4109      for ac_i in 1 2 3 4 5 6 7; do
4110        ac_script="$ac_script$as_nl$ac_script"
4111      done
4112      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4113      { ac_script=; unset ac_script;}
4114      if test -z "$SED"; then
4115   ac_path_SED_found=false
4116   # Loop through the user's path and test for each of PROGNAME-LIST
4117   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4118 for as_dir in $PATH
4120   IFS=$as_save_IFS
4121   test -z "$as_dir" && as_dir=.
4122     for ac_prog in sed gsed; do
4123     for ac_exec_ext in '' $ac_executable_extensions; do
4124       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4125       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4126 # Check for GNU ac_path_SED and select it if it is found.
4127   # Check for GNU $ac_path_SED
4128 case `"$ac_path_SED" --version 2>&1` in
4129 *GNU*)
4130   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4132   ac_count=0
4133   $as_echo_n 0123456789 >"conftest.in"
4134   while :
4135   do
4136     cat "conftest.in" "conftest.in" >"conftest.tmp"
4137     mv "conftest.tmp" "conftest.in"
4138     cp "conftest.in" "conftest.nl"
4139     $as_echo '' >> "conftest.nl"
4140     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4141     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4142     as_fn_arith $ac_count + 1 && ac_count=$as_val
4143     if test $ac_count -gt ${ac_path_SED_max-0}; then
4144       # Best one so far, save it but keep looking for a better one
4145       ac_cv_path_SED="$ac_path_SED"
4146       ac_path_SED_max=$ac_count
4147     fi
4148     # 10*(2^10) chars as input seems more than enough
4149     test $ac_count -gt 10 && break
4150   done
4151   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4152 esac
4154       $ac_path_SED_found && break 3
4155     done
4156   done
4157   done
4158 IFS=$as_save_IFS
4159   if test -z "$ac_cv_path_SED"; then
4160     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4161   fi
4162 else
4163   ac_cv_path_SED=$SED
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4168 $as_echo "$ac_cv_path_SED" >&6; }
4169  SED="$ac_cv_path_SED"
4170   rm -f conftest.sed
4172 test -z "$SED" && SED=sed
4173 Xsed="$SED -e 1s/^X//"
4175     
4176     
4177     
4180     
4181     
4182     
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4186 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4187 if ${ac_cv_path_GREP+:} false; then :
4188   $as_echo_n "(cached) " >&6
4189 else
4190   if test -z "$GREP"; then
4191   ac_path_GREP_found=false
4192   # Loop through the user's path and test for each of PROGNAME-LIST
4193   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4194 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4196   IFS=$as_save_IFS
4197   test -z "$as_dir" && as_dir=.
4198     for ac_prog in grep ggrep; do
4199     for ac_exec_ext in '' $ac_executable_extensions; do
4200       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4201       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4202 # Check for GNU ac_path_GREP and select it if it is found.
4203   # Check for GNU $ac_path_GREP
4204 case `"$ac_path_GREP" --version 2>&1` in
4205 *GNU*)
4206   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4208   ac_count=0
4209   $as_echo_n 0123456789 >"conftest.in"
4210   while :
4211   do
4212     cat "conftest.in" "conftest.in" >"conftest.tmp"
4213     mv "conftest.tmp" "conftest.in"
4214     cp "conftest.in" "conftest.nl"
4215     $as_echo 'GREP' >> "conftest.nl"
4216     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4217     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4218     as_fn_arith $ac_count + 1 && ac_count=$as_val
4219     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4220       # Best one so far, save it but keep looking for a better one
4221       ac_cv_path_GREP="$ac_path_GREP"
4222       ac_path_GREP_max=$ac_count
4223     fi
4224     # 10*(2^10) chars as input seems more than enough
4225     test $ac_count -gt 10 && break
4226   done
4227   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4228 esac
4230       $ac_path_GREP_found && break 3
4231     done
4232   done
4233   done
4234 IFS=$as_save_IFS
4235   if test -z "$ac_cv_path_GREP"; then
4236     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4237   fi
4238 else
4239   ac_cv_path_GREP=$GREP
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4244 $as_echo "$ac_cv_path_GREP" >&6; }
4245  GREP="$ac_cv_path_GREP"
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4249 $as_echo_n "checking for egrep... " >&6; }
4250 if ${ac_cv_path_EGREP+:} false; then :
4251   $as_echo_n "(cached) " >&6
4252 else
4253   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4254    then ac_cv_path_EGREP="$GREP -E"
4255    else
4256      if test -z "$EGREP"; then
4257   ac_path_EGREP_found=false
4258   # Loop through the user's path and test for each of PROGNAME-LIST
4259   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4260 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4262   IFS=$as_save_IFS
4263   test -z "$as_dir" && as_dir=.
4264     for ac_prog in egrep; do
4265     for ac_exec_ext in '' $ac_executable_extensions; do
4266       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4267       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4268 # Check for GNU ac_path_EGREP and select it if it is found.
4269   # Check for GNU $ac_path_EGREP
4270 case `"$ac_path_EGREP" --version 2>&1` in
4271 *GNU*)
4272   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4274   ac_count=0
4275   $as_echo_n 0123456789 >"conftest.in"
4276   while :
4277   do
4278     cat "conftest.in" "conftest.in" >"conftest.tmp"
4279     mv "conftest.tmp" "conftest.in"
4280     cp "conftest.in" "conftest.nl"
4281     $as_echo 'EGREP' >> "conftest.nl"
4282     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4283     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4284     as_fn_arith $ac_count + 1 && ac_count=$as_val
4285     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4286       # Best one so far, save it but keep looking for a better one
4287       ac_cv_path_EGREP="$ac_path_EGREP"
4288       ac_path_EGREP_max=$ac_count
4289     fi
4290     # 10*(2^10) chars as input seems more than enough
4291     test $ac_count -gt 10 && break
4292   done
4293   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4294 esac
4296       $ac_path_EGREP_found && break 3
4297     done
4298   done
4299   done
4300 IFS=$as_save_IFS
4301   if test -z "$ac_cv_path_EGREP"; then
4302     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4303   fi
4304 else
4305   ac_cv_path_EGREP=$EGREP
4308    fi
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4311 $as_echo "$ac_cv_path_EGREP" >&6; }
4312  EGREP="$ac_cv_path_EGREP"
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4316 $as_echo_n "checking for fgrep... " >&6; }
4317 if ${ac_cv_path_FGREP+:} false; then :
4318   $as_echo_n "(cached) " >&6
4319 else
4320   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4321    then ac_cv_path_FGREP="$GREP -F"
4322    else
4323      if test -z "$FGREP"; then
4324   ac_path_FGREP_found=false
4325   # Loop through the user's path and test for each of PROGNAME-LIST
4326   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4327 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4329   IFS=$as_save_IFS
4330   test -z "$as_dir" && as_dir=.
4331     for ac_prog in fgrep; do
4332     for ac_exec_ext in '' $ac_executable_extensions; do
4333       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4334       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4335 # Check for GNU ac_path_FGREP and select it if it is found.
4336   # Check for GNU $ac_path_FGREP
4337 case `"$ac_path_FGREP" --version 2>&1` in
4338 *GNU*)
4339   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4341   ac_count=0
4342   $as_echo_n 0123456789 >"conftest.in"
4343   while :
4344   do
4345     cat "conftest.in" "conftest.in" >"conftest.tmp"
4346     mv "conftest.tmp" "conftest.in"
4347     cp "conftest.in" "conftest.nl"
4348     $as_echo 'FGREP' >> "conftest.nl"
4349     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4350     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4351     as_fn_arith $ac_count + 1 && ac_count=$as_val
4352     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4353       # Best one so far, save it but keep looking for a better one
4354       ac_cv_path_FGREP="$ac_path_FGREP"
4355       ac_path_FGREP_max=$ac_count
4356     fi
4357     # 10*(2^10) chars as input seems more than enough
4358     test $ac_count -gt 10 && break
4359   done
4360   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4361 esac
4363       $ac_path_FGREP_found && break 3
4364     done
4365   done
4366   done
4367 IFS=$as_save_IFS
4368   if test -z "$ac_cv_path_FGREP"; then
4369     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4370   fi
4371 else
4372   ac_cv_path_FGREP=$FGREP
4375    fi
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4378 $as_echo "$ac_cv_path_FGREP" >&6; }
4379  FGREP="$ac_cv_path_FGREP"
4382 test -z "$GREP" && GREP=grep
4384     
4385     
4386     
4389     
4390     
4391     
4394     
4395     
4396     
4402 @%:@ Check whether --with-gnu-ld was given.
4403 if test "${with_gnu_ld+set}" = set; then :
4404   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4405 else
4406   with_gnu_ld=no
4409 ac_prog=ld
4410 if test "$GCC" = yes; then
4411   # Check if gcc -print-prog-name=ld gives a path.
4412   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4413 $as_echo_n "checking for ld used by $CC... " >&6; }
4414   case $host in
4415   *-*-mingw*)
4416     # gcc leaves a trailing carriage return which upsets mingw
4417     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4418   *)
4419     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4420   esac
4421   case $ac_prog in
4422     # Accept absolute paths.
4423     [\\/]* | ?:[\\/]*)
4424       re_direlt='/[^/][^/]*/\.\./'
4425       # Canonicalize the pathname of ld
4426       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4427       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4428         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4429       done
4430       test -z "$LD" && LD="$ac_prog"
4431       ;;
4432   "")
4433     # If it fails, then pretend we aren't using GCC.
4434     ac_prog=ld
4435     ;;
4436   *)
4437     # If it is relative, then search for the first ld in PATH.
4438     with_gnu_ld=unknown
4439     ;;
4440   esac
4441 elif test "$with_gnu_ld" = yes; then
4442   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4443 $as_echo_n "checking for GNU ld... " >&6; }
4444 else
4445   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4446 $as_echo_n "checking for non-GNU ld... " >&6; }
4448 if ${lt_cv_path_LD+:} false; then :
4449   $as_echo_n "(cached) " >&6
4450 else
4451   if test -z "$LD"; then
4452   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4453   for ac_dir in $PATH; do
4454     IFS="$lt_save_ifs"
4455     test -z "$ac_dir" && ac_dir=.
4456     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4457       lt_cv_path_LD="$ac_dir/$ac_prog"
4458       # Check to see if the program is GNU ld.  I'd rather use --version,
4459       # but apparently some variants of GNU ld only accept -v.
4460       # Break only if it was the GNU/non-GNU ld that we prefer.
4461       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4462       *GNU* | *'with BFD'*)
4463         test "$with_gnu_ld" != no && break
4464         ;;
4465       *)
4466         test "$with_gnu_ld" != yes && break
4467         ;;
4468       esac
4469     fi
4470   done
4471   IFS="$lt_save_ifs"
4472 else
4473   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4477 LD="$lt_cv_path_LD"
4478 if test -n "$LD"; then
4479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4480 $as_echo "$LD" >&6; }
4481 else
4482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4483 $as_echo "no" >&6; }
4485 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4487 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4488 if ${lt_cv_prog_gnu_ld+:} false; then :
4489   $as_echo_n "(cached) " >&6
4490 else
4491   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4492 case `$LD -v 2>&1 </dev/null` in
4493 *GNU* | *'with BFD'*)
4494   lt_cv_prog_gnu_ld=yes
4495   ;;
4497   lt_cv_prog_gnu_ld=no
4498   ;;
4499 esac
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4502 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4503 with_gnu_ld=$lt_cv_prog_gnu_ld
4508     
4509     
4510     
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4514 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4515 if ${lt_cv_path_NM+:} false; then :
4516   $as_echo_n "(cached) " >&6
4517 else
4518   if test -n "$NM"; then
4519   # Let the user override the test.
4520   lt_cv_path_NM="$NM"
4521 else
4522   lt_nm_to_check="${ac_tool_prefix}nm"
4523   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4524     lt_nm_to_check="$lt_nm_to_check nm"
4525   fi
4526   for lt_tmp_nm in $lt_nm_to_check; do
4527     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4528     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4529       IFS="$lt_save_ifs"
4530       test -z "$ac_dir" && ac_dir=.
4531       tmp_nm="$ac_dir/$lt_tmp_nm"
4532       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4533         # Check to see if the nm accepts a BSD-compat flag.
4534         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4535         #   nm: unknown option "B" ignored
4536         # Tru64's nm complains that /dev/null is an invalid object file
4537         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4538         */dev/null* | *'Invalid file or object type'*)
4539           lt_cv_path_NM="$tmp_nm -B"
4540           break
4541           ;;
4542         *)
4543           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4544           */dev/null*)
4545             lt_cv_path_NM="$tmp_nm -p"
4546             break
4547             ;;
4548           *)
4549             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4550             continue # so that we can try to find one that supports BSD flags
4551             ;;
4552           esac
4553           ;;
4554         esac
4555       fi
4556     done
4557     IFS="$lt_save_ifs"
4558   done
4559   : ${lt_cv_path_NM=no}
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4563 $as_echo "$lt_cv_path_NM" >&6; }
4564 if test "$lt_cv_path_NM" != "no"; then
4565   NM="$lt_cv_path_NM"
4566 else
4567   # Didn't find any BSD compatible name lister, look for dumpbin.
4568   if test -n "$DUMPBIN"; then :
4569     # Let the user override the test.
4570   else
4571     if test -n "$ac_tool_prefix"; then
4572   for ac_prog in dumpbin "link -dump"
4573   do
4574     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4575 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4577 $as_echo_n "checking for $ac_word... " >&6; }
4578 if ${ac_cv_prog_DUMPBIN+:} false; then :
4579   $as_echo_n "(cached) " >&6
4580 else
4581   if test -n "$DUMPBIN"; then
4582   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4583 else
4584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4585 for as_dir in $PATH
4587   IFS=$as_save_IFS
4588   test -z "$as_dir" && as_dir=.
4589     for ac_exec_ext in '' $ac_executable_extensions; do
4590   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4591     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4592     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4593     break 2
4594   fi
4595 done
4596   done
4597 IFS=$as_save_IFS
4601 DUMPBIN=$ac_cv_prog_DUMPBIN
4602 if test -n "$DUMPBIN"; then
4603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4604 $as_echo "$DUMPBIN" >&6; }
4605 else
4606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4607 $as_echo "no" >&6; }
4611     test -n "$DUMPBIN" && break
4612   done
4614 if test -z "$DUMPBIN"; then
4615   ac_ct_DUMPBIN=$DUMPBIN
4616   for ac_prog in dumpbin "link -dump"
4618   # Extract the first word of "$ac_prog", so it can be a program name with args.
4619 set dummy $ac_prog; ac_word=$2
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4621 $as_echo_n "checking for $ac_word... " >&6; }
4622 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4623   $as_echo_n "(cached) " >&6
4624 else
4625   if test -n "$ac_ct_DUMPBIN"; then
4626   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4627 else
4628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4629 for as_dir in $PATH
4631   IFS=$as_save_IFS
4632   test -z "$as_dir" && as_dir=.
4633     for ac_exec_ext in '' $ac_executable_extensions; do
4634   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4635     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4636     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4637     break 2
4638   fi
4639 done
4640   done
4641 IFS=$as_save_IFS
4645 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4646 if test -n "$ac_ct_DUMPBIN"; then
4647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4648 $as_echo "$ac_ct_DUMPBIN" >&6; }
4649 else
4650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4651 $as_echo "no" >&6; }
4655   test -n "$ac_ct_DUMPBIN" && break
4656 done
4658   if test "x$ac_ct_DUMPBIN" = x; then
4659     DUMPBIN=":"
4660   else
4661     case $cross_compiling:$ac_tool_warned in
4662 yes:)
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4665 ac_tool_warned=yes ;;
4666 esac
4667     DUMPBIN=$ac_ct_DUMPBIN
4668   fi
4671     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4672     *COFF*)
4673       DUMPBIN="$DUMPBIN -symbols"
4674       ;;
4675     *)
4676       DUMPBIN=:
4677       ;;
4678     esac
4679   fi
4680   
4681   if test "$DUMPBIN" != ":"; then
4682     NM="$DUMPBIN"
4683   fi
4685 test -z "$NM" && NM=nm
4688     
4689     
4690     
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4693 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4694 if ${lt_cv_nm_interface+:} false; then :
4695   $as_echo_n "(cached) " >&6
4696 else
4697   lt_cv_nm_interface="BSD nm"
4698   echo "int some_variable = 0;" > conftest.$ac_ext
4699   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4700   (eval "$ac_compile" 2>conftest.err)
4701   cat conftest.err >&5
4702   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4703   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4704   cat conftest.err >&5
4705   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4706   cat conftest.out >&5
4707   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4708     lt_cv_nm_interface="MS dumpbin"
4709   fi
4710   rm -f conftest*
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4713 $as_echo "$lt_cv_nm_interface" >&6; }
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4716 $as_echo_n "checking whether ln -s works... " >&6; }
4717 LN_S=$as_ln_s
4718 if test "$LN_S" = "ln -s"; then
4719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4720 $as_echo "yes" >&6; }
4721 else
4722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4723 $as_echo "no, using $LN_S" >&6; }
4726 # find the maximum length of command line arguments
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4728 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4729 if ${lt_cv_sys_max_cmd_len+:} false; then :
4730   $as_echo_n "(cached) " >&6
4731 else
4732     i=0
4733   teststring="ABCD"
4735   case $build_os in
4736   msdosdjgpp*)
4737     # On DJGPP, this test can blow up pretty badly due to problems in libc
4738     # (any single argument exceeding 2000 bytes causes a buffer overrun
4739     # during glob expansion).  Even if it were fixed, the result of this
4740     # check would be larger than it should be.
4741     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4742     ;;
4744   gnu*)
4745     # Under GNU Hurd, this test is not required because there is
4746     # no limit to the length of command line arguments.
4747     # Libtool will interpret -1 as no limit whatsoever
4748     lt_cv_sys_max_cmd_len=-1;
4749     ;;
4751   cygwin* | mingw* | cegcc*)
4752     # On Win9x/ME, this test blows up -- it succeeds, but takes
4753     # about 5 minutes as the teststring grows exponentially.
4754     # Worse, since 9x/ME are not pre-emptively multitasking,
4755     # you end up with a "frozen" computer, even though with patience
4756     # the test eventually succeeds (with a max line length of 256k).
4757     # Instead, let's just punt: use the minimum linelength reported by
4758     # all of the supported platforms: 8192 (on NT/2K/XP).
4759     lt_cv_sys_max_cmd_len=8192;
4760     ;;
4762   mint*)
4763     # On MiNT this can take a long time and run out of memory.
4764     lt_cv_sys_max_cmd_len=8192;
4765     ;;
4767   amigaos*)
4768     # On AmigaOS with pdksh, this test takes hours, literally.
4769     # So we just punt and use a minimum line length of 8192.
4770     lt_cv_sys_max_cmd_len=8192;
4771     ;;
4773   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4774     # This has been around since 386BSD, at least.  Likely further.
4775     if test -x /sbin/sysctl; then
4776       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4777     elif test -x /usr/sbin/sysctl; then
4778       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4779     else
4780       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4781     fi
4782     # And add a safety zone
4783     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4784     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4785     ;;
4787   interix*)
4788     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4789     lt_cv_sys_max_cmd_len=196608
4790     ;;
4792   osf*)
4793     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4794     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4795     # nice to cause kernel panics so lets avoid the loop below.
4796     # First set a reasonable default.
4797     lt_cv_sys_max_cmd_len=16384
4798     #
4799     if test -x /sbin/sysconfig; then
4800       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4801         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4802       esac
4803     fi
4804     ;;
4805   sco3.2v5*)
4806     lt_cv_sys_max_cmd_len=102400
4807     ;;
4808   sysv5* | sco5v6* | sysv4.2uw2*)
4809     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4810     if test -n "$kargmax"; then
4811       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4812     else
4813       lt_cv_sys_max_cmd_len=32768
4814     fi
4815     ;;
4816   *)
4817     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4818     if test -n "$lt_cv_sys_max_cmd_len"; then
4819       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4820       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4821     else
4822       # Make teststring a little bigger before we do anything with it.
4823       # a 1K string should be a reasonable start.
4824       for i in 1 2 3 4 5 6 7 8 ; do
4825         teststring=$teststring$teststring
4826       done
4827       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4828       # If test is not a shell built-in, we'll probably end up computing a
4829       # maximum length that is only half of the actual maximum length, but
4830       # we can't tell.
4831       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4832                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4833               test $i != 17 # 1/2 MB should be enough
4834       do
4835         i=`expr $i + 1`
4836         teststring=$teststring$teststring
4837       done
4838       # Only check the string length outside the loop.
4839       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4840       teststring=
4841       # Add a significant safety factor because C++ compilers can tack on
4842       # massive amounts of additional arguments before passing them to the
4843       # linker.  It appears as though 1/2 is a usable value.
4844       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4845     fi
4846     ;;
4847   esac
4851 if test -n $lt_cv_sys_max_cmd_len ; then
4852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4853 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4854 else
4855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4856 $as_echo "none" >&6; }
4858 max_cmd_len=$lt_cv_sys_max_cmd_len
4860     
4861     
4862     
4865 : ${CP="cp -f"}
4866 : ${MV="mv -f"}
4867 : ${RM="rm -f"}
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4870 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4871 # Try some XSI features
4872 xsi_shell=no
4873 ( _lt_dummy="a/b/c"
4874   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4875       = c,a/b,b/c, \
4876     && eval 'test $(( 1 + 1 )) -eq 2 \
4877     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4878   && xsi_shell=yes
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4880 $as_echo "$xsi_shell" >&6; }
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4884 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4885 lt_shell_append=no
4886 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4887     >/dev/null 2>&1 \
4888   && lt_shell_append=yes
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4890 $as_echo "$lt_shell_append" >&6; }
4893 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4894   lt_unset=unset
4895 else
4896   lt_unset=false
4899     
4900     
4901     
4903 # test EBCDIC or ASCII
4904 case `echo X|tr X '\101'` in
4905  A) # ASCII based system
4906     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4907   lt_SP2NL='tr \040 \012'
4908   lt_NL2SP='tr \015\012 \040\040'
4909   ;;
4910  *) # EBCDIC based system
4911   lt_SP2NL='tr \100 \n'
4912   lt_NL2SP='tr \r\n \100\100'
4913   ;;
4914 esac
4916     
4917     
4918     
4920     
4921     
4922     
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4925 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4926 if ${lt_cv_to_host_file_cmd+:} false; then :
4927   $as_echo_n "(cached) " >&6
4928 else
4929   case $host in
4930   *-*-mingw* )
4931     case $build in
4932       *-*-mingw* ) # actually msys
4933         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4934         ;;
4935       *-*-cygwin* )
4936         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4937         ;;
4938       * ) # otherwise, assume *nix
4939         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4940         ;;
4941     esac
4942     ;;
4943   *-*-cygwin* )
4944     case $build in
4945       *-*-mingw* ) # actually msys
4946         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4947         ;;
4948       *-*-cygwin* )
4949         lt_cv_to_host_file_cmd=func_convert_file_noop
4950         ;;
4951       * ) # otherwise, assume *nix
4952         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4953         ;;
4954     esac
4955     ;;
4956   * ) # unhandled hosts (and "normal" native builds)
4957     lt_cv_to_host_file_cmd=func_convert_file_noop
4958     ;;
4959 esac
4963 to_host_file_cmd=$lt_cv_to_host_file_cmd
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4965 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4967     
4968     
4969     
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4972 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4973 if ${lt_cv_to_tool_file_cmd+:} false; then :
4974   $as_echo_n "(cached) " >&6
4975 else
4976   #assume ordinary cross tools, or native build.
4977 lt_cv_to_tool_file_cmd=func_convert_file_noop
4978 case $host in
4979   *-*-mingw* )
4980     case $build in
4981       *-*-mingw* ) # actually msys
4982         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4983         ;;
4984     esac
4985     ;;
4986 esac
4990 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4992 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4994     
4995     
4996     
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4999 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5000 if ${lt_cv_ld_reload_flag+:} false; then :
5001   $as_echo_n "(cached) " >&6
5002 else
5003   lt_cv_ld_reload_flag='-r'
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5006 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5007 reload_flag=$lt_cv_ld_reload_flag
5008 case $reload_flag in
5009 "" | " "*) ;;
5010 *) reload_flag=" $reload_flag" ;;
5011 esac
5012 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5013 case $host_os in
5014   cygwin* | mingw* | pw32* | cegcc*)
5015     if test "$GCC" != yes; then
5016       reload_cmds=false
5017     fi
5018     ;;
5019   darwin*)
5020     if test "$GCC" = yes; then
5021       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5022     else
5023       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5024     fi
5025     ;;
5026 esac
5028     
5029     
5030     
5032     
5033     
5034     
5036 if test -n "$ac_tool_prefix"; then
5037   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5038 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5040 $as_echo_n "checking for $ac_word... " >&6; }
5041 if ${ac_cv_prog_OBJDUMP+:} false; then :
5042   $as_echo_n "(cached) " >&6
5043 else
5044   if test -n "$OBJDUMP"; then
5045   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5046 else
5047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5048 for as_dir in $PATH
5050   IFS=$as_save_IFS
5051   test -z "$as_dir" && as_dir=.
5052     for ac_exec_ext in '' $ac_executable_extensions; do
5053   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5054     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5055     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5056     break 2
5057   fi
5058 done
5059   done
5060 IFS=$as_save_IFS
5064 OBJDUMP=$ac_cv_prog_OBJDUMP
5065 if test -n "$OBJDUMP"; then
5066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5067 $as_echo "$OBJDUMP" >&6; }
5068 else
5069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5070 $as_echo "no" >&6; }
5075 if test -z "$ac_cv_prog_OBJDUMP"; then
5076   ac_ct_OBJDUMP=$OBJDUMP
5077   # Extract the first word of "objdump", so it can be a program name with args.
5078 set dummy objdump; ac_word=$2
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5080 $as_echo_n "checking for $ac_word... " >&6; }
5081 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5082   $as_echo_n "(cached) " >&6
5083 else
5084   if test -n "$ac_ct_OBJDUMP"; then
5085   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5086 else
5087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5088 for as_dir in $PATH
5090   IFS=$as_save_IFS
5091   test -z "$as_dir" && as_dir=.
5092     for ac_exec_ext in '' $ac_executable_extensions; do
5093   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5094     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5095     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5096     break 2
5097   fi
5098 done
5099   done
5100 IFS=$as_save_IFS
5104 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5105 if test -n "$ac_ct_OBJDUMP"; then
5106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5107 $as_echo "$ac_ct_OBJDUMP" >&6; }
5108 else
5109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5110 $as_echo "no" >&6; }
5113   if test "x$ac_ct_OBJDUMP" = x; then
5114     OBJDUMP="false"
5115   else
5116     case $cross_compiling:$ac_tool_warned in
5117 yes:)
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5120 ac_tool_warned=yes ;;
5121 esac
5122     OBJDUMP=$ac_ct_OBJDUMP
5123   fi
5124 else
5125   OBJDUMP="$ac_cv_prog_OBJDUMP"
5128 test -z "$OBJDUMP" && OBJDUMP=objdump
5130     
5131     
5132     
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5139 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5140 if ${lt_cv_deplibs_check_method+:} false; then :
5141   $as_echo_n "(cached) " >&6
5142 else
5143   lt_cv_file_magic_cmd='$MAGIC_CMD'
5144 lt_cv_file_magic_test_file=
5145 lt_cv_deplibs_check_method='unknown'
5146 # Need to set the preceding variable on all platforms that support
5147 # interlibrary dependencies.
5148 # 'none' -- dependencies not supported.
5149 # `unknown' -- same as none, but documents that we really don't know.
5150 # 'pass_all' -- all dependencies passed with no checks.
5151 # 'test_compile' -- check by making test program.
5152 # 'file_magic [[regex]]' -- check by looking for files in library path
5153 # which responds to the $file_magic_cmd with a given extended regex.
5154 # If you have `file' or equivalent on your system and you're not sure
5155 # whether `pass_all' will *always* work, you probably want this one.
5157 case $host_os in
5158 aix[4-9]*)
5159   lt_cv_deplibs_check_method=pass_all
5160   ;;
5162 beos*)
5163   lt_cv_deplibs_check_method=pass_all
5164   ;;
5166 bsdi[45]*)
5167   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5168   lt_cv_file_magic_cmd='/usr/bin/file -L'
5169   lt_cv_file_magic_test_file=/shlib/libc.so
5170   ;;
5172 cygwin*)
5173   # func_win32_libid is a shell function defined in ltmain.sh
5174   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5175   lt_cv_file_magic_cmd='func_win32_libid'
5176   ;;
5178 mingw* | pw32*)
5179   # Base MSYS/MinGW do not provide the 'file' command needed by
5180   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5181   # unless we find 'file', for example because we are cross-compiling.
5182   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5183   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5184     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5185     lt_cv_file_magic_cmd='func_win32_libid'
5186   else
5187     # Keep this pattern in sync with the one in func_win32_libid.
5188     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5189     lt_cv_file_magic_cmd='$OBJDUMP -f'
5190   fi
5191   ;;
5193 cegcc*)
5194   # use the weaker test based on 'objdump'. See mingw*.
5195   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5196   lt_cv_file_magic_cmd='$OBJDUMP -f'
5197   ;;
5199 darwin* | rhapsody*)
5200   lt_cv_deplibs_check_method=pass_all
5201   ;;
5203 freebsd* | dragonfly*)
5204   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5205     case $host_cpu in
5206     i*86 )
5207       # Not sure whether the presence of OpenBSD here was a mistake.
5208       # Let's accept both of them until this is cleared up.
5209       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5210       lt_cv_file_magic_cmd=/usr/bin/file
5211       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5212       ;;
5213     esac
5214   else
5215     lt_cv_deplibs_check_method=pass_all
5216   fi
5217   ;;
5219 gnu*)
5220   lt_cv_deplibs_check_method=pass_all
5221   ;;
5223 haiku*)
5224   lt_cv_deplibs_check_method=pass_all
5225   ;;
5227 hpux10.20* | hpux11*)
5228   lt_cv_file_magic_cmd=/usr/bin/file
5229   case $host_cpu in
5230   ia64*)
5231     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5232     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5233     ;;
5234   hppa*64*)
5235     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]'
5236     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5237     ;;
5238   *)
5239     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5240     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5241     ;;
5242   esac
5243   ;;
5245 interix[3-9]*)
5246   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5247   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5248   ;;
5250 irix5* | irix6* | nonstopux*)
5251   case $LD in
5252   *-32|*"-32 ") libmagic=32-bit;;
5253   *-n32|*"-n32 ") libmagic=N32;;
5254   *-64|*"-64 ") libmagic=64-bit;;
5255   *) libmagic=never-match;;
5256   esac
5257   lt_cv_deplibs_check_method=pass_all
5258   ;;
5260 # This must be Linux ELF.
5261 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5262   lt_cv_deplibs_check_method=pass_all
5263   ;;
5265 netbsd*)
5266   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5267     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5268   else
5269     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5270   fi
5271   ;;
5273 newos6*)
5274   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5275   lt_cv_file_magic_cmd=/usr/bin/file
5276   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5277   ;;
5279 *nto* | *qnx*)
5280   lt_cv_deplibs_check_method=pass_all
5281   ;;
5283 openbsd*)
5284   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5285     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5286   else
5287     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5288   fi
5289   ;;
5291 osf3* | osf4* | osf5*)
5292   lt_cv_deplibs_check_method=pass_all
5293   ;;
5295 rdos*)
5296   lt_cv_deplibs_check_method=pass_all
5297   ;;
5299 solaris*)
5300   lt_cv_deplibs_check_method=pass_all
5301   ;;
5303 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5304   lt_cv_deplibs_check_method=pass_all
5305   ;;
5307 sysv4 | sysv4.3*)
5308   case $host_vendor in
5309   motorola)
5310     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]'
5311     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5312     ;;
5313   ncr)
5314     lt_cv_deplibs_check_method=pass_all
5315     ;;
5316   sequent)
5317     lt_cv_file_magic_cmd='/bin/file'
5318     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5319     ;;
5320   sni)
5321     lt_cv_file_magic_cmd='/bin/file'
5322     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5323     lt_cv_file_magic_test_file=/lib/libc.so
5324     ;;
5325   siemens)
5326     lt_cv_deplibs_check_method=pass_all
5327     ;;
5328   pc)
5329     lt_cv_deplibs_check_method=pass_all
5330     ;;
5331   esac
5332   ;;
5334 tpf*)
5335   lt_cv_deplibs_check_method=pass_all
5336   ;;
5337 esac
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5341 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5343 file_magic_glob=
5344 want_nocaseglob=no
5345 if test "$build" = "$host"; then
5346   case $host_os in
5347   mingw* | pw32*)
5348     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5349       want_nocaseglob=yes
5350     else
5351       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5352     fi
5353     ;;
5354   esac
5357 file_magic_cmd=$lt_cv_file_magic_cmd
5358 deplibs_check_method=$lt_cv_deplibs_check_method
5359 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5362     
5363     
5364     
5367     
5368     
5369     
5372     
5373     
5374     
5377     
5378     
5379     
5382 if test -n "$ac_tool_prefix"; then
5383   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5384 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5386 $as_echo_n "checking for $ac_word... " >&6; }
5387 if ${ac_cv_prog_DLLTOOL+:} false; then :
5388   $as_echo_n "(cached) " >&6
5389 else
5390   if test -n "$DLLTOOL"; then
5391   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5392 else
5393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5394 for as_dir in $PATH
5396   IFS=$as_save_IFS
5397   test -z "$as_dir" && as_dir=.
5398     for ac_exec_ext in '' $ac_executable_extensions; do
5399   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5400     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5401     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5402     break 2
5403   fi
5404 done
5405   done
5406 IFS=$as_save_IFS
5410 DLLTOOL=$ac_cv_prog_DLLTOOL
5411 if test -n "$DLLTOOL"; then
5412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5413 $as_echo "$DLLTOOL" >&6; }
5414 else
5415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5416 $as_echo "no" >&6; }
5421 if test -z "$ac_cv_prog_DLLTOOL"; then
5422   ac_ct_DLLTOOL=$DLLTOOL
5423   # Extract the first word of "dlltool", so it can be a program name with args.
5424 set dummy dlltool; ac_word=$2
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5426 $as_echo_n "checking for $ac_word... " >&6; }
5427 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5428   $as_echo_n "(cached) " >&6
5429 else
5430   if test -n "$ac_ct_DLLTOOL"; then
5431   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5432 else
5433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5434 for as_dir in $PATH
5436   IFS=$as_save_IFS
5437   test -z "$as_dir" && as_dir=.
5438     for ac_exec_ext in '' $ac_executable_extensions; do
5439   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5440     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5441     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5442     break 2
5443   fi
5444 done
5445   done
5446 IFS=$as_save_IFS
5450 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5451 if test -n "$ac_ct_DLLTOOL"; then
5452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5453 $as_echo "$ac_ct_DLLTOOL" >&6; }
5454 else
5455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5456 $as_echo "no" >&6; }
5459   if test "x$ac_ct_DLLTOOL" = x; then
5460     DLLTOOL="false"
5461   else
5462     case $cross_compiling:$ac_tool_warned in
5463 yes:)
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5465 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5466 ac_tool_warned=yes ;;
5467 esac
5468     DLLTOOL=$ac_ct_DLLTOOL
5469   fi
5470 else
5471   DLLTOOL="$ac_cv_prog_DLLTOOL"
5474 test -z "$DLLTOOL" && DLLTOOL=dlltool
5476     
5477     
5478     
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5486 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5487 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5488   $as_echo_n "(cached) " >&6
5489 else
5490   lt_cv_sharedlib_from_linklib_cmd='unknown'
5492 case $host_os in
5493 cygwin* | mingw* | pw32* | cegcc*)
5494   # two different shell functions defined in ltmain.sh
5495   # decide which to use based on capabilities of $DLLTOOL
5496   case `$DLLTOOL --help 2>&1` in
5497   *--identify-strict*)
5498     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5499     ;;
5500   *)
5501     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5502     ;;
5503   esac
5504   ;;
5506   # fallback: assume linklib IS sharedlib
5507   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5508   ;;
5509 esac
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5513 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5514 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5515 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5518     
5519     
5520     
5524 if test -n "$ac_tool_prefix"; then
5525   for ac_prog in ar
5526   do
5527     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5528 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5530 $as_echo_n "checking for $ac_word... " >&6; }
5531 if ${ac_cv_prog_AR+:} false; then :
5532   $as_echo_n "(cached) " >&6
5533 else
5534   if test -n "$AR"; then
5535   ac_cv_prog_AR="$AR" # Let the user override the test.
5536 else
5537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5538 for as_dir in $PATH
5540   IFS=$as_save_IFS
5541   test -z "$as_dir" && as_dir=.
5542     for ac_exec_ext in '' $ac_executable_extensions; do
5543   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5544     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5545     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5546     break 2
5547   fi
5548 done
5549   done
5550 IFS=$as_save_IFS
5554 AR=$ac_cv_prog_AR
5555 if test -n "$AR"; then
5556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5557 $as_echo "$AR" >&6; }
5558 else
5559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5560 $as_echo "no" >&6; }
5564     test -n "$AR" && break
5565   done
5567 if test -z "$AR"; then
5568   ac_ct_AR=$AR
5569   for ac_prog in ar
5571   # Extract the first word of "$ac_prog", so it can be a program name with args.
5572 set dummy $ac_prog; ac_word=$2
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5574 $as_echo_n "checking for $ac_word... " >&6; }
5575 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5576   $as_echo_n "(cached) " >&6
5577 else
5578   if test -n "$ac_ct_AR"; then
5579   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5580 else
5581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5582 for as_dir in $PATH
5584   IFS=$as_save_IFS
5585   test -z "$as_dir" && as_dir=.
5586     for ac_exec_ext in '' $ac_executable_extensions; do
5587   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5588     ac_cv_prog_ac_ct_AR="$ac_prog"
5589     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5590     break 2
5591   fi
5592 done
5593   done
5594 IFS=$as_save_IFS
5598 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5599 if test -n "$ac_ct_AR"; then
5600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5601 $as_echo "$ac_ct_AR" >&6; }
5602 else
5603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5604 $as_echo "no" >&6; }
5608   test -n "$ac_ct_AR" && break
5609 done
5611   if test "x$ac_ct_AR" = x; then
5612     AR="false"
5613   else
5614     case $cross_compiling:$ac_tool_warned in
5615 yes:)
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5617 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5618 ac_tool_warned=yes ;;
5619 esac
5620     AR=$ac_ct_AR
5621   fi
5624 : ${AR=ar}
5625 : ${AR_FLAGS=cru}
5627     
5628     
5629     
5632     
5633     
5634     
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5638 $as_echo_n "checking for archiver @FILE support... " >&6; }
5639 if ${lt_cv_ar_at_file+:} false; then :
5640   $as_echo_n "(cached) " >&6
5641 else
5642   lt_cv_ar_at_file=no
5643    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5644 /* end confdefs.h.  */
5647 main ()
5650   ;
5651   return 0;
5653 _ACEOF
5654 if ac_fn_c_try_compile "$LINENO"; then :
5655   echo conftest.$ac_objext > conftest.lst
5656       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5657       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5658   (eval $lt_ar_try) 2>&5
5659   ac_status=$?
5660   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5661   test $ac_status = 0; }
5662       if test "$ac_status" -eq 0; then
5663         # Ensure the archiver fails upon bogus file names.
5664         rm -f conftest.$ac_objext libconftest.a
5665         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5666   (eval $lt_ar_try) 2>&5
5667   ac_status=$?
5668   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5669   test $ac_status = 0; }
5670         if test "$ac_status" -ne 0; then
5671           lt_cv_ar_at_file=@
5672         fi
5673       fi
5674       rm -f conftest.* libconftest.a
5675      
5677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5678   
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5681 $as_echo "$lt_cv_ar_at_file" >&6; }
5683 if test "x$lt_cv_ar_at_file" = xno; then
5684   archiver_list_spec=
5685 else
5686   archiver_list_spec=$lt_cv_ar_at_file
5689     
5690     
5691     
5695 if test -n "$ac_tool_prefix"; then
5696   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5697 set dummy ${ac_tool_prefix}strip; ac_word=$2
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5699 $as_echo_n "checking for $ac_word... " >&6; }
5700 if ${ac_cv_prog_STRIP+:} false; then :
5701   $as_echo_n "(cached) " >&6
5702 else
5703   if test -n "$STRIP"; then
5704   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5705 else
5706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5707 for as_dir in $PATH
5709   IFS=$as_save_IFS
5710   test -z "$as_dir" && as_dir=.
5711     for ac_exec_ext in '' $ac_executable_extensions; do
5712   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5713     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5714     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5715     break 2
5716   fi
5717 done
5718   done
5719 IFS=$as_save_IFS
5723 STRIP=$ac_cv_prog_STRIP
5724 if test -n "$STRIP"; then
5725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5726 $as_echo "$STRIP" >&6; }
5727 else
5728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5729 $as_echo "no" >&6; }
5734 if test -z "$ac_cv_prog_STRIP"; then
5735   ac_ct_STRIP=$STRIP
5736   # Extract the first word of "strip", so it can be a program name with args.
5737 set dummy strip; ac_word=$2
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5739 $as_echo_n "checking for $ac_word... " >&6; }
5740 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5741   $as_echo_n "(cached) " >&6
5742 else
5743   if test -n "$ac_ct_STRIP"; then
5744   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5745 else
5746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5747 for as_dir in $PATH
5749   IFS=$as_save_IFS
5750   test -z "$as_dir" && as_dir=.
5751     for ac_exec_ext in '' $ac_executable_extensions; do
5752   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5753     ac_cv_prog_ac_ct_STRIP="strip"
5754     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5755     break 2
5756   fi
5757 done
5758   done
5759 IFS=$as_save_IFS
5763 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5764 if test -n "$ac_ct_STRIP"; then
5765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5766 $as_echo "$ac_ct_STRIP" >&6; }
5767 else
5768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5769 $as_echo "no" >&6; }
5772   if test "x$ac_ct_STRIP" = x; then
5773     STRIP=":"
5774   else
5775     case $cross_compiling:$ac_tool_warned in
5776 yes:)
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5778 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5779 ac_tool_warned=yes ;;
5780 esac
5781     STRIP=$ac_ct_STRIP
5782   fi
5783 else
5784   STRIP="$ac_cv_prog_STRIP"
5787 test -z "$STRIP" && STRIP=:
5789     
5790     
5791     
5794 if test -n "$ac_tool_prefix"; then
5795   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5796 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5798 $as_echo_n "checking for $ac_word... " >&6; }
5799 if ${ac_cv_prog_RANLIB+:} false; then :
5800   $as_echo_n "(cached) " >&6
5801 else
5802   if test -n "$RANLIB"; then
5803   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5804 else
5805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5806 for as_dir in $PATH
5808   IFS=$as_save_IFS
5809   test -z "$as_dir" && as_dir=.
5810     for ac_exec_ext in '' $ac_executable_extensions; do
5811   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5812     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5813     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5814     break 2
5815   fi
5816 done
5817   done
5818 IFS=$as_save_IFS
5822 RANLIB=$ac_cv_prog_RANLIB
5823 if test -n "$RANLIB"; then
5824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5825 $as_echo "$RANLIB" >&6; }
5826 else
5827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5828 $as_echo "no" >&6; }
5833 if test -z "$ac_cv_prog_RANLIB"; then
5834   ac_ct_RANLIB=$RANLIB
5835   # Extract the first word of "ranlib", so it can be a program name with args.
5836 set dummy ranlib; ac_word=$2
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5838 $as_echo_n "checking for $ac_word... " >&6; }
5839 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5840   $as_echo_n "(cached) " >&6
5841 else
5842   if test -n "$ac_ct_RANLIB"; then
5843   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5844 else
5845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5846 for as_dir in $PATH
5848   IFS=$as_save_IFS
5849   test -z "$as_dir" && as_dir=.
5850     for ac_exec_ext in '' $ac_executable_extensions; do
5851   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5852     ac_cv_prog_ac_ct_RANLIB="ranlib"
5853     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5854     break 2
5855   fi
5856 done
5857   done
5858 IFS=$as_save_IFS
5862 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5863 if test -n "$ac_ct_RANLIB"; then
5864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5865 $as_echo "$ac_ct_RANLIB" >&6; }
5866 else
5867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5868 $as_echo "no" >&6; }
5871   if test "x$ac_ct_RANLIB" = x; then
5872     RANLIB=":"
5873   else
5874     case $cross_compiling:$ac_tool_warned in
5875 yes:)
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5877 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5878 ac_tool_warned=yes ;;
5879 esac
5880     RANLIB=$ac_ct_RANLIB
5881   fi
5882 else
5883   RANLIB="$ac_cv_prog_RANLIB"
5886 test -z "$RANLIB" && RANLIB=:
5888     
5889     
5890     
5893 # Determine commands to create old-style static archives.
5894 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5895 old_postinstall_cmds='chmod 644 $oldlib'
5896 old_postuninstall_cmds=
5898 if test -n "$RANLIB"; then
5899   case $host_os in
5900   openbsd*)
5901     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5902     ;;
5903   *)
5904     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5905     ;;
5906   esac
5907   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5910 case $host_os in
5911   darwin*)
5912     lock_old_archive_extraction=yes ;;
5913   *)
5914     lock_old_archive_extraction=no ;;
5915 esac
5917     
5918     
5919     
5922     
5923     
5924     
5927     
5928     
5929     
5932     
5933     
5934     
5939     
5940     
5941     
5943     
5944     
5945     
5947     
5948     
5949     
5951     
5952     
5953     
5955 # If no C compiler was specified, use CC.
5956 LTCC=${LTCC-"$CC"}
5958 # If no C compiler flags were specified, use CFLAGS.
5959 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5961 # Allow CC to be a program name with arguments.
5962 compiler=$CC
5965 # Check for command to grab the raw symbol name followed by C symbol from nm.
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5967 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5968 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5969   $as_echo_n "(cached) " >&6
5970 else
5971   
5972 # These are sane defaults that work on at least a few old systems.
5973 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5975 # Character class describing NM global symbol codes.
5976 symcode='[BCDEGRST]'
5978 # Regexp to match symbols that can be accessed directly from C.
5979 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5981 # Define system-specific variables.
5982 case $host_os in
5983 aix*)
5984   symcode='[BCDT]'
5985   ;;
5986 cygwin* | mingw* | pw32* | cegcc*)
5987   symcode='[ABCDGISTW]'
5988   ;;
5989 hpux*)
5990   if test "$host_cpu" = ia64; then
5991     symcode='[ABCDEGRST]'
5992   fi
5993   ;;
5994 irix* | nonstopux*)
5995   symcode='[BCDEGRST]'
5996   ;;
5997 osf*)
5998   symcode='[BCDEGQRST]'
5999   ;;
6000 solaris*)
6001   symcode='[BDRT]'
6002   ;;
6003 sco3.2v5*)
6004   symcode='[DT]'
6005   ;;
6006 sysv4.2uw2*)
6007   symcode='[DT]'
6008   ;;
6009 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6010   symcode='[ABDT]'
6011   ;;
6012 sysv4)
6013   symcode='[DFNSTU]'
6014   ;;
6015 esac
6017 # If we're using GNU nm, then use its standard symbol codes.
6018 case `$NM -V 2>&1` in
6019 *GNU* | *'with BFD'*)
6020   symcode='[ABCDGIRSTW]' ;;
6021 esac
6023 # Transform an extracted symbol line into a proper C declaration.
6024 # Some systems (esp. on ia64) link data and code symbols differently,
6025 # so use this general approach.
6026 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6028 # Transform an extracted symbol line into symbol name and symbol address
6029 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6030 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'"
6032 # Handle CRLF in mingw tool chain
6033 opt_cr=
6034 case $build_os in
6035 mingw*)
6036   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6037   ;;
6038 esac
6040 # Try without a prefix underscore, then with it.
6041 for ac_symprfx in "" "_"; do
6043   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6044   symxfrm="\\1 $ac_symprfx\\2 \\2"
6046   # Write the raw and C identifiers.
6047   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6048     # Fake it for dumpbin and say T for any non-static function
6049     # and D for any global variable.
6050     # Also find C++ and __fastcall symbols from MSVC++,
6051     # which start with @ or ?.
6052     lt_cv_sys_global_symbol_pipe="$AWK '"\
6053 "     {last_section=section; section=\$ 3};"\
6054 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6055 "     \$ 0!~/External *\|/{next};"\
6056 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6057 "     {if(hide[section]) next};"\
6058 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6059 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6060 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6061 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6062 "     ' prfx=^$ac_symprfx"
6063   else
6064     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6065   fi
6066   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6068   # Check to see that the pipe works correctly.
6069   pipe_works=no
6071   rm -f conftest*
6072   cat > conftest.$ac_ext <<_LT_EOF
6073 #ifdef __cplusplus
6074 extern "C" {
6075 #endif
6076 char nm_test_var;
6077 void nm_test_func(void);
6078 void nm_test_func(void){}
6079 #ifdef __cplusplus
6081 #endif
6082 int main(){nm_test_var='a';nm_test_func();return(0);}
6083 _LT_EOF
6085   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6086   (eval $ac_compile) 2>&5
6087   ac_status=$?
6088   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6089   test $ac_status = 0; }; then
6090     # Now try to grab the symbols.
6091     nlist=conftest.nm
6092     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6093   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6094   ac_status=$?
6095   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6096   test $ac_status = 0; } && test -s "$nlist"; then
6097       # Try sorting and uniquifying the output.
6098       if sort "$nlist" | uniq > "$nlist"T; then
6099         mv -f "$nlist"T "$nlist"
6100       else
6101         rm -f "$nlist"T
6102       fi
6104       # Make sure that we snagged all the symbols we need.
6105       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6106         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6107           cat <<_LT_EOF > conftest.$ac_ext
6108 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6109 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6110 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6111    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6112 # define LT@&t@_DLSYM_CONST
6113 #elif defined(__osf__)
6114 /* This system does not cope well with relocations in const data.  */
6115 # define LT@&t@_DLSYM_CONST
6116 #else
6117 # define LT@&t@_DLSYM_CONST const
6118 #endif
6120 #ifdef __cplusplus
6121 extern "C" {
6122 #endif
6124 _LT_EOF
6125           # Now generate the symbol file.
6126           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6128           cat <<_LT_EOF >> conftest.$ac_ext
6130 /* The mapping between symbol names and symbols.  */
6131 LT@&t@_DLSYM_CONST struct {
6132   const char *name;
6133   void       *address;
6135 lt__PROGRAM__LTX_preloaded_symbols[] =
6137   { "@PROGRAM@", (void *) 0 },
6138 _LT_EOF
6139           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6140           cat <<\_LT_EOF >> conftest.$ac_ext
6141   {0, (void *) 0}
6144 /* This works around a problem in FreeBSD linker */
6145 #ifdef FREEBSD_WORKAROUND
6146 static const void *lt_preloaded_setup() {
6147   return lt__PROGRAM__LTX_preloaded_symbols;
6149 #endif
6151 #ifdef __cplusplus
6153 #endif
6154 _LT_EOF
6155           # Now try linking the two files.
6156           mv conftest.$ac_objext conftstm.$ac_objext
6157           lt_globsym_save_LIBS=$LIBS
6158           lt_globsym_save_CFLAGS=$CFLAGS
6159           LIBS="conftstm.$ac_objext"
6160           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6161           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6162   (eval $ac_link) 2>&5
6163   ac_status=$?
6164   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6165   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6166             pipe_works=yes
6167           fi
6168           LIBS=$lt_globsym_save_LIBS
6169           CFLAGS=$lt_globsym_save_CFLAGS
6170         else
6171           echo "cannot find nm_test_func in $nlist" >&5
6172         fi
6173       else
6174         echo "cannot find nm_test_var in $nlist" >&5
6175       fi
6176     else
6177       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6178     fi
6179   else
6180     echo "$progname: failed program was:" >&5
6181     cat conftest.$ac_ext >&5
6182   fi
6183   rm -rf conftest* conftst*
6185   # Do not use the global_symbol_pipe unless it works.
6186   if test "$pipe_works" = yes; then
6187     break
6188   else
6189     lt_cv_sys_global_symbol_pipe=
6190   fi
6191 done
6195 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6196   lt_cv_sys_global_symbol_to_cdecl=
6198 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6200 $as_echo "failed" >&6; }
6201 else
6202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6203 $as_echo "ok" >&6; }
6206 # Response file support.
6207 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6208   nm_file_list_spec='@'
6209 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6210   nm_file_list_spec='@'
6214     
6215     
6216     
6219     
6220     
6221     
6224     
6225     
6226     
6229     
6230     
6231     
6234     
6235     
6236     
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6240 $as_echo_n "checking for sysroot... " >&6; }
6242 @%:@ Check whether --with-sysroot was given.
6243 if test "${with_sysroot+set}" = set; then :
6244   withval=$with_sysroot; 
6245 else
6246   with_sysroot=no
6250 lt_sysroot=
6251 case ${with_sysroot} in #(
6252  yes)
6253    if test "$GCC" = yes; then
6254      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6255    fi
6256    ;; #(
6257  /*)
6258    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6259    ;; #(
6260  no|'')
6261    ;; #(
6262  *)
6263    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6264 $as_echo "${with_sysroot}" >&6; }
6265    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6266    ;;
6267 esac
6269  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6270 $as_echo "${lt_sysroot:-no}" >&6; }
6272     
6273     
6274     
6276 @%:@ Check whether --enable-libtool-lock was given.
6277 if test "${enable_libtool_lock+set}" = set; then :
6278   enableval=$enable_libtool_lock; 
6281 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6283 # Some flags need to be propagated to the compiler or linker for good
6284 # libtool support.
6285 case $host in
6286 ia64-*-hpux*)
6287   # Find out which ABI we are using.
6288   echo 'int i;' > conftest.$ac_ext
6289   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6290   (eval $ac_compile) 2>&5
6291   ac_status=$?
6292   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6293   test $ac_status = 0; }; then
6294     case `/usr/bin/file conftest.$ac_objext` in
6295       *ELF-32*)
6296         HPUX_IA64_MODE="32"
6297         ;;
6298       *ELF-64*)
6299         HPUX_IA64_MODE="64"
6300         ;;
6301     esac
6302   fi
6303   rm -rf conftest*
6304   ;;
6305 *-*-irix6*)
6306   # Find out which ABI we are using.
6307   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6308   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6309   (eval $ac_compile) 2>&5
6310   ac_status=$?
6311   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6312   test $ac_status = 0; }; then
6313     if test "$lt_cv_prog_gnu_ld" = yes; then
6314       case `/usr/bin/file conftest.$ac_objext` in
6315         *32-bit*)
6316           LD="${LD-ld} -melf32bsmip"
6317           ;;
6318         *N32*)
6319           LD="${LD-ld} -melf32bmipn32"
6320           ;;
6321         *64-bit*)
6322           LD="${LD-ld} -melf64bmip"
6323         ;;
6324       esac
6325     else
6326       case `/usr/bin/file conftest.$ac_objext` in
6327         *32-bit*)
6328           LD="${LD-ld} -32"
6329           ;;
6330         *N32*)
6331           LD="${LD-ld} -n32"
6332           ;;
6333         *64-bit*)
6334           LD="${LD-ld} -64"
6335           ;;
6336       esac
6337     fi
6338   fi
6339   rm -rf conftest*
6340   ;;
6342 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6343 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6344   # Find out which ABI we are using.
6345   echo 'int i;' > conftest.$ac_ext
6346   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6347   (eval $ac_compile) 2>&5
6348   ac_status=$?
6349   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6350   test $ac_status = 0; }; then
6351     case `/usr/bin/file conftest.o` in
6352       *32-bit*)
6353         case $host in
6354           x86_64-*kfreebsd*-gnu)
6355             LD="${LD-ld} -m elf_i386_fbsd"
6356             ;;
6357           x86_64-*linux*)
6358             LD="${LD-ld} -m elf_i386"
6359             ;;
6360           ppc64-*linux*|powerpc64-*linux*)
6361             LD="${LD-ld} -m elf32ppclinux"
6362             ;;
6363           s390x-*linux*)
6364             LD="${LD-ld} -m elf_s390"
6365             ;;
6366           sparc64-*linux*)
6367             LD="${LD-ld} -m elf32_sparc"
6368             ;;
6369         esac
6370         ;;
6371       *64-bit*)
6372         case $host in
6373           x86_64-*kfreebsd*-gnu)
6374             LD="${LD-ld} -m elf_x86_64_fbsd"
6375             ;;
6376           x86_64-*linux*)
6377             LD="${LD-ld} -m elf_x86_64"
6378             ;;
6379           ppc*-*linux*|powerpc*-*linux*)
6380             LD="${LD-ld} -m elf64ppc"
6381             ;;
6382           s390*-*linux*|s390*-*tpf*)
6383             LD="${LD-ld} -m elf64_s390"
6384             ;;
6385           sparc*-*linux*)
6386             LD="${LD-ld} -m elf64_sparc"
6387             ;;
6388         esac
6389         ;;
6390     esac
6391   fi
6392   rm -rf conftest*
6393   ;;
6395 *-*-sco3.2v5*)
6396   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6397   SAVE_CFLAGS="$CFLAGS"
6398   CFLAGS="$CFLAGS -belf"
6399   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6400 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6401 if ${lt_cv_cc_needs_belf+:} false; then :
6402   $as_echo_n "(cached) " >&6
6403 else
6404   ac_ext=c
6405 ac_cpp='$CPP $CPPFLAGS'
6406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6410      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6411 /* end confdefs.h.  */
6414 main ()
6417   ;
6418   return 0;
6420 _ACEOF
6421 if ac_fn_c_try_link "$LINENO"; then :
6422   lt_cv_cc_needs_belf=yes
6423 else
6424   lt_cv_cc_needs_belf=no
6426 rm -f core conftest.err conftest.$ac_objext \
6427     conftest$ac_exeext conftest.$ac_ext
6428      ac_ext=c
6429 ac_cpp='$CPP $CPPFLAGS'
6430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6436 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6437   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6438     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6439     CFLAGS="$SAVE_CFLAGS"
6440   fi
6441   ;;
6442 sparc*-*solaris*)
6443   # Find out which ABI we are using.
6444   echo 'int i;' > conftest.$ac_ext
6445   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6446   (eval $ac_compile) 2>&5
6447   ac_status=$?
6448   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6449   test $ac_status = 0; }; then
6450     case `/usr/bin/file conftest.o` in
6451     *64-bit*)
6452       case $lt_cv_prog_gnu_ld in
6453       yes*) LD="${LD-ld} -m elf64_sparc" ;;
6454       *)
6455         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6456           LD="${LD-ld} -64"
6457         fi
6458         ;;
6459       esac
6460       ;;
6461     esac
6462   fi
6463   rm -rf conftest*
6464   ;;
6465 esac
6467 need_locks="$enable_libtool_lock"
6469 if test -n "$ac_tool_prefix"; then
6470   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6471 set dummy ${ac_tool_prefix}mt; ac_word=$2
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6473 $as_echo_n "checking for $ac_word... " >&6; }
6474 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6475   $as_echo_n "(cached) " >&6
6476 else
6477   if test -n "$MANIFEST_TOOL"; then
6478   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6479 else
6480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6481 for as_dir in $PATH
6483   IFS=$as_save_IFS
6484   test -z "$as_dir" && as_dir=.
6485     for ac_exec_ext in '' $ac_executable_extensions; do
6486   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6487     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6488     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6489     break 2
6490   fi
6491 done
6492   done
6493 IFS=$as_save_IFS
6497 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6498 if test -n "$MANIFEST_TOOL"; then
6499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6500 $as_echo "$MANIFEST_TOOL" >&6; }
6501 else
6502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6503 $as_echo "no" >&6; }
6508 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6509   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6510   # Extract the first word of "mt", so it can be a program name with args.
6511 set dummy mt; ac_word=$2
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6513 $as_echo_n "checking for $ac_word... " >&6; }
6514 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6515   $as_echo_n "(cached) " >&6
6516 else
6517   if test -n "$ac_ct_MANIFEST_TOOL"; then
6518   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6519 else
6520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6521 for as_dir in $PATH
6523   IFS=$as_save_IFS
6524   test -z "$as_dir" && as_dir=.
6525     for ac_exec_ext in '' $ac_executable_extensions; do
6526   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6527     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6528     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6529     break 2
6530   fi
6531 done
6532   done
6533 IFS=$as_save_IFS
6537 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6538 if test -n "$ac_ct_MANIFEST_TOOL"; then
6539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6540 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6541 else
6542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6543 $as_echo "no" >&6; }
6546   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6547     MANIFEST_TOOL=":"
6548   else
6549     case $cross_compiling:$ac_tool_warned in
6550 yes:)
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6553 ac_tool_warned=yes ;;
6554 esac
6555     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6556   fi
6557 else
6558   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6561 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6563 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6564 if ${lt_cv_path_mainfest_tool+:} false; then :
6565   $as_echo_n "(cached) " >&6
6566 else
6567   lt_cv_path_mainfest_tool=no
6568   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6569   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6570   cat conftest.err >&5
6571   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6572     lt_cv_path_mainfest_tool=yes
6573   fi
6574   rm -f conftest*
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6577 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6578 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6579   MANIFEST_TOOL=:
6582     
6583     
6584     
6587   case $host_os in
6588     rhapsody* | darwin*)
6589     if test -n "$ac_tool_prefix"; then
6590   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6591 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6593 $as_echo_n "checking for $ac_word... " >&6; }
6594 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6595   $as_echo_n "(cached) " >&6
6596 else
6597   if test -n "$DSYMUTIL"; then
6598   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6599 else
6600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6601 for as_dir in $PATH
6603   IFS=$as_save_IFS
6604   test -z "$as_dir" && as_dir=.
6605     for ac_exec_ext in '' $ac_executable_extensions; do
6606   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6607     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6608     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6609     break 2
6610   fi
6611 done
6612   done
6613 IFS=$as_save_IFS
6617 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6618 if test -n "$DSYMUTIL"; then
6619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6620 $as_echo "$DSYMUTIL" >&6; }
6621 else
6622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6623 $as_echo "no" >&6; }
6628 if test -z "$ac_cv_prog_DSYMUTIL"; then
6629   ac_ct_DSYMUTIL=$DSYMUTIL
6630   # Extract the first word of "dsymutil", so it can be a program name with args.
6631 set dummy dsymutil; ac_word=$2
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6633 $as_echo_n "checking for $ac_word... " >&6; }
6634 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6635   $as_echo_n "(cached) " >&6
6636 else
6637   if test -n "$ac_ct_DSYMUTIL"; then
6638   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6639 else
6640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6641 for as_dir in $PATH
6643   IFS=$as_save_IFS
6644   test -z "$as_dir" && as_dir=.
6645     for ac_exec_ext in '' $ac_executable_extensions; do
6646   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6647     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6648     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6649     break 2
6650   fi
6651 done
6652   done
6653 IFS=$as_save_IFS
6657 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6658 if test -n "$ac_ct_DSYMUTIL"; then
6659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6660 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6661 else
6662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6663 $as_echo "no" >&6; }
6666   if test "x$ac_ct_DSYMUTIL" = x; then
6667     DSYMUTIL=":"
6668   else
6669     case $cross_compiling:$ac_tool_warned in
6670 yes:)
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6672 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6673 ac_tool_warned=yes ;;
6674 esac
6675     DSYMUTIL=$ac_ct_DSYMUTIL
6676   fi
6677 else
6678   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6681     if test -n "$ac_tool_prefix"; then
6682   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6683 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6685 $as_echo_n "checking for $ac_word... " >&6; }
6686 if ${ac_cv_prog_NMEDIT+:} false; then :
6687   $as_echo_n "(cached) " >&6
6688 else
6689   if test -n "$NMEDIT"; then
6690   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6691 else
6692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6693 for as_dir in $PATH
6695   IFS=$as_save_IFS
6696   test -z "$as_dir" && as_dir=.
6697     for ac_exec_ext in '' $ac_executable_extensions; do
6698   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6699     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6700     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6701     break 2
6702   fi
6703 done
6704   done
6705 IFS=$as_save_IFS
6709 NMEDIT=$ac_cv_prog_NMEDIT
6710 if test -n "$NMEDIT"; then
6711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6712 $as_echo "$NMEDIT" >&6; }
6713 else
6714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6715 $as_echo "no" >&6; }
6720 if test -z "$ac_cv_prog_NMEDIT"; then
6721   ac_ct_NMEDIT=$NMEDIT
6722   # Extract the first word of "nmedit", so it can be a program name with args.
6723 set dummy nmedit; ac_word=$2
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6725 $as_echo_n "checking for $ac_word... " >&6; }
6726 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6727   $as_echo_n "(cached) " >&6
6728 else
6729   if test -n "$ac_ct_NMEDIT"; then
6730   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6731 else
6732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6733 for as_dir in $PATH
6735   IFS=$as_save_IFS
6736   test -z "$as_dir" && as_dir=.
6737     for ac_exec_ext in '' $ac_executable_extensions; do
6738   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6739     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6740     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6741     break 2
6742   fi
6743 done
6744   done
6745 IFS=$as_save_IFS
6749 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6750 if test -n "$ac_ct_NMEDIT"; then
6751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6752 $as_echo "$ac_ct_NMEDIT" >&6; }
6753 else
6754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6755 $as_echo "no" >&6; }
6758   if test "x$ac_ct_NMEDIT" = x; then
6759     NMEDIT=":"
6760   else
6761     case $cross_compiling:$ac_tool_warned in
6762 yes:)
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6764 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6765 ac_tool_warned=yes ;;
6766 esac
6767     NMEDIT=$ac_ct_NMEDIT
6768   fi
6769 else
6770   NMEDIT="$ac_cv_prog_NMEDIT"
6773     if test -n "$ac_tool_prefix"; then
6774   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6775 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6777 $as_echo_n "checking for $ac_word... " >&6; }
6778 if ${ac_cv_prog_LIPO+:} false; then :
6779   $as_echo_n "(cached) " >&6
6780 else
6781   if test -n "$LIPO"; then
6782   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6783 else
6784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6785 for as_dir in $PATH
6787   IFS=$as_save_IFS
6788   test -z "$as_dir" && as_dir=.
6789     for ac_exec_ext in '' $ac_executable_extensions; do
6790   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6791     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6792     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6793     break 2
6794   fi
6795 done
6796   done
6797 IFS=$as_save_IFS
6801 LIPO=$ac_cv_prog_LIPO
6802 if test -n "$LIPO"; then
6803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6804 $as_echo "$LIPO" >&6; }
6805 else
6806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6807 $as_echo "no" >&6; }
6812 if test -z "$ac_cv_prog_LIPO"; then
6813   ac_ct_LIPO=$LIPO
6814   # Extract the first word of "lipo", so it can be a program name with args.
6815 set dummy lipo; ac_word=$2
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6817 $as_echo_n "checking for $ac_word... " >&6; }
6818 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6819   $as_echo_n "(cached) " >&6
6820 else
6821   if test -n "$ac_ct_LIPO"; then
6822   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6823 else
6824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6825 for as_dir in $PATH
6827   IFS=$as_save_IFS
6828   test -z "$as_dir" && as_dir=.
6829     for ac_exec_ext in '' $ac_executable_extensions; do
6830   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6831     ac_cv_prog_ac_ct_LIPO="lipo"
6832     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6833     break 2
6834   fi
6835 done
6836   done
6837 IFS=$as_save_IFS
6841 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6842 if test -n "$ac_ct_LIPO"; then
6843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6844 $as_echo "$ac_ct_LIPO" >&6; }
6845 else
6846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6847 $as_echo "no" >&6; }
6850   if test "x$ac_ct_LIPO" = x; then
6851     LIPO=":"
6852   else
6853     case $cross_compiling:$ac_tool_warned in
6854 yes:)
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6856 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6857 ac_tool_warned=yes ;;
6858 esac
6859     LIPO=$ac_ct_LIPO
6860   fi
6861 else
6862   LIPO="$ac_cv_prog_LIPO"
6865     if test -n "$ac_tool_prefix"; then
6866   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6867 set dummy ${ac_tool_prefix}otool; ac_word=$2
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6869 $as_echo_n "checking for $ac_word... " >&6; }
6870 if ${ac_cv_prog_OTOOL+:} false; then :
6871   $as_echo_n "(cached) " >&6
6872 else
6873   if test -n "$OTOOL"; then
6874   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6875 else
6876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6877 for as_dir in $PATH
6879   IFS=$as_save_IFS
6880   test -z "$as_dir" && as_dir=.
6881     for ac_exec_ext in '' $ac_executable_extensions; do
6882   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6883     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6884     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6885     break 2
6886   fi
6887 done
6888   done
6889 IFS=$as_save_IFS
6893 OTOOL=$ac_cv_prog_OTOOL
6894 if test -n "$OTOOL"; then
6895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6896 $as_echo "$OTOOL" >&6; }
6897 else
6898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6899 $as_echo "no" >&6; }
6904 if test -z "$ac_cv_prog_OTOOL"; then
6905   ac_ct_OTOOL=$OTOOL
6906   # Extract the first word of "otool", so it can be a program name with args.
6907 set dummy otool; ac_word=$2
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6909 $as_echo_n "checking for $ac_word... " >&6; }
6910 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6911   $as_echo_n "(cached) " >&6
6912 else
6913   if test -n "$ac_ct_OTOOL"; then
6914   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6915 else
6916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6917 for as_dir in $PATH
6919   IFS=$as_save_IFS
6920   test -z "$as_dir" && as_dir=.
6921     for ac_exec_ext in '' $ac_executable_extensions; do
6922   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6923     ac_cv_prog_ac_ct_OTOOL="otool"
6924     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6925     break 2
6926   fi
6927 done
6928   done
6929 IFS=$as_save_IFS
6933 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6934 if test -n "$ac_ct_OTOOL"; then
6935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6936 $as_echo "$ac_ct_OTOOL" >&6; }
6937 else
6938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6939 $as_echo "no" >&6; }
6942   if test "x$ac_ct_OTOOL" = x; then
6943     OTOOL=":"
6944   else
6945     case $cross_compiling:$ac_tool_warned in
6946 yes:)
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6948 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6949 ac_tool_warned=yes ;;
6950 esac
6951     OTOOL=$ac_ct_OTOOL
6952   fi
6953 else
6954   OTOOL="$ac_cv_prog_OTOOL"
6957     if test -n "$ac_tool_prefix"; then
6958   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6959 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6961 $as_echo_n "checking for $ac_word... " >&6; }
6962 if ${ac_cv_prog_OTOOL64+:} false; then :
6963   $as_echo_n "(cached) " >&6
6964 else
6965   if test -n "$OTOOL64"; then
6966   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6967 else
6968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6969 for as_dir in $PATH
6971   IFS=$as_save_IFS
6972   test -z "$as_dir" && as_dir=.
6973     for ac_exec_ext in '' $ac_executable_extensions; do
6974   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6975     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6976     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6977     break 2
6978   fi
6979 done
6980   done
6981 IFS=$as_save_IFS
6985 OTOOL64=$ac_cv_prog_OTOOL64
6986 if test -n "$OTOOL64"; then
6987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6988 $as_echo "$OTOOL64" >&6; }
6989 else
6990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6991 $as_echo "no" >&6; }
6996 if test -z "$ac_cv_prog_OTOOL64"; then
6997   ac_ct_OTOOL64=$OTOOL64
6998   # Extract the first word of "otool64", so it can be a program name with args.
6999 set dummy otool64; ac_word=$2
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7001 $as_echo_n "checking for $ac_word... " >&6; }
7002 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7003   $as_echo_n "(cached) " >&6
7004 else
7005   if test -n "$ac_ct_OTOOL64"; then
7006   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7007 else
7008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7009 for as_dir in $PATH
7011   IFS=$as_save_IFS
7012   test -z "$as_dir" && as_dir=.
7013     for ac_exec_ext in '' $ac_executable_extensions; do
7014   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7015     ac_cv_prog_ac_ct_OTOOL64="otool64"
7016     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7017     break 2
7018   fi
7019 done
7020   done
7021 IFS=$as_save_IFS
7025 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7026 if test -n "$ac_ct_OTOOL64"; then
7027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7028 $as_echo "$ac_ct_OTOOL64" >&6; }
7029 else
7030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7031 $as_echo "no" >&6; }
7034   if test "x$ac_ct_OTOOL64" = x; then
7035     OTOOL64=":"
7036   else
7037     case $cross_compiling:$ac_tool_warned in
7038 yes:)
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7040 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7041 ac_tool_warned=yes ;;
7042 esac
7043     OTOOL64=$ac_ct_OTOOL64
7044   fi
7045 else
7046   OTOOL64="$ac_cv_prog_OTOOL64"
7049     
7050     
7051     
7052     
7054     
7055     
7056     
7057     
7059     
7060     
7061     
7062     
7064     
7065     
7066     
7067     
7069     
7070     
7071     
7072     
7075     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7076 $as_echo_n "checking for -single_module linker flag... " >&6; }
7077 if ${lt_cv_apple_cc_single_mod+:} false; then :
7078   $as_echo_n "(cached) " >&6
7079 else
7080   lt_cv_apple_cc_single_mod=no
7081       if test -z "${LT_MULTI_MODULE}"; then
7082         # By default we will add the -single_module flag. You can override
7083         # by either setting the environment variable LT_MULTI_MODULE
7084         # non-empty at configure time, or by adding -multi_module to the
7085         # link flags.
7086         rm -rf libconftest.dylib*
7087         echo "int foo(void){return 1;}" > conftest.c
7088         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7089 -dynamiclib -Wl,-single_module conftest.c" >&5
7090         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7091           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7092         _lt_result=$?
7093         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7094           lt_cv_apple_cc_single_mod=yes
7095         else
7096           cat conftest.err >&5
7097         fi
7098         rm -rf libconftest.dylib*
7099         rm -f conftest.*
7100       fi
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7103 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7104     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7105 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7106 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7107   $as_echo_n "(cached) " >&6
7108 else
7109   lt_cv_ld_exported_symbols_list=no
7110       save_LDFLAGS=$LDFLAGS
7111       echo "_main" > conftest.sym
7112       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7113       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7114 /* end confdefs.h.  */
7117 main ()
7120   ;
7121   return 0;
7123 _ACEOF
7124 if ac_fn_c_try_link "$LINENO"; then :
7125   lt_cv_ld_exported_symbols_list=yes
7126 else
7127   lt_cv_ld_exported_symbols_list=no
7129 rm -f core conftest.err conftest.$ac_objext \
7130     conftest$ac_exeext conftest.$ac_ext
7131         LDFLAGS="$save_LDFLAGS"
7132     
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7135 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7136     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7137 $as_echo_n "checking for -force_load linker flag... " >&6; }
7138 if ${lt_cv_ld_force_load+:} false; then :
7139   $as_echo_n "(cached) " >&6
7140 else
7141   lt_cv_ld_force_load=no
7142       cat > conftest.c << _LT_EOF
7143 int forced_loaded() { return 2;}
7144 _LT_EOF
7145       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7146       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7147       echo "$AR cru libconftest.a conftest.o" >&5
7148       $AR cru libconftest.a conftest.o 2>&5
7149       echo "$RANLIB libconftest.a" >&5
7150       $RANLIB libconftest.a 2>&5
7151       cat > conftest.c << _LT_EOF
7152 int main() { return 0;}
7153 _LT_EOF
7154       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7155       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7156       _lt_result=$?
7157       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7158         lt_cv_ld_force_load=yes
7159       else
7160         cat conftest.err >&5
7161       fi
7162         rm -f conftest.err libconftest.a conftest conftest.c
7163         rm -rf conftest.dSYM
7164     
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7167 $as_echo "$lt_cv_ld_force_load" >&6; }
7168     case $host_os in
7169     rhapsody* | darwin1.[012])
7170       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7171     darwin1.*)
7172       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7173     darwin*) # darwin 5.x on
7174       # if running on 10.5 or later, the deployment target defaults
7175       # to the OS version, if on x86, and 10.4, the deployment
7176       # target defaults to 10.4. Don't you love it?
7177       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7178         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7179           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7180         10.[012]*)
7181           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7182         10.*)
7183           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7184       esac
7185     ;;
7186   esac
7187     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7188       _lt_dar_single_mod='$single_module'
7189     fi
7190     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7191       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7192     else
7193       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7194     fi
7195     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7196       _lt_dsymutil='~$DSYMUTIL $lib || :'
7197     else
7198       _lt_dsymutil=
7199     fi
7200     ;;
7201   esac
7203 ac_ext=c
7204 ac_cpp='$CPP $CPPFLAGS'
7205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7209 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7210 # On Suns, sometimes $CPP names a directory.
7211 if test -n "$CPP" && test -d "$CPP"; then
7212   CPP=
7214 if test -z "$CPP"; then
7215   if ${ac_cv_prog_CPP+:} false; then :
7216   $as_echo_n "(cached) " >&6
7217 else
7218       # Double quotes because CPP needs to be expanded
7219     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7220     do
7221       ac_preproc_ok=false
7222 for ac_c_preproc_warn_flag in '' yes
7224   # Use a header file that comes with gcc, so configuring glibc
7225   # with a fresh cross-compiler works.
7226   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7227   # <limits.h> exists even on freestanding compilers.
7228   # On the NeXT, cc -E runs the code through the compiler's parser,
7229   # not just through cpp. "Syntax error" is here to catch this case.
7230   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7231 /* end confdefs.h.  */
7232 @%:@ifdef __STDC__
7233 @%:@ include <limits.h>
7234 @%:@else
7235 @%:@ include <assert.h>
7236 @%:@endif
7237                      Syntax error
7238 _ACEOF
7239 if ac_fn_c_try_cpp "$LINENO"; then :
7240   
7241 else
7242   # Broken: fails on valid input.
7243 continue
7245 rm -f conftest.err conftest.i conftest.$ac_ext
7247   # OK, works on sane cases.  Now check whether nonexistent headers
7248   # can be detected and how.
7249   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7250 /* end confdefs.h.  */
7251 @%:@include <ac_nonexistent.h>
7252 _ACEOF
7253 if ac_fn_c_try_cpp "$LINENO"; then :
7254   # Broken: success on invalid input.
7255 continue
7256 else
7257   # Passes both tests.
7258 ac_preproc_ok=:
7259 break
7261 rm -f conftest.err conftest.i conftest.$ac_ext
7263 done
7264 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7265 rm -f conftest.i conftest.err conftest.$ac_ext
7266 if $ac_preproc_ok; then :
7267   break
7270     done
7271     ac_cv_prog_CPP=$CPP
7272   
7274   CPP=$ac_cv_prog_CPP
7275 else
7276   ac_cv_prog_CPP=$CPP
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7279 $as_echo "$CPP" >&6; }
7280 ac_preproc_ok=false
7281 for ac_c_preproc_warn_flag in '' yes
7283   # Use a header file that comes with gcc, so configuring glibc
7284   # with a fresh cross-compiler works.
7285   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7286   # <limits.h> exists even on freestanding compilers.
7287   # On the NeXT, cc -E runs the code through the compiler's parser,
7288   # not just through cpp. "Syntax error" is here to catch this case.
7289   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7290 /* end confdefs.h.  */
7291 @%:@ifdef __STDC__
7292 @%:@ include <limits.h>
7293 @%:@else
7294 @%:@ include <assert.h>
7295 @%:@endif
7296                      Syntax error
7297 _ACEOF
7298 if ac_fn_c_try_cpp "$LINENO"; then :
7299   
7300 else
7301   # Broken: fails on valid input.
7302 continue
7304 rm -f conftest.err conftest.i conftest.$ac_ext
7306   # OK, works on sane cases.  Now check whether nonexistent headers
7307   # can be detected and how.
7308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7309 /* end confdefs.h.  */
7310 @%:@include <ac_nonexistent.h>
7311 _ACEOF
7312 if ac_fn_c_try_cpp "$LINENO"; then :
7313   # Broken: success on invalid input.
7314 continue
7315 else
7316   # Passes both tests.
7317 ac_preproc_ok=:
7318 break
7320 rm -f conftest.err conftest.i conftest.$ac_ext
7322 done
7323 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7324 rm -f conftest.i conftest.err conftest.$ac_ext
7325 if $ac_preproc_ok; then :
7326   
7327 else
7328   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7329 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7330 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7331 See \`config.log' for more details" "$LINENO" 5; }
7334 ac_ext=c
7335 ac_cpp='$CPP $CPPFLAGS'
7336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7342 $as_echo_n "checking for ANSI C header files... " >&6; }
7343 if ${ac_cv_header_stdc+:} false; then :
7344   $as_echo_n "(cached) " >&6
7345 else
7346   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7347 /* end confdefs.h.  */
7348 #include <stdlib.h>
7349 #include <stdarg.h>
7350 #include <string.h>
7351 #include <float.h>
7354 main ()
7357   ;
7358   return 0;
7360 _ACEOF
7361 if ac_fn_c_try_compile "$LINENO"; then :
7362   ac_cv_header_stdc=yes
7363 else
7364   ac_cv_header_stdc=no
7366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7368 if test $ac_cv_header_stdc = yes; then
7369   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7370   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7371 /* end confdefs.h.  */
7372 #include <string.h>
7374 _ACEOF
7375 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7376   $EGREP "memchr" >/dev/null 2>&1; then :
7377   
7378 else
7379   ac_cv_header_stdc=no
7381 rm -f conftest*
7385 if test $ac_cv_header_stdc = yes; then
7386   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7388 /* end confdefs.h.  */
7389 #include <stdlib.h>
7391 _ACEOF
7392 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7393   $EGREP "free" >/dev/null 2>&1; then :
7394   
7395 else
7396   ac_cv_header_stdc=no
7398 rm -f conftest*
7402 if test $ac_cv_header_stdc = yes; then
7403   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7404   if test "$cross_compiling" = yes; then :
7405   :
7406 else
7407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7408 /* end confdefs.h.  */
7409 #include <ctype.h>
7410 #include <stdlib.h>
7411 #if ((' ' & 0x0FF) == 0x020)
7412 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7413 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7414 #else
7415 # define ISLOWER(c) \
7416                    (('a' <= (c) && (c) <= 'i') \
7417                      || ('j' <= (c) && (c) <= 'r') \
7418                      || ('s' <= (c) && (c) <= 'z'))
7419 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7420 #endif
7422 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7424 main ()
7426   int i;
7427   for (i = 0; i < 256; i++)
7428     if (XOR (islower (i), ISLOWER (i))
7429         || toupper (i) != TOUPPER (i))
7430       return 2;
7431   return 0;
7433 _ACEOF
7434 if ac_fn_c_try_run "$LINENO"; then :
7435   
7436 else
7437   ac_cv_header_stdc=no
7439 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7440   conftest.$ac_objext conftest.beam conftest.$ac_ext
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7446 $as_echo "$ac_cv_header_stdc" >&6; }
7447 if test $ac_cv_header_stdc = yes; then
7448   
7449 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
7453 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7454 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7455                   inttypes.h stdint.h unistd.h
7456 do :
7457   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7458 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7460 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7461   cat >>confdefs.h <<_ACEOF
7462 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7463 _ACEOF
7467 done
7470 for ac_header in dlfcn.h
7471 do :
7472   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7474 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7475   cat >>confdefs.h <<_ACEOF
7476 @%:@define HAVE_DLFCN_H 1
7477 _ACEOF
7481 done
7487 # Set options
7491         enable_dlopen=no
7492   
7494   enable_win32_dll=no
7495   
7497             @%:@ Check whether --enable-shared was given.
7498 if test "${enable_shared+set}" = set; then :
7499   enableval=$enable_shared; p=${PACKAGE-default}
7500     case $enableval in
7501     yes) enable_shared=yes ;;
7502     no) enable_shared=no ;;
7503     *)
7504       enable_shared=no
7505       # Look at the argument we got.  We use all the common list separators.
7506       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7507       for pkg in $enableval; do
7508         IFS="$lt_save_ifs"
7509         if test "X$pkg" = "X$p"; then
7510           enable_shared=yes
7511         fi
7512       done
7513       IFS="$lt_save_ifs"
7514       ;;
7515     esac
7516 else
7517   enable_shared=yes
7521     
7522     
7523     
7524     
7528   @%:@ Check whether --enable-static was given.
7529 if test "${enable_static+set}" = set; then :
7530   enableval=$enable_static; p=${PACKAGE-default}
7531     case $enableval in
7532     yes) enable_static=yes ;;
7533     no) enable_static=no ;;
7534     *)
7535      enable_static=no
7536       # Look at the argument we got.  We use all the common list separators.
7537       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7538       for pkg in $enableval; do
7539         IFS="$lt_save_ifs"
7540         if test "X$pkg" = "X$p"; then
7541           enable_static=yes
7542         fi
7543       done
7544       IFS="$lt_save_ifs"
7545       ;;
7546     esac
7547 else
7548   enable_static=yes
7552     
7553     
7554     
7555     
7559   
7560 @%:@ Check whether --with-pic was given.
7561 if test "${with_pic+set}" = set; then :
7562   withval=$with_pic; pic_mode="$withval"
7563 else
7564   pic_mode=default
7568 test -z "$pic_mode" && pic_mode=default
7571     
7572     
7573     
7576   @%:@ Check whether --enable-fast-install was given.
7577 if test "${enable_fast_install+set}" = set; then :
7578   enableval=$enable_fast_install; p=${PACKAGE-default}
7579     case $enableval in
7580     yes) enable_fast_install=yes ;;
7581     no) enable_fast_install=no ;;
7582     *)
7583       enable_fast_install=no
7584       # Look at the argument we got.  We use all the common list separators.
7585       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7586       for pkg in $enableval; do
7587         IFS="$lt_save_ifs"
7588         if test "X$pkg" = "X$p"; then
7589           enable_fast_install=yes
7590         fi
7591       done
7592       IFS="$lt_save_ifs"
7593       ;;
7594     esac
7595 else
7596   enable_fast_install=yes
7601     
7602     
7603     
7606   
7609 # This can be used to rebuild libtool when needed
7610 LIBTOOL_DEPS="$ltmain"
7612 # Always use our own libtool.
7613 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7617     
7618     
7619     
7621     
7622     
7623     
7625     
7626     
7627     
7629     
7630     
7631     
7633     
7634     
7635     
7637     
7638     
7639     
7640 test -z "$LN_S" && LN_S="ln -s"
7642     
7643     
7644     
7646     
7647     
7648     
7650     
7651     
7652     
7655 if test -n "${ZSH_VERSION+set}" ; then
7656    setopt NO_GLOB_SUBST
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7660 $as_echo_n "checking for objdir... " >&6; }
7661 if ${lt_cv_objdir+:} false; then :
7662   $as_echo_n "(cached) " >&6
7663 else
7664   rm -f .libs 2>/dev/null
7665 mkdir .libs 2>/dev/null
7666 if test -d .libs; then
7667   lt_cv_objdir=.libs
7668 else
7669   # MS-DOS does not allow filenames that begin with a dot.
7670   lt_cv_objdir=_libs
7672 rmdir .libs 2>/dev/null
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7675 $as_echo "$lt_cv_objdir" >&6; }
7676 objdir=$lt_cv_objdir
7678     
7679     
7680     
7682 cat >>confdefs.h <<_ACEOF
7683 @%:@define LT_OBJDIR "$lt_cv_objdir/"
7684 _ACEOF
7689 case $host_os in
7690 aix3*)
7691   # AIX sometimes has problems with the GCC collect2 program.  For some
7692   # reason, if we set the COLLECT_NAMES environment variable, the problems
7693   # vanish in a puff of smoke.
7694   if test "X${COLLECT_NAMES+set}" != Xset; then
7695     COLLECT_NAMES=
7696     export COLLECT_NAMES
7697   fi
7698   ;;
7699 esac
7701 # Global variables:
7702 ofile=libtool
7703 can_build_shared=yes
7705 # All known linkers require a `.a' archive for static linking (except MSVC,
7706 # which needs '.lib').
7707 libext=a
7709 with_gnu_ld="$lt_cv_prog_gnu_ld"
7711 old_CC="$CC"
7712 old_CFLAGS="$CFLAGS"
7714 # Set sane defaults for various variables
7715 test -z "$CC" && CC=cc
7716 test -z "$LTCC" && LTCC=$CC
7717 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7718 test -z "$LD" && LD=ld
7719 test -z "$ac_objext" && ac_objext=o
7721 for cc_temp in $compiler""; do
7722   case $cc_temp in
7723     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7724     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7725     \-*) ;;
7726     *) break;;
7727   esac
7728 done
7729 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7732 # Only perform the check for file, if the check method requires it
7733 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7734 case $deplibs_check_method in
7735 file_magic*)
7736   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7737     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7738 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7739 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7740   $as_echo_n "(cached) " >&6
7741 else
7742   case $MAGIC_CMD in
7743 [\\/*] |  ?:[\\/]*)
7744   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7745   ;;
7747   lt_save_MAGIC_CMD="$MAGIC_CMD"
7748   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7749   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7750   for ac_dir in $ac_dummy; do
7751     IFS="$lt_save_ifs"
7752     test -z "$ac_dir" && ac_dir=.
7753     if test -f $ac_dir/${ac_tool_prefix}file; then
7754       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7755       if test -n "$file_magic_test_file"; then
7756         case $deplibs_check_method in
7757         "file_magic "*)
7758           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7759           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7760           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7761             $EGREP "$file_magic_regex" > /dev/null; then
7762             :
7763           else
7764             cat <<_LT_EOF 1>&2
7766 *** Warning: the command libtool uses to detect shared libraries,
7767 *** $file_magic_cmd, produces output that libtool cannot recognize.
7768 *** The result is that libtool may fail to recognize shared libraries
7769 *** as such.  This will affect the creation of libtool libraries that
7770 *** depend on shared libraries, but programs linked with such libtool
7771 *** libraries will work regardless of this problem.  Nevertheless, you
7772 *** may want to report the problem to your system manager and/or to
7773 *** bug-libtool@gnu.org
7775 _LT_EOF
7776           fi ;;
7777         esac
7778       fi
7779       break
7780     fi
7781   done
7782   IFS="$lt_save_ifs"
7783   MAGIC_CMD="$lt_save_MAGIC_CMD"
7784   ;;
7785 esac
7788 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7789 if test -n "$MAGIC_CMD"; then
7790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7791 $as_echo "$MAGIC_CMD" >&6; }
7792 else
7793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7794 $as_echo "no" >&6; }
7797     
7798     
7799     
7801 if test -z "$lt_cv_path_MAGIC_CMD"; then
7802   if test -n "$ac_tool_prefix"; then
7803     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7804 $as_echo_n "checking for file... " >&6; }
7805 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7806   $as_echo_n "(cached) " >&6
7807 else
7808   case $MAGIC_CMD in
7809 [\\/*] |  ?:[\\/]*)
7810   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7811   ;;
7813   lt_save_MAGIC_CMD="$MAGIC_CMD"
7814   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7815   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7816   for ac_dir in $ac_dummy; do
7817     IFS="$lt_save_ifs"
7818     test -z "$ac_dir" && ac_dir=.
7819     if test -f $ac_dir/file; then
7820       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7821       if test -n "$file_magic_test_file"; then
7822         case $deplibs_check_method in
7823         "file_magic "*)
7824           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7825           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7826           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7827             $EGREP "$file_magic_regex" > /dev/null; then
7828             :
7829           else
7830             cat <<_LT_EOF 1>&2
7832 *** Warning: the command libtool uses to detect shared libraries,
7833 *** $file_magic_cmd, produces output that libtool cannot recognize.
7834 *** The result is that libtool may fail to recognize shared libraries
7835 *** as such.  This will affect the creation of libtool libraries that
7836 *** depend on shared libraries, but programs linked with such libtool
7837 *** libraries will work regardless of this problem.  Nevertheless, you
7838 *** may want to report the problem to your system manager and/or to
7839 *** bug-libtool@gnu.org
7841 _LT_EOF
7842           fi ;;
7843         esac
7844       fi
7845       break
7846     fi
7847   done
7848   IFS="$lt_save_ifs"
7849   MAGIC_CMD="$lt_save_MAGIC_CMD"
7850   ;;
7851 esac
7854 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7855 if test -n "$MAGIC_CMD"; then
7856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7857 $as_echo "$MAGIC_CMD" >&6; }
7858 else
7859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7860 $as_echo "no" >&6; }
7864   else
7865     MAGIC_CMD=:
7866   fi
7869   fi
7870   ;;
7871 esac
7873 # Use C for the default configuration in the libtool script
7875 lt_save_CC="$CC"
7876 ac_ext=c
7877 ac_cpp='$CPP $CPPFLAGS'
7878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7883 # Source file extension for C test sources.
7884 ac_ext=c
7886 # Object file extension for compiled C test sources.
7887 objext=o
7888 objext=$objext
7890 # Code to be used in simple compile tests
7891 lt_simple_compile_test_code="int some_variable = 0;"
7893 # Code to be used in simple link tests
7894 lt_simple_link_test_code='int main(){return(0);}'
7902 # If no C compiler was specified, use CC.
7903 LTCC=${LTCC-"$CC"}
7905 # If no C compiler flags were specified, use CFLAGS.
7906 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7908 # Allow CC to be a program name with arguments.
7909 compiler=$CC
7911 # Save the default compiler, since it gets overwritten when the other
7912 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7913 compiler_DEFAULT=$CC
7915 # save warnings/boilerplate of simple test code
7916 ac_outfile=conftest.$ac_objext
7917 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7918 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7919 _lt_compiler_boilerplate=`cat conftest.err`
7920 $RM conftest*
7922 ac_outfile=conftest.$ac_objext
7923 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7924 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7925 _lt_linker_boilerplate=`cat conftest.err`
7926 $RM -r conftest*
7929 ## CAVEAT EMPTOR:
7930 ## There is no encapsulation within the following macros, do not change
7931 ## the running order or otherwise move them around unless you know exactly
7932 ## what you are doing...
7933 if test -n "$compiler"; then
7934   
7935 lt_prog_compiler_no_builtin_flag=
7937 if test "$GCC" = yes; then
7938   case $cc_basename in
7939   nvcc*)
7940     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7941   *)
7942     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7943   esac
7945   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7946 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7947 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7948   $as_echo_n "(cached) " >&6
7949 else
7950   lt_cv_prog_compiler_rtti_exceptions=no
7951    ac_outfile=conftest.$ac_objext
7952    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7953    lt_compiler_flag="-fno-rtti -fno-exceptions"
7954    # Insert the option either (1) after the last *FLAGS variable, or
7955    # (2) before a word containing "conftest.", or (3) at the end.
7956    # Note that $ac_compile itself does not contain backslashes and begins
7957    # with a dollar sign (not a hyphen), so the echo should work correctly.
7958    # The option is referenced via a variable to avoid confusing sed.
7959    lt_compile=`echo "$ac_compile" | $SED \
7960    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7961    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7962    -e 's:$: $lt_compiler_flag:'`
7963    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7964    (eval "$lt_compile" 2>conftest.err)
7965    ac_status=$?
7966    cat conftest.err >&5
7967    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7968    if (exit $ac_status) && test -s "$ac_outfile"; then
7969      # The compiler can only warn and ignore the option if not recognized
7970      # So say no if there are warnings other than the usual output.
7971      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7972      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7973      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7974        lt_cv_prog_compiler_rtti_exceptions=yes
7975      fi
7976    fi
7977    $RM conftest*
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7981 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7983 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7984     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7985 else
7986     :
7991     
7992     
7993     
7996   lt_prog_compiler_wl=
7997 lt_prog_compiler_pic=
7998 lt_prog_compiler_static=
8001   if test "$GCC" = yes; then
8002     lt_prog_compiler_wl='-Wl,'
8003     lt_prog_compiler_static='-static'
8005     case $host_os in
8006       aix*)
8007       # All AIX code is PIC.
8008       if test "$host_cpu" = ia64; then
8009         # AIX 5 now supports IA64 processor
8010         lt_prog_compiler_static='-Bstatic'
8011       fi
8012       ;;
8014     amigaos*)
8015       case $host_cpu in
8016       powerpc)
8017             # see comment about AmigaOS4 .so support
8018             lt_prog_compiler_pic='-fPIC'
8019         ;;
8020       m68k)
8021             # FIXME: we need at least 68020 code to build shared libraries, but
8022             # adding the `-m68020' flag to GCC prevents building anything better,
8023             # like `-m68040'.
8024             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8025         ;;
8026       esac
8027       ;;
8029     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8030       # PIC is the default for these OSes.
8031       ;;
8033     mingw* | cygwin* | pw32* | os2* | cegcc*)
8034       # This hack is so that the source file can tell whether it is being
8035       # built for inclusion in a dll (and should export symbols for example).
8036       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8037       # (--disable-auto-import) libraries
8038       lt_prog_compiler_pic='-DDLL_EXPORT'
8039       ;;
8041     darwin* | rhapsody*)
8042       # PIC is the default on this platform
8043       # Common symbols not allowed in MH_DYLIB files
8044       lt_prog_compiler_pic='-fno-common'
8045       ;;
8047     haiku*)
8048       # PIC is the default for Haiku.
8049       # The "-static" flag exists, but is broken.
8050       lt_prog_compiler_static=
8051       ;;
8053     hpux*)
8054       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8055       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8056       # sets the default TLS model and affects inlining.
8057       case $host_cpu in
8058       hppa*64*)
8059         # +Z the default
8060         ;;
8061       *)
8062         lt_prog_compiler_pic='-fPIC'
8063         ;;
8064       esac
8065       ;;
8067     interix[3-9]*)
8068       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8069       # Instead, we relocate shared libraries at runtime.
8070       ;;
8072     msdosdjgpp*)
8073       # Just because we use GCC doesn't mean we suddenly get shared libraries
8074       # on systems that don't support them.
8075       lt_prog_compiler_can_build_shared=no
8076       enable_shared=no
8077       ;;
8079     *nto* | *qnx*)
8080       # QNX uses GNU C++, but need to define -shared option too, otherwise
8081       # it will coredump.
8082       lt_prog_compiler_pic='-fPIC -shared'
8083       ;;
8085     sysv4*MP*)
8086       if test -d /usr/nec; then
8087         lt_prog_compiler_pic=-Kconform_pic
8088       fi
8089       ;;
8091     *)
8092       lt_prog_compiler_pic='-fPIC'
8093       ;;
8094     esac
8096     case $cc_basename in
8097     nvcc*) # Cuda Compiler Driver 2.2
8098       lt_prog_compiler_wl='-Xlinker '
8099       lt_prog_compiler_pic='-Xcompiler -fPIC'
8100       ;;
8101     esac
8102   else
8103     # PORTME Check for flag to pass linker flags through the system compiler.
8104     case $host_os in
8105     aix*)
8106       lt_prog_compiler_wl='-Wl,'
8107       if test "$host_cpu" = ia64; then
8108         # AIX 5 now supports IA64 processor
8109         lt_prog_compiler_static='-Bstatic'
8110       else
8111         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8112       fi
8113       ;;
8115     mingw* | cygwin* | pw32* | os2* | cegcc*)
8116       # This hack is so that the source file can tell whether it is being
8117       # built for inclusion in a dll (and should export symbols for example).
8118       lt_prog_compiler_pic='-DDLL_EXPORT'
8119       ;;
8121     hpux9* | hpux10* | hpux11*)
8122       lt_prog_compiler_wl='-Wl,'
8123       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8124       # not for PA HP-UX.
8125       case $host_cpu in
8126       hppa*64*|ia64*)
8127         # +Z the default
8128         ;;
8129       *)
8130         lt_prog_compiler_pic='+Z'
8131         ;;
8132       esac
8133       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8134       lt_prog_compiler_static='${wl}-a ${wl}archive'
8135       ;;
8137     irix5* | irix6* | nonstopux*)
8138       lt_prog_compiler_wl='-Wl,'
8139       # PIC (with -KPIC) is the default.
8140       lt_prog_compiler_static='-non_shared'
8141       ;;
8143     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8144       case $cc_basename in
8145       # old Intel for x86_64 which still supported -KPIC.
8146       ecc*)
8147         lt_prog_compiler_wl='-Wl,'
8148         lt_prog_compiler_pic='-KPIC'
8149         lt_prog_compiler_static='-static'
8150         ;;
8151       # icc used to be incompatible with GCC.
8152       # ICC 10 doesn't accept -KPIC any more.
8153       icc* | ifort*)
8154         lt_prog_compiler_wl='-Wl,'
8155         lt_prog_compiler_pic='-fPIC'
8156         lt_prog_compiler_static='-static'
8157         ;;
8158       # Lahey Fortran 8.1.
8159       lf95*)
8160         lt_prog_compiler_wl='-Wl,'
8161         lt_prog_compiler_pic='--shared'
8162         lt_prog_compiler_static='--static'
8163         ;;
8164       nagfor*)
8165         # NAG Fortran compiler
8166         lt_prog_compiler_wl='-Wl,-Wl,,'
8167         lt_prog_compiler_pic='-PIC'
8168         lt_prog_compiler_static='-Bstatic'
8169         ;;
8170       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8171         # Portland Group compilers (*not* the Pentium gcc compiler,
8172         # which looks to be a dead project)
8173         lt_prog_compiler_wl='-Wl,'
8174         lt_prog_compiler_pic='-fpic'
8175         lt_prog_compiler_static='-Bstatic'
8176         ;;
8177       ccc*)
8178         lt_prog_compiler_wl='-Wl,'
8179         # All Alpha code is PIC.
8180         lt_prog_compiler_static='-non_shared'
8181         ;;
8182       xl* | bgxl* | bgf* | mpixl*)
8183         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8184         lt_prog_compiler_wl='-Wl,'
8185         lt_prog_compiler_pic='-qpic'
8186         lt_prog_compiler_static='-qstaticlink'
8187         ;;
8188       *)
8189         case `$CC -V 2>&1 | sed 5q` in
8190         *Sun\ F* | *Sun*Fortran*)
8191           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8192           lt_prog_compiler_pic='-KPIC'
8193           lt_prog_compiler_static='-Bstatic'
8194           lt_prog_compiler_wl=''
8195           ;;
8196         *Sun\ C*)
8197           # Sun C 5.9
8198           lt_prog_compiler_pic='-KPIC'
8199           lt_prog_compiler_static='-Bstatic'
8200           lt_prog_compiler_wl='-Wl,'
8201           ;;
8202         esac
8203         ;;
8204       esac
8205       ;;
8207     newsos6)
8208       lt_prog_compiler_pic='-KPIC'
8209       lt_prog_compiler_static='-Bstatic'
8210       ;;
8212     *nto* | *qnx*)
8213       # QNX uses GNU C++, but need to define -shared option too, otherwise
8214       # it will coredump.
8215       lt_prog_compiler_pic='-fPIC -shared'
8216       ;;
8218     osf3* | osf4* | osf5*)
8219       lt_prog_compiler_wl='-Wl,'
8220       # All OSF/1 code is PIC.
8221       lt_prog_compiler_static='-non_shared'
8222       ;;
8224     rdos*)
8225       lt_prog_compiler_static='-non_shared'
8226       ;;
8228     solaris*)
8229       lt_prog_compiler_pic='-KPIC'
8230       lt_prog_compiler_static='-Bstatic'
8231       case $cc_basename in
8232       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8233         lt_prog_compiler_wl='-Qoption ld ';;
8234       *)
8235         lt_prog_compiler_wl='-Wl,';;
8236       esac
8237       ;;
8239     sunos4*)
8240       lt_prog_compiler_wl='-Qoption ld '
8241       lt_prog_compiler_pic='-PIC'
8242       lt_prog_compiler_static='-Bstatic'
8243       ;;
8245     sysv4 | sysv4.2uw2* | sysv4.3*)
8246       lt_prog_compiler_wl='-Wl,'
8247       lt_prog_compiler_pic='-KPIC'
8248       lt_prog_compiler_static='-Bstatic'
8249       ;;
8251     sysv4*MP*)
8252       if test -d /usr/nec ;then
8253         lt_prog_compiler_pic='-Kconform_pic'
8254         lt_prog_compiler_static='-Bstatic'
8255       fi
8256       ;;
8258     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8259       lt_prog_compiler_wl='-Wl,'
8260       lt_prog_compiler_pic='-KPIC'
8261       lt_prog_compiler_static='-Bstatic'
8262       ;;
8264     unicos*)
8265       lt_prog_compiler_wl='-Wl,'
8266       lt_prog_compiler_can_build_shared=no
8267       ;;
8269     uts4*)
8270       lt_prog_compiler_pic='-pic'
8271       lt_prog_compiler_static='-Bstatic'
8272       ;;
8274     *)
8275       lt_prog_compiler_can_build_shared=no
8276       ;;
8277     esac
8278   fi
8280 case $host_os in
8281   # For platforms which do not support PIC, -DPIC is meaningless:
8282   *djgpp*)
8283     lt_prog_compiler_pic=
8284     ;;
8285   *)
8286     lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
8287     ;;
8288 esac
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8291 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8292 if ${lt_cv_prog_compiler_pic+:} false; then :
8293   $as_echo_n "(cached) " >&6
8294 else
8295   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8298 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8299 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8302 # Check to make sure the PIC flag actually works.
8304 if test -n "$lt_prog_compiler_pic"; then
8305   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8306 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8307 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8308   $as_echo_n "(cached) " >&6
8309 else
8310   lt_cv_prog_compiler_pic_works=no
8311    ac_outfile=conftest.$ac_objext
8312    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8313    lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
8314    # Insert the option either (1) after the last *FLAGS variable, or
8315    # (2) before a word containing "conftest.", or (3) at the end.
8316    # Note that $ac_compile itself does not contain backslashes and begins
8317    # with a dollar sign (not a hyphen), so the echo should work correctly.
8318    # The option is referenced via a variable to avoid confusing sed.
8319    lt_compile=`echo "$ac_compile" | $SED \
8320    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8321    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8322    -e 's:$: $lt_compiler_flag:'`
8323    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8324    (eval "$lt_compile" 2>conftest.err)
8325    ac_status=$?
8326    cat conftest.err >&5
8327    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8328    if (exit $ac_status) && test -s "$ac_outfile"; then
8329      # The compiler can only warn and ignore the option if not recognized
8330      # So say no if there are warnings other than the usual output.
8331      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8332      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8333      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8334        lt_cv_prog_compiler_pic_works=yes
8335      fi
8336    fi
8337    $RM conftest*
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8341 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8343 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8344     case $lt_prog_compiler_pic in
8345      "" | " "*) ;;
8346      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8347      esac
8348 else
8349     lt_prog_compiler_pic=
8350      lt_prog_compiler_can_build_shared=no
8355     
8356     
8357     
8361     
8362     
8363     
8366 # Check to make sure the static flag actually works.
8368 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8370 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8371 if ${lt_cv_prog_compiler_static_works+:} false; then :
8372   $as_echo_n "(cached) " >&6
8373 else
8374   lt_cv_prog_compiler_static_works=no
8375    save_LDFLAGS="$LDFLAGS"
8376    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8377    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8378    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8379      # The linker can only warn and ignore the option if not recognized
8380      # So say no if there are warnings
8381      if test -s conftest.err; then
8382        # Append any errors to the config.log.
8383        cat conftest.err 1>&5
8384        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8385        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8386        if diff conftest.exp conftest.er2 >/dev/null; then
8387          lt_cv_prog_compiler_static_works=yes
8388        fi
8389      else
8390        lt_cv_prog_compiler_static_works=yes
8391      fi
8392    fi
8393    $RM -r conftest*
8394    LDFLAGS="$save_LDFLAGS"
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8398 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8400 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8401     :
8402 else
8403     lt_prog_compiler_static=
8407     
8408     
8409     
8412   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8413 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8414 if ${lt_cv_prog_compiler_c_o+:} false; then :
8415   $as_echo_n "(cached) " >&6
8416 else
8417   lt_cv_prog_compiler_c_o=no
8418    $RM -r conftest 2>/dev/null
8419    mkdir conftest
8420    cd conftest
8421    mkdir out
8422    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8424    lt_compiler_flag="-o out/conftest2.$ac_objext"
8425    # Insert the option either (1) after the last *FLAGS variable, or
8426    # (2) before a word containing "conftest.", or (3) at the end.
8427    # Note that $ac_compile itself does not contain backslashes and begins
8428    # with a dollar sign (not a hyphen), so the echo should work correctly.
8429    lt_compile=`echo "$ac_compile" | $SED \
8430    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8431    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8432    -e 's:$: $lt_compiler_flag:'`
8433    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8434    (eval "$lt_compile" 2>out/conftest.err)
8435    ac_status=$?
8436    cat out/conftest.err >&5
8437    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8438    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8439    then
8440      # The compiler can only warn and ignore the option if not recognized
8441      # So say no if there are warnings
8442      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8443      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8444      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8445        lt_cv_prog_compiler_c_o=yes
8446      fi
8447    fi
8448    chmod u+w . 2>&5
8449    $RM conftest*
8450    # SGI C++ compiler will create directory out/ii_files/ for
8451    # template instantiation
8452    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8453    $RM out/* && rmdir out
8454    cd ..
8455    $RM -r conftest
8456    $RM conftest*
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8460 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8462     
8463     
8464     
8467   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8468 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8469 if ${lt_cv_prog_compiler_c_o+:} false; then :
8470   $as_echo_n "(cached) " >&6
8471 else
8472   lt_cv_prog_compiler_c_o=no
8473    $RM -r conftest 2>/dev/null
8474    mkdir conftest
8475    cd conftest
8476    mkdir out
8477    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8479    lt_compiler_flag="-o out/conftest2.$ac_objext"
8480    # Insert the option either (1) after the last *FLAGS variable, or
8481    # (2) before a word containing "conftest.", or (3) at the end.
8482    # Note that $ac_compile itself does not contain backslashes and begins
8483    # with a dollar sign (not a hyphen), so the echo should work correctly.
8484    lt_compile=`echo "$ac_compile" | $SED \
8485    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8486    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8487    -e 's:$: $lt_compiler_flag:'`
8488    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8489    (eval "$lt_compile" 2>out/conftest.err)
8490    ac_status=$?
8491    cat out/conftest.err >&5
8492    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8493    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8494    then
8495      # The compiler can only warn and ignore the option if not recognized
8496      # So say no if there are warnings
8497      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8498      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8499      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8500        lt_cv_prog_compiler_c_o=yes
8501      fi
8502    fi
8503    chmod u+w . 2>&5
8504    $RM conftest*
8505    # SGI C++ compiler will create directory out/ii_files/ for
8506    # template instantiation
8507    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8508    $RM out/* && rmdir out
8509    cd ..
8510    $RM -r conftest
8511    $RM conftest*
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8515 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8520 hard_links="nottested"
8521 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8522   # do not overwrite the value of need_locks provided by the user
8523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8524 $as_echo_n "checking if we can lock with hard links... " >&6; }
8525   hard_links=yes
8526   $RM conftest*
8527   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8528   touch conftest.a
8529   ln conftest.a conftest.b 2>&5 || hard_links=no
8530   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8532 $as_echo "$hard_links" >&6; }
8533   if test "$hard_links" = no; then
8534     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8535 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8536     need_locks=warn
8537   fi
8538 else
8539   need_locks=no
8542     
8543     
8544     
8547   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8548 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8550   runpath_var=
8551   allow_undefined_flag=
8552   always_export_symbols=no
8553   archive_cmds=
8554   archive_expsym_cmds=
8555   compiler_needs_object=no
8556   enable_shared_with_static_runtimes=no
8557   export_dynamic_flag_spec=
8558   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8559   hardcode_automatic=no
8560   hardcode_direct=no
8561   hardcode_direct_absolute=no
8562   hardcode_libdir_flag_spec=
8563   hardcode_libdir_flag_spec_ld=
8564   hardcode_libdir_separator=
8565   hardcode_minus_L=no
8566   hardcode_shlibpath_var=unsupported
8567   inherit_rpath=no
8568   link_all_deplibs=unknown
8569   module_cmds=
8570   module_expsym_cmds=
8571   old_archive_from_new_cmds=
8572   old_archive_from_expsyms_cmds=
8573   thread_safe_flag_spec=
8574   whole_archive_flag_spec=
8575   # include_expsyms should be a list of space-separated symbols to be *always*
8576   # included in the symbol list
8577   include_expsyms=
8578   # exclude_expsyms can be an extended regexp of symbols to exclude
8579   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8580   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8581   # as well as any symbol that contains `d'.
8582   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8583   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8584   # platforms (ab)use it in PIC code, but their linkers get confused if
8585   # the symbol is explicitly referenced.  Since portable code cannot
8586   # rely on this symbol name, it's probably fine to never include it in
8587   # preloaded symbol tables.
8588   # Exclude shared library initialization/finalization symbols.
8589   extract_expsyms_cmds=
8591   case $host_os in
8592   cygwin* | mingw* | pw32* | cegcc*)
8593     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8594     # When not using gcc, we currently assume that we are using
8595     # Microsoft Visual C++.
8596     if test "$GCC" != yes; then
8597       with_gnu_ld=no
8598     fi
8599     ;;
8600   interix*)
8601     # we just hope/assume this is gcc and not c89 (= MSVC++)
8602     with_gnu_ld=yes
8603     ;;
8604   openbsd*)
8605     with_gnu_ld=no
8606     ;;
8607   esac
8609   ld_shlibs=yes
8611   # On some targets, GNU ld is compatible enough with the native linker
8612   # that we're better off using the native interface for both.
8613   lt_use_gnu_ld_interface=no
8614   if test "$with_gnu_ld" = yes; then
8615     case $host_os in
8616       aix*)
8617         # The AIX port of GNU ld has always aspired to compatibility
8618         # with the native linker.  However, as the warning in the GNU ld
8619         # block says, versions before 2.19.5* couldn't really create working
8620         # shared libraries, regardless of the interface used.
8621         case `$LD -v 2>&1` in
8622           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8623           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8624           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8625           *)
8626             lt_use_gnu_ld_interface=yes
8627             ;;
8628         esac
8629         ;;
8630       *)
8631         lt_use_gnu_ld_interface=yes
8632         ;;
8633     esac
8634   fi
8636   if test "$lt_use_gnu_ld_interface" = yes; then
8637     # If archive_cmds runs LD, not CC, wlarc should be empty
8638     wlarc='${wl}'
8640     # Set some defaults for GNU ld with shared library support. These
8641     # are reset later if shared libraries are not supported. Putting them
8642     # here allows them to be overridden if necessary.
8643     runpath_var=LD_RUN_PATH
8644     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8645     export_dynamic_flag_spec='${wl}--export-dynamic'
8646     # ancient GNU ld didn't support --whole-archive et. al.
8647     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8648       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8649     else
8650       whole_archive_flag_spec=
8651     fi
8652     supports_anon_versioning=no
8653     case `$LD -v 2>&1` in
8654       *GNU\ gold*) supports_anon_versioning=yes ;;
8655       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8656       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8657       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8658       *\ 2.11.*) ;; # other 2.11 versions
8659       *) supports_anon_versioning=yes ;;
8660     esac
8662     # See if GNU ld supports shared libraries.
8663     case $host_os in
8664     aix[3-9]*)
8665       # On AIX/PPC, the GNU linker is very broken
8666       if test "$host_cpu" != ia64; then
8667         ld_shlibs=no
8668         cat <<_LT_EOF 1>&2
8670 *** Warning: the GNU linker, at least up to release 2.19, is reported
8671 *** to be unable to reliably create shared libraries on AIX.
8672 *** Therefore, libtool is disabling shared libraries support.  If you
8673 *** really care for shared libraries, you may want to install binutils
8674 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8675 *** You will then need to restart the configuration process.
8677 _LT_EOF
8678       fi
8679       ;;
8681     amigaos*)
8682       case $host_cpu in
8683       powerpc)
8684             # see comment about AmigaOS4 .so support
8685             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8686             archive_expsym_cmds=''
8687         ;;
8688       m68k)
8689             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)'
8690             hardcode_libdir_flag_spec='-L$libdir'
8691             hardcode_minus_L=yes
8692         ;;
8693       esac
8694       ;;
8696     beos*)
8697       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8698         allow_undefined_flag=unsupported
8699         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8700         # support --undefined.  This deserves some investigation.  FIXME
8701         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8702       else
8703         ld_shlibs=no
8704       fi
8705       ;;
8707     cygwin* | mingw* | pw32* | cegcc*)
8708       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8709       # as there is no search path for DLLs.
8710       hardcode_libdir_flag_spec='-L$libdir'
8711       export_dynamic_flag_spec='${wl}--export-all-symbols'
8712       allow_undefined_flag=unsupported
8713       always_export_symbols=no
8714       enable_shared_with_static_runtimes=yes
8715       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'
8716       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8718       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8719         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8720         # If the export-symbols file already is a .def file (1st line
8721         # is EXPORTS), use it as is; otherwise, prepend...
8722         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8723           cp $export_symbols $output_objdir/$soname.def;
8724         else
8725           echo EXPORTS > $output_objdir/$soname.def;
8726           cat $export_symbols >> $output_objdir/$soname.def;
8727         fi~
8728         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8729       else
8730         ld_shlibs=no
8731       fi
8732       ;;
8734     haiku*)
8735       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8736       link_all_deplibs=yes
8737       ;;
8739     interix[3-9]*)
8740       hardcode_direct=no
8741       hardcode_shlibpath_var=no
8742       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8743       export_dynamic_flag_spec='${wl}-E'
8744       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8745       # Instead, shared libraries are loaded at an image base (0x10000000 by
8746       # default) and relocated if they conflict, which is a slow very memory
8747       # consuming and fragmenting process.  To avoid this, we pick a random,
8748       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8749       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8750       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8751       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'
8752       ;;
8754     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8755       tmp_diet=no
8756       if test "$host_os" = linux-dietlibc; then
8757         case $cc_basename in
8758           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8759         esac
8760       fi
8761       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8762          && test "$tmp_diet" = no
8763       then
8764         tmp_addflag=' $pic_flag'
8765         tmp_sharedflag='-shared'
8766         case $cc_basename,$host_cpu in
8767         pgcc*)                          # Portland Group C compiler
8768           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'
8769           tmp_addflag=' $pic_flag'
8770           ;;
8771         pgf77* | pgf90* | pgf95* | pgfortran*)
8772                                         # Portland Group f77 and f90 compilers
8773           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'
8774           tmp_addflag=' $pic_flag -Mnomain' ;;
8775         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8776           tmp_addflag=' -i_dynamic' ;;
8777         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8778           tmp_addflag=' -i_dynamic -nofor_main' ;;
8779         ifc* | ifort*)                  # Intel Fortran compiler
8780           tmp_addflag=' -nofor_main' ;;
8781         lf95*)                          # Lahey Fortran 8.1
8782           whole_archive_flag_spec=
8783           tmp_sharedflag='--shared' ;;
8784         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8785           tmp_sharedflag='-qmkshrobj'
8786           tmp_addflag= ;;
8787         nvcc*)  # Cuda Compiler Driver 2.2
8788           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'
8789           compiler_needs_object=yes
8790           ;;
8791         esac
8792         case `$CC -V 2>&1 | sed 5q` in
8793         *Sun\ C*)                       # Sun C 5.9
8794           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'
8795           compiler_needs_object=yes
8796           tmp_sharedflag='-G' ;;
8797         *Sun\ F*)                       # Sun Fortran 8.3
8798           tmp_sharedflag='-G' ;;
8799         esac
8800         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8802         if test "x$supports_anon_versioning" = xyes; then
8803           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8804             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8805             echo "local: *; };" >> $output_objdir/$libname.ver~
8806             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8807         fi
8809         case $cc_basename in
8810         xlf* | bgf* | bgxlf* | mpixlf*)
8811           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8812           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8813           hardcode_libdir_flag_spec=
8814           hardcode_libdir_flag_spec_ld='-rpath $libdir'
8815           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8816           if test "x$supports_anon_versioning" = xyes; then
8817             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8818               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8819               echo "local: *; };" >> $output_objdir/$libname.ver~
8820               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8821           fi
8822           ;;
8823         esac
8824       else
8825         ld_shlibs=no
8826       fi
8827       ;;
8829     netbsd*)
8830       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8831         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8832         wlarc=
8833       else
8834         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8835         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8836       fi
8837       ;;
8839     solaris*)
8840       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8841         ld_shlibs=no
8842         cat <<_LT_EOF 1>&2
8844 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8845 *** create shared libraries on Solaris systems.  Therefore, libtool
8846 *** is disabling shared libraries support.  We urge you to upgrade GNU
8847 *** binutils to release 2.9.1 or newer.  Another option is to modify
8848 *** your PATH or compiler configuration so that the native linker is
8849 *** used, and then restart.
8851 _LT_EOF
8852       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8853         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8854         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8855       else
8856         ld_shlibs=no
8857       fi
8858       ;;
8860     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8861       case `$LD -v 2>&1` in
8862         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8863         ld_shlibs=no
8864         cat <<_LT_EOF 1>&2
8866 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8867 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8868 *** is disabling shared libraries support.  We urge you to upgrade GNU
8869 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8870 *** your PATH or compiler configuration so that the native linker is
8871 *** used, and then restart.
8873 _LT_EOF
8874         ;;
8875         *)
8876           # For security reasons, it is highly recommended that you always
8877           # use absolute paths for naming shared libraries, and exclude the
8878           # DT_RUNPATH tag from executables and libraries.  But doing so
8879           # requires that you compile everything twice, which is a pain.
8880           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8881             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8882             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8883             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8884           else
8885             ld_shlibs=no
8886           fi
8887         ;;
8888       esac
8889       ;;
8891     sunos4*)
8892       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8893       wlarc=
8894       hardcode_direct=yes
8895       hardcode_shlibpath_var=no
8896       ;;
8898     *)
8899       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8900         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8901         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8902       else
8903         ld_shlibs=no
8904       fi
8905       ;;
8906     esac
8908     if test "$ld_shlibs" = no; then
8909       runpath_var=
8910       hardcode_libdir_flag_spec=
8911       export_dynamic_flag_spec=
8912       whole_archive_flag_spec=
8913     fi
8914   else
8915     # PORTME fill in a description of your system's linker (not GNU ld)
8916     case $host_os in
8917     aix3*)
8918       allow_undefined_flag=unsupported
8919       always_export_symbols=yes
8920       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'
8921       # Note: this linker hardcodes the directories in LIBPATH if there
8922       # are no directories specified by -L.
8923       hardcode_minus_L=yes
8924       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8925         # Neither direct hardcoding nor static linking is supported with a
8926         # broken collect2.
8927         hardcode_direct=unsupported
8928       fi
8929       ;;
8931     aix[4-9]*)
8932       if test "$host_cpu" = ia64; then
8933         # On IA64, the linker does run time linking by default, so we don't
8934         # have to do anything special.
8935         aix_use_runtimelinking=no
8936         exp_sym_flag='-Bexport'
8937         no_entry_flag=""
8938       else
8939         # If we're using GNU nm, then we don't want the "-C" option.
8940         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8941         # Also, AIX nm treats weak defined symbols like other global
8942         # defined symbols, whereas GNU nm marks them as "W".
8943         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8944           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'
8945         else
8946           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'
8947         fi
8948         aix_use_runtimelinking=no
8950         # Test if we are trying to use run time linking or normal
8951         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8952         # need to do runtime linking.
8953         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8954           for ld_flag in $LDFLAGS; do
8955           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8956             aix_use_runtimelinking=yes
8957             break
8958           fi
8959           done
8960           ;;
8961         esac
8963         exp_sym_flag='-bexport'
8964         no_entry_flag='-bnoentry'
8965       fi
8967       # When large executables or shared objects are built, AIX ld can
8968       # have problems creating the table of contents.  If linking a library
8969       # or program results in "error TOC overflow" add -mminimal-toc to
8970       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8971       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8973       archive_cmds=''
8974       hardcode_direct=yes
8975       hardcode_direct_absolute=yes
8976       hardcode_libdir_separator=':'
8977       link_all_deplibs=yes
8978       file_list_spec='${wl}-f,'
8980       if test "$GCC" = yes; then
8981         case $host_os in aix4.[012]|aix4.[012].*)
8982         # We only want to do this on AIX 4.2 and lower, the check
8983         # below for broken collect2 doesn't work under 4.3+
8984           collect2name=`${CC} -print-prog-name=collect2`
8985           if test -f "$collect2name" &&
8986            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8987           then
8988           # We have reworked collect2
8989           :
8990           else
8991           # We have old collect2
8992           hardcode_direct=unsupported
8993           # It fails to find uninstalled libraries when the uninstalled
8994           # path is not listed in the libpath.  Setting hardcode_minus_L
8995           # to unsupported forces relinking
8996           hardcode_minus_L=yes
8997           hardcode_libdir_flag_spec='-L$libdir'
8998           hardcode_libdir_separator=
8999           fi
9000           ;;
9001         esac
9002         shared_flag='-shared'
9003         if test "$aix_use_runtimelinking" = yes; then
9004           shared_flag="$shared_flag "'${wl}-G'
9005         fi
9006       else
9007         # not using gcc
9008         if test "$host_cpu" = ia64; then
9009         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9010         # chokes on -Wl,-G. The following line is correct:
9011           shared_flag='-G'
9012         else
9013           if test "$aix_use_runtimelinking" = yes; then
9014             shared_flag='${wl}-G'
9015           else
9016             shared_flag='${wl}-bM:SRE'
9017           fi
9018         fi
9019       fi
9021       export_dynamic_flag_spec='${wl}-bexpall'
9022       # It seems that -bexpall does not export symbols beginning with
9023       # underscore (_), so it is better to generate a list of symbols to export.
9024       always_export_symbols=yes
9025       if test "$aix_use_runtimelinking" = yes; then
9026         # Warning - without using the other runtime loading flags (-brtl),
9027         # -berok will link without error, but may produce a broken library.
9028         allow_undefined_flag='-berok'
9029         # Determine the default libpath from the value encoded in an
9030         # empty executable.
9031         if test "${lt_cv_aix_libpath+set}" = set; then
9032   aix_libpath=$lt_cv_aix_libpath
9033 else
9034   if ${lt_cv_aix_libpath_+:} false; then :
9035   $as_echo_n "(cached) " >&6
9036 else
9037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9038 /* end confdefs.h.  */
9041 main ()
9044   ;
9045   return 0;
9047 _ACEOF
9048 if ac_fn_c_try_link "$LINENO"; then :
9049   
9050   lt_aix_libpath_sed='
9051       /Import File Strings/,/^$/ {
9052           /^0/ {
9053               s/^0  *\([^ ]*\) *$/\1/
9054               p
9055           }
9056       }'
9057   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9058   # Check for a 64-bit object if we didn't find anything.
9059   if test -z "$lt_cv_aix_libpath_"; then
9060     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9061   fi
9063 rm -f core conftest.err conftest.$ac_objext \
9064     conftest$ac_exeext conftest.$ac_ext
9065   if test -z "$lt_cv_aix_libpath_"; then
9066     lt_cv_aix_libpath_="/usr/lib:/lib"
9067   fi
9068   
9071   aix_libpath=$lt_cv_aix_libpath_
9074         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9075         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"
9076       else
9077         if test "$host_cpu" = ia64; then
9078           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9079           allow_undefined_flag="-z nodefs"
9080           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"
9081         else
9082          # Determine the default libpath from the value encoded in an
9083          # empty executable.
9084          if test "${lt_cv_aix_libpath+set}" = set; then
9085   aix_libpath=$lt_cv_aix_libpath
9086 else
9087   if ${lt_cv_aix_libpath_+:} false; then :
9088   $as_echo_n "(cached) " >&6
9089 else
9090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9091 /* end confdefs.h.  */
9094 main ()
9097   ;
9098   return 0;
9100 _ACEOF
9101 if ac_fn_c_try_link "$LINENO"; then :
9102   
9103   lt_aix_libpath_sed='
9104       /Import File Strings/,/^$/ {
9105           /^0/ {
9106               s/^0  *\([^ ]*\) *$/\1/
9107               p
9108           }
9109       }'
9110   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9111   # Check for a 64-bit object if we didn't find anything.
9112   if test -z "$lt_cv_aix_libpath_"; then
9113     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9114   fi
9116 rm -f core conftest.err conftest.$ac_objext \
9117     conftest$ac_exeext conftest.$ac_ext
9118   if test -z "$lt_cv_aix_libpath_"; then
9119     lt_cv_aix_libpath_="/usr/lib:/lib"
9120   fi
9121   
9124   aix_libpath=$lt_cv_aix_libpath_
9127          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9128           # Warning - without using the other run time loading flags,
9129           # -berok will link without error, but may produce a broken library.
9130           no_undefined_flag=' ${wl}-bernotok'
9131           allow_undefined_flag=' ${wl}-berok'
9132           if test "$with_gnu_ld" = yes; then
9133             # We only use this code for GNU lds that support --whole-archive.
9134             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9135           else
9136             # Exported symbols can be pulled into shared objects from archives
9137             whole_archive_flag_spec='$convenience'
9138           fi
9139           archive_cmds_need_lc=yes
9140           # This is similar to how AIX traditionally builds its shared libraries.
9141           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'
9142         fi
9143       fi
9144       ;;
9146     amigaos*)
9147       case $host_cpu in
9148       powerpc)
9149             # see comment about AmigaOS4 .so support
9150             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9151             archive_expsym_cmds=''
9152         ;;
9153       m68k)
9154             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)'
9155             hardcode_libdir_flag_spec='-L$libdir'
9156             hardcode_minus_L=yes
9157         ;;
9158       esac
9159       ;;
9161     bsdi[45]*)
9162       export_dynamic_flag_spec=-rdynamic
9163       ;;
9165     cygwin* | mingw* | pw32* | cegcc*)
9166       # When not using gcc, we currently assume that we are using
9167       # Microsoft Visual C++.
9168       # hardcode_libdir_flag_spec is actually meaningless, as there is
9169       # no search path for DLLs.
9170       case $cc_basename in
9171       cl*)
9172         # Native MSVC
9173         hardcode_libdir_flag_spec=' '
9174         allow_undefined_flag=unsupported
9175         always_export_symbols=yes
9176         file_list_spec='@'
9177         # Tell ltmain to make .lib files, not .a files.
9178         libext=lib
9179         # Tell ltmain to make .dll files, not .so files.
9180         shrext_cmds=".dll"
9181         # FIXME: Setting linknames here is a bad hack.
9182         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9183         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9184             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9185           else
9186             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9187           fi~
9188           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9189           linknames='
9190         # The linker will not automatically build a static lib if we build a DLL.
9191         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9192         enable_shared_with_static_runtimes=yes
9193         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9194         # Don't use ranlib
9195         old_postinstall_cmds='chmod 644 $oldlib'
9196         postlink_cmds='lt_outputfile="@OUTPUT@"~
9197           lt_tool_outputfile="@TOOL_OUTPUT@"~
9198           case $lt_outputfile in
9199             *.exe|*.EXE) ;;
9200             *)
9201               lt_outputfile="$lt_outputfile.exe"
9202               lt_tool_outputfile="$lt_tool_outputfile.exe"
9203               ;;
9204           esac~
9205           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9206             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9207             $RM "$lt_outputfile.manifest";
9208           fi'
9209         ;;
9210       *)
9211         # Assume MSVC wrapper
9212         hardcode_libdir_flag_spec=' '
9213         allow_undefined_flag=unsupported
9214         # Tell ltmain to make .lib files, not .a files.
9215         libext=lib
9216         # Tell ltmain to make .dll files, not .so files.
9217         shrext_cmds=".dll"
9218         # FIXME: Setting linknames here is a bad hack.
9219         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9220         # The linker will automatically build a .lib file if we build a DLL.
9221         old_archive_from_new_cmds='true'
9222         # FIXME: Should let the user specify the lib program.
9223         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9224         enable_shared_with_static_runtimes=yes
9225         ;;
9226       esac
9227       ;;
9229     darwin* | rhapsody*)
9230       
9231   
9232   archive_cmds_need_lc=no
9233   hardcode_direct=no
9234   hardcode_automatic=yes
9235   hardcode_shlibpath_var=unsupported
9236   if test "$lt_cv_ld_force_load" = "yes"; then
9237     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\"`'
9238   else
9239     whole_archive_flag_spec=''
9240   fi
9241   link_all_deplibs=yes
9242   allow_undefined_flag="$_lt_dar_allow_undefined"
9243   case $cc_basename in
9244      ifort*) _lt_dar_can_shared=yes ;;
9245      *) _lt_dar_can_shared=$GCC ;;
9246   esac
9247   if test "$_lt_dar_can_shared" = "yes"; then
9248     output_verbose_link_cmd=func_echo_all
9249     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9250     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9251     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}"
9252     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}"
9253     
9254   else
9255   ld_shlibs=no
9256   fi
9258       ;;
9260     dgux*)
9261       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9262       hardcode_libdir_flag_spec='-L$libdir'
9263       hardcode_shlibpath_var=no
9264       ;;
9266     freebsd1*)
9267       ld_shlibs=no
9268       ;;
9270     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9271     # support.  Future versions do this automatically, but an explicit c++rt0.o
9272     # does not break anything, and helps significantly (at the cost of a little
9273     # extra space).
9274     freebsd2.2*)
9275       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9276       hardcode_libdir_flag_spec='-R$libdir'
9277       hardcode_direct=yes
9278       hardcode_shlibpath_var=no
9279       ;;
9281     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9282     freebsd2*)
9283       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9284       hardcode_direct=yes
9285       hardcode_minus_L=yes
9286       hardcode_shlibpath_var=no
9287       ;;
9289     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9290     freebsd* | dragonfly*)
9291       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9292       hardcode_libdir_flag_spec='-R$libdir'
9293       hardcode_direct=yes
9294       hardcode_shlibpath_var=no
9295       ;;
9297     hpux9*)
9298       if test "$GCC" = yes; then
9299         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'
9300       else
9301         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'
9302       fi
9303       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9304       hardcode_libdir_separator=:
9305       hardcode_direct=yes
9307       # hardcode_minus_L: Not really in the search PATH,
9308       # but as the default location of the library.
9309       hardcode_minus_L=yes
9310       export_dynamic_flag_spec='${wl}-E'
9311       ;;
9313     hpux10*)
9314       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9315         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9316       else
9317         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9318       fi
9319       if test "$with_gnu_ld" = no; then
9320         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9321         hardcode_libdir_flag_spec_ld='+b $libdir'
9322         hardcode_libdir_separator=:
9323         hardcode_direct=yes
9324         hardcode_direct_absolute=yes
9325         export_dynamic_flag_spec='${wl}-E'
9326         # hardcode_minus_L: Not really in the search PATH,
9327         # but as the default location of the library.
9328         hardcode_minus_L=yes
9329       fi
9330       ;;
9332     hpux11*)
9333       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9334         case $host_cpu in
9335         hppa*64*)
9336           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9337           ;;
9338         ia64*)
9339           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9340           ;;
9341         *)
9342           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9343           ;;
9344         esac
9345       else
9346         case $host_cpu in
9347         hppa*64*)
9348           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9349           ;;
9350         ia64*)
9351           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9352           ;;
9353         *)
9354         
9355           # Older versions of the 11.00 compiler do not understand -b yet
9356           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9357           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9358 $as_echo_n "checking if $CC understands -b... " >&6; }
9359 if ${lt_cv_prog_compiler__b+:} false; then :
9360   $as_echo_n "(cached) " >&6
9361 else
9362   lt_cv_prog_compiler__b=no
9363    save_LDFLAGS="$LDFLAGS"
9364    LDFLAGS="$LDFLAGS -b"
9365    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9366    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9367      # The linker can only warn and ignore the option if not recognized
9368      # So say no if there are warnings
9369      if test -s conftest.err; then
9370        # Append any errors to the config.log.
9371        cat conftest.err 1>&5
9372        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9373        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9374        if diff conftest.exp conftest.er2 >/dev/null; then
9375          lt_cv_prog_compiler__b=yes
9376        fi
9377      else
9378        lt_cv_prog_compiler__b=yes
9379      fi
9380    fi
9381    $RM -r conftest*
9382    LDFLAGS="$save_LDFLAGS"
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9386 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9388 if test x"$lt_cv_prog_compiler__b" = xyes; then
9389     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9390 else
9391     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9394           ;;
9395         esac
9396       fi
9397       if test "$with_gnu_ld" = no; then
9398         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9399         hardcode_libdir_separator=:
9401         case $host_cpu in
9402         hppa*64*|ia64*)
9403           hardcode_direct=no
9404           hardcode_shlibpath_var=no
9405           ;;
9406         *)
9407           hardcode_direct=yes
9408           hardcode_direct_absolute=yes
9409           export_dynamic_flag_spec='${wl}-E'
9411           # hardcode_minus_L: Not really in the search PATH,
9412           # but as the default location of the library.
9413           hardcode_minus_L=yes
9414           ;;
9415         esac
9416       fi
9417       ;;
9419     irix5* | irix6* | nonstopux*)
9420       if test "$GCC" = yes; then
9421         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'
9422         # Try to use the -exported_symbol ld option, if it does not
9423         # work, assume that -exports_file does not work either and
9424         # implicitly export all symbols.
9425         # This should be the same for all languages, so no per-tag cache variable.
9426         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9427 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9428 if ${lt_cv_irix_exported_symbol+:} false; then :
9429   $as_echo_n "(cached) " >&6
9430 else
9431   save_LDFLAGS="$LDFLAGS"
9432            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9433            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9434 /* end confdefs.h.  */
9435 int foo (void) { return 0; }
9436 _ACEOF
9437 if ac_fn_c_try_link "$LINENO"; then :
9438   lt_cv_irix_exported_symbol=yes
9439 else
9440   lt_cv_irix_exported_symbol=no
9442 rm -f core conftest.err conftest.$ac_objext \
9443     conftest$ac_exeext conftest.$ac_ext
9444            LDFLAGS="$save_LDFLAGS"
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9447 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9448         if test "$lt_cv_irix_exported_symbol" = yes; then
9449           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'
9450         fi
9451       else
9452         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'
9453         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'
9454       fi
9455       archive_cmds_need_lc='no'
9456       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9457       hardcode_libdir_separator=:
9458       inherit_rpath=yes
9459       link_all_deplibs=yes
9460       ;;
9462     netbsd*)
9463       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9464         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9465       else
9466         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9467       fi
9468       hardcode_libdir_flag_spec='-R$libdir'
9469       hardcode_direct=yes
9470       hardcode_shlibpath_var=no
9471       ;;
9473     newsos6)
9474       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9475       hardcode_direct=yes
9476       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9477       hardcode_libdir_separator=:
9478       hardcode_shlibpath_var=no
9479       ;;
9481     *nto* | *qnx*)
9482       ;;
9484     openbsd*)
9485       if test -f /usr/libexec/ld.so; then
9486         hardcode_direct=yes
9487         hardcode_shlibpath_var=no
9488         hardcode_direct_absolute=yes
9489         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9490           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9491           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9492           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9493           export_dynamic_flag_spec='${wl}-E'
9494         else
9495           case $host_os in
9496            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9497              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9498              hardcode_libdir_flag_spec='-R$libdir'
9499              ;;
9500            *)
9501              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9502              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9503              ;;
9504           esac
9505         fi
9506       else
9507         ld_shlibs=no
9508       fi
9509       ;;
9511     os2*)
9512       hardcode_libdir_flag_spec='-L$libdir'
9513       hardcode_minus_L=yes
9514       allow_undefined_flag=unsupported
9515       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'
9516       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9517       ;;
9519     osf3*)
9520       if test "$GCC" = yes; then
9521         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9522         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'
9523       else
9524         allow_undefined_flag=' -expect_unresolved \*'
9525         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'
9526       fi
9527       archive_cmds_need_lc='no'
9528       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9529       hardcode_libdir_separator=:
9530       ;;
9532     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9533       if test "$GCC" = yes; then
9534         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9535         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'
9536         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9537       else
9538         allow_undefined_flag=' -expect_unresolved \*'
9539         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'
9540         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~
9541         $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'
9543         # Both c and cxx compiler support -rpath directly
9544         hardcode_libdir_flag_spec='-rpath $libdir'
9545       fi
9546       archive_cmds_need_lc='no'
9547       hardcode_libdir_separator=:
9548       ;;
9550     solaris*)
9551       no_undefined_flag=' -z defs'
9552       if test "$GCC" = yes; then
9553         wlarc='${wl}'
9554         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9555         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9556           $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'
9557       else
9558         case `$CC -V 2>&1` in
9559         *"Compilers 5.0"*)
9560           wlarc=''
9561           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9562           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9563           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9564           ;;
9565         *)
9566           wlarc='${wl}'
9567           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9568           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9569           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9570           ;;
9571         esac
9572       fi
9573       hardcode_libdir_flag_spec='-R$libdir'
9574       hardcode_shlibpath_var=no
9575       case $host_os in
9576       solaris2.[0-5] | solaris2.[0-5].*) ;;
9577       *)
9578         # The compiler driver will combine and reorder linker options,
9579         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9580         # but is careful enough not to reorder.
9581         # Supported since Solaris 2.6 (maybe 2.5.1?)
9582         if test "$GCC" = yes; then
9583           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9584         else
9585           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9586         fi
9587         ;;
9588       esac
9589       link_all_deplibs=yes
9590       ;;
9592     sunos4*)
9593       if test "x$host_vendor" = xsequent; then
9594         # Use $CC to link under sequent, because it throws in some extra .o
9595         # files that make .init and .fini sections work.
9596         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9597       else
9598         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9599       fi
9600       hardcode_libdir_flag_spec='-L$libdir'
9601       hardcode_direct=yes
9602       hardcode_minus_L=yes
9603       hardcode_shlibpath_var=no
9604       ;;
9606     sysv4)
9607       case $host_vendor in
9608         sni)
9609           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9610           hardcode_direct=yes # is this really true???
9611         ;;
9612         siemens)
9613           ## LD is ld it makes a PLAMLIB
9614           ## CC just makes a GrossModule.
9615           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9616           reload_cmds='$CC -r -o $output$reload_objs'
9617           hardcode_direct=no
9618         ;;
9619         motorola)
9620           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9621           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9622         ;;
9623       esac
9624       runpath_var='LD_RUN_PATH'
9625       hardcode_shlibpath_var=no
9626       ;;
9628     sysv4.3*)
9629       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9630       hardcode_shlibpath_var=no
9631       export_dynamic_flag_spec='-Bexport'
9632       ;;
9634     sysv4*MP*)
9635       if test -d /usr/nec; then
9636         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9637         hardcode_shlibpath_var=no
9638         runpath_var=LD_RUN_PATH
9639         hardcode_runpath_var=yes
9640         ld_shlibs=yes
9641       fi
9642       ;;
9644     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9645       no_undefined_flag='${wl}-z,text'
9646       archive_cmds_need_lc=no
9647       hardcode_shlibpath_var=no
9648       runpath_var='LD_RUN_PATH'
9650       if test "$GCC" = yes; then
9651         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9652         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9653       else
9654         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9655         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9656       fi
9657       ;;
9659     sysv5* | sco3.2v5* | sco5v6*)
9660       # Note: We can NOT use -z defs as we might desire, because we do not
9661       # link with -lc, and that would cause any symbols used from libc to
9662       # always be unresolved, which means just about no library would
9663       # ever link correctly.  If we're not using GNU ld we use -z text
9664       # though, which does catch some bad symbols but isn't as heavy-handed
9665       # as -z defs.
9666       no_undefined_flag='${wl}-z,text'
9667       allow_undefined_flag='${wl}-z,nodefs'
9668       archive_cmds_need_lc=no
9669       hardcode_shlibpath_var=no
9670       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9671       hardcode_libdir_separator=':'
9672       link_all_deplibs=yes
9673       export_dynamic_flag_spec='${wl}-Bexport'
9674       runpath_var='LD_RUN_PATH'
9676       if test "$GCC" = yes; then
9677         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9678         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9679       else
9680         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9681         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9682       fi
9683       ;;
9685     uts4*)
9686       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9687       hardcode_libdir_flag_spec='-L$libdir'
9688       hardcode_shlibpath_var=no
9689       ;;
9691     *)
9692       ld_shlibs=no
9693       ;;
9694     esac
9696     if test x$host_vendor = xsni; then
9697       case $host in
9698       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9699         export_dynamic_flag_spec='${wl}-Blargedynsym'
9700         ;;
9701       esac
9702     fi
9703   fi
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9706 $as_echo "$ld_shlibs" >&6; }
9707 test "$ld_shlibs" = no && can_build_shared=no
9709 with_gnu_ld=$with_gnu_ld
9712     
9713     
9714     
9716     
9717     
9718     
9720     
9721     
9722     
9726 # Do we need to explicitly link libc?
9728 case "x$archive_cmds_need_lc" in
9729 x|xyes)
9730   # Assume -lc should be added
9731   archive_cmds_need_lc=yes
9733   if test "$enable_shared" = yes && test "$GCC" = yes; then
9734     case $archive_cmds in
9735     *'~'*)
9736       # FIXME: we may have to deal with multi-command sequences.
9737       ;;
9738     '$CC '*)
9739       # Test whether the compiler implicitly links with -lc since on some
9740       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9741       # to ld, don't add -lc before -lgcc.
9742       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9743 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9744 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9745   $as_echo_n "(cached) " >&6
9746 else
9747   $RM conftest*
9748         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9750         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9751   (eval $ac_compile) 2>&5
9752   ac_status=$?
9753   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9754   test $ac_status = 0; } 2>conftest.err; then
9755           soname=conftest
9756           lib=conftest
9757           libobjs=conftest.$ac_objext
9758           deplibs=
9759           wl=$lt_prog_compiler_wl
9760           pic_flag=$lt_prog_compiler_pic
9761           compiler_flags=-v
9762           linker_flags=-v
9763           verstring=
9764           output_objdir=.
9765           libname=conftest
9766           lt_save_allow_undefined_flag=$allow_undefined_flag
9767           allow_undefined_flag=
9768           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9769   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9770   ac_status=$?
9771   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9772   test $ac_status = 0; }
9773           then
9774             lt_cv_archive_cmds_need_lc=no
9775           else
9776             lt_cv_archive_cmds_need_lc=yes
9777           fi
9778           allow_undefined_flag=$lt_save_allow_undefined_flag
9779         else
9780           cat conftest.err 1>&5
9781         fi
9782         $RM conftest*
9783         
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9786 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9787       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9788       ;;
9789     esac
9790   fi
9791   ;;
9792 esac
9795     
9796     
9797     
9800     
9801     
9802     
9805     
9806     
9807     
9810     
9811     
9812     
9815     
9816     
9817     
9820     
9821     
9822     
9825     
9826     
9827     
9830     
9831     
9832     
9835     
9836     
9837     
9840     
9841     
9842     
9845     
9846     
9847     
9850     
9851     
9852     
9855     
9856     
9857     
9860     
9861     
9862     
9865     
9866     
9867     
9870     
9871     
9872     
9875     
9876     
9877     
9880     
9881     
9882     
9885     
9886     
9887     
9890     
9891     
9892     
9895     
9896     
9897     
9900     
9901     
9902     
9905     
9906     
9907     
9910     
9911     
9912     
9915     
9916     
9917     
9920     
9921     
9922     
9925     
9926     
9927     
9930     
9931     
9932     
9935     
9936     
9937     
9940     
9941     
9942     
9945     
9946     
9947     
9950   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9951 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9953 if test "$GCC" = yes; then
9954   case $host_os in
9955     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9956     *) lt_awk_arg="/^libraries:/" ;;
9957   esac
9958   case $host_os in
9959     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9960     *) lt_sed_strip_eq="s,=/,/,g" ;;
9961   esac
9962   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9963   case $lt_search_path_spec in
9964   *\;*)
9965     # if the path contains ";" then we assume it to be the separator
9966     # otherwise default to the standard path separator (i.e. ":") - it is
9967     # assumed that no part of a normal pathname contains ";" but that should
9968     # okay in the real world where ";" in dirpaths is itself problematic.
9969     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9970     ;;
9971   *)
9972     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9973     ;;
9974   esac
9975   # Ok, now we have the path, separated by spaces, we can step through it
9976   # and add multilib dir if necessary.
9977   lt_tmp_lt_search_path_spec=
9978   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9979   for lt_sys_path in $lt_search_path_spec; do
9980     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9981       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9982     else
9983       test -d "$lt_sys_path" && \
9984         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9985     fi
9986   done
9987   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9988 BEGIN {RS=" "; FS="/|\n";} {
9989   lt_foo="";
9990   lt_count=0;
9991   for (lt_i = NF; lt_i > 0; lt_i--) {
9992     if ($lt_i != "" && $lt_i != ".") {
9993       if ($lt_i == "..") {
9994         lt_count++;
9995       } else {
9996         if (lt_count == 0) {
9997           lt_foo="/" $lt_i lt_foo;
9998         } else {
9999           lt_count--;
10000         }
10001       }
10002     }
10003   }
10004   if (lt_foo != "") { lt_freq[lt_foo]++; }
10005   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10007   # AWK program above erroneously prepends '/' to C:/dos/paths
10008   # for these hosts.
10009   case $host_os in
10010     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10011       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10012   esac
10013   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10014 else
10015   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10017 library_names_spec=
10018 libname_spec='lib$name'
10019 soname_spec=
10020 shrext_cmds=".so"
10021 postinstall_cmds=
10022 postuninstall_cmds=
10023 finish_cmds=
10024 finish_eval=
10025 shlibpath_var=
10026 shlibpath_overrides_runpath=unknown
10027 version_type=none
10028 dynamic_linker="$host_os ld.so"
10029 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10030 need_lib_prefix=unknown
10031 hardcode_into_libs=no
10033 # when you set need_version to no, make sure it does not cause -set_version
10034 # flags to be left without arguments
10035 need_version=unknown
10037 case $host_os in
10038 aix3*)
10039   version_type=linux
10040   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10041   shlibpath_var=LIBPATH
10043   # AIX 3 has no versioning support, so we append a major version to the name.
10044   soname_spec='${libname}${release}${shared_ext}$major'
10045   ;;
10047 aix[4-9]*)
10048   version_type=linux
10049   need_lib_prefix=no
10050   need_version=no
10051   hardcode_into_libs=yes
10052   if test "$host_cpu" = ia64; then
10053     # AIX 5 supports IA64
10054     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10055     shlibpath_var=LD_LIBRARY_PATH
10056   else
10057     # With GCC up to 2.95.x, collect2 would create an import file
10058     # for dependence libraries.  The import file would start with
10059     # the line `#! .'.  This would cause the generated library to
10060     # depend on `.', always an invalid library.  This was fixed in
10061     # development snapshots of GCC prior to 3.0.
10062     case $host_os in
10063       aix4 | aix4.[01] | aix4.[01].*)
10064       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10065            echo ' yes '
10066            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10067         :
10068       else
10069         can_build_shared=no
10070       fi
10071       ;;
10072     esac
10073     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10074     # soname into executable. Probably we can add versioning support to
10075     # collect2, so additional links can be useful in future.
10076     if test "$aix_use_runtimelinking" = yes; then
10077       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10078       # instead of lib<name>.a to let people know that these are not
10079       # typical AIX shared libraries.
10080       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10081     else
10082       # We preserve .a as extension for shared libraries through AIX4.2
10083       # and later when we are not doing run time linking.
10084       library_names_spec='${libname}${release}.a $libname.a'
10085       soname_spec='${libname}${release}${shared_ext}$major'
10086     fi
10087     shlibpath_var=LIBPATH
10088   fi
10089   ;;
10091 amigaos*)
10092   case $host_cpu in
10093   powerpc)
10094     # Since July 2007 AmigaOS4 officially supports .so libraries.
10095     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10096     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10097     ;;
10098   m68k)
10099     library_names_spec='$libname.ixlibrary $libname.a'
10100     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10101     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'
10102     ;;
10103   esac
10104   ;;
10106 beos*)
10107   library_names_spec='${libname}${shared_ext}'
10108   dynamic_linker="$host_os ld.so"
10109   shlibpath_var=LIBRARY_PATH
10110   ;;
10112 bsdi[45]*)
10113   version_type=linux
10114   need_version=no
10115   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10116   soname_spec='${libname}${release}${shared_ext}$major'
10117   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10118   shlibpath_var=LD_LIBRARY_PATH
10119   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10120   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10121   # the default ld.so.conf also contains /usr/contrib/lib and
10122   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10123   # libtool to hard-code these into programs
10124   ;;
10126 cygwin* | mingw* | pw32* | cegcc*)
10127   version_type=windows
10128   shrext_cmds=".dll"
10129   need_version=no
10130   need_lib_prefix=no
10132   case $GCC,$cc_basename in
10133   yes,*)
10134     # gcc
10135     library_names_spec='$libname.dll.a'
10136     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10137     postinstall_cmds='base_file=`basename \${file}`~
10138       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10139       dldir=$destdir/`dirname \$dlpath`~
10140       test -d \$dldir || mkdir -p \$dldir~
10141       $install_prog $dir/$dlname \$dldir/$dlname~
10142       chmod a+x \$dldir/$dlname~
10143       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10144         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10145       fi'
10146     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10147       dlpath=$dir/\$dldll~
10148        $RM \$dlpath'
10149     shlibpath_overrides_runpath=yes
10151     case $host_os in
10152     cygwin*)
10153       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10154       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10156       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10157       ;;
10158     mingw* | cegcc*)
10159       # MinGW DLLs use traditional 'lib' prefix
10160       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10161       ;;
10162     pw32*)
10163       # pw32 DLLs use 'pw' prefix rather than 'lib'
10164       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10165       ;;
10166     esac
10167     dynamic_linker='Win32 ld.exe'
10168     ;;
10170   *,cl*)
10171     # Native MSVC
10172     libname_spec='$name'
10173     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10174     library_names_spec='${libname}.dll.lib'
10176     case $build_os in
10177     mingw*)
10178       sys_lib_search_path_spec=
10179       lt_save_ifs=$IFS
10180       IFS=';'
10181       for lt_path in $LIB
10182       do
10183         IFS=$lt_save_ifs
10184         # Let DOS variable expansion print the short 8.3 style file name.
10185         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10186         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10187       done
10188       IFS=$lt_save_ifs
10189       # Convert to MSYS style.
10190       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10191       ;;
10192     cygwin*)
10193       # Convert to unix form, then to dos form, then back to unix form
10194       # but this time dos style (no spaces!) so that the unix form looks
10195       # like /cygdrive/c/PROGRA~1:/cygdr...
10196       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10197       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10198       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10199       ;;
10200     *)
10201       sys_lib_search_path_spec="$LIB"
10202       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10203         # It is most probably a Windows format PATH.
10204         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10205       else
10206         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10207       fi
10208       # FIXME: find the short name or the path components, as spaces are
10209       # common. (e.g. "Program Files" -> "PROGRA~1")
10210       ;;
10211     esac
10213     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10214     postinstall_cmds='base_file=`basename \${file}`~
10215       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10216       dldir=$destdir/`dirname \$dlpath`~
10217       test -d \$dldir || mkdir -p \$dldir~
10218       $install_prog $dir/$dlname \$dldir/$dlname'
10219     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10220       dlpath=$dir/\$dldll~
10221        $RM \$dlpath'
10222     shlibpath_overrides_runpath=yes
10223     dynamic_linker='Win32 link.exe'
10224     ;;
10226   *)
10227     # Assume MSVC wrapper
10228     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10229     dynamic_linker='Win32 ld.exe'
10230     ;;
10231   esac
10232   # FIXME: first we should search . and the directory the executable is in
10233   shlibpath_var=PATH
10234   ;;
10236 darwin* | rhapsody*)
10237   dynamic_linker="$host_os dyld"
10238   version_type=darwin
10239   need_lib_prefix=no
10240   need_version=no
10241   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10242   soname_spec='${libname}${release}${major}$shared_ext'
10243   shlibpath_overrides_runpath=yes
10244   shlibpath_var=DYLD_LIBRARY_PATH
10245   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10247   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10248   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10249   ;;
10251 dgux*)
10252   version_type=linux
10253   need_lib_prefix=no
10254   need_version=no
10255   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10256   soname_spec='${libname}${release}${shared_ext}$major'
10257   shlibpath_var=LD_LIBRARY_PATH
10258   ;;
10260 freebsd1*)
10261   dynamic_linker=no
10262   ;;
10264 freebsd* | dragonfly*)
10265   # DragonFly does not have aout.  When/if they implement a new
10266   # versioning mechanism, adjust this.
10267   if test -x /usr/bin/objformat; then
10268     objformat=`/usr/bin/objformat`
10269   else
10270     case $host_os in
10271     freebsd[123]*) objformat=aout ;;
10272     *) objformat=elf ;;
10273     esac
10274   fi
10275   version_type=freebsd-$objformat
10276   case $version_type in
10277     freebsd-elf*)
10278       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10279       need_version=no
10280       need_lib_prefix=no
10281       ;;
10282     freebsd-*)
10283       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10284       need_version=yes
10285       ;;
10286   esac
10287   shlibpath_var=LD_LIBRARY_PATH
10288   case $host_os in
10289   freebsd2*)
10290     shlibpath_overrides_runpath=yes
10291     ;;
10292   freebsd3.[01]* | freebsdelf3.[01]*)
10293     shlibpath_overrides_runpath=yes
10294     hardcode_into_libs=yes
10295     ;;
10296   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10297   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10298     shlibpath_overrides_runpath=no
10299     hardcode_into_libs=yes
10300     ;;
10301   *) # from 4.6 on, and DragonFly
10302     shlibpath_overrides_runpath=yes
10303     hardcode_into_libs=yes
10304     ;;
10305   esac
10306   ;;
10308 gnu*)
10309   version_type=linux
10310   need_lib_prefix=no
10311   need_version=no
10312   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10313   soname_spec='${libname}${release}${shared_ext}$major'
10314   shlibpath_var=LD_LIBRARY_PATH
10315   hardcode_into_libs=yes
10316   ;;
10318 haiku*)
10319   version_type=linux
10320   need_lib_prefix=no
10321   need_version=no
10322   dynamic_linker="$host_os runtime_loader"
10323   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10324   soname_spec='${libname}${release}${shared_ext}$major'
10325   shlibpath_var=LIBRARY_PATH
10326   shlibpath_overrides_runpath=yes
10327   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10328   hardcode_into_libs=yes
10329   ;;
10331 hpux9* | hpux10* | hpux11*)
10332   # Give a soname corresponding to the major version so that dld.sl refuses to
10333   # link against other versions.
10334   version_type=sunos
10335   need_lib_prefix=no
10336   need_version=no
10337   case $host_cpu in
10338   ia64*)
10339     shrext_cmds='.so'
10340     hardcode_into_libs=yes
10341     dynamic_linker="$host_os dld.so"
10342     shlibpath_var=LD_LIBRARY_PATH
10343     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10344     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10345     soname_spec='${libname}${release}${shared_ext}$major'
10346     if test "X$HPUX_IA64_MODE" = X32; then
10347       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10348     else
10349       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10350     fi
10351     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10352     ;;
10353   hppa*64*)
10354     shrext_cmds='.sl'
10355     hardcode_into_libs=yes
10356     dynamic_linker="$host_os dld.sl"
10357     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10358     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10359     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10360     soname_spec='${libname}${release}${shared_ext}$major'
10361     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10362     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10363     ;;
10364   *)
10365     shrext_cmds='.sl'
10366     dynamic_linker="$host_os dld.sl"
10367     shlibpath_var=SHLIB_PATH
10368     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10369     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10370     soname_spec='${libname}${release}${shared_ext}$major'
10371     ;;
10372   esac
10373   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10374   postinstall_cmds='chmod 555 $lib'
10375   # or fails outright, so override atomically:
10376   install_override_mode=555
10377   ;;
10379 interix[3-9]*)
10380   version_type=linux
10381   need_lib_prefix=no
10382   need_version=no
10383   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10384   soname_spec='${libname}${release}${shared_ext}$major'
10385   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10386   shlibpath_var=LD_LIBRARY_PATH
10387   shlibpath_overrides_runpath=no
10388   hardcode_into_libs=yes
10389   ;;
10391 irix5* | irix6* | nonstopux*)
10392   case $host_os in
10393     nonstopux*) version_type=nonstopux ;;
10394     *)
10395         if test "$lt_cv_prog_gnu_ld" = yes; then
10396                 version_type=linux
10397         else
10398                 version_type=irix
10399         fi ;;
10400   esac
10401   need_lib_prefix=no
10402   need_version=no
10403   soname_spec='${libname}${release}${shared_ext}$major'
10404   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10405   case $host_os in
10406   irix5* | nonstopux*)
10407     libsuff= shlibsuff=
10408     ;;
10409   *)
10410     case $LD in # libtool.m4 will add one of these switches to LD
10411     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10412       libsuff= shlibsuff= libmagic=32-bit;;
10413     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10414       libsuff=32 shlibsuff=N32 libmagic=N32;;
10415     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10416       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10417     *) libsuff= shlibsuff= libmagic=never-match;;
10418     esac
10419     ;;
10420   esac
10421   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10422   shlibpath_overrides_runpath=no
10423   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10424   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10425   hardcode_into_libs=yes
10426   ;;
10428 # No shared lib support for Linux oldld, aout, or coff.
10429 linux*oldld* | linux*aout* | linux*coff*)
10430   dynamic_linker=no
10431   ;;
10433 # This must be Linux ELF.
10434 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10435   version_type=linux
10436   need_lib_prefix=no
10437   need_version=no
10438   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10439   soname_spec='${libname}${release}${shared_ext}$major'
10440   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10441   shlibpath_var=LD_LIBRARY_PATH
10442   shlibpath_overrides_runpath=no
10444   # Some binutils ld are patched to set DT_RUNPATH
10445   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10446   $as_echo_n "(cached) " >&6
10447 else
10448   lt_cv_shlibpath_overrides_runpath=no
10449     save_LDFLAGS=$LDFLAGS
10450     save_libdir=$libdir
10451     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10452          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10453     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10454 /* end confdefs.h.  */
10457 main ()
10460   ;
10461   return 0;
10463 _ACEOF
10464 if ac_fn_c_try_link "$LINENO"; then :
10465   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10466   lt_cv_shlibpath_overrides_runpath=yes
10469 rm -f core conftest.err conftest.$ac_objext \
10470     conftest$ac_exeext conftest.$ac_ext
10471     LDFLAGS=$save_LDFLAGS
10472     libdir=$save_libdir
10473     
10476   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10478   # This implies no fast_install, which is unacceptable.
10479   # Some rework will be needed to allow for fast_install
10480   # before this can be enabled.
10481   hardcode_into_libs=yes
10483   # Append ld.so.conf contents to the search path
10484   if test -f /etc/ld.so.conf; then
10485     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' ' '`
10486     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10487   fi
10489   # We used to test for /lib/ld.so.1 and disable shared libraries on
10490   # powerpc, because MkLinux only supported shared libraries with the
10491   # GNU dynamic linker.  Since this was broken with cross compilers,
10492   # most powerpc-linux boxes support dynamic linking these days and
10493   # people can always --disable-shared, the test was removed, and we
10494   # assume the GNU/Linux dynamic linker is in use.
10495   dynamic_linker='GNU/Linux ld.so'
10496   ;;
10498 netbsd*)
10499   version_type=sunos
10500   need_lib_prefix=no
10501   need_version=no
10502   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10503     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10504     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10505     dynamic_linker='NetBSD (a.out) ld.so'
10506   else
10507     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10508     soname_spec='${libname}${release}${shared_ext}$major'
10509     dynamic_linker='NetBSD ld.elf_so'
10510   fi
10511   shlibpath_var=LD_LIBRARY_PATH
10512   shlibpath_overrides_runpath=yes
10513   hardcode_into_libs=yes
10514   ;;
10516 newsos6)
10517   version_type=linux
10518   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10519   shlibpath_var=LD_LIBRARY_PATH
10520   shlibpath_overrides_runpath=yes
10521   ;;
10523 *nto* | *qnx*)
10524   version_type=qnx
10525   need_lib_prefix=no
10526   need_version=no
10527   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10528   soname_spec='${libname}${release}${shared_ext}$major'
10529   shlibpath_var=LD_LIBRARY_PATH
10530   shlibpath_overrides_runpath=no
10531   hardcode_into_libs=yes
10532   dynamic_linker='ldqnx.so'
10533   ;;
10535 openbsd*)
10536   version_type=sunos
10537   sys_lib_dlsearch_path_spec="/usr/lib"
10538   need_lib_prefix=no
10539   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10540   case $host_os in
10541     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10542     *)                          need_version=no  ;;
10543   esac
10544   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10545   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10546   shlibpath_var=LD_LIBRARY_PATH
10547   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10548     case $host_os in
10549       openbsd2.[89] | openbsd2.[89].*)
10550         shlibpath_overrides_runpath=no
10551         ;;
10552       *)
10553         shlibpath_overrides_runpath=yes
10554         ;;
10555       esac
10556   else
10557     shlibpath_overrides_runpath=yes
10558   fi
10559   ;;
10561 os2*)
10562   libname_spec='$name'
10563   shrext_cmds=".dll"
10564   need_lib_prefix=no
10565   library_names_spec='$libname${shared_ext} $libname.a'
10566   dynamic_linker='OS/2 ld.exe'
10567   shlibpath_var=LIBPATH
10568   ;;
10570 osf3* | osf4* | osf5*)
10571   version_type=osf
10572   need_lib_prefix=no
10573   need_version=no
10574   soname_spec='${libname}${release}${shared_ext}$major'
10575   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10576   shlibpath_var=LD_LIBRARY_PATH
10577   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10578   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10579   ;;
10581 rdos*)
10582   dynamic_linker=no
10583   ;;
10585 solaris*)
10586   version_type=linux
10587   need_lib_prefix=no
10588   need_version=no
10589   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10590   soname_spec='${libname}${release}${shared_ext}$major'
10591   shlibpath_var=LD_LIBRARY_PATH
10592   shlibpath_overrides_runpath=yes
10593   hardcode_into_libs=yes
10594   # ldd complains unless libraries are executable
10595   postinstall_cmds='chmod +x $lib'
10596   ;;
10598 sunos4*)
10599   version_type=sunos
10600   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10601   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10602   shlibpath_var=LD_LIBRARY_PATH
10603   shlibpath_overrides_runpath=yes
10604   if test "$with_gnu_ld" = yes; then
10605     need_lib_prefix=no
10606   fi
10607   need_version=yes
10608   ;;
10610 sysv4 | sysv4.3*)
10611   version_type=linux
10612   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10613   soname_spec='${libname}${release}${shared_ext}$major'
10614   shlibpath_var=LD_LIBRARY_PATH
10615   case $host_vendor in
10616     sni)
10617       shlibpath_overrides_runpath=no
10618       need_lib_prefix=no
10619       runpath_var=LD_RUN_PATH
10620       ;;
10621     siemens)
10622       need_lib_prefix=no
10623       ;;
10624     motorola)
10625       need_lib_prefix=no
10626       need_version=no
10627       shlibpath_overrides_runpath=no
10628       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10629       ;;
10630   esac
10631   ;;
10633 sysv4*MP*)
10634   if test -d /usr/nec ;then
10635     version_type=linux
10636     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10637     soname_spec='$libname${shared_ext}.$major'
10638     shlibpath_var=LD_LIBRARY_PATH
10639   fi
10640   ;;
10642 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10643   version_type=freebsd-elf
10644   need_lib_prefix=no
10645   need_version=no
10646   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10647   soname_spec='${libname}${release}${shared_ext}$major'
10648   shlibpath_var=LD_LIBRARY_PATH
10649   shlibpath_overrides_runpath=yes
10650   hardcode_into_libs=yes
10651   if test "$with_gnu_ld" = yes; then
10652     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10653   else
10654     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10655     case $host_os in
10656       sco3.2v5*)
10657         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10658         ;;
10659     esac
10660   fi
10661   sys_lib_dlsearch_path_spec='/usr/lib'
10662   ;;
10664 tpf*)
10665   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10666   version_type=linux
10667   need_lib_prefix=no
10668   need_version=no
10669   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10670   shlibpath_var=LD_LIBRARY_PATH
10671   shlibpath_overrides_runpath=no
10672   hardcode_into_libs=yes
10673   ;;
10675 uts4*)
10676   version_type=linux
10677   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10678   soname_spec='${libname}${release}${shared_ext}$major'
10679   shlibpath_var=LD_LIBRARY_PATH
10680   ;;
10683   dynamic_linker=no
10684   ;;
10685 esac
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10687 $as_echo "$dynamic_linker" >&6; }
10688 test "$dynamic_linker" = no && can_build_shared=no
10690 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10691 if test "$GCC" = yes; then
10692   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10695 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10696   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10698 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10699   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10703     
10704     
10705     
10708     
10709     
10710     
10713     
10714     
10715     
10718     
10719     
10720     
10723     
10724     
10725     
10728     
10729     
10730     
10733     
10734     
10735     
10738     
10739     
10740     
10743     
10744     
10745     
10748     
10749     
10750     
10753     
10754     
10755     
10758     
10759     
10760     
10763     
10764     
10765     
10768     
10769     
10770     
10773     
10774     
10775     
10778     
10779     
10780     
10783     
10784     
10785     
10788     
10789     
10790     
10793   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10794 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10795 hardcode_action=
10796 if test -n "$hardcode_libdir_flag_spec" ||
10797    test -n "$runpath_var" ||
10798    test "X$hardcode_automatic" = "Xyes" ; then
10800   # We can hardcode non-existent directories.
10801   if test "$hardcode_direct" != no &&
10802      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10803      # have to relink, otherwise we might link with an installed library
10804      # when we should be linking with a yet-to-be-installed one
10805      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10806      test "$hardcode_minus_L" != no; then
10807     # Linking always hardcodes the temporary library directory.
10808     hardcode_action=relink
10809   else
10810     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10811     hardcode_action=immediate
10812   fi
10813 else
10814   # We cannot hardcode anything, or else we can only hardcode existing
10815   # directories.
10816   hardcode_action=unsupported
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10819 $as_echo "$hardcode_action" >&6; }
10821 if test "$hardcode_action" = relink ||
10822    test "$inherit_rpath" = yes; then
10823   # Fast installation is not supported
10824   enable_fast_install=no
10825 elif test "$shlibpath_overrides_runpath" = yes ||
10826      test "$enable_shared" = no; then
10827   # Fast installation is not necessary
10828   enable_fast_install=needless
10831     
10832     
10833     
10836   if test "x$enable_dlopen" != xyes; then
10837   enable_dlopen=unknown
10838   enable_dlopen_self=unknown
10839   enable_dlopen_self_static=unknown
10840 else
10841   lt_cv_dlopen=no
10842   lt_cv_dlopen_libs=
10844   case $host_os in
10845   beos*)
10846     lt_cv_dlopen="load_add_on"
10847     lt_cv_dlopen_libs=
10848     lt_cv_dlopen_self=yes
10849     ;;
10851   mingw* | pw32* | cegcc*)
10852     lt_cv_dlopen="LoadLibrary"
10853     lt_cv_dlopen_libs=
10854     ;;
10856   cygwin*)
10857     lt_cv_dlopen="dlopen"
10858     lt_cv_dlopen_libs=
10859     ;;
10861   darwin*)
10862   # if libdl is installed we need to link against it
10863     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10864 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10865 if ${ac_cv_lib_dl_dlopen+:} false; then :
10866   $as_echo_n "(cached) " >&6
10867 else
10868   ac_check_lib_save_LIBS=$LIBS
10869 LIBS="-ldl  $LIBS"
10870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10871 /* end confdefs.h.  */
10873 /* Override any GCC internal prototype to avoid an error.
10874    Use char because int might match the return type of a GCC
10875    builtin and then its argument prototype would still apply.  */
10876 #ifdef __cplusplus
10877 extern "C"
10878 #endif
10879 char dlopen ();
10881 main ()
10883 return dlopen ();
10884   ;
10885   return 0;
10887 _ACEOF
10888 if ac_fn_c_try_link "$LINENO"; then :
10889   ac_cv_lib_dl_dlopen=yes
10890 else
10891   ac_cv_lib_dl_dlopen=no
10893 rm -f core conftest.err conftest.$ac_objext \
10894     conftest$ac_exeext conftest.$ac_ext
10895 LIBS=$ac_check_lib_save_LIBS
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10898 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10899 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10900   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10901 else
10902   
10903     lt_cv_dlopen="dyld"
10904     lt_cv_dlopen_libs=
10905     lt_cv_dlopen_self=yes
10906     
10909     ;;
10911   *)
10912     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10913 if test "x$ac_cv_func_shl_load" = xyes; then :
10914   lt_cv_dlopen="shl_load"
10915 else
10916   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10917 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10918 if ${ac_cv_lib_dld_shl_load+:} false; then :
10919   $as_echo_n "(cached) " >&6
10920 else
10921   ac_check_lib_save_LIBS=$LIBS
10922 LIBS="-ldld  $LIBS"
10923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10924 /* end confdefs.h.  */
10926 /* Override any GCC internal prototype to avoid an error.
10927    Use char because int might match the return type of a GCC
10928    builtin and then its argument prototype would still apply.  */
10929 #ifdef __cplusplus
10930 extern "C"
10931 #endif
10932 char shl_load ();
10934 main ()
10936 return shl_load ();
10937   ;
10938   return 0;
10940 _ACEOF
10941 if ac_fn_c_try_link "$LINENO"; then :
10942   ac_cv_lib_dld_shl_load=yes
10943 else
10944   ac_cv_lib_dld_shl_load=no
10946 rm -f core conftest.err conftest.$ac_objext \
10947     conftest$ac_exeext conftest.$ac_ext
10948 LIBS=$ac_check_lib_save_LIBS
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10951 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10952 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10953   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10954 else
10955   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10956 if test "x$ac_cv_func_dlopen" = xyes; then :
10957   lt_cv_dlopen="dlopen"
10958 else
10959   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10960 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10961 if ${ac_cv_lib_dl_dlopen+:} false; then :
10962   $as_echo_n "(cached) " >&6
10963 else
10964   ac_check_lib_save_LIBS=$LIBS
10965 LIBS="-ldl  $LIBS"
10966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10967 /* end confdefs.h.  */
10969 /* Override any GCC internal prototype to avoid an error.
10970    Use char because int might match the return type of a GCC
10971    builtin and then its argument prototype would still apply.  */
10972 #ifdef __cplusplus
10973 extern "C"
10974 #endif
10975 char dlopen ();
10977 main ()
10979 return dlopen ();
10980   ;
10981   return 0;
10983 _ACEOF
10984 if ac_fn_c_try_link "$LINENO"; then :
10985   ac_cv_lib_dl_dlopen=yes
10986 else
10987   ac_cv_lib_dl_dlopen=no
10989 rm -f core conftest.err conftest.$ac_objext \
10990     conftest$ac_exeext conftest.$ac_ext
10991 LIBS=$ac_check_lib_save_LIBS
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10994 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10995 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10996   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10997 else
10998   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10999 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11000 if ${ac_cv_lib_svld_dlopen+:} false; then :
11001   $as_echo_n "(cached) " >&6
11002 else
11003   ac_check_lib_save_LIBS=$LIBS
11004 LIBS="-lsvld  $LIBS"
11005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11006 /* end confdefs.h.  */
11008 /* Override any GCC internal prototype to avoid an error.
11009    Use char because int might match the return type of a GCC
11010    builtin and then its argument prototype would still apply.  */
11011 #ifdef __cplusplus
11012 extern "C"
11013 #endif
11014 char dlopen ();
11016 main ()
11018 return dlopen ();
11019   ;
11020   return 0;
11022 _ACEOF
11023 if ac_fn_c_try_link "$LINENO"; then :
11024   ac_cv_lib_svld_dlopen=yes
11025 else
11026   ac_cv_lib_svld_dlopen=no
11028 rm -f core conftest.err conftest.$ac_objext \
11029     conftest$ac_exeext conftest.$ac_ext
11030 LIBS=$ac_check_lib_save_LIBS
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11033 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11034 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11035   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11036 else
11037   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11038 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11039 if ${ac_cv_lib_dld_dld_link+:} false; then :
11040   $as_echo_n "(cached) " >&6
11041 else
11042   ac_check_lib_save_LIBS=$LIBS
11043 LIBS="-ldld  $LIBS"
11044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11045 /* end confdefs.h.  */
11047 /* Override any GCC internal prototype to avoid an error.
11048    Use char because int might match the return type of a GCC
11049    builtin and then its argument prototype would still apply.  */
11050 #ifdef __cplusplus
11051 extern "C"
11052 #endif
11053 char dld_link ();
11055 main ()
11057 return dld_link ();
11058   ;
11059   return 0;
11061 _ACEOF
11062 if ac_fn_c_try_link "$LINENO"; then :
11063   ac_cv_lib_dld_dld_link=yes
11064 else
11065   ac_cv_lib_dld_dld_link=no
11067 rm -f core conftest.err conftest.$ac_objext \
11068     conftest$ac_exeext conftest.$ac_ext
11069 LIBS=$ac_check_lib_save_LIBS
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11072 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11073 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11074   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11077               
11080             
11083           
11086         
11089       
11092     ;;
11093   esac
11095   if test "x$lt_cv_dlopen" != xno; then
11096     enable_dlopen=yes
11097   else
11098     enable_dlopen=no
11099   fi
11101   case $lt_cv_dlopen in
11102   dlopen)
11103     save_CPPFLAGS="$CPPFLAGS"
11104     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11106     save_LDFLAGS="$LDFLAGS"
11107     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11109     save_LIBS="$LIBS"
11110     LIBS="$lt_cv_dlopen_libs $LIBS"
11112     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11113 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11114 if ${lt_cv_dlopen_self+:} false; then :
11115   $as_echo_n "(cached) " >&6
11116 else
11117           if test "$cross_compiling" = yes; then :
11118   lt_cv_dlopen_self=cross
11119 else
11120   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11121   lt_status=$lt_dlunknown
11122   cat > conftest.$ac_ext <<_LT_EOF
11123 #line $LINENO "configure"
11124 #include "confdefs.h"
11126 #if HAVE_DLFCN_H
11127 #include <dlfcn.h>
11128 #endif
11130 #include <stdio.h>
11132 #ifdef RTLD_GLOBAL
11133 #  define LT_DLGLOBAL           RTLD_GLOBAL
11134 #else
11135 #  ifdef DL_GLOBAL
11136 #    define LT_DLGLOBAL         DL_GLOBAL
11137 #  else
11138 #    define LT_DLGLOBAL         0
11139 #  endif
11140 #endif
11142 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11143    find out it does not work in some platform. */
11144 #ifndef LT_DLLAZY_OR_NOW
11145 #  ifdef RTLD_LAZY
11146 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11147 #  else
11148 #    ifdef DL_LAZY
11149 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11150 #    else
11151 #      ifdef RTLD_NOW
11152 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11153 #      else
11154 #        ifdef DL_NOW
11155 #          define LT_DLLAZY_OR_NOW      DL_NOW
11156 #        else
11157 #          define LT_DLLAZY_OR_NOW      0
11158 #        endif
11159 #      endif
11160 #    endif
11161 #  endif
11162 #endif
11164 /* When -fvisbility=hidden is used, assume the code has been annotated
11165    correspondingly for the symbols needed.  */
11166 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11167 int fnord () __attribute__((visibility("default")));
11168 #endif
11170 int fnord () { return 42; }
11171 int main ()
11173   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11174   int status = $lt_dlunknown;
11176   if (self)
11177     {
11178       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11179       else
11180         {
11181           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11182           else puts (dlerror ());
11183         }
11184       /* dlclose (self); */
11185     }
11186   else
11187     puts (dlerror ());
11189   return status;
11191 _LT_EOF
11192   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11193   (eval $ac_link) 2>&5
11194   ac_status=$?
11195   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11196   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11197     (./conftest; exit; ) >&5 2>/dev/null
11198     lt_status=$?
11199     case x$lt_status in
11200       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11201       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11202       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11203     esac
11204   else :
11205     # compilation failed
11206     lt_cv_dlopen_self=no
11207   fi
11209 rm -fr conftest*
11211     
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11214 $as_echo "$lt_cv_dlopen_self" >&6; }
11216     if test "x$lt_cv_dlopen_self" = xyes; then
11217       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11218       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11219 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11220 if ${lt_cv_dlopen_self_static+:} false; then :
11221   $as_echo_n "(cached) " >&6
11222 else
11223           if test "$cross_compiling" = yes; then :
11224   lt_cv_dlopen_self_static=cross
11225 else
11226   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11227   lt_status=$lt_dlunknown
11228   cat > conftest.$ac_ext <<_LT_EOF
11229 #line $LINENO "configure"
11230 #include "confdefs.h"
11232 #if HAVE_DLFCN_H
11233 #include <dlfcn.h>
11234 #endif
11236 #include <stdio.h>
11238 #ifdef RTLD_GLOBAL
11239 #  define LT_DLGLOBAL           RTLD_GLOBAL
11240 #else
11241 #  ifdef DL_GLOBAL
11242 #    define LT_DLGLOBAL         DL_GLOBAL
11243 #  else
11244 #    define LT_DLGLOBAL         0
11245 #  endif
11246 #endif
11248 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11249    find out it does not work in some platform. */
11250 #ifndef LT_DLLAZY_OR_NOW
11251 #  ifdef RTLD_LAZY
11252 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11253 #  else
11254 #    ifdef DL_LAZY
11255 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11256 #    else
11257 #      ifdef RTLD_NOW
11258 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11259 #      else
11260 #        ifdef DL_NOW
11261 #          define LT_DLLAZY_OR_NOW      DL_NOW
11262 #        else
11263 #          define LT_DLLAZY_OR_NOW      0
11264 #        endif
11265 #      endif
11266 #    endif
11267 #  endif
11268 #endif
11270 /* When -fvisbility=hidden is used, assume the code has been annotated
11271    correspondingly for the symbols needed.  */
11272 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11273 int fnord () __attribute__((visibility("default")));
11274 #endif
11276 int fnord () { return 42; }
11277 int main ()
11279   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11280   int status = $lt_dlunknown;
11282   if (self)
11283     {
11284       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11285       else
11286         {
11287           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11288           else puts (dlerror ());
11289         }
11290       /* dlclose (self); */
11291     }
11292   else
11293     puts (dlerror ());
11295   return status;
11297 _LT_EOF
11298   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11299   (eval $ac_link) 2>&5
11300   ac_status=$?
11301   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11302   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11303     (./conftest; exit; ) >&5 2>/dev/null
11304     lt_status=$?
11305     case x$lt_status in
11306       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11307       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11308       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11309     esac
11310   else :
11311     # compilation failed
11312     lt_cv_dlopen_self_static=no
11313   fi
11315 rm -fr conftest*
11317       
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11320 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11321     fi
11323     CPPFLAGS="$save_CPPFLAGS"
11324     LDFLAGS="$save_LDFLAGS"
11325     LIBS="$save_LIBS"
11326     ;;
11327   esac
11329   case $lt_cv_dlopen_self in
11330   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11331   *) enable_dlopen_self=unknown ;;
11332   esac
11334   case $lt_cv_dlopen_self_static in
11335   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11336   *) enable_dlopen_self_static=unknown ;;
11337   esac
11340     
11341     
11342     
11345     
11346     
11347     
11350     
11351     
11352     
11355   
11356 striplib=
11357 old_striplib=
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11359 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11360 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11361   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11362   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11364 $as_echo "yes" >&6; }
11365 else
11366 # FIXME - insert some real tests, host_os isn't really good enough
11367   case $host_os in
11368   darwin*)
11369     if test -n "$STRIP" ; then
11370       striplib="$STRIP -x"
11371       old_striplib="$STRIP -S"
11372       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11373 $as_echo "yes" >&6; }
11374     else
11375       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11376 $as_echo "no" >&6; }
11377     fi
11378     ;;
11379   *)
11380     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11381 $as_echo "no" >&6; }
11382     ;;
11383   esac
11386     
11387     
11388     
11391     
11392     
11393     
11397   # Report which library types will actually be built
11398   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11399 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11401 $as_echo "$can_build_shared" >&6; }
11403   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11404 $as_echo_n "checking whether to build shared libraries... " >&6; }
11405   test "$can_build_shared" = "no" && enable_shared=no
11407   # On AIX, shared libraries and static libraries use the same namespace, and
11408   # are all built from PIC.
11409   case $host_os in
11410   aix3*)
11411     test "$enable_shared" = yes && enable_static=no
11412     if test -n "$RANLIB"; then
11413       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11414       postinstall_cmds='$RANLIB $lib'
11415     fi
11416     ;;
11418   aix[4-9]*)
11419     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11420       test "$enable_shared" = yes && enable_static=no
11421     fi
11422     ;;
11423   esac
11424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11425 $as_echo "$enable_shared" >&6; }
11427   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11428 $as_echo_n "checking whether to build static libraries... " >&6; }
11429   # Make sure either enable_shared or enable_static is yes.
11430   test "$enable_shared" = yes || enable_static=yes
11431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11432 $as_echo "$enable_static" >&6; }
11434   
11438 ac_ext=c
11439 ac_cpp='$CPP $CPPFLAGS'
11440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11444 CC="$lt_save_CC"
11453        
11454        
11458         ac_config_commands="$ac_config_commands libtool"
11463 # Only expand once:
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
11469 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
11470     @%:@ Check whether --enable-maintainer-mode was given.
11471 if test "${enable_maintainer_mode+set}" = set; then :
11472   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
11473 else
11474   USE_MAINTAINER_MODE=no
11477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
11478 $as_echo "$USE_MAINTAINER_MODE" >&6; }
11479    if test $USE_MAINTAINER_MODE = yes; then
11480   MAINTAINER_MODE_TRUE=
11481   MAINTAINER_MODE_FALSE='#'
11482 else
11483   MAINTAINER_MODE_TRUE='#'
11484   MAINTAINER_MODE_FALSE=
11487   MAINT=$MAINTAINER_MODE_TRUE
11488   
11491 if test `expr $GLIB_MINOR_VERSION \% 2` = 1 ; then
11492         debug_default=yes
11493 else
11494         debug_default=minimum
11497 @%:@ Check whether --enable-debug was given.
11498 if test "${enable_debug+set}" = set; then :
11499   enableval=$enable_debug; 
11500 else
11501   enable_debug=$debug_default
11504 @%:@ Check whether --enable-mem_check was given.
11505 if test "${enable_mem_check+set}" = set; then :
11506   enableval=$enable_mem_check; 
11507 else
11508   enable_mem_check=no
11511 @%:@ Check whether --enable-mem_profile was given.
11512 if test "${enable_mem_profile+set}" = set; then :
11513   enableval=$enable_mem_profile; 
11514 else
11515   enable_mem_profile=no
11518 @%:@ Check whether --enable-ansi was given.
11519 if test "${enable_ansi+set}" = set; then :
11520   enableval=$enable_ansi; 
11521 else
11522   enable_ansi=no
11525 @%:@ Check whether --enable-threads was given.
11526 if test "${enable_threads+set}" = set; then :
11527   enableval=$enable_threads; 
11528 else
11529   enable_threads=yes
11533 if test "x$enable_threads" != "xyes"; then
11534   enable_threads=no
11537 mem_warn=false
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable memory checking" >&5
11540 $as_echo_n "checking whether to enable memory checking... " >&6; }
11541 if test "x$enable_mem_check" = "xyes"; then
11542   $as_echo "@%:@define ENABLE_MEM_CHECK 1" >>confdefs.h
11544   
11545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11546 $as_echo "yes" >&6; }
11547   mem_warn=true
11548 else
11549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11550 $as_echo "no" >&6; }
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable memory profiling" >&5
11554 $as_echo_n "checking whether to enable memory profiling... " >&6; }
11555 if test "x$enable_mem_profile" = "xyes"; then
11556   $as_echo "@%:@define ENABLE_MEM_PROFILE 1" >>confdefs.h
11558   
11559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11560 $as_echo "yes" >&6; }
11561   mem_warn=true
11562 else
11563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11564 $as_echo "no" >&6; }
11569 if $mem_warn ; then
11570   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 
11571 **********************************************************************
11572  You have specified --enable-mem-profile or --enable-mem-check. 
11573  These options are not recommended; they have not been thoroughly 
11574  tested, and may cause unwanted side-effects. If --enable-mem-check is 
11575  specified, NO MEMORY WILL BE FREED, EVER.
11577  References to better memory debugging tools can be found at:
11579   http://people.redhat.com/otaylor/memprof/memtools.html
11581 **********************************************************************" >&5
11582 $as_echo "$as_me: WARNING: 
11583 **********************************************************************
11584  You have specified --enable-mem-profile or --enable-mem-check. 
11585  These options are not recommended; they have not been thoroughly 
11586  tested, and may cause unwanted side-effects. If --enable-mem-check is 
11587  specified, NO MEMORY WILL BE FREED, EVER.
11589  References to better memory debugging tools can be found at:
11591   http://people.redhat.com/otaylor/memprof/memtools.html
11593 **********************************************************************" >&2;}
11596 if test "x$enable_debug" = "xyes"; then
11597   test "$cflags_set" = set || CFLAGS="$CFLAGS -g"
11598   GLIB_DEBUG_FLAGS="-DG_ENABLE_DEBUG"
11599 else
11600   if test "x$enable_debug" = "xno"; then
11601     GLIB_DEBUG_FLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS"
11602   fi
11605 cat >>confdefs.h <<_ACEOF
11606 @%:@define G_COMPILED_WITH_DEBUGGING "${enable_debug}"
11607 _ACEOF
11610 # Checks for programs.
11611 ac_ext=c
11612 ac_cpp='$CPP $CPPFLAGS'
11613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11616 if test -n "$ac_tool_prefix"; then
11617   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11618 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11620 $as_echo_n "checking for $ac_word... " >&6; }
11621 if ${ac_cv_prog_CC+:} false; then :
11622   $as_echo_n "(cached) " >&6
11623 else
11624   if test -n "$CC"; then
11625   ac_cv_prog_CC="$CC" # Let the user override the test.
11626 else
11627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11628 for as_dir in $PATH
11630   IFS=$as_save_IFS
11631   test -z "$as_dir" && as_dir=.
11632     for ac_exec_ext in '' $ac_executable_extensions; do
11633   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11634     ac_cv_prog_CC="${ac_tool_prefix}gcc"
11635     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11636     break 2
11637   fi
11638 done
11639   done
11640 IFS=$as_save_IFS
11644 CC=$ac_cv_prog_CC
11645 if test -n "$CC"; then
11646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11647 $as_echo "$CC" >&6; }
11648 else
11649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11650 $as_echo "no" >&6; }
11655 if test -z "$ac_cv_prog_CC"; then
11656   ac_ct_CC=$CC
11657   # Extract the first word of "gcc", so it can be a program name with args.
11658 set dummy gcc; ac_word=$2
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11660 $as_echo_n "checking for $ac_word... " >&6; }
11661 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11662   $as_echo_n "(cached) " >&6
11663 else
11664   if test -n "$ac_ct_CC"; then
11665   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11666 else
11667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11668 for as_dir in $PATH
11670   IFS=$as_save_IFS
11671   test -z "$as_dir" && as_dir=.
11672     for ac_exec_ext in '' $ac_executable_extensions; do
11673   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11674     ac_cv_prog_ac_ct_CC="gcc"
11675     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11676     break 2
11677   fi
11678 done
11679   done
11680 IFS=$as_save_IFS
11684 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11685 if test -n "$ac_ct_CC"; then
11686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11687 $as_echo "$ac_ct_CC" >&6; }
11688 else
11689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11690 $as_echo "no" >&6; }
11693   if test "x$ac_ct_CC" = x; then
11694     CC=""
11695   else
11696     case $cross_compiling:$ac_tool_warned in
11697 yes:)
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11699 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11700 ac_tool_warned=yes ;;
11701 esac
11702     CC=$ac_ct_CC
11703   fi
11704 else
11705   CC="$ac_cv_prog_CC"
11708 if test -z "$CC"; then
11709           if test -n "$ac_tool_prefix"; then
11710     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11711 set dummy ${ac_tool_prefix}cc; ac_word=$2
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11713 $as_echo_n "checking for $ac_word... " >&6; }
11714 if ${ac_cv_prog_CC+:} false; then :
11715   $as_echo_n "(cached) " >&6
11716 else
11717   if test -n "$CC"; then
11718   ac_cv_prog_CC="$CC" # Let the user override the test.
11719 else
11720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11721 for as_dir in $PATH
11723   IFS=$as_save_IFS
11724   test -z "$as_dir" && as_dir=.
11725     for ac_exec_ext in '' $ac_executable_extensions; do
11726   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11727     ac_cv_prog_CC="${ac_tool_prefix}cc"
11728     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11729     break 2
11730   fi
11731 done
11732   done
11733 IFS=$as_save_IFS
11737 CC=$ac_cv_prog_CC
11738 if test -n "$CC"; then
11739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11740 $as_echo "$CC" >&6; }
11741 else
11742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11743 $as_echo "no" >&6; }
11747   fi
11749 if test -z "$CC"; then
11750   # Extract the first word of "cc", so it can be a program name with args.
11751 set dummy cc; ac_word=$2
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11753 $as_echo_n "checking for $ac_word... " >&6; }
11754 if ${ac_cv_prog_CC+:} false; then :
11755   $as_echo_n "(cached) " >&6
11756 else
11757   if test -n "$CC"; then
11758   ac_cv_prog_CC="$CC" # Let the user override the test.
11759 else
11760   ac_prog_rejected=no
11761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11762 for as_dir in $PATH
11764   IFS=$as_save_IFS
11765   test -z "$as_dir" && as_dir=.
11766     for ac_exec_ext in '' $ac_executable_extensions; do
11767   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11768     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11769        ac_prog_rejected=yes
11770        continue
11771      fi
11772     ac_cv_prog_CC="cc"
11773     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11774     break 2
11775   fi
11776 done
11777   done
11778 IFS=$as_save_IFS
11780 if test $ac_prog_rejected = yes; then
11781   # We found a bogon in the path, so make sure we never use it.
11782   set dummy $ac_cv_prog_CC
11783   shift
11784   if test $@%:@ != 0; then
11785     # We chose a different compiler from the bogus one.
11786     # However, it has the same basename, so the bogon will be chosen
11787     # first if we set CC to just the basename; use the full file name.
11788     shift
11789     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11790   fi
11794 CC=$ac_cv_prog_CC
11795 if test -n "$CC"; then
11796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11797 $as_echo "$CC" >&6; }
11798 else
11799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11800 $as_echo "no" >&6; }
11805 if test -z "$CC"; then
11806   if test -n "$ac_tool_prefix"; then
11807   for ac_prog in cl.exe
11808   do
11809     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11810 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11812 $as_echo_n "checking for $ac_word... " >&6; }
11813 if ${ac_cv_prog_CC+:} false; then :
11814   $as_echo_n "(cached) " >&6
11815 else
11816   if test -n "$CC"; then
11817   ac_cv_prog_CC="$CC" # Let the user override the test.
11818 else
11819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11820 for as_dir in $PATH
11822   IFS=$as_save_IFS
11823   test -z "$as_dir" && as_dir=.
11824     for ac_exec_ext in '' $ac_executable_extensions; do
11825   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11826     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11827     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11828     break 2
11829   fi
11830 done
11831   done
11832 IFS=$as_save_IFS
11836 CC=$ac_cv_prog_CC
11837 if test -n "$CC"; then
11838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11839 $as_echo "$CC" >&6; }
11840 else
11841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11842 $as_echo "no" >&6; }
11846     test -n "$CC" && break
11847   done
11849 if test -z "$CC"; then
11850   ac_ct_CC=$CC
11851   for ac_prog in cl.exe
11853   # Extract the first word of "$ac_prog", so it can be a program name with args.
11854 set dummy $ac_prog; ac_word=$2
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11856 $as_echo_n "checking for $ac_word... " >&6; }
11857 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11858   $as_echo_n "(cached) " >&6
11859 else
11860   if test -n "$ac_ct_CC"; then
11861   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11862 else
11863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11864 for as_dir in $PATH
11866   IFS=$as_save_IFS
11867   test -z "$as_dir" && as_dir=.
11868     for ac_exec_ext in '' $ac_executable_extensions; do
11869   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11870     ac_cv_prog_ac_ct_CC="$ac_prog"
11871     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11872     break 2
11873   fi
11874 done
11875   done
11876 IFS=$as_save_IFS
11880 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11881 if test -n "$ac_ct_CC"; then
11882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11883 $as_echo "$ac_ct_CC" >&6; }
11884 else
11885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11886 $as_echo "no" >&6; }
11890   test -n "$ac_ct_CC" && break
11891 done
11893   if test "x$ac_ct_CC" = x; then
11894     CC=""
11895   else
11896     case $cross_compiling:$ac_tool_warned in
11897 yes:)
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11899 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11900 ac_tool_warned=yes ;;
11901 esac
11902     CC=$ac_ct_CC
11903   fi
11909 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11910 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11911 as_fn_error $? "no acceptable C compiler found in \$PATH
11912 See \`config.log' for more details" "$LINENO" 5; }
11914 # Provide some information about the compiler.
11915 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11916 set X $ac_compile
11917 ac_compiler=$2
11918 for ac_option in --version -v -V -qversion; do
11919   { { ac_try="$ac_compiler $ac_option >&5"
11920 case "(($ac_try" in
11921   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11922   *) ac_try_echo=$ac_try;;
11923 esac
11924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11925 $as_echo "$ac_try_echo"; } >&5
11926   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11927   ac_status=$?
11928   if test -s conftest.err; then
11929     sed '10a\
11930 ... rest of stderr output deleted ...
11931          10q' conftest.err >conftest.er1
11932     cat conftest.er1 >&5
11933   fi
11934   rm -f conftest.er1 conftest.err
11935   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11936   test $ac_status = 0; }
11937 done
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11940 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11941 if ${ac_cv_c_compiler_gnu+:} false; then :
11942   $as_echo_n "(cached) " >&6
11943 else
11944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11945 /* end confdefs.h.  */
11948 main ()
11950 #ifndef __GNUC__
11951        choke me
11952 #endif
11954   ;
11955   return 0;
11957 _ACEOF
11958 if ac_fn_c_try_compile "$LINENO"; then :
11959   ac_compiler_gnu=yes
11960 else
11961   ac_compiler_gnu=no
11963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11964 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11968 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11969 if test $ac_compiler_gnu = yes; then
11970   GCC=yes
11971 else
11972   GCC=
11974 ac_test_CFLAGS=${CFLAGS+set}
11975 ac_save_CFLAGS=$CFLAGS
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11977 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11978 if ${ac_cv_prog_cc_g+:} false; then :
11979   $as_echo_n "(cached) " >&6
11980 else
11981   ac_save_c_werror_flag=$ac_c_werror_flag
11982    ac_c_werror_flag=yes
11983    ac_cv_prog_cc_g=no
11984    CFLAGS="-g"
11985    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11986 /* end confdefs.h.  */
11989 main ()
11992   ;
11993   return 0;
11995 _ACEOF
11996 if ac_fn_c_try_compile "$LINENO"; then :
11997   ac_cv_prog_cc_g=yes
11998 else
11999   CFLAGS=""
12000       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12001 /* end confdefs.h.  */
12004 main ()
12007   ;
12008   return 0;
12010 _ACEOF
12011 if ac_fn_c_try_compile "$LINENO"; then :
12012   
12013 else
12014   ac_c_werror_flag=$ac_save_c_werror_flag
12015          CFLAGS="-g"
12016          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12017 /* end confdefs.h.  */
12020 main ()
12023   ;
12024   return 0;
12026 _ACEOF
12027 if ac_fn_c_try_compile "$LINENO"; then :
12028   ac_cv_prog_cc_g=yes
12030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12035    ac_c_werror_flag=$ac_save_c_werror_flag
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12038 $as_echo "$ac_cv_prog_cc_g" >&6; }
12039 if test "$ac_test_CFLAGS" = set; then
12040   CFLAGS=$ac_save_CFLAGS
12041 elif test $ac_cv_prog_cc_g = yes; then
12042   if test "$GCC" = yes; then
12043     CFLAGS="-g -O2"
12044   else
12045     CFLAGS="-g"
12046   fi
12047 else
12048   if test "$GCC" = yes; then
12049     CFLAGS="-O2"
12050   else
12051     CFLAGS=
12052   fi
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12055 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12056 if ${ac_cv_prog_cc_c89+:} false; then :
12057   $as_echo_n "(cached) " >&6
12058 else
12059   ac_cv_prog_cc_c89=no
12060 ac_save_CC=$CC
12061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12062 /* end confdefs.h.  */
12063 #include <stdarg.h>
12064 #include <stdio.h>
12065 #include <sys/types.h>
12066 #include <sys/stat.h>
12067 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
12068 struct buf { int x; };
12069 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12070 static char *e (p, i)
12071      char **p;
12072      int i;
12074   return p[i];
12076 static char *f (char * (*g) (char **, int), char **p, ...)
12078   char *s;
12079   va_list v;
12080   va_start (v,p);
12081   s = g (p, va_arg (v,int));
12082   va_end (v);
12083   return s;
12086 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
12087    function prototypes and stuff, but not '\xHH' hex character constants.
12088    These don't provoke an error unfortunately, instead are silently treated
12089    as 'x'.  The following induces an error, until -std is added to get
12090    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
12091    array size at least.  It's necessary to write '\x00'==0 to get something
12092    that's true only with -std.  */
12093 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12095 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12096    inside strings and character constants.  */
12097 #define FOO(x) 'x'
12098 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12100 int test (int i, double x);
12101 struct s1 {int (*f) (int a);};
12102 struct s2 {int (*f) (double a);};
12103 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12104 int argc;
12105 char **argv;
12107 main ()
12109 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12110   ;
12111   return 0;
12113 _ACEOF
12114 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12115         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12117   CC="$ac_save_CC $ac_arg"
12118   if ac_fn_c_try_compile "$LINENO"; then :
12119   ac_cv_prog_cc_c89=$ac_arg
12121 rm -f core conftest.err conftest.$ac_objext
12122   test "x$ac_cv_prog_cc_c89" != "xno" && break
12123 done
12124 rm -f conftest.$ac_ext
12125 CC=$ac_save_CC
12128 # AC_CACHE_VAL
12129 case "x$ac_cv_prog_cc_c89" in
12130   x)
12131     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12132 $as_echo "none needed" >&6; } ;;
12133   xno)
12134     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12135 $as_echo "unsupported" >&6; } ;;
12136   *)
12137     CC="$CC $ac_cv_prog_cc_c89"
12138     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12139 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12140 esac
12141 if test "x$ac_cv_prog_cc_c89" != xno; then :
12142   
12145 ac_ext=c
12146 ac_cpp='$CPP $CPPFLAGS'
12147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12151 depcc="$CC"   am_compiler_list=
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12154 $as_echo_n "checking dependency style of $depcc... " >&6; }
12155 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12156   $as_echo_n "(cached) " >&6
12157 else
12158   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12159   # We make a subdir and do the tests there.  Otherwise we can end up
12160   # making bogus files that we don't know about and never remove.  For
12161   # instance it was reported that on HP-UX the gcc test will end up
12162   # making a dummy file named `D' -- because `-MD' means `put the output
12163   # in D'.
12164   mkdir conftest.dir
12165   # Copy depcomp to subdir because otherwise we won't find it if we're
12166   # using a relative directory.
12167   cp "$am_depcomp" conftest.dir
12168   cd conftest.dir
12169   # We will build objects and dependencies in a subdirectory because
12170   # it helps to detect inapplicable dependency modes.  For instance
12171   # both Tru64's cc and ICC support -MD to output dependencies as a
12172   # side effect of compilation, but ICC will put the dependencies in
12173   # the current directory while Tru64 will put them in the object
12174   # directory.
12175   mkdir sub
12177   am_cv_CC_dependencies_compiler_type=none
12178   if test "$am_compiler_list" = ""; then
12179      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12180   fi
12181   am__universal=false
12182   case " $depcc " in #(
12183      *\ -arch\ *\ -arch\ *) am__universal=true ;;
12184      esac
12186   for depmode in $am_compiler_list; do
12187     # Setup a source with many dependencies, because some compilers
12188     # like to wrap large dependency lists on column 80 (with \), and
12189     # we should not choose a depcomp mode which is confused by this.
12190     #
12191     # We need to recreate these files for each test, as the compiler may
12192     # overwrite some of them when testing with obscure command lines.
12193     # This happens at least with the AIX C compiler.
12194     : > sub/conftest.c
12195     for i in 1 2 3 4 5 6; do
12196       echo '#include "conftst'$i'.h"' >> sub/conftest.c
12197       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12198       # Solaris 8's {/usr,}/bin/sh.
12199       touch sub/conftst$i.h
12200     done
12201     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12203     # We check with `-c' and `-o' for the sake of the "dashmstdout"
12204     # mode.  It turns out that the SunPro C++ compiler does not properly
12205     # handle `-M -o', and we need to detect this.  Also, some Intel
12206     # versions had trouble with output in subdirs
12207     am__obj=sub/conftest.${OBJEXT-o}
12208     am__minus_obj="-o $am__obj"
12209     case $depmode in
12210     gcc)
12211       # This depmode causes a compiler race in universal mode.
12212       test "$am__universal" = false || continue
12213       ;;
12214     nosideeffect)
12215       # after this tag, mechanisms are not by side-effect, so they'll
12216       # only be used when explicitly requested
12217       if test "x$enable_dependency_tracking" = xyes; then
12218         continue
12219       else
12220         break
12221       fi
12222       ;;
12223     msvisualcpp | msvcmsys)
12224       # This compiler won't grok `-c -o', but also, the minuso test has
12225       # not run yet.  These depmodes are late enough in the game, and
12226       # so weak that their functioning should not be impacted.
12227       am__obj=conftest.${OBJEXT-o}
12228       am__minus_obj=
12229       ;;
12230     none) break ;;
12231     esac
12232     if depmode=$depmode \
12233        source=sub/conftest.c object=$am__obj \
12234        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12235        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12236          >/dev/null 2>conftest.err &&
12237        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12238        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12239        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12240        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12241       # icc doesn't choke on unknown options, it will just issue warnings
12242       # or remarks (even with -Werror).  So we grep stderr for any message
12243       # that says an option was ignored or not supported.
12244       # When given -MP, icc 7.0 and 7.1 complain thusly:
12245       #   icc: Command line warning: ignoring option '-M'; no argument required
12246       # The diagnosis changed in icc 8.0:
12247       #   icc: Command line remark: option '-MP' not supported
12248       if (grep 'ignoring option' conftest.err ||
12249           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12250         am_cv_CC_dependencies_compiler_type=$depmode
12251         break
12252       fi
12253     fi
12254   done
12256   cd ..
12257   rm -rf conftest.dir
12258 else
12259   am_cv_CC_dependencies_compiler_type=none
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12264 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12265 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12267  if 
12268   test "x$enable_dependency_tracking" != xno \
12269   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12270   am__fastdepCC_TRUE=
12271   am__fastdepCC_FALSE='#'
12272 else
12273   am__fastdepCC_TRUE='#'
12274   am__fastdepCC_FALSE=
12278 ac_ext=c
12279 ac_cpp='$CPP $CPPFLAGS'
12280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12283 if test -n "$ac_tool_prefix"; then
12284   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12285 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12287 $as_echo_n "checking for $ac_word... " >&6; }
12288 if ${ac_cv_prog_CC+:} false; then :
12289   $as_echo_n "(cached) " >&6
12290 else
12291   if test -n "$CC"; then
12292   ac_cv_prog_CC="$CC" # Let the user override the test.
12293 else
12294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12295 for as_dir in $PATH
12297   IFS=$as_save_IFS
12298   test -z "$as_dir" && as_dir=.
12299     for ac_exec_ext in '' $ac_executable_extensions; do
12300   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12301     ac_cv_prog_CC="${ac_tool_prefix}gcc"
12302     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12303     break 2
12304   fi
12305 done
12306   done
12307 IFS=$as_save_IFS
12311 CC=$ac_cv_prog_CC
12312 if test -n "$CC"; then
12313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12314 $as_echo "$CC" >&6; }
12315 else
12316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12317 $as_echo "no" >&6; }
12322 if test -z "$ac_cv_prog_CC"; then
12323   ac_ct_CC=$CC
12324   # Extract the first word of "gcc", so it can be a program name with args.
12325 set dummy gcc; ac_word=$2
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12327 $as_echo_n "checking for $ac_word... " >&6; }
12328 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12329   $as_echo_n "(cached) " >&6
12330 else
12331   if test -n "$ac_ct_CC"; then
12332   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12333 else
12334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12335 for as_dir in $PATH
12337   IFS=$as_save_IFS
12338   test -z "$as_dir" && as_dir=.
12339     for ac_exec_ext in '' $ac_executable_extensions; do
12340   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12341     ac_cv_prog_ac_ct_CC="gcc"
12342     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12343     break 2
12344   fi
12345 done
12346   done
12347 IFS=$as_save_IFS
12351 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12352 if test -n "$ac_ct_CC"; then
12353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12354 $as_echo "$ac_ct_CC" >&6; }
12355 else
12356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12357 $as_echo "no" >&6; }
12360   if test "x$ac_ct_CC" = x; then
12361     CC=""
12362   else
12363     case $cross_compiling:$ac_tool_warned in
12364 yes:)
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12366 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12367 ac_tool_warned=yes ;;
12368 esac
12369     CC=$ac_ct_CC
12370   fi
12371 else
12372   CC="$ac_cv_prog_CC"
12375 if test -z "$CC"; then
12376           if test -n "$ac_tool_prefix"; then
12377     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12378 set dummy ${ac_tool_prefix}cc; ac_word=$2
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12380 $as_echo_n "checking for $ac_word... " >&6; }
12381 if ${ac_cv_prog_CC+:} false; then :
12382   $as_echo_n "(cached) " >&6
12383 else
12384   if test -n "$CC"; then
12385   ac_cv_prog_CC="$CC" # Let the user override the test.
12386 else
12387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12388 for as_dir in $PATH
12390   IFS=$as_save_IFS
12391   test -z "$as_dir" && as_dir=.
12392     for ac_exec_ext in '' $ac_executable_extensions; do
12393   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12394     ac_cv_prog_CC="${ac_tool_prefix}cc"
12395     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12396     break 2
12397   fi
12398 done
12399   done
12400 IFS=$as_save_IFS
12404 CC=$ac_cv_prog_CC
12405 if test -n "$CC"; then
12406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12407 $as_echo "$CC" >&6; }
12408 else
12409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12410 $as_echo "no" >&6; }
12414   fi
12416 if test -z "$CC"; then
12417   # Extract the first word of "cc", so it can be a program name with args.
12418 set dummy cc; ac_word=$2
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12420 $as_echo_n "checking for $ac_word... " >&6; }
12421 if ${ac_cv_prog_CC+:} false; then :
12422   $as_echo_n "(cached) " >&6
12423 else
12424   if test -n "$CC"; then
12425   ac_cv_prog_CC="$CC" # Let the user override the test.
12426 else
12427   ac_prog_rejected=no
12428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12429 for as_dir in $PATH
12431   IFS=$as_save_IFS
12432   test -z "$as_dir" && as_dir=.
12433     for ac_exec_ext in '' $ac_executable_extensions; do
12434   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12435     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12436        ac_prog_rejected=yes
12437        continue
12438      fi
12439     ac_cv_prog_CC="cc"
12440     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12441     break 2
12442   fi
12443 done
12444   done
12445 IFS=$as_save_IFS
12447 if test $ac_prog_rejected = yes; then
12448   # We found a bogon in the path, so make sure we never use it.
12449   set dummy $ac_cv_prog_CC
12450   shift
12451   if test $@%:@ != 0; then
12452     # We chose a different compiler from the bogus one.
12453     # However, it has the same basename, so the bogon will be chosen
12454     # first if we set CC to just the basename; use the full file name.
12455     shift
12456     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12457   fi
12461 CC=$ac_cv_prog_CC
12462 if test -n "$CC"; then
12463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12464 $as_echo "$CC" >&6; }
12465 else
12466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12467 $as_echo "no" >&6; }
12472 if test -z "$CC"; then
12473   if test -n "$ac_tool_prefix"; then
12474   for ac_prog in cl.exe
12475   do
12476     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12477 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12479 $as_echo_n "checking for $ac_word... " >&6; }
12480 if ${ac_cv_prog_CC+:} false; then :
12481   $as_echo_n "(cached) " >&6
12482 else
12483   if test -n "$CC"; then
12484   ac_cv_prog_CC="$CC" # Let the user override the test.
12485 else
12486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12487 for as_dir in $PATH
12489   IFS=$as_save_IFS
12490   test -z "$as_dir" && as_dir=.
12491     for ac_exec_ext in '' $ac_executable_extensions; do
12492   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12493     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12494     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12495     break 2
12496   fi
12497 done
12498   done
12499 IFS=$as_save_IFS
12503 CC=$ac_cv_prog_CC
12504 if test -n "$CC"; then
12505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12506 $as_echo "$CC" >&6; }
12507 else
12508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12509 $as_echo "no" >&6; }
12513     test -n "$CC" && break
12514   done
12516 if test -z "$CC"; then
12517   ac_ct_CC=$CC
12518   for ac_prog in cl.exe
12520   # Extract the first word of "$ac_prog", so it can be a program name with args.
12521 set dummy $ac_prog; ac_word=$2
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12523 $as_echo_n "checking for $ac_word... " >&6; }
12524 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12525   $as_echo_n "(cached) " >&6
12526 else
12527   if test -n "$ac_ct_CC"; then
12528   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12529 else
12530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12531 for as_dir in $PATH
12533   IFS=$as_save_IFS
12534   test -z "$as_dir" && as_dir=.
12535     for ac_exec_ext in '' $ac_executable_extensions; do
12536   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12537     ac_cv_prog_ac_ct_CC="$ac_prog"
12538     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12539     break 2
12540   fi
12541 done
12542   done
12543 IFS=$as_save_IFS
12547 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12548 if test -n "$ac_ct_CC"; then
12549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12550 $as_echo "$ac_ct_CC" >&6; }
12551 else
12552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12553 $as_echo "no" >&6; }
12557   test -n "$ac_ct_CC" && break
12558 done
12560   if test "x$ac_ct_CC" = x; then
12561     CC=""
12562   else
12563     case $cross_compiling:$ac_tool_warned in
12564 yes:)
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12566 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12567 ac_tool_warned=yes ;;
12568 esac
12569     CC=$ac_ct_CC
12570   fi
12576 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12578 as_fn_error $? "no acceptable C compiler found in \$PATH
12579 See \`config.log' for more details" "$LINENO" 5; }
12581 # Provide some information about the compiler.
12582 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12583 set X $ac_compile
12584 ac_compiler=$2
12585 for ac_option in --version -v -V -qversion; do
12586   { { ac_try="$ac_compiler $ac_option >&5"
12587 case "(($ac_try" in
12588   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12589   *) ac_try_echo=$ac_try;;
12590 esac
12591 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12592 $as_echo "$ac_try_echo"; } >&5
12593   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12594   ac_status=$?
12595   if test -s conftest.err; then
12596     sed '10a\
12597 ... rest of stderr output deleted ...
12598          10q' conftest.err >conftest.er1
12599     cat conftest.er1 >&5
12600   fi
12601   rm -f conftest.er1 conftest.err
12602   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12603   test $ac_status = 0; }
12604 done
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12607 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12608 if ${ac_cv_c_compiler_gnu+:} false; then :
12609   $as_echo_n "(cached) " >&6
12610 else
12611   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12612 /* end confdefs.h.  */
12615 main ()
12617 #ifndef __GNUC__
12618        choke me
12619 #endif
12621   ;
12622   return 0;
12624 _ACEOF
12625 if ac_fn_c_try_compile "$LINENO"; then :
12626   ac_compiler_gnu=yes
12627 else
12628   ac_compiler_gnu=no
12630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12631 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12635 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12636 if test $ac_compiler_gnu = yes; then
12637   GCC=yes
12638 else
12639   GCC=
12641 ac_test_CFLAGS=${CFLAGS+set}
12642 ac_save_CFLAGS=$CFLAGS
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12644 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12645 if ${ac_cv_prog_cc_g+:} false; then :
12646   $as_echo_n "(cached) " >&6
12647 else
12648   ac_save_c_werror_flag=$ac_c_werror_flag
12649    ac_c_werror_flag=yes
12650    ac_cv_prog_cc_g=no
12651    CFLAGS="-g"
12652    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12653 /* end confdefs.h.  */
12656 main ()
12659   ;
12660   return 0;
12662 _ACEOF
12663 if ac_fn_c_try_compile "$LINENO"; then :
12664   ac_cv_prog_cc_g=yes
12665 else
12666   CFLAGS=""
12667       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12668 /* end confdefs.h.  */
12671 main ()
12674   ;
12675   return 0;
12677 _ACEOF
12678 if ac_fn_c_try_compile "$LINENO"; then :
12679   
12680 else
12681   ac_c_werror_flag=$ac_save_c_werror_flag
12682          CFLAGS="-g"
12683          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12684 /* end confdefs.h.  */
12687 main ()
12690   ;
12691   return 0;
12693 _ACEOF
12694 if ac_fn_c_try_compile "$LINENO"; then :
12695   ac_cv_prog_cc_g=yes
12697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12702    ac_c_werror_flag=$ac_save_c_werror_flag
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12705 $as_echo "$ac_cv_prog_cc_g" >&6; }
12706 if test "$ac_test_CFLAGS" = set; then
12707   CFLAGS=$ac_save_CFLAGS
12708 elif test $ac_cv_prog_cc_g = yes; then
12709   if test "$GCC" = yes; then
12710     CFLAGS="-g -O2"
12711   else
12712     CFLAGS="-g"
12713   fi
12714 else
12715   if test "$GCC" = yes; then
12716     CFLAGS="-O2"
12717   else
12718     CFLAGS=
12719   fi
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12722 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12723 if ${ac_cv_prog_cc_c89+:} false; then :
12724   $as_echo_n "(cached) " >&6
12725 else
12726   ac_cv_prog_cc_c89=no
12727 ac_save_CC=$CC
12728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12729 /* end confdefs.h.  */
12730 #include <stdarg.h>
12731 #include <stdio.h>
12732 #include <sys/types.h>
12733 #include <sys/stat.h>
12734 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
12735 struct buf { int x; };
12736 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12737 static char *e (p, i)
12738      char **p;
12739      int i;
12741   return p[i];
12743 static char *f (char * (*g) (char **, int), char **p, ...)
12745   char *s;
12746   va_list v;
12747   va_start (v,p);
12748   s = g (p, va_arg (v,int));
12749   va_end (v);
12750   return s;
12753 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
12754    function prototypes and stuff, but not '\xHH' hex character constants.
12755    These don't provoke an error unfortunately, instead are silently treated
12756    as 'x'.  The following induces an error, until -std is added to get
12757    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
12758    array size at least.  It's necessary to write '\x00'==0 to get something
12759    that's true only with -std.  */
12760 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12762 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12763    inside strings and character constants.  */
12764 #define FOO(x) 'x'
12765 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12767 int test (int i, double x);
12768 struct s1 {int (*f) (int a);};
12769 struct s2 {int (*f) (double a);};
12770 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12771 int argc;
12772 char **argv;
12774 main ()
12776 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12777   ;
12778   return 0;
12780 _ACEOF
12781 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12782         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12784   CC="$ac_save_CC $ac_arg"
12785   if ac_fn_c_try_compile "$LINENO"; then :
12786   ac_cv_prog_cc_c89=$ac_arg
12788 rm -f core conftest.err conftest.$ac_objext
12789   test "x$ac_cv_prog_cc_c89" != "xno" && break
12790 done
12791 rm -f conftest.$ac_ext
12792 CC=$ac_save_CC
12795 # AC_CACHE_VAL
12796 case "x$ac_cv_prog_cc_c89" in
12797   x)
12798     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12799 $as_echo "none needed" >&6; } ;;
12800   xno)
12801     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12802 $as_echo "unsupported" >&6; } ;;
12803   *)
12804     CC="$CC $ac_cv_prog_cc_c89"
12805     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12806 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12807 esac
12808 if test "x$ac_cv_prog_cc_c89" != xno; then :
12809   
12812 ac_ext=c
12813 ac_cpp='$CPP $CPPFLAGS'
12814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12818 depcc="$CC"   am_compiler_list=
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12821 $as_echo_n "checking dependency style of $depcc... " >&6; }
12822 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12823   $as_echo_n "(cached) " >&6
12824 else
12825   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12826   # We make a subdir and do the tests there.  Otherwise we can end up
12827   # making bogus files that we don't know about and never remove.  For
12828   # instance it was reported that on HP-UX the gcc test will end up
12829   # making a dummy file named `D' -- because `-MD' means `put the output
12830   # in D'.
12831   mkdir conftest.dir
12832   # Copy depcomp to subdir because otherwise we won't find it if we're
12833   # using a relative directory.
12834   cp "$am_depcomp" conftest.dir
12835   cd conftest.dir
12836   # We will build objects and dependencies in a subdirectory because
12837   # it helps to detect inapplicable dependency modes.  For instance
12838   # both Tru64's cc and ICC support -MD to output dependencies as a
12839   # side effect of compilation, but ICC will put the dependencies in
12840   # the current directory while Tru64 will put them in the object
12841   # directory.
12842   mkdir sub
12844   am_cv_CC_dependencies_compiler_type=none
12845   if test "$am_compiler_list" = ""; then
12846      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12847   fi
12848   am__universal=false
12849   case " $depcc " in #(
12850      *\ -arch\ *\ -arch\ *) am__universal=true ;;
12851      esac
12853   for depmode in $am_compiler_list; do
12854     # Setup a source with many dependencies, because some compilers
12855     # like to wrap large dependency lists on column 80 (with \), and
12856     # we should not choose a depcomp mode which is confused by this.
12857     #
12858     # We need to recreate these files for each test, as the compiler may
12859     # overwrite some of them when testing with obscure command lines.
12860     # This happens at least with the AIX C compiler.
12861     : > sub/conftest.c
12862     for i in 1 2 3 4 5 6; do
12863       echo '#include "conftst'$i'.h"' >> sub/conftest.c
12864       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12865       # Solaris 8's {/usr,}/bin/sh.
12866       touch sub/conftst$i.h
12867     done
12868     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12870     # We check with `-c' and `-o' for the sake of the "dashmstdout"
12871     # mode.  It turns out that the SunPro C++ compiler does not properly
12872     # handle `-M -o', and we need to detect this.  Also, some Intel
12873     # versions had trouble with output in subdirs
12874     am__obj=sub/conftest.${OBJEXT-o}
12875     am__minus_obj="-o $am__obj"
12876     case $depmode in
12877     gcc)
12878       # This depmode causes a compiler race in universal mode.
12879       test "$am__universal" = false || continue
12880       ;;
12881     nosideeffect)
12882       # after this tag, mechanisms are not by side-effect, so they'll
12883       # only be used when explicitly requested
12884       if test "x$enable_dependency_tracking" = xyes; then
12885         continue
12886       else
12887         break
12888       fi
12889       ;;
12890     msvisualcpp | msvcmsys)
12891       # This compiler won't grok `-c -o', but also, the minuso test has
12892       # not run yet.  These depmodes are late enough in the game, and
12893       # so weak that their functioning should not be impacted.
12894       am__obj=conftest.${OBJEXT-o}
12895       am__minus_obj=
12896       ;;
12897     none) break ;;
12898     esac
12899     if depmode=$depmode \
12900        source=sub/conftest.c object=$am__obj \
12901        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12902        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12903          >/dev/null 2>conftest.err &&
12904        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12905        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12906        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12907        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12908       # icc doesn't choke on unknown options, it will just issue warnings
12909       # or remarks (even with -Werror).  So we grep stderr for any message
12910       # that says an option was ignored or not supported.
12911       # When given -MP, icc 7.0 and 7.1 complain thusly:
12912       #   icc: Command line warning: ignoring option '-M'; no argument required
12913       # The diagnosis changed in icc 8.0:
12914       #   icc: Command line remark: option '-MP' not supported
12915       if (grep 'ignoring option' conftest.err ||
12916           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12917         am_cv_CC_dependencies_compiler_type=$depmode
12918         break
12919       fi
12920     fi
12921   done
12923   cd ..
12924   rm -rf conftest.dir
12925 else
12926   am_cv_CC_dependencies_compiler_type=none
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12931 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12932 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12934  if 
12935   test "x$enable_dependency_tracking" != xno \
12936   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12937   am__fastdepCC_TRUE=
12938   am__fastdepCC_FALSE='#'
12939 else
12940   am__fastdepCC_TRUE='#'
12941   am__fastdepCC_FALSE=
12946 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
12950 if test "x$GCC" = "xyes"; then
12951   case " $CFLAGS " in
12952   *[\ \ ]-Wall[\ \      ]*) ;;
12953   *) CFLAGS="$CFLAGS -Wall" ;;
12954   esac
12956   if test "x$enable_ansi" = "xyes"; then
12957     case " $CFLAGS " in
12958     *[\ \       ]-ansi[\ \      ]*) ;;
12959     *) CFLAGS="$CFLAGS -ansi" ;;
12960     esac
12962     case " $CFLAGS " in
12963     *[\ \       ]-pedantic[\ \  ]*) ;;
12964     *) CFLAGS="$CFLAGS -pedantic" ;;
12965     esac
12966   fi
12969 # Checks for header files.
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12971 $as_echo_n "checking for ANSI C header files... " >&6; }
12972 if ${ac_cv_header_stdc+:} false; then :
12973   $as_echo_n "(cached) " >&6
12974 else
12975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12976 /* end confdefs.h.  */
12977 #include <stdlib.h>
12978 #include <stdarg.h>
12979 #include <string.h>
12980 #include <float.h>
12983 main ()
12986   ;
12987   return 0;
12989 _ACEOF
12990 if ac_fn_c_try_compile "$LINENO"; then :
12991   ac_cv_header_stdc=yes
12992 else
12993   ac_cv_header_stdc=no
12995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12997 if test $ac_cv_header_stdc = yes; then
12998   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13000 /* end confdefs.h.  */
13001 #include <string.h>
13003 _ACEOF
13004 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13005   $EGREP "memchr" >/dev/null 2>&1; then :
13006   
13007 else
13008   ac_cv_header_stdc=no
13010 rm -f conftest*
13014 if test $ac_cv_header_stdc = yes; then
13015   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13016   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13017 /* end confdefs.h.  */
13018 #include <stdlib.h>
13020 _ACEOF
13021 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13022   $EGREP "free" >/dev/null 2>&1; then :
13023   
13024 else
13025   ac_cv_header_stdc=no
13027 rm -f conftest*
13031 if test $ac_cv_header_stdc = yes; then
13032   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13033   if test "$cross_compiling" = yes; then :
13034   :
13035 else
13036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13037 /* end confdefs.h.  */
13038 #include <ctype.h>
13039 #include <stdlib.h>
13040 #if ((' ' & 0x0FF) == 0x020)
13041 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13042 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13043 #else
13044 # define ISLOWER(c) \
13045                    (('a' <= (c) && (c) <= 'i') \
13046                      || ('j' <= (c) && (c) <= 'r') \
13047                      || ('s' <= (c) && (c) <= 'z'))
13048 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13049 #endif
13051 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13053 main ()
13055   int i;
13056   for (i = 0; i < 256; i++)
13057     if (XOR (islower (i), ISLOWER (i))
13058         || toupper (i) != TOUPPER (i))
13059       return 2;
13060   return 0;
13062 _ACEOF
13063 if ac_fn_c_try_run "$LINENO"; then :
13064   
13065 else
13066   ac_cv_header_stdc=no
13068 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13069   conftest.$ac_objext conftest.beam conftest.$ac_ext
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13075 $as_echo "$ac_cv_header_stdc" >&6; }
13076 if test $ac_cv_header_stdc = yes; then
13077   
13078 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
13083 # Checks for library functions.
13084 for ac_func in vprintf
13085 do :
13086   ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
13087 if test "x$ac_cv_func_vprintf" = xyes; then :
13088   cat >>confdefs.h <<_ACEOF
13089 @%:@define HAVE_VPRINTF 1
13090 _ACEOF
13092 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
13093 if test "x$ac_cv_func__doprnt" = xyes; then :
13094   
13095 $as_echo "@%:@define HAVE_DOPRNT 1" >>confdefs.h
13100 done
13104 for ac_func in atexit on_exit
13105 do :
13106   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13107 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13108 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13109   cat >>confdefs.h <<_ACEOF
13110 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13111 _ACEOF
13114 done
13117 # The cast to long int works around a bug in the HP C Compiler
13118 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13119 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13120 # This bug is HP SR number 8606223364.
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
13122 $as_echo_n "checking size of char... " >&6; }
13123 if ${ac_cv_sizeof_char+:} false; then :
13124   $as_echo_n "(cached) " >&6
13125 else
13126   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
13127   
13128 else
13129   if test "$ac_cv_type_char" = yes; then
13130      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13131 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13132 as_fn_error 77 "cannot compute sizeof (char)
13133 See \`config.log' for more details" "$LINENO" 5; }
13134    else
13135      ac_cv_sizeof_char=0
13136    fi
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
13141 $as_echo "$ac_cv_sizeof_char" >&6; }
13145 cat >>confdefs.h <<_ACEOF
13146 @%:@define SIZEOF_CHAR $ac_cv_sizeof_char
13147 _ACEOF
13150 # The cast to long int works around a bug in the HP C Compiler
13151 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13152 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13153 # This bug is HP SR number 8606223364.
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
13155 $as_echo_n "checking size of short... " >&6; }
13156 if ${ac_cv_sizeof_short+:} false; then :
13157   $as_echo_n "(cached) " >&6
13158 else
13159   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
13160   
13161 else
13162   if test "$ac_cv_type_short" = yes; then
13163      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13164 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13165 as_fn_error 77 "cannot compute sizeof (short)
13166 See \`config.log' for more details" "$LINENO" 5; }
13167    else
13168      ac_cv_sizeof_short=0
13169    fi
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
13174 $as_echo "$ac_cv_sizeof_short" >&6; }
13178 cat >>confdefs.h <<_ACEOF
13179 @%:@define SIZEOF_SHORT $ac_cv_sizeof_short
13180 _ACEOF
13183 # The cast to long int works around a bug in the HP C Compiler
13184 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13185 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13186 # This bug is HP SR number 8606223364.
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
13188 $as_echo_n "checking size of long... " >&6; }
13189 if ${ac_cv_sizeof_long+:} false; then :
13190   $as_echo_n "(cached) " >&6
13191 else
13192   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
13193   
13194 else
13195   if test "$ac_cv_type_long" = yes; then
13196      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13198 as_fn_error 77 "cannot compute sizeof (long)
13199 See \`config.log' for more details" "$LINENO" 5; }
13200    else
13201      ac_cv_sizeof_long=0
13202    fi
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
13207 $as_echo "$ac_cv_sizeof_long" >&6; }
13211 cat >>confdefs.h <<_ACEOF
13212 @%:@define SIZEOF_LONG $ac_cv_sizeof_long
13213 _ACEOF
13216 # The cast to long int works around a bug in the HP C Compiler
13217 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13218 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13219 # This bug is HP SR number 8606223364.
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
13221 $as_echo_n "checking size of int... " >&6; }
13222 if ${ac_cv_sizeof_int+:} false; then :
13223   $as_echo_n "(cached) " >&6
13224 else
13225   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
13226   
13227 else
13228   if test "$ac_cv_type_int" = yes; then
13229      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13230 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13231 as_fn_error 77 "cannot compute sizeof (int)
13232 See \`config.log' for more details" "$LINENO" 5; }
13233    else
13234      ac_cv_sizeof_int=0
13235    fi
13239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
13240 $as_echo "$ac_cv_sizeof_int" >&6; }
13244 cat >>confdefs.h <<_ACEOF
13245 @%:@define SIZEOF_INT $ac_cv_sizeof_int
13246 _ACEOF
13249 # The cast to long int works around a bug in the HP C Compiler
13250 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13251 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13252 # This bug is HP SR number 8606223364.
13253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
13254 $as_echo_n "checking size of void *... " >&6; }
13255 if ${ac_cv_sizeof_void_p+:} false; then :
13256   $as_echo_n "(cached) " >&6
13257 else
13258   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
13259   
13260 else
13261   if test "$ac_cv_type_void_p" = yes; then
13262      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13263 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13264 as_fn_error 77 "cannot compute sizeof (void *)
13265 See \`config.log' for more details" "$LINENO" 5; }
13266    else
13267      ac_cv_sizeof_void_p=0
13268    fi
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
13273 $as_echo "$ac_cv_sizeof_void_p" >&6; }
13277 cat >>confdefs.h <<_ACEOF
13278 @%:@define SIZEOF_VOID_P $ac_cv_sizeof_void_p
13279 _ACEOF
13282 # The cast to long int works around a bug in the HP C Compiler
13283 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13284 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13285 # This bug is HP SR number 8606223364.
13286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
13287 $as_echo_n "checking size of long long... " >&6; }
13288 if ${ac_cv_sizeof_long_long+:} false; then :
13289   $as_echo_n "(cached) " >&6
13290 else
13291   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
13292   
13293 else
13294   if test "$ac_cv_type_long_long" = yes; then
13295      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13297 as_fn_error 77 "cannot compute sizeof (long long)
13298 See \`config.log' for more details" "$LINENO" 5; }
13299    else
13300      ac_cv_sizeof_long_long=0
13301    fi
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
13306 $as_echo "$ac_cv_sizeof_long_long" >&6; }
13310 cat >>confdefs.h <<_ACEOF
13311 @%:@define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
13312 _ACEOF
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
13317 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
13318 if ${ac_cv_c_const+:} false; then :
13319   $as_echo_n "(cached) " >&6
13320 else
13321   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13322 /* end confdefs.h.  */
13325 main ()
13327 /* FIXME: Include the comments suggested by Paul. */
13328 #ifndef __cplusplus
13329   /* Ultrix mips cc rejects this.  */
13330   typedef int charset[2];
13331   const charset cs;
13332   /* SunOS 4.1.1 cc rejects this.  */
13333   char const *const *pcpcc;
13334   char **ppc;
13335   /* NEC SVR4.0.2 mips cc rejects this.  */
13336   struct point {int x, y;};
13337   static struct point const zero = {0,0};
13338   /* AIX XL C 1.02.0.0 rejects this.
13339      It does not let you subtract one const X* pointer from another in
13340      an arm of an if-expression whose if-part is not a constant
13341      expression */
13342   const char *g = "string";
13343   pcpcc = &g + (g ? g-g : 0);
13344   /* HPUX 7.0 cc rejects these. */
13345   ++pcpcc;
13346   ppc = (char**) pcpcc;
13347   pcpcc = (char const *const *) ppc;
13348   { /* SCO 3.2v4 cc rejects this.  */
13349     char *t;
13350     char const *s = 0 ? (char *) 0 : (char const *) 0;
13352     *t++ = 0;
13353     if (s) return 0;
13354   }
13355   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
13356     int x[] = {25, 17};
13357     const int *foo = &x[0];
13358     ++foo;
13359   }
13360   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13361     typedef const int *iptr;
13362     iptr p = 0;
13363     ++p;
13364   }
13365   { /* AIX XL C 1.02.0.0 rejects this saying
13366        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13367     struct s { int j; const int *ap[3]; };
13368     struct s *b; b->j = 5;
13369   }
13370   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13371     const int foo = 10;
13372     if (!foo) return 0;
13373   }
13374   return !cs[0] && !zero.x;
13375 #endif
13377   ;
13378   return 0;
13380 _ACEOF
13381 if ac_fn_c_try_compile "$LINENO"; then :
13382   ac_cv_c_const=yes
13383 else
13384   ac_cv_c_const=no
13386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
13389 $as_echo "$ac_cv_c_const" >&6; }
13390 if test $ac_cv_c_const = no; then
13391   
13392 $as_echo "@%:@define const /**/" >>confdefs.h
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __inline" >&5
13398 $as_echo_n "checking for __inline... " >&6; }
13399 if ${glib_cv_has__inline+:} false; then :
13400   $as_echo_n "(cached) " >&6
13401 else
13402   
13403         if test "$cross_compiling" = yes; then :
13404   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13405 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13406 as_fn_error $? "cannot run test program while cross compiling
13407 See \`config.log' for more details" "$LINENO" 5; }
13408 else
13409   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13410 /* end confdefs.h.  */
13412         __inline int foo () { return 0; }
13413         int main () { return foo (); }
13414         
13415 _ACEOF
13416 if ac_fn_c_try_run "$LINENO"; then :
13417   glib_cv_has__inline=yes
13418         
13419 else
13420   glib_cv_has__inline=no
13421         
13423 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13424   conftest.$ac_objext conftest.beam conftest.$ac_ext
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_has__inline" >&5
13431 $as_echo "$glib_cv_has__inline" >&6; }
13432 case x$glib_cv_has__inline in
13433 xyes) $as_echo "@%:@define G_HAVE___INLINE 1" >>confdefs.h
13435 esac
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __inline__" >&5
13437 $as_echo_n "checking for __inline__... " >&6; }
13438 if ${glib_cv_has__inline__+:} false; then :
13439   $as_echo_n "(cached) " >&6
13440 else
13441   
13442         if test "$cross_compiling" = yes; then :
13443   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13444 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13445 as_fn_error $? "cannot run test program while cross compiling
13446 See \`config.log' for more details" "$LINENO" 5; }
13447 else
13448   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13449 /* end confdefs.h.  */
13451         __inline__ int foo () { return 0; }
13452         int main () { return foo (); }
13453         
13454 _ACEOF
13455 if ac_fn_c_try_run "$LINENO"; then :
13456   glib_cv_has__inline__=yes
13457         
13458 else
13459   glib_cv_has__inline__=no
13460         
13462 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13463   conftest.$ac_objext conftest.beam conftest.$ac_ext
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_has__inline__" >&5
13470 $as_echo "$glib_cv_has__inline__" >&6; }
13471 case x$glib_cv_has__inline__ in
13472 xyes) $as_echo "@%:@define G_HAVE___INLINE__ 1" >>confdefs.h
13474 esac
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13476 $as_echo_n "checking for inline... " >&6; }
13477 if ${glib_cv_hasinline+:} false; then :
13478   $as_echo_n "(cached) " >&6
13479 else
13480   
13481         if test "$cross_compiling" = yes; then :
13482   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13483 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13484 as_fn_error $? "cannot run test program while cross compiling
13485 See \`config.log' for more details" "$LINENO" 5; }
13486 else
13487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13488 /* end confdefs.h.  */
13490         inline int foo () { return 0; }
13491         int main () { return foo (); }
13492         
13493 _ACEOF
13494 if ac_fn_c_try_run "$LINENO"; then :
13495   glib_cv_hasinline=yes
13496         
13497 else
13498   glib_cv_hasinline=no
13499         
13501 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13502   conftest.$ac_objext conftest.beam conftest.$ac_ext
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_hasinline" >&5
13509 $as_echo "$glib_cv_hasinline" >&6; }
13510 case x$glib_cv_hasinline in
13511 xyes) $as_echo "@%:@define G_HAVE_INLINE 1" >>confdefs.h
13513 esac
13515  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13516 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13517 if ${ac_cv_c_bigendian+:} false; then :
13518   $as_echo_n "(cached) " >&6
13519 else
13520   ac_cv_c_bigendian=unknown
13521     # See if we're dealing with a universal compiler.
13522     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13523 /* end confdefs.h.  */
13524 #ifndef __APPLE_CC__
13525                not a universal capable compiler
13526              #endif
13527              typedef int dummy;
13528             
13529 _ACEOF
13530 if ac_fn_c_try_compile "$LINENO"; then :
13531   
13532         # Check for potential -arch flags.  It is not universal unless
13533         # there are at least two -arch flags with different values.
13534         ac_arch=
13535         ac_prev=
13536         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
13537          if test -n "$ac_prev"; then
13538            case $ac_word in
13539              i?86 | x86_64 | ppc | ppc64)
13540                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
13541                  ac_arch=$ac_word
13542                else
13543                  ac_cv_c_bigendian=universal
13544                  break
13545                fi
13546                ;;
13547            esac
13548            ac_prev=
13549          elif test "x$ac_word" = "x-arch"; then
13550            ac_prev=arch
13551          fi
13552        done
13554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13555     if test $ac_cv_c_bigendian = unknown; then
13556       # See if sys/param.h defines the BYTE_ORDER macro.
13557       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13558 /* end confdefs.h.  */
13559 #include <sys/types.h>
13560              #include <sys/param.h>
13561            
13563 main ()
13565 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
13566                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
13567                      && LITTLE_ENDIAN)
13568               bogus endian macros
13569              #endif
13570            
13571   ;
13572   return 0;
13574 _ACEOF
13575 if ac_fn_c_try_compile "$LINENO"; then :
13576   # It does; now see whether it defined to BIG_ENDIAN or not.
13577          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13578 /* end confdefs.h.  */
13579 #include <sys/types.h>
13580                 #include <sys/param.h>
13581               
13583 main ()
13585 #if BYTE_ORDER != BIG_ENDIAN
13586                  not big endian
13587                 #endif
13588               
13589   ;
13590   return 0;
13592 _ACEOF
13593 if ac_fn_c_try_compile "$LINENO"; then :
13594   ac_cv_c_bigendian=yes
13595 else
13596   ac_cv_c_bigendian=no
13598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13601     fi
13602     if test $ac_cv_c_bigendian = unknown; then
13603       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
13604       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13605 /* end confdefs.h.  */
13606 #include <limits.h>
13607            
13609 main ()
13611 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
13612               bogus endian macros
13613              #endif
13614            
13615   ;
13616   return 0;
13618 _ACEOF
13619 if ac_fn_c_try_compile "$LINENO"; then :
13620   # It does; now see whether it defined to _BIG_ENDIAN or not.
13621          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13622 /* end confdefs.h.  */
13623 #include <limits.h>
13624               
13626 main ()
13628 #ifndef _BIG_ENDIAN
13629                  not big endian
13630                 #endif
13631               
13632   ;
13633   return 0;
13635 _ACEOF
13636 if ac_fn_c_try_compile "$LINENO"; then :
13637   ac_cv_c_bigendian=yes
13638 else
13639   ac_cv_c_bigendian=no
13641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13644     fi
13645     if test $ac_cv_c_bigendian = unknown; then
13646       # Compile a test program.
13647       if test "$cross_compiling" = yes; then :
13648   # Try to guess by grepping values from an object file.
13649          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13650 /* end confdefs.h.  */
13651 short int ascii_mm[] =
13652                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
13653                 short int ascii_ii[] =
13654                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
13655                 int use_ascii (int i) {
13656                   return ascii_mm[i] + ascii_ii[i];
13657                 }
13658                 short int ebcdic_ii[] =
13659                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
13660                 short int ebcdic_mm[] =
13661                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
13662                 int use_ebcdic (int i) {
13663                   return ebcdic_mm[i] + ebcdic_ii[i];
13664                 }
13665                 extern int foo;
13666               
13668 main ()
13670 return use_ascii (foo) == use_ebcdic (foo);
13671   ;
13672   return 0;
13674 _ACEOF
13675 if ac_fn_c_try_compile "$LINENO"; then :
13676   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
13677               ac_cv_c_bigendian=yes
13678             fi
13679             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
13680               if test "$ac_cv_c_bigendian" = unknown; then
13681                 ac_cv_c_bigendian=no
13682               else
13683                 # finding both strings is unlikely to happen, but who knows?
13684                 ac_cv_c_bigendian=unknown
13685               fi
13686             fi
13688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13689 else
13690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13691 /* end confdefs.h.  */
13692 $ac_includes_default
13694 main ()
13697              /* Are we little or big endian?  From Harbison&Steele.  */
13698              union
13699              {
13700                long int l;
13701                char c[sizeof (long int)];
13702              } u;
13703              u.l = 1;
13704              return u.c[sizeof (long int) - 1] == 1;
13705            
13706   ;
13707   return 0;
13709 _ACEOF
13710 if ac_fn_c_try_run "$LINENO"; then :
13711   ac_cv_c_bigendian=no
13712 else
13713   ac_cv_c_bigendian=yes
13715 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13716   conftest.$ac_objext conftest.beam conftest.$ac_ext
13719     fi
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
13722 $as_echo "$ac_cv_c_bigendian" >&6; }
13723  case $ac_cv_c_bigendian in #(
13724    yes)
13725      $as_echo "@%:@define WORDS_BIGENDIAN 1" >>confdefs.h
13726 ;; #(
13727    no)
13728       ;; #(
13729    universal)
13730         
13731 $as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
13733      ;; #(
13734    *)
13735      as_fn_error $? "unknown endianness
13736  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13737  esac
13740 for ac_header in float.h
13741 do :
13742   ac_fn_c_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
13743 if test "x$ac_cv_header_float_h" = xyes; then :
13744   cat >>confdefs.h <<_ACEOF
13745 @%:@define HAVE_FLOAT_H 1
13746 _ACEOF
13747  $as_echo "@%:@define HAVE_FLOAT_H 1" >>confdefs.h
13751 done
13753 for ac_header in limits.h
13754 do :
13755   ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
13756 if test "x$ac_cv_header_limits_h" = xyes; then :
13757   cat >>confdefs.h <<_ACEOF
13758 @%:@define HAVE_LIMITS_H 1
13759 _ACEOF
13760  $as_echo "@%:@define HAVE_LIMITS_H 1" >>confdefs.h
13764 done
13766 for ac_header in pwd.h
13767 do :
13768   ac_fn_c_check_header_mongrel "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
13769 if test "x$ac_cv_header_pwd_h" = xyes; then :
13770   cat >>confdefs.h <<_ACEOF
13771 @%:@define HAVE_PWD_H 1
13772 _ACEOF
13773  $as_echo "@%:@define HAVE_PWD_H 1" >>confdefs.h
13777 done
13779 for ac_header in sys/param.h
13780 do :
13781   ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
13782 if test "x$ac_cv_header_sys_param_h" = xyes; then :
13783   cat >>confdefs.h <<_ACEOF
13784 @%:@define HAVE_SYS_PARAM_H 1
13785 _ACEOF
13786  $as_echo "@%:@define HAVE_SYS_PARAM_H 1" >>confdefs.h
13790 done
13792 for ac_header in sys/poll.h
13793 do :
13794   ac_fn_c_check_header_mongrel "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default"
13795 if test "x$ac_cv_header_sys_poll_h" = xyes; then :
13796   cat >>confdefs.h <<_ACEOF
13797 @%:@define HAVE_SYS_POLL_H 1
13798 _ACEOF
13799  $as_echo "@%:@define HAVE_SYS_POLL_H 1" >>confdefs.h
13803 done
13805 for ac_header in sys/select.h
13806 do :
13807   ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
13808 if test "x$ac_cv_header_sys_select_h" = xyes; then :
13809   cat >>confdefs.h <<_ACEOF
13810 @%:@define HAVE_SYS_SELECT_H 1
13811 _ACEOF
13812  $as_echo "@%:@define HAVE_SYS_SELECT_H 1" >>confdefs.h
13816 done
13818 for ac_header in sys/time.h
13819 do :
13820   ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
13821 if test "x$ac_cv_header_sys_time_h" = xyes; then :
13822   cat >>confdefs.h <<_ACEOF
13823 @%:@define HAVE_SYS_TIME_H 1
13824 _ACEOF
13825  $as_echo "@%:@define HAVE_SYS_TIME_H 1" >>confdefs.h
13829 done
13831 for ac_header in sys/times.h
13832 do :
13833   ac_fn_c_check_header_mongrel "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
13834 if test "x$ac_cv_header_sys_times_h" = xyes; then :
13835   cat >>confdefs.h <<_ACEOF
13836 @%:@define HAVE_SYS_TIMES_H 1
13837 _ACEOF
13838  $as_echo "@%:@define HAVE_SYS_TIMES_H 1" >>confdefs.h
13842 done
13844 for ac_header in unistd.h
13845 do :
13846   ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
13847 if test "x$ac_cv_header_unistd_h" = xyes; then :
13848   cat >>confdefs.h <<_ACEOF
13849 @%:@define HAVE_UNISTD_H 1
13850 _ACEOF
13851  $as_echo "@%:@define HAVE_UNISTD_H 1" >>confdefs.h
13855 done
13857 for ac_header in values.h
13858 do :
13859   ac_fn_c_check_header_mongrel "$LINENO" "values.h" "ac_cv_header_values_h" "$ac_includes_default"
13860 if test "x$ac_cv_header_values_h" = xyes; then :
13861   cat >>confdefs.h <<_ACEOF
13862 @%:@define HAVE_VALUES_H 1
13863 _ACEOF
13864  $as_echo "@%:@define HAVE_VALUES_H 1" >>confdefs.h
13868 done
13871 # Check for some functions
13872 for ac_func in lstat strerror strsignal memmove vsnprintf strcasecmp strncasecmp poll
13873 do :
13874   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13875 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13876 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13877   cat >>confdefs.h <<_ACEOF
13878 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13879 _ACEOF
13882 done
13885 # Check for sys_errlist
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys_errlist" >&5
13887 $as_echo_n "checking for sys_errlist... " >&6; }
13888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13889 /* end confdefs.h.  */
13892 main ()
13895 extern char *sys_errlist[];
13896 extern int sys_nerr;
13897 sys_errlist[sys_nerr-1][0] = 0;
13899   ;
13900   return 0;
13902 _ACEOF
13903 if ac_fn_c_try_link "$LINENO"; then :
13904   glib_ok=yes
13905 else
13906   glib_ok=no
13908 rm -f core conftest.err conftest.$ac_objext \
13909     conftest$ac_exeext conftest.$ac_ext
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_ok" >&5
13911 $as_echo "$glib_ok" >&6; }
13912 if test $glib_ok = no; then
13913     $as_echo "@%:@define NO_SYS_ERRLIST 1" >>confdefs.h
13917 # Check for sys_siglist
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys_siglist" >&5
13919 $as_echo_n "checking for sys_siglist... " >&6; }
13920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13921 /* end confdefs.h.  */
13924 main ()
13927 extern char *sys_siglist[];
13928 exit (sys_siglist[0]);
13930   ;
13931   return 0;
13933 _ACEOF
13934 if ac_fn_c_try_link "$LINENO"; then :
13935   glib_ok=yes
13936 else
13937   glib_ok=no
13939 rm -f core conftest.err conftest.$ac_objext \
13940     conftest$ac_exeext conftest.$ac_ext
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_ok" >&5
13942 $as_echo "$glib_ok" >&6; }
13943 if test $glib_ok = no; then
13944     $as_echo "@%:@define NO_SYS_SIGLIST 1" >>confdefs.h
13948 # Check for sys_siglist decl (see Tue Jan 19 00:44:24 1999 in changelog)
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys_siglist declaration" >&5
13950 $as_echo_n "checking for sys_siglist declaration... " >&6; }
13951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13952 /* end confdefs.h.  */
13953 #include <signal.h>
13955 main ()
13958 strlen (sys_siglist[0]);
13960   ;
13961   return 0;
13963 _ACEOF
13964 if ac_fn_c_try_compile "$LINENO"; then :
13965   glib_ok=yes
13966 else
13967   glib_ok=no
13969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_ok" >&5
13971 $as_echo "$glib_ok" >&6; }
13972 if test $glib_ok = no; then
13973     $as_echo "@%:@define NO_SYS_SIGLIST_DECL 1" >>confdefs.h
13977 # Check if <sys/select.h> needs to be included for fd_set
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fd_set" >&5
13979 $as_echo_n "checking for fd_set... " >&6; }
13980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13981 /* end confdefs.h.  */
13982 #include <sys/types.h>
13984 main ()
13986 fd_set readMask, writeMask;
13987   ;
13988   return 0;
13990 _ACEOF
13991 if ac_fn_c_try_compile "$LINENO"; then :
13992   gtk_ok=yes
13993 else
13994   gtk_ok=no
13996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13997 if test $gtk_ok = yes; then
13998     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, found in sys/types.h" >&5
13999 $as_echo "yes, found in sys/types.h" >&6; }
14000 else
14001     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14002 /* end confdefs.h.  */
14003 #include <sys/select.h>
14005 _ACEOF
14006 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14007   $EGREP "fd_mask" >/dev/null 2>&1; then :
14008   gtk_ok=yes
14010 rm -f conftest*
14012     if test $gtk_ok = yes; then
14013         $as_echo "@%:@define HAVE_SYS_SELECT_H 1" >>confdefs.h
14015         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, found in sys/select.h" >&5
14016 $as_echo "yes, found in sys/select.h" >&6; }
14017     else
14018         $as_echo "@%:@define NO_FD_SET 1" >>confdefs.h
14020         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14021 $as_echo "no" >&6; }
14022     fi
14025 # These are used only in GDK (gdki18n.h)
14026 # This stuff is here only so that we can define these
14027 # things in glibconfig.h. If gtk+ started using an installed
14028 # gdkconfig.h file, then the definitions would belong there.
14030 # Check for wchar.h
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar.h" >&5
14033 $as_echo_n "checking for wchar.h... " >&6; }
14034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14035 /* end confdefs.h.  */
14036 #include <wchar.h>
14037 _ACEOF
14038 if ac_fn_c_try_cpp "$LINENO"; then :
14039   glib_wchar_h=yes
14040 else
14041   glib_wchar_h=no
14043 rm -f conftest.err conftest.i conftest.$ac_ext
14044 if test $glib_wchar_h = yes; then
14045    $as_echo "@%:@define HAVE_WCHAR_H 1" >>confdefs.h
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_wchar_h" >&5
14049 $as_echo "$glib_wchar_h" >&6; }
14051 # Check for wctype.h (for iswalnum)
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wctype.h" >&5
14054 $as_echo_n "checking for wctype.h... " >&6; }
14055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14056 /* end confdefs.h.  */
14057 #include <wctype.h>
14058 _ACEOF
14059 if ac_fn_c_try_cpp "$LINENO"; then :
14060   glib_wctype_h=yes
14061 else
14062   glib_wctype_h=no
14064 rm -f conftest.err conftest.i conftest.$ac_ext
14065 if test $glib_wctype_h = yes; then
14066    $as_echo "@%:@define HAVE_WCTYPE_H 1" >>confdefs.h
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_wctype_h" >&5
14070 $as_echo "$glib_wctype_h" >&6; }
14072 oLIBS="$LIBS"
14073 # in Solaris 2.5, `iswalnum' is in -lw
14074 ac_fn_c_check_func "$LINENO" "iswalnum" "ac_cv_func_iswalnum"
14075 if test "x$ac_cv_func_iswalnum" = xyes; then :
14076   
14077 else
14078   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iswalnum in -lw" >&5
14079 $as_echo_n "checking for iswalnum in -lw... " >&6; }
14080 if ${ac_cv_lib_w_iswalnum+:} false; then :
14081   $as_echo_n "(cached) " >&6
14082 else
14083   ac_check_lib_save_LIBS=$LIBS
14084 LIBS="-lw  $LIBS"
14085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14086 /* end confdefs.h.  */
14088 /* Override any GCC internal prototype to avoid an error.
14089    Use char because int might match the return type of a GCC
14090    builtin and then its argument prototype would still apply.  */
14091 #ifdef __cplusplus
14092 extern "C"
14093 #endif
14094 char iswalnum ();
14096 main ()
14098 return iswalnum ();
14099   ;
14100   return 0;
14102 _ACEOF
14103 if ac_fn_c_try_link "$LINENO"; then :
14104   ac_cv_lib_w_iswalnum=yes
14105 else
14106   ac_cv_lib_w_iswalnum=no
14108 rm -f core conftest.err conftest.$ac_objext \
14109     conftest$ac_exeext conftest.$ac_ext
14110 LIBS=$ac_check_lib_save_LIBS
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_iswalnum" >&5
14113 $as_echo "$ac_cv_lib_w_iswalnum" >&6; }
14114 if test "x$ac_cv_lib_w_iswalnum" = xyes; then :
14115   cat >>confdefs.h <<_ACEOF
14116 @%:@define HAVE_LIBW 1
14117 _ACEOF
14119   LIBS="-lw $LIBS"
14126 # The following is necessary for Linux libc-5.4.38
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iswalnum() and friends are properly defined" >&5
14128 $as_echo_n "checking if iswalnum() and friends are properly defined... " >&6; }
14129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14130 /* end confdefs.h.  */
14131 #include <stdlib.h>
14133 main ()
14136 #if (defined(HAVE_WCTYPE_H) || defined(HAVE_WCHAR_H))
14137 #  ifdef HAVE_WCTYPE_H
14138 #    include <wctype.h>
14139 #  else
14140 #    ifdef HAVE_WCHAR_H
14141 #      include <wchar.h>
14142 #    endif
14143 #  endif
14144 #else
14145 #  define iswalnum(c) ((wchar_t)(c) <= 0xFF && isalnum(c))
14146 #endif
14147 iswalnum((wchar_t) 0);
14149   ;
14150   return 0;
14152 _ACEOF
14153 if ac_fn_c_try_link "$LINENO"; then :
14154   glib_working_wctype=yes
14155 else
14156   glib_working_wctype=no
14158 rm -f core conftest.err conftest.$ac_objext \
14159     conftest$ac_exeext conftest.$ac_ext
14160 LIBS="$oLIBS"
14162 if test $glib_working_wctype = no; then
14163    $as_echo "@%:@define HAVE_BROKEN_WCTYPE 1" >>confdefs.h
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_working_wctype" >&5
14167 $as_echo "$glib_working_wctype" >&6; }
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether realloc (NULL,) will work" >&5
14170 $as_echo_n "checking whether realloc (NULL,) will work... " >&6; }
14171 if ${glib_cv_sane_realloc+:} false; then :
14172   $as_echo_n "(cached) " >&6
14173 else
14174   
14175         if test "$cross_compiling" = yes; then :
14176   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14177 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14178 as_fn_error $? "cannot run test program while cross compiling
14179 See \`config.log' for more details" "$LINENO" 5; }
14180 else
14181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14182 /* end confdefs.h.  */
14184         #include <stdlib.h>
14185         int main() {
14186           return realloc (0, sizeof (int)) == 0;
14187         }
14188 _ACEOF
14189 if ac_fn_c_try_run "$LINENO"; then :
14190   glib_cv_sane_realloc=yes
14191         
14192 else
14193   glib_cv_sane_realloc=no
14194         
14196 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14197   conftest.$ac_objext conftest.beam conftest.$ac_ext
14203 if test "x$glib_cv_sane_realloc" = "xyes"; then
14204         $as_echo "@%:@define REALLOC_0_WORKS 1" >>confdefs.h
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_sane_realloc" >&5
14208 $as_echo "$glib_cv_sane_realloc" >&6; }
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an implementation of va_copy()" >&5
14212 $as_echo_n "checking for an implementation of va_copy()... " >&6; }
14213 if ${glib_cv_va_copy+:} false; then :
14214   $as_echo_n "(cached) " >&6
14215 else
14216   
14217         if test "$cross_compiling" = yes; then :
14218   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14220 as_fn_error $? "cannot run test program while cross compiling
14221 See \`config.log' for more details" "$LINENO" 5; }
14222 else
14223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14224 /* end confdefs.h.  */
14226         #include <stdarg.h>
14227         void f (int i, ...) {
14228         va_list args1, args2;
14229         va_start (args1, i);
14230         va_copy (args2, args1);
14231         if (va_arg (args2, int) != 42 || va_arg (args1, int) != 42)
14232           exit (1);
14233         va_end (args1); va_end (args2);
14234         }
14235         int main() {
14236           f (0, 42);
14237           return 0;
14238         }
14239 _ACEOF
14240 if ac_fn_c_try_run "$LINENO"; then :
14241   glib_cv_va_copy=yes
14242         
14243 else
14244   glib_cv_va_copy=no
14245         
14247 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14248   conftest.$ac_objext conftest.beam conftest.$ac_ext
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_va_copy" >&5
14255 $as_echo "$glib_cv_va_copy" >&6; }
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an implementation of __va_copy()" >&5
14257 $as_echo_n "checking for an implementation of __va_copy()... " >&6; }
14258 if ${glib_cv___va_copy+:} false; then :
14259   $as_echo_n "(cached) " >&6
14260 else
14261   
14262         if test "$cross_compiling" = yes; then :
14263   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14264 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14265 as_fn_error $? "cannot run test program while cross compiling
14266 See \`config.log' for more details" "$LINENO" 5; }
14267 else
14268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14269 /* end confdefs.h.  */
14271         #include <stdarg.h>
14272         void f (int i, ...) {
14273         va_list args1, args2;
14274         va_start (args1, i);
14275         __va_copy (args2, args1);
14276         if (va_arg (args2, int) != 42 || va_arg (args1, int) != 42)
14277           exit (1);
14278         va_end (args1); va_end (args2);
14279         }
14280         int main() {
14281           f (0, 42);
14282           return 0;
14283         }
14284 _ACEOF
14285 if ac_fn_c_try_run "$LINENO"; then :
14286   glib_cv___va_copy=yes
14287         
14288 else
14289   glib_cv___va_copy=no
14290         
14292 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14293   conftest.$ac_objext conftest.beam conftest.$ac_ext
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv___va_copy" >&5
14300 $as_echo "$glib_cv___va_copy" >&6; }
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether va_lists can be copied by value" >&5
14302 $as_echo_n "checking whether va_lists can be copied by value... " >&6; }
14303 if ${glib_cv_va_val_copy+:} false; then :
14304   $as_echo_n "(cached) " >&6
14305 else
14306   
14307         if test "$cross_compiling" = yes; then :
14308   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14310 as_fn_error $? "cannot run test program while cross compiling
14311 See \`config.log' for more details" "$LINENO" 5; }
14312 else
14313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14314 /* end confdefs.h.  */
14316         #include <stdarg.h>
14317         void f (int i, ...) {
14318         va_list args1, args2;
14319         va_start (args1, i);
14320         args2 = args1;
14321         if (va_arg (args2, int) != 42 || va_arg (args1, int) != 42)
14322           exit (1);
14323         va_end (args1); va_end (args2);
14324         }
14325         int main() {
14326           f (0, 42);
14327           return 0;
14328         }
14329 _ACEOF
14330 if ac_fn_c_try_run "$LINENO"; then :
14331   glib_cv_va_val_copy=yes
14332         
14333 else
14334   glib_cv_va_val_copy=no
14335         
14337 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14338   conftest.$ac_objext conftest.beam conftest.$ac_ext
14344 if test "x$glib_cv_va_copy" = "xyes"; then
14345   $as_echo "@%:@define G_VA_COPY va_copy" >>confdefs.h
14347 else
14348 if test "x$glib_cv___va_copy" = "xyes"; then
14349   $as_echo "@%:@define G_VA_COPY __va_copy" >>confdefs.h
14353 if test "x$glib_cv_va_val_copy" = "xno"; then
14354   $as_echo "@%:@define G_VA_COPY_AS_ARRAY 1" >>confdefs.h
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_va_val_copy" >&5
14358 $as_echo "$glib_cv_va_val_copy" >&6; }
14361 G_MODULE_LIBS=
14362 G_MODULE_LDFLAGS=
14363 G_MODULE_NEED_USCORE=0
14364 G_MODULE_BROKEN_RTLD_GLOBAL=0
14365 G_MODULE_HAVE_DLERROR=0
14366 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
14367 if test "x$ac_cv_func_dlopen" = xyes; then :
14368   ac_fn_c_check_func "$LINENO" "dlsym" "ac_cv_func_dlsym"
14369 if test "x$ac_cv_func_dlsym" = xyes; then :
14370   G_MODULE_IMPL=G_MODULE_IMPL_DL
14375 if test -z "$G_MODULE_IMPL"; then
14376         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14377 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14378 if ${ac_cv_lib_dl_dlopen+:} false; then :
14379   $as_echo_n "(cached) " >&6
14380 else
14381   ac_check_lib_save_LIBS=$LIBS
14382 LIBS="-ldl  $LIBS"
14383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14384 /* end confdefs.h.  */
14386 /* Override any GCC internal prototype to avoid an error.
14387    Use char because int might match the return type of a GCC
14388    builtin and then its argument prototype would still apply.  */
14389 #ifdef __cplusplus
14390 extern "C"
14391 #endif
14392 char dlopen ();
14394 main ()
14396 return dlopen ();
14397   ;
14398   return 0;
14400 _ACEOF
14401 if ac_fn_c_try_link "$LINENO"; then :
14402   ac_cv_lib_dl_dlopen=yes
14403 else
14404   ac_cv_lib_dl_dlopen=no
14406 rm -f core conftest.err conftest.$ac_objext \
14407     conftest$ac_exeext conftest.$ac_ext
14408 LIBS=$ac_check_lib_save_LIBS
14410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14411 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14412 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14413   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5
14414 $as_echo_n "checking for dlsym in -ldl... " >&6; }
14415 if ${ac_cv_lib_dl_dlsym+:} false; then :
14416   $as_echo_n "(cached) " >&6
14417 else
14418   ac_check_lib_save_LIBS=$LIBS
14419 LIBS="-ldl  $LIBS"
14420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14421 /* end confdefs.h.  */
14423 /* Override any GCC internal prototype to avoid an error.
14424    Use char because int might match the return type of a GCC
14425    builtin and then its argument prototype would still apply.  */
14426 #ifdef __cplusplus
14427 extern "C"
14428 #endif
14429 char dlsym ();
14431 main ()
14433 return dlsym ();
14434   ;
14435   return 0;
14437 _ACEOF
14438 if ac_fn_c_try_link "$LINENO"; then :
14439   ac_cv_lib_dl_dlsym=yes
14440 else
14441   ac_cv_lib_dl_dlsym=no
14443 rm -f core conftest.err conftest.$ac_objext \
14444     conftest$ac_exeext conftest.$ac_ext
14445 LIBS=$ac_check_lib_save_LIBS
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5
14448 $as_echo "$ac_cv_lib_dl_dlsym" >&6; }
14449 if test "x$ac_cv_lib_dl_dlsym" = xyes; then :
14450   
14451                 G_MODULE_LIBS=-ldl
14452                 G_MODULE_IMPL=G_MODULE_IMPL_DL
14453         
14459 if test -z "$G_MODULE_IMPL"; then
14460         { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to export all symbols" >&5
14461 $as_echo_n "checking how to export all symbols... " >&6; }
14462         SAVED_LDFLAGS=$LDFLAGS
14463         LDFLAGS="$LDFLAGS -Wl,-E"
14464         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14465 /* end confdefs.h.  */
14468 main ()
14470  return 0; 
14471   ;
14472   return 0;
14474 _ACEOF
14475 if ac_fn_c_try_link "$LINENO"; then :
14476    G_MODULE_LDFLAGS="-Wl,-E" 
14477 else
14478   
14479                 LDFLAGS="$SAVED_LDFLAGS -bexpall"
14480                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14481 /* end confdefs.h.  */
14484 main ()
14486  return 0; 
14487   ;
14488   return 0;
14490 _ACEOF
14491 if ac_fn_c_try_link "$LINENO"; then :
14492   G_MODULE_LDFLAGS="-bexpall"
14493 else
14494   G_MODULE_LDFLAGS="none"
14495                 
14497 rm -f core conftest.err conftest.$ac_objext \
14498     conftest$ac_exeext conftest.$ac_ext
14499         
14501 rm -f core conftest.err conftest.$ac_objext \
14502     conftest$ac_exeext conftest.$ac_ext
14503         LDFLAGS=$SAVED_LDFLAGS
14504         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $G_MODULE_LDFLAGS" >&5
14505 $as_echo "$G_MODULE_LDFLAGS" >&6; }
14506         if test "x$G_MODULE_LDFLAGS" = "xnone"; then
14507                 G_MODULE_LDFLAGS=
14508         fi
14509         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14510 $as_echo_n "checking for shl_load in -ldld... " >&6; }
14511 if ${ac_cv_lib_dld_shl_load+:} false; then :
14512   $as_echo_n "(cached) " >&6
14513 else
14514   ac_check_lib_save_LIBS=$LIBS
14515 LIBS="-ldld  $LIBS"
14516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14517 /* end confdefs.h.  */
14519 /* Override any GCC internal prototype to avoid an error.
14520    Use char because int might match the return type of a GCC
14521    builtin and then its argument prototype would still apply.  */
14522 #ifdef __cplusplus
14523 extern "C"
14524 #endif
14525 char shl_load ();
14527 main ()
14529 return shl_load ();
14530   ;
14531   return 0;
14533 _ACEOF
14534 if ac_fn_c_try_link "$LINENO"; then :
14535   ac_cv_lib_dld_shl_load=yes
14536 else
14537   ac_cv_lib_dld_shl_load=no
14539 rm -f core conftest.err conftest.$ac_objext \
14540     conftest$ac_exeext conftest.$ac_ext
14541 LIBS=$ac_check_lib_save_LIBS
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14544 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
14545 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
14546   G_MODULE_LIBS=-ldld
14547                 G_MODULE_IMPL=G_MODULE_IMPL_DLD
14548         
14552 if test "$G_MODULE_IMPL" = "G_MODULE_IMPL_DL"; then
14553         case "$host_os" in
14554           linux*)
14555             G_MODULE_LDFLAGS='-rdynamic'
14556             ;;
14557         esac
14558         LIBS_orig="$LIBS"
14559         LDFLAGS_orig="$LDFLAGS"
14560         LIBS="$LIBS $G_MODULE_LIBS"
14561         LDFLAGS="$LDFLAGS $G_MODULE_LDFLAGS"
14562         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RTLD_GLOBAL brokenness" >&5
14563 $as_echo_n "checking for RTLD_GLOBAL brokenness... " >&6; }
14564 if ${glib_cv_rtldglobal_broken+:} false; then :
14565   $as_echo_n "(cached) " >&6
14566 else
14567   
14568                 if test "$cross_compiling" = yes; then :
14569   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14570 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14571 as_fn_error $? "cannot run test program while cross compiling
14572 See \`config.log' for more details" "$LINENO" 5; }
14573 else
14574   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14575 /* end confdefs.h.  */
14577                 #include <dlfcn.h>
14578                 #ifndef RTLD_GLOBAL
14579                 #define RTLD_GLOBAL 0
14580                 #endif
14581                 #ifndef RTLD_LAZY
14582                 #define RTLD_LAZY 0
14583                 #endif
14584                 int pthread_create;
14585                 int main () {
14586                 void *handle, *global, *local;
14587                 global = &pthread_create;
14588                 handle = dlopen ("libpthread.so", RTLD_GLOBAL | RTLD_LAZY);
14589                 if (!handle) return 0;
14590                 local = dlsym (handle, "pthread_create");
14591                 return global == local;
14592                 }
14593 _ACEOF
14594 if ac_fn_c_try_run "$LINENO"; then :
14595   glib_cv_rtldglobal_broken=no
14596 else
14597   glib_cv_rtldglobal_broken=yes
14599 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14600   conftest.$ac_objext conftest.beam conftest.$ac_ext
14603                 rm -f plugin.c plugin.o plugin.lo
14604         
14606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_rtldglobal_broken" >&5
14607 $as_echo "$glib_cv_rtldglobal_broken" >&6; }
14608         if test "x$glib_cv_rtldglobal_broken" = "xyes"; then
14609                 G_MODULE_BROKEN_RTLD_GLOBAL=1
14610         else
14611                 G_MODULE_BROKEN_RTLD_GLOBAL=0
14612         fi
14613         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for preceeding underscore in symbols" >&5
14614 $as_echo_n "checking for preceeding underscore in symbols... " >&6; }
14615         if ${glib_cv_uscore+:} false; then :
14616   $as_echo_n "(cached) " >&6
14617 else
14618   
14619                 if test "$cross_compiling" = yes; then :
14620   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14621 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14622 as_fn_error $? "cannot run test program while cross compiling
14623 See \`config.log' for more details" "$LINENO" 5; }
14624 else
14625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14626 /* end confdefs.h.  */
14628                 #include <dlfcn.h>
14629                 int glib_underscore_test (void) { return 42; }
14630                 int main() {
14631                   void *f1 = (void*)0, *f2 = (void*)0, *handle;
14632                   handle = dlopen ((void*)0, 0);
14633                   if (handle) {
14634                     f1 = dlsym (handle, "glib_underscore_test");
14635                     f2 = dlsym (handle, "_glib_underscore_test");
14636                   } return (!f2 || f1);
14637                 }
14638 _ACEOF
14639 if ac_fn_c_try_run "$LINENO"; then :
14640   glib_cv_uscore=yes
14641 else
14642   glib_cv_uscore=no
14644 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14645   conftest.$ac_objext conftest.beam conftest.$ac_ext
14648                 rm -f plugin.c plugin.o plugin.lo
14649         
14652         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_uscore" >&5
14653 $as_echo "$glib_cv_uscore" >&6; }
14654         if test "x$glib_cv_uscore" = "xyes"; then
14655                 G_MODULE_NEED_USCORE=1
14656         else
14657                 G_MODULE_NEED_USCORE=0
14658         fi
14660         LDFLAGS="$LDFLAGS_orig"
14661         ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
14662 if test "x$ac_cv_func_dlerror" = xyes; then :
14663   G_MODULE_HAVE_DLERROR=1
14664 else
14665   G_MODULE_HAVE_DLERROR=0
14668         LIBS="$LIBS_orig"
14670 if test -z "$G_MODULE_IMPL"; then
14671         G_MODULE_IMPL=0
14684 @%:@ Check whether --with-threads was given.
14685 if test "${with_threads+set}" = set; then :
14686   withval=$with_threads; if test "x$with_threads" = x; then
14687                 want_threads=yes
14688         else
14689                 want_threads=$with_threads
14690         fi
14691 else
14692   want_threads=yes
14695 if test "x$enable_threads" = "xno"; then
14696         want_threads=no
14698 if test "x$want_threads" = "xnone"; then
14699         want_threads=no
14703 THREAD_NO_IMPLEMENTATION="You do not have any known thread system on your
14704                 computer. glib will not be thread safe on your computer."
14706 FLAG_DOES_NOT_WORK="I can't find the MACRO, that enables thread safety on your
14707                 platform (normally it's "_REENTRANT"). I'll not use any flag on
14708                 compilation now, but then your programs might not work.
14709                 Please provide information on how it is done on your system."
14711 LIBS_NOT_FOUND_1="I can't find the libraries for the thread implementation
14712                 "
14714 LIBS_NOT_FOUND_2=". Please choose another thread implementation or
14715                 provide information on your thread implementation.
14716                 You can also run 'configure --disable-threads' 
14717                 to compile without thread support."
14719 FUNC_NO_GETPWUID_R="the 'g_get_(user_name|real_name|home_dir|tmp_dir)'
14720                 functions will not be MT-safe during their first call because
14721                 there is no working 'getpwuid_r' on your system."
14723 FUNC_NO_LOCALTIME_R="the 'g_date_set_time' function will not be MT-safe
14724                 because there is no 'localtime_r' on your system."
14727 have_threads=none
14728 if test "x$want_threads" = xyes || test "x$want_threads" = xsolaris; then
14729         case $host in
14730                 *-*-solaris*)
14731                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cond_init in -lthread" >&5
14732 $as_echo_n "checking for cond_init in -lthread... " >&6; }
14733 if ${ac_cv_lib_thread_cond_init+:} false; then :
14734   $as_echo_n "(cached) " >&6
14735 else
14736   ac_check_lib_save_LIBS=$LIBS
14737 LIBS="-lthread  $LIBS"
14738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14739 /* end confdefs.h.  */
14741 /* Override any GCC internal prototype to avoid an error.
14742    Use char because int might match the return type of a GCC
14743    builtin and then its argument prototype would still apply.  */
14744 #ifdef __cplusplus
14745 extern "C"
14746 #endif
14747 char cond_init ();
14749 main ()
14751 return cond_init ();
14752   ;
14753   return 0;
14755 _ACEOF
14756 if ac_fn_c_try_link "$LINENO"; then :
14757   ac_cv_lib_thread_cond_init=yes
14758 else
14759   ac_cv_lib_thread_cond_init=no
14761 rm -f core conftest.err conftest.$ac_objext \
14762     conftest$ac_exeext conftest.$ac_ext
14763 LIBS=$ac_check_lib_save_LIBS
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_thread_cond_init" >&5
14766 $as_echo "$ac_cv_lib_thread_cond_init" >&6; }
14767 if test "x$ac_cv_lib_thread_cond_init" = xyes; then :
14768   have_threads=solaris
14771                 ;;
14772         esac
14774 if test "x$want_threads" = xyes || test "x$want_threads" = xposix; then
14775         if test "x$have_threads" = xnone; then
14776                 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
14777 if test "x$ac_cv_header_pthread_h" = xyes; then :
14778   have_threads=posix
14782         fi
14784 if test "x$want_threads" = xyes || test "x$want_threads" = xnspr; then
14785         if test "x$have_threads" = xnone; then
14786                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PRP_NewNakedCondVar in -lnspr21" >&5
14787 $as_echo_n "checking for PRP_NewNakedCondVar in -lnspr21... " >&6; }
14788 if ${ac_cv_lib_nspr21_PRP_NewNakedCondVar+:} false; then :
14789   $as_echo_n "(cached) " >&6
14790 else
14791   ac_check_lib_save_LIBS=$LIBS
14792 LIBS="-lnspr21  $LIBS"
14793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14794 /* end confdefs.h.  */
14796 /* Override any GCC internal prototype to avoid an error.
14797    Use char because int might match the return type of a GCC
14798    builtin and then its argument prototype would still apply.  */
14799 #ifdef __cplusplus
14800 extern "C"
14801 #endif
14802 char PRP_NewNakedCondVar ();
14804 main ()
14806 return PRP_NewNakedCondVar ();
14807   ;
14808   return 0;
14810 _ACEOF
14811 if ac_fn_c_try_link "$LINENO"; then :
14812   ac_cv_lib_nspr21_PRP_NewNakedCondVar=yes
14813 else
14814   ac_cv_lib_nspr21_PRP_NewNakedCondVar=no
14816 rm -f core conftest.err conftest.$ac_objext \
14817     conftest$ac_exeext conftest.$ac_ext
14818 LIBS=$ac_check_lib_save_LIBS
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nspr21_PRP_NewNakedCondVar" >&5
14821 $as_echo "$ac_cv_lib_nspr21_PRP_NewNakedCondVar" >&6; }
14822 if test "x$ac_cv_lib_nspr21_PRP_NewNakedCondVar" = xyes; then :
14823   have_threads=nspr
14826         fi
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread implementation" >&5
14830 $as_echo_n "checking for thread implementation... " >&6; }
14832 if test "x$have_threads" = xnone && test "x$want_threads" != xno; then
14833         { $as_echo "$as_me:${as_lineno-$LINENO}: result: none available" >&5
14834 $as_echo "none available" >&6; }
14835         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $THREAD_NO_IMPLEMENTATION" >&5
14836 $as_echo "$as_me: WARNING: $THREAD_NO_IMPLEMENTATION" >&2;}
14837 else
14838         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_threads" >&5
14839 $as_echo "$have_threads" >&6; }
14844 G_THREAD_LIBS=
14845 G_THREAD_CFLAGS=
14847 mutex_has_default=no
14848 case $have_threads in
14849         posix)
14850                 G_THREAD_LIBS=error
14851                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lpthread" >&5
14852 $as_echo_n "checking for pthread_attr_init in -lpthread... " >&6; }
14853 if ${ac_cv_lib_pthread_pthread_attr_init+:} false; then :
14854   $as_echo_n "(cached) " >&6
14855 else
14856   ac_check_lib_save_LIBS=$LIBS
14857 LIBS="-lpthread  $LIBS"
14858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14859 /* end confdefs.h.  */
14861 /* Override any GCC internal prototype to avoid an error.
14862    Use char because int might match the return type of a GCC
14863    builtin and then its argument prototype would still apply.  */
14864 #ifdef __cplusplus
14865 extern "C"
14866 #endif
14867 char pthread_attr_init ();
14869 main ()
14871 return pthread_attr_init ();
14872   ;
14873   return 0;
14875 _ACEOF
14876 if ac_fn_c_try_link "$LINENO"; then :
14877   ac_cv_lib_pthread_pthread_attr_init=yes
14878 else
14879   ac_cv_lib_pthread_pthread_attr_init=no
14881 rm -f core conftest.err conftest.$ac_objext \
14882     conftest$ac_exeext conftest.$ac_ext
14883 LIBS=$ac_check_lib_save_LIBS
14885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_attr_init" >&5
14886 $as_echo "$ac_cv_lib_pthread_pthread_attr_init" >&6; }
14887 if test "x$ac_cv_lib_pthread_pthread_attr_init" = xyes; then :
14888   G_THREAD_LIBS="-lpthread"
14891                 if test "x$G_THREAD_LIBS" = xerror; then
14892                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lpthreads" >&5
14893 $as_echo_n "checking for pthread_attr_init in -lpthreads... " >&6; }
14894 if ${ac_cv_lib_pthreads_pthread_attr_init+:} false; then :
14895   $as_echo_n "(cached) " >&6
14896 else
14897   ac_check_lib_save_LIBS=$LIBS
14898 LIBS="-lpthreads  $LIBS"
14899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14900 /* end confdefs.h.  */
14902 /* Override any GCC internal prototype to avoid an error.
14903    Use char because int might match the return type of a GCC
14904    builtin and then its argument prototype would still apply.  */
14905 #ifdef __cplusplus
14906 extern "C"
14907 #endif
14908 char pthread_attr_init ();
14910 main ()
14912 return pthread_attr_init ();
14913   ;
14914   return 0;
14916 _ACEOF
14917 if ac_fn_c_try_link "$LINENO"; then :
14918   ac_cv_lib_pthreads_pthread_attr_init=yes
14919 else
14920   ac_cv_lib_pthreads_pthread_attr_init=no
14922 rm -f core conftest.err conftest.$ac_objext \
14923     conftest$ac_exeext conftest.$ac_ext
14924 LIBS=$ac_check_lib_save_LIBS
14926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_attr_init" >&5
14927 $as_echo "$ac_cv_lib_pthreads_pthread_attr_init" >&6; }
14928 if test "x$ac_cv_lib_pthreads_pthread_attr_init" = xyes; then :
14929   G_THREAD_LIBS="-lpthreads"
14932                 fi
14933                 if test "x$G_THREAD_LIBS" = xerror; then
14934                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lthread" >&5
14935 $as_echo_n "checking for pthread_attr_init in -lthread... " >&6; }
14936 if ${ac_cv_lib_thread_pthread_attr_init+:} false; then :
14937   $as_echo_n "(cached) " >&6
14938 else
14939   ac_check_lib_save_LIBS=$LIBS
14940 LIBS="-lthread  $LIBS"
14941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14942 /* end confdefs.h.  */
14944 /* Override any GCC internal prototype to avoid an error.
14945    Use char because int might match the return type of a GCC
14946    builtin and then its argument prototype would still apply.  */
14947 #ifdef __cplusplus
14948 extern "C"
14949 #endif
14950 char pthread_attr_init ();
14952 main ()
14954 return pthread_attr_init ();
14955   ;
14956   return 0;
14958 _ACEOF
14959 if ac_fn_c_try_link "$LINENO"; then :
14960   ac_cv_lib_thread_pthread_attr_init=yes
14961 else
14962   ac_cv_lib_thread_pthread_attr_init=no
14964 rm -f core conftest.err conftest.$ac_objext \
14965     conftest$ac_exeext conftest.$ac_ext
14966 LIBS=$ac_check_lib_save_LIBS
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_thread_pthread_attr_init" >&5
14969 $as_echo "$ac_cv_lib_thread_pthread_attr_init" >&6; }
14970 if test "x$ac_cv_lib_thread_pthread_attr_init" = xyes; then :
14971   G_THREAD_LIBS="-lthread"
14974                 fi
14975                 if test "x$G_THREAD_LIBS" = xerror; then
14976                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lc_r" >&5
14977 $as_echo_n "checking for pthread_attr_init in -lc_r... " >&6; }
14978 if ${ac_cv_lib_c_r_pthread_attr_init+:} false; then :
14979   $as_echo_n "(cached) " >&6
14980 else
14981   ac_check_lib_save_LIBS=$LIBS
14982 LIBS="-lc_r  $LIBS"
14983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14984 /* end confdefs.h.  */
14986 /* Override any GCC internal prototype to avoid an error.
14987    Use char because int might match the return type of a GCC
14988    builtin and then its argument prototype would still apply.  */
14989 #ifdef __cplusplus
14990 extern "C"
14991 #endif
14992 char pthread_attr_init ();
14994 main ()
14996 return pthread_attr_init ();
14997   ;
14998   return 0;
15000 _ACEOF
15001 if ac_fn_c_try_link "$LINENO"; then :
15002   ac_cv_lib_c_r_pthread_attr_init=yes
15003 else
15004   ac_cv_lib_c_r_pthread_attr_init=no
15006 rm -f core conftest.err conftest.$ac_objext \
15007     conftest$ac_exeext conftest.$ac_ext
15008 LIBS=$ac_check_lib_save_LIBS
15010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_attr_init" >&5
15011 $as_echo "$ac_cv_lib_c_r_pthread_attr_init" >&6; }
15012 if test "x$ac_cv_lib_c_r_pthread_attr_init" = xyes; then :
15013   G_THREAD_LIBS="-lc_r"
15016                 fi
15017                 if test "x$G_THREAD_LIBS" = xerror; then
15018                         ac_fn_c_check_func "$LINENO" "pthread_attr_init" "ac_cv_func_pthread_attr_init"
15019 if test "x$ac_cv_func_pthread_attr_init" = xyes; then :
15020   G_THREAD_LIBS=""
15023                 fi
15024                                 if test "x$G_THREAD_LIBS" = xerror; then
15025                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __d10_pthread_attr_init in -lthread" >&5
15026 $as_echo_n "checking for __d10_pthread_attr_init in -lthread... " >&6; }
15027 if ${ac_cv_lib_thread___d10_pthread_attr_init+:} false; then :
15028   $as_echo_n "(cached) " >&6
15029 else
15030   ac_check_lib_save_LIBS=$LIBS
15031 LIBS="-lthread  $LIBS"
15032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15033 /* end confdefs.h.  */
15035 /* Override any GCC internal prototype to avoid an error.
15036    Use char because int might match the return type of a GCC
15037    builtin and then its argument prototype would still apply.  */
15038 #ifdef __cplusplus
15039 extern "C"
15040 #endif
15041 char __d10_pthread_attr_init ();
15043 main ()
15045 return __d10_pthread_attr_init ();
15046   ;
15047   return 0;
15049 _ACEOF
15050 if ac_fn_c_try_link "$LINENO"; then :
15051   ac_cv_lib_thread___d10_pthread_attr_init=yes
15052 else
15053   ac_cv_lib_thread___d10_pthread_attr_init=no
15055 rm -f core conftest.err conftest.$ac_objext \
15056     conftest$ac_exeext conftest.$ac_ext
15057 LIBS=$ac_check_lib_save_LIBS
15059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_thread___d10_pthread_attr_init" >&5
15060 $as_echo "$ac_cv_lib_thread___d10_pthread_attr_init" >&6; }
15061 if test "x$ac_cv_lib_thread___d10_pthread_attr_init" = xyes; then :
15062   G_THREAD_LIBS="-lthread"
15063                                 G_THREAD_CFLAGS="-D_POSIX4A_DRAFT10_SOURCE"
15066                 fi
15067                                 if test "x$G_THREAD_LIBS" = xerror; then
15068                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __pthread_attr_init_system in -lpthread" >&5
15069 $as_echo_n "checking for __pthread_attr_init_system in -lpthread... " >&6; }
15070 if ${ac_cv_lib_pthread___pthread_attr_init_system+:} false; then :
15071   $as_echo_n "(cached) " >&6
15072 else
15073   ac_check_lib_save_LIBS=$LIBS
15074 LIBS="-lpthread  $LIBS"
15075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15076 /* end confdefs.h.  */
15078 /* Override any GCC internal prototype to avoid an error.
15079    Use char because int might match the return type of a GCC
15080    builtin and then its argument prototype would still apply.  */
15081 #ifdef __cplusplus
15082 extern "C"
15083 #endif
15084 char __pthread_attr_init_system ();
15086 main ()
15088 return __pthread_attr_init_system ();
15089   ;
15090   return 0;
15092 _ACEOF
15093 if ac_fn_c_try_link "$LINENO"; then :
15094   ac_cv_lib_pthread___pthread_attr_init_system=yes
15095 else
15096   ac_cv_lib_pthread___pthread_attr_init_system=no
15098 rm -f core conftest.err conftest.$ac_objext \
15099     conftest$ac_exeext conftest.$ac_ext
15100 LIBS=$ac_check_lib_save_LIBS
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread___pthread_attr_init_system" >&5
15103 $as_echo "$ac_cv_lib_pthread___pthread_attr_init_system" >&6; }
15104 if test "x$ac_cv_lib_pthread___pthread_attr_init_system" = xyes; then :
15105   G_THREAD_LIBS="-lpthread"
15108                 fi
15109                 mutex_has_default=yes
15110                 mutex_default_type='pthread_mutex_t'
15111                 mutex_default_init='PTHREAD_MUTEX_INITIALIZER'
15112                 mutex_header_file='pthread.h'
15113                 g_threads_impl="POSIX"
15114                 ;;
15115         solaris)
15116                 G_THREAD_LIBS=error
15117                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cond_init in -lthread" >&5
15118 $as_echo_n "checking for cond_init in -lthread... " >&6; }
15119 if ${ac_cv_lib_thread_cond_init+:} false; then :
15120   $as_echo_n "(cached) " >&6
15121 else
15122   ac_check_lib_save_LIBS=$LIBS
15123 LIBS="-lthread  $LIBS"
15124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15125 /* end confdefs.h.  */
15127 /* Override any GCC internal prototype to avoid an error.
15128    Use char because int might match the return type of a GCC
15129    builtin and then its argument prototype would still apply.  */
15130 #ifdef __cplusplus
15131 extern "C"
15132 #endif
15133 char cond_init ();
15135 main ()
15137 return cond_init ();
15138   ;
15139   return 0;
15141 _ACEOF
15142 if ac_fn_c_try_link "$LINENO"; then :
15143   ac_cv_lib_thread_cond_init=yes
15144 else
15145   ac_cv_lib_thread_cond_init=no
15147 rm -f core conftest.err conftest.$ac_objext \
15148     conftest$ac_exeext conftest.$ac_ext
15149 LIBS=$ac_check_lib_save_LIBS
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_thread_cond_init" >&5
15152 $as_echo "$ac_cv_lib_thread_cond_init" >&6; }
15153 if test "x$ac_cv_lib_thread_cond_init" = xyes; then :
15154   G_THREAD_LIBS="-lthread"
15157                 mutex_has_default=yes
15158                 mutex_default_type='mutex_t'
15159                 mutex_default_init="DEFAULTMUTEX"
15160                 mutex_header_file='thread.h'
15161                 g_threads_impl="SOLARIS"
15162                 ;;
15163         nspr)
15164                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PRP_NewNakedCondVar in -lnspr21" >&5
15165 $as_echo_n "checking for PRP_NewNakedCondVar in -lnspr21... " >&6; }
15166 if ${ac_cv_lib_nspr21_PRP_NewNakedCondVar+:} false; then :
15167   $as_echo_n "(cached) " >&6
15168 else
15169   ac_check_lib_save_LIBS=$LIBS
15170 LIBS="-lnspr21  $LIBS"
15171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15172 /* end confdefs.h.  */
15174 /* Override any GCC internal prototype to avoid an error.
15175    Use char because int might match the return type of a GCC
15176    builtin and then its argument prototype would still apply.  */
15177 #ifdef __cplusplus
15178 extern "C"
15179 #endif
15180 char PRP_NewNakedCondVar ();
15182 main ()
15184 return PRP_NewNakedCondVar ();
15185   ;
15186   return 0;
15188 _ACEOF
15189 if ac_fn_c_try_link "$LINENO"; then :
15190   ac_cv_lib_nspr21_PRP_NewNakedCondVar=yes
15191 else
15192   ac_cv_lib_nspr21_PRP_NewNakedCondVar=no
15194 rm -f core conftest.err conftest.$ac_objext \
15195     conftest$ac_exeext conftest.$ac_ext
15196 LIBS=$ac_check_lib_save_LIBS
15198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nspr21_PRP_NewNakedCondVar" >&5
15199 $as_echo "$ac_cv_lib_nspr21_PRP_NewNakedCondVar" >&6; }
15200 if test "x$ac_cv_lib_nspr21_PRP_NewNakedCondVar" = xyes; then :
15201   G_THREAD_LIBS="-lnspr21"
15204                 g_threads_impl="NSPR"
15205                 ;;
15206         none)
15207                 g_threads_impl="NONE"
15208                 ;;
15209         *)
15210                 g_threads_impl="NONE"
15211                 G_THREAD_LIBS=error
15212                 ;;
15213 esac
15215 if test "x$G_THREAD_LIBS" = xerror; then
15216         as_fn_error $? "$LIBS_NOT_FOUND_1$have_threads$LIBS_NOT_FOUND_2" "$LINENO" 5
15219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking necessary linker options" >&5
15220 $as_echo_n "checking necessary linker options... " >&6; }
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $G_THREAD_LIBS" >&5
15222 $as_echo "$G_THREAD_LIBS" >&6; }
15225 if test x"$have_threads" != xnone; then
15226 G_THREAD_CFLAGS="$G_THREAD_CFLAGS -D_REENTRANT" # good default guess
15228     case $host in
15229         *-aix*)
15230                 G_THREAD_CFLAGS="$G_THREAD_CFLAGS -D_THREAD_SAFE"
15231                 if test x"$GCC" = xyes; then
15232                         G_THREAD_CFLAGS="$G_THREAD_CFLAGS -mthreads"
15233                 fi
15234                 ;;
15235         *-freebsd2.2*)
15236                 G_THREAD_CFLAGS="$G_THREAD_CFLAGS -D_THREAD_SAFE"
15238                 # FreeBSD 2.2.x shiped with gcc 2.7.2.x, which doesn't support
15239                 # -mthreads flag.
15240                 ;;
15241     esac
15243     # if we are not finding the ctime_r function, then we probably are
15244     # not using the proper multithread flag
15245     # Note: Digital UNIX 4.0d #defines ctime_r to _Pctime_r for gcc.
15246     old_CPPFLAGS=$CPPFLAGS
15247     CPPFLAGS="$CPPFLAGS $G_THREAD_CFLAGS"
15248     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15249 /* end confdefs.h.  */
15250 #include <time.h>
15252 _ACEOF
15253 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15254   $EGREP "[^a-zA-Z_](_P)?ctime_r[^a-zA-Z_]" >/dev/null 2>&1; then :
15255   
15256 else
15257   G_THREAD_CFLAGS=
15258     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $FLAG_DOES_NOT_WORK" >&5
15259 $as_echo "$as_me: WARNING: $FLAG_DOES_NOT_WORK" >&2;}
15261 rm -f conftest*
15263     CPPFLAGS=$old_CPPFLAGS
15265     { $as_echo "$as_me:${as_lineno-$LINENO}: checking necessary compiler options" >&5
15266 $as_echo_n "checking necessary compiler options... " >&6; }
15268     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $G_THREAD_CFLAGS" >&5
15269 $as_echo "$G_THREAD_CFLAGS" >&6; }
15270 else
15271     G_THREAD_CFLAGS=
15275 if test x"$have_threads" != xnone; then
15276         glib_save_LIBS="$LIBS"
15277         glib_save_CFLAGS="$CFLAGS"
15278         # we are not doing the following for now, as this might require glib 
15279         # to always be linked with the thread libs on some platforms. 
15280         # LIBS="$LIBS $G_THREAD_LIBS"
15281         CFLAGS="$CFLAGS $G_THREAD_CFLAGS"
15282         for ac_func in localtime_r rand_r
15283 do :
15284   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15285 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15286 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15287   cat >>confdefs.h <<_ACEOF
15288 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15289 _ACEOF
15292 done
15294         if test "$ac_cv_header_pwd_h" = "yes"; then
15295                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpwuid_r" >&5
15296 $as_echo_n "checking for getpwuid_r... " >&6; }
15297                 if ${ac_cv_func_getpwuid_r+:} false; then :
15298   $as_echo_n "(cached) " >&6
15299 else
15300   if test "$cross_compiling" = yes; then :
15301   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15302 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15303 as_fn_error $? "cannot run test program while cross compiling
15304 See \`config.log' for more details" "$LINENO" 5; }
15305 else
15306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15307 /* end confdefs.h.  */
15308 #include <errno.h>
15309                                 int main () { char buffer[10000], *pointer; 
15310                                 char getpwuid_r (long, void*, void*,
15311                                         int, void*);
15312                                 int error;
15313                                 errno = 0;
15314                                 error = getpwuid_r (0, &buffer, &buffer, 
15315                                         sizeof (buffer), &pointer);
15316                                 return errno == ENOSYS || error == ENOSYS;}
15317 _ACEOF
15318 if ac_fn_c_try_run "$LINENO"; then :
15319   ac_cv_func_getpwuid_r=yes
15320 else
15321   ac_cv_func_getpwuid_r=no
15323 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15324   conftest.$ac_objext conftest.beam conftest.$ac_ext
15329                 if test "$ac_cv_func_getpwuid_r" = yes; then
15330                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15331 $as_echo "yes" >&6; }
15332                         $as_echo "@%:@define HAVE_GETPWUID_R 1" >>confdefs.h
15334                 else
15335                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15336 $as_echo "no" >&6; }
15337                 fi
15338                 if test "$ac_cv_func_getpwuid_r" = "yes"; then
15339                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpwuid_r is posix like" >&5
15340 $as_echo_n "checking whether getpwuid_r is posix like... " >&6; }
15341                         # The signature for the POSIX version is:
15342                         # int getpwuid_r(uid_t, struct passwd *, char *, size_t, struct passwd **)
15343                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_getspecific is posix like" >&5
15344 $as_echo_n "checking whether pthread_getspecific is posix like... " >&6; }
15345 if ${ac_cv_func_getpwuid_r_posix+:} false; then :
15346   $as_echo_n "(cached) " >&6
15347 else
15348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15349 /* end confdefs.h.  */
15350 #include <pwd.h>
15351                                  #include <sys/types.h>
15352                                  #include <stdlib.h>
15354 main ()
15356 getpwuid_r((uid_t)0, NULL, NULL, (size_t)0, NULL);
15357   ;
15358   return 0;
15360 _ACEOF
15361 if ac_fn_c_try_compile "$LINENO"; then :
15362   ac_cv_func_getpwuid_r_posix=yes
15363 else
15364   ac_cv_func_getpwuid_r_posix=no
15366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15367                         
15369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getpwuid_r_posix" >&5
15370 $as_echo "$ac_cv_func_getpwuid_r_posix" >&6; }
15371                         if test "x$ac_cv_func_getpwuid_r_posix" = "xyes"; then
15372                                 $as_echo "@%:@define HAVE_GETPWUID_R_POSIX 1" >>confdefs.h
15374                         fi
15375                 fi
15376         fi
15377         if test x"$have_threads" = xposix; then
15378                 LIBS="$LIBS $G_THREAD_LIBS"
15379                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_getspecific is posix like" >&5
15380 $as_echo_n "checking whether pthread_getspecific is posix like... " >&6; }
15381                 # PCThreads has pthread_getspecific(pthread_key_t, void **);
15382                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_getspecific is posix like" >&5
15383 $as_echo_n "checking whether pthread_getspecific is posix like... " >&6; }
15384 if ${glib_cv_sys_pthread_getspecific_posix+:} false; then :
15385   $as_echo_n "(cached) " >&6
15386 else
15387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15388 /* end confdefs.h.  */
15389 #include <pthread.h>
15391 main ()
15393 pthread_getspecific(0,NULL);
15394   ;
15395   return 0;
15397 _ACEOF
15398 if ac_fn_c_try_compile "$LINENO"; then :
15399   glib_cv_sys_pthread_getspecific_posix=no
15400 else
15401   glib_cv_sys_pthread_getspecific_posix=yes
15403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15404                 
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_sys_pthread_getspecific_posix" >&5
15407 $as_echo "$glib_cv_sys_pthread_getspecific_posix" >&6; }
15408                 if test "x$glib_cv_sys_pthread_getspecific_posix" = "xyes"; then
15409                         $as_echo "@%:@define HAVE_PTHREAD_GETSPECIFIC_POSIX 1" >>confdefs.h
15411                 fi
15412                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_mutex_trylock is posix like" >&5
15413 $as_echo_n "checking whether pthread_mutex_trylock is posix like... " >&6; }
15414                 # DCE Threads return 1 as success, posix 0. what a mess.
15415                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_mutex_trylock is posix like" >&5
15416 $as_echo_n "checking whether pthread_mutex_trylock is posix like... " >&6; }
15417 if ${glib_cv_sys_pthread_mutex_trylock_posix+:} false; then :
15418   $as_echo_n "(cached) " >&6
15419 else
15420   if test "$cross_compiling" = yes; then :
15421   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15422 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15423 as_fn_error $? "cannot run test program while cross compiling
15424 See \`config.log' for more details" "$LINENO" 5; }
15425 else
15426   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15427 /* end confdefs.h.  */
15428 #include <pthread.h>
15429                                 pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
15430                                 int main () { 
15431                                 return !pthread_mutex_trylock (&mutex); }
15432 _ACEOF
15433 if ac_fn_c_try_run "$LINENO"; then :
15434   glib_cv_sys_pthread_mutex_trylock_posix=no
15435 else
15436   glib_cv_sys_pthread_mutex_trylock_posix=yes
15438 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15439   conftest.$ac_objext conftest.beam conftest.$ac_ext
15442                 
15444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_sys_pthread_mutex_trylock_posix" >&5
15445 $as_echo "$glib_cv_sys_pthread_mutex_trylock_posix" >&6; }
15446                 if test "x$glib_cv_sys_pthread_mutex_trylock_posix=no" = "xyes"; then
15447                         $as_echo "@%:@define HAVE_PTHREAD_MUTEX_TRYLOCK_POSIX 1" >>confdefs.h
15449                 fi
15450                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_cond_timedwait is posix like" >&5
15451 $as_echo_n "checking whether pthread_cond_timedwait is posix like... " >&6; }
15452                 # DCE Threads return -1 as failure, posix ETIMEDOUT.
15453                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_cond_timedwait is posix like" >&5
15454 $as_echo_n "checking whether pthread_cond_timedwait is posix like... " >&6; }
15455 if ${glib_cv_sys_pthread_cond_timedwait_posix+:} false; then :
15456   $as_echo_n "(cached) " >&6
15457 else
15458   if test "$cross_compiling" = yes; then :
15459   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15460 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15461 as_fn_error $? "cannot run test program while cross compiling
15462 See \`config.log' for more details" "$LINENO" 5; }
15463 else
15464   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15465 /* end confdefs.h.  */
15466 #include <pthread.h>
15467                                 int main () { 
15468                                 pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
15469                                 pthread_cond_t cond = PTHREAD_COND_INITIALIZER;
15470                                 struct timeval tval;
15471                                 struct timespec tspec;
15472                                 gettimeofday (&tval, NULL);
15473                                 tspec.tv_sec = tval.tv_sec;
15474                                 tspec.tv_nsec = 0;
15475                                 return pthread_cond_timedwait (&cond,&mutex,&tspec) != -1;}
15476 _ACEOF
15477 if ac_fn_c_try_run "$LINENO"; then :
15478   glib_cv_sys_pthread_cond_timedwait_posix=no
15479 else
15480   glib_cv_sys_pthread_cond_timedwait_posix=yes
15482 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15483   conftest.$ac_objext conftest.beam conftest.$ac_ext
15486                 
15488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_sys_pthread_cond_timedwait_posix" >&5
15489 $as_echo "$glib_cv_sys_pthread_cond_timedwait_posix" >&6; }
15490                 if test "x$glib_cv_sys_pthread_cond_timedwait_posix" = "xyes"; then
15491                         $as_echo "@%:@define HAVE_PTHREAD_COND_TIMEDWAIT_POSIX 1" >>confdefs.h
15493                 fi
15494         fi
15495         LIBS="$glib_save_LIBS"
15496         CFLAGS="$glib_save_CFLAGS"
15499 if test "x$enable_threads" = "xyes"; then
15500         if test "$ac_cv_func_getpwuid_r" != "yes"; then
15501                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $FUNC_NO_GETPWUID_R" >&5
15502 $as_echo "$as_me: WARNING: $FUNC_NO_GETPWUID_R" >&2;}
15503         fi
15504         if test "$ac_cv_func_localtime_r" != "yes"; then
15505                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $FUNC_NO_LOCALTIME_R" >&5
15506 $as_echo "$as_me: WARNING: $FUNC_NO_LOCALTIME_R" >&2;}
15507         fi
15510 cat >>confdefs.h <<_ACEOF
15511 @%:@define G_THREAD_SOURCE "gthread-$have_threads.c"
15512 _ACEOF
15517 CFLAGS="$CFLAGS $G_THREAD_CFLAGS"
15520         case "$mutex_has_default" in
15521         "yes")
15522                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of $mutex_default_type" >&5
15523 $as_echo_n "checking size of $mutex_default_type... " >&6; }
15524 if ${glib_cv_sizeof_gmutex+:} false; then :
15525   $as_echo_n "(cached) " >&6
15526 else
15527   if test "$cross_compiling" = yes; then :
15528   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15529 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15530 as_fn_error $? "cannot run test program while cross compiling
15531 See \`config.log' for more details" "$LINENO" 5; }
15532 else
15533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15534 /* end confdefs.h.  */
15535 #include <stdio.h>
15536 #include <$mutex_header_file>
15537 main()
15539   FILE *f=fopen("conftestval", "w");
15540   if (!f) exit(1);
15541   fprintf(f, "%d\n", sizeof($mutex_default_type));
15542   exit(0);
15544 _ACEOF
15545 if ac_fn_c_try_run "$LINENO"; then :
15546   glib_cv_sizeof_gmutex=`cat conftestval`
15547 else
15548   glib_cv_sizeof_gmutex=0
15550 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15551   conftest.$ac_objext conftest.beam conftest.$ac_ext
15555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_sizeof_gmutex" >&5
15556 $as_echo "$glib_cv_sizeof_gmutex" >&6; }
15557 cat >>confdefs.h <<_ACEOF
15558 @%:@define GLIB_SIZEOF_GMUTEX $glib_cv_sizeof_gmutex
15559 _ACEOF
15562         { $as_echo "$as_me:${as_lineno-$LINENO}: checking byte contents of $mutex_default_type" >&5
15563 $as_echo_n "checking byte contents of $mutex_default_type... " >&6; }
15564 if ${glib_cv_byte_contents_gmutex+:} false; then :
15565   $as_echo_n "(cached) " >&6
15566 else
15567   if test "$cross_compiling" = yes; then :
15568   glib_cv_byte_contents_gmutex=0
15569 else
15570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15571 /* end confdefs.h.  */
15572 #include <stdio.h>
15573 #include <$mutex_header_file>
15574 main()
15576   static $mutex_default_type tv = $mutex_default_init;
15577   char *p = (char*) &tv;
15578   int i;
15579   FILE *f=fopen("conftestval", "w");
15580   if (!f) exit(1);
15581   for (i = 0; i < $glib_cv_sizeof_gmutex; i++)
15582     fprintf(f, "%s%d", i?",":"", *(p++));
15583   fprintf(f, "\n");
15584   exit(0);
15586 _ACEOF
15587 if ac_fn_c_try_run "$LINENO"; then :
15588   glib_cv_byte_contents_gmutex=`cat conftestval`
15589 else
15590   glib_cv_byte_contents_gmutex=0
15592 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15593   conftest.$ac_objext conftest.beam conftest.$ac_ext
15597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_byte_contents_gmutex" >&5
15598 $as_echo "$glib_cv_byte_contents_gmutex" >&6; }
15599 cat >>confdefs.h <<_ACEOF
15600 @%:@define GLIB_BYTE_CONTENTS_GMUTEX $glib_cv_byte_contents_gmutex
15601 _ACEOF
15604         
15605                 ;;
15606         *)
15607                 
15608                 ;;
15609         esac
15613 if test "x$cross_compiling" != "xyes"; then
15614 glib_sysdefso="glibconfig-sysdefs.h"
15615 glib_sysdef_msg=`echo POLLIN:1 POLLOUT:4 POLLPRI:2 POLLERR:8 POLLHUP:16 POLLNVAL:32 | sed 's/:[^        ]*//g'`
15616 if test "x`(echo '\n') 2>/dev/null`" != 'x\n'; then
15617   glib_nl='\\n'
15618 else
15619   glib_nl='\n'
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking system definitions for $glib_sysdef_msg" >&5
15622 $as_echo_n "checking system definitions for $glib_sysdef_msg... " >&6; }
15623 cat >confrun.c <<_______EOF
15624 #include <stdio.h>
15625 #include <sys/types.h>
15626 #include <sys/poll.h>
15627 int main (int c, char **v) {
15628   FILE *f = fopen ("$glib_sysdefso", "a");
15629   if (!f) return 1;
15630 _______EOF
15631 for glib_sysdef_input in POLLIN:1 POLLOUT:4 POLLPRI:2 POLLERR:8 POLLHUP:16 POLLNVAL:32 ; do
15632         glib_sysdef=`echo $glib_sysdef_input | sed 's/^\([^:]*\):.*$/\1/'`
15633         glib_default=`echo $glib_sysdef_input | sed 's/^[^:]*:\(.*\)$/\1/'`
15634         echo "#ifdef $glib_sysdef" >>confrun.c
15635         echo "  fprintf (f, \"#define GLIB_SYSDEF_%s %s%d${glib_nl}\", \"$glib_sysdef\", \"=\", $glib_sysdef);" >>confrun.c
15636         echo "#else" >>confrun.c
15637         if test $glib_sysdef != $glib_default; then
15638                 echo "  fprintf (f, \"#define GLIB_SYSDEF_%s %s%d${glib_nl}\", \"$glib_sysdef\", \"=\", $glib_default);" >>confrun.c
15639         else
15640                 echo "  fprintf (f, \"#define GLIB_SYSDEF_%s${glib_nl}\", \"$glib_sysdef\");" >>confrun.c
15641         fi
15642         echo "#endif" >>confrun.c
15643 done
15644 echo "return 0; }" >>confrun.c
15645 if test "$cross_compiling" = yes; then :
15646   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15647 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15648 as_fn_error $? "cannot run test program while cross compiling
15649 See \`config.log' for more details" "$LINENO" 5; }
15650 else
15651   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15652 /* end confdefs.h.  */
15653 `cat confrun.c`
15654 _ACEOF
15655 if ac_fn_c_try_run "$LINENO"; then :
15656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15657 $as_echo "done" >&6; }
15658 else
15659         for glib_sysdef_input in POLLIN:1 POLLOUT:4 POLLPRI:2 POLLERR:8 POLLHUP:16 POLLNVAL:32 ; do
15660                 glib_sysdef=`echo $glib_sysdef_input | sed 's/^\([^:]*\):.*$/\1/'`
15661                 glib_default=`echo $glib_sysdef_input | sed 's/^[^:]*:\(.*\)$/\1/'`
15662                 if test $glib_sysdef != $glib_default; then
15663                         glib_default=" =$glib_default"
15664                 else
15665                         glib_default=
15666                 fi
15667                 echo "#define GLIB_SYSDEF_$glib_sysdef$glib_default" >>$glib_sysdefso
15668         done
15669         { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
15670 $as_echo "failed" >&6; }
15672 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15673   conftest.$ac_objext conftest.beam conftest.$ac_ext
15676 rm -f confrun.c
15682 ac_config_commands="$ac_config_commands default-1"
15685 ac_config_files="$ac_config_files glib.spec Makefile glib-config gmodule/gmoduleconf.h gmodule/Makefile gthread/Makefile docs/Makefile docs/glib-config.1 tests/Makefile glib.pc gmodule.pc gthread.pc"
15687 ac_config_commands="$ac_config_commands default"
15689 cat >confcache <<\_ACEOF
15690 # This file is a shell script that caches the results of configure
15691 # tests run on this system so they can be shared between configure
15692 # scripts and configure runs, see configure's option --config-cache.
15693 # It is not useful on other systems.  If it contains results you don't
15694 # want to keep, you may remove or edit it.
15696 # config.status only pays attention to the cache file if you give it
15697 # the --recheck option to rerun configure.
15699 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15700 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15701 # following values.
15703 _ACEOF
15705 # The following way of writing the cache mishandles newlines in values,
15706 # but we know of no workaround that is simple, portable, and efficient.
15707 # So, we kill variables containing newlines.
15708 # Ultrix sh set writes to stderr and can't be redirected directly,
15709 # and sets the high bit in the cache file unless we assign to the vars.
15711   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15712     eval ac_val=\$$ac_var
15713     case $ac_val in #(
15714     *${as_nl}*)
15715       case $ac_var in #(
15716       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15717 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15718       esac
15719       case $ac_var in #(
15720       _ | IFS | as_nl) ;; #(
15721       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15722       *) { eval $ac_var=; unset $ac_var;} ;;
15723       esac ;;
15724     esac
15725   done
15727   (set) 2>&1 |
15728     case $as_nl`(ac_space=' '; set) 2>&1` in #(
15729     *${as_nl}ac_space=\ *)
15730       # `set' does not quote correctly, so add quotes: double-quote
15731       # substitution turns \\\\ into \\, and sed turns \\ into \.
15732       sed -n \
15733         "s/'/'\\\\''/g;
15734           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15735       ;; #(
15736     *)
15737       # `set' quotes correctly as required by POSIX, so do not add quotes.
15738       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15739       ;;
15740     esac |
15741     sort
15742 ) |
15743   sed '
15744      /^ac_cv_env_/b end
15745      t clear
15746      :clear
15747      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15748      t end
15749      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15750      :end' >>confcache
15751 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15752   if test -w "$cache_file"; then
15753     if test "x$cache_file" != "x/dev/null"; then
15754       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15755 $as_echo "$as_me: updating cache $cache_file" >&6;}
15756       if test ! -f "$cache_file" || test -h "$cache_file"; then
15757         cat confcache >"$cache_file"
15758       else
15759         case $cache_file in #(
15760         */* | ?:*)
15761           mv -f confcache "$cache_file"$$ &&
15762           mv -f "$cache_file"$$ "$cache_file" ;; #(
15763         *)
15764           mv -f confcache "$cache_file" ;;
15765         esac
15766       fi
15767     fi
15768   else
15769     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15770 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15771   fi
15773 rm -f confcache
15775 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15776 # Let make expand exec_prefix.
15777 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15779 DEFS=-DHAVE_CONFIG_H
15781 ac_libobjs=
15782 ac_ltlibobjs=
15784 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
15785   # 1. Remove the extension, and $U if already installed.
15786   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15787   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15788   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15789   #    will be set to the directory where LIBOBJS objects are built.
15790   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15791   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15792 done
15793 LIB@&t@OBJS=$ac_libobjs
15795 LTLIBOBJS=$ac_ltlibobjs
15798  if test -n "$EXEEXT"; then
15799   am__EXEEXT_TRUE=
15800   am__EXEEXT_FALSE='#'
15801 else
15802   am__EXEEXT_TRUE='#'
15803   am__EXEEXT_FALSE=
15806 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15807   as_fn_error $? "conditional \"AMDEP\" was never defined.
15808 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15810 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15811   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15812 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15814 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15815   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15816 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15818 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15819   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15820 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15822 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15823   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15824 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15828 : "${CONFIG_STATUS=./config.status}"
15829 ac_write_fail=0
15830 ac_clean_files_save=$ac_clean_files
15831 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15832 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15833 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15834 as_write_fail=0
15835 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15836 #! $SHELL
15837 # Generated by $as_me.
15838 # Run this file to recreate the current configuration.
15839 # Compiler output produced by configure, useful for debugging
15840 # configure, is in config.log if it exists.
15842 debug=false
15843 ac_cs_recheck=false
15844 ac_cs_silent=false
15846 SHELL=\${CONFIG_SHELL-$SHELL}
15847 export SHELL
15848 _ASEOF
15849 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15850 ## -------------------- ##
15851 ## M4sh Initialization. ##
15852 ## -------------------- ##
15854 # Be more Bourne compatible
15855 DUALCASE=1; export DUALCASE # for MKS sh
15856 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15857   emulate sh
15858   NULLCMD=:
15859   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15860   # is contrary to our usage.  Disable this feature.
15861   alias -g '${1+"$@"}'='"$@"'
15862   setopt NO_GLOB_SUBST
15863 else
15864   case `(set -o) 2>/dev/null` in @%:@(
15865   *posix*) :
15866     set -o posix ;; @%:@(
15867   *) :
15868      ;;
15869 esac
15873 as_nl='
15875 export as_nl
15876 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15877 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15878 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15879 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15880 # Prefer a ksh shell builtin over an external printf program on Solaris,
15881 # but without wasting forks for bash or zsh.
15882 if test -z "$BASH_VERSION$ZSH_VERSION" \
15883     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15884   as_echo='print -r --'
15885   as_echo_n='print -rn --'
15886 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15887   as_echo='printf %s\n'
15888   as_echo_n='printf %s'
15889 else
15890   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15891     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15892     as_echo_n='/usr/ucb/echo -n'
15893   else
15894     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15895     as_echo_n_body='eval
15896       arg=$1;
15897       case $arg in @%:@(
15898       *"$as_nl"*)
15899         expr "X$arg" : "X\\(.*\\)$as_nl";
15900         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15901       esac;
15902       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15903     '
15904     export as_echo_n_body
15905     as_echo_n='sh -c $as_echo_n_body as_echo'
15906   fi
15907   export as_echo_body
15908   as_echo='sh -c $as_echo_body as_echo'
15911 # The user is always right.
15912 if test "${PATH_SEPARATOR+set}" != set; then
15913   PATH_SEPARATOR=:
15914   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15915     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15916       PATH_SEPARATOR=';'
15917   }
15921 # IFS
15922 # We need space, tab and new line, in precisely that order.  Quoting is
15923 # there to prevent editors from complaining about space-tab.
15924 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15925 # splitting by setting IFS to empty value.)
15926 IFS=" ""        $as_nl"
15928 # Find who we are.  Look in the path if we contain no directory separator.
15929 as_myself=
15930 case $0 in @%:@((
15931   *[\\/]* ) as_myself=$0 ;;
15932   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15933 for as_dir in $PATH
15935   IFS=$as_save_IFS
15936   test -z "$as_dir" && as_dir=.
15937     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15938   done
15939 IFS=$as_save_IFS
15941      ;;
15942 esac
15943 # We did not find ourselves, most probably we were run as `sh COMMAND'
15944 # in which case we are not to be found in the path.
15945 if test "x$as_myself" = x; then
15946   as_myself=$0
15948 if test ! -f "$as_myself"; then
15949   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15950   exit 1
15953 # Unset variables that we do not need and which cause bugs (e.g. in
15954 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15955 # suppresses any "Segmentation fault" message there.  '((' could
15956 # trigger a bug in pdksh 5.2.14.
15957 for as_var in BASH_ENV ENV MAIL MAILPATH
15958 do eval test x\${$as_var+set} = xset \
15959   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15960 done
15961 PS1='$ '
15962 PS2='> '
15963 PS4='+ '
15965 # NLS nuisances.
15966 LC_ALL=C
15967 export LC_ALL
15968 LANGUAGE=C
15969 export LANGUAGE
15971 # CDPATH.
15972 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15975 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
15976 @%:@ ----------------------------------------
15977 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15978 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15979 @%:@ script with STATUS, using 1 if that was 0.
15980 as_fn_error ()
15982   as_status=$1; test $as_status -eq 0 && as_status=1
15983   if test "$4"; then
15984     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15985     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15986   fi
15987   $as_echo "$as_me: error: $2" >&2
15988   as_fn_exit $as_status
15989 } @%:@ as_fn_error
15992 @%:@ as_fn_set_status STATUS
15993 @%:@ -----------------------
15994 @%:@ Set @S|@? to STATUS, without forking.
15995 as_fn_set_status ()
15997   return $1
15998 } @%:@ as_fn_set_status
16000 @%:@ as_fn_exit STATUS
16001 @%:@ -----------------
16002 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16003 as_fn_exit ()
16005   set +e
16006   as_fn_set_status $1
16007   exit $1
16008 } @%:@ as_fn_exit
16010 @%:@ as_fn_unset VAR
16011 @%:@ ---------------
16012 @%:@ Portably unset VAR.
16013 as_fn_unset ()
16015   { eval $1=; unset $1;}
16017 as_unset=as_fn_unset
16018 @%:@ as_fn_append VAR VALUE
16019 @%:@ ----------------------
16020 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
16021 @%:@ advantage of any shell optimizations that allow amortized linear growth over
16022 @%:@ repeated appends, instead of the typical quadratic growth present in naive
16023 @%:@ implementations.
16024 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16025   eval 'as_fn_append ()
16026   {
16027     eval $1+=\$2
16028   }'
16029 else
16030   as_fn_append ()
16031   {
16032     eval $1=\$$1\$2
16033   }
16034 fi # as_fn_append
16036 @%:@ as_fn_arith ARG...
16037 @%:@ ------------------
16038 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
16039 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
16040 @%:@ must be portable across @S|@(()) and expr.
16041 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16042   eval 'as_fn_arith ()
16043   {
16044     as_val=$(( $* ))
16045   }'
16046 else
16047   as_fn_arith ()
16048   {
16049     as_val=`expr "$@" || test $? -eq 1`
16050   }
16051 fi # as_fn_arith
16054 if expr a : '\(a\)' >/dev/null 2>&1 &&
16055    test "X`expr 00001 : '.*\(...\)'`" = X001; then
16056   as_expr=expr
16057 else
16058   as_expr=false
16061 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16062   as_basename=basename
16063 else
16064   as_basename=false
16067 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16068   as_dirname=dirname
16069 else
16070   as_dirname=false
16073 as_me=`$as_basename -- "$0" ||
16074 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16075          X"$0" : 'X\(//\)$' \| \
16076          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16077 $as_echo X/"$0" |
16078     sed '/^.*\/\([^/][^/]*\)\/*$/{
16079             s//\1/
16080             q
16081           }
16082           /^X\/\(\/\/\)$/{
16083             s//\1/
16084             q
16085           }
16086           /^X\/\(\/\).*/{
16087             s//\1/
16088             q
16089           }
16090           s/.*/./; q'`
16092 # Avoid depending upon Character Ranges.
16093 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16094 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16095 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16096 as_cr_digits='0123456789'
16097 as_cr_alnum=$as_cr_Letters$as_cr_digits
16099 ECHO_C= ECHO_N= ECHO_T=
16100 case `echo -n x` in @%:@(((((
16101 -n*)
16102   case `echo 'xy\c'` in
16103   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
16104   xy)  ECHO_C='\c';;
16105   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
16106        ECHO_T=' ';;
16107   esac;;
16109   ECHO_N='-n';;
16110 esac
16112 rm -f conf$$ conf$$.exe conf$$.file
16113 if test -d conf$$.dir; then
16114   rm -f conf$$.dir/conf$$.file
16115 else
16116   rm -f conf$$.dir
16117   mkdir conf$$.dir 2>/dev/null
16119 if (echo >conf$$.file) 2>/dev/null; then
16120   if ln -s conf$$.file conf$$ 2>/dev/null; then
16121     as_ln_s='ln -s'
16122     # ... but there are two gotchas:
16123     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16124     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16125     # In both cases, we have to default to `cp -p'.
16126     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16127       as_ln_s='cp -p'
16128   elif ln conf$$.file conf$$ 2>/dev/null; then
16129     as_ln_s=ln
16130   else
16131     as_ln_s='cp -p'
16132   fi
16133 else
16134   as_ln_s='cp -p'
16136 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16137 rmdir conf$$.dir 2>/dev/null
16140 @%:@ as_fn_mkdir_p
16141 @%:@ -------------
16142 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
16143 as_fn_mkdir_p ()
16146   case $as_dir in #(
16147   -*) as_dir=./$as_dir;;
16148   esac
16149   test -d "$as_dir" || eval $as_mkdir_p || {
16150     as_dirs=
16151     while :; do
16152       case $as_dir in #(
16153       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16154       *) as_qdir=$as_dir;;
16155       esac
16156       as_dirs="'$as_qdir' $as_dirs"
16157       as_dir=`$as_dirname -- "$as_dir" ||
16158 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16159          X"$as_dir" : 'X\(//\)[^/]' \| \
16160          X"$as_dir" : 'X\(//\)$' \| \
16161          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16162 $as_echo X"$as_dir" |
16163     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16164             s//\1/
16165             q
16166           }
16167           /^X\(\/\/\)[^/].*/{
16168             s//\1/
16169             q
16170           }
16171           /^X\(\/\/\)$/{
16172             s//\1/
16173             q
16174           }
16175           /^X\(\/\).*/{
16176             s//\1/
16177             q
16178           }
16179           s/.*/./; q'`
16180       test -d "$as_dir" && break
16181     done
16182     test -z "$as_dirs" || eval "mkdir $as_dirs"
16183   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16186 } @%:@ as_fn_mkdir_p
16187 if mkdir -p . 2>/dev/null; then
16188   as_mkdir_p='mkdir -p "$as_dir"'
16189 else
16190   test -d ./-p && rmdir ./-p
16191   as_mkdir_p=false
16194 if test -x / >/dev/null 2>&1; then
16195   as_test_x='test -x'
16196 else
16197   if ls -dL / >/dev/null 2>&1; then
16198     as_ls_L_option=L
16199   else
16200     as_ls_L_option=
16201   fi
16202   as_test_x='
16203     eval sh -c '\''
16204       if test -d "$1"; then
16205         test -d "$1/.";
16206       else
16207         case $1 in @%:@(
16208         -*)set "./$1";;
16209         esac;
16210         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
16211         ???[sx]*):;;*)false;;esac;fi
16212     '\'' sh
16213   '
16215 as_executable_p=$as_test_x
16217 # Sed expression to map a string onto a valid CPP name.
16218 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16220 # Sed expression to map a string onto a valid variable name.
16221 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16224 exec 6>&1
16225 ## ----------------------------------- ##
16226 ## Main body of $CONFIG_STATUS script. ##
16227 ## ----------------------------------- ##
16228 _ASEOF
16229 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16231 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16232 # Save the log message, to keep $0 and so on meaningful, and to
16233 # report actual input values of CONFIG_FILES etc. instead of their
16234 # values after options handling.
16235 ac_log="
16236 This file was extended by $as_me, which was
16237 generated by GNU Autoconf 2.68.  Invocation command line was
16239   CONFIG_FILES    = $CONFIG_FILES
16240   CONFIG_HEADERS  = $CONFIG_HEADERS
16241   CONFIG_LINKS    = $CONFIG_LINKS
16242   CONFIG_COMMANDS = $CONFIG_COMMANDS
16243   $ $0 $@
16245 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16248 _ACEOF
16250 case $ac_config_files in *"
16251 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16252 esac
16254 case $ac_config_headers in *"
16255 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16256 esac
16259 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16260 # Files that config.status was made for.
16261 config_files="$ac_config_files"
16262 config_headers="$ac_config_headers"
16263 config_commands="$ac_config_commands"
16265 _ACEOF
16267 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16268 ac_cs_usage="\
16269 \`$as_me' instantiates files and other configuration actions
16270 from templates according to the current configuration.  Unless the files
16271 and actions are specified as TAGs, all are instantiated by default.
16273 Usage: $0 [OPTION]... [TAG]...
16275   -h, --help       print this help, then exit
16276   -V, --version    print version number and configuration settings, then exit
16277       --config     print configuration, then exit
16278   -q, --quiet, --silent
16279                    do not print progress messages
16280   -d, --debug      don't remove temporary files
16281       --recheck    update $as_me by reconfiguring in the same conditions
16282       --file=FILE[:TEMPLATE] 
16283                    instantiate the configuration file FILE
16284       --header=FILE[:TEMPLATE] 
16285                    instantiate the configuration header FILE
16287 Configuration files:
16288 $config_files
16290 Configuration headers:
16291 $config_headers
16293 Configuration commands:
16294 $config_commands
16296 Report bugs to the package provider."
16298 _ACEOF
16299 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16300 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16301 ac_cs_version="\\
16302 config.status
16303 configured by $0, generated by GNU Autoconf 2.68,
16304   with options \\"\$ac_cs_config\\"
16306 Copyright (C) 2010 Free Software Foundation, Inc.
16307 This config.status script is free software; the Free Software Foundation
16308 gives unlimited permission to copy, distribute and modify it."
16310 ac_pwd='$ac_pwd'
16311 srcdir='$srcdir'
16312 INSTALL='$INSTALL'
16313 MKDIR_P='$MKDIR_P'
16314 AWK='$AWK'
16315 test -n "\$AWK" || AWK=awk
16316 _ACEOF
16318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16319 # The default lists apply if the user does not specify any file.
16320 ac_need_defaults=:
16321 while test $# != 0
16323   case $1 in
16324   --*=?*)
16325     ac_option=`expr "X$1" : 'X\([^=]*\)='`
16326     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16327     ac_shift=:
16328     ;;
16329   --*=)
16330     ac_option=`expr "X$1" : 'X\([^=]*\)='`
16331     ac_optarg=
16332     ac_shift=:
16333     ;;
16334   *)
16335     ac_option=$1
16336     ac_optarg=$2
16337     ac_shift=shift
16338     ;;
16339   esac
16341   case $ac_option in
16342   # Handling of the options.
16343   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16344     ac_cs_recheck=: ;;
16345   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16346     $as_echo "$ac_cs_version"; exit ;;
16347   --config | --confi | --conf | --con | --co | --c )
16348     $as_echo "$ac_cs_config"; exit ;;
16349   --debug | --debu | --deb | --de | --d | -d )
16350     debug=: ;;
16351   --file | --fil | --fi | --f )
16352     $ac_shift
16353     case $ac_optarg in
16354     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16355     '') as_fn_error $? "missing file argument" ;;
16356     esac
16357     as_fn_append CONFIG_FILES " '$ac_optarg'"
16358     ac_need_defaults=false;;
16359   --header | --heade | --head | --hea )
16360     $ac_shift
16361     case $ac_optarg in
16362     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16363     esac
16364     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16365     ac_need_defaults=false;;
16366   --he | --h)
16367     # Conflict between --help and --header
16368     as_fn_error $? "ambiguous option: \`$1'
16369 Try \`$0 --help' for more information.";;
16370   --help | --hel | -h )
16371     $as_echo "$ac_cs_usage"; exit ;;
16372   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16373   | -silent | --silent | --silen | --sile | --sil | --si | --s)
16374     ac_cs_silent=: ;;
16376   # This is an error.
16377   -*) as_fn_error $? "unrecognized option: \`$1'
16378 Try \`$0 --help' for more information." ;;
16380   *) as_fn_append ac_config_targets " $1"
16381      ac_need_defaults=false ;;
16383   esac
16384   shift
16385 done
16387 ac_configure_extra_args=
16389 if $ac_cs_silent; then
16390   exec 6>/dev/null
16391   ac_configure_extra_args="$ac_configure_extra_args --silent"
16394 _ACEOF
16395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16396 if \$ac_cs_recheck; then
16397   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16398   shift
16399   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16400   CONFIG_SHELL='$SHELL'
16401   export CONFIG_SHELL
16402   exec "\$@"
16405 _ACEOF
16406 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16407 exec 5>>config.log
16409   echo
16410   sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
16411 @%:@@%:@ Running $as_me. @%:@@%:@
16412 _ASBOX
16413   $as_echo "$ac_log"
16414 } >&5
16416 _ACEOF
16417 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16419 # INIT-COMMANDS
16421 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16424 # The HP-UX ksh and POSIX shell print the target directory to stdout
16425 # if CDPATH is set.
16426 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16428 sed_quote_subst='$sed_quote_subst'
16429 double_quote_subst='$double_quote_subst'
16430 delay_variable_subst='$delay_variable_subst'
16431 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16432 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16433 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16434 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16435 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16436 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16437 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16438 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16439 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16440 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16441 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16442 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16443 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16444 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16445 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16446 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16447 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16448 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16449 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16450 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16451 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16452 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16453 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16454 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16455 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16456 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16457 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16458 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16459 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16460 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16461 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16462 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16463 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16464 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16465 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16466 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16467 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16468 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16469 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16470 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16471 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16472 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16473 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16474 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16475 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16476 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16477 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16478 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16479 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16480 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16481 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16482 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16483 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16484 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16485 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16486 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"`'
16487 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16488 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16489 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16490 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16491 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16492 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16493 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16494 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16495 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16496 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16497 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16498 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16499 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16500 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16501 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16502 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16503 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16504 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16505 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16506 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16507 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16508 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16509 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16510 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16511 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16512 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16513 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16514 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16515 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16516 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16517 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16518 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16519 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16520 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16521 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16522 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16523 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16524 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16525 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16526 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16527 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16528 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16529 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16530 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16531 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16532 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16533 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16534 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16535 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16536 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16537 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16538 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16539 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16540 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16541 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16542 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16543 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16544 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16545 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16546 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16547 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16548 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16549 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16550 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16551 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16552 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16553 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16554 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16555 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16556 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16557 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16558 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16559 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16560 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16562 LTCC='$LTCC'
16563 LTCFLAGS='$LTCFLAGS'
16564 compiler='$compiler_DEFAULT'
16566 # A function that is used when there is no print builtin or printf.
16567 func_fallback_echo ()
16569   eval 'cat <<_LTECHO_EOF
16571 _LTECHO_EOF'
16574 # Quote evaled strings.
16575 for var in SHELL \
16576 ECHO \
16577 SED \
16578 GREP \
16579 EGREP \
16580 FGREP \
16581 LD \
16582 NM \
16583 LN_S \
16584 lt_SP2NL \
16585 lt_NL2SP \
16586 reload_flag \
16587 OBJDUMP \
16588 deplibs_check_method \
16589 file_magic_cmd \
16590 file_magic_glob \
16591 want_nocaseglob \
16592 DLLTOOL \
16593 sharedlib_from_linklib_cmd \
16594 AR \
16595 AR_FLAGS \
16596 archiver_list_spec \
16597 STRIP \
16598 RANLIB \
16599 CC \
16600 CFLAGS \
16601 compiler \
16602 lt_cv_sys_global_symbol_pipe \
16603 lt_cv_sys_global_symbol_to_cdecl \
16604 lt_cv_sys_global_symbol_to_c_name_address \
16605 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16606 nm_file_list_spec \
16607 lt_prog_compiler_no_builtin_flag \
16608 lt_prog_compiler_pic \
16609 lt_prog_compiler_wl \
16610 lt_prog_compiler_static \
16611 lt_cv_prog_compiler_c_o \
16612 need_locks \
16613 MANIFEST_TOOL \
16614 DSYMUTIL \
16615 NMEDIT \
16616 LIPO \
16617 OTOOL \
16618 OTOOL64 \
16619 shrext_cmds \
16620 export_dynamic_flag_spec \
16621 whole_archive_flag_spec \
16622 compiler_needs_object \
16623 with_gnu_ld \
16624 allow_undefined_flag \
16625 no_undefined_flag \
16626 hardcode_libdir_flag_spec \
16627 hardcode_libdir_flag_spec_ld \
16628 hardcode_libdir_separator \
16629 exclude_expsyms \
16630 include_expsyms \
16631 file_list_spec \
16632 variables_saved_for_relink \
16633 libname_spec \
16634 library_names_spec \
16635 soname_spec \
16636 install_override_mode \
16637 finish_eval \
16638 old_striplib \
16639 striplib; do
16640     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16641     *[\\\\\\\`\\"\\\$]*)
16642       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16643       ;;
16644     *)
16645       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16646       ;;
16647     esac
16648 done
16650 # Double-quote double-evaled strings.
16651 for var in reload_cmds \
16652 old_postinstall_cmds \
16653 old_postuninstall_cmds \
16654 old_archive_cmds \
16655 extract_expsyms_cmds \
16656 old_archive_from_new_cmds \
16657 old_archive_from_expsyms_cmds \
16658 archive_cmds \
16659 archive_expsym_cmds \
16660 module_cmds \
16661 module_expsym_cmds \
16662 export_symbols_cmds \
16663 prelink_cmds \
16664 postlink_cmds \
16665 postinstall_cmds \
16666 postuninstall_cmds \
16667 finish_cmds \
16668 sys_lib_search_path_spec \
16669 sys_lib_dlsearch_path_spec; do
16670     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16671     *[\\\\\\\`\\"\\\$]*)
16672       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16673       ;;
16674     *)
16675       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16676       ;;
16677     esac
16678 done
16680 ac_aux_dir='$ac_aux_dir'
16681 xsi_shell='$xsi_shell'
16682 lt_shell_append='$lt_shell_append'
16684 # See if we are running on zsh, and set the options which allow our
16685 # commands through without removal of \ escapes INIT.
16686 if test -n "\${ZSH_VERSION+set}" ; then
16687    setopt NO_GLOB_SUBST
16691     PACKAGE='$PACKAGE'
16692     VERSION='$VERSION'
16693     TIMESTAMP='$TIMESTAMP'
16694     RM='$RM'
16695     ofile='$ofile'
16701 # Note that if two cases are the same, case goes with the first one.
16702 # Note also that this is inside an AC_OUTPUT_COMMAND.  We do not depend
16703 # on variable expansion in case labels.  Look at the generated config.status
16704 # for a hint.
16706 case xyes in
16707 x$ac_cv_header_float_h)
16708   glib_float_h=yes
16709   glib_mf=FLT_MIN glib_Mf=FLT_MAX
16710   glib_md=DBL_MIN glib_Md=DBL_MAX
16711   ;;
16712 x$ac_cv_header_values_h)
16713   glib_values_h=yes
16714   glib_mf=MINFLOAT  glib_Mf=MAXFLOAT
16715   glib_md=MINDOUBLE glib_Md=MAXDOUBLE
16716   ;;
16717 esac
16719 case xyes in
16720 x$ac_cv_header_limits_h)
16721   glib_limits_h=yes
16722   glib_ms=SHRT_MIN glib_Ms=SHRT_MAX
16723   glib_mi=INT_MIN  glib_Mi=INT_MAX
16724   glib_ml=LONG_MIN glib_Ml=LONG_MAX
16725   ;;
16726 x$ac_cv_header_values_h)
16727   glib_values_h=yes
16728   glib_ms=MINSHORT glib_Ms=MAXSHORT
16729   glib_mi=MININT   glib_Mi=MAXINT
16730   glib_ml=MINLONG  glib_Ml=MAXLONG
16731   ;;
16732 esac
16734 if test x$ac_cv_header_sys_poll_h = xyes ; then
16735   glib_sys_poll_h=yes
16738 case 2 in
16739 $ac_cv_sizeof_short)            gint16=short;;
16740 $ac_cv_sizeof_int)              gint16=int;;
16741 esac
16742 case 4 in
16743 $ac_cv_sizeof_short)            gint32=short;;
16744 $ac_cv_sizeof_int)              gint32=int;;
16745 $ac_cv_sizeof_long)             gint32=long;;
16746 esac
16747 case 8 in
16748 $ac_cv_sizeof_int)
16749   gint64=int
16750   glib_extension=
16751   glib_warning_guard=
16752   gint64_constant='(val)'
16753   ;;
16754 $ac_cv_sizeof_long)
16755   gint64=long
16756   glib_extension=
16757   glib_warning_guard=
16758   gint64_constant='(val##L)'
16759   ;;
16760 $ac_cv_sizeof_long_long)
16761   gint64='long long'
16762   glib_extension='G_GNUC_EXTENSION '
16763   glib_warning_guard="
16764 #if defined (__GNUC__) && (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 8))
16765 #  define G_GNUC_EXTENSION __extension__
16766 #else
16767 #  define G_GNUC_EXTENSION
16768 #endif
16771   gint64_constant='(G_GNUC_EXTENSION (val##LL))'
16772   ;;
16773 esac
16775 gintbits=`expr $ac_cv_sizeof_int \* 8`
16776 glongbits=`expr $ac_cv_sizeof_long \* 8`
16779 case $ac_cv_sizeof_void_p in
16780 $ac_cv_sizeof_int)      glib_gpi_cast=''        glib_gpui_cast=''         ;;
16781 $ac_cv_sizeof_long)     glib_gpi_cast='(glong)' glib_gpui_cast='(gulong)' ;;
16782 *)                      glib_unknown_void_p=yes ;;
16783 esac
16786 case xyes in
16787 x$ac_cv_func_atexit)
16788   glib_atexit="
16789 #ifdef NeXT /* @#%@! NeXTStep */
16790 # define g_ATEXIT(proc) (!atexit (proc))
16791 #else
16792 # define g_ATEXIT(proc) (atexit (proc))
16793 #endif"
16794   ;;
16795 x$ac_cv_func_on_exit)
16796   glib_atexit="
16797 #define g_ATEXIT(proc)  (on_exit ((void (*)(int, void*))(proc), NULL))"
16798   ;;
16799 esac
16801 case xyes in
16802 x$ac_cv_func_memmove)
16803   glib_memmove='
16804 #define g_memmove(d,s,n) G_STMT_START { memmove ((d), (s), (n)); } G_STMT_END'
16805   ;;
16807   glib_memmove="
16808 /* We make the assumption that if memmove isn't available, then
16809  * bcopy will do the job. This isn't safe everywhere. (bcopy can't
16810  * necessarily handle overlapping copies) */
16811 #define g_memmove(d,s,n) G_STMT_START { bcopy ((s), (d), (n)); } G_STMT_END"
16812   ;;
16813 esac
16815 glib_defines="
16816 #define GLIB_MAJOR_VERSION $GLIB_MAJOR_VERSION
16817 #define GLIB_MINOR_VERSION $GLIB_MINOR_VERSION
16818 #define GLIB_MICRO_VERSION $GLIB_MICRO_VERSION
16821 case xyes in
16822 x$glib_cv_va_copy)      glib_vacopy='#define G_VA_COPY  va_copy' ;;
16823 x$glib_cv___va_copy)    glib_vacopy='#define G_VA_COPY  __va_copy' ;;
16824 *)                      glib_vacopy=''
16825 esac
16827 if test x$glib_cv_va_val_copy = xno; then
16828   glib_vacopy="\$glib_vacopy
16829 #define G_VA_COPY_AS_ARRAY 1"
16832 if test x$glib_cv_hasinline = xyes; then
16833     glib_inline='#define G_HAVE_INLINE 1'
16835 if test x$glib_cv_has__inline = xyes; then
16836     glib_inline="\$glib_inline
16837 #define G_HAVE___INLINE 1"
16839 if test x$glib_cv_has__inline__ = xyes; then
16840     glib_inline="\$glib_inline
16841 #define G_HAVE___INLINE__ 1"
16844 case xyes in
16845 x$ac_cv_c_bigendian)
16846   g_byte_order=G_BIG_ENDIAN
16847   g_bs_native=BE
16848   g_bs_alien=LE
16849   ;;
16851   g_byte_order=G_LITTLE_ENDIAN
16852   g_bs_native=LE
16853   g_bs_alien=BE
16854   ;;
16855 esac
16857 if test x$glib_wchar_h = xyes; then
16858   glib_wc='
16859 #define G_HAVE_WCHAR_H 1'
16861 if test x$glib_wctype_h = xyes; then
16862   glib_wc="\$glib_wc
16863 #define G_HAVE_WCTYPE_H 1"
16865 if test x$glib_working_wctype = xno; then
16866   glib_wc="\$glib_wc
16867 #define G_HAVE_BROKEN_WCTYPE 1"
16870 case x$enable_threads in
16871 xyes)   g_enable_threads_def="#define";;
16872 *)      g_enable_threads_def="#undef ";;
16873 esac
16875 g_threads_impl_def=$g_threads_impl
16877 g_mutex_has_default="$mutex_has_default"
16878 g_mutex_sizeof="$glib_cv_sizeof_gmutex"
16879 g_mutex_contents="$glib_cv_byte_contents_gmutex"
16882 _ACEOF
16884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16886 # Handling of arguments.
16887 for ac_config_target in $ac_config_targets
16889   case $ac_config_target in
16890     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16891     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16892     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16893     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
16894     "glib.spec") CONFIG_FILES="$CONFIG_FILES glib.spec" ;;
16895     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16896     "glib-config") CONFIG_FILES="$CONFIG_FILES glib-config" ;;
16897     "gmodule/gmoduleconf.h") CONFIG_FILES="$CONFIG_FILES gmodule/gmoduleconf.h" ;;
16898     "gmodule/Makefile") CONFIG_FILES="$CONFIG_FILES gmodule/Makefile" ;;
16899     "gthread/Makefile") CONFIG_FILES="$CONFIG_FILES gthread/Makefile" ;;
16900     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
16901     "docs/glib-config.1") CONFIG_FILES="$CONFIG_FILES docs/glib-config.1" ;;
16902     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
16903     "glib.pc") CONFIG_FILES="$CONFIG_FILES glib.pc" ;;
16904     "gmodule.pc") CONFIG_FILES="$CONFIG_FILES gmodule.pc" ;;
16905     "gthread.pc") CONFIG_FILES="$CONFIG_FILES gthread.pc" ;;
16906     "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
16908   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16909   esac
16910 done
16913 # If the user did not use the arguments to specify the items to instantiate,
16914 # then the envvar interface is used.  Set only those that are not.
16915 # We use the long form for the default assignment because of an extremely
16916 # bizarre bug on SunOS 4.1.3.
16917 if $ac_need_defaults; then
16918   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16919   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16920   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16923 # Have a temporary directory for convenience.  Make it in the build tree
16924 # simply because there is no reason against having it here, and in addition,
16925 # creating and moving files from /tmp can sometimes cause problems.
16926 # Hook for its removal unless debugging.
16927 # Note that there is a small window in which the directory will not be cleaned:
16928 # after its creation but before its name has been assigned to `$tmp'.
16929 $debug ||
16931   tmp= ac_tmp=
16932   trap 'exit_status=$?
16933   : "${ac_tmp:=$tmp}"
16934   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16935 ' 0
16936   trap 'as_fn_exit 1' 1 2 13 15
16938 # Create a (secure) tmp directory for tmp files.
16941   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16942   test -d "$tmp"
16943 }  ||
16945   tmp=./conf$$-$RANDOM
16946   (umask 077 && mkdir "$tmp")
16947 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16948 ac_tmp=$tmp
16950 # Set up the scripts for CONFIG_FILES section.
16951 # No need to generate them if there are no CONFIG_FILES.
16952 # This happens for instance with `./config.status config.h'.
16953 if test -n "$CONFIG_FILES"; then
16956 ac_cr=`echo X | tr X '\015'`
16957 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16958 # But we know of no other shell where ac_cr would be empty at this
16959 # point, so we can use a bashism as a fallback.
16960 if test "x$ac_cr" = x; then
16961   eval ac_cr=\$\'\\r\'
16963 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16964 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16965   ac_cs_awk_cr='\\r'
16966 else
16967   ac_cs_awk_cr=$ac_cr
16970 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16971 _ACEOF
16975   echo "cat >conf$$subs.awk <<_ACEOF" &&
16976   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16977   echo "_ACEOF"
16978 } >conf$$subs.sh ||
16979   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16980 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16981 ac_delim='%!_!# '
16982 for ac_last_try in false false false false false :; do
16983   . ./conf$$subs.sh ||
16984     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16986   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16987   if test $ac_delim_n = $ac_delim_num; then
16988     break
16989   elif $ac_last_try; then
16990     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16991   else
16992     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16993   fi
16994 done
16995 rm -f conf$$subs.sh
16997 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16998 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16999 _ACEOF
17000 sed -n '
17002 s/^/S["/; s/!.*/"]=/
17005 s/^[^!]*!//
17006 :repl
17007 t repl
17008 s/'"$ac_delim"'$//
17009 t delim
17012 s/\(.\{148\}\)..*/\1/
17013 t more1
17014 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17017 b repl
17018 :more1
17019 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17022 s/.\{148\}//
17023 t nl
17024 :delim
17026 s/\(.\{148\}\)..*/\1/
17027 t more2
17028 s/["\\]/\\&/g; s/^/"/; s/$/"/
17031 :more2
17032 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17035 s/.\{148\}//
17036 t delim
17037 ' <conf$$subs.awk | sed '
17038 /^[^""]/{
17039   N
17040   s/\n//
17042 ' >>$CONFIG_STATUS || ac_write_fail=1
17043 rm -f conf$$subs.awk
17044 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17045 _ACAWK
17046 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17047   for (key in S) S_is_set[key] = 1
17048   FS = "\a"
17052   line = $ 0
17053   nfields = split(line, field, "@")
17054   substed = 0
17055   len = length(field[1])
17056   for (i = 2; i < nfields; i++) {
17057     key = field[i]
17058     keylen = length(key)
17059     if (S_is_set[key]) {
17060       value = S[key]
17061       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17062       len += length(value) + length(field[++i])
17063       substed = 1
17064     } else
17065       len += 1 + keylen
17066   }
17068   print line
17071 _ACAWK
17072 _ACEOF
17073 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17074 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17075   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17076 else
17077   cat
17078 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17079   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17080 _ACEOF
17082 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17083 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17084 # trailing colons and then remove the whole line if VPATH becomes empty
17085 # (actually we leave an empty line to preserve line numbers).
17086 if test "x$srcdir" = x.; then
17087   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
17089 s///
17090 s/^/:/
17091 s/[      ]*$/:/
17092 s/:\$(srcdir):/:/g
17093 s/:\${srcdir}:/:/g
17094 s/:@srcdir@:/:/g
17095 s/^:*//
17096 s/:*$//
17098 s/\(=[   ]*\).*/\1/
17100 s/\n//
17101 s/^[^=]*=[       ]*$//
17105 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17106 fi # test -n "$CONFIG_FILES"
17108 # Set up the scripts for CONFIG_HEADERS section.
17109 # No need to generate them if there are no CONFIG_HEADERS.
17110 # This happens for instance with `./config.status Makefile'.
17111 if test -n "$CONFIG_HEADERS"; then
17112 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17113 BEGIN {
17114 _ACEOF
17116 # Transform confdefs.h into an awk script `defines.awk', embedded as
17117 # here-document in config.status, that substitutes the proper values into
17118 # config.h.in to produce config.h.
17120 # Create a delimiter string that does not exist in confdefs.h, to ease
17121 # handling of long lines.
17122 ac_delim='%!_!# '
17123 for ac_last_try in false false :; do
17124   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17125   if test -z "$ac_tt"; then
17126     break
17127   elif $ac_last_try; then
17128     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17129   else
17130     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17131   fi
17132 done
17134 # For the awk script, D is an array of macro values keyed by name,
17135 # likewise P contains macro parameters if any.  Preserve backslash
17136 # newline sequences.
17138 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17139 sed -n '
17140 s/.\{148\}/&'"$ac_delim"'/g
17141 t rset
17142 :rset
17143 s/^[     ]*#[    ]*define[       ][      ]*/ /
17144 t def
17146 :def
17147 s/\\$//
17148 t bsnl
17149 s/["\\]/\\&/g
17150 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
17151 D["\1"]=" \3"/p
17152 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
17154 :bsnl
17155 s/["\\]/\\&/g
17156 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
17157 D["\1"]=" \3\\\\\\n"\\/p
17158 t cont
17159 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17160 t cont
17162 :cont
17164 s/.\{148\}/&'"$ac_delim"'/g
17165 t clear
17166 :clear
17167 s/\\$//
17168 t bsnlc
17169 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17171 :bsnlc
17172 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17173 b cont
17174 ' <confdefs.h | sed '
17175 s/'"$ac_delim"'/"\\\
17176 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17178 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17179   for (key in D) D_is_set[key] = 1
17180   FS = "\a"
17182 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17183   line = \$ 0
17184   split(line, arg, " ")
17185   if (arg[1] == "#") {
17186     defundef = arg[2]
17187     mac1 = arg[3]
17188   } else {
17189     defundef = substr(arg[1], 2)
17190     mac1 = arg[2]
17191   }
17192   split(mac1, mac2, "(") #)
17193   macro = mac2[1]
17194   prefix = substr(line, 1, index(line, defundef) - 1)
17195   if (D_is_set[macro]) {
17196     # Preserve the white space surrounding the "#".
17197     print prefix "define", macro P[macro] D[macro]
17198     next
17199   } else {
17200     # Replace #undef with comments.  This is necessary, for example,
17201     # in the case of _POSIX_SOURCE, which is predefined and required
17202     # on some systems where configure will not decide to define it.
17203     if (defundef == "undef") {
17204       print "/*", prefix defundef, macro, "*/"
17205       next
17206     }
17207   }
17209 { print }
17210 _ACAWK
17211 _ACEOF
17212 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17213   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17214 fi # test -n "$CONFIG_HEADERS"
17217 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
17218 shift
17219 for ac_tag
17221   case $ac_tag in
17222   :[FHLC]) ac_mode=$ac_tag; continue;;
17223   esac
17224   case $ac_mode$ac_tag in
17225   :[FHL]*:*);;
17226   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17227   :[FH]-) ac_tag=-:-;;
17228   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17229   esac
17230   ac_save_IFS=$IFS
17231   IFS=:
17232   set x $ac_tag
17233   IFS=$ac_save_IFS
17234   shift
17235   ac_file=$1
17236   shift
17238   case $ac_mode in
17239   :L) ac_source=$1;;
17240   :[FH])
17241     ac_file_inputs=
17242     for ac_f
17243     do
17244       case $ac_f in
17245       -) ac_f="$ac_tmp/stdin";;
17246       *) # Look for the file first in the build tree, then in the source tree
17247          # (if the path is not absolute).  The absolute path cannot be DOS-style,
17248          # because $ac_f cannot contain `:'.
17249          test -f "$ac_f" ||
17250            case $ac_f in
17251            [\\/$]*) false;;
17252            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17253            esac ||
17254            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17255       esac
17256       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17257       as_fn_append ac_file_inputs " '$ac_f'"
17258     done
17260     # Let's still pretend it is `configure' which instantiates (i.e., don't
17261     # use $as_me), people would be surprised to read:
17262     #    /* config.h.  Generated by config.status.  */
17263     configure_input='Generated from '`
17264           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17265         `' by configure.'
17266     if test x"$ac_file" != x-; then
17267       configure_input="$ac_file.  $configure_input"
17268       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17269 $as_echo "$as_me: creating $ac_file" >&6;}
17270     fi
17271     # Neutralize special characters interpreted by sed in replacement strings.
17272     case $configure_input in #(
17273     *\&* | *\|* | *\\* )
17274        ac_sed_conf_input=`$as_echo "$configure_input" |
17275        sed 's/[\\\\&|]/\\\\&/g'`;; #(
17276     *) ac_sed_conf_input=$configure_input;;
17277     esac
17279     case $ac_tag in
17280     *:-:* | *:-) cat >"$ac_tmp/stdin" \
17281       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17282     esac
17283     ;;
17284   esac
17286   ac_dir=`$as_dirname -- "$ac_file" ||
17287 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17288          X"$ac_file" : 'X\(//\)[^/]' \| \
17289          X"$ac_file" : 'X\(//\)$' \| \
17290          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17291 $as_echo X"$ac_file" |
17292     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17293             s//\1/
17294             q
17295           }
17296           /^X\(\/\/\)[^/].*/{
17297             s//\1/
17298             q
17299           }
17300           /^X\(\/\/\)$/{
17301             s//\1/
17302             q
17303           }
17304           /^X\(\/\).*/{
17305             s//\1/
17306             q
17307           }
17308           s/.*/./; q'`
17309   as_dir="$ac_dir"; as_fn_mkdir_p
17310   ac_builddir=.
17312 case "$ac_dir" in
17313 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17315   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17316   # A ".." for each directory in $ac_dir_suffix.
17317   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17318   case $ac_top_builddir_sub in
17319   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17320   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17321   esac ;;
17322 esac
17323 ac_abs_top_builddir=$ac_pwd
17324 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17325 # for backward compatibility:
17326 ac_top_builddir=$ac_top_build_prefix
17328 case $srcdir in
17329   .)  # We are building in place.
17330     ac_srcdir=.
17331     ac_top_srcdir=$ac_top_builddir_sub
17332     ac_abs_top_srcdir=$ac_pwd ;;
17333   [\\/]* | ?:[\\/]* )  # Absolute name.
17334     ac_srcdir=$srcdir$ac_dir_suffix;
17335     ac_top_srcdir=$srcdir
17336     ac_abs_top_srcdir=$srcdir ;;
17337   *) # Relative name.
17338     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17339     ac_top_srcdir=$ac_top_build_prefix$srcdir
17340     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17341 esac
17342 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17345   case $ac_mode in
17346   :F)
17347   #
17348   # CONFIG_FILE
17349   #
17351   case $INSTALL in
17352   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17353   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17354   esac
17355   ac_MKDIR_P=$MKDIR_P
17356   case $MKDIR_P in
17357   [\\/$]* | ?:[\\/]* ) ;;
17358   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17359   esac
17360 _ACEOF
17362 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17363 # If the template does not know about datarootdir, expand it.
17364 # FIXME: This hack should be removed a few years after 2.60.
17365 ac_datarootdir_hack=; ac_datarootdir_seen=
17366 ac_sed_dataroot='
17367 /datarootdir/ {
17368   p
17369   q
17371 /@datadir@/p
17372 /@docdir@/p
17373 /@infodir@/p
17374 /@localedir@/p
17375 /@mandir@/p'
17376 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17377 *datarootdir*) ac_datarootdir_seen=yes;;
17378 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17379   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17380 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17381 _ACEOF
17382 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17383   ac_datarootdir_hack='
17384   s&@datadir@&$datadir&g
17385   s&@docdir@&$docdir&g
17386   s&@infodir@&$infodir&g
17387   s&@localedir@&$localedir&g
17388   s&@mandir@&$mandir&g
17389   s&\\\${datarootdir}&$datarootdir&g' ;;
17390 esac
17391 _ACEOF
17393 # Neutralize VPATH when `$srcdir' = `.'.
17394 # Shell code in configure.ac might set extrasub.
17395 # FIXME: do we really want to maintain this feature?
17396 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17397 ac_sed_extra="$ac_vpsub
17398 $extrasub
17399 _ACEOF
17400 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17402 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17403 s|@configure_input@|$ac_sed_conf_input|;t t
17404 s&@top_builddir@&$ac_top_builddir_sub&;t t
17405 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17406 s&@srcdir@&$ac_srcdir&;t t
17407 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17408 s&@top_srcdir@&$ac_top_srcdir&;t t
17409 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17410 s&@builddir@&$ac_builddir&;t t
17411 s&@abs_builddir@&$ac_abs_builddir&;t t
17412 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17413 s&@INSTALL@&$ac_INSTALL&;t t
17414 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17415 $ac_datarootdir_hack
17417 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17418   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17420 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17421   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17422   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
17423       "$ac_tmp/out"`; test -z "$ac_out"; } &&
17424   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17425 which seems to be undefined.  Please make sure it is defined" >&5
17426 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17427 which seems to be undefined.  Please make sure it is defined" >&2;}
17429   rm -f "$ac_tmp/stdin"
17430   case $ac_file in
17431   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17432   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17433   esac \
17434   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17435  ;;
17436   :H)
17437   #
17438   # CONFIG_HEADER
17439   #
17440   if test x"$ac_file" != x-; then
17441     {
17442       $as_echo "/* $configure_input  */" \
17443       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17444     } >"$ac_tmp/config.h" \
17445       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17446     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17447       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17448 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17449     else
17450       rm -f "$ac_file"
17451       mv "$ac_tmp/config.h" "$ac_file" \
17452         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17453     fi
17454   else
17455     $as_echo "/* $configure_input  */" \
17456       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17457       || as_fn_error $? "could not create -" "$LINENO" 5
17458   fi
17459 # Compute "$ac_file"'s index in $config_headers.
17460 _am_arg="$ac_file"
17461 _am_stamp_count=1
17462 for _am_header in $config_headers :; do
17463   case $_am_header in
17464     $_am_arg | $_am_arg:* )
17465       break ;;
17466     * )
17467       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17468   esac
17469 done
17470 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17471 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17472          X"$_am_arg" : 'X\(//\)[^/]' \| \
17473          X"$_am_arg" : 'X\(//\)$' \| \
17474          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17475 $as_echo X"$_am_arg" |
17476     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17477             s//\1/
17478             q
17479           }
17480           /^X\(\/\/\)[^/].*/{
17481             s//\1/
17482             q
17483           }
17484           /^X\(\/\/\)$/{
17485             s//\1/
17486             q
17487           }
17488           /^X\(\/\).*/{
17489             s//\1/
17490             q
17491           }
17492           s/.*/./; q'`/stamp-h$_am_stamp_count
17493  ;;
17494   
17495   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17496 $as_echo "$as_me: executing $ac_file commands" >&6;}
17497  ;;
17498   esac
17501   case $ac_file$ac_mode in
17502     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17503   # Autoconf 2.62 quotes --file arguments for eval, but not when files
17504   # are listed without --file.  Let's play safe and only enable the eval
17505   # if we detect the quoting.
17506   case $CONFIG_FILES in
17507   *\'*) eval set x "$CONFIG_FILES" ;;
17508   *)   set x $CONFIG_FILES ;;
17509   esac
17510   shift
17511   for mf
17512   do
17513     # Strip MF so we end up with the name of the file.
17514     mf=`echo "$mf" | sed -e 's/:.*$//'`
17515     # Check whether this is an Automake generated Makefile or not.
17516     # We used to match only the files named `Makefile.in', but
17517     # some people rename them; so instead we look at the file content.
17518     # Grep'ing the first line is not enough: some people post-process
17519     # each Makefile.in and add a new line on top of each file to say so.
17520     # Grep'ing the whole file is not good either: AIX grep has a line
17521     # limit of 2048, but all sed's we know have understand at least 4000.
17522     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17523       dirpart=`$as_dirname -- "$mf" ||
17524 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17525          X"$mf" : 'X\(//\)[^/]' \| \
17526          X"$mf" : 'X\(//\)$' \| \
17527          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17528 $as_echo X"$mf" |
17529     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17530             s//\1/
17531             q
17532           }
17533           /^X\(\/\/\)[^/].*/{
17534             s//\1/
17535             q
17536           }
17537           /^X\(\/\/\)$/{
17538             s//\1/
17539             q
17540           }
17541           /^X\(\/\).*/{
17542             s//\1/
17543             q
17544           }
17545           s/.*/./; q'`
17546     else
17547       continue
17548     fi
17549     # Extract the definition of DEPDIR, am__include, and am__quote
17550     # from the Makefile without running `make'.
17551     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17552     test -z "$DEPDIR" && continue
17553     am__include=`sed -n 's/^am__include = //p' < "$mf"`
17554     test -z "am__include" && continue
17555     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17556     # When using ansi2knr, U may be empty or an underscore; expand it
17557     U=`sed -n 's/^U = //p' < "$mf"`
17558     # Find all dependency output files, they are included files with
17559     # $(DEPDIR) in their names.  We invoke sed twice because it is the
17560     # simplest approach to changing $(DEPDIR) to its actual value in the
17561     # expansion.
17562     for file in `sed -n "
17563       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17564          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17565       # Make sure the directory exists.
17566       test -f "$dirpart/$file" && continue
17567       fdir=`$as_dirname -- "$file" ||
17568 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17569          X"$file" : 'X\(//\)[^/]' \| \
17570          X"$file" : 'X\(//\)$' \| \
17571          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17572 $as_echo X"$file" |
17573     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17574             s//\1/
17575             q
17576           }
17577           /^X\(\/\/\)[^/].*/{
17578             s//\1/
17579             q
17580           }
17581           /^X\(\/\/\)$/{
17582             s//\1/
17583             q
17584           }
17585           /^X\(\/\).*/{
17586             s//\1/
17587             q
17588           }
17589           s/.*/./; q'`
17590       as_dir=$dirpart/$fdir; as_fn_mkdir_p
17591       # echo "creating $dirpart/$file"
17592       echo '# dummy' > "$dirpart/$file"
17593     done
17594   done
17596  ;;
17597     "libtool":C) 
17598     
17599     # See if we are running on zsh, and set the options which allow our
17600     # commands through without removal of \ escapes.
17601     if test -n "${ZSH_VERSION+set}" ; then
17602       setopt NO_GLOB_SUBST
17603     fi
17605     cfgfile="${ofile}T"
17606     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17607     $RM "$cfgfile"
17609     cat <<_LT_EOF >> "$cfgfile"
17610 #! $SHELL
17612 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17613 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17614 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17615 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17617 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17618 #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
17619 #                 Inc.
17620 #   Written by Gordon Matzigkeit, 1996
17622 #   This file is part of GNU Libtool.
17624 # GNU Libtool is free software; you can redistribute it and/or
17625 # modify it under the terms of the GNU General Public License as
17626 # published by the Free Software Foundation; either version 2 of
17627 # the License, or (at your option) any later version.
17629 # As a special exception to the GNU General Public License,
17630 # if you distribute this file as part of a program or library that
17631 # is built using GNU Libtool, you may include this file under the
17632 # same distribution terms that you use for the rest of that program.
17634 # GNU Libtool is distributed in the hope that it will be useful,
17635 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17636 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17637 # GNU General Public License for more details.
17639 # You should have received a copy of the GNU General Public License
17640 # along with GNU Libtool; see the file COPYING.  If not, a copy
17641 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17642 # obtained by writing to the Free Software Foundation, Inc.,
17643 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17646 # The names of the tagged configurations supported by this script.
17647 available_tags=""
17649 # ### BEGIN LIBTOOL CONFIG
17651 # Which release of libtool.m4 was used?
17652 macro_version=$macro_version
17653 macro_revision=$macro_revision
17655 # Whether or not to build shared libraries.
17656 build_libtool_libs=$enable_shared
17658 # Whether or not to build static libraries.
17659 build_old_libs=$enable_static
17661 # What type of objects to build.
17662 pic_mode=$pic_mode
17664 # Whether or not to optimize for fast installation.
17665 fast_install=$enable_fast_install
17667 # Shell to use when invoking shell scripts.
17668 SHELL=$lt_SHELL
17670 # An echo program that protects backslashes.
17671 ECHO=$lt_ECHO
17673 # The host system.
17674 host_alias=$host_alias
17675 host=$host
17676 host_os=$host_os
17678 # The build system.
17679 build_alias=$build_alias
17680 build=$build
17681 build_os=$build_os
17683 # A sed program that does not truncate output.
17684 SED=$lt_SED
17686 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17687 Xsed="\$SED -e 1s/^X//"
17689 # A grep program that handles long lines.
17690 GREP=$lt_GREP
17692 # An ERE matcher.
17693 EGREP=$lt_EGREP
17695 # A literal string matcher.
17696 FGREP=$lt_FGREP
17698 # A BSD- or MS-compatible name lister.
17699 NM=$lt_NM
17701 # Whether we need soft or hard links.
17702 LN_S=$lt_LN_S
17704 # What is the maximum length of a command?
17705 max_cmd_len=$max_cmd_len
17707 # Object file suffix (normally "o").
17708 objext=$ac_objext
17710 # Executable file suffix (normally "").
17711 exeext=$exeext
17713 # whether the shell understands "unset".
17714 lt_unset=$lt_unset
17716 # turn spaces into newlines.
17717 SP2NL=$lt_lt_SP2NL
17719 # turn newlines into spaces.
17720 NL2SP=$lt_lt_NL2SP
17722 # convert \$build file names to \$host format.
17723 to_host_file_cmd=$lt_cv_to_host_file_cmd
17725 # convert \$build files to toolchain format.
17726 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17728 # An object symbol dumper.
17729 OBJDUMP=$lt_OBJDUMP
17731 # Method to check whether dependent libraries are shared objects.
17732 deplibs_check_method=$lt_deplibs_check_method
17734 # Command to use when deplibs_check_method = "file_magic".
17735 file_magic_cmd=$lt_file_magic_cmd
17737 # How to find potential files when deplibs_check_method = "file_magic".
17738 file_magic_glob=$lt_file_magic_glob
17740 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17741 want_nocaseglob=$lt_want_nocaseglob
17743 # DLL creation program.
17744 DLLTOOL=$lt_DLLTOOL
17746 # Command to associate shared and link libraries.
17747 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17749 # The archiver.
17750 AR=$lt_AR
17752 # Flags to create an archive.
17753 AR_FLAGS=$lt_AR_FLAGS
17755 # How to feed a file listing to the archiver.
17756 archiver_list_spec=$lt_archiver_list_spec
17758 # A symbol stripping program.
17759 STRIP=$lt_STRIP
17761 # Commands used to install an old-style archive.
17762 RANLIB=$lt_RANLIB
17763 old_postinstall_cmds=$lt_old_postinstall_cmds
17764 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17766 # Whether to use a lock for old archive extraction.
17767 lock_old_archive_extraction=$lock_old_archive_extraction
17769 # A C compiler.
17770 LTCC=$lt_CC
17772 # LTCC compiler flags.
17773 LTCFLAGS=$lt_CFLAGS
17775 # Take the output of nm and produce a listing of raw symbols and C names.
17776 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17778 # Transform the output of nm in a proper C declaration.
17779 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17781 # Transform the output of nm in a C name address pair.
17782 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17784 # Transform the output of nm in a C name address pair when lib prefix is needed.
17785 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17787 # Specify filename containing input files for \$NM.
17788 nm_file_list_spec=$lt_nm_file_list_spec
17790 # The root where to search for dependent libraries,and in which our libraries should be installed.
17791 lt_sysroot=$lt_sysroot
17793 # The name of the directory that contains temporary libtool files.
17794 objdir=$objdir
17796 # Used to examine libraries when file_magic_cmd begins with "file".
17797 MAGIC_CMD=$MAGIC_CMD
17799 # Must we lock files when doing compilation?
17800 need_locks=$lt_need_locks
17802 # Manifest tool.
17803 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17805 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17806 DSYMUTIL=$lt_DSYMUTIL
17808 # Tool to change global to local symbols on Mac OS X.
17809 NMEDIT=$lt_NMEDIT
17811 # Tool to manipulate fat objects and archives on Mac OS X.
17812 LIPO=$lt_LIPO
17814 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17815 OTOOL=$lt_OTOOL
17817 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17818 OTOOL64=$lt_OTOOL64
17820 # Old archive suffix (normally "a").
17821 libext=$libext
17823 # Shared library suffix (normally ".so").
17824 shrext_cmds=$lt_shrext_cmds
17826 # The commands to extract the exported symbol list from a shared archive.
17827 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17829 # Variables whose values should be saved in libtool wrapper scripts and
17830 # restored at link time.
17831 variables_saved_for_relink=$lt_variables_saved_for_relink
17833 # Do we need the "lib" prefix for modules?
17834 need_lib_prefix=$need_lib_prefix
17836 # Do we need a version for libraries?
17837 need_version=$need_version
17839 # Library versioning type.
17840 version_type=$version_type
17842 # Shared library runtime path variable.
17843 runpath_var=$runpath_var
17845 # Shared library path variable.
17846 shlibpath_var=$shlibpath_var
17848 # Is shlibpath searched before the hard-coded library search path?
17849 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17851 # Format of library name prefix.
17852 libname_spec=$lt_libname_spec
17854 # List of archive names.  First name is the real one, the rest are links.
17855 # The last name is the one that the linker finds with -lNAME
17856 library_names_spec=$lt_library_names_spec
17858 # The coded name of the library, if different from the real name.
17859 soname_spec=$lt_soname_spec
17861 # Permission mode override for installation of shared libraries.
17862 install_override_mode=$lt_install_override_mode
17864 # Command to use after installation of a shared archive.
17865 postinstall_cmds=$lt_postinstall_cmds
17867 # Command to use after uninstallation of a shared archive.
17868 postuninstall_cmds=$lt_postuninstall_cmds
17870 # Commands used to finish a libtool library installation in a directory.
17871 finish_cmds=$lt_finish_cmds
17873 # As "finish_cmds", except a single script fragment to be evaled but
17874 # not shown.
17875 finish_eval=$lt_finish_eval
17877 # Whether we should hardcode library paths into libraries.
17878 hardcode_into_libs=$hardcode_into_libs
17880 # Compile-time system search path for libraries.
17881 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17883 # Run-time system search path for libraries.
17884 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17886 # Whether dlopen is supported.
17887 dlopen_support=$enable_dlopen
17889 # Whether dlopen of programs is supported.
17890 dlopen_self=$enable_dlopen_self
17892 # Whether dlopen of statically linked programs is supported.
17893 dlopen_self_static=$enable_dlopen_self_static
17895 # Commands to strip libraries.
17896 old_striplib=$lt_old_striplib
17897 striplib=$lt_striplib
17900 # The linker used to build libraries.
17901 LD=$lt_LD
17903 # How to create reloadable object files.
17904 reload_flag=$lt_reload_flag
17905 reload_cmds=$lt_reload_cmds
17907 # Commands used to build an old-style archive.
17908 old_archive_cmds=$lt_old_archive_cmds
17910 # A language specific compiler.
17911 CC=$lt_compiler
17913 # Is the compiler the GNU compiler?
17914 with_gcc=$GCC
17916 # Compiler flag to turn off builtin functions.
17917 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17919 # Additional compiler flags for building library objects.
17920 pic_flag=$lt_lt_prog_compiler_pic
17922 # How to pass a linker flag through the compiler.
17923 wl=$lt_lt_prog_compiler_wl
17925 # Compiler flag to prevent dynamic linking.
17926 link_static_flag=$lt_lt_prog_compiler_static
17928 # Does compiler simultaneously support -c and -o options?
17929 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17931 # Whether or not to add -lc for building shared libraries.
17932 build_libtool_need_lc=$archive_cmds_need_lc
17934 # Whether or not to disallow shared libs when runtime libs are static.
17935 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17937 # Compiler flag to allow reflexive dlopens.
17938 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17940 # Compiler flag to generate shared objects directly from archives.
17941 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17943 # Whether the compiler copes with passing no objects directly.
17944 compiler_needs_object=$lt_compiler_needs_object
17946 # Create an old-style archive from a shared archive.
17947 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17949 # Create a temporary old-style archive to link instead of a shared archive.
17950 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17952 # Commands used to build a shared archive.
17953 archive_cmds=$lt_archive_cmds
17954 archive_expsym_cmds=$lt_archive_expsym_cmds
17956 # Commands used to build a loadable module if different from building
17957 # a shared archive.
17958 module_cmds=$lt_module_cmds
17959 module_expsym_cmds=$lt_module_expsym_cmds
17961 # Whether we are building with GNU ld or not.
17962 with_gnu_ld=$lt_with_gnu_ld
17964 # Flag that allows shared libraries with undefined symbols to be built.
17965 allow_undefined_flag=$lt_allow_undefined_flag
17967 # Flag that enforces no undefined symbols.
17968 no_undefined_flag=$lt_no_undefined_flag
17970 # Flag to hardcode \$libdir into a binary during linking.
17971 # This must work even if \$libdir does not exist
17972 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17974 # If ld is used when linking, flag to hardcode \$libdir into a binary
17975 # during linking.  This must work even if \$libdir does not exist.
17976 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17978 # Whether we need a single "-rpath" flag with a separated argument.
17979 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17981 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17982 # DIR into the resulting binary.
17983 hardcode_direct=$hardcode_direct
17985 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17986 # DIR into the resulting binary and the resulting library dependency is
17987 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17988 # library is relocated.
17989 hardcode_direct_absolute=$hardcode_direct_absolute
17991 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17992 # into the resulting binary.
17993 hardcode_minus_L=$hardcode_minus_L
17995 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17996 # into the resulting binary.
17997 hardcode_shlibpath_var=$hardcode_shlibpath_var
17999 # Set to "yes" if building a shared library automatically hardcodes DIR
18000 # into the library and all subsequent libraries and executables linked
18001 # against it.
18002 hardcode_automatic=$hardcode_automatic
18004 # Set to yes if linker adds runtime paths of dependent libraries
18005 # to runtime path list.
18006 inherit_rpath=$inherit_rpath
18008 # Whether libtool must link a program against all its dependency libraries.
18009 link_all_deplibs=$link_all_deplibs
18011 # Set to "yes" if exported symbols are required.
18012 always_export_symbols=$always_export_symbols
18014 # The commands to list exported symbols.
18015 export_symbols_cmds=$lt_export_symbols_cmds
18017 # Symbols that should not be listed in the preloaded symbols.
18018 exclude_expsyms=$lt_exclude_expsyms
18020 # Symbols that must always be exported.
18021 include_expsyms=$lt_include_expsyms
18023 # Commands necessary for linking programs (against libraries) with templates.
18024 prelink_cmds=$lt_prelink_cmds
18026 # Commands necessary for finishing linking programs.
18027 postlink_cmds=$lt_postlink_cmds
18029 # Specify filename containing input files.
18030 file_list_spec=$lt_file_list_spec
18032 # How to hardcode a shared library path into an executable.
18033 hardcode_action=$hardcode_action
18035 # ### END LIBTOOL CONFIG
18037 _LT_EOF
18039   case $host_os in
18040   aix3*)
18041     cat <<\_LT_EOF >> "$cfgfile"
18042 # AIX sometimes has problems with the GCC collect2 program.  For some
18043 # reason, if we set the COLLECT_NAMES environment variable, the problems
18044 # vanish in a puff of smoke.
18045 if test "X${COLLECT_NAMES+set}" != Xset; then
18046   COLLECT_NAMES=
18047   export COLLECT_NAMES
18049 _LT_EOF
18050     ;;
18051   esac
18053   
18054 ltmain="$ac_aux_dir/ltmain.sh"
18057   # We use sed instead of cat because bash on DJGPP gets confused if
18058   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
18059   # text mode, it properly converts lines to CR/LF.  This bash problem
18060   # is reportedly fixed, but why not run on old versions too?
18061   sed '$q' "$ltmain" >> "$cfgfile" \
18062      || (rm -f "$cfgfile"; exit 1)
18064   if test x"$xsi_shell" = xyes; then
18065   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18066 func_dirname ()\
18068 \    case ${1} in\
18069 \      */*) func_dirname_result="${1%/*}${2}" ;;\
18070 \      *  ) func_dirname_result="${3}" ;;\
18071 \    esac\
18072 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18073   && mv -f "$cfgfile.tmp" "$cfgfile" \
18074     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18075 test 0 -eq $? || _lt_function_replace_fail=:
18078   sed -e '/^func_basename ()$/,/^} # func_basename /c\
18079 func_basename ()\
18081 \    func_basename_result="${1##*/}"\
18082 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18083   && mv -f "$cfgfile.tmp" "$cfgfile" \
18084     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18085 test 0 -eq $? || _lt_function_replace_fail=:
18088   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18089 func_dirname_and_basename ()\
18091 \    case ${1} in\
18092 \      */*) func_dirname_result="${1%/*}${2}" ;;\
18093 \      *  ) func_dirname_result="${3}" ;;\
18094 \    esac\
18095 \    func_basename_result="${1##*/}"\
18096 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18097   && mv -f "$cfgfile.tmp" "$cfgfile" \
18098     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18099 test 0 -eq $? || _lt_function_replace_fail=:
18102   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18103 func_stripname ()\
18105 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18106 \    # positional parameters, so assign one to ordinary parameter first.\
18107 \    func_stripname_result=${3}\
18108 \    func_stripname_result=${func_stripname_result#"${1}"}\
18109 \    func_stripname_result=${func_stripname_result%"${2}"}\
18110 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18111   && mv -f "$cfgfile.tmp" "$cfgfile" \
18112     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18113 test 0 -eq $? || _lt_function_replace_fail=:
18116   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18117 func_split_long_opt ()\
18119 \    func_split_long_opt_name=${1%%=*}\
18120 \    func_split_long_opt_arg=${1#*=}\
18121 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18122   && mv -f "$cfgfile.tmp" "$cfgfile" \
18123     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18124 test 0 -eq $? || _lt_function_replace_fail=:
18127   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18128 func_split_short_opt ()\
18130 \    func_split_short_opt_arg=${1#??}\
18131 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18132 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18133   && mv -f "$cfgfile.tmp" "$cfgfile" \
18134     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18135 test 0 -eq $? || _lt_function_replace_fail=:
18138   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18139 func_lo2o ()\
18141 \    case ${1} in\
18142 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18143 \      *)    func_lo2o_result=${1} ;;\
18144 \    esac\
18145 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18146   && mv -f "$cfgfile.tmp" "$cfgfile" \
18147     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18148 test 0 -eq $? || _lt_function_replace_fail=:
18151   sed -e '/^func_xform ()$/,/^} # func_xform /c\
18152 func_xform ()\
18154     func_xform_result=${1%.*}.lo\
18155 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18156   && mv -f "$cfgfile.tmp" "$cfgfile" \
18157     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18158 test 0 -eq $? || _lt_function_replace_fail=:
18161   sed -e '/^func_arith ()$/,/^} # func_arith /c\
18162 func_arith ()\
18164     func_arith_result=$(( $* ))\
18165 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18166   && mv -f "$cfgfile.tmp" "$cfgfile" \
18167     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18168 test 0 -eq $? || _lt_function_replace_fail=:
18171   sed -e '/^func_len ()$/,/^} # func_len /c\
18172 func_len ()\
18174     func_len_result=${#1}\
18175 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18176   && mv -f "$cfgfile.tmp" "$cfgfile" \
18177     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18178 test 0 -eq $? || _lt_function_replace_fail=:
18182 if test x"$lt_shell_append" = xyes; then
18183   sed -e '/^func_append ()$/,/^} # func_append /c\
18184 func_append ()\
18186     eval "${1}+=\\${2}"\
18187 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18188   && mv -f "$cfgfile.tmp" "$cfgfile" \
18189     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18190 test 0 -eq $? || _lt_function_replace_fail=:
18193   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18194 func_append_quoted ()\
18196 \    func_quote_for_eval "${2}"\
18197 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18198 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18199   && mv -f "$cfgfile.tmp" "$cfgfile" \
18200     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18201 test 0 -eq $? || _lt_function_replace_fail=:
18204   # Save a `func_append' function call where possible by direct use of '+='
18205   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18206     && mv -f "$cfgfile.tmp" "$cfgfile" \
18207       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18208   test 0 -eq $? || _lt_function_replace_fail=:
18209 else
18210   # Save a `func_append' function call even when '+=' is not available
18211   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18212     && mv -f "$cfgfile.tmp" "$cfgfile" \
18213       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18214   test 0 -eq $? || _lt_function_replace_fail=:
18217 if test x"$_lt_function_replace_fail" = x":"; then
18218   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18219 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18223    mv -f "$cfgfile" "$ofile" ||
18224     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18225   chmod +x "$ofile"
18227  ;;
18228     "default-1":C) 
18230 ## Generate `glibconfig.h' in two cases
18231 ## 1. `config.status' is run either explicitly, or via configure.
18232 ##     Esp. not when it is run in `Makefile' to generate makefiles and
18233 ##     config.h
18234 ## 2. CONFIG_OTHER is set explicitly
18236 ## Case 1 is difficult.  We know that `automake' sets one of
18237 ## CONFIG_FILES or CONFIG_HEADERS to empty.  This heuristic works
18238 ## only when AM_CONFIG_HEADER is set, however.
18240 if test -n "${CONFIG_FILES}" && test -n "${CONFIG_HEADERS}"; then
18241   # Both CONFIG_FILES and CONFIG_HEADERS are non-empty ==> Case 1
18242   CONFIG_OTHER=${CONFIG_OTHER:-glibconfig.h}
18244 case "$CONFIG_OTHER" in
18245 *glibconfig.h*)
18246         echo creating glibconfig.h
18247         outfile=glibconfig.h-tmp
18248         cat > $outfile <<\_______EOF
18249 /* glibconfig.h
18251  * This is a generated file.  Please modify `configure.in'
18252  */
18254 #ifndef GLIBCONFIG_H
18255 #define GLIBCONFIG_H
18257 _______EOF
18259         if test x$glib_limits_h = xyes; then
18260           echo '#include <limits.h>' >> $outfile
18261         fi
18262         if test x$glib_float_h = xyes; then
18263           echo '#include <float.h>' >> $outfile
18264         fi
18265         if test x$glib_values_h = xyes; then
18266           echo '#include <values.h>' >> $outfile
18267         fi
18268         if test x$g_mutex_header_file != x; then
18269           echo '#include <'"$g_mutex_header_file"'>' >> $outfile
18270         fi
18271         if test x$glib_sys_poll_h = xyes; then
18272           echo '#define GLIB_HAVE_SYS_POLL_H' >> $outfile
18273         fi
18275         cat >> $outfile <<_______EOF
18277 #ifdef __cplusplus
18278 extern "C" {
18279 #endif /* __cplusplus */
18281 #define G_MINFLOAT      $glib_mf
18282 #define G_MAXFLOAT      $glib_Mf
18283 #define G_MINDOUBLE     $glib_md
18284 #define G_MAXDOUBLE     $glib_Md
18285 #define G_MINSHORT      $glib_ms
18286 #define G_MAXSHORT      $glib_Ms
18287 #define G_MININT        $glib_mi
18288 #define G_MAXINT        $glib_Mi
18289 #define G_MINLONG       $glib_ml
18290 #define G_MAXLONG       $glib_Ml
18292 _______EOF
18295         ### this should always be true in a modern C/C++ compiler
18296         cat >>$outfile <<_______EOF
18297 typedef signed char gint8;
18298 typedef unsigned char guint8;
18299 _______EOF
18302         if test -n "$gint16"; then
18303           cat >>$outfile <<_______EOF
18304 typedef signed $gint16 gint16;
18305 typedef unsigned $gint16 guint16;
18306 _______EOF
18307         fi
18310         if test -n "$gint32"; then
18311           cat >>$outfile <<_______EOF
18312 typedef signed $gint32 gint32;
18313 typedef unsigned $gint32 guint32;
18314 _______EOF
18315         fi
18318         if test -n "$gint64"; then
18319           cat >>$outfile <<_______EOF
18320 ${glib_warning_guard}#define G_HAVE_GINT64 1
18322 ${glib_extension}typedef signed $gint64 gint64;
18323 ${glib_extension}typedef unsigned $gint64 guint64;
18325 #define G_GINT64_CONSTANT(val)  $gint64_constant
18326 _______EOF
18327         fi
18330         if test -z "$glib_unknown_void_p"; then
18331           cat >>$outfile <<_______EOF
18333 #define GPOINTER_TO_INT(p)      ((gint)  ${glib_gpi_cast} (p))
18334 #define GPOINTER_TO_UINT(p)     ((guint) ${glib_gpui_cast} (p))
18336 #define GINT_TO_POINTER(i)      ((gpointer) ${glib_gpi_cast} (i))
18337 #define GUINT_TO_POINTER(u)     ((gpointer) ${glib_gpui_cast} (u))
18338 _______EOF
18339         else
18340           echo '#error SIZEOF_VOID_P unknown - This should never happen' >>$outfile
18341         fi
18345         cat >>$outfile <<_______EOF
18346 $glib_atexit
18347 $glib_memmove
18348 $glib_defines
18350 $glib_vacopy
18352 #ifdef  __cplusplus
18353 #define G_HAVE_INLINE   1
18354 #else   /* !__cplusplus */
18355 $glib_inline
18356 #endif  /* !__cplusplus */
18357 _______EOF
18359         echo >>$outfile
18360         if test x$g_mutex_has_default = xyes; then
18361                 cat >>$outfile <<_______EOF
18362 $g_enable_threads_def G_THREADS_ENABLED
18363 #define G_THREADS_IMPL_$g_threads_impl_def
18364 typedef struct _GStaticMutex GStaticMutex;
18365 struct _GStaticMutex
18367   struct _GMutex *runtime_mutex;
18368   union {
18369     char   pad[$g_mutex_sizeof];
18370     double dummy_double;
18371     void  *dummy_pointer;
18372     long   dummy_long;
18373   } aligned_pad_u;
18375 #define G_STATIC_MUTEX_INIT     { NULL, { { $g_mutex_contents} } }
18376 #define g_static_mutex_get_mutex(mutex) \
18377   (g_thread_use_default_impl ? ((GMutex*) &((mutex)->aligned_pad_u)) : \
18378    g_static_mutex_get_mutex_impl (&((mutex)->runtime_mutex)))
18379 _______EOF
18380         else
18381                 cat >>$outfile <<_______EOF
18382 $g_enable_threads_def G_THREADS_ENABLED
18383 #define G_THREADS_IMPL_$g_threads_impl_def
18384 typedef struct _GMutex* GStaticMutex;
18385 #define G_STATIC_MUTEX_INIT NULL
18386 #define g_static_mutex_get_mutex(mutex) (g_static_mutex_get_mutex_impl (mutex))
18387 _______EOF
18388         fi
18390         echo >>$outfile
18391         g_bit_sizes="16 32"
18392         if test -n "$gint64"; then
18393           g_bit_sizes="$g_bit_sizes 64"
18394         fi
18395         for bits in $g_bit_sizes; do
18396           cat >>$outfile <<_______EOF
18397 #define GINT${bits}_TO_${g_bs_native}(val)      ((gint${bits}) (val))
18398 #define GUINT${bits}_TO_${g_bs_native}(val)     ((guint${bits}) (val))
18399 #define GINT${bits}_TO_${g_bs_alien}(val)       ((gint${bits}) GUINT${bits}_SWAP_LE_BE (val))
18400 #define GUINT${bits}_TO_${g_bs_alien}(val)      (GUINT${bits}_SWAP_LE_BE (val))
18401 _______EOF
18402         done
18404         cat >>$outfile <<_______EOF
18405 #define GLONG_TO_LE(val)        ((glong) GINT${glongbits}_TO_LE (val))
18406 #define GULONG_TO_LE(val)       ((gulong) GUINT${glongbits}_TO_LE (val))
18407 #define GLONG_TO_BE(val)        ((glong) GINT${glongbits}_TO_BE (val))
18408 #define GULONG_TO_BE(val)       ((gulong) GUINT${glongbits}_TO_BE (val))
18409 #define GINT_TO_LE(val)         ((gint) GINT${gintbits}_TO_LE (val))
18410 #define GUINT_TO_LE(val)        ((guint) GUINT${gintbits}_TO_LE (val))
18411 #define GINT_TO_BE(val)         ((gint) GINT${gintbits}_TO_BE (val))
18412 #define GUINT_TO_BE(val)        ((guint) GUINT${gintbits}_TO_BE (val))
18413 #define G_BYTE_ORDER $g_byte_order
18415 _______EOF
18417         if test -r glibconfig-sysdefs.h; then
18418           cat glibconfig-sysdefs.h >>$outfile
18419         fi
18422         cat >>$outfile <<_______EOF
18424 $glib_wc
18427 #ifdef __cplusplus
18429 #endif /* __cplusplus */
18431 #endif /* GLIBCONFIG_H */
18432 _______EOF
18435         if cmp -s $outfile glibconfig.h; then
18436           echo glibconfig.h is unchanged
18437           rm -f $outfile
18438         else
18439           mv $outfile glibconfig.h
18440         fi ;;
18441 esac
18442  ;;
18443     "default":C) case "$CONFIG_FILES" in
18444 *glib-config*)chmod +x glib-config;;
18445 esac ;;
18447   esac
18448 done # for ac_tag
18451 as_fn_exit 0
18452 _ACEOF
18453 ac_clean_files=$ac_clean_files_save
18455 test $ac_write_fail = 0 ||
18456   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18459 # configure is writing to config.log, and then calls config.status.
18460 # config.status does its own redirection, appending to config.log.
18461 # Unfortunately, on DOS this fails, as config.log is still kept open
18462 # by configure, so config.status won't be able to write to it; its
18463 # output is simply discarded.  So we exec the FD to /dev/null,
18464 # effectively closing config.log, so it can be properly (re)opened and
18465 # appended to by config.status.  When coming back to configure, we
18466 # need to make the FD available again.
18467 if test "$no_create" != yes; then
18468   ac_cs_success=:
18469   ac_config_status_args=
18470   test "$silent" = yes &&
18471     ac_config_status_args="$ac_config_status_args --quiet"
18472   exec 5>/dev/null
18473   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18474   exec 5>>config.log
18475   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18476   # would make configure fail if this is the last instruction.
18477   $ac_cs_success || as_fn_exit 1
18479 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18480   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18481 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}