"Initial commit to Gerrit"
[profile/ivi/libgsf.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for libgsf 1.14.21.
4 #
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=libgsf>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22   emulate sh
23   NULLCMD=:
24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25   # is contrary to our usage.  Disable this feature.
26   alias -g '${1+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57     as_echo_n='/usr/ucb/echo -n'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order.  Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" ""        $as_nl"
92
93 # Find who we are.  Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96   *[\\/]* ) as_myself=$0 ;;
97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100   IFS=$as_save_IFS
101   test -z "$as_dir" && as_dir=.
102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103   done
104 IFS=$as_save_IFS
105
106      ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111   as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115   exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there.  '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141   emulate sh
142   NULLCMD=:
143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144   # is contrary to our usage.  Disable this feature.
145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
146   setopt NO_GLOB_SUBST
147 else
148   case \`(set -o) 2>/dev/null\` in #(
149   *posix*) :
150     set -o posix ;; #(
151   *) :
152      ;;
153 esac
154 fi
155 "
156   as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170   exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178   if (eval "$as_required") 2>/dev/null; then :
179   as_have_required=yes
180 else
181   as_have_required=no
182 fi
183   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184
185 else
186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 as_found=false
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
189 do
190   IFS=$as_save_IFS
191   test -z "$as_dir" && as_dir=.
192   as_found=:
193   case $as_dir in #(
194          /*)
195            for as_base in sh bash ksh sh5; do
196              # Try only shells that exist, to save several forks.
197              as_shell=$as_dir/$as_base
198              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200   CONFIG_SHELL=$as_shell as_have_required=yes
201                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
202   break 2
203 fi
204 fi
205            done;;
206        esac
207   as_found=false
208 done
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211   CONFIG_SHELL=$SHELL as_have_required=yes
212 fi; }
213 IFS=$as_save_IFS
214
215
216       if test "x$CONFIG_SHELL" != x; then :
217   # We cannot yet assume a decent shell, so we have to provide a
218         # neutralization value for shells without unset; and this also
219         # works around shells that cannot unset nonexistent variables.
220         # Preserve -v and -x to the replacement shell.
221         BASH_ENV=/dev/null
222         ENV=/dev/null
223         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224         export CONFIG_SHELL
225         case $- in # ((((
226           *v*x* | *x*v* ) as_opts=-vx ;;
227           *v* ) as_opts=-v ;;
228           *x* ) as_opts=-x ;;
229           * ) as_opts= ;;
230         esac
231         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232 fi
233
234     if test x$as_have_required = xno; then :
235   $as_echo "$0: This script requires a shell more modern than all"
236   $as_echo "$0: the shells that I found on your system."
237   if test x${ZSH_VERSION+set} = xset ; then
238     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
240   else
241     $as_echo "$0: Please tell bug-autoconf@gnu.org and
242 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=libgsf
243 $0: about your system, including any error possibly output
244 $0: before this message. Then install a modern shell, or
245 $0: manually run the script under such a shell if you do
246 $0: have one."
247   fi
248   exit 1
249 fi
250 fi
251 fi
252 SHELL=${CONFIG_SHELL-/bin/sh}
253 export SHELL
254 # Unset more variables known to interfere with behavior of common tools.
255 CLICOLOR_FORCE= GREP_OPTIONS=
256 unset CLICOLOR_FORCE GREP_OPTIONS
257
258 ## --------------------- ##
259 ## M4sh Shell Functions. ##
260 ## --------------------- ##
261 # as_fn_unset VAR
262 # ---------------
263 # Portably unset VAR.
264 as_fn_unset ()
265 {
266   { eval $1=; unset $1;}
267 }
268 as_unset=as_fn_unset
269
270 # as_fn_set_status STATUS
271 # -----------------------
272 # Set $? to STATUS, without forking.
273 as_fn_set_status ()
274 {
275   return $1
276 } # as_fn_set_status
277
278 # as_fn_exit STATUS
279 # -----------------
280 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 as_fn_exit ()
282 {
283   set +e
284   as_fn_set_status $1
285   exit $1
286 } # as_fn_exit
287
288 # as_fn_mkdir_p
289 # -------------
290 # Create "$as_dir" as a directory, including parents if necessary.
291 as_fn_mkdir_p ()
292 {
293
294   case $as_dir in #(
295   -*) as_dir=./$as_dir;;
296   esac
297   test -d "$as_dir" || eval $as_mkdir_p || {
298     as_dirs=
299     while :; do
300       case $as_dir in #(
301       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
302       *) as_qdir=$as_dir;;
303       esac
304       as_dirs="'$as_qdir' $as_dirs"
305       as_dir=`$as_dirname -- "$as_dir" ||
306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
307          X"$as_dir" : 'X\(//\)[^/]' \| \
308          X"$as_dir" : 'X\(//\)$' \| \
309          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
310 $as_echo X"$as_dir" |
311     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
312             s//\1/
313             q
314           }
315           /^X\(\/\/\)[^/].*/{
316             s//\1/
317             q
318           }
319           /^X\(\/\/\)$/{
320             s//\1/
321             q
322           }
323           /^X\(\/\).*/{
324             s//\1/
325             q
326           }
327           s/.*/./; q'`
328       test -d "$as_dir" && break
329     done
330     test -z "$as_dirs" || eval "mkdir $as_dirs"
331   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
332
333
334 } # as_fn_mkdir_p
335 # as_fn_append VAR VALUE
336 # ----------------------
337 # Append the text in VALUE to the end of the definition contained in VAR. Take
338 # advantage of any shell optimizations that allow amortized linear growth over
339 # repeated appends, instead of the typical quadratic growth present in naive
340 # implementations.
341 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
342   eval 'as_fn_append ()
343   {
344     eval $1+=\$2
345   }'
346 else
347   as_fn_append ()
348   {
349     eval $1=\$$1\$2
350   }
351 fi # as_fn_append
352
353 # as_fn_arith ARG...
354 # ------------------
355 # Perform arithmetic evaluation on the ARGs, and store the result in the
356 # global $as_val. Take advantage of shells that can avoid forks. The arguments
357 # must be portable across $(()) and expr.
358 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
359   eval 'as_fn_arith ()
360   {
361     as_val=$(( $* ))
362   }'
363 else
364   as_fn_arith ()
365   {
366     as_val=`expr "$@" || test $? -eq 1`
367   }
368 fi # as_fn_arith
369
370
371 # as_fn_error STATUS ERROR [LINENO LOG_FD]
372 # ----------------------------------------
373 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
374 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
375 # script with STATUS, using 1 if that was 0.
376 as_fn_error ()
377 {
378   as_status=$1; test $as_status -eq 0 && as_status=1
379   if test "$4"; then
380     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
381     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
382   fi
383   $as_echo "$as_me: error: $2" >&2
384   as_fn_exit $as_status
385 } # as_fn_error
386
387 if expr a : '\(a\)' >/dev/null 2>&1 &&
388    test "X`expr 00001 : '.*\(...\)'`" = X001; then
389   as_expr=expr
390 else
391   as_expr=false
392 fi
393
394 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
395   as_basename=basename
396 else
397   as_basename=false
398 fi
399
400 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
401   as_dirname=dirname
402 else
403   as_dirname=false
404 fi
405
406 as_me=`$as_basename -- "$0" ||
407 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
408          X"$0" : 'X\(//\)$' \| \
409          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410 $as_echo X/"$0" |
411     sed '/^.*\/\([^/][^/]*\)\/*$/{
412             s//\1/
413             q
414           }
415           /^X\/\(\/\/\)$/{
416             s//\1/
417             q
418           }
419           /^X\/\(\/\).*/{
420             s//\1/
421             q
422           }
423           s/.*/./; q'`
424
425 # Avoid depending upon Character Ranges.
426 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
427 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
428 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
429 as_cr_digits='0123456789'
430 as_cr_alnum=$as_cr_Letters$as_cr_digits
431
432
433   as_lineno_1=$LINENO as_lineno_1a=$LINENO
434   as_lineno_2=$LINENO as_lineno_2a=$LINENO
435   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
436   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
437   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
438   sed -n '
439     p
440     /[$]LINENO/=
441   ' <$as_myself |
442     sed '
443       s/[$]LINENO.*/&-/
444       t lineno
445       b
446       :lineno
447       N
448       :loop
449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450       t loop
451       s/-\n.*//
452     ' >$as_me.lineno &&
453   chmod +x "$as_me.lineno" ||
454     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455
456   # Don't try to exec as it changes $[0], causing all sort of problems
457   # (the dirname of $[0] is not the place where we might find the
458   # original and so on.  Autoconf is especially sensitive to this).
459   . "./$as_me.lineno"
460   # Exit status is that of the last command.
461   exit
462 }
463
464 ECHO_C= ECHO_N= ECHO_T=
465 case `echo -n x` in #(((((
466 -n*)
467   case `echo 'xy\c'` in
468   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
469   xy)  ECHO_C='\c';;
470   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
471        ECHO_T=' ';;
472   esac;;
473 *)
474   ECHO_N='-n';;
475 esac
476
477 rm -f conf$$ conf$$.exe conf$$.file
478 if test -d conf$$.dir; then
479   rm -f conf$$.dir/conf$$.file
480 else
481   rm -f conf$$.dir
482   mkdir conf$$.dir 2>/dev/null
483 fi
484 if (echo >conf$$.file) 2>/dev/null; then
485   if ln -s conf$$.file conf$$ 2>/dev/null; then
486     as_ln_s='ln -s'
487     # ... but there are two gotchas:
488     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
489     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
490     # In both cases, we have to default to `cp -p'.
491     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
492       as_ln_s='cp -p'
493   elif ln conf$$.file conf$$ 2>/dev/null; then
494     as_ln_s=ln
495   else
496     as_ln_s='cp -p'
497   fi
498 else
499   as_ln_s='cp -p'
500 fi
501 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
502 rmdir conf$$.dir 2>/dev/null
503
504 if mkdir -p . 2>/dev/null; then
505   as_mkdir_p='mkdir -p "$as_dir"'
506 else
507   test -d ./-p && rmdir ./-p
508   as_mkdir_p=false
509 fi
510
511 if test -x / >/dev/null 2>&1; then
512   as_test_x='test -x'
513 else
514   if ls -dL / >/dev/null 2>&1; then
515     as_ls_L_option=L
516   else
517     as_ls_L_option=
518   fi
519   as_test_x='
520     eval sh -c '\''
521       if test -d "$1"; then
522         test -d "$1/.";
523       else
524         case $1 in #(
525         -*)set "./$1";;
526         esac;
527         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
528         ???[sx]*):;;*)false;;esac;fi
529     '\'' sh
530   '
531 fi
532 as_executable_p=$as_test_x
533
534 # Sed expression to map a string onto a valid CPP name.
535 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536
537 # Sed expression to map a string onto a valid variable name.
538 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539
540
541
542 # Check that we are running under the correct shell.
543 SHELL=${CONFIG_SHELL-/bin/sh}
544
545 case X$lt_ECHO in
546 X*--fallback-echo)
547   # Remove one level of quotation (which was required for Make).
548   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
549   ;;
550 esac
551
552 ECHO=${lt_ECHO-echo}
553 if test "X$1" = X--no-reexec; then
554   # Discard the --no-reexec flag, and continue.
555   shift
556 elif test "X$1" = X--fallback-echo; then
557   # Avoid inline document here, it may be left over
558   :
559 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
560   # Yippee, $ECHO works!
561   :
562 else
563   # Restart under the correct shell.
564   exec $SHELL "$0" --no-reexec ${1+"$@"}
565 fi
566
567 if test "X$1" = X--fallback-echo; then
568   # used as fallback echo
569   shift
570   cat <<_LT_EOF
571 $*
572 _LT_EOF
573   exit 0
574 fi
575
576 # The HP-UX ksh and POSIX shell print the target directory to stdout
577 # if CDPATH is set.
578 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
579
580 if test -z "$lt_ECHO"; then
581   if test "X${echo_test_string+set}" != Xset; then
582     # find a string as large as possible, as long as the shell can cope with it
583     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
584       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
585       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
586          { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
587       then
588         break
589       fi
590     done
591   fi
592
593   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
594      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
595      test "X$echo_testing_string" = "X$echo_test_string"; then
596     :
597   else
598     # The Solaris, AIX, and Digital Unix default echo programs unquote
599     # backslashes.  This makes it impossible to quote backslashes using
600     #   echo "$something" | sed 's/\\/\\\\/g'
601     #
602     # So, first we look for a working echo in the user's PATH.
603
604     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
605     for dir in $PATH /usr/ucb; do
606       IFS="$lt_save_ifs"
607       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
608          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
609          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
610          test "X$echo_testing_string" = "X$echo_test_string"; then
611         ECHO="$dir/echo"
612         break
613       fi
614     done
615     IFS="$lt_save_ifs"
616
617     if test "X$ECHO" = Xecho; then
618       # We didn't find a better echo, so look for alternatives.
619       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
620          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
621          test "X$echo_testing_string" = "X$echo_test_string"; then
622         # This shell has a builtin print -r that does the trick.
623         ECHO='print -r'
624       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
625            test "X$CONFIG_SHELL" != X/bin/ksh; then
626         # If we have ksh, try running configure again with it.
627         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
628         export ORIGINAL_CONFIG_SHELL
629         CONFIG_SHELL=/bin/ksh
630         export CONFIG_SHELL
631         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
632       else
633         # Try using printf.
634         ECHO='printf %s\n'
635         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
636            echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
637            test "X$echo_testing_string" = "X$echo_test_string"; then
638           # Cool, printf works
639           :
640         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641              test "X$echo_testing_string" = 'X\t' &&
642              echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643              test "X$echo_testing_string" = "X$echo_test_string"; then
644           CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
645           export CONFIG_SHELL
646           SHELL="$CONFIG_SHELL"
647           export SHELL
648           ECHO="$CONFIG_SHELL $0 --fallback-echo"
649         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
650              test "X$echo_testing_string" = 'X\t' &&
651              echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
652              test "X$echo_testing_string" = "X$echo_test_string"; then
653           ECHO="$CONFIG_SHELL $0 --fallback-echo"
654         else
655           # maybe with a smaller string...
656           prev=:
657
658           for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
659             if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
660             then
661               break
662             fi
663             prev="$cmd"
664           done
665
666           if test "$prev" != 'sed 50q "$0"'; then
667             echo_test_string=`eval $prev`
668             export echo_test_string
669             exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
670           else
671             # Oops.  We lost completely, so just stick with echo.
672             ECHO=echo
673           fi
674         fi
675       fi
676     fi
677   fi
678 fi
679
680 # Copy echo and quote the copy suitably for passing to libtool from
681 # the Makefile, instead of quoting the original, which is used later.
682 lt_ECHO=$ECHO
683 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
684    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
685 fi
686
687
688
689
690 test -n "$DJDIR" || exec 7<&0 </dev/null
691 exec 6>&1
692
693 # Name of the host.
694 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
695 # so uname gets run too.
696 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
697
698 #
699 # Initializations.
700 #
701 ac_default_prefix=/usr/local
702 ac_clean_files=
703 ac_config_libobj_dir=.
704 LIBOBJS=
705 cross_compiling=no
706 subdirs=
707 MFLAGS=
708 MAKEFLAGS=
709
710 # Identity of this package.
711 PACKAGE_NAME='libgsf'
712 PACKAGE_TARNAME='libgsf'
713 PACKAGE_VERSION='1.14.21'
714 PACKAGE_STRING='libgsf 1.14.21'
715 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=libgsf'
716 PACKAGE_URL=''
717
718 ac_unique_file="gsf/gsf.h"
719 # Factoring default headers for most tests.
720 ac_includes_default="\
721 #include <stdio.h>
722 #ifdef HAVE_SYS_TYPES_H
723 # include <sys/types.h>
724 #endif
725 #ifdef HAVE_SYS_STAT_H
726 # include <sys/stat.h>
727 #endif
728 #ifdef STDC_HEADERS
729 # include <stdlib.h>
730 # include <stddef.h>
731 #else
732 # ifdef HAVE_STDLIB_H
733 #  include <stdlib.h>
734 # endif
735 #endif
736 #ifdef HAVE_STRING_H
737 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
738 #  include <memory.h>
739 # endif
740 # include <string.h>
741 #endif
742 #ifdef HAVE_STRINGS_H
743 # include <strings.h>
744 #endif
745 #ifdef HAVE_INTTYPES_H
746 # include <inttypes.h>
747 #endif
748 #ifdef HAVE_STDINT_H
749 # include <stdint.h>
750 #endif
751 #ifdef HAVE_UNISTD_H
752 # include <unistd.h>
753 #endif"
754
755 ac_header_list=
756 ac_subst_vars='am__EXEEXT_FALSE
757 am__EXEEXT_TRUE
758 LTLIBOBJS
759 LIBOBJS
760 WITH_GCONF_FALSE
761 WITH_GCONF_TRUE
762 GCONF_SCHEMAS_INSTALL_FALSE
763 GCONF_SCHEMAS_INSTALL_TRUE
764 GCONF_SCHEMA_FILE_DIR
765 GCONF_SCHEMA_CONFIG_SOURCE
766 GCONFTOOL
767 WITH_LIBGSF_BONOBO_FALSE
768 WITH_LIBGSF_BONOBO_TRUE
769 WITH_LIBGSF_GNOMEVFS_FALSE
770 WITH_LIBGSF_GNOMEVFS_TRUE
771 WITH_LIBGSF_GNOME_FALSE
772 WITH_LIBGSF_GNOME_TRUE
773 LIBGSF_GNOME_LIBS
774 LIBGSF_GNOME_CFLAGS
775 GDK_PIXBUF_LIBS
776 GDK_PIXBUF_CFLAGS
777 BONOBO_REQ
778 LIBGSF_BONOBO_LIBS
779 LIBGSF_BONOBO_CFLAGS
780 GNOMEVFS_REQ
781 WITH_GIO_FALSE
782 WITH_GIO_TRUE
783 LIBGSF_GIO_LIBS
784 LIBGSF_GIO_CFLAGS
785 BZ2_LIBS
786 WITH_PYTHON_FALSE
787 WITH_PYTHON_TRUE
788 PYGTK_CODEGEN
789 PYGTK_LIBS
790 PYGTK_CFLAGS
791 PYTHON_INCLUDES
792 pkgpyexecdir
793 pyexecdir
794 pkgpythondir
795 pythondir
796 PYTHON_PLATFORM
797 PYTHON_EXEC_PREFIX
798 PYTHON_PREFIX
799 PYTHON_VERSION
800 PYTHON
801 Z_LIBS
802 Z_CPPFLAGS
803 GTK_DOC_INSTALLED_FALSE
804 GTK_DOC_INSTALLED_TRUE
805 GTK_DOC_USE_REBASE_FALSE
806 GTK_DOC_USE_REBASE_TRUE
807 GTK_DOC_USE_LIBTOOL_FALSE
808 GTK_DOC_USE_LIBTOOL_TRUE
809 GTK_DOC_BUILD_PDF_FALSE
810 GTK_DOC_BUILD_PDF_TRUE
811 GTK_DOC_BUILD_HTML_FALSE
812 GTK_DOC_BUILD_HTML_TRUE
813 ENABLE_GTK_DOC_FALSE
814 ENABLE_GTK_DOC_TRUE
815 HTML_DIR
816 GTKDOC_MKPDF
817 GTKDOC_REBASE
818 GTKDOC_CHECK
819 CROSS_COMPILING_FALSE
820 CROSS_COMPILING_TRUE
821 HAVE_LIBEXE_FALSE
822 HAVE_LIBEXE_TRUE
823 WITH_WIN32_FALSE
824 WITH_WIN32_TRUE
825 LIBEXE
826 WINDRES
827 WARN_CFLAGS
828 LIBGSF_LIBS
829 LIBGSF_CFLAGS
830 PKG_CONFIG_LIBDIR
831 PKG_CONFIG_PATH
832 GETTEXT_PACKAGE
833 MKINSTALLDIRS
834 POSUB
835 POFILES
836 PO_IN_DATADIR_FALSE
837 PO_IN_DATADIR_TRUE
838 INTLLIBS
839 INSTOBJEXT
840 GMOFILES
841 CATOBJEXT
842 CATALOGS
843 MSGFMT_OPTS
844 DATADIRNAME
845 ALL_LINGUAS
846 INTLTOOL_PERL
847 GMSGFMT
848 MSGFMT
849 MSGMERGE
850 XGETTEXT
851 INTLTOOL_POLICY_RULE
852 INTLTOOL_SERVICE_RULE
853 INTLTOOL_THEME_RULE
854 INTLTOOL_SCHEMAS_RULE
855 INTLTOOL_CAVES_RULE
856 INTLTOOL_XML_NOMERGE_RULE
857 INTLTOOL_XML_RULE
858 INTLTOOL_KBD_RULE
859 INTLTOOL_XAM_RULE
860 INTLTOOL_UI_RULE
861 INTLTOOL_SOUNDLIST_RULE
862 INTLTOOL_SHEET_RULE
863 INTLTOOL_SERVER_RULE
864 INTLTOOL_PONG_RULE
865 INTLTOOL_OAF_RULE
866 INTLTOOL_PROP_RULE
867 INTLTOOL_KEYS_RULE
868 INTLTOOL_DIRECTORY_RULE
869 INTLTOOL_DESKTOP_RULE
870 INTLTOOL_EXTRACT
871 INTLTOOL_MERGE
872 INTLTOOL_UPDATE
873 USE_NLS
874 PKG_CONFIG
875 CPP
876 OTOOL64
877 OTOOL
878 LIPO
879 NMEDIT
880 DSYMUTIL
881 lt_ECHO
882 RANLIB
883 AR
884 LN_S
885 NM
886 ac_ct_DUMPBIN
887 DUMPBIN
888 LD
889 FGREP
890 EGREP
891 GREP
892 SED
893 LIBTOOL
894 OBJDUMP
895 DLLTOOL
896 AS
897 host_os
898 host_vendor
899 host_cpu
900 host
901 build_os
902 build_vendor
903 build_cpu
904 build
905 am__fastdepCC_FALSE
906 am__fastdepCC_TRUE
907 CCDEPMODE
908 AMDEPBACKSLASH
909 AMDEP_FALSE
910 AMDEP_TRUE
911 am__quote
912 am__include
913 DEPDIR
914 OBJEXT
915 EXEEXT
916 ac_ct_CC
917 CPPFLAGS
918 LDFLAGS
919 CFLAGS
920 CC
921 AM_BACKSLASH
922 AM_DEFAULT_VERBOSITY
923 MAINT
924 MAINTAINER_MODE_FALSE
925 MAINTAINER_MODE_TRUE
926 am__untar
927 am__tar
928 AMTAR
929 am__leading_dot
930 SET_MAKE
931 AWK
932 mkdir_p
933 MKDIR_P
934 INSTALL_STRIP_PROGRAM
935 STRIP
936 install_sh
937 MAKEINFO
938 AUTOHEADER
939 AUTOMAKE
940 AUTOCONF
941 ACLOCAL
942 VERSION
943 PACKAGE
944 CYGPATH_W
945 am__isrc
946 INSTALL_DATA
947 INSTALL_SCRIPT
948 INSTALL_PROGRAM
949 CURRENT_MINUS_AGE
950 VERSION_INFO
951 LIBGSF_MICRO_VERSION
952 LIBGSF_MINOR_VERSION
953 LIBGSF_MAJOR_VERSION
954 ACLOCAL_AMFLAGS
955 target_alias
956 host_alias
957 build_alias
958 LIBS
959 ECHO_T
960 ECHO_N
961 ECHO_C
962 DEFS
963 mandir
964 localedir
965 libdir
966 psdir
967 pdfdir
968 dvidir
969 htmldir
970 infodir
971 docdir
972 oldincludedir
973 includedir
974 localstatedir
975 sharedstatedir
976 sysconfdir
977 datadir
978 datarootdir
979 libexecdir
980 sbindir
981 bindir
982 program_transform_name
983 prefix
984 exec_prefix
985 PACKAGE_URL
986 PACKAGE_BUGREPORT
987 PACKAGE_STRING
988 PACKAGE_VERSION
989 PACKAGE_TARNAME
990 PACKAGE_NAME
991 PATH_SEPARATOR
992 SHELL'
993 ac_subst_files=''
994 ac_user_opts='
995 enable_option_checking
996 enable_maintainer_mode
997 enable_silent_rules
998 enable_dependency_tracking
999 enable_shared
1000 enable_static
1001 with_pic
1002 enable_fast_install
1003 with_gnu_ld
1004 enable_libtool_lock
1005 enable_largefile
1006 enable_nls
1007 enable_compile_warnings
1008 enable_iso_c
1009 with_html_dir
1010 enable_gtk_doc
1011 enable_gtk_doc_html
1012 enable_gtk_doc_pdf
1013 with_zlib
1014 with_python
1015 with_bz2
1016 with_gio
1017 with_gnome_vfs
1018 with_bonobo
1019 with_gdk_pixbuf
1020 with_gconf
1021 with_gconf_source
1022 with_gconf_schema_file_dir
1023 enable_schemas_install
1024 '
1025       ac_precious_vars='build_alias
1026 host_alias
1027 target_alias
1028 CC
1029 CFLAGS
1030 LDFLAGS
1031 LIBS
1032 CPPFLAGS
1033 CPP
1034 PKG_CONFIG
1035 PKG_CONFIG_PATH
1036 PKG_CONFIG_LIBDIR
1037 LIBGSF_CFLAGS
1038 LIBGSF_LIBS
1039 WINDRES
1040 LIBEXE
1041 PYGTK_CFLAGS
1042 PYGTK_LIBS
1043 LIBGSF_GIO_CFLAGS
1044 LIBGSF_GIO_LIBS
1045 LIBGSF_BONOBO_CFLAGS
1046 LIBGSF_BONOBO_LIBS
1047 GDK_PIXBUF_CFLAGS
1048 GDK_PIXBUF_LIBS
1049 LIBGSF_GNOME_CFLAGS
1050 LIBGSF_GNOME_LIBS'
1051
1052
1053 # Initialize some variables set by options.
1054 ac_init_help=
1055 ac_init_version=false
1056 ac_unrecognized_opts=
1057 ac_unrecognized_sep=
1058 # The variables have the same names as the options, with
1059 # dashes changed to underlines.
1060 cache_file=/dev/null
1061 exec_prefix=NONE
1062 no_create=
1063 no_recursion=
1064 prefix=NONE
1065 program_prefix=NONE
1066 program_suffix=NONE
1067 program_transform_name=s,x,x,
1068 silent=
1069 site=
1070 srcdir=
1071 verbose=
1072 x_includes=NONE
1073 x_libraries=NONE
1074
1075 # Installation directory options.
1076 # These are left unexpanded so users can "make install exec_prefix=/foo"
1077 # and all the variables that are supposed to be based on exec_prefix
1078 # by default will actually change.
1079 # Use braces instead of parens because sh, perl, etc. also accept them.
1080 # (The list follows the same order as the GNU Coding Standards.)
1081 bindir='${exec_prefix}/bin'
1082 sbindir='${exec_prefix}/sbin'
1083 libexecdir='${exec_prefix}/libexec'
1084 datarootdir='${prefix}/share'
1085 datadir='${datarootdir}'
1086 sysconfdir='${prefix}/etc'
1087 sharedstatedir='${prefix}/com'
1088 localstatedir='${prefix}/var'
1089 includedir='${prefix}/include'
1090 oldincludedir='/usr/include'
1091 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1092 infodir='${datarootdir}/info'
1093 htmldir='${docdir}'
1094 dvidir='${docdir}'
1095 pdfdir='${docdir}'
1096 psdir='${docdir}'
1097 libdir='${exec_prefix}/lib'
1098 localedir='${datarootdir}/locale'
1099 mandir='${datarootdir}/man'
1100
1101 ac_prev=
1102 ac_dashdash=
1103 for ac_option
1104 do
1105   # If the previous option needs an argument, assign it.
1106   if test -n "$ac_prev"; then
1107     eval $ac_prev=\$ac_option
1108     ac_prev=
1109     continue
1110   fi
1111
1112   case $ac_option in
1113   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1114   *=)   ac_optarg= ;;
1115   *)    ac_optarg=yes ;;
1116   esac
1117
1118   # Accept the important Cygnus configure options, so we can diagnose typos.
1119
1120   case $ac_dashdash$ac_option in
1121   --)
1122     ac_dashdash=yes ;;
1123
1124   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1125     ac_prev=bindir ;;
1126   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1127     bindir=$ac_optarg ;;
1128
1129   -build | --build | --buil | --bui | --bu)
1130     ac_prev=build_alias ;;
1131   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1132     build_alias=$ac_optarg ;;
1133
1134   -cache-file | --cache-file | --cache-fil | --cache-fi \
1135   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1136     ac_prev=cache_file ;;
1137   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1138   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1139     cache_file=$ac_optarg ;;
1140
1141   --config-cache | -C)
1142     cache_file=config.cache ;;
1143
1144   -datadir | --datadir | --datadi | --datad)
1145     ac_prev=datadir ;;
1146   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1147     datadir=$ac_optarg ;;
1148
1149   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1150   | --dataroo | --dataro | --datar)
1151     ac_prev=datarootdir ;;
1152   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1153   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1154     datarootdir=$ac_optarg ;;
1155
1156   -disable-* | --disable-*)
1157     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1158     # Reject names that are not valid shell variable names.
1159     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1160       as_fn_error $? "invalid feature name: $ac_useropt"
1161     ac_useropt_orig=$ac_useropt
1162     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1163     case $ac_user_opts in
1164       *"
1165 "enable_$ac_useropt"
1166 "*) ;;
1167       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1168          ac_unrecognized_sep=', ';;
1169     esac
1170     eval enable_$ac_useropt=no ;;
1171
1172   -docdir | --docdir | --docdi | --doc | --do)
1173     ac_prev=docdir ;;
1174   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1175     docdir=$ac_optarg ;;
1176
1177   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1178     ac_prev=dvidir ;;
1179   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1180     dvidir=$ac_optarg ;;
1181
1182   -enable-* | --enable-*)
1183     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1184     # Reject names that are not valid shell variable names.
1185     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1186       as_fn_error $? "invalid feature name: $ac_useropt"
1187     ac_useropt_orig=$ac_useropt
1188     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1189     case $ac_user_opts in
1190       *"
1191 "enable_$ac_useropt"
1192 "*) ;;
1193       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1194          ac_unrecognized_sep=', ';;
1195     esac
1196     eval enable_$ac_useropt=\$ac_optarg ;;
1197
1198   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1199   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1200   | --exec | --exe | --ex)
1201     ac_prev=exec_prefix ;;
1202   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1203   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1204   | --exec=* | --exe=* | --ex=*)
1205     exec_prefix=$ac_optarg ;;
1206
1207   -gas | --gas | --ga | --g)
1208     # Obsolete; use --with-gas.
1209     with_gas=yes ;;
1210
1211   -help | --help | --hel | --he | -h)
1212     ac_init_help=long ;;
1213   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1214     ac_init_help=recursive ;;
1215   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1216     ac_init_help=short ;;
1217
1218   -host | --host | --hos | --ho)
1219     ac_prev=host_alias ;;
1220   -host=* | --host=* | --hos=* | --ho=*)
1221     host_alias=$ac_optarg ;;
1222
1223   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1224     ac_prev=htmldir ;;
1225   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1226   | --ht=*)
1227     htmldir=$ac_optarg ;;
1228
1229   -includedir | --includedir | --includedi | --included | --include \
1230   | --includ | --inclu | --incl | --inc)
1231     ac_prev=includedir ;;
1232   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1233   | --includ=* | --inclu=* | --incl=* | --inc=*)
1234     includedir=$ac_optarg ;;
1235
1236   -infodir | --infodir | --infodi | --infod | --info | --inf)
1237     ac_prev=infodir ;;
1238   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1239     infodir=$ac_optarg ;;
1240
1241   -libdir | --libdir | --libdi | --libd)
1242     ac_prev=libdir ;;
1243   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1244     libdir=$ac_optarg ;;
1245
1246   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1247   | --libexe | --libex | --libe)
1248     ac_prev=libexecdir ;;
1249   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1250   | --libexe=* | --libex=* | --libe=*)
1251     libexecdir=$ac_optarg ;;
1252
1253   -localedir | --localedir | --localedi | --localed | --locale)
1254     ac_prev=localedir ;;
1255   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1256     localedir=$ac_optarg ;;
1257
1258   -localstatedir | --localstatedir | --localstatedi | --localstated \
1259   | --localstate | --localstat | --localsta | --localst | --locals)
1260     ac_prev=localstatedir ;;
1261   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1262   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1263     localstatedir=$ac_optarg ;;
1264
1265   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1266     ac_prev=mandir ;;
1267   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1268     mandir=$ac_optarg ;;
1269
1270   -nfp | --nfp | --nf)
1271     # Obsolete; use --without-fp.
1272     with_fp=no ;;
1273
1274   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1275   | --no-cr | --no-c | -n)
1276     no_create=yes ;;
1277
1278   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1279   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1280     no_recursion=yes ;;
1281
1282   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1283   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1284   | --oldin | --oldi | --old | --ol | --o)
1285     ac_prev=oldincludedir ;;
1286   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1287   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1288   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1289     oldincludedir=$ac_optarg ;;
1290
1291   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1292     ac_prev=prefix ;;
1293   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1294     prefix=$ac_optarg ;;
1295
1296   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1297   | --program-pre | --program-pr | --program-p)
1298     ac_prev=program_prefix ;;
1299   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1300   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1301     program_prefix=$ac_optarg ;;
1302
1303   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1304   | --program-suf | --program-su | --program-s)
1305     ac_prev=program_suffix ;;
1306   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1307   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1308     program_suffix=$ac_optarg ;;
1309
1310   -program-transform-name | --program-transform-name \
1311   | --program-transform-nam | --program-transform-na \
1312   | --program-transform-n | --program-transform- \
1313   | --program-transform | --program-transfor \
1314   | --program-transfo | --program-transf \
1315   | --program-trans | --program-tran \
1316   | --progr-tra | --program-tr | --program-t)
1317     ac_prev=program_transform_name ;;
1318   -program-transform-name=* | --program-transform-name=* \
1319   | --program-transform-nam=* | --program-transform-na=* \
1320   | --program-transform-n=* | --program-transform-=* \
1321   | --program-transform=* | --program-transfor=* \
1322   | --program-transfo=* | --program-transf=* \
1323   | --program-trans=* | --program-tran=* \
1324   | --progr-tra=* | --program-tr=* | --program-t=*)
1325     program_transform_name=$ac_optarg ;;
1326
1327   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1328     ac_prev=pdfdir ;;
1329   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1330     pdfdir=$ac_optarg ;;
1331
1332   -psdir | --psdir | --psdi | --psd | --ps)
1333     ac_prev=psdir ;;
1334   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1335     psdir=$ac_optarg ;;
1336
1337   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1338   | -silent | --silent | --silen | --sile | --sil)
1339     silent=yes ;;
1340
1341   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1342     ac_prev=sbindir ;;
1343   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1344   | --sbi=* | --sb=*)
1345     sbindir=$ac_optarg ;;
1346
1347   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1348   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1349   | --sharedst | --shareds | --shared | --share | --shar \
1350   | --sha | --sh)
1351     ac_prev=sharedstatedir ;;
1352   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1353   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1354   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1355   | --sha=* | --sh=*)
1356     sharedstatedir=$ac_optarg ;;
1357
1358   -site | --site | --sit)
1359     ac_prev=site ;;
1360   -site=* | --site=* | --sit=*)
1361     site=$ac_optarg ;;
1362
1363   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1364     ac_prev=srcdir ;;
1365   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1366     srcdir=$ac_optarg ;;
1367
1368   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1369   | --syscon | --sysco | --sysc | --sys | --sy)
1370     ac_prev=sysconfdir ;;
1371   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1372   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1373     sysconfdir=$ac_optarg ;;
1374
1375   -target | --target | --targe | --targ | --tar | --ta | --t)
1376     ac_prev=target_alias ;;
1377   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1378     target_alias=$ac_optarg ;;
1379
1380   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1381     verbose=yes ;;
1382
1383   -version | --version | --versio | --versi | --vers | -V)
1384     ac_init_version=: ;;
1385
1386   -with-* | --with-*)
1387     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1388     # Reject names that are not valid shell variable names.
1389     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1390       as_fn_error $? "invalid package name: $ac_useropt"
1391     ac_useropt_orig=$ac_useropt
1392     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1393     case $ac_user_opts in
1394       *"
1395 "with_$ac_useropt"
1396 "*) ;;
1397       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1398          ac_unrecognized_sep=', ';;
1399     esac
1400     eval with_$ac_useropt=\$ac_optarg ;;
1401
1402   -without-* | --without-*)
1403     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1404     # Reject names that are not valid shell variable names.
1405     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1406       as_fn_error $? "invalid package name: $ac_useropt"
1407     ac_useropt_orig=$ac_useropt
1408     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1409     case $ac_user_opts in
1410       *"
1411 "with_$ac_useropt"
1412 "*) ;;
1413       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1414          ac_unrecognized_sep=', ';;
1415     esac
1416     eval with_$ac_useropt=no ;;
1417
1418   --x)
1419     # Obsolete; use --with-x.
1420     with_x=yes ;;
1421
1422   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1423   | --x-incl | --x-inc | --x-in | --x-i)
1424     ac_prev=x_includes ;;
1425   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1426   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1427     x_includes=$ac_optarg ;;
1428
1429   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1430   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1431     ac_prev=x_libraries ;;
1432   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1433   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1434     x_libraries=$ac_optarg ;;
1435
1436   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1437 Try \`$0 --help' for more information"
1438     ;;
1439
1440   *=*)
1441     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1442     # Reject names that are not valid shell variable names.
1443     case $ac_envvar in #(
1444       '' | [0-9]* | *[!_$as_cr_alnum]* )
1445       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1446     esac
1447     eval $ac_envvar=\$ac_optarg
1448     export $ac_envvar ;;
1449
1450   *)
1451     # FIXME: should be removed in autoconf 3.0.
1452     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1453     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1454       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1455     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1456     ;;
1457
1458   esac
1459 done
1460
1461 if test -n "$ac_prev"; then
1462   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1463   as_fn_error $? "missing argument to $ac_option"
1464 fi
1465
1466 if test -n "$ac_unrecognized_opts"; then
1467   case $enable_option_checking in
1468     no) ;;
1469     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1470     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1471   esac
1472 fi
1473
1474 # Check all directory arguments for consistency.
1475 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1476                 datadir sysconfdir sharedstatedir localstatedir includedir \
1477                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1478                 libdir localedir mandir
1479 do
1480   eval ac_val=\$$ac_var
1481   # Remove trailing slashes.
1482   case $ac_val in
1483     */ )
1484       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1485       eval $ac_var=\$ac_val;;
1486   esac
1487   # Be sure to have absolute directory names.
1488   case $ac_val in
1489     [\\/$]* | ?:[\\/]* )  continue;;
1490     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1491   esac
1492   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1493 done
1494
1495 # There might be people who depend on the old broken behavior: `$host'
1496 # used to hold the argument of --host etc.
1497 # FIXME: To remove some day.
1498 build=$build_alias
1499 host=$host_alias
1500 target=$target_alias
1501
1502 # FIXME: To remove some day.
1503 if test "x$host_alias" != x; then
1504   if test "x$build_alias" = x; then
1505     cross_compiling=maybe
1506     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1507     If a cross compiler is detected then cross compile mode will be used" >&2
1508   elif test "x$build_alias" != "x$host_alias"; then
1509     cross_compiling=yes
1510   fi
1511 fi
1512
1513 ac_tool_prefix=
1514 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1515
1516 test "$silent" = yes && exec 6>/dev/null
1517
1518
1519 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1520 ac_ls_di=`ls -di .` &&
1521 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1522   as_fn_error $? "working directory cannot be determined"
1523 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1524   as_fn_error $? "pwd does not report name of working directory"
1525
1526
1527 # Find the source files, if location was not specified.
1528 if test -z "$srcdir"; then
1529   ac_srcdir_defaulted=yes
1530   # Try the directory containing this script, then the parent directory.
1531   ac_confdir=`$as_dirname -- "$as_myself" ||
1532 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1533          X"$as_myself" : 'X\(//\)[^/]' \| \
1534          X"$as_myself" : 'X\(//\)$' \| \
1535          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1536 $as_echo X"$as_myself" |
1537     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1538             s//\1/
1539             q
1540           }
1541           /^X\(\/\/\)[^/].*/{
1542             s//\1/
1543             q
1544           }
1545           /^X\(\/\/\)$/{
1546             s//\1/
1547             q
1548           }
1549           /^X\(\/\).*/{
1550             s//\1/
1551             q
1552           }
1553           s/.*/./; q'`
1554   srcdir=$ac_confdir
1555   if test ! -r "$srcdir/$ac_unique_file"; then
1556     srcdir=..
1557   fi
1558 else
1559   ac_srcdir_defaulted=no
1560 fi
1561 if test ! -r "$srcdir/$ac_unique_file"; then
1562   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1563   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1564 fi
1565 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1566 ac_abs_confdir=`(
1567         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1568         pwd)`
1569 # When building in place, set srcdir=.
1570 if test "$ac_abs_confdir" = "$ac_pwd"; then
1571   srcdir=.
1572 fi
1573 # Remove unnecessary trailing slashes from srcdir.
1574 # Double slashes in file names in object file debugging info
1575 # mess up M-x gdb in Emacs.
1576 case $srcdir in
1577 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1578 esac
1579 for ac_var in $ac_precious_vars; do
1580   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1581   eval ac_env_${ac_var}_value=\$${ac_var}
1582   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1583   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1584 done
1585
1586 #
1587 # Report the --help message.
1588 #
1589 if test "$ac_init_help" = "long"; then
1590   # Omit some internal or obsolete options to make the list less imposing.
1591   # This message is too long to be a string in the A/UX 3.1 sh.
1592   cat <<_ACEOF
1593 \`configure' configures libgsf 1.14.21 to adapt to many kinds of systems.
1594
1595 Usage: $0 [OPTION]... [VAR=VALUE]...
1596
1597 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1598 VAR=VALUE.  See below for descriptions of some of the useful variables.
1599
1600 Defaults for the options are specified in brackets.
1601
1602 Configuration:
1603   -h, --help              display this help and exit
1604       --help=short        display options specific to this package
1605       --help=recursive    display the short help of all the included packages
1606   -V, --version           display version information and exit
1607   -q, --quiet, --silent   do not print \`checking ...' messages
1608       --cache-file=FILE   cache test results in FILE [disabled]
1609   -C, --config-cache      alias for \`--cache-file=config.cache'
1610   -n, --no-create         do not create output files
1611       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1612
1613 Installation directories:
1614   --prefix=PREFIX         install architecture-independent files in PREFIX
1615                           [$ac_default_prefix]
1616   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1617                           [PREFIX]
1618
1619 By default, \`make install' will install all the files in
1620 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1621 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1622 for instance \`--prefix=\$HOME'.
1623
1624 For better control, use the options below.
1625
1626 Fine tuning of the installation directories:
1627   --bindir=DIR            user executables [EPREFIX/bin]
1628   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1629   --libexecdir=DIR        program executables [EPREFIX/libexec]
1630   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1631   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1632   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1633   --libdir=DIR            object code libraries [EPREFIX/lib]
1634   --includedir=DIR        C header files [PREFIX/include]
1635   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1636   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1637   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1638   --infodir=DIR           info documentation [DATAROOTDIR/info]
1639   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1640   --mandir=DIR            man documentation [DATAROOTDIR/man]
1641   --docdir=DIR            documentation root [DATAROOTDIR/doc/libgsf]
1642   --htmldir=DIR           html documentation [DOCDIR]
1643   --dvidir=DIR            dvi documentation [DOCDIR]
1644   --pdfdir=DIR            pdf documentation [DOCDIR]
1645   --psdir=DIR             ps documentation [DOCDIR]
1646 _ACEOF
1647
1648   cat <<\_ACEOF
1649
1650 Program names:
1651   --program-prefix=PREFIX            prepend PREFIX to installed program names
1652   --program-suffix=SUFFIX            append SUFFIX to installed program names
1653   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1654
1655 System types:
1656   --build=BUILD     configure for building on BUILD [guessed]
1657   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1658 _ACEOF
1659 fi
1660
1661 if test -n "$ac_init_help"; then
1662   case $ac_init_help in
1663      short | recursive ) echo "Configuration of libgsf 1.14.21:";;
1664    esac
1665   cat <<\_ACEOF
1666
1667 Optional Features:
1668   --disable-option-checking  ignore unrecognized --enable/--with options
1669   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1670   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1671   --enable-maintainer-mode  enable make rules and dependencies not useful
1672                           (and sometimes confusing) to the casual installer
1673   --enable-silent-rules          less verbose build output (undo: `make V=1')
1674   --disable-silent-rules         verbose build output (undo: `make V=0')
1675   --disable-dependency-tracking  speeds up one-time build
1676   --enable-dependency-tracking   do not reject slow dependency extractors
1677   --enable-shared[=PKGS]  build shared libraries [default=yes]
1678   --enable-static[=PKGS]  build static libraries [default=yes]
1679   --enable-fast-install[=PKGS]
1680                           optimize for fast installation [default=yes]
1681   --disable-libtool-lock  avoid locking (might break parallel builds)
1682   --disable-largefile     omit support for large files
1683   --disable-nls           do not use Native Language Support
1684   --enable-compile-warnings=[no/minimum/yes/maximum/error]
1685                           Turn on compiler warnings
1686   --enable-iso-c          Try to warn if code is not ISO C
1687   --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1688   --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1689   --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1690   --disable-schemas-install
1691                           Disable the schemas installation
1692
1693 Optional Packages:
1694   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1695   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1696   --with-pic              try to use only PIC/non-PIC objects [default=use
1697                           both]
1698   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1699   --with-html-dir=PATH    path to installed docs
1700   --with-zlib=DIR       use libz in DIR
1701 --{with,without}-python   Build with the python support
1702 --{with,without}-bz2   Build additional wrappers for BZ2
1703 --{with,without}-gio   Build additional wrappers for GIO
1704 --{with,without}-gnome-vfs   Build wrappers for GNOME-VFS
1705   --without-bonobo        disable the use of bonobo
1706   --without-gdk-pixbuf    disable the use of gdk-pixbuf
1707   --without-gconf         disable the use of gconf (default: auto)
1708   --with-gconf-source=sourceaddress
1709                           Config database for installing schema files.
1710   --with-gconf-schema-file-dir=dir
1711                           Directory for installing schema files.
1712
1713 Some influential environment variables:
1714   CC          C compiler command
1715   CFLAGS      C compiler flags
1716   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1717               nonstandard directory <lib dir>
1718   LIBS        libraries to pass to the linker, e.g. -l<library>
1719   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1720               you have headers in a nonstandard directory <include dir>
1721   CPP         C preprocessor
1722   PKG_CONFIG  path to pkg-config utility
1723   PKG_CONFIG_PATH
1724               directories to add to pkg-config's search path
1725   PKG_CONFIG_LIBDIR
1726               path overriding pkg-config's built-in search path
1727   LIBGSF_CFLAGS
1728               C compiler flags for LIBGSF, overriding pkg-config
1729   LIBGSF_LIBS linker flags for LIBGSF, overriding pkg-config
1730   WINDRES     The windres executable (used by win32 builds only).
1731   LIBEXE      The lib.exe executable (used by win32 builds only).
1732   PYGTK_CFLAGS
1733               C compiler flags for PYGTK, overriding pkg-config
1734   PYGTK_LIBS  linker flags for PYGTK, overriding pkg-config
1735   LIBGSF_GIO_CFLAGS
1736               C compiler flags for LIBGSF_GIO, overriding pkg-config
1737   LIBGSF_GIO_LIBS
1738               linker flags for LIBGSF_GIO, overriding pkg-config
1739   LIBGSF_BONOBO_CFLAGS
1740               C compiler flags for LIBGSF_BONOBO, overriding pkg-config
1741   LIBGSF_BONOBO_LIBS
1742               linker flags for LIBGSF_BONOBO, overriding pkg-config
1743   GDK_PIXBUF_CFLAGS
1744               C compiler flags for GDK_PIXBUF, overriding pkg-config
1745   GDK_PIXBUF_LIBS
1746               linker flags for GDK_PIXBUF, overriding pkg-config
1747   LIBGSF_GNOME_CFLAGS
1748               C compiler flags for LIBGSF_GNOME, overriding pkg-config
1749   LIBGSF_GNOME_LIBS
1750               linker flags for LIBGSF_GNOME, overriding pkg-config
1751
1752 Use these variables to override the choices made by `configure' or to help
1753 it to find libraries and programs with nonstandard names/locations.
1754
1755 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=libgsf>.
1756 _ACEOF
1757 ac_status=$?
1758 fi
1759
1760 if test "$ac_init_help" = "recursive"; then
1761   # If there are subdirs, report their specific --help.
1762   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1763     test -d "$ac_dir" ||
1764       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1765       continue
1766     ac_builddir=.
1767
1768 case "$ac_dir" in
1769 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1770 *)
1771   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1772   # A ".." for each directory in $ac_dir_suffix.
1773   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1774   case $ac_top_builddir_sub in
1775   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1776   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1777   esac ;;
1778 esac
1779 ac_abs_top_builddir=$ac_pwd
1780 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1781 # for backward compatibility:
1782 ac_top_builddir=$ac_top_build_prefix
1783
1784 case $srcdir in
1785   .)  # We are building in place.
1786     ac_srcdir=.
1787     ac_top_srcdir=$ac_top_builddir_sub
1788     ac_abs_top_srcdir=$ac_pwd ;;
1789   [\\/]* | ?:[\\/]* )  # Absolute name.
1790     ac_srcdir=$srcdir$ac_dir_suffix;
1791     ac_top_srcdir=$srcdir
1792     ac_abs_top_srcdir=$srcdir ;;
1793   *) # Relative name.
1794     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1795     ac_top_srcdir=$ac_top_build_prefix$srcdir
1796     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1797 esac
1798 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1799
1800     cd "$ac_dir" || { ac_status=$?; continue; }
1801     # Check for guested configure.
1802     if test -f "$ac_srcdir/configure.gnu"; then
1803       echo &&
1804       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1805     elif test -f "$ac_srcdir/configure"; then
1806       echo &&
1807       $SHELL "$ac_srcdir/configure" --help=recursive
1808     else
1809       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1810     fi || ac_status=$?
1811     cd "$ac_pwd" || { ac_status=$?; break; }
1812   done
1813 fi
1814
1815 test -n "$ac_init_help" && exit $ac_status
1816 if $ac_init_version; then
1817   cat <<\_ACEOF
1818 libgsf configure 1.14.21
1819 generated by GNU Autoconf 2.68
1820
1821 Copyright (C) 2010 Free Software Foundation, Inc.
1822 This configure script is free software; the Free Software Foundation
1823 gives unlimited permission to copy, distribute and modify it.
1824 _ACEOF
1825   exit
1826 fi
1827
1828 ## ------------------------ ##
1829 ## Autoconf initialization. ##
1830 ## ------------------------ ##
1831
1832 # ac_fn_c_try_compile LINENO
1833 # --------------------------
1834 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1835 ac_fn_c_try_compile ()
1836 {
1837   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1838   rm -f conftest.$ac_objext
1839   if { { ac_try="$ac_compile"
1840 case "(($ac_try" in
1841   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1842   *) ac_try_echo=$ac_try;;
1843 esac
1844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1845 $as_echo "$ac_try_echo"; } >&5
1846   (eval "$ac_compile") 2>conftest.err
1847   ac_status=$?
1848   if test -s conftest.err; then
1849     grep -v '^ *+' conftest.err >conftest.er1
1850     cat conftest.er1 >&5
1851     mv -f conftest.er1 conftest.err
1852   fi
1853   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1854   test $ac_status = 0; } && {
1855          test -z "$ac_c_werror_flag" ||
1856          test ! -s conftest.err
1857        } && test -s conftest.$ac_objext; then :
1858   ac_retval=0
1859 else
1860   $as_echo "$as_me: failed program was:" >&5
1861 sed 's/^/| /' conftest.$ac_ext >&5
1862
1863         ac_retval=1
1864 fi
1865   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1866   as_fn_set_status $ac_retval
1867
1868 } # ac_fn_c_try_compile
1869
1870 # ac_fn_c_try_link LINENO
1871 # -----------------------
1872 # Try to link conftest.$ac_ext, and return whether this succeeded.
1873 ac_fn_c_try_link ()
1874 {
1875   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1876   rm -f conftest.$ac_objext conftest$ac_exeext
1877   if { { ac_try="$ac_link"
1878 case "(($ac_try" in
1879   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1880   *) ac_try_echo=$ac_try;;
1881 esac
1882 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1883 $as_echo "$ac_try_echo"; } >&5
1884   (eval "$ac_link") 2>conftest.err
1885   ac_status=$?
1886   if test -s conftest.err; then
1887     grep -v '^ *+' conftest.err >conftest.er1
1888     cat conftest.er1 >&5
1889     mv -f conftest.er1 conftest.err
1890   fi
1891   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1892   test $ac_status = 0; } && {
1893          test -z "$ac_c_werror_flag" ||
1894          test ! -s conftest.err
1895        } && test -s conftest$ac_exeext && {
1896          test "$cross_compiling" = yes ||
1897          $as_test_x conftest$ac_exeext
1898        }; then :
1899   ac_retval=0
1900 else
1901   $as_echo "$as_me: failed program was:" >&5
1902 sed 's/^/| /' conftest.$ac_ext >&5
1903
1904         ac_retval=1
1905 fi
1906   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1907   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1908   # interfere with the next link command; also delete a directory that is
1909   # left behind by Apple's compiler.  We do this before executing the actions.
1910   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1911   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1912   as_fn_set_status $ac_retval
1913
1914 } # ac_fn_c_try_link
1915
1916 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1917 # -------------------------------------------------------
1918 # Tests whether HEADER exists and can be compiled using the include files in
1919 # INCLUDES, setting the cache variable VAR accordingly.
1920 ac_fn_c_check_header_compile ()
1921 {
1922   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1923   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1924 $as_echo_n "checking for $2... " >&6; }
1925 if eval \${$3+:} false; then :
1926   $as_echo_n "(cached) " >&6
1927 else
1928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1929 /* end confdefs.h.  */
1930 $4
1931 #include <$2>
1932 _ACEOF
1933 if ac_fn_c_try_compile "$LINENO"; then :
1934   eval "$3=yes"
1935 else
1936   eval "$3=no"
1937 fi
1938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1939 fi
1940 eval ac_res=\$$3
1941                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1942 $as_echo "$ac_res" >&6; }
1943   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1944
1945 } # ac_fn_c_check_header_compile
1946
1947 # ac_fn_c_try_cpp LINENO
1948 # ----------------------
1949 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1950 ac_fn_c_try_cpp ()
1951 {
1952   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1953   if { { ac_try="$ac_cpp conftest.$ac_ext"
1954 case "(($ac_try" in
1955   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1956   *) ac_try_echo=$ac_try;;
1957 esac
1958 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1959 $as_echo "$ac_try_echo"; } >&5
1960   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1961   ac_status=$?
1962   if test -s conftest.err; then
1963     grep -v '^ *+' conftest.err >conftest.er1
1964     cat conftest.er1 >&5
1965     mv -f conftest.er1 conftest.err
1966   fi
1967   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1968   test $ac_status = 0; } > conftest.i && {
1969          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1970          test ! -s conftest.err
1971        }; then :
1972   ac_retval=0
1973 else
1974   $as_echo "$as_me: failed program was:" >&5
1975 sed 's/^/| /' conftest.$ac_ext >&5
1976
1977     ac_retval=1
1978 fi
1979   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1980   as_fn_set_status $ac_retval
1981
1982 } # ac_fn_c_try_cpp
1983
1984 # ac_fn_c_try_run LINENO
1985 # ----------------------
1986 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1987 # that executables *can* be run.
1988 ac_fn_c_try_run ()
1989 {
1990   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1991   if { { ac_try="$ac_link"
1992 case "(($ac_try" in
1993   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1994   *) ac_try_echo=$ac_try;;
1995 esac
1996 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1997 $as_echo "$ac_try_echo"; } >&5
1998   (eval "$ac_link") 2>&5
1999   ac_status=$?
2000   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2001   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2002   { { case "(($ac_try" in
2003   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2004   *) ac_try_echo=$ac_try;;
2005 esac
2006 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2007 $as_echo "$ac_try_echo"; } >&5
2008   (eval "$ac_try") 2>&5
2009   ac_status=$?
2010   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2011   test $ac_status = 0; }; }; then :
2012   ac_retval=0
2013 else
2014   $as_echo "$as_me: program exited with status $ac_status" >&5
2015        $as_echo "$as_me: failed program was:" >&5
2016 sed 's/^/| /' conftest.$ac_ext >&5
2017
2018        ac_retval=$ac_status
2019 fi
2020   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2021   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2022   as_fn_set_status $ac_retval
2023
2024 } # ac_fn_c_try_run
2025
2026 # ac_fn_c_check_func LINENO FUNC VAR
2027 # ----------------------------------
2028 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2029 ac_fn_c_check_func ()
2030 {
2031   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2032   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2033 $as_echo_n "checking for $2... " >&6; }
2034 if eval \${$3+:} false; then :
2035   $as_echo_n "(cached) " >&6
2036 else
2037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2038 /* end confdefs.h.  */
2039 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2040    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2041 #define $2 innocuous_$2
2042
2043 /* System header to define __stub macros and hopefully few prototypes,
2044     which can conflict with char $2 (); below.
2045     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2046     <limits.h> exists even on freestanding compilers.  */
2047
2048 #ifdef __STDC__
2049 # include <limits.h>
2050 #else
2051 # include <assert.h>
2052 #endif
2053
2054 #undef $2
2055
2056 /* Override any GCC internal prototype to avoid an error.
2057    Use char because int might match the return type of a GCC
2058    builtin and then its argument prototype would still apply.  */
2059 #ifdef __cplusplus
2060 extern "C"
2061 #endif
2062 char $2 ();
2063 /* The GNU C library defines this for functions which it implements
2064     to always fail with ENOSYS.  Some functions are actually named
2065     something starting with __ and the normal name is an alias.  */
2066 #if defined __stub_$2 || defined __stub___$2
2067 choke me
2068 #endif
2069
2070 int
2071 main ()
2072 {
2073 return $2 ();
2074   ;
2075   return 0;
2076 }
2077 _ACEOF
2078 if ac_fn_c_try_link "$LINENO"; then :
2079   eval "$3=yes"
2080 else
2081   eval "$3=no"
2082 fi
2083 rm -f core conftest.err conftest.$ac_objext \
2084     conftest$ac_exeext conftest.$ac_ext
2085 fi
2086 eval ac_res=\$$3
2087                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2088 $as_echo "$ac_res" >&6; }
2089   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2090
2091 } # ac_fn_c_check_func
2092
2093 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2094 # -------------------------------------------------------
2095 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2096 # the include files in INCLUDES and setting the cache variable VAR
2097 # accordingly.
2098 ac_fn_c_check_header_mongrel ()
2099 {
2100   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2101   if eval \${$3+:} false; then :
2102   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2103 $as_echo_n "checking for $2... " >&6; }
2104 if eval \${$3+:} false; then :
2105   $as_echo_n "(cached) " >&6
2106 fi
2107 eval ac_res=\$$3
2108                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2109 $as_echo "$ac_res" >&6; }
2110 else
2111   # Is the header compilable?
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2113 $as_echo_n "checking $2 usability... " >&6; }
2114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2115 /* end confdefs.h.  */
2116 $4
2117 #include <$2>
2118 _ACEOF
2119 if ac_fn_c_try_compile "$LINENO"; then :
2120   ac_header_compiler=yes
2121 else
2122   ac_header_compiler=no
2123 fi
2124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2126 $as_echo "$ac_header_compiler" >&6; }
2127
2128 # Is the header present?
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2130 $as_echo_n "checking $2 presence... " >&6; }
2131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2132 /* end confdefs.h.  */
2133 #include <$2>
2134 _ACEOF
2135 if ac_fn_c_try_cpp "$LINENO"; then :
2136   ac_header_preproc=yes
2137 else
2138   ac_header_preproc=no
2139 fi
2140 rm -f conftest.err conftest.i conftest.$ac_ext
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2142 $as_echo "$ac_header_preproc" >&6; }
2143
2144 # So?  What about this header?
2145 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2146   yes:no: )
2147     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2148 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2149     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2150 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2151     ;;
2152   no:yes:* )
2153     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2154 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2155     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2156 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2157     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2158 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2159     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2160 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2161     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2162 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2163 ( $as_echo "## --------------------------------------------------------------------- ##
2164 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=libgsf ##
2165 ## --------------------------------------------------------------------- ##"
2166      ) | sed "s/^/$as_me: WARNING:     /" >&2
2167     ;;
2168 esac
2169   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2170 $as_echo_n "checking for $2... " >&6; }
2171 if eval \${$3+:} false; then :
2172   $as_echo_n "(cached) " >&6
2173 else
2174   eval "$3=\$ac_header_compiler"
2175 fi
2176 eval ac_res=\$$3
2177                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2178 $as_echo "$ac_res" >&6; }
2179 fi
2180   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2181
2182 } # ac_fn_c_check_header_mongrel
2183
2184 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2185 # ---------------------------------------------
2186 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2187 # accordingly.
2188 ac_fn_c_check_decl ()
2189 {
2190   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2191   as_decl_name=`echo $2|sed 's/ *(.*//'`
2192   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2194 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2195 if eval \${$3+:} false; then :
2196   $as_echo_n "(cached) " >&6
2197 else
2198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2199 /* end confdefs.h.  */
2200 $4
2201 int
2202 main ()
2203 {
2204 #ifndef $as_decl_name
2205 #ifdef __cplusplus
2206   (void) $as_decl_use;
2207 #else
2208   (void) $as_decl_name;
2209 #endif
2210 #endif
2211
2212   ;
2213   return 0;
2214 }
2215 _ACEOF
2216 if ac_fn_c_try_compile "$LINENO"; then :
2217   eval "$3=yes"
2218 else
2219   eval "$3=no"
2220 fi
2221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2222 fi
2223 eval ac_res=\$$3
2224                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2225 $as_echo "$ac_res" >&6; }
2226   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2227
2228 } # ac_fn_c_check_decl
2229
2230 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2231 # -------------------------------------------
2232 # Tests whether TYPE exists after having included INCLUDES, setting cache
2233 # variable VAR accordingly.
2234 ac_fn_c_check_type ()
2235 {
2236   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2237   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2238 $as_echo_n "checking for $2... " >&6; }
2239 if eval \${$3+:} false; then :
2240   $as_echo_n "(cached) " >&6
2241 else
2242   eval "$3=no"
2243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2244 /* end confdefs.h.  */
2245 $4
2246 int
2247 main ()
2248 {
2249 if (sizeof ($2))
2250          return 0;
2251   ;
2252   return 0;
2253 }
2254 _ACEOF
2255 if ac_fn_c_try_compile "$LINENO"; then :
2256   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2257 /* end confdefs.h.  */
2258 $4
2259 int
2260 main ()
2261 {
2262 if (sizeof (($2)))
2263             return 0;
2264   ;
2265   return 0;
2266 }
2267 _ACEOF
2268 if ac_fn_c_try_compile "$LINENO"; then :
2269
2270 else
2271   eval "$3=yes"
2272 fi
2273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2274 fi
2275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2276 fi
2277 eval ac_res=\$$3
2278                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2279 $as_echo "$ac_res" >&6; }
2280   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2281
2282 } # ac_fn_c_check_type
2283
2284 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2285 # ----------------------------------------------------
2286 # Tries to find if the field MEMBER exists in type AGGR, after including
2287 # INCLUDES, setting cache variable VAR accordingly.
2288 ac_fn_c_check_member ()
2289 {
2290   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2291   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2292 $as_echo_n "checking for $2.$3... " >&6; }
2293 if eval \${$4+:} false; then :
2294   $as_echo_n "(cached) " >&6
2295 else
2296   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2297 /* end confdefs.h.  */
2298 $5
2299 int
2300 main ()
2301 {
2302 static $2 ac_aggr;
2303 if (ac_aggr.$3)
2304 return 0;
2305   ;
2306   return 0;
2307 }
2308 _ACEOF
2309 if ac_fn_c_try_compile "$LINENO"; then :
2310   eval "$4=yes"
2311 else
2312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2313 /* end confdefs.h.  */
2314 $5
2315 int
2316 main ()
2317 {
2318 static $2 ac_aggr;
2319 if (sizeof ac_aggr.$3)
2320 return 0;
2321   ;
2322   return 0;
2323 }
2324 _ACEOF
2325 if ac_fn_c_try_compile "$LINENO"; then :
2326   eval "$4=yes"
2327 else
2328   eval "$4=no"
2329 fi
2330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2331 fi
2332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2333 fi
2334 eval ac_res=\$$4
2335                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2336 $as_echo "$ac_res" >&6; }
2337   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2338
2339 } # ac_fn_c_check_member
2340 cat >config.log <<_ACEOF
2341 This file contains any messages produced by compilers while
2342 running configure, to aid debugging if configure makes a mistake.
2343
2344 It was created by libgsf $as_me 1.14.21, which was
2345 generated by GNU Autoconf 2.68.  Invocation command line was
2346
2347   $ $0 $@
2348
2349 _ACEOF
2350 exec 5>>config.log
2351 {
2352 cat <<_ASUNAME
2353 ## --------- ##
2354 ## Platform. ##
2355 ## --------- ##
2356
2357 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2358 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2359 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2360 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2361 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2362
2363 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2364 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2365
2366 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2367 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2368 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2369 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2370 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2371 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2372 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2373
2374 _ASUNAME
2375
2376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2377 for as_dir in $PATH
2378 do
2379   IFS=$as_save_IFS
2380   test -z "$as_dir" && as_dir=.
2381     $as_echo "PATH: $as_dir"
2382   done
2383 IFS=$as_save_IFS
2384
2385 } >&5
2386
2387 cat >&5 <<_ACEOF
2388
2389
2390 ## ----------- ##
2391 ## Core tests. ##
2392 ## ----------- ##
2393
2394 _ACEOF
2395
2396
2397 # Keep a trace of the command line.
2398 # Strip out --no-create and --no-recursion so they do not pile up.
2399 # Strip out --silent because we don't want to record it for future runs.
2400 # Also quote any args containing shell meta-characters.
2401 # Make two passes to allow for proper duplicate-argument suppression.
2402 ac_configure_args=
2403 ac_configure_args0=
2404 ac_configure_args1=
2405 ac_must_keep_next=false
2406 for ac_pass in 1 2
2407 do
2408   for ac_arg
2409   do
2410     case $ac_arg in
2411     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2412     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2413     | -silent | --silent | --silen | --sile | --sil)
2414       continue ;;
2415     *\'*)
2416       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2417     esac
2418     case $ac_pass in
2419     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2420     2)
2421       as_fn_append ac_configure_args1 " '$ac_arg'"
2422       if test $ac_must_keep_next = true; then
2423         ac_must_keep_next=false # Got value, back to normal.
2424       else
2425         case $ac_arg in
2426           *=* | --config-cache | -C | -disable-* | --disable-* \
2427           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2428           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2429           | -with-* | --with-* | -without-* | --without-* | --x)
2430             case "$ac_configure_args0 " in
2431               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2432             esac
2433             ;;
2434           -* ) ac_must_keep_next=true ;;
2435         esac
2436       fi
2437       as_fn_append ac_configure_args " '$ac_arg'"
2438       ;;
2439     esac
2440   done
2441 done
2442 { ac_configure_args0=; unset ac_configure_args0;}
2443 { ac_configure_args1=; unset ac_configure_args1;}
2444
2445 # When interrupted or exit'd, cleanup temporary files, and complete
2446 # config.log.  We remove comments because anyway the quotes in there
2447 # would cause problems or look ugly.
2448 # WARNING: Use '\'' to represent an apostrophe within the trap.
2449 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2450 trap 'exit_status=$?
2451   # Save into config.log some information that might help in debugging.
2452   {
2453     echo
2454
2455     $as_echo "## ---------------- ##
2456 ## Cache variables. ##
2457 ## ---------------- ##"
2458     echo
2459     # The following way of writing the cache mishandles newlines in values,
2460 (
2461   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2462     eval ac_val=\$$ac_var
2463     case $ac_val in #(
2464     *${as_nl}*)
2465       case $ac_var in #(
2466       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2467 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2468       esac
2469       case $ac_var in #(
2470       _ | IFS | as_nl) ;; #(
2471       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2472       *) { eval $ac_var=; unset $ac_var;} ;;
2473       esac ;;
2474     esac
2475   done
2476   (set) 2>&1 |
2477     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2478     *${as_nl}ac_space=\ *)
2479       sed -n \
2480         "s/'\''/'\''\\\\'\'''\''/g;
2481           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2482       ;; #(
2483     *)
2484       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2485       ;;
2486     esac |
2487     sort
2488 )
2489     echo
2490
2491     $as_echo "## ----------------- ##
2492 ## Output variables. ##
2493 ## ----------------- ##"
2494     echo
2495     for ac_var in $ac_subst_vars
2496     do
2497       eval ac_val=\$$ac_var
2498       case $ac_val in
2499       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2500       esac
2501       $as_echo "$ac_var='\''$ac_val'\''"
2502     done | sort
2503     echo
2504
2505     if test -n "$ac_subst_files"; then
2506       $as_echo "## ------------------- ##
2507 ## File substitutions. ##
2508 ## ------------------- ##"
2509       echo
2510       for ac_var in $ac_subst_files
2511       do
2512         eval ac_val=\$$ac_var
2513         case $ac_val in
2514         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2515         esac
2516         $as_echo "$ac_var='\''$ac_val'\''"
2517       done | sort
2518       echo
2519     fi
2520
2521     if test -s confdefs.h; then
2522       $as_echo "## ----------- ##
2523 ## confdefs.h. ##
2524 ## ----------- ##"
2525       echo
2526       cat confdefs.h
2527       echo
2528     fi
2529     test "$ac_signal" != 0 &&
2530       $as_echo "$as_me: caught signal $ac_signal"
2531     $as_echo "$as_me: exit $exit_status"
2532   } >&5
2533   rm -f core *.core core.conftest.* &&
2534     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2535     exit $exit_status
2536 ' 0
2537 for ac_signal in 1 2 13 15; do
2538   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2539 done
2540 ac_signal=0
2541
2542 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2543 rm -f -r conftest* confdefs.h
2544
2545 $as_echo "/* confdefs.h */" > confdefs.h
2546
2547 # Predefined preprocessor variables.
2548
2549 cat >>confdefs.h <<_ACEOF
2550 #define PACKAGE_NAME "$PACKAGE_NAME"
2551 _ACEOF
2552
2553 cat >>confdefs.h <<_ACEOF
2554 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2555 _ACEOF
2556
2557 cat >>confdefs.h <<_ACEOF
2558 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2559 _ACEOF
2560
2561 cat >>confdefs.h <<_ACEOF
2562 #define PACKAGE_STRING "$PACKAGE_STRING"
2563 _ACEOF
2564
2565 cat >>confdefs.h <<_ACEOF
2566 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2567 _ACEOF
2568
2569 cat >>confdefs.h <<_ACEOF
2570 #define PACKAGE_URL "$PACKAGE_URL"
2571 _ACEOF
2572
2573
2574 # Let the site file select an alternate cache file if it wants to.
2575 # Prefer an explicitly selected file to automatically selected ones.
2576 ac_site_file1=NONE
2577 ac_site_file2=NONE
2578 if test -n "$CONFIG_SITE"; then
2579   # We do not want a PATH search for config.site.
2580   case $CONFIG_SITE in #((
2581     -*)  ac_site_file1=./$CONFIG_SITE;;
2582     */*) ac_site_file1=$CONFIG_SITE;;
2583     *)   ac_site_file1=./$CONFIG_SITE;;
2584   esac
2585 elif test "x$prefix" != xNONE; then
2586   ac_site_file1=$prefix/share/config.site
2587   ac_site_file2=$prefix/etc/config.site
2588 else
2589   ac_site_file1=$ac_default_prefix/share/config.site
2590   ac_site_file2=$ac_default_prefix/etc/config.site
2591 fi
2592 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2593 do
2594   test "x$ac_site_file" = xNONE && continue
2595   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2596     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2597 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2598     sed 's/^/| /' "$ac_site_file" >&5
2599     . "$ac_site_file" \
2600       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2602 as_fn_error $? "failed to load site script $ac_site_file
2603 See \`config.log' for more details" "$LINENO" 5; }
2604   fi
2605 done
2606
2607 if test -r "$cache_file"; then
2608   # Some versions of bash will fail to source /dev/null (special files
2609   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2610   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2611     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2612 $as_echo "$as_me: loading cache $cache_file" >&6;}
2613     case $cache_file in
2614       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2615       *)                      . "./$cache_file";;
2616     esac
2617   fi
2618 else
2619   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2620 $as_echo "$as_me: creating cache $cache_file" >&6;}
2621   >$cache_file
2622 fi
2623
2624 as_fn_append ac_header_list " stdlib.h"
2625 as_fn_append ac_header_list " unistd.h"
2626 as_fn_append ac_header_list " sys/param.h"
2627 # Check that the precious variables saved in the cache have kept the same
2628 # value.
2629 ac_cache_corrupted=false
2630 for ac_var in $ac_precious_vars; do
2631   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2632   eval ac_new_set=\$ac_env_${ac_var}_set
2633   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2634   eval ac_new_val=\$ac_env_${ac_var}_value
2635   case $ac_old_set,$ac_new_set in
2636     set,)
2637       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2638 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2639       ac_cache_corrupted=: ;;
2640     ,set)
2641       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2642 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2643       ac_cache_corrupted=: ;;
2644     ,);;
2645     *)
2646       if test "x$ac_old_val" != "x$ac_new_val"; then
2647         # differences in whitespace do not lead to failure.
2648         ac_old_val_w=`echo x $ac_old_val`
2649         ac_new_val_w=`echo x $ac_new_val`
2650         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2651           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2652 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2653           ac_cache_corrupted=:
2654         else
2655           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2656 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2657           eval $ac_var=\$ac_old_val
2658         fi
2659         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2660 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2661         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2662 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2663       fi;;
2664   esac
2665   # Pass precious variables to config.status.
2666   if test "$ac_new_set" = set; then
2667     case $ac_new_val in
2668     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2669     *) ac_arg=$ac_var=$ac_new_val ;;
2670     esac
2671     case " $ac_configure_args " in
2672       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2673       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2674     esac
2675   fi
2676 done
2677 if $ac_cache_corrupted; then
2678   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2679 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2680   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2681 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2682   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2683 fi
2684 ## -------------------- ##
2685 ## Main body of script. ##
2686 ## -------------------- ##
2687
2688 ac_ext=c
2689 ac_cpp='$CPP $CPPFLAGS'
2690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2693
2694
2695
2696
2697 ACLOCAL_AMFLAGS="$ACLOCAL_FLAGS -I m4"
2698
2699
2700 LIBGSF_MAJOR_VERSION=1
2701
2702 LIBGSF_MINOR_VERSION=14
2703
2704 LIBGSF_MICRO_VERSION=21
2705
2706
2707
2708
2709 VERSION_INFO=114:21:0
2710
2711 CURRENT_MINUS_AGE=114
2712
2713
2714 am__api_version='1.11'
2715
2716 ac_aux_dir=
2717 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2718   if test -f "$ac_dir/install-sh"; then
2719     ac_aux_dir=$ac_dir
2720     ac_install_sh="$ac_aux_dir/install-sh -c"
2721     break
2722   elif test -f "$ac_dir/install.sh"; then
2723     ac_aux_dir=$ac_dir
2724     ac_install_sh="$ac_aux_dir/install.sh -c"
2725     break
2726   elif test -f "$ac_dir/shtool"; then
2727     ac_aux_dir=$ac_dir
2728     ac_install_sh="$ac_aux_dir/shtool install -c"
2729     break
2730   fi
2731 done
2732 if test -z "$ac_aux_dir"; then
2733   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2734 fi
2735
2736 # These three variables are undocumented and unsupported,
2737 # and are intended to be withdrawn in a future Autoconf release.
2738 # They can cause serious problems if a builder's source tree is in a directory
2739 # whose full name contains unusual characters.
2740 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2741 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2742 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2743
2744
2745 # Find a good install program.  We prefer a C program (faster),
2746 # so one script is as good as another.  But avoid the broken or
2747 # incompatible versions:
2748 # SysV /etc/install, /usr/sbin/install
2749 # SunOS /usr/etc/install
2750 # IRIX /sbin/install
2751 # AIX /bin/install
2752 # AmigaOS /C/install, which installs bootblocks on floppy discs
2753 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2754 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2755 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2756 # OS/2's system install, which has a completely different semantic
2757 # ./install, which can be erroneously created by make from ./install.sh.
2758 # Reject install programs that cannot install multiple files.
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2760 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2761 if test -z "$INSTALL"; then
2762 if ${ac_cv_path_install+:} false; then :
2763   $as_echo_n "(cached) " >&6
2764 else
2765   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2766 for as_dir in $PATH
2767 do
2768   IFS=$as_save_IFS
2769   test -z "$as_dir" && as_dir=.
2770     # Account for people who put trailing slashes in PATH elements.
2771 case $as_dir/ in #((
2772   ./ | .// | /[cC]/* | \
2773   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2774   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2775   /usr/ucb/* ) ;;
2776   *)
2777     # OSF1 and SCO ODT 3.0 have their own names for install.
2778     # Don't use installbsd from OSF since it installs stuff as root
2779     # by default.
2780     for ac_prog in ginstall scoinst install; do
2781       for ac_exec_ext in '' $ac_executable_extensions; do
2782         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2783           if test $ac_prog = install &&
2784             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2785             # AIX install.  It has an incompatible calling convention.
2786             :
2787           elif test $ac_prog = install &&
2788             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2789             # program-specific install script used by HP pwplus--don't use.
2790             :
2791           else
2792             rm -rf conftest.one conftest.two conftest.dir
2793             echo one > conftest.one
2794             echo two > conftest.two
2795             mkdir conftest.dir
2796             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2797               test -s conftest.one && test -s conftest.two &&
2798               test -s conftest.dir/conftest.one &&
2799               test -s conftest.dir/conftest.two
2800             then
2801               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2802               break 3
2803             fi
2804           fi
2805         fi
2806       done
2807     done
2808     ;;
2809 esac
2810
2811   done
2812 IFS=$as_save_IFS
2813
2814 rm -rf conftest.one conftest.two conftest.dir
2815
2816 fi
2817   if test "${ac_cv_path_install+set}" = set; then
2818     INSTALL=$ac_cv_path_install
2819   else
2820     # As a last resort, use the slow shell script.  Don't cache a
2821     # value for INSTALL within a source directory, because that will
2822     # break other packages using the cache if that directory is
2823     # removed, or if the value is a relative name.
2824     INSTALL=$ac_install_sh
2825   fi
2826 fi
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2828 $as_echo "$INSTALL" >&6; }
2829
2830 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2831 # It thinks the first close brace ends the variable substitution.
2832 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2833
2834 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2835
2836 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2837
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2839 $as_echo_n "checking whether build environment is sane... " >&6; }
2840 # Just in case
2841 sleep 1
2842 echo timestamp > conftest.file
2843 # Reject unsafe characters in $srcdir or the absolute working directory
2844 # name.  Accept space and tab only in the latter.
2845 am_lf='
2846 '
2847 case `pwd` in
2848   *[\\\"\#\$\&\'\`$am_lf]*)
2849     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2850 esac
2851 case $srcdir in
2852   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2853     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2854 esac
2855
2856 # Do `set' in a subshell so we don't clobber the current shell's
2857 # arguments.  Must try -L first in case configure is actually a
2858 # symlink; some systems play weird games with the mod time of symlinks
2859 # (eg FreeBSD returns the mod time of the symlink's containing
2860 # directory).
2861 if (
2862    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2863    if test "$*" = "X"; then
2864       # -L didn't work.
2865       set X `ls -t "$srcdir/configure" conftest.file`
2866    fi
2867    rm -f conftest.file
2868    if test "$*" != "X $srcdir/configure conftest.file" \
2869       && test "$*" != "X conftest.file $srcdir/configure"; then
2870
2871       # If neither matched, then we have a broken ls.  This can happen
2872       # if, for instance, CONFIG_SHELL is bash and it inherits a
2873       # broken ls alias from the environment.  This has actually
2874       # happened.  Such a system could not be considered "sane".
2875       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2876 alias in your environment" "$LINENO" 5
2877    fi
2878
2879    test "$2" = conftest.file
2880    )
2881 then
2882    # Ok.
2883    :
2884 else
2885    as_fn_error $? "newly created file is older than distributed files!
2886 Check your system clock" "$LINENO" 5
2887 fi
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2889 $as_echo "yes" >&6; }
2890 test "$program_prefix" != NONE &&
2891   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2892 # Use a double $ so make ignores it.
2893 test "$program_suffix" != NONE &&
2894   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2895 # Double any \ or $.
2896 # By default was `s,x,x', remove it if useless.
2897 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2898 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2899
2900 # expand $ac_aux_dir to an absolute path
2901 am_aux_dir=`cd $ac_aux_dir && pwd`
2902
2903 if test x"${MISSING+set}" != xset; then
2904   case $am_aux_dir in
2905   *\ * | *\     *)
2906     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2907   *)
2908     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2909   esac
2910 fi
2911 # Use eval to expand $SHELL
2912 if eval "$MISSING --run true"; then
2913   am_missing_run="$MISSING --run "
2914 else
2915   am_missing_run=
2916   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2917 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2918 fi
2919
2920 if test x"${install_sh}" != xset; then
2921   case $am_aux_dir in
2922   *\ * | *\     *)
2923     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2924   *)
2925     install_sh="\${SHELL} $am_aux_dir/install-sh"
2926   esac
2927 fi
2928
2929 # Installed binaries are usually stripped using `strip' when the user
2930 # run `make install-strip'.  However `strip' might not be the right
2931 # tool to use in cross-compilation environments, therefore Automake
2932 # will honor the `STRIP' environment variable to overrule this program.
2933 if test "$cross_compiling" != no; then
2934   if test -n "$ac_tool_prefix"; then
2935   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2936 set dummy ${ac_tool_prefix}strip; ac_word=$2
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2938 $as_echo_n "checking for $ac_word... " >&6; }
2939 if ${ac_cv_prog_STRIP+:} false; then :
2940   $as_echo_n "(cached) " >&6
2941 else
2942   if test -n "$STRIP"; then
2943   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2944 else
2945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2946 for as_dir in $PATH
2947 do
2948   IFS=$as_save_IFS
2949   test -z "$as_dir" && as_dir=.
2950     for ac_exec_ext in '' $ac_executable_extensions; do
2951   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2952     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2953     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2954     break 2
2955   fi
2956 done
2957   done
2958 IFS=$as_save_IFS
2959
2960 fi
2961 fi
2962 STRIP=$ac_cv_prog_STRIP
2963 if test -n "$STRIP"; then
2964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2965 $as_echo "$STRIP" >&6; }
2966 else
2967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2968 $as_echo "no" >&6; }
2969 fi
2970
2971
2972 fi
2973 if test -z "$ac_cv_prog_STRIP"; then
2974   ac_ct_STRIP=$STRIP
2975   # Extract the first word of "strip", so it can be a program name with args.
2976 set dummy strip; ac_word=$2
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2978 $as_echo_n "checking for $ac_word... " >&6; }
2979 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2980   $as_echo_n "(cached) " >&6
2981 else
2982   if test -n "$ac_ct_STRIP"; then
2983   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2984 else
2985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2986 for as_dir in $PATH
2987 do
2988   IFS=$as_save_IFS
2989   test -z "$as_dir" && as_dir=.
2990     for ac_exec_ext in '' $ac_executable_extensions; do
2991   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2992     ac_cv_prog_ac_ct_STRIP="strip"
2993     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2994     break 2
2995   fi
2996 done
2997   done
2998 IFS=$as_save_IFS
2999
3000 fi
3001 fi
3002 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3003 if test -n "$ac_ct_STRIP"; then
3004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3005 $as_echo "$ac_ct_STRIP" >&6; }
3006 else
3007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3008 $as_echo "no" >&6; }
3009 fi
3010
3011   if test "x$ac_ct_STRIP" = x; then
3012     STRIP=":"
3013   else
3014     case $cross_compiling:$ac_tool_warned in
3015 yes:)
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3017 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3018 ac_tool_warned=yes ;;
3019 esac
3020     STRIP=$ac_ct_STRIP
3021   fi
3022 else
3023   STRIP="$ac_cv_prog_STRIP"
3024 fi
3025
3026 fi
3027 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3028
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3030 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3031 if test -z "$MKDIR_P"; then
3032   if ${ac_cv_path_mkdir+:} false; then :
3033   $as_echo_n "(cached) " >&6
3034 else
3035   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3036 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3037 do
3038   IFS=$as_save_IFS
3039   test -z "$as_dir" && as_dir=.
3040     for ac_prog in mkdir gmkdir; do
3041          for ac_exec_ext in '' $ac_executable_extensions; do
3042            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3043            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3044              'mkdir (GNU coreutils) '* | \
3045              'mkdir (coreutils) '* | \
3046              'mkdir (fileutils) '4.1*)
3047                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3048                break 3;;
3049            esac
3050          done
3051        done
3052   done
3053 IFS=$as_save_IFS
3054
3055 fi
3056
3057   test -d ./--version && rmdir ./--version
3058   if test "${ac_cv_path_mkdir+set}" = set; then
3059     MKDIR_P="$ac_cv_path_mkdir -p"
3060   else
3061     # As a last resort, use the slow shell script.  Don't cache a
3062     # value for MKDIR_P within a source directory, because that will
3063     # break other packages using the cache if that directory is
3064     # removed, or if the value is a relative name.
3065     MKDIR_P="$ac_install_sh -d"
3066   fi
3067 fi
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3069 $as_echo "$MKDIR_P" >&6; }
3070
3071 mkdir_p="$MKDIR_P"
3072 case $mkdir_p in
3073   [\\/$]* | ?:[\\/]*) ;;
3074   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3075 esac
3076
3077 for ac_prog in gawk mawk nawk awk
3078 do
3079   # Extract the first word of "$ac_prog", so it can be a program name with args.
3080 set dummy $ac_prog; ac_word=$2
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3082 $as_echo_n "checking for $ac_word... " >&6; }
3083 if ${ac_cv_prog_AWK+:} false; then :
3084   $as_echo_n "(cached) " >&6
3085 else
3086   if test -n "$AWK"; then
3087   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3088 else
3089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3090 for as_dir in $PATH
3091 do
3092   IFS=$as_save_IFS
3093   test -z "$as_dir" && as_dir=.
3094     for ac_exec_ext in '' $ac_executable_extensions; do
3095   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3096     ac_cv_prog_AWK="$ac_prog"
3097     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3098     break 2
3099   fi
3100 done
3101   done
3102 IFS=$as_save_IFS
3103
3104 fi
3105 fi
3106 AWK=$ac_cv_prog_AWK
3107 if test -n "$AWK"; then
3108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3109 $as_echo "$AWK" >&6; }
3110 else
3111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3112 $as_echo "no" >&6; }
3113 fi
3114
3115
3116   test -n "$AWK" && break
3117 done
3118
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3120 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3121 set x ${MAKE-make}
3122 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3123 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3124   $as_echo_n "(cached) " >&6
3125 else
3126   cat >conftest.make <<\_ACEOF
3127 SHELL = /bin/sh
3128 all:
3129         @echo '@@@%%%=$(MAKE)=@@@%%%'
3130 _ACEOF
3131 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3132 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3133   *@@@%%%=?*=@@@%%%*)
3134     eval ac_cv_prog_make_${ac_make}_set=yes;;
3135   *)
3136     eval ac_cv_prog_make_${ac_make}_set=no;;
3137 esac
3138 rm -f conftest.make
3139 fi
3140 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3142 $as_echo "yes" >&6; }
3143   SET_MAKE=
3144 else
3145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3146 $as_echo "no" >&6; }
3147   SET_MAKE="MAKE=${MAKE-make}"
3148 fi
3149
3150 rm -rf .tst 2>/dev/null
3151 mkdir .tst 2>/dev/null
3152 if test -d .tst; then
3153   am__leading_dot=.
3154 else
3155   am__leading_dot=_
3156 fi
3157 rmdir .tst 2>/dev/null
3158
3159 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3160   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3161   # is not polluted with repeated "-I."
3162   am__isrc=' -I$(srcdir)'
3163   # test to see if srcdir already configured
3164   if test -f $srcdir/config.status; then
3165     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3166   fi
3167 fi
3168
3169 # test whether we have cygpath
3170 if test -z "$CYGPATH_W"; then
3171   if (cygpath --version) >/dev/null 2>/dev/null; then
3172     CYGPATH_W='cygpath -w'
3173   else
3174     CYGPATH_W=echo
3175   fi
3176 fi
3177
3178
3179 # Define the identity of the package.
3180  PACKAGE='libgsf'
3181  VERSION='1.14.21'
3182
3183
3184 cat >>confdefs.h <<_ACEOF
3185 #define PACKAGE "$PACKAGE"
3186 _ACEOF
3187
3188
3189 cat >>confdefs.h <<_ACEOF
3190 #define VERSION "$VERSION"
3191 _ACEOF
3192
3193 # Some tools Automake needs.
3194
3195 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3196
3197
3198 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3199
3200
3201 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3202
3203
3204 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3205
3206
3207 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3208
3209 # We need awk for the "check" target.  The system "awk" is bad on
3210 # some platforms.
3211 # Always define AMTAR for backward compatibility.
3212
3213 AMTAR=${AMTAR-"${am_missing_run}tar"}
3214
3215 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3216
3217
3218
3219
3220
3221
3222 ac_config_headers="$ac_config_headers gsf-config.h"
3223
3224
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3226 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3227     # Check whether --enable-maintainer-mode was given.
3228 if test "${enable_maintainer_mode+set}" = set; then :
3229   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3230 else
3231   USE_MAINTAINER_MODE=no
3232 fi
3233
3234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3235 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3236    if test $USE_MAINTAINER_MODE = yes; then
3237   MAINTAINER_MODE_TRUE=
3238   MAINTAINER_MODE_FALSE='#'
3239 else
3240   MAINTAINER_MODE_TRUE='#'
3241   MAINTAINER_MODE_FALSE=
3242 fi
3243
3244   MAINT=$MAINTAINER_MODE_TRUE
3245
3246
3247
3248 # Check whether --enable-silent-rules was given.
3249 if test "${enable_silent_rules+set}" = set; then :
3250   enableval=$enable_silent_rules;
3251 fi
3252
3253 case $enable_silent_rules in
3254 yes) AM_DEFAULT_VERBOSITY=0;;
3255 no)  AM_DEFAULT_VERBOSITY=1;;
3256 *)   AM_DEFAULT_VERBOSITY=0;;
3257 esac
3258 AM_BACKSLASH='\'
3259
3260
3261 ACLOCAL_AMFLAGS=$ACLOCAL_FLAGS
3262
3263
3264 ac_ext=c
3265 ac_cpp='$CPP $CPPFLAGS'
3266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3269 if test -n "$ac_tool_prefix"; then
3270   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3271 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3273 $as_echo_n "checking for $ac_word... " >&6; }
3274 if ${ac_cv_prog_CC+:} false; then :
3275   $as_echo_n "(cached) " >&6
3276 else
3277   if test -n "$CC"; then
3278   ac_cv_prog_CC="$CC" # Let the user override the test.
3279 else
3280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3281 for as_dir in $PATH
3282 do
3283   IFS=$as_save_IFS
3284   test -z "$as_dir" && as_dir=.
3285     for ac_exec_ext in '' $ac_executable_extensions; do
3286   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3287     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3288     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3289     break 2
3290   fi
3291 done
3292   done
3293 IFS=$as_save_IFS
3294
3295 fi
3296 fi
3297 CC=$ac_cv_prog_CC
3298 if test -n "$CC"; then
3299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3300 $as_echo "$CC" >&6; }
3301 else
3302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3303 $as_echo "no" >&6; }
3304 fi
3305
3306
3307 fi
3308 if test -z "$ac_cv_prog_CC"; then
3309   ac_ct_CC=$CC
3310   # Extract the first word of "gcc", so it can be a program name with args.
3311 set dummy gcc; ac_word=$2
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3313 $as_echo_n "checking for $ac_word... " >&6; }
3314 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3315   $as_echo_n "(cached) " >&6
3316 else
3317   if test -n "$ac_ct_CC"; then
3318   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3319 else
3320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3321 for as_dir in $PATH
3322 do
3323   IFS=$as_save_IFS
3324   test -z "$as_dir" && as_dir=.
3325     for ac_exec_ext in '' $ac_executable_extensions; do
3326   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3327     ac_cv_prog_ac_ct_CC="gcc"
3328     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3329     break 2
3330   fi
3331 done
3332   done
3333 IFS=$as_save_IFS
3334
3335 fi
3336 fi
3337 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3338 if test -n "$ac_ct_CC"; then
3339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3340 $as_echo "$ac_ct_CC" >&6; }
3341 else
3342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3343 $as_echo "no" >&6; }
3344 fi
3345
3346   if test "x$ac_ct_CC" = x; then
3347     CC=""
3348   else
3349     case $cross_compiling:$ac_tool_warned in
3350 yes:)
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3352 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3353 ac_tool_warned=yes ;;
3354 esac
3355     CC=$ac_ct_CC
3356   fi
3357 else
3358   CC="$ac_cv_prog_CC"
3359 fi
3360
3361 if test -z "$CC"; then
3362           if test -n "$ac_tool_prefix"; then
3363     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3364 set dummy ${ac_tool_prefix}cc; ac_word=$2
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3366 $as_echo_n "checking for $ac_word... " >&6; }
3367 if ${ac_cv_prog_CC+:} false; then :
3368   $as_echo_n "(cached) " >&6
3369 else
3370   if test -n "$CC"; then
3371   ac_cv_prog_CC="$CC" # Let the user override the test.
3372 else
3373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3374 for as_dir in $PATH
3375 do
3376   IFS=$as_save_IFS
3377   test -z "$as_dir" && as_dir=.
3378     for ac_exec_ext in '' $ac_executable_extensions; do
3379   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3380     ac_cv_prog_CC="${ac_tool_prefix}cc"
3381     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3382     break 2
3383   fi
3384 done
3385   done
3386 IFS=$as_save_IFS
3387
3388 fi
3389 fi
3390 CC=$ac_cv_prog_CC
3391 if test -n "$CC"; then
3392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3393 $as_echo "$CC" >&6; }
3394 else
3395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3396 $as_echo "no" >&6; }
3397 fi
3398
3399
3400   fi
3401 fi
3402 if test -z "$CC"; then
3403   # Extract the first word of "cc", so it can be a program name with args.
3404 set dummy cc; ac_word=$2
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3406 $as_echo_n "checking for $ac_word... " >&6; }
3407 if ${ac_cv_prog_CC+:} false; then :
3408   $as_echo_n "(cached) " >&6
3409 else
3410   if test -n "$CC"; then
3411   ac_cv_prog_CC="$CC" # Let the user override the test.
3412 else
3413   ac_prog_rejected=no
3414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3415 for as_dir in $PATH
3416 do
3417   IFS=$as_save_IFS
3418   test -z "$as_dir" && as_dir=.
3419     for ac_exec_ext in '' $ac_executable_extensions; do
3420   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3421     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3422        ac_prog_rejected=yes
3423        continue
3424      fi
3425     ac_cv_prog_CC="cc"
3426     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3427     break 2
3428   fi
3429 done
3430   done
3431 IFS=$as_save_IFS
3432
3433 if test $ac_prog_rejected = yes; then
3434   # We found a bogon in the path, so make sure we never use it.
3435   set dummy $ac_cv_prog_CC
3436   shift
3437   if test $# != 0; then
3438     # We chose a different compiler from the bogus one.
3439     # However, it has the same basename, so the bogon will be chosen
3440     # first if we set CC to just the basename; use the full file name.
3441     shift
3442     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3443   fi
3444 fi
3445 fi
3446 fi
3447 CC=$ac_cv_prog_CC
3448 if test -n "$CC"; then
3449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3450 $as_echo "$CC" >&6; }
3451 else
3452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3453 $as_echo "no" >&6; }
3454 fi
3455
3456
3457 fi
3458 if test -z "$CC"; then
3459   if test -n "$ac_tool_prefix"; then
3460   for ac_prog in cl.exe
3461   do
3462     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3463 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3465 $as_echo_n "checking for $ac_word... " >&6; }
3466 if ${ac_cv_prog_CC+:} false; then :
3467   $as_echo_n "(cached) " >&6
3468 else
3469   if test -n "$CC"; then
3470   ac_cv_prog_CC="$CC" # Let the user override the test.
3471 else
3472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3473 for as_dir in $PATH
3474 do
3475   IFS=$as_save_IFS
3476   test -z "$as_dir" && as_dir=.
3477     for ac_exec_ext in '' $ac_executable_extensions; do
3478   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3479     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3480     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3481     break 2
3482   fi
3483 done
3484   done
3485 IFS=$as_save_IFS
3486
3487 fi
3488 fi
3489 CC=$ac_cv_prog_CC
3490 if test -n "$CC"; then
3491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3492 $as_echo "$CC" >&6; }
3493 else
3494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3495 $as_echo "no" >&6; }
3496 fi
3497
3498
3499     test -n "$CC" && break
3500   done
3501 fi
3502 if test -z "$CC"; then
3503   ac_ct_CC=$CC
3504   for ac_prog in cl.exe
3505 do
3506   # Extract the first word of "$ac_prog", so it can be a program name with args.
3507 set dummy $ac_prog; ac_word=$2
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3509 $as_echo_n "checking for $ac_word... " >&6; }
3510 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3511   $as_echo_n "(cached) " >&6
3512 else
3513   if test -n "$ac_ct_CC"; then
3514   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3515 else
3516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3517 for as_dir in $PATH
3518 do
3519   IFS=$as_save_IFS
3520   test -z "$as_dir" && as_dir=.
3521     for ac_exec_ext in '' $ac_executable_extensions; do
3522   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3523     ac_cv_prog_ac_ct_CC="$ac_prog"
3524     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3525     break 2
3526   fi
3527 done
3528   done
3529 IFS=$as_save_IFS
3530
3531 fi
3532 fi
3533 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3534 if test -n "$ac_ct_CC"; then
3535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3536 $as_echo "$ac_ct_CC" >&6; }
3537 else
3538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3539 $as_echo "no" >&6; }
3540 fi
3541
3542
3543   test -n "$ac_ct_CC" && break
3544 done
3545
3546   if test "x$ac_ct_CC" = x; then
3547     CC=""
3548   else
3549     case $cross_compiling:$ac_tool_warned in
3550 yes:)
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3553 ac_tool_warned=yes ;;
3554 esac
3555     CC=$ac_ct_CC
3556   fi
3557 fi
3558
3559 fi
3560
3561
3562 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3563 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3564 as_fn_error $? "no acceptable C compiler found in \$PATH
3565 See \`config.log' for more details" "$LINENO" 5; }
3566
3567 # Provide some information about the compiler.
3568 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3569 set X $ac_compile
3570 ac_compiler=$2
3571 for ac_option in --version -v -V -qversion; do
3572   { { ac_try="$ac_compiler $ac_option >&5"
3573 case "(($ac_try" in
3574   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3575   *) ac_try_echo=$ac_try;;
3576 esac
3577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3578 $as_echo "$ac_try_echo"; } >&5
3579   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3580   ac_status=$?
3581   if test -s conftest.err; then
3582     sed '10a\
3583 ... rest of stderr output deleted ...
3584          10q' conftest.err >conftest.er1
3585     cat conftest.er1 >&5
3586   fi
3587   rm -f conftest.er1 conftest.err
3588   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3589   test $ac_status = 0; }
3590 done
3591
3592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3593 /* end confdefs.h.  */
3594
3595 int
3596 main ()
3597 {
3598
3599   ;
3600   return 0;
3601 }
3602 _ACEOF
3603 ac_clean_files_save=$ac_clean_files
3604 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3605 # Try to create an executable without -o first, disregard a.out.
3606 # It will help us diagnose broken compilers, and finding out an intuition
3607 # of exeext.
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3609 $as_echo_n "checking whether the C compiler works... " >&6; }
3610 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3611
3612 # The possible output files:
3613 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3614
3615 ac_rmfiles=
3616 for ac_file in $ac_files
3617 do
3618   case $ac_file in
3619     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3620     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3621   esac
3622 done
3623 rm -f $ac_rmfiles
3624
3625 if { { ac_try="$ac_link_default"
3626 case "(($ac_try" in
3627   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3628   *) ac_try_echo=$ac_try;;
3629 esac
3630 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3631 $as_echo "$ac_try_echo"; } >&5
3632   (eval "$ac_link_default") 2>&5
3633   ac_status=$?
3634   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3635   test $ac_status = 0; }; then :
3636   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3637 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3638 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3639 # so that the user can short-circuit this test for compilers unknown to
3640 # Autoconf.
3641 for ac_file in $ac_files ''
3642 do
3643   test -f "$ac_file" || continue
3644   case $ac_file in
3645     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3646         ;;
3647     [ab].out )
3648         # We found the default executable, but exeext='' is most
3649         # certainly right.
3650         break;;
3651     *.* )
3652         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3653         then :; else
3654            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3655         fi
3656         # We set ac_cv_exeext here because the later test for it is not
3657         # safe: cross compilers may not add the suffix if given an `-o'
3658         # argument, so we may need to know it at that point already.
3659         # Even if this section looks crufty: it has the advantage of
3660         # actually working.
3661         break;;
3662     * )
3663         break;;
3664   esac
3665 done
3666 test "$ac_cv_exeext" = no && ac_cv_exeext=
3667
3668 else
3669   ac_file=''
3670 fi
3671 if test -z "$ac_file"; then :
3672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3673 $as_echo "no" >&6; }
3674 $as_echo "$as_me: failed program was:" >&5
3675 sed 's/^/| /' conftest.$ac_ext >&5
3676
3677 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3678 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3679 as_fn_error 77 "C compiler cannot create executables
3680 See \`config.log' for more details" "$LINENO" 5; }
3681 else
3682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3683 $as_echo "yes" >&6; }
3684 fi
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3686 $as_echo_n "checking for C compiler default output file name... " >&6; }
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3688 $as_echo "$ac_file" >&6; }
3689 ac_exeext=$ac_cv_exeext
3690
3691 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3692 ac_clean_files=$ac_clean_files_save
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3694 $as_echo_n "checking for suffix of executables... " >&6; }
3695 if { { ac_try="$ac_link"
3696 case "(($ac_try" in
3697   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3698   *) ac_try_echo=$ac_try;;
3699 esac
3700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3701 $as_echo "$ac_try_echo"; } >&5
3702   (eval "$ac_link") 2>&5
3703   ac_status=$?
3704   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3705   test $ac_status = 0; }; then :
3706   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3707 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3708 # work properly (i.e., refer to `conftest.exe'), while it won't with
3709 # `rm'.
3710 for ac_file in conftest.exe conftest conftest.*; do
3711   test -f "$ac_file" || continue
3712   case $ac_file in
3713     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3714     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3715           break;;
3716     * ) break;;
3717   esac
3718 done
3719 else
3720   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3722 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3723 See \`config.log' for more details" "$LINENO" 5; }
3724 fi
3725 rm -f conftest conftest$ac_cv_exeext
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3727 $as_echo "$ac_cv_exeext" >&6; }
3728
3729 rm -f conftest.$ac_ext
3730 EXEEXT=$ac_cv_exeext
3731 ac_exeext=$EXEEXT
3732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3733 /* end confdefs.h.  */
3734 #include <stdio.h>
3735 int
3736 main ()
3737 {
3738 FILE *f = fopen ("conftest.out", "w");
3739  return ferror (f) || fclose (f) != 0;
3740
3741   ;
3742   return 0;
3743 }
3744 _ACEOF
3745 ac_clean_files="$ac_clean_files conftest.out"
3746 # Check that the compiler produces executables we can run.  If not, either
3747 # the compiler is broken, or we cross compile.
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3749 $as_echo_n "checking whether we are cross compiling... " >&6; }
3750 if test "$cross_compiling" != yes; then
3751   { { ac_try="$ac_link"
3752 case "(($ac_try" in
3753   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3754   *) ac_try_echo=$ac_try;;
3755 esac
3756 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3757 $as_echo "$ac_try_echo"; } >&5
3758   (eval "$ac_link") 2>&5
3759   ac_status=$?
3760   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3761   test $ac_status = 0; }
3762   if { ac_try='./conftest$ac_cv_exeext'
3763   { { case "(($ac_try" in
3764   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3765   *) ac_try_echo=$ac_try;;
3766 esac
3767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3768 $as_echo "$ac_try_echo"; } >&5
3769   (eval "$ac_try") 2>&5
3770   ac_status=$?
3771   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3772   test $ac_status = 0; }; }; then
3773     cross_compiling=no
3774   else
3775     if test "$cross_compiling" = maybe; then
3776         cross_compiling=yes
3777     else
3778         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3779 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3780 as_fn_error $? "cannot run C compiled programs.
3781 If you meant to cross compile, use \`--host'.
3782 See \`config.log' for more details" "$LINENO" 5; }
3783     fi
3784   fi
3785 fi
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3787 $as_echo "$cross_compiling" >&6; }
3788
3789 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3790 ac_clean_files=$ac_clean_files_save
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3792 $as_echo_n "checking for suffix of object files... " >&6; }
3793 if ${ac_cv_objext+:} false; then :
3794   $as_echo_n "(cached) " >&6
3795 else
3796   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3797 /* end confdefs.h.  */
3798
3799 int
3800 main ()
3801 {
3802
3803   ;
3804   return 0;
3805 }
3806 _ACEOF
3807 rm -f conftest.o conftest.obj
3808 if { { ac_try="$ac_compile"
3809 case "(($ac_try" in
3810   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3811   *) ac_try_echo=$ac_try;;
3812 esac
3813 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3814 $as_echo "$ac_try_echo"; } >&5
3815   (eval "$ac_compile") 2>&5
3816   ac_status=$?
3817   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3818   test $ac_status = 0; }; then :
3819   for ac_file in conftest.o conftest.obj conftest.*; do
3820   test -f "$ac_file" || continue;
3821   case $ac_file in
3822     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3823     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3824        break;;
3825   esac
3826 done
3827 else
3828   $as_echo "$as_me: failed program was:" >&5
3829 sed 's/^/| /' conftest.$ac_ext >&5
3830
3831 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3833 as_fn_error $? "cannot compute suffix of object files: cannot compile
3834 See \`config.log' for more details" "$LINENO" 5; }
3835 fi
3836 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3837 fi
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3839 $as_echo "$ac_cv_objext" >&6; }
3840 OBJEXT=$ac_cv_objext
3841 ac_objext=$OBJEXT
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3843 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3844 if ${ac_cv_c_compiler_gnu+:} false; then :
3845   $as_echo_n "(cached) " >&6
3846 else
3847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3848 /* end confdefs.h.  */
3849
3850 int
3851 main ()
3852 {
3853 #ifndef __GNUC__
3854        choke me
3855 #endif
3856
3857   ;
3858   return 0;
3859 }
3860 _ACEOF
3861 if ac_fn_c_try_compile "$LINENO"; then :
3862   ac_compiler_gnu=yes
3863 else
3864   ac_compiler_gnu=no
3865 fi
3866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3867 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3868
3869 fi
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3871 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3872 if test $ac_compiler_gnu = yes; then
3873   GCC=yes
3874 else
3875   GCC=
3876 fi
3877 ac_test_CFLAGS=${CFLAGS+set}
3878 ac_save_CFLAGS=$CFLAGS
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3880 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3881 if ${ac_cv_prog_cc_g+:} false; then :
3882   $as_echo_n "(cached) " >&6
3883 else
3884   ac_save_c_werror_flag=$ac_c_werror_flag
3885    ac_c_werror_flag=yes
3886    ac_cv_prog_cc_g=no
3887    CFLAGS="-g"
3888    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3889 /* end confdefs.h.  */
3890
3891 int
3892 main ()
3893 {
3894
3895   ;
3896   return 0;
3897 }
3898 _ACEOF
3899 if ac_fn_c_try_compile "$LINENO"; then :
3900   ac_cv_prog_cc_g=yes
3901 else
3902   CFLAGS=""
3903       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3904 /* end confdefs.h.  */
3905
3906 int
3907 main ()
3908 {
3909
3910   ;
3911   return 0;
3912 }
3913 _ACEOF
3914 if ac_fn_c_try_compile "$LINENO"; then :
3915
3916 else
3917   ac_c_werror_flag=$ac_save_c_werror_flag
3918          CFLAGS="-g"
3919          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3920 /* end confdefs.h.  */
3921
3922 int
3923 main ()
3924 {
3925
3926   ;
3927   return 0;
3928 }
3929 _ACEOF
3930 if ac_fn_c_try_compile "$LINENO"; then :
3931   ac_cv_prog_cc_g=yes
3932 fi
3933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3934 fi
3935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3936 fi
3937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3938    ac_c_werror_flag=$ac_save_c_werror_flag
3939 fi
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3941 $as_echo "$ac_cv_prog_cc_g" >&6; }
3942 if test "$ac_test_CFLAGS" = set; then
3943   CFLAGS=$ac_save_CFLAGS
3944 elif test $ac_cv_prog_cc_g = yes; then
3945   if test "$GCC" = yes; then
3946     CFLAGS="-g -O2"
3947   else
3948     CFLAGS="-g"
3949   fi
3950 else
3951   if test "$GCC" = yes; then
3952     CFLAGS="-O2"
3953   else
3954     CFLAGS=
3955   fi
3956 fi
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3958 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3959 if ${ac_cv_prog_cc_c89+:} false; then :
3960   $as_echo_n "(cached) " >&6
3961 else
3962   ac_cv_prog_cc_c89=no
3963 ac_save_CC=$CC
3964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3965 /* end confdefs.h.  */
3966 #include <stdarg.h>
3967 #include <stdio.h>
3968 #include <sys/types.h>
3969 #include <sys/stat.h>
3970 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3971 struct buf { int x; };
3972 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3973 static char *e (p, i)
3974      char **p;
3975      int i;
3976 {
3977   return p[i];
3978 }
3979 static char *f (char * (*g) (char **, int), char **p, ...)
3980 {
3981   char *s;
3982   va_list v;
3983   va_start (v,p);
3984   s = g (p, va_arg (v,int));
3985   va_end (v);
3986   return s;
3987 }
3988
3989 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3990    function prototypes and stuff, but not '\xHH' hex character constants.
3991    These don't provoke an error unfortunately, instead are silently treated
3992    as 'x'.  The following induces an error, until -std is added to get
3993    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3994    array size at least.  It's necessary to write '\x00'==0 to get something
3995    that's true only with -std.  */
3996 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3997
3998 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3999    inside strings and character constants.  */
4000 #define FOO(x) 'x'
4001 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4002
4003 int test (int i, double x);
4004 struct s1 {int (*f) (int a);};
4005 struct s2 {int (*f) (double a);};
4006 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4007 int argc;
4008 char **argv;
4009 int
4010 main ()
4011 {
4012 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4013   ;
4014   return 0;
4015 }
4016 _ACEOF
4017 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4018         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4019 do
4020   CC="$ac_save_CC $ac_arg"
4021   if ac_fn_c_try_compile "$LINENO"; then :
4022   ac_cv_prog_cc_c89=$ac_arg
4023 fi
4024 rm -f core conftest.err conftest.$ac_objext
4025   test "x$ac_cv_prog_cc_c89" != "xno" && break
4026 done
4027 rm -f conftest.$ac_ext
4028 CC=$ac_save_CC
4029
4030 fi
4031 # AC_CACHE_VAL
4032 case "x$ac_cv_prog_cc_c89" in
4033   x)
4034     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4035 $as_echo "none needed" >&6; } ;;
4036   xno)
4037     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4038 $as_echo "unsupported" >&6; } ;;
4039   *)
4040     CC="$CC $ac_cv_prog_cc_c89"
4041     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4042 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4043 esac
4044 if test "x$ac_cv_prog_cc_c89" != xno; then :
4045
4046 fi
4047
4048 ac_ext=c
4049 ac_cpp='$CPP $CPPFLAGS'
4050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4053 DEPDIR="${am__leading_dot}deps"
4054
4055 ac_config_commands="$ac_config_commands depfiles"
4056
4057
4058 am_make=${MAKE-make}
4059 cat > confinc << 'END'
4060 am__doit:
4061         @echo this is the am__doit target
4062 .PHONY: am__doit
4063 END
4064 # If we don't find an include directive, just comment out the code.
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4066 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4067 am__include="#"
4068 am__quote=
4069 _am_result=none
4070 # First try GNU make style include.
4071 echo "include confinc" > confmf
4072 # Ignore all kinds of additional output from `make'.
4073 case `$am_make -s -f confmf 2> /dev/null` in #(
4074 *the\ am__doit\ target*)
4075   am__include=include
4076   am__quote=
4077   _am_result=GNU
4078   ;;
4079 esac
4080 # Now try BSD make style include.
4081 if test "$am__include" = "#"; then
4082    echo '.include "confinc"' > confmf
4083    case `$am_make -s -f confmf 2> /dev/null` in #(
4084    *the\ am__doit\ target*)
4085      am__include=.include
4086      am__quote="\""
4087      _am_result=BSD
4088      ;;
4089    esac
4090 fi
4091
4092
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4094 $as_echo "$_am_result" >&6; }
4095 rm -f confinc confmf
4096
4097 # Check whether --enable-dependency-tracking was given.
4098 if test "${enable_dependency_tracking+set}" = set; then :
4099   enableval=$enable_dependency_tracking;
4100 fi
4101
4102 if test "x$enable_dependency_tracking" != xno; then
4103   am_depcomp="$ac_aux_dir/depcomp"
4104   AMDEPBACKSLASH='\'
4105 fi
4106  if test "x$enable_dependency_tracking" != xno; then
4107   AMDEP_TRUE=
4108   AMDEP_FALSE='#'
4109 else
4110   AMDEP_TRUE='#'
4111   AMDEP_FALSE=
4112 fi
4113
4114
4115
4116 depcc="$CC"   am_compiler_list=
4117
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4119 $as_echo_n "checking dependency style of $depcc... " >&6; }
4120 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4121   $as_echo_n "(cached) " >&6
4122 else
4123   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4124   # We make a subdir and do the tests there.  Otherwise we can end up
4125   # making bogus files that we don't know about and never remove.  For
4126   # instance it was reported that on HP-UX the gcc test will end up
4127   # making a dummy file named `D' -- because `-MD' means `put the output
4128   # in D'.
4129   mkdir conftest.dir
4130   # Copy depcomp to subdir because otherwise we won't find it if we're
4131   # using a relative directory.
4132   cp "$am_depcomp" conftest.dir
4133   cd conftest.dir
4134   # We will build objects and dependencies in a subdirectory because
4135   # it helps to detect inapplicable dependency modes.  For instance
4136   # both Tru64's cc and ICC support -MD to output dependencies as a
4137   # side effect of compilation, but ICC will put the dependencies in
4138   # the current directory while Tru64 will put them in the object
4139   # directory.
4140   mkdir sub
4141
4142   am_cv_CC_dependencies_compiler_type=none
4143   if test "$am_compiler_list" = ""; then
4144      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4145   fi
4146   am__universal=false
4147   case " $depcc " in #(
4148      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4149      esac
4150
4151   for depmode in $am_compiler_list; do
4152     # Setup a source with many dependencies, because some compilers
4153     # like to wrap large dependency lists on column 80 (with \), and
4154     # we should not choose a depcomp mode which is confused by this.
4155     #
4156     # We need to recreate these files for each test, as the compiler may
4157     # overwrite some of them when testing with obscure command lines.
4158     # This happens at least with the AIX C compiler.
4159     : > sub/conftest.c
4160     for i in 1 2 3 4 5 6; do
4161       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4162       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4163       # Solaris 8's {/usr,}/bin/sh.
4164       touch sub/conftst$i.h
4165     done
4166     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4167
4168     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4169     # mode.  It turns out that the SunPro C++ compiler does not properly
4170     # handle `-M -o', and we need to detect this.  Also, some Intel
4171     # versions had trouble with output in subdirs
4172     am__obj=sub/conftest.${OBJEXT-o}
4173     am__minus_obj="-o $am__obj"
4174     case $depmode in
4175     gcc)
4176       # This depmode causes a compiler race in universal mode.
4177       test "$am__universal" = false || continue
4178       ;;
4179     nosideeffect)
4180       # after this tag, mechanisms are not by side-effect, so they'll
4181       # only be used when explicitly requested
4182       if test "x$enable_dependency_tracking" = xyes; then
4183         continue
4184       else
4185         break
4186       fi
4187       ;;
4188     msvisualcpp | msvcmsys)
4189       # This compiler won't grok `-c -o', but also, the minuso test has
4190       # not run yet.  These depmodes are late enough in the game, and
4191       # so weak that their functioning should not be impacted.
4192       am__obj=conftest.${OBJEXT-o}
4193       am__minus_obj=
4194       ;;
4195     none) break ;;
4196     esac
4197     if depmode=$depmode \
4198        source=sub/conftest.c object=$am__obj \
4199        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4200        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4201          >/dev/null 2>conftest.err &&
4202        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4203        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4204        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4205        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4206       # icc doesn't choke on unknown options, it will just issue warnings
4207       # or remarks (even with -Werror).  So we grep stderr for any message
4208       # that says an option was ignored or not supported.
4209       # When given -MP, icc 7.0 and 7.1 complain thusly:
4210       #   icc: Command line warning: ignoring option '-M'; no argument required
4211       # The diagnosis changed in icc 8.0:
4212       #   icc: Command line remark: option '-MP' not supported
4213       if (grep 'ignoring option' conftest.err ||
4214           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4215         am_cv_CC_dependencies_compiler_type=$depmode
4216         break
4217       fi
4218     fi
4219   done
4220
4221   cd ..
4222   rm -rf conftest.dir
4223 else
4224   am_cv_CC_dependencies_compiler_type=none
4225 fi
4226
4227 fi
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4229 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4230 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4231
4232  if
4233   test "x$enable_dependency_tracking" != xno \
4234   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4235   am__fastdepCC_TRUE=
4236   am__fastdepCC_FALSE='#'
4237 else
4238   am__fastdepCC_TRUE='#'
4239   am__fastdepCC_FALSE=
4240 fi
4241
4242
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4244 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4245 set x ${MAKE-make}
4246 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4247 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4248   $as_echo_n "(cached) " >&6
4249 else
4250   cat >conftest.make <<\_ACEOF
4251 SHELL = /bin/sh
4252 all:
4253         @echo '@@@%%%=$(MAKE)=@@@%%%'
4254 _ACEOF
4255 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4256 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4257   *@@@%%%=?*=@@@%%%*)
4258     eval ac_cv_prog_make_${ac_make}_set=yes;;
4259   *)
4260     eval ac_cv_prog_make_${ac_make}_set=no;;
4261 esac
4262 rm -f conftest.make
4263 fi
4264 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4266 $as_echo "yes" >&6; }
4267   SET_MAKE=
4268 else
4269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4270 $as_echo "no" >&6; }
4271   SET_MAKE="MAKE=${MAKE-make}"
4272 fi
4273
4274 # Make sure we can run config.sub.
4275 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4276   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4277
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4279 $as_echo_n "checking build system type... " >&6; }
4280 if ${ac_cv_build+:} false; then :
4281   $as_echo_n "(cached) " >&6
4282 else
4283   ac_build_alias=$build_alias
4284 test "x$ac_build_alias" = x &&
4285   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4286 test "x$ac_build_alias" = x &&
4287   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4288 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4289   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4290
4291 fi
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4293 $as_echo "$ac_cv_build" >&6; }
4294 case $ac_cv_build in
4295 *-*-*) ;;
4296 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4297 esac
4298 build=$ac_cv_build
4299 ac_save_IFS=$IFS; IFS='-'
4300 set x $ac_cv_build
4301 shift
4302 build_cpu=$1
4303 build_vendor=$2
4304 shift; shift
4305 # Remember, the first character of IFS is used to create $*,
4306 # except with old shells:
4307 build_os=$*
4308 IFS=$ac_save_IFS
4309 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4310
4311
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4313 $as_echo_n "checking host system type... " >&6; }
4314 if ${ac_cv_host+:} false; then :
4315   $as_echo_n "(cached) " >&6
4316 else
4317   if test "x$host_alias" = x; then
4318   ac_cv_host=$ac_cv_build
4319 else
4320   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4321     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4322 fi
4323
4324 fi
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4326 $as_echo "$ac_cv_host" >&6; }
4327 case $ac_cv_host in
4328 *-*-*) ;;
4329 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4330 esac
4331 host=$ac_cv_host
4332 ac_save_IFS=$IFS; IFS='-'
4333 set x $ac_cv_host
4334 shift
4335 host_cpu=$1
4336 host_vendor=$2
4337 shift; shift
4338 # Remember, the first character of IFS is used to create $*,
4339 # except with old shells:
4340 host_os=$*
4341 IFS=$ac_save_IFS
4342 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4343
4344
4345 enable_win32_dll=yes
4346
4347 case $host in
4348 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
4349   if test -n "$ac_tool_prefix"; then
4350   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4351 set dummy ${ac_tool_prefix}as; ac_word=$2
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4353 $as_echo_n "checking for $ac_word... " >&6; }
4354 if ${ac_cv_prog_AS+:} false; then :
4355   $as_echo_n "(cached) " >&6
4356 else
4357   if test -n "$AS"; then
4358   ac_cv_prog_AS="$AS" # Let the user override the test.
4359 else
4360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4361 for as_dir in $PATH
4362 do
4363   IFS=$as_save_IFS
4364   test -z "$as_dir" && as_dir=.
4365     for ac_exec_ext in '' $ac_executable_extensions; do
4366   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4367     ac_cv_prog_AS="${ac_tool_prefix}as"
4368     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4369     break 2
4370   fi
4371 done
4372   done
4373 IFS=$as_save_IFS
4374
4375 fi
4376 fi
4377 AS=$ac_cv_prog_AS
4378 if test -n "$AS"; then
4379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4380 $as_echo "$AS" >&6; }
4381 else
4382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4383 $as_echo "no" >&6; }
4384 fi
4385
4386
4387 fi
4388 if test -z "$ac_cv_prog_AS"; then
4389   ac_ct_AS=$AS
4390   # Extract the first word of "as", so it can be a program name with args.
4391 set dummy as; ac_word=$2
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4393 $as_echo_n "checking for $ac_word... " >&6; }
4394 if ${ac_cv_prog_ac_ct_AS+:} false; then :
4395   $as_echo_n "(cached) " >&6
4396 else
4397   if test -n "$ac_ct_AS"; then
4398   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4399 else
4400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4401 for as_dir in $PATH
4402 do
4403   IFS=$as_save_IFS
4404   test -z "$as_dir" && as_dir=.
4405     for ac_exec_ext in '' $ac_executable_extensions; do
4406   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4407     ac_cv_prog_ac_ct_AS="as"
4408     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4409     break 2
4410   fi
4411 done
4412   done
4413 IFS=$as_save_IFS
4414
4415 fi
4416 fi
4417 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4418 if test -n "$ac_ct_AS"; then
4419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4420 $as_echo "$ac_ct_AS" >&6; }
4421 else
4422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4423 $as_echo "no" >&6; }
4424 fi
4425
4426   if test "x$ac_ct_AS" = x; then
4427     AS="false"
4428   else
4429     case $cross_compiling:$ac_tool_warned in
4430 yes:)
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4433 ac_tool_warned=yes ;;
4434 esac
4435     AS=$ac_ct_AS
4436   fi
4437 else
4438   AS="$ac_cv_prog_AS"
4439 fi
4440
4441   if test -n "$ac_tool_prefix"; then
4442   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4443 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4445 $as_echo_n "checking for $ac_word... " >&6; }
4446 if ${ac_cv_prog_DLLTOOL+:} false; then :
4447   $as_echo_n "(cached) " >&6
4448 else
4449   if test -n "$DLLTOOL"; then
4450   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4451 else
4452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4453 for as_dir in $PATH
4454 do
4455   IFS=$as_save_IFS
4456   test -z "$as_dir" && as_dir=.
4457     for ac_exec_ext in '' $ac_executable_extensions; do
4458   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4459     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4460     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4461     break 2
4462   fi
4463 done
4464   done
4465 IFS=$as_save_IFS
4466
4467 fi
4468 fi
4469 DLLTOOL=$ac_cv_prog_DLLTOOL
4470 if test -n "$DLLTOOL"; then
4471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4472 $as_echo "$DLLTOOL" >&6; }
4473 else
4474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4475 $as_echo "no" >&6; }
4476 fi
4477
4478
4479 fi
4480 if test -z "$ac_cv_prog_DLLTOOL"; then
4481   ac_ct_DLLTOOL=$DLLTOOL
4482   # Extract the first word of "dlltool", so it can be a program name with args.
4483 set dummy dlltool; ac_word=$2
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4485 $as_echo_n "checking for $ac_word... " >&6; }
4486 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
4487   $as_echo_n "(cached) " >&6
4488 else
4489   if test -n "$ac_ct_DLLTOOL"; then
4490   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4491 else
4492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4493 for as_dir in $PATH
4494 do
4495   IFS=$as_save_IFS
4496   test -z "$as_dir" && as_dir=.
4497     for ac_exec_ext in '' $ac_executable_extensions; do
4498   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4499     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4500     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4501     break 2
4502   fi
4503 done
4504   done
4505 IFS=$as_save_IFS
4506
4507 fi
4508 fi
4509 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4510 if test -n "$ac_ct_DLLTOOL"; then
4511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4512 $as_echo "$ac_ct_DLLTOOL" >&6; }
4513 else
4514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4515 $as_echo "no" >&6; }
4516 fi
4517
4518   if test "x$ac_ct_DLLTOOL" = x; then
4519     DLLTOOL="false"
4520   else
4521     case $cross_compiling:$ac_tool_warned in
4522 yes:)
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4525 ac_tool_warned=yes ;;
4526 esac
4527     DLLTOOL=$ac_ct_DLLTOOL
4528   fi
4529 else
4530   DLLTOOL="$ac_cv_prog_DLLTOOL"
4531 fi
4532
4533   if test -n "$ac_tool_prefix"; then
4534   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4535 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4537 $as_echo_n "checking for $ac_word... " >&6; }
4538 if ${ac_cv_prog_OBJDUMP+:} false; then :
4539   $as_echo_n "(cached) " >&6
4540 else
4541   if test -n "$OBJDUMP"; then
4542   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4543 else
4544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4545 for as_dir in $PATH
4546 do
4547   IFS=$as_save_IFS
4548   test -z "$as_dir" && as_dir=.
4549     for ac_exec_ext in '' $ac_executable_extensions; do
4550   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4551     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4552     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4553     break 2
4554   fi
4555 done
4556   done
4557 IFS=$as_save_IFS
4558
4559 fi
4560 fi
4561 OBJDUMP=$ac_cv_prog_OBJDUMP
4562 if test -n "$OBJDUMP"; then
4563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4564 $as_echo "$OBJDUMP" >&6; }
4565 else
4566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4567 $as_echo "no" >&6; }
4568 fi
4569
4570
4571 fi
4572 if test -z "$ac_cv_prog_OBJDUMP"; then
4573   ac_ct_OBJDUMP=$OBJDUMP
4574   # Extract the first word of "objdump", so it can be a program name with args.
4575 set dummy objdump; 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_ac_ct_OBJDUMP+:} false; then :
4579   $as_echo_n "(cached) " >&6
4580 else
4581   if test -n "$ac_ct_OBJDUMP"; then
4582   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4583 else
4584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4585 for as_dir in $PATH
4586 do
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_ac_ct_OBJDUMP="objdump"
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
4598
4599 fi
4600 fi
4601 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4602 if test -n "$ac_ct_OBJDUMP"; then
4603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4604 $as_echo "$ac_ct_OBJDUMP" >&6; }
4605 else
4606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4607 $as_echo "no" >&6; }
4608 fi
4609
4610   if test "x$ac_ct_OBJDUMP" = x; then
4611     OBJDUMP="false"
4612   else
4613     case $cross_compiling:$ac_tool_warned in
4614 yes:)
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4616 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4617 ac_tool_warned=yes ;;
4618 esac
4619     OBJDUMP=$ac_ct_OBJDUMP
4620   fi
4621 else
4622   OBJDUMP="$ac_cv_prog_OBJDUMP"
4623 fi
4624
4625   ;;
4626 esac
4627
4628 test -z "$AS" && AS=as
4629
4630
4631
4632
4633
4634 test -z "$DLLTOOL" && DLLTOOL=dlltool
4635
4636
4637
4638
4639
4640 test -z "$OBJDUMP" && OBJDUMP=objdump
4641
4642
4643
4644
4645
4646
4647
4648 case `pwd` in
4649   *\ * | *\     *)
4650     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4651 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4652 esac
4653
4654
4655
4656 macro_version='2.2.6b'
4657 macro_revision='1.3018'
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671 ltmain="$ac_aux_dir/ltmain.sh"
4672
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4674 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4675 if ${ac_cv_path_SED+:} false; then :
4676   $as_echo_n "(cached) " >&6
4677 else
4678             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4679      for ac_i in 1 2 3 4 5 6 7; do
4680        ac_script="$ac_script$as_nl$ac_script"
4681      done
4682      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4683      { ac_script=; unset ac_script;}
4684      if test -z "$SED"; then
4685   ac_path_SED_found=false
4686   # Loop through the user's path and test for each of PROGNAME-LIST
4687   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4688 for as_dir in $PATH
4689 do
4690   IFS=$as_save_IFS
4691   test -z "$as_dir" && as_dir=.
4692     for ac_prog in sed gsed; do
4693     for ac_exec_ext in '' $ac_executable_extensions; do
4694       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4695       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4696 # Check for GNU ac_path_SED and select it if it is found.
4697   # Check for GNU $ac_path_SED
4698 case `"$ac_path_SED" --version 2>&1` in
4699 *GNU*)
4700   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4701 *)
4702   ac_count=0
4703   $as_echo_n 0123456789 >"conftest.in"
4704   while :
4705   do
4706     cat "conftest.in" "conftest.in" >"conftest.tmp"
4707     mv "conftest.tmp" "conftest.in"
4708     cp "conftest.in" "conftest.nl"
4709     $as_echo '' >> "conftest.nl"
4710     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4711     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4712     as_fn_arith $ac_count + 1 && ac_count=$as_val
4713     if test $ac_count -gt ${ac_path_SED_max-0}; then
4714       # Best one so far, save it but keep looking for a better one
4715       ac_cv_path_SED="$ac_path_SED"
4716       ac_path_SED_max=$ac_count
4717     fi
4718     # 10*(2^10) chars as input seems more than enough
4719     test $ac_count -gt 10 && break
4720   done
4721   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4722 esac
4723
4724       $ac_path_SED_found && break 3
4725     done
4726   done
4727   done
4728 IFS=$as_save_IFS
4729   if test -z "$ac_cv_path_SED"; then
4730     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4731   fi
4732 else
4733   ac_cv_path_SED=$SED
4734 fi
4735
4736 fi
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4738 $as_echo "$ac_cv_path_SED" >&6; }
4739  SED="$ac_cv_path_SED"
4740   rm -f conftest.sed
4741
4742 test -z "$SED" && SED=sed
4743 Xsed="$SED -e 1s/^X//"
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4756 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4757 if ${ac_cv_path_GREP+:} false; then :
4758   $as_echo_n "(cached) " >&6
4759 else
4760   if test -z "$GREP"; then
4761   ac_path_GREP_found=false
4762   # Loop through the user's path and test for each of PROGNAME-LIST
4763   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4764 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4765 do
4766   IFS=$as_save_IFS
4767   test -z "$as_dir" && as_dir=.
4768     for ac_prog in grep ggrep; do
4769     for ac_exec_ext in '' $ac_executable_extensions; do
4770       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4771       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4772 # Check for GNU ac_path_GREP and select it if it is found.
4773   # Check for GNU $ac_path_GREP
4774 case `"$ac_path_GREP" --version 2>&1` in
4775 *GNU*)
4776   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4777 *)
4778   ac_count=0
4779   $as_echo_n 0123456789 >"conftest.in"
4780   while :
4781   do
4782     cat "conftest.in" "conftest.in" >"conftest.tmp"
4783     mv "conftest.tmp" "conftest.in"
4784     cp "conftest.in" "conftest.nl"
4785     $as_echo 'GREP' >> "conftest.nl"
4786     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4787     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4788     as_fn_arith $ac_count + 1 && ac_count=$as_val
4789     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4790       # Best one so far, save it but keep looking for a better one
4791       ac_cv_path_GREP="$ac_path_GREP"
4792       ac_path_GREP_max=$ac_count
4793     fi
4794     # 10*(2^10) chars as input seems more than enough
4795     test $ac_count -gt 10 && break
4796   done
4797   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4798 esac
4799
4800       $ac_path_GREP_found && break 3
4801     done
4802   done
4803   done
4804 IFS=$as_save_IFS
4805   if test -z "$ac_cv_path_GREP"; then
4806     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4807   fi
4808 else
4809   ac_cv_path_GREP=$GREP
4810 fi
4811
4812 fi
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4814 $as_echo "$ac_cv_path_GREP" >&6; }
4815  GREP="$ac_cv_path_GREP"
4816
4817
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4819 $as_echo_n "checking for egrep... " >&6; }
4820 if ${ac_cv_path_EGREP+:} false; then :
4821   $as_echo_n "(cached) " >&6
4822 else
4823   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4824    then ac_cv_path_EGREP="$GREP -E"
4825    else
4826      if test -z "$EGREP"; then
4827   ac_path_EGREP_found=false
4828   # Loop through the user's path and test for each of PROGNAME-LIST
4829   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4830 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4831 do
4832   IFS=$as_save_IFS
4833   test -z "$as_dir" && as_dir=.
4834     for ac_prog in egrep; do
4835     for ac_exec_ext in '' $ac_executable_extensions; do
4836       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4837       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4838 # Check for GNU ac_path_EGREP and select it if it is found.
4839   # Check for GNU $ac_path_EGREP
4840 case `"$ac_path_EGREP" --version 2>&1` in
4841 *GNU*)
4842   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4843 *)
4844   ac_count=0
4845   $as_echo_n 0123456789 >"conftest.in"
4846   while :
4847   do
4848     cat "conftest.in" "conftest.in" >"conftest.tmp"
4849     mv "conftest.tmp" "conftest.in"
4850     cp "conftest.in" "conftest.nl"
4851     $as_echo 'EGREP' >> "conftest.nl"
4852     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4853     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4854     as_fn_arith $ac_count + 1 && ac_count=$as_val
4855     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4856       # Best one so far, save it but keep looking for a better one
4857       ac_cv_path_EGREP="$ac_path_EGREP"
4858       ac_path_EGREP_max=$ac_count
4859     fi
4860     # 10*(2^10) chars as input seems more than enough
4861     test $ac_count -gt 10 && break
4862   done
4863   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4864 esac
4865
4866       $ac_path_EGREP_found && break 3
4867     done
4868   done
4869   done
4870 IFS=$as_save_IFS
4871   if test -z "$ac_cv_path_EGREP"; then
4872     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4873   fi
4874 else
4875   ac_cv_path_EGREP=$EGREP
4876 fi
4877
4878    fi
4879 fi
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4881 $as_echo "$ac_cv_path_EGREP" >&6; }
4882  EGREP="$ac_cv_path_EGREP"
4883
4884
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4886 $as_echo_n "checking for fgrep... " >&6; }
4887 if ${ac_cv_path_FGREP+:} false; then :
4888   $as_echo_n "(cached) " >&6
4889 else
4890   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4891    then ac_cv_path_FGREP="$GREP -F"
4892    else
4893      if test -z "$FGREP"; then
4894   ac_path_FGREP_found=false
4895   # Loop through the user's path and test for each of PROGNAME-LIST
4896   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4897 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4898 do
4899   IFS=$as_save_IFS
4900   test -z "$as_dir" && as_dir=.
4901     for ac_prog in fgrep; do
4902     for ac_exec_ext in '' $ac_executable_extensions; do
4903       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4904       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4905 # Check for GNU ac_path_FGREP and select it if it is found.
4906   # Check for GNU $ac_path_FGREP
4907 case `"$ac_path_FGREP" --version 2>&1` in
4908 *GNU*)
4909   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4910 *)
4911   ac_count=0
4912   $as_echo_n 0123456789 >"conftest.in"
4913   while :
4914   do
4915     cat "conftest.in" "conftest.in" >"conftest.tmp"
4916     mv "conftest.tmp" "conftest.in"
4917     cp "conftest.in" "conftest.nl"
4918     $as_echo 'FGREP' >> "conftest.nl"
4919     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4920     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4921     as_fn_arith $ac_count + 1 && ac_count=$as_val
4922     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4923       # Best one so far, save it but keep looking for a better one
4924       ac_cv_path_FGREP="$ac_path_FGREP"
4925       ac_path_FGREP_max=$ac_count
4926     fi
4927     # 10*(2^10) chars as input seems more than enough
4928     test $ac_count -gt 10 && break
4929   done
4930   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4931 esac
4932
4933       $ac_path_FGREP_found && break 3
4934     done
4935   done
4936   done
4937 IFS=$as_save_IFS
4938   if test -z "$ac_cv_path_FGREP"; then
4939     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4940   fi
4941 else
4942   ac_cv_path_FGREP=$FGREP
4943 fi
4944
4945    fi
4946 fi
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4948 $as_echo "$ac_cv_path_FGREP" >&6; }
4949  FGREP="$ac_cv_path_FGREP"
4950
4951
4952 test -z "$GREP" && GREP=grep
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972 # Check whether --with-gnu-ld was given.
4973 if test "${with_gnu_ld+set}" = set; then :
4974   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4975 else
4976   with_gnu_ld=no
4977 fi
4978
4979 ac_prog=ld
4980 if test "$GCC" = yes; then
4981   # Check if gcc -print-prog-name=ld gives a path.
4982   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4983 $as_echo_n "checking for ld used by $CC... " >&6; }
4984   case $host in
4985   *-*-mingw*)
4986     # gcc leaves a trailing carriage return which upsets mingw
4987     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4988   *)
4989     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4990   esac
4991   case $ac_prog in
4992     # Accept absolute paths.
4993     [\\/]* | ?:[\\/]*)
4994       re_direlt='/[^/][^/]*/\.\./'
4995       # Canonicalize the pathname of ld
4996       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4997       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4998         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4999       done
5000       test -z "$LD" && LD="$ac_prog"
5001       ;;
5002   "")
5003     # If it fails, then pretend we aren't using GCC.
5004     ac_prog=ld
5005     ;;
5006   *)
5007     # If it is relative, then search for the first ld in PATH.
5008     with_gnu_ld=unknown
5009     ;;
5010   esac
5011 elif test "$with_gnu_ld" = yes; then
5012   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5013 $as_echo_n "checking for GNU ld... " >&6; }
5014 else
5015   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5016 $as_echo_n "checking for non-GNU ld... " >&6; }
5017 fi
5018 if ${lt_cv_path_LD+:} false; then :
5019   $as_echo_n "(cached) " >&6
5020 else
5021   if test -z "$LD"; then
5022   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5023   for ac_dir in $PATH; do
5024     IFS="$lt_save_ifs"
5025     test -z "$ac_dir" && ac_dir=.
5026     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5027       lt_cv_path_LD="$ac_dir/$ac_prog"
5028       # Check to see if the program is GNU ld.  I'd rather use --version,
5029       # but apparently some variants of GNU ld only accept -v.
5030       # Break only if it was the GNU/non-GNU ld that we prefer.
5031       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5032       *GNU* | *'with BFD'*)
5033         test "$with_gnu_ld" != no && break
5034         ;;
5035       *)
5036         test "$with_gnu_ld" != yes && break
5037         ;;
5038       esac
5039     fi
5040   done
5041   IFS="$lt_save_ifs"
5042 else
5043   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5044 fi
5045 fi
5046
5047 LD="$lt_cv_path_LD"
5048 if test -n "$LD"; then
5049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5050 $as_echo "$LD" >&6; }
5051 else
5052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5053 $as_echo "no" >&6; }
5054 fi
5055 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5057 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5058 if ${lt_cv_prog_gnu_ld+:} false; then :
5059   $as_echo_n "(cached) " >&6
5060 else
5061   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5062 case `$LD -v 2>&1 </dev/null` in
5063 *GNU* | *'with BFD'*)
5064   lt_cv_prog_gnu_ld=yes
5065   ;;
5066 *)
5067   lt_cv_prog_gnu_ld=no
5068   ;;
5069 esac
5070 fi
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5072 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5073 with_gnu_ld=$lt_cv_prog_gnu_ld
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5084 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5085 if ${lt_cv_path_NM+:} false; then :
5086   $as_echo_n "(cached) " >&6
5087 else
5088   if test -n "$NM"; then
5089   # Let the user override the test.
5090   lt_cv_path_NM="$NM"
5091 else
5092   lt_nm_to_check="${ac_tool_prefix}nm"
5093   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5094     lt_nm_to_check="$lt_nm_to_check nm"
5095   fi
5096   for lt_tmp_nm in $lt_nm_to_check; do
5097     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5098     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5099       IFS="$lt_save_ifs"
5100       test -z "$ac_dir" && ac_dir=.
5101       tmp_nm="$ac_dir/$lt_tmp_nm"
5102       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5103         # Check to see if the nm accepts a BSD-compat flag.
5104         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5105         #   nm: unknown option "B" ignored
5106         # Tru64's nm complains that /dev/null is an invalid object file
5107         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5108         */dev/null* | *'Invalid file or object type'*)
5109           lt_cv_path_NM="$tmp_nm -B"
5110           break
5111           ;;
5112         *)
5113           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5114           */dev/null*)
5115             lt_cv_path_NM="$tmp_nm -p"
5116             break
5117             ;;
5118           *)
5119             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5120             continue # so that we can try to find one that supports BSD flags
5121             ;;
5122           esac
5123           ;;
5124         esac
5125       fi
5126     done
5127     IFS="$lt_save_ifs"
5128   done
5129   : ${lt_cv_path_NM=no}
5130 fi
5131 fi
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5133 $as_echo "$lt_cv_path_NM" >&6; }
5134 if test "$lt_cv_path_NM" != "no"; then
5135   NM="$lt_cv_path_NM"
5136 else
5137   # Didn't find any BSD compatible name lister, look for dumpbin.
5138   if test -n "$ac_tool_prefix"; then
5139   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5140   do
5141     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5142 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5144 $as_echo_n "checking for $ac_word... " >&6; }
5145 if ${ac_cv_prog_DUMPBIN+:} false; then :
5146   $as_echo_n "(cached) " >&6
5147 else
5148   if test -n "$DUMPBIN"; then
5149   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5150 else
5151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5152 for as_dir in $PATH
5153 do
5154   IFS=$as_save_IFS
5155   test -z "$as_dir" && as_dir=.
5156     for ac_exec_ext in '' $ac_executable_extensions; do
5157   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5158     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5159     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5160     break 2
5161   fi
5162 done
5163   done
5164 IFS=$as_save_IFS
5165
5166 fi
5167 fi
5168 DUMPBIN=$ac_cv_prog_DUMPBIN
5169 if test -n "$DUMPBIN"; then
5170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5171 $as_echo "$DUMPBIN" >&6; }
5172 else
5173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5174 $as_echo "no" >&6; }
5175 fi
5176
5177
5178     test -n "$DUMPBIN" && break
5179   done
5180 fi
5181 if test -z "$DUMPBIN"; then
5182   ac_ct_DUMPBIN=$DUMPBIN
5183   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5184 do
5185   # Extract the first word of "$ac_prog", so it can be a program name with args.
5186 set dummy $ac_prog; ac_word=$2
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5188 $as_echo_n "checking for $ac_word... " >&6; }
5189 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5190   $as_echo_n "(cached) " >&6
5191 else
5192   if test -n "$ac_ct_DUMPBIN"; then
5193   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5194 else
5195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5196 for as_dir in $PATH
5197 do
5198   IFS=$as_save_IFS
5199   test -z "$as_dir" && as_dir=.
5200     for ac_exec_ext in '' $ac_executable_extensions; do
5201   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5202     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5203     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5204     break 2
5205   fi
5206 done
5207   done
5208 IFS=$as_save_IFS
5209
5210 fi
5211 fi
5212 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5213 if test -n "$ac_ct_DUMPBIN"; then
5214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5215 $as_echo "$ac_ct_DUMPBIN" >&6; }
5216 else
5217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5218 $as_echo "no" >&6; }
5219 fi
5220
5221
5222   test -n "$ac_ct_DUMPBIN" && break
5223 done
5224
5225   if test "x$ac_ct_DUMPBIN" = x; then
5226     DUMPBIN=":"
5227   else
5228     case $cross_compiling:$ac_tool_warned in
5229 yes:)
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5231 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5232 ac_tool_warned=yes ;;
5233 esac
5234     DUMPBIN=$ac_ct_DUMPBIN
5235   fi
5236 fi
5237
5238
5239   if test "$DUMPBIN" != ":"; then
5240     NM="$DUMPBIN"
5241   fi
5242 fi
5243 test -z "$NM" && NM=nm
5244
5245
5246
5247
5248
5249
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5251 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5252 if ${lt_cv_nm_interface+:} false; then :
5253   $as_echo_n "(cached) " >&6
5254 else
5255   lt_cv_nm_interface="BSD nm"
5256   echo "int some_variable = 0;" > conftest.$ac_ext
5257   (eval echo "\"\$as_me:5257: $ac_compile\"" >&5)
5258   (eval "$ac_compile" 2>conftest.err)
5259   cat conftest.err >&5
5260   (eval echo "\"\$as_me:5260: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5261   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5262   cat conftest.err >&5
5263   (eval echo "\"\$as_me:5263: output\"" >&5)
5264   cat conftest.out >&5
5265   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5266     lt_cv_nm_interface="MS dumpbin"
5267   fi
5268   rm -f conftest*
5269 fi
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5271 $as_echo "$lt_cv_nm_interface" >&6; }
5272
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5274 $as_echo_n "checking whether ln -s works... " >&6; }
5275 LN_S=$as_ln_s
5276 if test "$LN_S" = "ln -s"; then
5277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5278 $as_echo "yes" >&6; }
5279 else
5280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5281 $as_echo "no, using $LN_S" >&6; }
5282 fi
5283
5284 # find the maximum length of command line arguments
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5286 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5287 if ${lt_cv_sys_max_cmd_len+:} false; then :
5288   $as_echo_n "(cached) " >&6
5289 else
5290     i=0
5291   teststring="ABCD"
5292
5293   case $build_os in
5294   msdosdjgpp*)
5295     # On DJGPP, this test can blow up pretty badly due to problems in libc
5296     # (any single argument exceeding 2000 bytes causes a buffer overrun
5297     # during glob expansion).  Even if it were fixed, the result of this
5298     # check would be larger than it should be.
5299     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5300     ;;
5301
5302   gnu*)
5303     # Under GNU Hurd, this test is not required because there is
5304     # no limit to the length of command line arguments.
5305     # Libtool will interpret -1 as no limit whatsoever
5306     lt_cv_sys_max_cmd_len=-1;
5307     ;;
5308
5309   cygwin* | mingw* | cegcc*)
5310     # On Win9x/ME, this test blows up -- it succeeds, but takes
5311     # about 5 minutes as the teststring grows exponentially.
5312     # Worse, since 9x/ME are not pre-emptively multitasking,
5313     # you end up with a "frozen" computer, even though with patience
5314     # the test eventually succeeds (with a max line length of 256k).
5315     # Instead, let's just punt: use the minimum linelength reported by
5316     # all of the supported platforms: 8192 (on NT/2K/XP).
5317     lt_cv_sys_max_cmd_len=8192;
5318     ;;
5319
5320   amigaos*)
5321     # On AmigaOS with pdksh, this test takes hours, literally.
5322     # So we just punt and use a minimum line length of 8192.
5323     lt_cv_sys_max_cmd_len=8192;
5324     ;;
5325
5326   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5327     # This has been around since 386BSD, at least.  Likely further.
5328     if test -x /sbin/sysctl; then
5329       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5330     elif test -x /usr/sbin/sysctl; then
5331       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5332     else
5333       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5334     fi
5335     # And add a safety zone
5336     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5337     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5338     ;;
5339
5340   interix*)
5341     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5342     lt_cv_sys_max_cmd_len=196608
5343     ;;
5344
5345   osf*)
5346     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5347     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5348     # nice to cause kernel panics so lets avoid the loop below.
5349     # First set a reasonable default.
5350     lt_cv_sys_max_cmd_len=16384
5351     #
5352     if test -x /sbin/sysconfig; then
5353       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5354         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5355       esac
5356     fi
5357     ;;
5358   sco3.2v5*)
5359     lt_cv_sys_max_cmd_len=102400
5360     ;;
5361   sysv5* | sco5v6* | sysv4.2uw2*)
5362     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5363     if test -n "$kargmax"; then
5364       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5365     else
5366       lt_cv_sys_max_cmd_len=32768
5367     fi
5368     ;;
5369   *)
5370     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5371     if test -n "$lt_cv_sys_max_cmd_len"; then
5372       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5373       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5374     else
5375       # Make teststring a little bigger before we do anything with it.
5376       # a 1K string should be a reasonable start.
5377       for i in 1 2 3 4 5 6 7 8 ; do
5378         teststring=$teststring$teststring
5379       done
5380       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5381       # If test is not a shell built-in, we'll probably end up computing a
5382       # maximum length that is only half of the actual maximum length, but
5383       # we can't tell.
5384       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5385                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5386               test $i != 17 # 1/2 MB should be enough
5387       do
5388         i=`expr $i + 1`
5389         teststring=$teststring$teststring
5390       done
5391       # Only check the string length outside the loop.
5392       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5393       teststring=
5394       # Add a significant safety factor because C++ compilers can tack on
5395       # massive amounts of additional arguments before passing them to the
5396       # linker.  It appears as though 1/2 is a usable value.
5397       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5398     fi
5399     ;;
5400   esac
5401
5402 fi
5403
5404 if test -n $lt_cv_sys_max_cmd_len ; then
5405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5406 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5407 else
5408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5409 $as_echo "none" >&6; }
5410 fi
5411 max_cmd_len=$lt_cv_sys_max_cmd_len
5412
5413
5414
5415
5416
5417
5418 : ${CP="cp -f"}
5419 : ${MV="mv -f"}
5420 : ${RM="rm -f"}
5421
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5423 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5424 # Try some XSI features
5425 xsi_shell=no
5426 ( _lt_dummy="a/b/c"
5427   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5428       = c,a/b,, \
5429     && eval 'test $(( 1 + 1 )) -eq 2 \
5430     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5431   && xsi_shell=yes
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5433 $as_echo "$xsi_shell" >&6; }
5434
5435
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5437 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5438 lt_shell_append=no
5439 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5440     >/dev/null 2>&1 \
5441   && lt_shell_append=yes
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5443 $as_echo "$lt_shell_append" >&6; }
5444
5445
5446 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5447   lt_unset=unset
5448 else
5449   lt_unset=false
5450 fi
5451
5452
5453
5454
5455
5456 # test EBCDIC or ASCII
5457 case `echo X|tr X '\101'` in
5458  A) # ASCII based system
5459     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5460   lt_SP2NL='tr \040 \012'
5461   lt_NL2SP='tr \015\012 \040\040'
5462   ;;
5463  *) # EBCDIC based system
5464   lt_SP2NL='tr \100 \n'
5465   lt_NL2SP='tr \r\n \100\100'
5466   ;;
5467 esac
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5478 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5479 if ${lt_cv_ld_reload_flag+:} false; then :
5480   $as_echo_n "(cached) " >&6
5481 else
5482   lt_cv_ld_reload_flag='-r'
5483 fi
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5485 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5486 reload_flag=$lt_cv_ld_reload_flag
5487 case $reload_flag in
5488 "" | " "*) ;;
5489 *) reload_flag=" $reload_flag" ;;
5490 esac
5491 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5492 case $host_os in
5493   darwin*)
5494     if test "$GCC" = yes; then
5495       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5496     else
5497       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5498     fi
5499     ;;
5500 esac
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510 if test -n "$ac_tool_prefix"; then
5511   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5512 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5514 $as_echo_n "checking for $ac_word... " >&6; }
5515 if ${ac_cv_prog_OBJDUMP+:} false; then :
5516   $as_echo_n "(cached) " >&6
5517 else
5518   if test -n "$OBJDUMP"; then
5519   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5520 else
5521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5522 for as_dir in $PATH
5523 do
5524   IFS=$as_save_IFS
5525   test -z "$as_dir" && as_dir=.
5526     for ac_exec_ext in '' $ac_executable_extensions; do
5527   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5528     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5529     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5530     break 2
5531   fi
5532 done
5533   done
5534 IFS=$as_save_IFS
5535
5536 fi
5537 fi
5538 OBJDUMP=$ac_cv_prog_OBJDUMP
5539 if test -n "$OBJDUMP"; then
5540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5541 $as_echo "$OBJDUMP" >&6; }
5542 else
5543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5544 $as_echo "no" >&6; }
5545 fi
5546
5547
5548 fi
5549 if test -z "$ac_cv_prog_OBJDUMP"; then
5550   ac_ct_OBJDUMP=$OBJDUMP
5551   # Extract the first word of "objdump", so it can be a program name with args.
5552 set dummy objdump; ac_word=$2
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5554 $as_echo_n "checking for $ac_word... " >&6; }
5555 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5556   $as_echo_n "(cached) " >&6
5557 else
5558   if test -n "$ac_ct_OBJDUMP"; then
5559   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5560 else
5561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5562 for as_dir in $PATH
5563 do
5564   IFS=$as_save_IFS
5565   test -z "$as_dir" && as_dir=.
5566     for ac_exec_ext in '' $ac_executable_extensions; do
5567   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5568     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5569     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5570     break 2
5571   fi
5572 done
5573   done
5574 IFS=$as_save_IFS
5575
5576 fi
5577 fi
5578 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5579 if test -n "$ac_ct_OBJDUMP"; then
5580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5581 $as_echo "$ac_ct_OBJDUMP" >&6; }
5582 else
5583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5584 $as_echo "no" >&6; }
5585 fi
5586
5587   if test "x$ac_ct_OBJDUMP" = x; then
5588     OBJDUMP="false"
5589   else
5590     case $cross_compiling:$ac_tool_warned in
5591 yes:)
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5593 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5594 ac_tool_warned=yes ;;
5595 esac
5596     OBJDUMP=$ac_ct_OBJDUMP
5597   fi
5598 else
5599   OBJDUMP="$ac_cv_prog_OBJDUMP"
5600 fi
5601
5602 test -z "$OBJDUMP" && OBJDUMP=objdump
5603
5604
5605
5606
5607
5608
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5610 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5611 if ${lt_cv_deplibs_check_method+:} false; then :
5612   $as_echo_n "(cached) " >&6
5613 else
5614   lt_cv_file_magic_cmd='$MAGIC_CMD'
5615 lt_cv_file_magic_test_file=
5616 lt_cv_deplibs_check_method='unknown'
5617 # Need to set the preceding variable on all platforms that support
5618 # interlibrary dependencies.
5619 # 'none' -- dependencies not supported.
5620 # `unknown' -- same as none, but documents that we really don't know.
5621 # 'pass_all' -- all dependencies passed with no checks.
5622 # 'test_compile' -- check by making test program.
5623 # 'file_magic [[regex]]' -- check by looking for files in library path
5624 # which responds to the $file_magic_cmd with a given extended regex.
5625 # If you have `file' or equivalent on your system and you're not sure
5626 # whether `pass_all' will *always* work, you probably want this one.
5627
5628 case $host_os in
5629 aix[4-9]*)
5630   lt_cv_deplibs_check_method=pass_all
5631   ;;
5632
5633 beos*)
5634   lt_cv_deplibs_check_method=pass_all
5635   ;;
5636
5637 bsdi[45]*)
5638   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5639   lt_cv_file_magic_cmd='/usr/bin/file -L'
5640   lt_cv_file_magic_test_file=/shlib/libc.so
5641   ;;
5642
5643 cygwin*)
5644   # func_win32_libid is a shell function defined in ltmain.sh
5645   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5646   lt_cv_file_magic_cmd='func_win32_libid'
5647   ;;
5648
5649 mingw* | pw32*)
5650   # Base MSYS/MinGW do not provide the 'file' command needed by
5651   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5652   # unless we find 'file', for example because we are cross-compiling.
5653   if ( file / ) >/dev/null 2>&1; then
5654     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5655     lt_cv_file_magic_cmd='func_win32_libid'
5656   else
5657     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5658     lt_cv_file_magic_cmd='$OBJDUMP -f'
5659   fi
5660   ;;
5661
5662 cegcc)
5663   # use the weaker test based on 'objdump'. See mingw*.
5664   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5665   lt_cv_file_magic_cmd='$OBJDUMP -f'
5666   ;;
5667
5668 darwin* | rhapsody*)
5669   lt_cv_deplibs_check_method=pass_all
5670   ;;
5671
5672 freebsd* | dragonfly*)
5673   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5674     case $host_cpu in
5675     i*86 )
5676       # Not sure whether the presence of OpenBSD here was a mistake.
5677       # Let's accept both of them until this is cleared up.
5678       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5679       lt_cv_file_magic_cmd=/usr/bin/file
5680       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5681       ;;
5682     esac
5683   else
5684     lt_cv_deplibs_check_method=pass_all
5685   fi
5686   ;;
5687
5688 gnu*)
5689   lt_cv_deplibs_check_method=pass_all
5690   ;;
5691
5692 hpux10.20* | hpux11*)
5693   lt_cv_file_magic_cmd=/usr/bin/file
5694   case $host_cpu in
5695   ia64*)
5696     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5697     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5698     ;;
5699   hppa*64*)
5700     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5701     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5702     ;;
5703   *)
5704     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5705     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5706     ;;
5707   esac
5708   ;;
5709
5710 interix[3-9]*)
5711   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5712   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5713   ;;
5714
5715 irix5* | irix6* | nonstopux*)
5716   case $LD in
5717   *-32|*"-32 ") libmagic=32-bit;;
5718   *-n32|*"-n32 ") libmagic=N32;;
5719   *-64|*"-64 ") libmagic=64-bit;;
5720   *) libmagic=never-match;;
5721   esac
5722   lt_cv_deplibs_check_method=pass_all
5723   ;;
5724
5725 # This must be Linux ELF.
5726 linux* | k*bsd*-gnu)
5727   lt_cv_deplibs_check_method=pass_all
5728   ;;
5729
5730 netbsd*)
5731   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5732     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5733   else
5734     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5735   fi
5736   ;;
5737
5738 newos6*)
5739   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5740   lt_cv_file_magic_cmd=/usr/bin/file
5741   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5742   ;;
5743
5744 *nto* | *qnx*)
5745   lt_cv_deplibs_check_method=pass_all
5746   ;;
5747
5748 openbsd*)
5749   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5750     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5751   else
5752     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5753   fi
5754   ;;
5755
5756 osf3* | osf4* | osf5*)
5757   lt_cv_deplibs_check_method=pass_all
5758   ;;
5759
5760 rdos*)
5761   lt_cv_deplibs_check_method=pass_all
5762   ;;
5763
5764 solaris*)
5765   lt_cv_deplibs_check_method=pass_all
5766   ;;
5767
5768 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5769   lt_cv_deplibs_check_method=pass_all
5770   ;;
5771
5772 sysv4 | sysv4.3*)
5773   case $host_vendor in
5774   motorola)
5775     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]'
5776     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5777     ;;
5778   ncr)
5779     lt_cv_deplibs_check_method=pass_all
5780     ;;
5781   sequent)
5782     lt_cv_file_magic_cmd='/bin/file'
5783     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5784     ;;
5785   sni)
5786     lt_cv_file_magic_cmd='/bin/file'
5787     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5788     lt_cv_file_magic_test_file=/lib/libc.so
5789     ;;
5790   siemens)
5791     lt_cv_deplibs_check_method=pass_all
5792     ;;
5793   pc)
5794     lt_cv_deplibs_check_method=pass_all
5795     ;;
5796   esac
5797   ;;
5798
5799 tpf*)
5800   lt_cv_deplibs_check_method=pass_all
5801   ;;
5802 esac
5803
5804 fi
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5806 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5807 file_magic_cmd=$lt_cv_file_magic_cmd
5808 deplibs_check_method=$lt_cv_deplibs_check_method
5809 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822 if test -n "$ac_tool_prefix"; then
5823   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5824 set dummy ${ac_tool_prefix}ar; ac_word=$2
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5826 $as_echo_n "checking for $ac_word... " >&6; }
5827 if ${ac_cv_prog_AR+:} false; then :
5828   $as_echo_n "(cached) " >&6
5829 else
5830   if test -n "$AR"; then
5831   ac_cv_prog_AR="$AR" # Let the user override the test.
5832 else
5833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5834 for as_dir in $PATH
5835 do
5836   IFS=$as_save_IFS
5837   test -z "$as_dir" && as_dir=.
5838     for ac_exec_ext in '' $ac_executable_extensions; do
5839   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5840     ac_cv_prog_AR="${ac_tool_prefix}ar"
5841     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5842     break 2
5843   fi
5844 done
5845   done
5846 IFS=$as_save_IFS
5847
5848 fi
5849 fi
5850 AR=$ac_cv_prog_AR
5851 if test -n "$AR"; then
5852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5853 $as_echo "$AR" >&6; }
5854 else
5855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5856 $as_echo "no" >&6; }
5857 fi
5858
5859
5860 fi
5861 if test -z "$ac_cv_prog_AR"; then
5862   ac_ct_AR=$AR
5863   # Extract the first word of "ar", so it can be a program name with args.
5864 set dummy ar; ac_word=$2
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5866 $as_echo_n "checking for $ac_word... " >&6; }
5867 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5868   $as_echo_n "(cached) " >&6
5869 else
5870   if test -n "$ac_ct_AR"; then
5871   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5872 else
5873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5874 for as_dir in $PATH
5875 do
5876   IFS=$as_save_IFS
5877   test -z "$as_dir" && as_dir=.
5878     for ac_exec_ext in '' $ac_executable_extensions; do
5879   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5880     ac_cv_prog_ac_ct_AR="ar"
5881     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5882     break 2
5883   fi
5884 done
5885   done
5886 IFS=$as_save_IFS
5887
5888 fi
5889 fi
5890 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5891 if test -n "$ac_ct_AR"; then
5892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5893 $as_echo "$ac_ct_AR" >&6; }
5894 else
5895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5896 $as_echo "no" >&6; }
5897 fi
5898
5899   if test "x$ac_ct_AR" = x; then
5900     AR="false"
5901   else
5902     case $cross_compiling:$ac_tool_warned in
5903 yes:)
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5905 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5906 ac_tool_warned=yes ;;
5907 esac
5908     AR=$ac_ct_AR
5909   fi
5910 else
5911   AR="$ac_cv_prog_AR"
5912 fi
5913
5914 test -z "$AR" && AR=ar
5915 test -z "$AR_FLAGS" && AR_FLAGS=cru
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927 if test -n "$ac_tool_prefix"; then
5928   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5929 set dummy ${ac_tool_prefix}strip; ac_word=$2
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5931 $as_echo_n "checking for $ac_word... " >&6; }
5932 if ${ac_cv_prog_STRIP+:} false; then :
5933   $as_echo_n "(cached) " >&6
5934 else
5935   if test -n "$STRIP"; then
5936   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5937 else
5938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5939 for as_dir in $PATH
5940 do
5941   IFS=$as_save_IFS
5942   test -z "$as_dir" && as_dir=.
5943     for ac_exec_ext in '' $ac_executable_extensions; do
5944   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5945     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5946     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5947     break 2
5948   fi
5949 done
5950   done
5951 IFS=$as_save_IFS
5952
5953 fi
5954 fi
5955 STRIP=$ac_cv_prog_STRIP
5956 if test -n "$STRIP"; then
5957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5958 $as_echo "$STRIP" >&6; }
5959 else
5960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5961 $as_echo "no" >&6; }
5962 fi
5963
5964
5965 fi
5966 if test -z "$ac_cv_prog_STRIP"; then
5967   ac_ct_STRIP=$STRIP
5968   # Extract the first word of "strip", so it can be a program name with args.
5969 set dummy strip; ac_word=$2
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5971 $as_echo_n "checking for $ac_word... " >&6; }
5972 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5973   $as_echo_n "(cached) " >&6
5974 else
5975   if test -n "$ac_ct_STRIP"; then
5976   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5977 else
5978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5979 for as_dir in $PATH
5980 do
5981   IFS=$as_save_IFS
5982   test -z "$as_dir" && as_dir=.
5983     for ac_exec_ext in '' $ac_executable_extensions; do
5984   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5985     ac_cv_prog_ac_ct_STRIP="strip"
5986     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5987     break 2
5988   fi
5989 done
5990   done
5991 IFS=$as_save_IFS
5992
5993 fi
5994 fi
5995 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5996 if test -n "$ac_ct_STRIP"; then
5997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5998 $as_echo "$ac_ct_STRIP" >&6; }
5999 else
6000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6001 $as_echo "no" >&6; }
6002 fi
6003
6004   if test "x$ac_ct_STRIP" = x; then
6005     STRIP=":"
6006   else
6007     case $cross_compiling:$ac_tool_warned in
6008 yes:)
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6010 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6011 ac_tool_warned=yes ;;
6012 esac
6013     STRIP=$ac_ct_STRIP
6014   fi
6015 else
6016   STRIP="$ac_cv_prog_STRIP"
6017 fi
6018
6019 test -z "$STRIP" && STRIP=:
6020
6021
6022
6023
6024
6025
6026 if test -n "$ac_tool_prefix"; then
6027   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6028 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6030 $as_echo_n "checking for $ac_word... " >&6; }
6031 if ${ac_cv_prog_RANLIB+:} false; then :
6032   $as_echo_n "(cached) " >&6
6033 else
6034   if test -n "$RANLIB"; then
6035   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6036 else
6037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6038 for as_dir in $PATH
6039 do
6040   IFS=$as_save_IFS
6041   test -z "$as_dir" && as_dir=.
6042     for ac_exec_ext in '' $ac_executable_extensions; do
6043   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6044     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6045     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6046     break 2
6047   fi
6048 done
6049   done
6050 IFS=$as_save_IFS
6051
6052 fi
6053 fi
6054 RANLIB=$ac_cv_prog_RANLIB
6055 if test -n "$RANLIB"; then
6056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6057 $as_echo "$RANLIB" >&6; }
6058 else
6059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6060 $as_echo "no" >&6; }
6061 fi
6062
6063
6064 fi
6065 if test -z "$ac_cv_prog_RANLIB"; then
6066   ac_ct_RANLIB=$RANLIB
6067   # Extract the first word of "ranlib", so it can be a program name with args.
6068 set dummy ranlib; ac_word=$2
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6070 $as_echo_n "checking for $ac_word... " >&6; }
6071 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6072   $as_echo_n "(cached) " >&6
6073 else
6074   if test -n "$ac_ct_RANLIB"; then
6075   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6076 else
6077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6078 for as_dir in $PATH
6079 do
6080   IFS=$as_save_IFS
6081   test -z "$as_dir" && as_dir=.
6082     for ac_exec_ext in '' $ac_executable_extensions; do
6083   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6084     ac_cv_prog_ac_ct_RANLIB="ranlib"
6085     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6086     break 2
6087   fi
6088 done
6089   done
6090 IFS=$as_save_IFS
6091
6092 fi
6093 fi
6094 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6095 if test -n "$ac_ct_RANLIB"; then
6096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6097 $as_echo "$ac_ct_RANLIB" >&6; }
6098 else
6099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6100 $as_echo "no" >&6; }
6101 fi
6102
6103   if test "x$ac_ct_RANLIB" = x; then
6104     RANLIB=":"
6105   else
6106     case $cross_compiling:$ac_tool_warned in
6107 yes:)
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6109 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6110 ac_tool_warned=yes ;;
6111 esac
6112     RANLIB=$ac_ct_RANLIB
6113   fi
6114 else
6115   RANLIB="$ac_cv_prog_RANLIB"
6116 fi
6117
6118 test -z "$RANLIB" && RANLIB=:
6119
6120
6121
6122
6123
6124
6125 # Determine commands to create old-style static archives.
6126 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6127 old_postinstall_cmds='chmod 644 $oldlib'
6128 old_postuninstall_cmds=
6129
6130 if test -n "$RANLIB"; then
6131   case $host_os in
6132   openbsd*)
6133     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6134     ;;
6135   *)
6136     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6137     ;;
6138   esac
6139   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6140 fi
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175 # If no C compiler was specified, use CC.
6176 LTCC=${LTCC-"$CC"}
6177
6178 # If no C compiler flags were specified, use CFLAGS.
6179 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6180
6181 # Allow CC to be a program name with arguments.
6182 compiler=$CC
6183
6184
6185 # Check for command to grab the raw symbol name followed by C symbol from nm.
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6187 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6188 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6189   $as_echo_n "(cached) " >&6
6190 else
6191
6192 # These are sane defaults that work on at least a few old systems.
6193 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6194
6195 # Character class describing NM global symbol codes.
6196 symcode='[BCDEGRST]'
6197
6198 # Regexp to match symbols that can be accessed directly from C.
6199 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6200
6201 # Define system-specific variables.
6202 case $host_os in
6203 aix*)
6204   symcode='[BCDT]'
6205   ;;
6206 cygwin* | mingw* | pw32* | cegcc*)
6207   symcode='[ABCDGISTW]'
6208   ;;
6209 hpux*)
6210   if test "$host_cpu" = ia64; then
6211     symcode='[ABCDEGRST]'
6212   fi
6213   ;;
6214 irix* | nonstopux*)
6215   symcode='[BCDEGRST]'
6216   ;;
6217 osf*)
6218   symcode='[BCDEGQRST]'
6219   ;;
6220 solaris*)
6221   symcode='[BDRT]'
6222   ;;
6223 sco3.2v5*)
6224   symcode='[DT]'
6225   ;;
6226 sysv4.2uw2*)
6227   symcode='[DT]'
6228   ;;
6229 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6230   symcode='[ABDT]'
6231   ;;
6232 sysv4)
6233   symcode='[DFNSTU]'
6234   ;;
6235 esac
6236
6237 # If we're using GNU nm, then use its standard symbol codes.
6238 case `$NM -V 2>&1` in
6239 *GNU* | *'with BFD'*)
6240   symcode='[ABCDGIRSTW]' ;;
6241 esac
6242
6243 # Transform an extracted symbol line into a proper C declaration.
6244 # Some systems (esp. on ia64) link data and code symbols differently,
6245 # so use this general approach.
6246 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6247
6248 # Transform an extracted symbol line into symbol name and symbol address
6249 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6250 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'"
6251
6252 # Handle CRLF in mingw tool chain
6253 opt_cr=
6254 case $build_os in
6255 mingw*)
6256   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6257   ;;
6258 esac
6259
6260 # Try without a prefix underscore, then with it.
6261 for ac_symprfx in "" "_"; do
6262
6263   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6264   symxfrm="\\1 $ac_symprfx\\2 \\2"
6265
6266   # Write the raw and C identifiers.
6267   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6268     # Fake it for dumpbin and say T for any non-static function
6269     # and D for any global variable.
6270     # Also find C++ and __fastcall symbols from MSVC++,
6271     # which start with @ or ?.
6272     lt_cv_sys_global_symbol_pipe="$AWK '"\
6273 "     {last_section=section; section=\$ 3};"\
6274 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6275 "     \$ 0!~/External *\|/{next};"\
6276 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6277 "     {if(hide[section]) next};"\
6278 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6279 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6280 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6281 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6282 "     ' prfx=^$ac_symprfx"
6283   else
6284     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6285   fi
6286
6287   # Check to see that the pipe works correctly.
6288   pipe_works=no
6289
6290   rm -f conftest*
6291   cat > conftest.$ac_ext <<_LT_EOF
6292 #ifdef __cplusplus
6293 extern "C" {
6294 #endif
6295 char nm_test_var;
6296 void nm_test_func(void);
6297 void nm_test_func(void){}
6298 #ifdef __cplusplus
6299 }
6300 #endif
6301 int main(){nm_test_var='a';nm_test_func();return(0);}
6302 _LT_EOF
6303
6304   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6305   (eval $ac_compile) 2>&5
6306   ac_status=$?
6307   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6308   test $ac_status = 0; }; then
6309     # Now try to grab the symbols.
6310     nlist=conftest.nm
6311     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6312   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6313   ac_status=$?
6314   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6315   test $ac_status = 0; } && test -s "$nlist"; then
6316       # Try sorting and uniquifying the output.
6317       if sort "$nlist" | uniq > "$nlist"T; then
6318         mv -f "$nlist"T "$nlist"
6319       else
6320         rm -f "$nlist"T
6321       fi
6322
6323       # Make sure that we snagged all the symbols we need.
6324       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6325         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6326           cat <<_LT_EOF > conftest.$ac_ext
6327 #ifdef __cplusplus
6328 extern "C" {
6329 #endif
6330
6331 _LT_EOF
6332           # Now generate the symbol file.
6333           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6334
6335           cat <<_LT_EOF >> conftest.$ac_ext
6336
6337 /* The mapping between symbol names and symbols.  */
6338 const struct {
6339   const char *name;
6340   void       *address;
6341 }
6342 lt__PROGRAM__LTX_preloaded_symbols[] =
6343 {
6344   { "@PROGRAM@", (void *) 0 },
6345 _LT_EOF
6346           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6347           cat <<\_LT_EOF >> conftest.$ac_ext
6348   {0, (void *) 0}
6349 };
6350
6351 /* This works around a problem in FreeBSD linker */
6352 #ifdef FREEBSD_WORKAROUND
6353 static const void *lt_preloaded_setup() {
6354   return lt__PROGRAM__LTX_preloaded_symbols;
6355 }
6356 #endif
6357
6358 #ifdef __cplusplus
6359 }
6360 #endif
6361 _LT_EOF
6362           # Now try linking the two files.
6363           mv conftest.$ac_objext conftstm.$ac_objext
6364           lt_save_LIBS="$LIBS"
6365           lt_save_CFLAGS="$CFLAGS"
6366           LIBS="conftstm.$ac_objext"
6367           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6368           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6369   (eval $ac_link) 2>&5
6370   ac_status=$?
6371   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6372   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6373             pipe_works=yes
6374           fi
6375           LIBS="$lt_save_LIBS"
6376           CFLAGS="$lt_save_CFLAGS"
6377         else
6378           echo "cannot find nm_test_func in $nlist" >&5
6379         fi
6380       else
6381         echo "cannot find nm_test_var in $nlist" >&5
6382       fi
6383     else
6384       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6385     fi
6386   else
6387     echo "$progname: failed program was:" >&5
6388     cat conftest.$ac_ext >&5
6389   fi
6390   rm -rf conftest* conftst*
6391
6392   # Do not use the global_symbol_pipe unless it works.
6393   if test "$pipe_works" = yes; then
6394     break
6395   else
6396     lt_cv_sys_global_symbol_pipe=
6397   fi
6398 done
6399
6400 fi
6401
6402 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6403   lt_cv_sys_global_symbol_to_cdecl=
6404 fi
6405 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6407 $as_echo "failed" >&6; }
6408 else
6409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6410 $as_echo "ok" >&6; }
6411 fi
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435 # Check whether --enable-libtool-lock was given.
6436 if test "${enable_libtool_lock+set}" = set; then :
6437   enableval=$enable_libtool_lock;
6438 fi
6439
6440 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6441
6442 # Some flags need to be propagated to the compiler or linker for good
6443 # libtool support.
6444 case $host in
6445 ia64-*-hpux*)
6446   # Find out which ABI we are using.
6447   echo 'int i;' > conftest.$ac_ext
6448   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6449   (eval $ac_compile) 2>&5
6450   ac_status=$?
6451   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6452   test $ac_status = 0; }; then
6453     case `/usr/bin/file conftest.$ac_objext` in
6454       *ELF-32*)
6455         HPUX_IA64_MODE="32"
6456         ;;
6457       *ELF-64*)
6458         HPUX_IA64_MODE="64"
6459         ;;
6460     esac
6461   fi
6462   rm -rf conftest*
6463   ;;
6464 *-*-irix6*)
6465   # Find out which ABI we are using.
6466   echo '#line 6466 "configure"' > conftest.$ac_ext
6467   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6468   (eval $ac_compile) 2>&5
6469   ac_status=$?
6470   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6471   test $ac_status = 0; }; then
6472     if test "$lt_cv_prog_gnu_ld" = yes; then
6473       case `/usr/bin/file conftest.$ac_objext` in
6474         *32-bit*)
6475           LD="${LD-ld} -melf32bsmip"
6476           ;;
6477         *N32*)
6478           LD="${LD-ld} -melf32bmipn32"
6479           ;;
6480         *64-bit*)
6481           LD="${LD-ld} -melf64bmip"
6482         ;;
6483       esac
6484     else
6485       case `/usr/bin/file conftest.$ac_objext` in
6486         *32-bit*)
6487           LD="${LD-ld} -32"
6488           ;;
6489         *N32*)
6490           LD="${LD-ld} -n32"
6491           ;;
6492         *64-bit*)
6493           LD="${LD-ld} -64"
6494           ;;
6495       esac
6496     fi
6497   fi
6498   rm -rf conftest*
6499   ;;
6500
6501 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6502 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6503   # Find out which ABI we are using.
6504   echo 'int i;' > conftest.$ac_ext
6505   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6506   (eval $ac_compile) 2>&5
6507   ac_status=$?
6508   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6509   test $ac_status = 0; }; then
6510     case `/usr/bin/file conftest.o` in
6511       *32-bit*)
6512         case $host in
6513           x86_64-*kfreebsd*-gnu)
6514             LD="${LD-ld} -m elf_i386_fbsd"
6515             ;;
6516           x86_64-*linux*)
6517             LD="${LD-ld} -m elf_i386"
6518             ;;
6519           ppc64-*linux*|powerpc64-*linux*)
6520             LD="${LD-ld} -m elf32ppclinux"
6521             ;;
6522           s390x-*linux*)
6523             LD="${LD-ld} -m elf_s390"
6524             ;;
6525           sparc64-*linux*)
6526             LD="${LD-ld} -m elf32_sparc"
6527             ;;
6528         esac
6529         ;;
6530       *64-bit*)
6531         case $host in
6532           x86_64-*kfreebsd*-gnu)
6533             LD="${LD-ld} -m elf_x86_64_fbsd"
6534             ;;
6535           x86_64-*linux*)
6536             LD="${LD-ld} -m elf_x86_64"
6537             ;;
6538           ppc*-*linux*|powerpc*-*linux*)
6539             LD="${LD-ld} -m elf64ppc"
6540             ;;
6541           s390*-*linux*|s390*-*tpf*)
6542             LD="${LD-ld} -m elf64_s390"
6543             ;;
6544           sparc*-*linux*)
6545             LD="${LD-ld} -m elf64_sparc"
6546             ;;
6547         esac
6548         ;;
6549     esac
6550   fi
6551   rm -rf conftest*
6552   ;;
6553
6554 *-*-sco3.2v5*)
6555   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6556   SAVE_CFLAGS="$CFLAGS"
6557   CFLAGS="$CFLAGS -belf"
6558   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6559 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6560 if ${lt_cv_cc_needs_belf+:} false; then :
6561   $as_echo_n "(cached) " >&6
6562 else
6563   ac_ext=c
6564 ac_cpp='$CPP $CPPFLAGS'
6565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6568
6569      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6570 /* end confdefs.h.  */
6571
6572 int
6573 main ()
6574 {
6575
6576   ;
6577   return 0;
6578 }
6579 _ACEOF
6580 if ac_fn_c_try_link "$LINENO"; then :
6581   lt_cv_cc_needs_belf=yes
6582 else
6583   lt_cv_cc_needs_belf=no
6584 fi
6585 rm -f core conftest.err conftest.$ac_objext \
6586     conftest$ac_exeext conftest.$ac_ext
6587      ac_ext=c
6588 ac_cpp='$CPP $CPPFLAGS'
6589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6592
6593 fi
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6595 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6596   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6597     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6598     CFLAGS="$SAVE_CFLAGS"
6599   fi
6600   ;;
6601 sparc*-*solaris*)
6602   # Find out which ABI we are using.
6603   echo 'int i;' > conftest.$ac_ext
6604   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6605   (eval $ac_compile) 2>&5
6606   ac_status=$?
6607   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6608   test $ac_status = 0; }; then
6609     case `/usr/bin/file conftest.o` in
6610     *64-bit*)
6611       case $lt_cv_prog_gnu_ld in
6612       yes*) LD="${LD-ld} -m elf64_sparc" ;;
6613       *)
6614         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6615           LD="${LD-ld} -64"
6616         fi
6617         ;;
6618       esac
6619       ;;
6620     esac
6621   fi
6622   rm -rf conftest*
6623   ;;
6624 esac
6625
6626 need_locks="$enable_libtool_lock"
6627
6628
6629   case $host_os in
6630     rhapsody* | darwin*)
6631     if test -n "$ac_tool_prefix"; then
6632   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6633 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6635 $as_echo_n "checking for $ac_word... " >&6; }
6636 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6637   $as_echo_n "(cached) " >&6
6638 else
6639   if test -n "$DSYMUTIL"; then
6640   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6641 else
6642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6643 for as_dir in $PATH
6644 do
6645   IFS=$as_save_IFS
6646   test -z "$as_dir" && as_dir=.
6647     for ac_exec_ext in '' $ac_executable_extensions; do
6648   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6649     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6650     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6651     break 2
6652   fi
6653 done
6654   done
6655 IFS=$as_save_IFS
6656
6657 fi
6658 fi
6659 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6660 if test -n "$DSYMUTIL"; then
6661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6662 $as_echo "$DSYMUTIL" >&6; }
6663 else
6664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6665 $as_echo "no" >&6; }
6666 fi
6667
6668
6669 fi
6670 if test -z "$ac_cv_prog_DSYMUTIL"; then
6671   ac_ct_DSYMUTIL=$DSYMUTIL
6672   # Extract the first word of "dsymutil", so it can be a program name with args.
6673 set dummy dsymutil; ac_word=$2
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6675 $as_echo_n "checking for $ac_word... " >&6; }
6676 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6677   $as_echo_n "(cached) " >&6
6678 else
6679   if test -n "$ac_ct_DSYMUTIL"; then
6680   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6681 else
6682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6683 for as_dir in $PATH
6684 do
6685   IFS=$as_save_IFS
6686   test -z "$as_dir" && as_dir=.
6687     for ac_exec_ext in '' $ac_executable_extensions; do
6688   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6689     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6690     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6691     break 2
6692   fi
6693 done
6694   done
6695 IFS=$as_save_IFS
6696
6697 fi
6698 fi
6699 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6700 if test -n "$ac_ct_DSYMUTIL"; then
6701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6702 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6703 else
6704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6705 $as_echo "no" >&6; }
6706 fi
6707
6708   if test "x$ac_ct_DSYMUTIL" = x; then
6709     DSYMUTIL=":"
6710   else
6711     case $cross_compiling:$ac_tool_warned in
6712 yes:)
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6715 ac_tool_warned=yes ;;
6716 esac
6717     DSYMUTIL=$ac_ct_DSYMUTIL
6718   fi
6719 else
6720   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6721 fi
6722
6723     if test -n "$ac_tool_prefix"; then
6724   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6725 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6727 $as_echo_n "checking for $ac_word... " >&6; }
6728 if ${ac_cv_prog_NMEDIT+:} false; then :
6729   $as_echo_n "(cached) " >&6
6730 else
6731   if test -n "$NMEDIT"; then
6732   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6733 else
6734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6735 for as_dir in $PATH
6736 do
6737   IFS=$as_save_IFS
6738   test -z "$as_dir" && as_dir=.
6739     for ac_exec_ext in '' $ac_executable_extensions; do
6740   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6741     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6742     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6743     break 2
6744   fi
6745 done
6746   done
6747 IFS=$as_save_IFS
6748
6749 fi
6750 fi
6751 NMEDIT=$ac_cv_prog_NMEDIT
6752 if test -n "$NMEDIT"; then
6753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6754 $as_echo "$NMEDIT" >&6; }
6755 else
6756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6757 $as_echo "no" >&6; }
6758 fi
6759
6760
6761 fi
6762 if test -z "$ac_cv_prog_NMEDIT"; then
6763   ac_ct_NMEDIT=$NMEDIT
6764   # Extract the first word of "nmedit", so it can be a program name with args.
6765 set dummy nmedit; ac_word=$2
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6767 $as_echo_n "checking for $ac_word... " >&6; }
6768 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6769   $as_echo_n "(cached) " >&6
6770 else
6771   if test -n "$ac_ct_NMEDIT"; then
6772   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6773 else
6774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6775 for as_dir in $PATH
6776 do
6777   IFS=$as_save_IFS
6778   test -z "$as_dir" && as_dir=.
6779     for ac_exec_ext in '' $ac_executable_extensions; do
6780   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6781     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6782     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6783     break 2
6784   fi
6785 done
6786   done
6787 IFS=$as_save_IFS
6788
6789 fi
6790 fi
6791 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6792 if test -n "$ac_ct_NMEDIT"; then
6793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6794 $as_echo "$ac_ct_NMEDIT" >&6; }
6795 else
6796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6797 $as_echo "no" >&6; }
6798 fi
6799
6800   if test "x$ac_ct_NMEDIT" = x; then
6801     NMEDIT=":"
6802   else
6803     case $cross_compiling:$ac_tool_warned in
6804 yes:)
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6806 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6807 ac_tool_warned=yes ;;
6808 esac
6809     NMEDIT=$ac_ct_NMEDIT
6810   fi
6811 else
6812   NMEDIT="$ac_cv_prog_NMEDIT"
6813 fi
6814
6815     if test -n "$ac_tool_prefix"; then
6816   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6817 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6819 $as_echo_n "checking for $ac_word... " >&6; }
6820 if ${ac_cv_prog_LIPO+:} false; then :
6821   $as_echo_n "(cached) " >&6
6822 else
6823   if test -n "$LIPO"; then
6824   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6825 else
6826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6827 for as_dir in $PATH
6828 do
6829   IFS=$as_save_IFS
6830   test -z "$as_dir" && as_dir=.
6831     for ac_exec_ext in '' $ac_executable_extensions; do
6832   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6833     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6834     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6835     break 2
6836   fi
6837 done
6838   done
6839 IFS=$as_save_IFS
6840
6841 fi
6842 fi
6843 LIPO=$ac_cv_prog_LIPO
6844 if test -n "$LIPO"; then
6845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6846 $as_echo "$LIPO" >&6; }
6847 else
6848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6849 $as_echo "no" >&6; }
6850 fi
6851
6852
6853 fi
6854 if test -z "$ac_cv_prog_LIPO"; then
6855   ac_ct_LIPO=$LIPO
6856   # Extract the first word of "lipo", so it can be a program name with args.
6857 set dummy lipo; ac_word=$2
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6859 $as_echo_n "checking for $ac_word... " >&6; }
6860 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6861   $as_echo_n "(cached) " >&6
6862 else
6863   if test -n "$ac_ct_LIPO"; then
6864   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6865 else
6866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6867 for as_dir in $PATH
6868 do
6869   IFS=$as_save_IFS
6870   test -z "$as_dir" && as_dir=.
6871     for ac_exec_ext in '' $ac_executable_extensions; do
6872   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6873     ac_cv_prog_ac_ct_LIPO="lipo"
6874     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6875     break 2
6876   fi
6877 done
6878   done
6879 IFS=$as_save_IFS
6880
6881 fi
6882 fi
6883 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6884 if test -n "$ac_ct_LIPO"; then
6885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6886 $as_echo "$ac_ct_LIPO" >&6; }
6887 else
6888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6889 $as_echo "no" >&6; }
6890 fi
6891
6892   if test "x$ac_ct_LIPO" = x; then
6893     LIPO=":"
6894   else
6895     case $cross_compiling:$ac_tool_warned in
6896 yes:)
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6899 ac_tool_warned=yes ;;
6900 esac
6901     LIPO=$ac_ct_LIPO
6902   fi
6903 else
6904   LIPO="$ac_cv_prog_LIPO"
6905 fi
6906
6907     if test -n "$ac_tool_prefix"; then
6908   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6909 set dummy ${ac_tool_prefix}otool; ac_word=$2
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6911 $as_echo_n "checking for $ac_word... " >&6; }
6912 if ${ac_cv_prog_OTOOL+:} false; then :
6913   $as_echo_n "(cached) " >&6
6914 else
6915   if test -n "$OTOOL"; then
6916   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6917 else
6918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6919 for as_dir in $PATH
6920 do
6921   IFS=$as_save_IFS
6922   test -z "$as_dir" && as_dir=.
6923     for ac_exec_ext in '' $ac_executable_extensions; do
6924   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6925     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6926     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6927     break 2
6928   fi
6929 done
6930   done
6931 IFS=$as_save_IFS
6932
6933 fi
6934 fi
6935 OTOOL=$ac_cv_prog_OTOOL
6936 if test -n "$OTOOL"; then
6937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6938 $as_echo "$OTOOL" >&6; }
6939 else
6940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6941 $as_echo "no" >&6; }
6942 fi
6943
6944
6945 fi
6946 if test -z "$ac_cv_prog_OTOOL"; then
6947   ac_ct_OTOOL=$OTOOL
6948   # Extract the first word of "otool", so it can be a program name with args.
6949 set dummy otool; ac_word=$2
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6951 $as_echo_n "checking for $ac_word... " >&6; }
6952 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6953   $as_echo_n "(cached) " >&6
6954 else
6955   if test -n "$ac_ct_OTOOL"; then
6956   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6957 else
6958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6959 for as_dir in $PATH
6960 do
6961   IFS=$as_save_IFS
6962   test -z "$as_dir" && as_dir=.
6963     for ac_exec_ext in '' $ac_executable_extensions; do
6964   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6965     ac_cv_prog_ac_ct_OTOOL="otool"
6966     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6967     break 2
6968   fi
6969 done
6970   done
6971 IFS=$as_save_IFS
6972
6973 fi
6974 fi
6975 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6976 if test -n "$ac_ct_OTOOL"; then
6977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6978 $as_echo "$ac_ct_OTOOL" >&6; }
6979 else
6980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6981 $as_echo "no" >&6; }
6982 fi
6983
6984   if test "x$ac_ct_OTOOL" = x; then
6985     OTOOL=":"
6986   else
6987     case $cross_compiling:$ac_tool_warned in
6988 yes:)
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6990 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6991 ac_tool_warned=yes ;;
6992 esac
6993     OTOOL=$ac_ct_OTOOL
6994   fi
6995 else
6996   OTOOL="$ac_cv_prog_OTOOL"
6997 fi
6998
6999     if test -n "$ac_tool_prefix"; then
7000   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7001 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7003 $as_echo_n "checking for $ac_word... " >&6; }
7004 if ${ac_cv_prog_OTOOL64+:} false; then :
7005   $as_echo_n "(cached) " >&6
7006 else
7007   if test -n "$OTOOL64"; then
7008   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7009 else
7010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7011 for as_dir in $PATH
7012 do
7013   IFS=$as_save_IFS
7014   test -z "$as_dir" && as_dir=.
7015     for ac_exec_ext in '' $ac_executable_extensions; do
7016   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7017     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7018     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7019     break 2
7020   fi
7021 done
7022   done
7023 IFS=$as_save_IFS
7024
7025 fi
7026 fi
7027 OTOOL64=$ac_cv_prog_OTOOL64
7028 if test -n "$OTOOL64"; then
7029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7030 $as_echo "$OTOOL64" >&6; }
7031 else
7032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7033 $as_echo "no" >&6; }
7034 fi
7035
7036
7037 fi
7038 if test -z "$ac_cv_prog_OTOOL64"; then
7039   ac_ct_OTOOL64=$OTOOL64
7040   # Extract the first word of "otool64", so it can be a program name with args.
7041 set dummy otool64; ac_word=$2
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7043 $as_echo_n "checking for $ac_word... " >&6; }
7044 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7045   $as_echo_n "(cached) " >&6
7046 else
7047   if test -n "$ac_ct_OTOOL64"; then
7048   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7049 else
7050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7051 for as_dir in $PATH
7052 do
7053   IFS=$as_save_IFS
7054   test -z "$as_dir" && as_dir=.
7055     for ac_exec_ext in '' $ac_executable_extensions; do
7056   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7057     ac_cv_prog_ac_ct_OTOOL64="otool64"
7058     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7059     break 2
7060   fi
7061 done
7062   done
7063 IFS=$as_save_IFS
7064
7065 fi
7066 fi
7067 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7068 if test -n "$ac_ct_OTOOL64"; then
7069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7070 $as_echo "$ac_ct_OTOOL64" >&6; }
7071 else
7072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7073 $as_echo "no" >&6; }
7074 fi
7075
7076   if test "x$ac_ct_OTOOL64" = x; then
7077     OTOOL64=":"
7078   else
7079     case $cross_compiling:$ac_tool_warned in
7080 yes:)
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7082 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7083 ac_tool_warned=yes ;;
7084 esac
7085     OTOOL64=$ac_ct_OTOOL64
7086   fi
7087 else
7088   OTOOL64="$ac_cv_prog_OTOOL64"
7089 fi
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7118 $as_echo_n "checking for -single_module linker flag... " >&6; }
7119 if ${lt_cv_apple_cc_single_mod+:} false; then :
7120   $as_echo_n "(cached) " >&6
7121 else
7122   lt_cv_apple_cc_single_mod=no
7123       if test -z "${LT_MULTI_MODULE}"; then
7124         # By default we will add the -single_module flag. You can override
7125         # by either setting the environment variable LT_MULTI_MODULE
7126         # non-empty at configure time, or by adding -multi_module to the
7127         # link flags.
7128         rm -rf libconftest.dylib*
7129         echo "int foo(void){return 1;}" > conftest.c
7130         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7131 -dynamiclib -Wl,-single_module conftest.c" >&5
7132         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7133           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7134         _lt_result=$?
7135         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7136           lt_cv_apple_cc_single_mod=yes
7137         else
7138           cat conftest.err >&5
7139         fi
7140         rm -rf libconftest.dylib*
7141         rm -f conftest.*
7142       fi
7143 fi
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7145 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7146     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7147 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7148 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7149   $as_echo_n "(cached) " >&6
7150 else
7151   lt_cv_ld_exported_symbols_list=no
7152       save_LDFLAGS=$LDFLAGS
7153       echo "_main" > conftest.sym
7154       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7155       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7156 /* end confdefs.h.  */
7157
7158 int
7159 main ()
7160 {
7161
7162   ;
7163   return 0;
7164 }
7165 _ACEOF
7166 if ac_fn_c_try_link "$LINENO"; then :
7167   lt_cv_ld_exported_symbols_list=yes
7168 else
7169   lt_cv_ld_exported_symbols_list=no
7170 fi
7171 rm -f core conftest.err conftest.$ac_objext \
7172     conftest$ac_exeext conftest.$ac_ext
7173         LDFLAGS="$save_LDFLAGS"
7174
7175 fi
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7177 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7178     case $host_os in
7179     rhapsody* | darwin1.[012])
7180       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7181     darwin1.*)
7182       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7183     darwin*) # darwin 5.x on
7184       # if running on 10.5 or later, the deployment target defaults
7185       # to the OS version, if on x86, and 10.4, the deployment
7186       # target defaults to 10.4. Don't you love it?
7187       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7188         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7189           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7190         10.[012]*)
7191           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7192         10.*)
7193           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7194       esac
7195     ;;
7196   esac
7197     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7198       _lt_dar_single_mod='$single_module'
7199     fi
7200     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7201       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7202     else
7203       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7204     fi
7205     if test "$DSYMUTIL" != ":"; then
7206       _lt_dsymutil='~$DSYMUTIL $lib || :'
7207     else
7208       _lt_dsymutil=
7209     fi
7210     ;;
7211   esac
7212
7213 ac_ext=c
7214 ac_cpp='$CPP $CPPFLAGS'
7215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7219 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7220 # On Suns, sometimes $CPP names a directory.
7221 if test -n "$CPP" && test -d "$CPP"; then
7222   CPP=
7223 fi
7224 if test -z "$CPP"; then
7225   if ${ac_cv_prog_CPP+:} false; then :
7226   $as_echo_n "(cached) " >&6
7227 else
7228       # Double quotes because CPP needs to be expanded
7229     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7230     do
7231       ac_preproc_ok=false
7232 for ac_c_preproc_warn_flag in '' yes
7233 do
7234   # Use a header file that comes with gcc, so configuring glibc
7235   # with a fresh cross-compiler works.
7236   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7237   # <limits.h> exists even on freestanding compilers.
7238   # On the NeXT, cc -E runs the code through the compiler's parser,
7239   # not just through cpp. "Syntax error" is here to catch this case.
7240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7241 /* end confdefs.h.  */
7242 #ifdef __STDC__
7243 # include <limits.h>
7244 #else
7245 # include <assert.h>
7246 #endif
7247                      Syntax error
7248 _ACEOF
7249 if ac_fn_c_try_cpp "$LINENO"; then :
7250
7251 else
7252   # Broken: fails on valid input.
7253 continue
7254 fi
7255 rm -f conftest.err conftest.i conftest.$ac_ext
7256
7257   # OK, works on sane cases.  Now check whether nonexistent headers
7258   # can be detected and how.
7259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7260 /* end confdefs.h.  */
7261 #include <ac_nonexistent.h>
7262 _ACEOF
7263 if ac_fn_c_try_cpp "$LINENO"; then :
7264   # Broken: success on invalid input.
7265 continue
7266 else
7267   # Passes both tests.
7268 ac_preproc_ok=:
7269 break
7270 fi
7271 rm -f conftest.err conftest.i conftest.$ac_ext
7272
7273 done
7274 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7275 rm -f conftest.i conftest.err conftest.$ac_ext
7276 if $ac_preproc_ok; then :
7277   break
7278 fi
7279
7280     done
7281     ac_cv_prog_CPP=$CPP
7282
7283 fi
7284   CPP=$ac_cv_prog_CPP
7285 else
7286   ac_cv_prog_CPP=$CPP
7287 fi
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7289 $as_echo "$CPP" >&6; }
7290 ac_preproc_ok=false
7291 for ac_c_preproc_warn_flag in '' yes
7292 do
7293   # Use a header file that comes with gcc, so configuring glibc
7294   # with a fresh cross-compiler works.
7295   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7296   # <limits.h> exists even on freestanding compilers.
7297   # On the NeXT, cc -E runs the code through the compiler's parser,
7298   # not just through cpp. "Syntax error" is here to catch this case.
7299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7300 /* end confdefs.h.  */
7301 #ifdef __STDC__
7302 # include <limits.h>
7303 #else
7304 # include <assert.h>
7305 #endif
7306                      Syntax error
7307 _ACEOF
7308 if ac_fn_c_try_cpp "$LINENO"; then :
7309
7310 else
7311   # Broken: fails on valid input.
7312 continue
7313 fi
7314 rm -f conftest.err conftest.i conftest.$ac_ext
7315
7316   # OK, works on sane cases.  Now check whether nonexistent headers
7317   # can be detected and how.
7318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7319 /* end confdefs.h.  */
7320 #include <ac_nonexistent.h>
7321 _ACEOF
7322 if ac_fn_c_try_cpp "$LINENO"; then :
7323   # Broken: success on invalid input.
7324 continue
7325 else
7326   # Passes both tests.
7327 ac_preproc_ok=:
7328 break
7329 fi
7330 rm -f conftest.err conftest.i conftest.$ac_ext
7331
7332 done
7333 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7334 rm -f conftest.i conftest.err conftest.$ac_ext
7335 if $ac_preproc_ok; then :
7336
7337 else
7338   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7339 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7340 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7341 See \`config.log' for more details" "$LINENO" 5; }
7342 fi
7343
7344 ac_ext=c
7345 ac_cpp='$CPP $CPPFLAGS'
7346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7349
7350
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7352 $as_echo_n "checking for ANSI C header files... " >&6; }
7353 if ${ac_cv_header_stdc+:} false; then :
7354   $as_echo_n "(cached) " >&6
7355 else
7356   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7357 /* end confdefs.h.  */
7358 #include <stdlib.h>
7359 #include <stdarg.h>
7360 #include <string.h>
7361 #include <float.h>
7362
7363 int
7364 main ()
7365 {
7366
7367   ;
7368   return 0;
7369 }
7370 _ACEOF
7371 if ac_fn_c_try_compile "$LINENO"; then :
7372   ac_cv_header_stdc=yes
7373 else
7374   ac_cv_header_stdc=no
7375 fi
7376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7377
7378 if test $ac_cv_header_stdc = yes; then
7379   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7380   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7381 /* end confdefs.h.  */
7382 #include <string.h>
7383
7384 _ACEOF
7385 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7386   $EGREP "memchr" >/dev/null 2>&1; then :
7387
7388 else
7389   ac_cv_header_stdc=no
7390 fi
7391 rm -f conftest*
7392
7393 fi
7394
7395 if test $ac_cv_header_stdc = yes; then
7396   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7397   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7398 /* end confdefs.h.  */
7399 #include <stdlib.h>
7400
7401 _ACEOF
7402 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7403   $EGREP "free" >/dev/null 2>&1; then :
7404
7405 else
7406   ac_cv_header_stdc=no
7407 fi
7408 rm -f conftest*
7409
7410 fi
7411
7412 if test $ac_cv_header_stdc = yes; then
7413   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7414   if test "$cross_compiling" = yes; then :
7415   :
7416 else
7417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7418 /* end confdefs.h.  */
7419 #include <ctype.h>
7420 #include <stdlib.h>
7421 #if ((' ' & 0x0FF) == 0x020)
7422 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7423 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7424 #else
7425 # define ISLOWER(c) \
7426                    (('a' <= (c) && (c) <= 'i') \
7427                      || ('j' <= (c) && (c) <= 'r') \
7428                      || ('s' <= (c) && (c) <= 'z'))
7429 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7430 #endif
7431
7432 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7433 int
7434 main ()
7435 {
7436   int i;
7437   for (i = 0; i < 256; i++)
7438     if (XOR (islower (i), ISLOWER (i))
7439         || toupper (i) != TOUPPER (i))
7440       return 2;
7441   return 0;
7442 }
7443 _ACEOF
7444 if ac_fn_c_try_run "$LINENO"; then :
7445
7446 else
7447   ac_cv_header_stdc=no
7448 fi
7449 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7450   conftest.$ac_objext conftest.beam conftest.$ac_ext
7451 fi
7452
7453 fi
7454 fi
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7456 $as_echo "$ac_cv_header_stdc" >&6; }
7457 if test $ac_cv_header_stdc = yes; then
7458
7459 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7460
7461 fi
7462
7463 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7464 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7465                   inttypes.h stdint.h unistd.h
7466 do :
7467   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7468 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7469 "
7470 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7471   cat >>confdefs.h <<_ACEOF
7472 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7473 _ACEOF
7474
7475 fi
7476
7477 done
7478
7479
7480 for ac_header in dlfcn.h
7481 do :
7482   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7483 "
7484 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7485   cat >>confdefs.h <<_ACEOF
7486 #define HAVE_DLFCN_H 1
7487 _ACEOF
7488
7489 fi
7490
7491 done
7492
7493
7494
7495 # Set options
7496
7497
7498
7499         enable_dlopen=no
7500
7501
7502
7503             # Check whether --enable-shared was given.
7504 if test "${enable_shared+set}" = set; then :
7505   enableval=$enable_shared; p=${PACKAGE-default}
7506     case $enableval in
7507     yes) enable_shared=yes ;;
7508     no) enable_shared=no ;;
7509     *)
7510       enable_shared=no
7511       # Look at the argument we got.  We use all the common list separators.
7512       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7513       for pkg in $enableval; do
7514         IFS="$lt_save_ifs"
7515         if test "X$pkg" = "X$p"; then
7516           enable_shared=yes
7517         fi
7518       done
7519       IFS="$lt_save_ifs"
7520       ;;
7521     esac
7522 else
7523   enable_shared=yes
7524 fi
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534   # Check whether --enable-static was given.
7535 if test "${enable_static+set}" = set; then :
7536   enableval=$enable_static; p=${PACKAGE-default}
7537     case $enableval in
7538     yes) enable_static=yes ;;
7539     no) enable_static=no ;;
7540     *)
7541      enable_static=no
7542       # Look at the argument we got.  We use all the common list separators.
7543       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7544       for pkg in $enableval; do
7545         IFS="$lt_save_ifs"
7546         if test "X$pkg" = "X$p"; then
7547           enable_static=yes
7548         fi
7549       done
7550       IFS="$lt_save_ifs"
7551       ;;
7552     esac
7553 else
7554   enable_static=yes
7555 fi
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566 # Check whether --with-pic was given.
7567 if test "${with_pic+set}" = set; then :
7568   withval=$with_pic; pic_mode="$withval"
7569 else
7570   pic_mode=default
7571 fi
7572
7573
7574 test -z "$pic_mode" && pic_mode=default
7575
7576
7577
7578
7579
7580
7581
7582   # Check whether --enable-fast-install was given.
7583 if test "${enable_fast_install+set}" = set; then :
7584   enableval=$enable_fast_install; p=${PACKAGE-default}
7585     case $enableval in
7586     yes) enable_fast_install=yes ;;
7587     no) enable_fast_install=no ;;
7588     *)
7589       enable_fast_install=no
7590       # Look at the argument we got.  We use all the common list separators.
7591       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7592       for pkg in $enableval; do
7593         IFS="$lt_save_ifs"
7594         if test "X$pkg" = "X$p"; then
7595           enable_fast_install=yes
7596         fi
7597       done
7598       IFS="$lt_save_ifs"
7599       ;;
7600     esac
7601 else
7602   enable_fast_install=yes
7603 fi
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615 # This can be used to rebuild libtool when needed
7616 LIBTOOL_DEPS="$ltmain"
7617
7618 # Always use our own libtool.
7619 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645 test -z "$LN_S" && LN_S="ln -s"
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660 if test -n "${ZSH_VERSION+set}" ; then
7661    setopt NO_GLOB_SUBST
7662 fi
7663
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7665 $as_echo_n "checking for objdir... " >&6; }
7666 if ${lt_cv_objdir+:} false; then :
7667   $as_echo_n "(cached) " >&6
7668 else
7669   rm -f .libs 2>/dev/null
7670 mkdir .libs 2>/dev/null
7671 if test -d .libs; then
7672   lt_cv_objdir=.libs
7673 else
7674   # MS-DOS does not allow filenames that begin with a dot.
7675   lt_cv_objdir=_libs
7676 fi
7677 rmdir .libs 2>/dev/null
7678 fi
7679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7680 $as_echo "$lt_cv_objdir" >&6; }
7681 objdir=$lt_cv_objdir
7682
7683
7684
7685
7686
7687 cat >>confdefs.h <<_ACEOF
7688 #define LT_OBJDIR "$lt_cv_objdir/"
7689 _ACEOF
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707 case $host_os in
7708 aix3*)
7709   # AIX sometimes has problems with the GCC collect2 program.  For some
7710   # reason, if we set the COLLECT_NAMES environment variable, the problems
7711   # vanish in a puff of smoke.
7712   if test "X${COLLECT_NAMES+set}" != Xset; then
7713     COLLECT_NAMES=
7714     export COLLECT_NAMES
7715   fi
7716   ;;
7717 esac
7718
7719 # Sed substitution that helps us do robust quoting.  It backslashifies
7720 # metacharacters that are still active within double-quoted strings.
7721 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7722
7723 # Same as above, but do not quote variable references.
7724 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7725
7726 # Sed substitution to delay expansion of an escaped shell variable in a
7727 # double_quote_subst'ed string.
7728 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7729
7730 # Sed substitution to delay expansion of an escaped single quote.
7731 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7732
7733 # Sed substitution to avoid accidental globbing in evaled expressions
7734 no_glob_subst='s/\*/\\\*/g'
7735
7736 # Global variables:
7737 ofile=libtool
7738 can_build_shared=yes
7739
7740 # All known linkers require a `.a' archive for static linking (except MSVC,
7741 # which needs '.lib').
7742 libext=a
7743
7744 with_gnu_ld="$lt_cv_prog_gnu_ld"
7745
7746 old_CC="$CC"
7747 old_CFLAGS="$CFLAGS"
7748
7749 # Set sane defaults for various variables
7750 test -z "$CC" && CC=cc
7751 test -z "$LTCC" && LTCC=$CC
7752 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7753 test -z "$LD" && LD=ld
7754 test -z "$ac_objext" && ac_objext=o
7755
7756 for cc_temp in $compiler""; do
7757   case $cc_temp in
7758     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7759     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7760     \-*) ;;
7761     *) break;;
7762   esac
7763 done
7764 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7765
7766
7767 # Only perform the check for file, if the check method requires it
7768 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7769 case $deplibs_check_method in
7770 file_magic*)
7771   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7772     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7773 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7774 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7775   $as_echo_n "(cached) " >&6
7776 else
7777   case $MAGIC_CMD in
7778 [\\/*] |  ?:[\\/]*)
7779   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7780   ;;
7781 *)
7782   lt_save_MAGIC_CMD="$MAGIC_CMD"
7783   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7784   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7785   for ac_dir in $ac_dummy; do
7786     IFS="$lt_save_ifs"
7787     test -z "$ac_dir" && ac_dir=.
7788     if test -f $ac_dir/${ac_tool_prefix}file; then
7789       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7790       if test -n "$file_magic_test_file"; then
7791         case $deplibs_check_method in
7792         "file_magic "*)
7793           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7794           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7795           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7796             $EGREP "$file_magic_regex" > /dev/null; then
7797             :
7798           else
7799             cat <<_LT_EOF 1>&2
7800
7801 *** Warning: the command libtool uses to detect shared libraries,
7802 *** $file_magic_cmd, produces output that libtool cannot recognize.
7803 *** The result is that libtool may fail to recognize shared libraries
7804 *** as such.  This will affect the creation of libtool libraries that
7805 *** depend on shared libraries, but programs linked with such libtool
7806 *** libraries will work regardless of this problem.  Nevertheless, you
7807 *** may want to report the problem to your system manager and/or to
7808 *** bug-libtool@gnu.org
7809
7810 _LT_EOF
7811           fi ;;
7812         esac
7813       fi
7814       break
7815     fi
7816   done
7817   IFS="$lt_save_ifs"
7818   MAGIC_CMD="$lt_save_MAGIC_CMD"
7819   ;;
7820 esac
7821 fi
7822
7823 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7824 if test -n "$MAGIC_CMD"; then
7825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7826 $as_echo "$MAGIC_CMD" >&6; }
7827 else
7828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7829 $as_echo "no" >&6; }
7830 fi
7831
7832
7833
7834
7835
7836 if test -z "$lt_cv_path_MAGIC_CMD"; then
7837   if test -n "$ac_tool_prefix"; then
7838     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7839 $as_echo_n "checking for file... " >&6; }
7840 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7841   $as_echo_n "(cached) " >&6
7842 else
7843   case $MAGIC_CMD in
7844 [\\/*] |  ?:[\\/]*)
7845   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7846   ;;
7847 *)
7848   lt_save_MAGIC_CMD="$MAGIC_CMD"
7849   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7850   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7851   for ac_dir in $ac_dummy; do
7852     IFS="$lt_save_ifs"
7853     test -z "$ac_dir" && ac_dir=.
7854     if test -f $ac_dir/file; then
7855       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7856       if test -n "$file_magic_test_file"; then
7857         case $deplibs_check_method in
7858         "file_magic "*)
7859           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7860           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7861           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7862             $EGREP "$file_magic_regex" > /dev/null; then
7863             :
7864           else
7865             cat <<_LT_EOF 1>&2
7866
7867 *** Warning: the command libtool uses to detect shared libraries,
7868 *** $file_magic_cmd, produces output that libtool cannot recognize.
7869 *** The result is that libtool may fail to recognize shared libraries
7870 *** as such.  This will affect the creation of libtool libraries that
7871 *** depend on shared libraries, but programs linked with such libtool
7872 *** libraries will work regardless of this problem.  Nevertheless, you
7873 *** may want to report the problem to your system manager and/or to
7874 *** bug-libtool@gnu.org
7875
7876 _LT_EOF
7877           fi ;;
7878         esac
7879       fi
7880       break
7881     fi
7882   done
7883   IFS="$lt_save_ifs"
7884   MAGIC_CMD="$lt_save_MAGIC_CMD"
7885   ;;
7886 esac
7887 fi
7888
7889 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7890 if test -n "$MAGIC_CMD"; then
7891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7892 $as_echo "$MAGIC_CMD" >&6; }
7893 else
7894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7895 $as_echo "no" >&6; }
7896 fi
7897
7898
7899   else
7900     MAGIC_CMD=:
7901   fi
7902 fi
7903
7904   fi
7905   ;;
7906 esac
7907
7908 # Use C for the default configuration in the libtool script
7909
7910 lt_save_CC="$CC"
7911 ac_ext=c
7912 ac_cpp='$CPP $CPPFLAGS'
7913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7916
7917
7918 # Source file extension for C test sources.
7919 ac_ext=c
7920
7921 # Object file extension for compiled C test sources.
7922 objext=o
7923 objext=$objext
7924
7925 # Code to be used in simple compile tests
7926 lt_simple_compile_test_code="int some_variable = 0;"
7927
7928 # Code to be used in simple link tests
7929 lt_simple_link_test_code='int main(){return(0);}'
7930
7931
7932
7933
7934
7935
7936
7937 # If no C compiler was specified, use CC.
7938 LTCC=${LTCC-"$CC"}
7939
7940 # If no C compiler flags were specified, use CFLAGS.
7941 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7942
7943 # Allow CC to be a program name with arguments.
7944 compiler=$CC
7945
7946 # Save the default compiler, since it gets overwritten when the other
7947 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7948 compiler_DEFAULT=$CC
7949
7950 # save warnings/boilerplate of simple test code
7951 ac_outfile=conftest.$ac_objext
7952 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7953 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7954 _lt_compiler_boilerplate=`cat conftest.err`
7955 $RM conftest*
7956
7957 ac_outfile=conftest.$ac_objext
7958 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7959 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7960 _lt_linker_boilerplate=`cat conftest.err`
7961 $RM -r conftest*
7962
7963
7964 ## CAVEAT EMPTOR:
7965 ## There is no encapsulation within the following macros, do not change
7966 ## the running order or otherwise move them around unless you know exactly
7967 ## what you are doing...
7968 if test -n "$compiler"; then
7969
7970 lt_prog_compiler_no_builtin_flag=
7971
7972 if test "$GCC" = yes; then
7973   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7974
7975   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7976 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7977 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7978   $as_echo_n "(cached) " >&6
7979 else
7980   lt_cv_prog_compiler_rtti_exceptions=no
7981    ac_outfile=conftest.$ac_objext
7982    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7983    lt_compiler_flag="-fno-rtti -fno-exceptions"
7984    # Insert the option either (1) after the last *FLAGS variable, or
7985    # (2) before a word containing "conftest.", or (3) at the end.
7986    # Note that $ac_compile itself does not contain backslashes and begins
7987    # with a dollar sign (not a hyphen), so the echo should work correctly.
7988    # The option is referenced via a variable to avoid confusing sed.
7989    lt_compile=`echo "$ac_compile" | $SED \
7990    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7991    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7992    -e 's:$: $lt_compiler_flag:'`
7993    (eval echo "\"\$as_me:7993: $lt_compile\"" >&5)
7994    (eval "$lt_compile" 2>conftest.err)
7995    ac_status=$?
7996    cat conftest.err >&5
7997    echo "$as_me:7997: \$? = $ac_status" >&5
7998    if (exit $ac_status) && test -s "$ac_outfile"; then
7999      # The compiler can only warn and ignore the option if not recognized
8000      # So say no if there are warnings other than the usual output.
8001      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8002      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8003      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8004        lt_cv_prog_compiler_rtti_exceptions=yes
8005      fi
8006    fi
8007    $RM conftest*
8008
8009 fi
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8011 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8012
8013 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8014     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8015 else
8016     :
8017 fi
8018
8019 fi
8020
8021
8022
8023
8024
8025
8026   lt_prog_compiler_wl=
8027 lt_prog_compiler_pic=
8028 lt_prog_compiler_static=
8029
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8031 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8032
8033   if test "$GCC" = yes; then
8034     lt_prog_compiler_wl='-Wl,'
8035     lt_prog_compiler_static='-static'
8036
8037     case $host_os in
8038       aix*)
8039       # All AIX code is PIC.
8040       if test "$host_cpu" = ia64; then
8041         # AIX 5 now supports IA64 processor
8042         lt_prog_compiler_static='-Bstatic'
8043       fi
8044       ;;
8045
8046     amigaos*)
8047       case $host_cpu in
8048       powerpc)
8049             # see comment about AmigaOS4 .so support
8050             lt_prog_compiler_pic='-fPIC'
8051         ;;
8052       m68k)
8053             # FIXME: we need at least 68020 code to build shared libraries, but
8054             # adding the `-m68020' flag to GCC prevents building anything better,
8055             # like `-m68040'.
8056             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8057         ;;
8058       esac
8059       ;;
8060
8061     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8062       # PIC is the default for these OSes.
8063       ;;
8064
8065     mingw* | cygwin* | pw32* | os2* | cegcc*)
8066       # This hack is so that the source file can tell whether it is being
8067       # built for inclusion in a dll (and should export symbols for example).
8068       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8069       # (--disable-auto-import) libraries
8070       lt_prog_compiler_pic='-DDLL_EXPORT'
8071       ;;
8072
8073     darwin* | rhapsody*)
8074       # PIC is the default on this platform
8075       # Common symbols not allowed in MH_DYLIB files
8076       lt_prog_compiler_pic='-fno-common'
8077       ;;
8078
8079     hpux*)
8080       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8081       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8082       # sets the default TLS model and affects inlining.
8083       case $host_cpu in
8084       hppa*64*)
8085         # +Z the default
8086         ;;
8087       *)
8088         lt_prog_compiler_pic='-fPIC'
8089         ;;
8090       esac
8091       ;;
8092
8093     interix[3-9]*)
8094       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8095       # Instead, we relocate shared libraries at runtime.
8096       ;;
8097
8098     msdosdjgpp*)
8099       # Just because we use GCC doesn't mean we suddenly get shared libraries
8100       # on systems that don't support them.
8101       lt_prog_compiler_can_build_shared=no
8102       enable_shared=no
8103       ;;
8104
8105     *nto* | *qnx*)
8106       # QNX uses GNU C++, but need to define -shared option too, otherwise
8107       # it will coredump.
8108       lt_prog_compiler_pic='-fPIC -shared'
8109       ;;
8110
8111     sysv4*MP*)
8112       if test -d /usr/nec; then
8113         lt_prog_compiler_pic=-Kconform_pic
8114       fi
8115       ;;
8116
8117     *)
8118       lt_prog_compiler_pic='-fPIC'
8119       ;;
8120     esac
8121   else
8122     # PORTME Check for flag to pass linker flags through the system compiler.
8123     case $host_os in
8124     aix*)
8125       lt_prog_compiler_wl='-Wl,'
8126       if test "$host_cpu" = ia64; then
8127         # AIX 5 now supports IA64 processor
8128         lt_prog_compiler_static='-Bstatic'
8129       else
8130         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8131       fi
8132       ;;
8133
8134     mingw* | cygwin* | pw32* | os2* | cegcc*)
8135       # This hack is so that the source file can tell whether it is being
8136       # built for inclusion in a dll (and should export symbols for example).
8137       lt_prog_compiler_pic='-DDLL_EXPORT'
8138       ;;
8139
8140     hpux9* | hpux10* | hpux11*)
8141       lt_prog_compiler_wl='-Wl,'
8142       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8143       # not for PA HP-UX.
8144       case $host_cpu in
8145       hppa*64*|ia64*)
8146         # +Z the default
8147         ;;
8148       *)
8149         lt_prog_compiler_pic='+Z'
8150         ;;
8151       esac
8152       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8153       lt_prog_compiler_static='${wl}-a ${wl}archive'
8154       ;;
8155
8156     irix5* | irix6* | nonstopux*)
8157       lt_prog_compiler_wl='-Wl,'
8158       # PIC (with -KPIC) is the default.
8159       lt_prog_compiler_static='-non_shared'
8160       ;;
8161
8162     linux* | k*bsd*-gnu)
8163       case $cc_basename in
8164       # old Intel for x86_64 which still supported -KPIC.
8165       ecc*)
8166         lt_prog_compiler_wl='-Wl,'
8167         lt_prog_compiler_pic='-KPIC'
8168         lt_prog_compiler_static='-static'
8169         ;;
8170       # icc used to be incompatible with GCC.
8171       # ICC 10 doesn't accept -KPIC any more.
8172       icc* | ifort*)
8173         lt_prog_compiler_wl='-Wl,'
8174         lt_prog_compiler_pic='-fPIC'
8175         lt_prog_compiler_static='-static'
8176         ;;
8177       # Lahey Fortran 8.1.
8178       lf95*)
8179         lt_prog_compiler_wl='-Wl,'
8180         lt_prog_compiler_pic='--shared'
8181         lt_prog_compiler_static='--static'
8182         ;;
8183       pgcc* | pgf77* | pgf90* | pgf95*)
8184         # Portland Group compilers (*not* the Pentium gcc compiler,
8185         # which looks to be a dead project)
8186         lt_prog_compiler_wl='-Wl,'
8187         lt_prog_compiler_pic='-fpic'
8188         lt_prog_compiler_static='-Bstatic'
8189         ;;
8190       ccc*)
8191         lt_prog_compiler_wl='-Wl,'
8192         # All Alpha code is PIC.
8193         lt_prog_compiler_static='-non_shared'
8194         ;;
8195       xl*)
8196         # IBM XL C 8.0/Fortran 10.1 on PPC
8197         lt_prog_compiler_wl='-Wl,'
8198         lt_prog_compiler_pic='-qpic'
8199         lt_prog_compiler_static='-qstaticlink'
8200         ;;
8201       *)
8202         case `$CC -V 2>&1 | sed 5q` in
8203         *Sun\ C*)
8204           # Sun C 5.9
8205           lt_prog_compiler_pic='-KPIC'
8206           lt_prog_compiler_static='-Bstatic'
8207           lt_prog_compiler_wl='-Wl,'
8208           ;;
8209         *Sun\ F*)
8210           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8211           lt_prog_compiler_pic='-KPIC'
8212           lt_prog_compiler_static='-Bstatic'
8213           lt_prog_compiler_wl=''
8214           ;;
8215         esac
8216         ;;
8217       esac
8218       ;;
8219
8220     newsos6)
8221       lt_prog_compiler_pic='-KPIC'
8222       lt_prog_compiler_static='-Bstatic'
8223       ;;
8224
8225     *nto* | *qnx*)
8226       # QNX uses GNU C++, but need to define -shared option too, otherwise
8227       # it will coredump.
8228       lt_prog_compiler_pic='-fPIC -shared'
8229       ;;
8230
8231     osf3* | osf4* | osf5*)
8232       lt_prog_compiler_wl='-Wl,'
8233       # All OSF/1 code is PIC.
8234       lt_prog_compiler_static='-non_shared'
8235       ;;
8236
8237     rdos*)
8238       lt_prog_compiler_static='-non_shared'
8239       ;;
8240
8241     solaris*)
8242       lt_prog_compiler_pic='-KPIC'
8243       lt_prog_compiler_static='-Bstatic'
8244       case $cc_basename in
8245       f77* | f90* | f95*)
8246         lt_prog_compiler_wl='-Qoption ld ';;
8247       *)
8248         lt_prog_compiler_wl='-Wl,';;
8249       esac
8250       ;;
8251
8252     sunos4*)
8253       lt_prog_compiler_wl='-Qoption ld '
8254       lt_prog_compiler_pic='-PIC'
8255       lt_prog_compiler_static='-Bstatic'
8256       ;;
8257
8258     sysv4 | sysv4.2uw2* | sysv4.3*)
8259       lt_prog_compiler_wl='-Wl,'
8260       lt_prog_compiler_pic='-KPIC'
8261       lt_prog_compiler_static='-Bstatic'
8262       ;;
8263
8264     sysv4*MP*)
8265       if test -d /usr/nec ;then
8266         lt_prog_compiler_pic='-Kconform_pic'
8267         lt_prog_compiler_static='-Bstatic'
8268       fi
8269       ;;
8270
8271     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8272       lt_prog_compiler_wl='-Wl,'
8273       lt_prog_compiler_pic='-KPIC'
8274       lt_prog_compiler_static='-Bstatic'
8275       ;;
8276
8277     unicos*)
8278       lt_prog_compiler_wl='-Wl,'
8279       lt_prog_compiler_can_build_shared=no
8280       ;;
8281
8282     uts4*)
8283       lt_prog_compiler_pic='-pic'
8284       lt_prog_compiler_static='-Bstatic'
8285       ;;
8286
8287     *)
8288       lt_prog_compiler_can_build_shared=no
8289       ;;
8290     esac
8291   fi
8292
8293 case $host_os in
8294   # For platforms which do not support PIC, -DPIC is meaningless:
8295   *djgpp*)
8296     lt_prog_compiler_pic=
8297     ;;
8298   *)
8299     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8300     ;;
8301 esac
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8303 $as_echo "$lt_prog_compiler_pic" >&6; }
8304
8305
8306
8307
8308
8309
8310 #
8311 # Check to make sure the PIC flag actually works.
8312 #
8313 if test -n "$lt_prog_compiler_pic"; then
8314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8315 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8316 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8317   $as_echo_n "(cached) " >&6
8318 else
8319   lt_cv_prog_compiler_pic_works=no
8320    ac_outfile=conftest.$ac_objext
8321    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8322    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8323    # Insert the option either (1) after the last *FLAGS variable, or
8324    # (2) before a word containing "conftest.", or (3) at the end.
8325    # Note that $ac_compile itself does not contain backslashes and begins
8326    # with a dollar sign (not a hyphen), so the echo should work correctly.
8327    # The option is referenced via a variable to avoid confusing sed.
8328    lt_compile=`echo "$ac_compile" | $SED \
8329    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8330    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8331    -e 's:$: $lt_compiler_flag:'`
8332    (eval echo "\"\$as_me:8332: $lt_compile\"" >&5)
8333    (eval "$lt_compile" 2>conftest.err)
8334    ac_status=$?
8335    cat conftest.err >&5
8336    echo "$as_me:8336: \$? = $ac_status" >&5
8337    if (exit $ac_status) && test -s "$ac_outfile"; then
8338      # The compiler can only warn and ignore the option if not recognized
8339      # So say no if there are warnings other than the usual output.
8340      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8341      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8342      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8343        lt_cv_prog_compiler_pic_works=yes
8344      fi
8345    fi
8346    $RM conftest*
8347
8348 fi
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8350 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8351
8352 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8353     case $lt_prog_compiler_pic in
8354      "" | " "*) ;;
8355      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8356      esac
8357 else
8358     lt_prog_compiler_pic=
8359      lt_prog_compiler_can_build_shared=no
8360 fi
8361
8362 fi
8363
8364
8365
8366
8367
8368
8369 #
8370 # Check to make sure the static flag actually works.
8371 #
8372 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8374 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8375 if ${lt_cv_prog_compiler_static_works+:} false; then :
8376   $as_echo_n "(cached) " >&6
8377 else
8378   lt_cv_prog_compiler_static_works=no
8379    save_LDFLAGS="$LDFLAGS"
8380    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8381    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8382    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8383      # The linker can only warn and ignore the option if not recognized
8384      # So say no if there are warnings
8385      if test -s conftest.err; then
8386        # Append any errors to the config.log.
8387        cat conftest.err 1>&5
8388        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8389        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8390        if diff conftest.exp conftest.er2 >/dev/null; then
8391          lt_cv_prog_compiler_static_works=yes
8392        fi
8393      else
8394        lt_cv_prog_compiler_static_works=yes
8395      fi
8396    fi
8397    $RM -r conftest*
8398    LDFLAGS="$save_LDFLAGS"
8399
8400 fi
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8402 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8403
8404 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8405     :
8406 else
8407     lt_prog_compiler_static=
8408 fi
8409
8410
8411
8412
8413
8414
8415
8416   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8417 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8418 if ${lt_cv_prog_compiler_c_o+:} false; then :
8419   $as_echo_n "(cached) " >&6
8420 else
8421   lt_cv_prog_compiler_c_o=no
8422    $RM -r conftest 2>/dev/null
8423    mkdir conftest
8424    cd conftest
8425    mkdir out
8426    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8427
8428    lt_compiler_flag="-o out/conftest2.$ac_objext"
8429    # Insert the option either (1) after the last *FLAGS variable, or
8430    # (2) before a word containing "conftest.", or (3) at the end.
8431    # Note that $ac_compile itself does not contain backslashes and begins
8432    # with a dollar sign (not a hyphen), so the echo should work correctly.
8433    lt_compile=`echo "$ac_compile" | $SED \
8434    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8435    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8436    -e 's:$: $lt_compiler_flag:'`
8437    (eval echo "\"\$as_me:8437: $lt_compile\"" >&5)
8438    (eval "$lt_compile" 2>out/conftest.err)
8439    ac_status=$?
8440    cat out/conftest.err >&5
8441    echo "$as_me:8441: \$? = $ac_status" >&5
8442    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8443    then
8444      # The compiler can only warn and ignore the option if not recognized
8445      # So say no if there are warnings
8446      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8447      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8448      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8449        lt_cv_prog_compiler_c_o=yes
8450      fi
8451    fi
8452    chmod u+w . 2>&5
8453    $RM conftest*
8454    # SGI C++ compiler will create directory out/ii_files/ for
8455    # template instantiation
8456    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8457    $RM out/* && rmdir out
8458    cd ..
8459    $RM -r conftest
8460    $RM conftest*
8461
8462 fi
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8464 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8465
8466
8467
8468
8469
8470
8471   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8472 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8473 if ${lt_cv_prog_compiler_c_o+:} false; then :
8474   $as_echo_n "(cached) " >&6
8475 else
8476   lt_cv_prog_compiler_c_o=no
8477    $RM -r conftest 2>/dev/null
8478    mkdir conftest
8479    cd conftest
8480    mkdir out
8481    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8482
8483    lt_compiler_flag="-o out/conftest2.$ac_objext"
8484    # Insert the option either (1) after the last *FLAGS variable, or
8485    # (2) before a word containing "conftest.", or (3) at the end.
8486    # Note that $ac_compile itself does not contain backslashes and begins
8487    # with a dollar sign (not a hyphen), so the echo should work correctly.
8488    lt_compile=`echo "$ac_compile" | $SED \
8489    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8490    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8491    -e 's:$: $lt_compiler_flag:'`
8492    (eval echo "\"\$as_me:8492: $lt_compile\"" >&5)
8493    (eval "$lt_compile" 2>out/conftest.err)
8494    ac_status=$?
8495    cat out/conftest.err >&5
8496    echo "$as_me:8496: \$? = $ac_status" >&5
8497    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8498    then
8499      # The compiler can only warn and ignore the option if not recognized
8500      # So say no if there are warnings
8501      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8502      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8503      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8504        lt_cv_prog_compiler_c_o=yes
8505      fi
8506    fi
8507    chmod u+w . 2>&5
8508    $RM conftest*
8509    # SGI C++ compiler will create directory out/ii_files/ for
8510    # template instantiation
8511    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8512    $RM out/* && rmdir out
8513    cd ..
8514    $RM -r conftest
8515    $RM conftest*
8516
8517 fi
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8519 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8520
8521
8522
8523
8524 hard_links="nottested"
8525 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8526   # do not overwrite the value of need_locks provided by the user
8527   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8528 $as_echo_n "checking if we can lock with hard links... " >&6; }
8529   hard_links=yes
8530   $RM conftest*
8531   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8532   touch conftest.a
8533   ln conftest.a conftest.b 2>&5 || hard_links=no
8534   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8536 $as_echo "$hard_links" >&6; }
8537   if test "$hard_links" = no; then
8538     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8539 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8540     need_locks=warn
8541   fi
8542 else
8543   need_locks=no
8544 fi
8545
8546
8547
8548
8549
8550
8551   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8552 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8553
8554   runpath_var=
8555   allow_undefined_flag=
8556   always_export_symbols=no
8557   archive_cmds=
8558   archive_expsym_cmds=
8559   compiler_needs_object=no
8560   enable_shared_with_static_runtimes=no
8561   export_dynamic_flag_spec=
8562   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8563   hardcode_automatic=no
8564   hardcode_direct=no
8565   hardcode_direct_absolute=no
8566   hardcode_libdir_flag_spec=
8567   hardcode_libdir_flag_spec_ld=
8568   hardcode_libdir_separator=
8569   hardcode_minus_L=no
8570   hardcode_shlibpath_var=unsupported
8571   inherit_rpath=no
8572   link_all_deplibs=unknown
8573   module_cmds=
8574   module_expsym_cmds=
8575   old_archive_from_new_cmds=
8576   old_archive_from_expsyms_cmds=
8577   thread_safe_flag_spec=
8578   whole_archive_flag_spec=
8579   # include_expsyms should be a list of space-separated symbols to be *always*
8580   # included in the symbol list
8581   include_expsyms=
8582   # exclude_expsyms can be an extended regexp of symbols to exclude
8583   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8584   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8585   # as well as any symbol that contains `d'.
8586   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8587   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8588   # platforms (ab)use it in PIC code, but their linkers get confused if
8589   # the symbol is explicitly referenced.  Since portable code cannot
8590   # rely on this symbol name, it's probably fine to never include it in
8591   # preloaded symbol tables.
8592   # Exclude shared library initialization/finalization symbols.
8593   extract_expsyms_cmds=
8594
8595   case $host_os in
8596   cygwin* | mingw* | pw32* | cegcc*)
8597     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8598     # When not using gcc, we currently assume that we are using
8599     # Microsoft Visual C++.
8600     if test "$GCC" != yes; then
8601       with_gnu_ld=no
8602     fi
8603     ;;
8604   interix*)
8605     # we just hope/assume this is gcc and not c89 (= MSVC++)
8606     with_gnu_ld=yes
8607     ;;
8608   openbsd*)
8609     with_gnu_ld=no
8610     ;;
8611   esac
8612
8613   ld_shlibs=yes
8614   if test "$with_gnu_ld" = yes; then
8615     # If archive_cmds runs LD, not CC, wlarc should be empty
8616     wlarc='${wl}'
8617
8618     # Set some defaults for GNU ld with shared library support. These
8619     # are reset later if shared libraries are not supported. Putting them
8620     # here allows them to be overridden if necessary.
8621     runpath_var=LD_RUN_PATH
8622     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8623     export_dynamic_flag_spec='${wl}--export-dynamic'
8624     # ancient GNU ld didn't support --whole-archive et. al.
8625     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8626       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8627     else
8628       whole_archive_flag_spec=
8629     fi
8630     supports_anon_versioning=no
8631     case `$LD -v 2>&1` in
8632       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8633       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8634       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8635       *\ 2.11.*) ;; # other 2.11 versions
8636       *) supports_anon_versioning=yes ;;
8637     esac
8638
8639     # See if GNU ld supports shared libraries.
8640     case $host_os in
8641     aix[3-9]*)
8642       # On AIX/PPC, the GNU linker is very broken
8643       if test "$host_cpu" != ia64; then
8644         ld_shlibs=no
8645         cat <<_LT_EOF 1>&2
8646
8647 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8648 *** to be unable to reliably create shared libraries on AIX.
8649 *** Therefore, libtool is disabling shared libraries support.  If you
8650 *** really care for shared libraries, you may want to modify your PATH
8651 *** so that a non-GNU linker is found, and then restart.
8652
8653 _LT_EOF
8654       fi
8655       ;;
8656
8657     amigaos*)
8658       case $host_cpu in
8659       powerpc)
8660             # see comment about AmigaOS4 .so support
8661             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8662             archive_expsym_cmds=''
8663         ;;
8664       m68k)
8665             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)'
8666             hardcode_libdir_flag_spec='-L$libdir'
8667             hardcode_minus_L=yes
8668         ;;
8669       esac
8670       ;;
8671
8672     beos*)
8673       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8674         allow_undefined_flag=unsupported
8675         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8676         # support --undefined.  This deserves some investigation.  FIXME
8677         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8678       else
8679         ld_shlibs=no
8680       fi
8681       ;;
8682
8683     cygwin* | mingw* | pw32* | cegcc*)
8684       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8685       # as there is no search path for DLLs.
8686       hardcode_libdir_flag_spec='-L$libdir'
8687       allow_undefined_flag=unsupported
8688       always_export_symbols=no
8689       enable_shared_with_static_runtimes=yes
8690       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8691
8692       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8693         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8694         # If the export-symbols file already is a .def file (1st line
8695         # is EXPORTS), use it as is; otherwise, prepend...
8696         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8697           cp $export_symbols $output_objdir/$soname.def;
8698         else
8699           echo EXPORTS > $output_objdir/$soname.def;
8700           cat $export_symbols >> $output_objdir/$soname.def;
8701         fi~
8702         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8703       else
8704         ld_shlibs=no
8705       fi
8706       ;;
8707
8708     interix[3-9]*)
8709       hardcode_direct=no
8710       hardcode_shlibpath_var=no
8711       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8712       export_dynamic_flag_spec='${wl}-E'
8713       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8714       # Instead, shared libraries are loaded at an image base (0x10000000 by
8715       # default) and relocated if they conflict, which is a slow very memory
8716       # consuming and fragmenting process.  To avoid this, we pick a random,
8717       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8718       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8719       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8720       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'
8721       ;;
8722
8723     gnu* | linux* | tpf* | k*bsd*-gnu)
8724       tmp_diet=no
8725       if test "$host_os" = linux-dietlibc; then
8726         case $cc_basename in
8727           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8728         esac
8729       fi
8730       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8731          && test "$tmp_diet" = no
8732       then
8733         tmp_addflag=
8734         tmp_sharedflag='-shared'
8735         case $cc_basename,$host_cpu in
8736         pgcc*)                          # Portland Group C compiler
8737           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8738           tmp_addflag=' $pic_flag'
8739           ;;
8740         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8741           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8742           tmp_addflag=' $pic_flag -Mnomain' ;;
8743         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8744           tmp_addflag=' -i_dynamic' ;;
8745         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8746           tmp_addflag=' -i_dynamic -nofor_main' ;;
8747         ifc* | ifort*)                  # Intel Fortran compiler
8748           tmp_addflag=' -nofor_main' ;;
8749         lf95*)                          # Lahey Fortran 8.1
8750           whole_archive_flag_spec=
8751           tmp_sharedflag='--shared' ;;
8752         xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
8753           tmp_sharedflag='-qmkshrobj'
8754           tmp_addflag= ;;
8755         esac
8756         case `$CC -V 2>&1 | sed 5q` in
8757         *Sun\ C*)                       # Sun C 5.9
8758           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8759           compiler_needs_object=yes
8760           tmp_sharedflag='-G' ;;
8761         *Sun\ F*)                       # Sun Fortran 8.3
8762           tmp_sharedflag='-G' ;;
8763         esac
8764         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8765
8766         if test "x$supports_anon_versioning" = xyes; then
8767           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8768             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8769             echo "local: *; };" >> $output_objdir/$libname.ver~
8770             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8771         fi
8772
8773         case $cc_basename in
8774         xlf*)
8775           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8776           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8777           hardcode_libdir_flag_spec=
8778           hardcode_libdir_flag_spec_ld='-rpath $libdir'
8779           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8780           if test "x$supports_anon_versioning" = xyes; then
8781             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8782               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8783               echo "local: *; };" >> $output_objdir/$libname.ver~
8784               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8785           fi
8786           ;;
8787         esac
8788       else
8789         ld_shlibs=no
8790       fi
8791       ;;
8792
8793     netbsd*)
8794       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8795         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8796         wlarc=
8797       else
8798         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8799         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8800       fi
8801       ;;
8802
8803     solaris*)
8804       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8805         ld_shlibs=no
8806         cat <<_LT_EOF 1>&2
8807
8808 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8809 *** create shared libraries on Solaris systems.  Therefore, libtool
8810 *** is disabling shared libraries support.  We urge you to upgrade GNU
8811 *** binutils to release 2.9.1 or newer.  Another option is to modify
8812 *** your PATH or compiler configuration so that the native linker is
8813 *** used, and then restart.
8814
8815 _LT_EOF
8816       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8817         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8818         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8819       else
8820         ld_shlibs=no
8821       fi
8822       ;;
8823
8824     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8825       case `$LD -v 2>&1` in
8826         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8827         ld_shlibs=no
8828         cat <<_LT_EOF 1>&2
8829
8830 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8831 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8832 *** is disabling shared libraries support.  We urge you to upgrade GNU
8833 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8834 *** your PATH or compiler configuration so that the native linker is
8835 *** used, and then restart.
8836
8837 _LT_EOF
8838         ;;
8839         *)
8840           # For security reasons, it is highly recommended that you always
8841           # use absolute paths for naming shared libraries, and exclude the
8842           # DT_RUNPATH tag from executables and libraries.  But doing so
8843           # requires that you compile everything twice, which is a pain.
8844           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8845             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8846             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8847             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8848           else
8849             ld_shlibs=no
8850           fi
8851         ;;
8852       esac
8853       ;;
8854
8855     sunos4*)
8856       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8857       wlarc=
8858       hardcode_direct=yes
8859       hardcode_shlibpath_var=no
8860       ;;
8861
8862     *)
8863       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8864         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8865         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8866       else
8867         ld_shlibs=no
8868       fi
8869       ;;
8870     esac
8871
8872     if test "$ld_shlibs" = no; then
8873       runpath_var=
8874       hardcode_libdir_flag_spec=
8875       export_dynamic_flag_spec=
8876       whole_archive_flag_spec=
8877     fi
8878   else
8879     # PORTME fill in a description of your system's linker (not GNU ld)
8880     case $host_os in
8881     aix3*)
8882       allow_undefined_flag=unsupported
8883       always_export_symbols=yes
8884       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'
8885       # Note: this linker hardcodes the directories in LIBPATH if there
8886       # are no directories specified by -L.
8887       hardcode_minus_L=yes
8888       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8889         # Neither direct hardcoding nor static linking is supported with a
8890         # broken collect2.
8891         hardcode_direct=unsupported
8892       fi
8893       ;;
8894
8895     aix[4-9]*)
8896       if test "$host_cpu" = ia64; then
8897         # On IA64, the linker does run time linking by default, so we don't
8898         # have to do anything special.
8899         aix_use_runtimelinking=no
8900         exp_sym_flag='-Bexport'
8901         no_entry_flag=""
8902       else
8903         # If we're using GNU nm, then we don't want the "-C" option.
8904         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8905         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8906           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8907         else
8908           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'
8909         fi
8910         aix_use_runtimelinking=no
8911
8912         # Test if we are trying to use run time linking or normal
8913         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8914         # need to do runtime linking.
8915         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8916           for ld_flag in $LDFLAGS; do
8917           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8918             aix_use_runtimelinking=yes
8919             break
8920           fi
8921           done
8922           ;;
8923         esac
8924
8925         exp_sym_flag='-bexport'
8926         no_entry_flag='-bnoentry'
8927       fi
8928
8929       # When large executables or shared objects are built, AIX ld can
8930       # have problems creating the table of contents.  If linking a library
8931       # or program results in "error TOC overflow" add -mminimal-toc to
8932       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8933       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8934
8935       archive_cmds=''
8936       hardcode_direct=yes
8937       hardcode_direct_absolute=yes
8938       hardcode_libdir_separator=':'
8939       link_all_deplibs=yes
8940       file_list_spec='${wl}-f,'
8941
8942       if test "$GCC" = yes; then
8943         case $host_os in aix4.[012]|aix4.[012].*)
8944         # We only want to do this on AIX 4.2 and lower, the check
8945         # below for broken collect2 doesn't work under 4.3+
8946           collect2name=`${CC} -print-prog-name=collect2`
8947           if test -f "$collect2name" &&
8948            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8949           then
8950           # We have reworked collect2
8951           :
8952           else
8953           # We have old collect2
8954           hardcode_direct=unsupported
8955           # It fails to find uninstalled libraries when the uninstalled
8956           # path is not listed in the libpath.  Setting hardcode_minus_L
8957           # to unsupported forces relinking
8958           hardcode_minus_L=yes
8959           hardcode_libdir_flag_spec='-L$libdir'
8960           hardcode_libdir_separator=
8961           fi
8962           ;;
8963         esac
8964         shared_flag='-shared'
8965         if test "$aix_use_runtimelinking" = yes; then
8966           shared_flag="$shared_flag "'${wl}-G'
8967         fi
8968       else
8969         # not using gcc
8970         if test "$host_cpu" = ia64; then
8971         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8972         # chokes on -Wl,-G. The following line is correct:
8973           shared_flag='-G'
8974         else
8975           if test "$aix_use_runtimelinking" = yes; then
8976             shared_flag='${wl}-G'
8977           else
8978             shared_flag='${wl}-bM:SRE'
8979           fi
8980         fi
8981       fi
8982
8983       export_dynamic_flag_spec='${wl}-bexpall'
8984       # It seems that -bexpall does not export symbols beginning with
8985       # underscore (_), so it is better to generate a list of symbols to export.
8986       always_export_symbols=yes
8987       if test "$aix_use_runtimelinking" = yes; then
8988         # Warning - without using the other runtime loading flags (-brtl),
8989         # -berok will link without error, but may produce a broken library.
8990         allow_undefined_flag='-berok'
8991         # Determine the default libpath from the value encoded in an
8992         # empty executable.
8993         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8994 /* end confdefs.h.  */
8995
8996 int
8997 main ()
8998 {
8999
9000   ;
9001   return 0;
9002 }
9003 _ACEOF
9004 if ac_fn_c_try_link "$LINENO"; then :
9005
9006 lt_aix_libpath_sed='
9007     /Import File Strings/,/^$/ {
9008         /^0/ {
9009             s/^0  *\(.*\)$/\1/
9010             p
9011         }
9012     }'
9013 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9014 # Check for a 64-bit object if we didn't find anything.
9015 if test -z "$aix_libpath"; then
9016   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9017 fi
9018 fi
9019 rm -f core conftest.err conftest.$ac_objext \
9020     conftest$ac_exeext conftest.$ac_ext
9021 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9022
9023         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9024         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9025       else
9026         if test "$host_cpu" = ia64; then
9027           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9028           allow_undefined_flag="-z nodefs"
9029           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"
9030         else
9031          # Determine the default libpath from the value encoded in an
9032          # empty executable.
9033          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9034 /* end confdefs.h.  */
9035
9036 int
9037 main ()
9038 {
9039
9040   ;
9041   return 0;
9042 }
9043 _ACEOF
9044 if ac_fn_c_try_link "$LINENO"; then :
9045
9046 lt_aix_libpath_sed='
9047     /Import File Strings/,/^$/ {
9048         /^0/ {
9049             s/^0  *\(.*\)$/\1/
9050             p
9051         }
9052     }'
9053 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9054 # Check for a 64-bit object if we didn't find anything.
9055 if test -z "$aix_libpath"; then
9056   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9057 fi
9058 fi
9059 rm -f core conftest.err conftest.$ac_objext \
9060     conftest$ac_exeext conftest.$ac_ext
9061 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9062
9063          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9064           # Warning - without using the other run time loading flags,
9065           # -berok will link without error, but may produce a broken library.
9066           no_undefined_flag=' ${wl}-bernotok'
9067           allow_undefined_flag=' ${wl}-berok'
9068           # Exported symbols can be pulled into shared objects from archives
9069           whole_archive_flag_spec='$convenience'
9070           archive_cmds_need_lc=yes
9071           # This is similar to how AIX traditionally builds its shared libraries.
9072           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'
9073         fi
9074       fi
9075       ;;
9076
9077     amigaos*)
9078       case $host_cpu in
9079       powerpc)
9080             # see comment about AmigaOS4 .so support
9081             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9082             archive_expsym_cmds=''
9083         ;;
9084       m68k)
9085             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)'
9086             hardcode_libdir_flag_spec='-L$libdir'
9087             hardcode_minus_L=yes
9088         ;;
9089       esac
9090       ;;
9091
9092     bsdi[45]*)
9093       export_dynamic_flag_spec=-rdynamic
9094       ;;
9095
9096     cygwin* | mingw* | pw32* | cegcc*)
9097       # When not using gcc, we currently assume that we are using
9098       # Microsoft Visual C++.
9099       # hardcode_libdir_flag_spec is actually meaningless, as there is
9100       # no search path for DLLs.
9101       hardcode_libdir_flag_spec=' '
9102       allow_undefined_flag=unsupported
9103       # Tell ltmain to make .lib files, not .a files.
9104       libext=lib
9105       # Tell ltmain to make .dll files, not .so files.
9106       shrext_cmds=".dll"
9107       # FIXME: Setting linknames here is a bad hack.
9108       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9109       # The linker will automatically build a .lib file if we build a DLL.
9110       old_archive_from_new_cmds='true'
9111       # FIXME: Should let the user specify the lib program.
9112       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9113       fix_srcfile_path='`cygpath -w "$srcfile"`'
9114       enable_shared_with_static_runtimes=yes
9115       ;;
9116
9117     darwin* | rhapsody*)
9118
9119
9120   archive_cmds_need_lc=no
9121   hardcode_direct=no
9122   hardcode_automatic=yes
9123   hardcode_shlibpath_var=unsupported
9124   whole_archive_flag_spec=''
9125   link_all_deplibs=yes
9126   allow_undefined_flag="$_lt_dar_allow_undefined"
9127   case $cc_basename in
9128      ifort*) _lt_dar_can_shared=yes ;;
9129      *) _lt_dar_can_shared=$GCC ;;
9130   esac
9131   if test "$_lt_dar_can_shared" = "yes"; then
9132     output_verbose_link_cmd=echo
9133     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9134     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9135     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}"
9136     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}"
9137
9138   else
9139   ld_shlibs=no
9140   fi
9141
9142       ;;
9143
9144     dgux*)
9145       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9146       hardcode_libdir_flag_spec='-L$libdir'
9147       hardcode_shlibpath_var=no
9148       ;;
9149
9150     freebsd1*)
9151       ld_shlibs=no
9152       ;;
9153
9154     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9155     # support.  Future versions do this automatically, but an explicit c++rt0.o
9156     # does not break anything, and helps significantly (at the cost of a little
9157     # extra space).
9158     freebsd2.2*)
9159       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9160       hardcode_libdir_flag_spec='-R$libdir'
9161       hardcode_direct=yes
9162       hardcode_shlibpath_var=no
9163       ;;
9164
9165     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9166     freebsd2*)
9167       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9168       hardcode_direct=yes
9169       hardcode_minus_L=yes
9170       hardcode_shlibpath_var=no
9171       ;;
9172
9173     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9174     freebsd* | dragonfly*)
9175       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9176       hardcode_libdir_flag_spec='-R$libdir'
9177       hardcode_direct=yes
9178       hardcode_shlibpath_var=no
9179       ;;
9180
9181     hpux9*)
9182       if test "$GCC" = yes; then
9183         archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9184       else
9185         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'
9186       fi
9187       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9188       hardcode_libdir_separator=:
9189       hardcode_direct=yes
9190
9191       # hardcode_minus_L: Not really in the search PATH,
9192       # but as the default location of the library.
9193       hardcode_minus_L=yes
9194       export_dynamic_flag_spec='${wl}-E'
9195       ;;
9196
9197     hpux10*)
9198       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9199         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9200       else
9201         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9202       fi
9203       if test "$with_gnu_ld" = no; then
9204         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9205         hardcode_libdir_flag_spec_ld='+b $libdir'
9206         hardcode_libdir_separator=:
9207         hardcode_direct=yes
9208         hardcode_direct_absolute=yes
9209         export_dynamic_flag_spec='${wl}-E'
9210         # hardcode_minus_L: Not really in the search PATH,
9211         # but as the default location of the library.
9212         hardcode_minus_L=yes
9213       fi
9214       ;;
9215
9216     hpux11*)
9217       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9218         case $host_cpu in
9219         hppa*64*)
9220           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9221           ;;
9222         ia64*)
9223           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9224           ;;
9225         *)
9226           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9227           ;;
9228         esac
9229       else
9230         case $host_cpu in
9231         hppa*64*)
9232           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9233           ;;
9234         ia64*)
9235           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9236           ;;
9237         *)
9238           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9239           ;;
9240         esac
9241       fi
9242       if test "$with_gnu_ld" = no; then
9243         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9244         hardcode_libdir_separator=:
9245
9246         case $host_cpu in
9247         hppa*64*|ia64*)
9248           hardcode_direct=no
9249           hardcode_shlibpath_var=no
9250           ;;
9251         *)
9252           hardcode_direct=yes
9253           hardcode_direct_absolute=yes
9254           export_dynamic_flag_spec='${wl}-E'
9255
9256           # hardcode_minus_L: Not really in the search PATH,
9257           # but as the default location of the library.
9258           hardcode_minus_L=yes
9259           ;;
9260         esac
9261       fi
9262       ;;
9263
9264     irix5* | irix6* | nonstopux*)
9265       if test "$GCC" = yes; then
9266         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9267         # Try to use the -exported_symbol ld option, if it does not
9268         # work, assume that -exports_file does not work either and
9269         # implicitly export all symbols.
9270         save_LDFLAGS="$LDFLAGS"
9271         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9272         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9273 /* end confdefs.h.  */
9274 int foo (void) { return 0; }
9275 _ACEOF
9276 if ac_fn_c_try_link "$LINENO"; then :
9277
9278           archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9279
9280 fi
9281 rm -f core conftest.err conftest.$ac_objext \
9282     conftest$ac_exeext conftest.$ac_ext
9283         LDFLAGS="$save_LDFLAGS"
9284       else
9285         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9286         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9287       fi
9288       archive_cmds_need_lc='no'
9289       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9290       hardcode_libdir_separator=:
9291       inherit_rpath=yes
9292       link_all_deplibs=yes
9293       ;;
9294
9295     netbsd*)
9296       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9297         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9298       else
9299         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9300       fi
9301       hardcode_libdir_flag_spec='-R$libdir'
9302       hardcode_direct=yes
9303       hardcode_shlibpath_var=no
9304       ;;
9305
9306     newsos6)
9307       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9308       hardcode_direct=yes
9309       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9310       hardcode_libdir_separator=:
9311       hardcode_shlibpath_var=no
9312       ;;
9313
9314     *nto* | *qnx*)
9315       ;;
9316
9317     openbsd*)
9318       if test -f /usr/libexec/ld.so; then
9319         hardcode_direct=yes
9320         hardcode_shlibpath_var=no
9321         hardcode_direct_absolute=yes
9322         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9323           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9324           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9325           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9326           export_dynamic_flag_spec='${wl}-E'
9327         else
9328           case $host_os in
9329            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9330              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9331              hardcode_libdir_flag_spec='-R$libdir'
9332              ;;
9333            *)
9334              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9335              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9336              ;;
9337           esac
9338         fi
9339       else
9340         ld_shlibs=no
9341       fi
9342       ;;
9343
9344     os2*)
9345       hardcode_libdir_flag_spec='-L$libdir'
9346       hardcode_minus_L=yes
9347       allow_undefined_flag=unsupported
9348       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'
9349       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9350       ;;
9351
9352     osf3*)
9353       if test "$GCC" = yes; then
9354         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9355         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9356       else
9357         allow_undefined_flag=' -expect_unresolved \*'
9358         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9359       fi
9360       archive_cmds_need_lc='no'
9361       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9362       hardcode_libdir_separator=:
9363       ;;
9364
9365     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9366       if test "$GCC" = yes; then
9367         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9368         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9369         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9370       else
9371         allow_undefined_flag=' -expect_unresolved \*'
9372         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9373         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~
9374         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9375
9376         # Both c and cxx compiler support -rpath directly
9377         hardcode_libdir_flag_spec='-rpath $libdir'
9378       fi
9379       archive_cmds_need_lc='no'
9380       hardcode_libdir_separator=:
9381       ;;
9382
9383     solaris*)
9384       no_undefined_flag=' -z defs'
9385       if test "$GCC" = yes; then
9386         wlarc='${wl}'
9387         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9388         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9389           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9390       else
9391         case `$CC -V 2>&1` in
9392         *"Compilers 5.0"*)
9393           wlarc=''
9394           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9395           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9396           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9397           ;;
9398         *)
9399           wlarc='${wl}'
9400           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9401           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9402           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9403           ;;
9404         esac
9405       fi
9406       hardcode_libdir_flag_spec='-R$libdir'
9407       hardcode_shlibpath_var=no
9408       case $host_os in
9409       solaris2.[0-5] | solaris2.[0-5].*) ;;
9410       *)
9411         # The compiler driver will combine and reorder linker options,
9412         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9413         # but is careful enough not to reorder.
9414         # Supported since Solaris 2.6 (maybe 2.5.1?)
9415         if test "$GCC" = yes; then
9416           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9417         else
9418           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9419         fi
9420         ;;
9421       esac
9422       link_all_deplibs=yes
9423       ;;
9424
9425     sunos4*)
9426       if test "x$host_vendor" = xsequent; then
9427         # Use $CC to link under sequent, because it throws in some extra .o
9428         # files that make .init and .fini sections work.
9429         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9430       else
9431         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9432       fi
9433       hardcode_libdir_flag_spec='-L$libdir'
9434       hardcode_direct=yes
9435       hardcode_minus_L=yes
9436       hardcode_shlibpath_var=no
9437       ;;
9438
9439     sysv4)
9440       case $host_vendor in
9441         sni)
9442           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9443           hardcode_direct=yes # is this really true???
9444         ;;
9445         siemens)
9446           ## LD is ld it makes a PLAMLIB
9447           ## CC just makes a GrossModule.
9448           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9449           reload_cmds='$CC -r -o $output$reload_objs'
9450           hardcode_direct=no
9451         ;;
9452         motorola)
9453           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9454           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9455         ;;
9456       esac
9457       runpath_var='LD_RUN_PATH'
9458       hardcode_shlibpath_var=no
9459       ;;
9460
9461     sysv4.3*)
9462       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9463       hardcode_shlibpath_var=no
9464       export_dynamic_flag_spec='-Bexport'
9465       ;;
9466
9467     sysv4*MP*)
9468       if test -d /usr/nec; then
9469         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9470         hardcode_shlibpath_var=no
9471         runpath_var=LD_RUN_PATH
9472         hardcode_runpath_var=yes
9473         ld_shlibs=yes
9474       fi
9475       ;;
9476
9477     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9478       no_undefined_flag='${wl}-z,text'
9479       archive_cmds_need_lc=no
9480       hardcode_shlibpath_var=no
9481       runpath_var='LD_RUN_PATH'
9482
9483       if test "$GCC" = yes; then
9484         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9485         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9486       else
9487         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9488         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9489       fi
9490       ;;
9491
9492     sysv5* | sco3.2v5* | sco5v6*)
9493       # Note: We can NOT use -z defs as we might desire, because we do not
9494       # link with -lc, and that would cause any symbols used from libc to
9495       # always be unresolved, which means just about no library would
9496       # ever link correctly.  If we're not using GNU ld we use -z text
9497       # though, which does catch some bad symbols but isn't as heavy-handed
9498       # as -z defs.
9499       no_undefined_flag='${wl}-z,text'
9500       allow_undefined_flag='${wl}-z,nodefs'
9501       archive_cmds_need_lc=no
9502       hardcode_shlibpath_var=no
9503       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9504       hardcode_libdir_separator=':'
9505       link_all_deplibs=yes
9506       export_dynamic_flag_spec='${wl}-Bexport'
9507       runpath_var='LD_RUN_PATH'
9508
9509       if test "$GCC" = yes; then
9510         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9511         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9512       else
9513         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9514         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9515       fi
9516       ;;
9517
9518     uts4*)
9519       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9520       hardcode_libdir_flag_spec='-L$libdir'
9521       hardcode_shlibpath_var=no
9522       ;;
9523
9524     *)
9525       ld_shlibs=no
9526       ;;
9527     esac
9528
9529     if test x$host_vendor = xsni; then
9530       case $host in
9531       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9532         export_dynamic_flag_spec='${wl}-Blargedynsym'
9533         ;;
9534       esac
9535     fi
9536   fi
9537
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9539 $as_echo "$ld_shlibs" >&6; }
9540 test "$ld_shlibs" = no && can_build_shared=no
9541
9542 with_gnu_ld=$with_gnu_ld
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558 #
9559 # Do we need to explicitly link libc?
9560 #
9561 case "x$archive_cmds_need_lc" in
9562 x|xyes)
9563   # Assume -lc should be added
9564   archive_cmds_need_lc=yes
9565
9566   if test "$enable_shared" = yes && test "$GCC" = yes; then
9567     case $archive_cmds in
9568     *'~'*)
9569       # FIXME: we may have to deal with multi-command sequences.
9570       ;;
9571     '$CC '*)
9572       # Test whether the compiler implicitly links with -lc since on some
9573       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9574       # to ld, don't add -lc before -lgcc.
9575       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9576 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9577       $RM conftest*
9578       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9579
9580       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9581   (eval $ac_compile) 2>&5
9582   ac_status=$?
9583   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9584   test $ac_status = 0; } 2>conftest.err; then
9585         soname=conftest
9586         lib=conftest
9587         libobjs=conftest.$ac_objext
9588         deplibs=
9589         wl=$lt_prog_compiler_wl
9590         pic_flag=$lt_prog_compiler_pic
9591         compiler_flags=-v
9592         linker_flags=-v
9593         verstring=
9594         output_objdir=.
9595         libname=conftest
9596         lt_save_allow_undefined_flag=$allow_undefined_flag
9597         allow_undefined_flag=
9598         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9599   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9600   ac_status=$?
9601   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9602   test $ac_status = 0; }
9603         then
9604           archive_cmds_need_lc=no
9605         else
9606           archive_cmds_need_lc=yes
9607         fi
9608         allow_undefined_flag=$lt_save_allow_undefined_flag
9609       else
9610         cat conftest.err 1>&5
9611       fi
9612       $RM conftest*
9613       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9614 $as_echo "$archive_cmds_need_lc" >&6; }
9615       ;;
9616     esac
9617   fi
9618   ;;
9619 esac
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9778 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9779
9780 if test "$GCC" = yes; then
9781   case $host_os in
9782     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9783     *) lt_awk_arg="/^libraries:/" ;;
9784   esac
9785   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9786   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9787     # if the path contains ";" then we assume it to be the separator
9788     # otherwise default to the standard path separator (i.e. ":") - it is
9789     # assumed that no part of a normal pathname contains ";" but that should
9790     # okay in the real world where ";" in dirpaths is itself problematic.
9791     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9792   else
9793     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9794   fi
9795   # Ok, now we have the path, separated by spaces, we can step through it
9796   # and add multilib dir if necessary.
9797   lt_tmp_lt_search_path_spec=
9798   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9799   for lt_sys_path in $lt_search_path_spec; do
9800     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9801       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9802     else
9803       test -d "$lt_sys_path" && \
9804         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9805     fi
9806   done
9807   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9808 BEGIN {RS=" "; FS="/|\n";} {
9809   lt_foo="";
9810   lt_count=0;
9811   for (lt_i = NF; lt_i > 0; lt_i--) {
9812     if ($lt_i != "" && $lt_i != ".") {
9813       if ($lt_i == "..") {
9814         lt_count++;
9815       } else {
9816         if (lt_count == 0) {
9817           lt_foo="/" $lt_i lt_foo;
9818         } else {
9819           lt_count--;
9820         }
9821       }
9822     }
9823   }
9824   if (lt_foo != "") { lt_freq[lt_foo]++; }
9825   if (lt_freq[lt_foo] == 1) { print lt_foo; }
9826 }'`
9827   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9828 else
9829   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9830 fi
9831 library_names_spec=
9832 libname_spec='lib$name'
9833 soname_spec=
9834 shrext_cmds=".so"
9835 postinstall_cmds=
9836 postuninstall_cmds=
9837 finish_cmds=
9838 finish_eval=
9839 shlibpath_var=
9840 shlibpath_overrides_runpath=unknown
9841 version_type=none
9842 dynamic_linker="$host_os ld.so"
9843 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9844 need_lib_prefix=unknown
9845 hardcode_into_libs=no
9846
9847 # when you set need_version to no, make sure it does not cause -set_version
9848 # flags to be left without arguments
9849 need_version=unknown
9850
9851 case $host_os in
9852 aix3*)
9853   version_type=linux
9854   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9855   shlibpath_var=LIBPATH
9856
9857   # AIX 3 has no versioning support, so we append a major version to the name.
9858   soname_spec='${libname}${release}${shared_ext}$major'
9859   ;;
9860
9861 aix[4-9]*)
9862   version_type=linux
9863   need_lib_prefix=no
9864   need_version=no
9865   hardcode_into_libs=yes
9866   if test "$host_cpu" = ia64; then
9867     # AIX 5 supports IA64
9868     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9869     shlibpath_var=LD_LIBRARY_PATH
9870   else
9871     # With GCC up to 2.95.x, collect2 would create an import file
9872     # for dependence libraries.  The import file would start with
9873     # the line `#! .'.  This would cause the generated library to
9874     # depend on `.', always an invalid library.  This was fixed in
9875     # development snapshots of GCC prior to 3.0.
9876     case $host_os in
9877       aix4 | aix4.[01] | aix4.[01].*)
9878       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9879            echo ' yes '
9880            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9881         :
9882       else
9883         can_build_shared=no
9884       fi
9885       ;;
9886     esac
9887     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9888     # soname into executable. Probably we can add versioning support to
9889     # collect2, so additional links can be useful in future.
9890     if test "$aix_use_runtimelinking" = yes; then
9891       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9892       # instead of lib<name>.a to let people know that these are not
9893       # typical AIX shared libraries.
9894       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9895     else
9896       # We preserve .a as extension for shared libraries through AIX4.2
9897       # and later when we are not doing run time linking.
9898       library_names_spec='${libname}${release}.a $libname.a'
9899       soname_spec='${libname}${release}${shared_ext}$major'
9900     fi
9901     shlibpath_var=LIBPATH
9902   fi
9903   ;;
9904
9905 amigaos*)
9906   case $host_cpu in
9907   powerpc)
9908     # Since July 2007 AmigaOS4 officially supports .so libraries.
9909     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9910     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9911     ;;
9912   m68k)
9913     library_names_spec='$libname.ixlibrary $libname.a'
9914     # Create ${libname}_ixlibrary.a entries in /sys/libs.
9915     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
9916     ;;
9917   esac
9918   ;;
9919
9920 beos*)
9921   library_names_spec='${libname}${shared_ext}'
9922   dynamic_linker="$host_os ld.so"
9923   shlibpath_var=LIBRARY_PATH
9924   ;;
9925
9926 bsdi[45]*)
9927   version_type=linux
9928   need_version=no
9929   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9930   soname_spec='${libname}${release}${shared_ext}$major'
9931   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9932   shlibpath_var=LD_LIBRARY_PATH
9933   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9934   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9935   # the default ld.so.conf also contains /usr/contrib/lib and
9936   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9937   # libtool to hard-code these into programs
9938   ;;
9939
9940 cygwin* | mingw* | pw32* | cegcc*)
9941   version_type=windows
9942   shrext_cmds=".dll"
9943   need_version=no
9944   need_lib_prefix=no
9945
9946   case $GCC,$host_os in
9947   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9948     library_names_spec='$libname.dll.a'
9949     # DLL is installed to $(libdir)/../bin by postinstall_cmds
9950     postinstall_cmds='base_file=`basename \${file}`~
9951       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9952       dldir=$destdir/`dirname \$dlpath`~
9953       test -d \$dldir || mkdir -p \$dldir~
9954       $install_prog $dir/$dlname \$dldir/$dlname~
9955       chmod a+x \$dldir/$dlname~
9956       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9957         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9958       fi'
9959     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9960       dlpath=$dir/\$dldll~
9961        $RM \$dlpath'
9962     shlibpath_overrides_runpath=yes
9963
9964     case $host_os in
9965     cygwin*)
9966       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9967       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9968       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9969       ;;
9970     mingw* | cegcc*)
9971       # MinGW DLLs use traditional 'lib' prefix
9972       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9973       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9974       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9975         # It is most probably a Windows format PATH printed by
9976         # mingw gcc, but we are running on Cygwin. Gcc prints its search
9977         # path with ; separators, and with drive letters. We can handle the
9978         # drive letters (cygwin fileutils understands them), so leave them,
9979         # especially as we might pass files found there to a mingw objdump,
9980         # which wouldn't understand a cygwinified path. Ahh.
9981         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9982       else
9983         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9984       fi
9985       ;;
9986     pw32*)
9987       # pw32 DLLs use 'pw' prefix rather than 'lib'
9988       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9989       ;;
9990     esac
9991     ;;
9992
9993   *)
9994     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9995     ;;
9996   esac
9997   dynamic_linker='Win32 ld.exe'
9998   # FIXME: first we should search . and the directory the executable is in
9999   shlibpath_var=PATH
10000   ;;
10001
10002 darwin* | rhapsody*)
10003   dynamic_linker="$host_os dyld"
10004   version_type=darwin
10005   need_lib_prefix=no
10006   need_version=no
10007   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10008   soname_spec='${libname}${release}${major}$shared_ext'
10009   shlibpath_overrides_runpath=yes
10010   shlibpath_var=DYLD_LIBRARY_PATH
10011   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10012
10013   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10014   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10015   ;;
10016
10017 dgux*)
10018   version_type=linux
10019   need_lib_prefix=no
10020   need_version=no
10021   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10022   soname_spec='${libname}${release}${shared_ext}$major'
10023   shlibpath_var=LD_LIBRARY_PATH
10024   ;;
10025
10026 freebsd1*)
10027   dynamic_linker=no
10028   ;;
10029
10030 freebsd* | dragonfly*)
10031   # DragonFly does not have aout.  When/if they implement a new
10032   # versioning mechanism, adjust this.
10033   if test -x /usr/bin/objformat; then
10034     objformat=`/usr/bin/objformat`
10035   else
10036     case $host_os in
10037     freebsd[123]*) objformat=aout ;;
10038     *) objformat=elf ;;
10039     esac
10040   fi
10041   version_type=freebsd-$objformat
10042   case $version_type in
10043     freebsd-elf*)
10044       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10045       need_version=no
10046       need_lib_prefix=no
10047       ;;
10048     freebsd-*)
10049       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10050       need_version=yes
10051       ;;
10052   esac
10053   shlibpath_var=LD_LIBRARY_PATH
10054   case $host_os in
10055   freebsd2*)
10056     shlibpath_overrides_runpath=yes
10057     ;;
10058   freebsd3.[01]* | freebsdelf3.[01]*)
10059     shlibpath_overrides_runpath=yes
10060     hardcode_into_libs=yes
10061     ;;
10062   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10063   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10064     shlibpath_overrides_runpath=no
10065     hardcode_into_libs=yes
10066     ;;
10067   *) # from 4.6 on, and DragonFly
10068     shlibpath_overrides_runpath=yes
10069     hardcode_into_libs=yes
10070     ;;
10071   esac
10072   ;;
10073
10074 gnu*)
10075   version_type=linux
10076   need_lib_prefix=no
10077   need_version=no
10078   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10079   soname_spec='${libname}${release}${shared_ext}$major'
10080   shlibpath_var=LD_LIBRARY_PATH
10081   hardcode_into_libs=yes
10082   ;;
10083
10084 hpux9* | hpux10* | hpux11*)
10085   # Give a soname corresponding to the major version so that dld.sl refuses to
10086   # link against other versions.
10087   version_type=sunos
10088   need_lib_prefix=no
10089   need_version=no
10090   case $host_cpu in
10091   ia64*)
10092     shrext_cmds='.so'
10093     hardcode_into_libs=yes
10094     dynamic_linker="$host_os dld.so"
10095     shlibpath_var=LD_LIBRARY_PATH
10096     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10097     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10098     soname_spec='${libname}${release}${shared_ext}$major'
10099     if test "X$HPUX_IA64_MODE" = X32; then
10100       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10101     else
10102       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10103     fi
10104     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10105     ;;
10106   hppa*64*)
10107     shrext_cmds='.sl'
10108     hardcode_into_libs=yes
10109     dynamic_linker="$host_os dld.sl"
10110     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10111     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10112     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10113     soname_spec='${libname}${release}${shared_ext}$major'
10114     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10115     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10116     ;;
10117   *)
10118     shrext_cmds='.sl'
10119     dynamic_linker="$host_os dld.sl"
10120     shlibpath_var=SHLIB_PATH
10121     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10122     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10123     soname_spec='${libname}${release}${shared_ext}$major'
10124     ;;
10125   esac
10126   # HP-UX runs *really* slowly unless shared libraries are mode 555.
10127   postinstall_cmds='chmod 555 $lib'
10128   ;;
10129
10130 interix[3-9]*)
10131   version_type=linux
10132   need_lib_prefix=no
10133   need_version=no
10134   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10135   soname_spec='${libname}${release}${shared_ext}$major'
10136   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10137   shlibpath_var=LD_LIBRARY_PATH
10138   shlibpath_overrides_runpath=no
10139   hardcode_into_libs=yes
10140   ;;
10141
10142 irix5* | irix6* | nonstopux*)
10143   case $host_os in
10144     nonstopux*) version_type=nonstopux ;;
10145     *)
10146         if test "$lt_cv_prog_gnu_ld" = yes; then
10147                 version_type=linux
10148         else
10149                 version_type=irix
10150         fi ;;
10151   esac
10152   need_lib_prefix=no
10153   need_version=no
10154   soname_spec='${libname}${release}${shared_ext}$major'
10155   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10156   case $host_os in
10157   irix5* | nonstopux*)
10158     libsuff= shlibsuff=
10159     ;;
10160   *)
10161     case $LD in # libtool.m4 will add one of these switches to LD
10162     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10163       libsuff= shlibsuff= libmagic=32-bit;;
10164     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10165       libsuff=32 shlibsuff=N32 libmagic=N32;;
10166     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10167       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10168     *) libsuff= shlibsuff= libmagic=never-match;;
10169     esac
10170     ;;
10171   esac
10172   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10173   shlibpath_overrides_runpath=no
10174   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10175   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10176   hardcode_into_libs=yes
10177   ;;
10178
10179 # No shared lib support for Linux oldld, aout, or coff.
10180 linux*oldld* | linux*aout* | linux*coff*)
10181   dynamic_linker=no
10182   ;;
10183
10184 # This must be Linux ELF.
10185 linux* | k*bsd*-gnu)
10186   version_type=linux
10187   need_lib_prefix=no
10188   need_version=no
10189   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10190   soname_spec='${libname}${release}${shared_ext}$major'
10191   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10192   shlibpath_var=LD_LIBRARY_PATH
10193   shlibpath_overrides_runpath=no
10194   # Some binutils ld are patched to set DT_RUNPATH
10195   save_LDFLAGS=$LDFLAGS
10196   save_libdir=$libdir
10197   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10198        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10200 /* end confdefs.h.  */
10201
10202 int
10203 main ()
10204 {
10205
10206   ;
10207   return 0;
10208 }
10209 _ACEOF
10210 if ac_fn_c_try_link "$LINENO"; then :
10211   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10212   shlibpath_overrides_runpath=yes
10213 fi
10214 fi
10215 rm -f core conftest.err conftest.$ac_objext \
10216     conftest$ac_exeext conftest.$ac_ext
10217   LDFLAGS=$save_LDFLAGS
10218   libdir=$save_libdir
10219
10220   # This implies no fast_install, which is unacceptable.
10221   # Some rework will be needed to allow for fast_install
10222   # before this can be enabled.
10223   hardcode_into_libs=yes
10224
10225   # Append ld.so.conf contents to the search path
10226   if test -f /etc/ld.so.conf; then
10227     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;/^$/d' | tr '\n' ' '`
10228     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10229   fi
10230
10231   # We used to test for /lib/ld.so.1 and disable shared libraries on
10232   # powerpc, because MkLinux only supported shared libraries with the
10233   # GNU dynamic linker.  Since this was broken with cross compilers,
10234   # most powerpc-linux boxes support dynamic linking these days and
10235   # people can always --disable-shared, the test was removed, and we
10236   # assume the GNU/Linux dynamic linker is in use.
10237   dynamic_linker='GNU/Linux ld.so'
10238   ;;
10239
10240 netbsd*)
10241   version_type=sunos
10242   need_lib_prefix=no
10243   need_version=no
10244   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10245     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10246     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10247     dynamic_linker='NetBSD (a.out) ld.so'
10248   else
10249     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10250     soname_spec='${libname}${release}${shared_ext}$major'
10251     dynamic_linker='NetBSD ld.elf_so'
10252   fi
10253   shlibpath_var=LD_LIBRARY_PATH
10254   shlibpath_overrides_runpath=yes
10255   hardcode_into_libs=yes
10256   ;;
10257
10258 newsos6)
10259   version_type=linux
10260   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10261   shlibpath_var=LD_LIBRARY_PATH
10262   shlibpath_overrides_runpath=yes
10263   ;;
10264
10265 *nto* | *qnx*)
10266   version_type=qnx
10267   need_lib_prefix=no
10268   need_version=no
10269   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10270   soname_spec='${libname}${release}${shared_ext}$major'
10271   shlibpath_var=LD_LIBRARY_PATH
10272   shlibpath_overrides_runpath=no
10273   hardcode_into_libs=yes
10274   dynamic_linker='ldqnx.so'
10275   ;;
10276
10277 openbsd*)
10278   version_type=sunos
10279   sys_lib_dlsearch_path_spec="/usr/lib"
10280   need_lib_prefix=no
10281   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10282   case $host_os in
10283     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10284     *)                          need_version=no  ;;
10285   esac
10286   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10287   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10288   shlibpath_var=LD_LIBRARY_PATH
10289   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10290     case $host_os in
10291       openbsd2.[89] | openbsd2.[89].*)
10292         shlibpath_overrides_runpath=no
10293         ;;
10294       *)
10295         shlibpath_overrides_runpath=yes
10296         ;;
10297       esac
10298   else
10299     shlibpath_overrides_runpath=yes
10300   fi
10301   ;;
10302
10303 os2*)
10304   libname_spec='$name'
10305   shrext_cmds=".dll"
10306   need_lib_prefix=no
10307   library_names_spec='$libname${shared_ext} $libname.a'
10308   dynamic_linker='OS/2 ld.exe'
10309   shlibpath_var=LIBPATH
10310   ;;
10311
10312 osf3* | osf4* | osf5*)
10313   version_type=osf
10314   need_lib_prefix=no
10315   need_version=no
10316   soname_spec='${libname}${release}${shared_ext}$major'
10317   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10318   shlibpath_var=LD_LIBRARY_PATH
10319   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10320   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10321   ;;
10322
10323 rdos*)
10324   dynamic_linker=no
10325   ;;
10326
10327 solaris*)
10328   version_type=linux
10329   need_lib_prefix=no
10330   need_version=no
10331   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10332   soname_spec='${libname}${release}${shared_ext}$major'
10333   shlibpath_var=LD_LIBRARY_PATH
10334   shlibpath_overrides_runpath=yes
10335   hardcode_into_libs=yes
10336   # ldd complains unless libraries are executable
10337   postinstall_cmds='chmod +x $lib'
10338   ;;
10339
10340 sunos4*)
10341   version_type=sunos
10342   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10343   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10344   shlibpath_var=LD_LIBRARY_PATH
10345   shlibpath_overrides_runpath=yes
10346   if test "$with_gnu_ld" = yes; then
10347     need_lib_prefix=no
10348   fi
10349   need_version=yes
10350   ;;
10351
10352 sysv4 | sysv4.3*)
10353   version_type=linux
10354   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10355   soname_spec='${libname}${release}${shared_ext}$major'
10356   shlibpath_var=LD_LIBRARY_PATH
10357   case $host_vendor in
10358     sni)
10359       shlibpath_overrides_runpath=no
10360       need_lib_prefix=no
10361       runpath_var=LD_RUN_PATH
10362       ;;
10363     siemens)
10364       need_lib_prefix=no
10365       ;;
10366     motorola)
10367       need_lib_prefix=no
10368       need_version=no
10369       shlibpath_overrides_runpath=no
10370       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10371       ;;
10372   esac
10373   ;;
10374
10375 sysv4*MP*)
10376   if test -d /usr/nec ;then
10377     version_type=linux
10378     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10379     soname_spec='$libname${shared_ext}.$major'
10380     shlibpath_var=LD_LIBRARY_PATH
10381   fi
10382   ;;
10383
10384 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10385   version_type=freebsd-elf
10386   need_lib_prefix=no
10387   need_version=no
10388   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10389   soname_spec='${libname}${release}${shared_ext}$major'
10390   shlibpath_var=LD_LIBRARY_PATH
10391   shlibpath_overrides_runpath=yes
10392   hardcode_into_libs=yes
10393   if test "$with_gnu_ld" = yes; then
10394     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10395   else
10396     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10397     case $host_os in
10398       sco3.2v5*)
10399         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10400         ;;
10401     esac
10402   fi
10403   sys_lib_dlsearch_path_spec='/usr/lib'
10404   ;;
10405
10406 tpf*)
10407   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10408   version_type=linux
10409   need_lib_prefix=no
10410   need_version=no
10411   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10412   shlibpath_var=LD_LIBRARY_PATH
10413   shlibpath_overrides_runpath=no
10414   hardcode_into_libs=yes
10415   ;;
10416
10417 uts4*)
10418   version_type=linux
10419   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10420   soname_spec='${libname}${release}${shared_ext}$major'
10421   shlibpath_var=LD_LIBRARY_PATH
10422   ;;
10423
10424 *)
10425   dynamic_linker=no
10426   ;;
10427 esac
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10429 $as_echo "$dynamic_linker" >&6; }
10430 test "$dynamic_linker" = no && can_build_shared=no
10431
10432 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10433 if test "$GCC" = yes; then
10434   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10435 fi
10436
10437 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10438   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10439 fi
10440 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10441   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10442 fi
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10531 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10532 hardcode_action=
10533 if test -n "$hardcode_libdir_flag_spec" ||
10534    test -n "$runpath_var" ||
10535    test "X$hardcode_automatic" = "Xyes" ; then
10536
10537   # We can hardcode non-existent directories.
10538   if test "$hardcode_direct" != no &&
10539      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10540      # have to relink, otherwise we might link with an installed library
10541      # when we should be linking with a yet-to-be-installed one
10542      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10543      test "$hardcode_minus_L" != no; then
10544     # Linking always hardcodes the temporary library directory.
10545     hardcode_action=relink
10546   else
10547     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10548     hardcode_action=immediate
10549   fi
10550 else
10551   # We cannot hardcode anything, or else we can only hardcode existing
10552   # directories.
10553   hardcode_action=unsupported
10554 fi
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10556 $as_echo "$hardcode_action" >&6; }
10557
10558 if test "$hardcode_action" = relink ||
10559    test "$inherit_rpath" = yes; then
10560   # Fast installation is not supported
10561   enable_fast_install=no
10562 elif test "$shlibpath_overrides_runpath" = yes ||
10563      test "$enable_shared" = no; then
10564   # Fast installation is not necessary
10565   enable_fast_install=needless
10566 fi
10567
10568
10569
10570
10571
10572
10573   if test "x$enable_dlopen" != xyes; then
10574   enable_dlopen=unknown
10575   enable_dlopen_self=unknown
10576   enable_dlopen_self_static=unknown
10577 else
10578   lt_cv_dlopen=no
10579   lt_cv_dlopen_libs=
10580
10581   case $host_os in
10582   beos*)
10583     lt_cv_dlopen="load_add_on"
10584     lt_cv_dlopen_libs=
10585     lt_cv_dlopen_self=yes
10586     ;;
10587
10588   mingw* | pw32* | cegcc*)
10589     lt_cv_dlopen="LoadLibrary"
10590     lt_cv_dlopen_libs=
10591     ;;
10592
10593   cygwin*)
10594     lt_cv_dlopen="dlopen"
10595     lt_cv_dlopen_libs=
10596     ;;
10597
10598   darwin*)
10599   # if libdl is installed we need to link against it
10600     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10601 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10602 if ${ac_cv_lib_dl_dlopen+:} false; then :
10603   $as_echo_n "(cached) " >&6
10604 else
10605   ac_check_lib_save_LIBS=$LIBS
10606 LIBS="-ldl  $LIBS"
10607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10608 /* end confdefs.h.  */
10609
10610 /* Override any GCC internal prototype to avoid an error.
10611    Use char because int might match the return type of a GCC
10612    builtin and then its argument prototype would still apply.  */
10613 #ifdef __cplusplus
10614 extern "C"
10615 #endif
10616 char dlopen ();
10617 int
10618 main ()
10619 {
10620 return dlopen ();
10621   ;
10622   return 0;
10623 }
10624 _ACEOF
10625 if ac_fn_c_try_link "$LINENO"; then :
10626   ac_cv_lib_dl_dlopen=yes
10627 else
10628   ac_cv_lib_dl_dlopen=no
10629 fi
10630 rm -f core conftest.err conftest.$ac_objext \
10631     conftest$ac_exeext conftest.$ac_ext
10632 LIBS=$ac_check_lib_save_LIBS
10633 fi
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10635 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10636 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10637   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10638 else
10639
10640     lt_cv_dlopen="dyld"
10641     lt_cv_dlopen_libs=
10642     lt_cv_dlopen_self=yes
10643
10644 fi
10645
10646     ;;
10647
10648   *)
10649     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10650 if test "x$ac_cv_func_shl_load" = xyes; then :
10651   lt_cv_dlopen="shl_load"
10652 else
10653   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10654 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10655 if ${ac_cv_lib_dld_shl_load+:} false; then :
10656   $as_echo_n "(cached) " >&6
10657 else
10658   ac_check_lib_save_LIBS=$LIBS
10659 LIBS="-ldld  $LIBS"
10660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10661 /* end confdefs.h.  */
10662
10663 /* Override any GCC internal prototype to avoid an error.
10664    Use char because int might match the return type of a GCC
10665    builtin and then its argument prototype would still apply.  */
10666 #ifdef __cplusplus
10667 extern "C"
10668 #endif
10669 char shl_load ();
10670 int
10671 main ()
10672 {
10673 return shl_load ();
10674   ;
10675   return 0;
10676 }
10677 _ACEOF
10678 if ac_fn_c_try_link "$LINENO"; then :
10679   ac_cv_lib_dld_shl_load=yes
10680 else
10681   ac_cv_lib_dld_shl_load=no
10682 fi
10683 rm -f core conftest.err conftest.$ac_objext \
10684     conftest$ac_exeext conftest.$ac_ext
10685 LIBS=$ac_check_lib_save_LIBS
10686 fi
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10688 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10689 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10690   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10691 else
10692   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10693 if test "x$ac_cv_func_dlopen" = xyes; then :
10694   lt_cv_dlopen="dlopen"
10695 else
10696   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10697 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10698 if ${ac_cv_lib_dl_dlopen+:} false; then :
10699   $as_echo_n "(cached) " >&6
10700 else
10701   ac_check_lib_save_LIBS=$LIBS
10702 LIBS="-ldl  $LIBS"
10703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10704 /* end confdefs.h.  */
10705
10706 /* Override any GCC internal prototype to avoid an error.
10707    Use char because int might match the return type of a GCC
10708    builtin and then its argument prototype would still apply.  */
10709 #ifdef __cplusplus
10710 extern "C"
10711 #endif
10712 char dlopen ();
10713 int
10714 main ()
10715 {
10716 return dlopen ();
10717   ;
10718   return 0;
10719 }
10720 _ACEOF
10721 if ac_fn_c_try_link "$LINENO"; then :
10722   ac_cv_lib_dl_dlopen=yes
10723 else
10724   ac_cv_lib_dl_dlopen=no
10725 fi
10726 rm -f core conftest.err conftest.$ac_objext \
10727     conftest$ac_exeext conftest.$ac_ext
10728 LIBS=$ac_check_lib_save_LIBS
10729 fi
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10731 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10732 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10733   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10734 else
10735   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10736 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10737 if ${ac_cv_lib_svld_dlopen+:} false; then :
10738   $as_echo_n "(cached) " >&6
10739 else
10740   ac_check_lib_save_LIBS=$LIBS
10741 LIBS="-lsvld  $LIBS"
10742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10743 /* end confdefs.h.  */
10744
10745 /* Override any GCC internal prototype to avoid an error.
10746    Use char because int might match the return type of a GCC
10747    builtin and then its argument prototype would still apply.  */
10748 #ifdef __cplusplus
10749 extern "C"
10750 #endif
10751 char dlopen ();
10752 int
10753 main ()
10754 {
10755 return dlopen ();
10756   ;
10757   return 0;
10758 }
10759 _ACEOF
10760 if ac_fn_c_try_link "$LINENO"; then :
10761   ac_cv_lib_svld_dlopen=yes
10762 else
10763   ac_cv_lib_svld_dlopen=no
10764 fi
10765 rm -f core conftest.err conftest.$ac_objext \
10766     conftest$ac_exeext conftest.$ac_ext
10767 LIBS=$ac_check_lib_save_LIBS
10768 fi
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10770 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10771 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10772   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10773 else
10774   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10775 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10776 if ${ac_cv_lib_dld_dld_link+:} false; then :
10777   $as_echo_n "(cached) " >&6
10778 else
10779   ac_check_lib_save_LIBS=$LIBS
10780 LIBS="-ldld  $LIBS"
10781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10782 /* end confdefs.h.  */
10783
10784 /* Override any GCC internal prototype to avoid an error.
10785    Use char because int might match the return type of a GCC
10786    builtin and then its argument prototype would still apply.  */
10787 #ifdef __cplusplus
10788 extern "C"
10789 #endif
10790 char dld_link ();
10791 int
10792 main ()
10793 {
10794 return dld_link ();
10795   ;
10796   return 0;
10797 }
10798 _ACEOF
10799 if ac_fn_c_try_link "$LINENO"; then :
10800   ac_cv_lib_dld_dld_link=yes
10801 else
10802   ac_cv_lib_dld_dld_link=no
10803 fi
10804 rm -f core conftest.err conftest.$ac_objext \
10805     conftest$ac_exeext conftest.$ac_ext
10806 LIBS=$ac_check_lib_save_LIBS
10807 fi
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10809 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10810 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10811   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10812 fi
10813
10814
10815 fi
10816
10817
10818 fi
10819
10820
10821 fi
10822
10823
10824 fi
10825
10826
10827 fi
10828
10829     ;;
10830   esac
10831
10832   if test "x$lt_cv_dlopen" != xno; then
10833     enable_dlopen=yes
10834   else
10835     enable_dlopen=no
10836   fi
10837
10838   case $lt_cv_dlopen in
10839   dlopen)
10840     save_CPPFLAGS="$CPPFLAGS"
10841     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10842
10843     save_LDFLAGS="$LDFLAGS"
10844     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10845
10846     save_LIBS="$LIBS"
10847     LIBS="$lt_cv_dlopen_libs $LIBS"
10848
10849     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10850 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10851 if ${lt_cv_dlopen_self+:} false; then :
10852   $as_echo_n "(cached) " >&6
10853 else
10854           if test "$cross_compiling" = yes; then :
10855   lt_cv_dlopen_self=cross
10856 else
10857   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10858   lt_status=$lt_dlunknown
10859   cat > conftest.$ac_ext <<_LT_EOF
10860 #line 10860 "configure"
10861 #include "confdefs.h"
10862
10863 #if HAVE_DLFCN_H
10864 #include <dlfcn.h>
10865 #endif
10866
10867 #include <stdio.h>
10868
10869 #ifdef RTLD_GLOBAL
10870 #  define LT_DLGLOBAL           RTLD_GLOBAL
10871 #else
10872 #  ifdef DL_GLOBAL
10873 #    define LT_DLGLOBAL         DL_GLOBAL
10874 #  else
10875 #    define LT_DLGLOBAL         0
10876 #  endif
10877 #endif
10878
10879 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10880    find out it does not work in some platform. */
10881 #ifndef LT_DLLAZY_OR_NOW
10882 #  ifdef RTLD_LAZY
10883 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10884 #  else
10885 #    ifdef DL_LAZY
10886 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10887 #    else
10888 #      ifdef RTLD_NOW
10889 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10890 #      else
10891 #        ifdef DL_NOW
10892 #          define LT_DLLAZY_OR_NOW      DL_NOW
10893 #        else
10894 #          define LT_DLLAZY_OR_NOW      0
10895 #        endif
10896 #      endif
10897 #    endif
10898 #  endif
10899 #endif
10900
10901 void fnord() { int i=42;}
10902 int main ()
10903 {
10904   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10905   int status = $lt_dlunknown;
10906
10907   if (self)
10908     {
10909       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10910       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10911       /* dlclose (self); */
10912     }
10913   else
10914     puts (dlerror ());
10915
10916   return status;
10917 }
10918 _LT_EOF
10919   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10920   (eval $ac_link) 2>&5
10921   ac_status=$?
10922   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10923   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10924     (./conftest; exit; ) >&5 2>/dev/null
10925     lt_status=$?
10926     case x$lt_status in
10927       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10928       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10929       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10930     esac
10931   else :
10932     # compilation failed
10933     lt_cv_dlopen_self=no
10934   fi
10935 fi
10936 rm -fr conftest*
10937
10938
10939 fi
10940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10941 $as_echo "$lt_cv_dlopen_self" >&6; }
10942
10943     if test "x$lt_cv_dlopen_self" = xyes; then
10944       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10945       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10946 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10947 if ${lt_cv_dlopen_self_static+:} false; then :
10948   $as_echo_n "(cached) " >&6
10949 else
10950           if test "$cross_compiling" = yes; then :
10951   lt_cv_dlopen_self_static=cross
10952 else
10953   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10954   lt_status=$lt_dlunknown
10955   cat > conftest.$ac_ext <<_LT_EOF
10956 #line 10956 "configure"
10957 #include "confdefs.h"
10958
10959 #if HAVE_DLFCN_H
10960 #include <dlfcn.h>
10961 #endif
10962
10963 #include <stdio.h>
10964
10965 #ifdef RTLD_GLOBAL
10966 #  define LT_DLGLOBAL           RTLD_GLOBAL
10967 #else
10968 #  ifdef DL_GLOBAL
10969 #    define LT_DLGLOBAL         DL_GLOBAL
10970 #  else
10971 #    define LT_DLGLOBAL         0
10972 #  endif
10973 #endif
10974
10975 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10976    find out it does not work in some platform. */
10977 #ifndef LT_DLLAZY_OR_NOW
10978 #  ifdef RTLD_LAZY
10979 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10980 #  else
10981 #    ifdef DL_LAZY
10982 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10983 #    else
10984 #      ifdef RTLD_NOW
10985 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10986 #      else
10987 #        ifdef DL_NOW
10988 #          define LT_DLLAZY_OR_NOW      DL_NOW
10989 #        else
10990 #          define LT_DLLAZY_OR_NOW      0
10991 #        endif
10992 #      endif
10993 #    endif
10994 #  endif
10995 #endif
10996
10997 void fnord() { int i=42;}
10998 int main ()
10999 {
11000   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11001   int status = $lt_dlunknown;
11002
11003   if (self)
11004     {
11005       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11006       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11007       /* dlclose (self); */
11008     }
11009   else
11010     puts (dlerror ());
11011
11012   return status;
11013 }
11014 _LT_EOF
11015   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11016   (eval $ac_link) 2>&5
11017   ac_status=$?
11018   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11019   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11020     (./conftest; exit; ) >&5 2>/dev/null
11021     lt_status=$?
11022     case x$lt_status in
11023       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11024       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11025       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11026     esac
11027   else :
11028     # compilation failed
11029     lt_cv_dlopen_self_static=no
11030   fi
11031 fi
11032 rm -fr conftest*
11033
11034
11035 fi
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11037 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11038     fi
11039
11040     CPPFLAGS="$save_CPPFLAGS"
11041     LDFLAGS="$save_LDFLAGS"
11042     LIBS="$save_LIBS"
11043     ;;
11044   esac
11045
11046   case $lt_cv_dlopen_self in
11047   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11048   *) enable_dlopen_self=unknown ;;
11049   esac
11050
11051   case $lt_cv_dlopen_self_static in
11052   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11053   *) enable_dlopen_self_static=unknown ;;
11054   esac
11055 fi
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073 striplib=
11074 old_striplib=
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11076 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11077 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11078   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11079   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11081 $as_echo "yes" >&6; }
11082 else
11083 # FIXME - insert some real tests, host_os isn't really good enough
11084   case $host_os in
11085   darwin*)
11086     if test -n "$STRIP" ; then
11087       striplib="$STRIP -x"
11088       old_striplib="$STRIP -S"
11089       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11090 $as_echo "yes" >&6; }
11091     else
11092       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11093 $as_echo "no" >&6; }
11094     fi
11095     ;;
11096   *)
11097     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11098 $as_echo "no" >&6; }
11099     ;;
11100   esac
11101 fi
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114   # Report which library types will actually be built
11115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11116 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11118 $as_echo "$can_build_shared" >&6; }
11119
11120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11121 $as_echo_n "checking whether to build shared libraries... " >&6; }
11122   test "$can_build_shared" = "no" && enable_shared=no
11123
11124   # On AIX, shared libraries and static libraries use the same namespace, and
11125   # are all built from PIC.
11126   case $host_os in
11127   aix3*)
11128     test "$enable_shared" = yes && enable_static=no
11129     if test -n "$RANLIB"; then
11130       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11131       postinstall_cmds='$RANLIB $lib'
11132     fi
11133     ;;
11134
11135   aix[4-9]*)
11136     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11137       test "$enable_shared" = yes && enable_static=no
11138     fi
11139     ;;
11140   esac
11141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11142 $as_echo "$enable_shared" >&6; }
11143
11144   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11145 $as_echo_n "checking whether to build static libraries... " >&6; }
11146   # Make sure either enable_shared or enable_static is yes.
11147   test "$enable_shared" = yes || enable_static=yes
11148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11149 $as_echo "$enable_static" >&6; }
11150
11151
11152
11153
11154 fi
11155 ac_ext=c
11156 ac_cpp='$CPP $CPPFLAGS'
11157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11160
11161 CC="$lt_save_CC"
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175         ac_config_commands="$ac_config_commands libtool"
11176
11177
11178
11179
11180 # Only expand once:
11181
11182
11183
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
11185 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
11186 if ${ac_cv_sys_largefile_source+:} false; then :
11187   $as_echo_n "(cached) " >&6
11188 else
11189   while :; do
11190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11191 /* end confdefs.h.  */
11192 #include <sys/types.h> /* for off_t */
11193      #include <stdio.h>
11194 int
11195 main ()
11196 {
11197 int (*fp) (FILE *, off_t, int) = fseeko;
11198      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
11199   ;
11200   return 0;
11201 }
11202 _ACEOF
11203 if ac_fn_c_try_link "$LINENO"; then :
11204   ac_cv_sys_largefile_source=no; break
11205 fi
11206 rm -f core conftest.err conftest.$ac_objext \
11207     conftest$ac_exeext conftest.$ac_ext
11208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11209 /* end confdefs.h.  */
11210 #define _LARGEFILE_SOURCE 1
11211 #include <sys/types.h> /* for off_t */
11212      #include <stdio.h>
11213 int
11214 main ()
11215 {
11216 int (*fp) (FILE *, off_t, int) = fseeko;
11217      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
11218   ;
11219   return 0;
11220 }
11221 _ACEOF
11222 if ac_fn_c_try_link "$LINENO"; then :
11223   ac_cv_sys_largefile_source=1; break
11224 fi
11225 rm -f core conftest.err conftest.$ac_objext \
11226     conftest$ac_exeext conftest.$ac_ext
11227   ac_cv_sys_largefile_source=unknown
11228   break
11229 done
11230 fi
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
11232 $as_echo "$ac_cv_sys_largefile_source" >&6; }
11233 case $ac_cv_sys_largefile_source in #(
11234   no | unknown) ;;
11235   *)
11236 cat >>confdefs.h <<_ACEOF
11237 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
11238 _ACEOF
11239 ;;
11240 esac
11241 rm -rf conftest*
11242
11243 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
11244 # in glibc 2.1.3, but that breaks too many other things.
11245 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
11246 if test $ac_cv_sys_largefile_source != unknown; then
11247
11248 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
11249
11250 fi
11251
11252 # Check whether --enable-largefile was given.
11253 if test "${enable_largefile+set}" = set; then :
11254   enableval=$enable_largefile;
11255 fi
11256
11257 if test "$enable_largefile" != no; then
11258
11259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
11260 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
11261 if ${ac_cv_sys_largefile_CC+:} false; then :
11262   $as_echo_n "(cached) " >&6
11263 else
11264   ac_cv_sys_largefile_CC=no
11265      if test "$GCC" != yes; then
11266        ac_save_CC=$CC
11267        while :; do
11268          # IRIX 6.2 and later do not support large files by default,
11269          # so use the C compiler's -n32 option if that helps.
11270          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11271 /* end confdefs.h.  */
11272 #include <sys/types.h>
11273  /* Check that off_t can represent 2**63 - 1 correctly.
11274     We can't simply define LARGE_OFF_T to be 9223372036854775807,
11275     since some C++ compilers masquerading as C compilers
11276     incorrectly reject 9223372036854775807.  */
11277 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11278   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11279                        && LARGE_OFF_T % 2147483647 == 1)
11280                       ? 1 : -1];
11281 int
11282 main ()
11283 {
11284
11285   ;
11286   return 0;
11287 }
11288 _ACEOF
11289          if ac_fn_c_try_compile "$LINENO"; then :
11290   break
11291 fi
11292 rm -f core conftest.err conftest.$ac_objext
11293          CC="$CC -n32"
11294          if ac_fn_c_try_compile "$LINENO"; then :
11295   ac_cv_sys_largefile_CC=' -n32'; break
11296 fi
11297 rm -f core conftest.err conftest.$ac_objext
11298          break
11299        done
11300        CC=$ac_save_CC
11301        rm -f conftest.$ac_ext
11302     fi
11303 fi
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
11305 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
11306   if test "$ac_cv_sys_largefile_CC" != no; then
11307     CC=$CC$ac_cv_sys_largefile_CC
11308   fi
11309
11310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
11311 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
11312 if ${ac_cv_sys_file_offset_bits+:} false; then :
11313   $as_echo_n "(cached) " >&6
11314 else
11315   while :; do
11316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11317 /* end confdefs.h.  */
11318 #include <sys/types.h>
11319  /* Check that off_t can represent 2**63 - 1 correctly.
11320     We can't simply define LARGE_OFF_T to be 9223372036854775807,
11321     since some C++ compilers masquerading as C compilers
11322     incorrectly reject 9223372036854775807.  */
11323 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11324   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11325                        && LARGE_OFF_T % 2147483647 == 1)
11326                       ? 1 : -1];
11327 int
11328 main ()
11329 {
11330
11331   ;
11332   return 0;
11333 }
11334 _ACEOF
11335 if ac_fn_c_try_compile "$LINENO"; then :
11336   ac_cv_sys_file_offset_bits=no; break
11337 fi
11338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11340 /* end confdefs.h.  */
11341 #define _FILE_OFFSET_BITS 64
11342 #include <sys/types.h>
11343  /* Check that off_t can represent 2**63 - 1 correctly.
11344     We can't simply define LARGE_OFF_T to be 9223372036854775807,
11345     since some C++ compilers masquerading as C compilers
11346     incorrectly reject 9223372036854775807.  */
11347 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11348   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11349                        && LARGE_OFF_T % 2147483647 == 1)
11350                       ? 1 : -1];
11351 int
11352 main ()
11353 {
11354
11355   ;
11356   return 0;
11357 }
11358 _ACEOF
11359 if ac_fn_c_try_compile "$LINENO"; then :
11360   ac_cv_sys_file_offset_bits=64; break
11361 fi
11362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11363   ac_cv_sys_file_offset_bits=unknown
11364   break
11365 done
11366 fi
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
11368 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
11369 case $ac_cv_sys_file_offset_bits in #(
11370   no | unknown) ;;
11371   *)
11372 cat >>confdefs.h <<_ACEOF
11373 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
11374 _ACEOF
11375 ;;
11376 esac
11377 rm -rf conftest*
11378   if test $ac_cv_sys_file_offset_bits = unknown; then
11379     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
11380 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
11381 if ${ac_cv_sys_large_files+:} false; then :
11382   $as_echo_n "(cached) " >&6
11383 else
11384   while :; do
11385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11386 /* end confdefs.h.  */
11387 #include <sys/types.h>
11388  /* Check that off_t can represent 2**63 - 1 correctly.
11389     We can't simply define LARGE_OFF_T to be 9223372036854775807,
11390     since some C++ compilers masquerading as C compilers
11391     incorrectly reject 9223372036854775807.  */
11392 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11393   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11394                        && LARGE_OFF_T % 2147483647 == 1)
11395                       ? 1 : -1];
11396 int
11397 main ()
11398 {
11399
11400   ;
11401   return 0;
11402 }
11403 _ACEOF
11404 if ac_fn_c_try_compile "$LINENO"; then :
11405   ac_cv_sys_large_files=no; break
11406 fi
11407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11408   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11409 /* end confdefs.h.  */
11410 #define _LARGE_FILES 1
11411 #include <sys/types.h>
11412  /* Check that off_t can represent 2**63 - 1 correctly.
11413     We can't simply define LARGE_OFF_T to be 9223372036854775807,
11414     since some C++ compilers masquerading as C compilers
11415     incorrectly reject 9223372036854775807.  */
11416 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11417   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11418                        && LARGE_OFF_T % 2147483647 == 1)
11419                       ? 1 : -1];
11420 int
11421 main ()
11422 {
11423
11424   ;
11425   return 0;
11426 }
11427 _ACEOF
11428 if ac_fn_c_try_compile "$LINENO"; then :
11429   ac_cv_sys_large_files=1; break
11430 fi
11431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11432   ac_cv_sys_large_files=unknown
11433   break
11434 done
11435 fi
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
11437 $as_echo "$ac_cv_sys_large_files" >&6; }
11438 case $ac_cv_sys_large_files in #(
11439   no | unknown) ;;
11440   *)
11441 cat >>confdefs.h <<_ACEOF
11442 #define _LARGE_FILES $ac_cv_sys_large_files
11443 _ACEOF
11444 ;;
11445 esac
11446 rm -rf conftest*
11447   fi
11448 fi
11449
11450 # Extract the first word of "pkg-config", so it can be a program name with args.
11451 set dummy pkg-config; ac_word=$2
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11453 $as_echo_n "checking for $ac_word... " >&6; }
11454 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11455   $as_echo_n "(cached) " >&6
11456 else
11457   case $PKG_CONFIG in
11458   [\\/]* | ?:[\\/]*)
11459   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11460   ;;
11461   *)
11462   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11463 for as_dir in $PATH
11464 do
11465   IFS=$as_save_IFS
11466   test -z "$as_dir" && as_dir=.
11467     for ac_exec_ext in '' $ac_executable_extensions; do
11468   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11469     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11470     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11471     break 2
11472   fi
11473 done
11474   done
11475 IFS=$as_save_IFS
11476
11477   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
11478   ;;
11479 esac
11480 fi
11481 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11482 if test -n "$PKG_CONFIG"; then
11483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11484 $as_echo "$PKG_CONFIG" >&6; }
11485 else
11486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11487 $as_echo "no" >&6; }
11488 fi
11489
11490
11491
11492
11493
11494   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11495 $as_echo_n "checking whether NLS is requested... " >&6; }
11496     # Check whether --enable-nls was given.
11497 if test "${enable_nls+set}" = set; then :
11498   enableval=$enable_nls; USE_NLS=$enableval
11499 else
11500   USE_NLS=yes
11501 fi
11502
11503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11504 $as_echo "$USE_NLS" >&6; }
11505
11506
11507
11508
11509 case "$am__api_version" in
11510     1.01234)
11511         as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
11512     ;;
11513     *)
11514     ;;
11515 esac
11516
11517 if test -n "0.35.0"; then
11518     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
11519 $as_echo_n "checking for intltool >= 0.35.0... " >&6; }
11520
11521     INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
11522     INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
11523     INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
11524
11525     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
11526 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
11527     test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
11528         as_fn_error $? "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
11529 fi
11530
11531 # Extract the first word of "intltool-update", so it can be a program name with args.
11532 set dummy intltool-update; ac_word=$2
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11534 $as_echo_n "checking for $ac_word... " >&6; }
11535 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
11536   $as_echo_n "(cached) " >&6
11537 else
11538   case $INTLTOOL_UPDATE in
11539   [\\/]* | ?:[\\/]*)
11540   ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
11541   ;;
11542   *)
11543   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11544 for as_dir in $PATH
11545 do
11546   IFS=$as_save_IFS
11547   test -z "$as_dir" && as_dir=.
11548     for ac_exec_ext in '' $ac_executable_extensions; do
11549   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11550     ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
11551     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11552     break 2
11553   fi
11554 done
11555   done
11556 IFS=$as_save_IFS
11557
11558   ;;
11559 esac
11560 fi
11561 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
11562 if test -n "$INTLTOOL_UPDATE"; then
11563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
11564 $as_echo "$INTLTOOL_UPDATE" >&6; }
11565 else
11566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11567 $as_echo "no" >&6; }
11568 fi
11569
11570
11571 # Extract the first word of "intltool-merge", so it can be a program name with args.
11572 set dummy intltool-merge; ac_word=$2
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11574 $as_echo_n "checking for $ac_word... " >&6; }
11575 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
11576   $as_echo_n "(cached) " >&6
11577 else
11578   case $INTLTOOL_MERGE in
11579   [\\/]* | ?:[\\/]*)
11580   ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
11581   ;;
11582   *)
11583   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11584 for as_dir in $PATH
11585 do
11586   IFS=$as_save_IFS
11587   test -z "$as_dir" && as_dir=.
11588     for ac_exec_ext in '' $ac_executable_extensions; do
11589   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11590     ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
11591     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11592     break 2
11593   fi
11594 done
11595   done
11596 IFS=$as_save_IFS
11597
11598   ;;
11599 esac
11600 fi
11601 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
11602 if test -n "$INTLTOOL_MERGE"; then
11603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
11604 $as_echo "$INTLTOOL_MERGE" >&6; }
11605 else
11606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11607 $as_echo "no" >&6; }
11608 fi
11609
11610
11611 # Extract the first word of "intltool-extract", so it can be a program name with args.
11612 set dummy intltool-extract; ac_word=$2
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11614 $as_echo_n "checking for $ac_word... " >&6; }
11615 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
11616   $as_echo_n "(cached) " >&6
11617 else
11618   case $INTLTOOL_EXTRACT in
11619   [\\/]* | ?:[\\/]*)
11620   ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
11621   ;;
11622   *)
11623   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11624 for as_dir in $PATH
11625 do
11626   IFS=$as_save_IFS
11627   test -z "$as_dir" && as_dir=.
11628     for ac_exec_ext in '' $ac_executable_extensions; do
11629   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11630     ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
11631     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11632     break 2
11633   fi
11634 done
11635   done
11636 IFS=$as_save_IFS
11637
11638   ;;
11639 esac
11640 fi
11641 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
11642 if test -n "$INTLTOOL_EXTRACT"; then
11643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
11644 $as_echo "$INTLTOOL_EXTRACT" >&6; }
11645 else
11646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11647 $as_echo "no" >&6; }
11648 fi
11649
11650
11651 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
11652     as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
11653 fi
11654
11655   INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11656 INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11657      INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11658      INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11659       INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
11660      INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11661    INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11662     INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11663 INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11664        INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11665       INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11666       INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
11667       INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11668       INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11669     INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11670   INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11671     INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11672     INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11673    INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771 # Check the gettext tools to make sure they are GNU
11772 # Extract the first word of "xgettext", so it can be a program name with args.
11773 set dummy xgettext; ac_word=$2
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11775 $as_echo_n "checking for $ac_word... " >&6; }
11776 if ${ac_cv_path_XGETTEXT+:} false; then :
11777   $as_echo_n "(cached) " >&6
11778 else
11779   case $XGETTEXT in
11780   [\\/]* | ?:[\\/]*)
11781   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
11782   ;;
11783   *)
11784   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11785 for as_dir in $PATH
11786 do
11787   IFS=$as_save_IFS
11788   test -z "$as_dir" && as_dir=.
11789     for ac_exec_ext in '' $ac_executable_extensions; do
11790   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11791     ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
11792     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11793     break 2
11794   fi
11795 done
11796   done
11797 IFS=$as_save_IFS
11798
11799   ;;
11800 esac
11801 fi
11802 XGETTEXT=$ac_cv_path_XGETTEXT
11803 if test -n "$XGETTEXT"; then
11804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11805 $as_echo "$XGETTEXT" >&6; }
11806 else
11807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11808 $as_echo "no" >&6; }
11809 fi
11810
11811
11812 # Extract the first word of "msgmerge", so it can be a program name with args.
11813 set dummy msgmerge; ac_word=$2
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11815 $as_echo_n "checking for $ac_word... " >&6; }
11816 if ${ac_cv_path_MSGMERGE+:} false; then :
11817   $as_echo_n "(cached) " >&6
11818 else
11819   case $MSGMERGE in
11820   [\\/]* | ?:[\\/]*)
11821   ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
11822   ;;
11823   *)
11824   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11825 for as_dir in $PATH
11826 do
11827   IFS=$as_save_IFS
11828   test -z "$as_dir" && as_dir=.
11829     for ac_exec_ext in '' $ac_executable_extensions; do
11830   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11831     ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
11832     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11833     break 2
11834   fi
11835 done
11836   done
11837 IFS=$as_save_IFS
11838
11839   ;;
11840 esac
11841 fi
11842 MSGMERGE=$ac_cv_path_MSGMERGE
11843 if test -n "$MSGMERGE"; then
11844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
11845 $as_echo "$MSGMERGE" >&6; }
11846 else
11847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11848 $as_echo "no" >&6; }
11849 fi
11850
11851
11852 # Extract the first word of "msgfmt", so it can be a program name with args.
11853 set dummy msgfmt; ac_word=$2
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11855 $as_echo_n "checking for $ac_word... " >&6; }
11856 if ${ac_cv_path_MSGFMT+:} false; then :
11857   $as_echo_n "(cached) " >&6
11858 else
11859   case $MSGFMT in
11860   [\\/]* | ?:[\\/]*)
11861   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
11862   ;;
11863   *)
11864   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11865 for as_dir in $PATH
11866 do
11867   IFS=$as_save_IFS
11868   test -z "$as_dir" && as_dir=.
11869     for ac_exec_ext in '' $ac_executable_extensions; do
11870   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11871     ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
11872     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11873     break 2
11874   fi
11875 done
11876   done
11877 IFS=$as_save_IFS
11878
11879   ;;
11880 esac
11881 fi
11882 MSGFMT=$ac_cv_path_MSGFMT
11883 if test -n "$MSGFMT"; then
11884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11885 $as_echo "$MSGFMT" >&6; }
11886 else
11887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11888 $as_echo "no" >&6; }
11889 fi
11890
11891
11892 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11893 set dummy gmsgfmt; ac_word=$2
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11895 $as_echo_n "checking for $ac_word... " >&6; }
11896 if ${ac_cv_path_GMSGFMT+:} false; then :
11897   $as_echo_n "(cached) " >&6
11898 else
11899   case $GMSGFMT in
11900   [\\/]* | ?:[\\/]*)
11901   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
11902   ;;
11903   *)
11904   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11905 for as_dir in $PATH
11906 do
11907   IFS=$as_save_IFS
11908   test -z "$as_dir" && as_dir=.
11909     for ac_exec_ext in '' $ac_executable_extensions; do
11910   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11911     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
11912     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11913     break 2
11914   fi
11915 done
11916   done
11917 IFS=$as_save_IFS
11918
11919   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
11920   ;;
11921 esac
11922 fi
11923 GMSGFMT=$ac_cv_path_GMSGFMT
11924 if test -n "$GMSGFMT"; then
11925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11926 $as_echo "$GMSGFMT" >&6; }
11927 else
11928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11929 $as_echo "no" >&6; }
11930 fi
11931
11932
11933 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
11934     as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
11935 fi
11936 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
11937 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
11938 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
11939 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
11940     as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
11941 fi
11942
11943 # Extract the first word of "perl", so it can be a program name with args.
11944 set dummy perl; ac_word=$2
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11946 $as_echo_n "checking for $ac_word... " >&6; }
11947 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
11948   $as_echo_n "(cached) " >&6
11949 else
11950   case $INTLTOOL_PERL in
11951   [\\/]* | ?:[\\/]*)
11952   ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
11953   ;;
11954   *)
11955   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11956 for as_dir in $PATH
11957 do
11958   IFS=$as_save_IFS
11959   test -z "$as_dir" && as_dir=.
11960     for ac_exec_ext in '' $ac_executable_extensions; do
11961   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11962     ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
11963     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11964     break 2
11965   fi
11966 done
11967   done
11968 IFS=$as_save_IFS
11969
11970   ;;
11971 esac
11972 fi
11973 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
11974 if test -n "$INTLTOOL_PERL"; then
11975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
11976 $as_echo "$INTLTOOL_PERL" >&6; }
11977 else
11978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11979 $as_echo "no" >&6; }
11980 fi
11981
11982
11983 if test -z "$INTLTOOL_PERL"; then
11984    as_fn_error $? "perl not found" "$LINENO" 5
11985 fi
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
11987 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
11988 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
11989 if test $? -ne 0; then
11990    as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
11991 else
11992    IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
11993    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
11994 $as_echo "$IT_PERL_VERSION" >&6; }
11995 fi
11996 if test "x" != "xno-xml"; then
11997    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
11998 $as_echo_n "checking for XML::Parser... " >&6; }
11999    if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
12000        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
12001 $as_echo "ok" >&6; }
12002    else
12003        as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
12004    fi
12005 fi
12006
12007 # Substitute ALL_LINGUAS so we can use it in po/Makefile
12008
12009
12010 # Set DATADIRNAME correctly if it is not set yet
12011 # (copied from glib-gettext.m4)
12012 if test -z "$DATADIRNAME"; then
12013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12014 /* end confdefs.h.  */
12015
12016 int
12017 main ()
12018 {
12019 extern int _nl_msg_cat_cntr;
12020                        return _nl_msg_cat_cntr
12021   ;
12022   return 0;
12023 }
12024 _ACEOF
12025 if ac_fn_c_try_link "$LINENO"; then :
12026   DATADIRNAME=share
12027 else
12028   case $host in
12029     *-*-solaris*)
12030                         ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12031 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12032   DATADIRNAME=share
12033 else
12034   DATADIRNAME=lib
12035 fi
12036
12037     ;;
12038     *)
12039     DATADIRNAME=lib
12040     ;;
12041     esac
12042 fi
12043 rm -f core conftest.err conftest.$ac_objext \
12044     conftest$ac_exeext conftest.$ac_ext
12045 fi
12046
12047
12048
12049
12050
12051
12052
12053    for ac_header in locale.h
12054 do :
12055   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
12056 if test "x$ac_cv_header_locale_h" = xyes; then :
12057   cat >>confdefs.h <<_ACEOF
12058 #define HAVE_LOCALE_H 1
12059 _ACEOF
12060
12061 fi
12062
12063 done
12064
12065     if test $ac_cv_header_locale_h = yes; then
12066     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
12067 $as_echo_n "checking for LC_MESSAGES... " >&6; }
12068 if ${am_cv_val_LC_MESSAGES+:} false; then :
12069   $as_echo_n "(cached) " >&6
12070 else
12071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12072 /* end confdefs.h.  */
12073 #include <locale.h>
12074 int
12075 main ()
12076 {
12077 return LC_MESSAGES
12078   ;
12079   return 0;
12080 }
12081 _ACEOF
12082 if ac_fn_c_try_link "$LINENO"; then :
12083   am_cv_val_LC_MESSAGES=yes
12084 else
12085   am_cv_val_LC_MESSAGES=no
12086 fi
12087 rm -f core conftest.err conftest.$ac_objext \
12088     conftest$ac_exeext conftest.$ac_ext
12089 fi
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
12091 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
12092     if test $am_cv_val_LC_MESSAGES = yes; then
12093
12094 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
12095
12096     fi
12097   fi
12098      USE_NLS=yes
12099
12100
12101     gt_cv_have_gettext=no
12102
12103     CATOBJEXT=NONE
12104     XGETTEXT=:
12105     INTLLIBS=
12106
12107     ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
12108 if test "x$ac_cv_header_libintl_h" = xyes; then :
12109   gt_cv_func_dgettext_libintl="no"
12110       libintl_extra_libs=""
12111
12112       #
12113       # First check in libc
12114       #
12115       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
12116 $as_echo_n "checking for ngettext in libc... " >&6; }
12117 if ${gt_cv_func_ngettext_libc+:} false; then :
12118   $as_echo_n "(cached) " >&6
12119 else
12120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12121 /* end confdefs.h.  */
12122
12123 #include <libintl.h>
12124
12125 int
12126 main ()
12127 {
12128 return !ngettext ("","", 1)
12129   ;
12130   return 0;
12131 }
12132 _ACEOF
12133 if ac_fn_c_try_link "$LINENO"; then :
12134   gt_cv_func_ngettext_libc=yes
12135 else
12136   gt_cv_func_ngettext_libc=no
12137 fi
12138 rm -f core conftest.err conftest.$ac_objext \
12139     conftest$ac_exeext conftest.$ac_ext
12140
12141 fi
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
12143 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
12144
12145       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
12146               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
12147 $as_echo_n "checking for dgettext in libc... " >&6; }
12148 if ${gt_cv_func_dgettext_libc+:} false; then :
12149   $as_echo_n "(cached) " >&6
12150 else
12151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12152 /* end confdefs.h.  */
12153
12154 #include <libintl.h>
12155
12156 int
12157 main ()
12158 {
12159 return !dgettext ("","")
12160   ;
12161   return 0;
12162 }
12163 _ACEOF
12164 if ac_fn_c_try_link "$LINENO"; then :
12165   gt_cv_func_dgettext_libc=yes
12166 else
12167   gt_cv_func_dgettext_libc=no
12168 fi
12169 rm -f core conftest.err conftest.$ac_objext \
12170     conftest$ac_exeext conftest.$ac_ext
12171
12172 fi
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
12174 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
12175       fi
12176
12177       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
12178         for ac_func in bind_textdomain_codeset
12179 do :
12180   ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12181 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12182   cat >>confdefs.h <<_ACEOF
12183 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
12184 _ACEOF
12185
12186 fi
12187 done
12188
12189       fi
12190
12191       #
12192       # If we don't have everything we want, check in libintl
12193       #
12194       if test "$gt_cv_func_dgettext_libc" != "yes" \
12195          || test "$gt_cv_func_ngettext_libc" != "yes" \
12196          || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
12197
12198         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
12199 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
12200 if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
12201   $as_echo_n "(cached) " >&6
12202 else
12203   ac_check_lib_save_LIBS=$LIBS
12204 LIBS="-lintl  $LIBS"
12205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12206 /* end confdefs.h.  */
12207
12208 /* Override any GCC internal prototype to avoid an error.
12209    Use char because int might match the return type of a GCC
12210    builtin and then its argument prototype would still apply.  */
12211 #ifdef __cplusplus
12212 extern "C"
12213 #endif
12214 char bindtextdomain ();
12215 int
12216 main ()
12217 {
12218 return bindtextdomain ();
12219   ;
12220   return 0;
12221 }
12222 _ACEOF
12223 if ac_fn_c_try_link "$LINENO"; then :
12224   ac_cv_lib_intl_bindtextdomain=yes
12225 else
12226   ac_cv_lib_intl_bindtextdomain=no
12227 fi
12228 rm -f core conftest.err conftest.$ac_objext \
12229     conftest$ac_exeext conftest.$ac_ext
12230 LIBS=$ac_check_lib_save_LIBS
12231 fi
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
12233 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
12234 if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
12235   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12236 $as_echo_n "checking for ngettext in -lintl... " >&6; }
12237 if ${ac_cv_lib_intl_ngettext+:} false; then :
12238   $as_echo_n "(cached) " >&6
12239 else
12240   ac_check_lib_save_LIBS=$LIBS
12241 LIBS="-lintl  $LIBS"
12242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12243 /* end confdefs.h.  */
12244
12245 /* Override any GCC internal prototype to avoid an error.
12246    Use char because int might match the return type of a GCC
12247    builtin and then its argument prototype would still apply.  */
12248 #ifdef __cplusplus
12249 extern "C"
12250 #endif
12251 char ngettext ();
12252 int
12253 main ()
12254 {
12255 return ngettext ();
12256   ;
12257   return 0;
12258 }
12259 _ACEOF
12260 if ac_fn_c_try_link "$LINENO"; then :
12261   ac_cv_lib_intl_ngettext=yes
12262 else
12263   ac_cv_lib_intl_ngettext=no
12264 fi
12265 rm -f core conftest.err conftest.$ac_objext \
12266     conftest$ac_exeext conftest.$ac_ext
12267 LIBS=$ac_check_lib_save_LIBS
12268 fi
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12270 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12271 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
12272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
12273 $as_echo_n "checking for dgettext in -lintl... " >&6; }
12274 if ${ac_cv_lib_intl_dgettext+:} false; then :
12275   $as_echo_n "(cached) " >&6
12276 else
12277   ac_check_lib_save_LIBS=$LIBS
12278 LIBS="-lintl  $LIBS"
12279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12280 /* end confdefs.h.  */
12281
12282 /* Override any GCC internal prototype to avoid an error.
12283    Use char because int might match the return type of a GCC
12284    builtin and then its argument prototype would still apply.  */
12285 #ifdef __cplusplus
12286 extern "C"
12287 #endif
12288 char dgettext ();
12289 int
12290 main ()
12291 {
12292 return dgettext ();
12293   ;
12294   return 0;
12295 }
12296 _ACEOF
12297 if ac_fn_c_try_link "$LINENO"; then :
12298   ac_cv_lib_intl_dgettext=yes
12299 else
12300   ac_cv_lib_intl_dgettext=no
12301 fi
12302 rm -f core conftest.err conftest.$ac_objext \
12303     conftest$ac_exeext conftest.$ac_ext
12304 LIBS=$ac_check_lib_save_LIBS
12305 fi
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
12307 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
12308 if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
12309   gt_cv_func_dgettext_libintl=yes
12310 fi
12311
12312 fi
12313
12314 fi
12315
12316
12317         if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
12318           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
12319 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
12320           { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
12321 $as_echo "" >&6; }
12322           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12323 $as_echo_n "checking for ngettext in -lintl... " >&6; }
12324 if ${ac_cv_lib_intl_ngettext+:} false; then :
12325   $as_echo_n "(cached) " >&6
12326 else
12327   ac_check_lib_save_LIBS=$LIBS
12328 LIBS="-lintl -liconv $LIBS"
12329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12330 /* end confdefs.h.  */
12331
12332 /* Override any GCC internal prototype to avoid an error.
12333    Use char because int might match the return type of a GCC
12334    builtin and then its argument prototype would still apply.  */
12335 #ifdef __cplusplus
12336 extern "C"
12337 #endif
12338 char ngettext ();
12339 int
12340 main ()
12341 {
12342 return ngettext ();
12343   ;
12344   return 0;
12345 }
12346 _ACEOF
12347 if ac_fn_c_try_link "$LINENO"; then :
12348   ac_cv_lib_intl_ngettext=yes
12349 else
12350   ac_cv_lib_intl_ngettext=no
12351 fi
12352 rm -f core conftest.err conftest.$ac_objext \
12353     conftest$ac_exeext conftest.$ac_ext
12354 LIBS=$ac_check_lib_save_LIBS
12355 fi
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12357 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12358 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
12359   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
12360 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
12361 if ${ac_cv_lib_intl_dcgettext+:} false; then :
12362   $as_echo_n "(cached) " >&6
12363 else
12364   ac_check_lib_save_LIBS=$LIBS
12365 LIBS="-lintl -liconv $LIBS"
12366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12367 /* end confdefs.h.  */
12368
12369 /* Override any GCC internal prototype to avoid an error.
12370    Use char because int might match the return type of a GCC
12371    builtin and then its argument prototype would still apply.  */
12372 #ifdef __cplusplus
12373 extern "C"
12374 #endif
12375 char dcgettext ();
12376 int
12377 main ()
12378 {
12379 return dcgettext ();
12380   ;
12381   return 0;
12382 }
12383 _ACEOF
12384 if ac_fn_c_try_link "$LINENO"; then :
12385   ac_cv_lib_intl_dcgettext=yes
12386 else
12387   ac_cv_lib_intl_dcgettext=no
12388 fi
12389 rm -f core conftest.err conftest.$ac_objext \
12390     conftest$ac_exeext conftest.$ac_ext
12391 LIBS=$ac_check_lib_save_LIBS
12392 fi
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
12394 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
12395 if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
12396   gt_cv_func_dgettext_libintl=yes
12397                         libintl_extra_libs=-liconv
12398 else
12399   :
12400 fi
12401
12402 else
12403   :
12404 fi
12405
12406         fi
12407
12408         #
12409         # If we found libintl, then check in it for bind_textdomain_codeset();
12410         # we'll prefer libc if neither have bind_textdomain_codeset(),
12411         # and both have dgettext and ngettext
12412         #
12413         if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
12414           glib_save_LIBS="$LIBS"
12415           LIBS="$LIBS -lintl $libintl_extra_libs"
12416           unset ac_cv_func_bind_textdomain_codeset
12417           for ac_func in bind_textdomain_codeset
12418 do :
12419   ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12420 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12421   cat >>confdefs.h <<_ACEOF
12422 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
12423 _ACEOF
12424
12425 fi
12426 done
12427
12428           LIBS="$glib_save_LIBS"
12429
12430           if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
12431             gt_cv_func_dgettext_libc=no
12432           else
12433             if test "$gt_cv_func_dgettext_libc" = "yes" \
12434                 && test "$gt_cv_func_ngettext_libc" = "yes"; then
12435               gt_cv_func_dgettext_libintl=no
12436             fi
12437           fi
12438         fi
12439       fi
12440
12441       if test "$gt_cv_func_dgettext_libc" = "yes" \
12442         || test "$gt_cv_func_dgettext_libintl" = "yes"; then
12443         gt_cv_have_gettext=yes
12444       fi
12445
12446       if test "$gt_cv_func_dgettext_libintl" = "yes"; then
12447         INTLLIBS="-lintl $libintl_extra_libs"
12448       fi
12449
12450       if test "$gt_cv_have_gettext" = "yes"; then
12451
12452 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
12453
12454         # Extract the first word of "msgfmt", so it can be a program name with args.
12455 set dummy msgfmt; ac_word=$2
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12457 $as_echo_n "checking for $ac_word... " >&6; }
12458 if ${ac_cv_path_MSGFMT+:} false; then :
12459   $as_echo_n "(cached) " >&6
12460 else
12461   case "$MSGFMT" in
12462   /*)
12463   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12464   ;;
12465   *)
12466   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
12467   for ac_dir in $PATH; do
12468     test -z "$ac_dir" && ac_dir=.
12469     if test -f $ac_dir/$ac_word; then
12470       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
12471         ac_cv_path_MSGFMT="$ac_dir/$ac_word"
12472         break
12473       fi
12474     fi
12475   done
12476   IFS="$ac_save_ifs"
12477   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
12478   ;;
12479 esac
12480 fi
12481 MSGFMT="$ac_cv_path_MSGFMT"
12482 if test "$MSGFMT" != "no"; then
12483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12484 $as_echo "$MSGFMT" >&6; }
12485 else
12486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12487 $as_echo "no" >&6; }
12488 fi
12489         if test "$MSGFMT" != "no"; then
12490           glib_save_LIBS="$LIBS"
12491           LIBS="$LIBS $INTLLIBS"
12492           for ac_func in dcgettext
12493 do :
12494   ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
12495 if test "x$ac_cv_func_dcgettext" = xyes; then :
12496   cat >>confdefs.h <<_ACEOF
12497 #define HAVE_DCGETTEXT 1
12498 _ACEOF
12499
12500 fi
12501 done
12502
12503           MSGFMT_OPTS=
12504           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
12505 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
12506           cat >conftest.foo <<_ACEOF
12507
12508 msgid ""
12509 msgstr ""
12510 "Content-Type: text/plain; charset=UTF-8\n"
12511 "Project-Id-Version: test 1.0\n"
12512 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
12513 "Last-Translator: test <foo@bar.xx>\n"
12514 "Language-Team: C <LL@li.org>\n"
12515 "MIME-Version: 1.0\n"
12516 "Content-Transfer-Encoding: 8bit\n"
12517
12518 _ACEOF
12519 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
12520   ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
12521   ac_status=$?
12522   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12523   test $ac_status = 0; }; then
12524   MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12525 $as_echo "yes" >&6; }
12526 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12527 $as_echo "no" >&6; }
12528 echo "$as_me: failed input was:" >&5
12529 sed 's/^/| /' conftest.foo >&5
12530 fi
12531
12532           # Extract the first word of "gmsgfmt", so it can be a program name with args.
12533 set dummy gmsgfmt; ac_word=$2
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12535 $as_echo_n "checking for $ac_word... " >&6; }
12536 if ${ac_cv_path_GMSGFMT+:} false; then :
12537   $as_echo_n "(cached) " >&6
12538 else
12539   case $GMSGFMT in
12540   [\\/]* | ?:[\\/]*)
12541   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12542   ;;
12543   *)
12544   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12545 for as_dir in $PATH
12546 do
12547   IFS=$as_save_IFS
12548   test -z "$as_dir" && as_dir=.
12549     for ac_exec_ext in '' $ac_executable_extensions; do
12550   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12551     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12552     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12553     break 2
12554   fi
12555 done
12556   done
12557 IFS=$as_save_IFS
12558
12559   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12560   ;;
12561 esac
12562 fi
12563 GMSGFMT=$ac_cv_path_GMSGFMT
12564 if test -n "$GMSGFMT"; then
12565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12566 $as_echo "$GMSGFMT" >&6; }
12567 else
12568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12569 $as_echo "no" >&6; }
12570 fi
12571
12572
12573           # Extract the first word of "xgettext", so it can be a program name with args.
12574 set dummy xgettext; ac_word=$2
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12576 $as_echo_n "checking for $ac_word... " >&6; }
12577 if ${ac_cv_path_XGETTEXT+:} false; then :
12578   $as_echo_n "(cached) " >&6
12579 else
12580   case "$XGETTEXT" in
12581   /*)
12582   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12583   ;;
12584   *)
12585   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
12586   for ac_dir in $PATH; do
12587     test -z "$ac_dir" && ac_dir=.
12588     if test -f $ac_dir/$ac_word; then
12589       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
12590         ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
12591         break
12592       fi
12593     fi
12594   done
12595   IFS="$ac_save_ifs"
12596   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
12597   ;;
12598 esac
12599 fi
12600 XGETTEXT="$ac_cv_path_XGETTEXT"
12601 if test "$XGETTEXT" != ":"; then
12602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12603 $as_echo "$XGETTEXT" >&6; }
12604 else
12605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12606 $as_echo "no" >&6; }
12607 fi
12608
12609           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12610 /* end confdefs.h.  */
12611
12612 int
12613 main ()
12614 {
12615 extern int _nl_msg_cat_cntr;
12616                          return _nl_msg_cat_cntr
12617   ;
12618   return 0;
12619 }
12620 _ACEOF
12621 if ac_fn_c_try_link "$LINENO"; then :
12622   CATOBJEXT=.gmo
12623              DATADIRNAME=share
12624 else
12625   case $host in
12626             *-*-solaris*)
12627                                                                 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12628 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12629   CATOBJEXT=.gmo
12630                DATADIRNAME=share
12631 else
12632   CATOBJEXT=.mo
12633                DATADIRNAME=lib
12634 fi
12635
12636             ;;
12637             *)
12638             CATOBJEXT=.mo
12639             DATADIRNAME=lib
12640             ;;
12641             esac
12642 fi
12643 rm -f core conftest.err conftest.$ac_objext \
12644     conftest$ac_exeext conftest.$ac_ext
12645           LIBS="$glib_save_LIBS"
12646           INSTOBJEXT=.mo
12647         else
12648           gt_cv_have_gettext=no
12649         fi
12650       fi
12651
12652 fi
12653
12654
12655
12656     if test "$gt_cv_have_gettext" = "yes" ; then
12657
12658 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
12659
12660     fi
12661
12662         if test "$XGETTEXT" != ":"; then
12663                   if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
12664         : ;
12665       else
12666         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
12667 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
12668         XGETTEXT=":"
12669       fi
12670     fi
12671
12672     # We need to process the po/ directory.
12673     POSUB=po
12674
12675     ac_config_commands="$ac_config_commands default-1"
12676
12677
12678                 for lang in $ALL_LINGUAS; do
12679       GMOFILES="$GMOFILES $lang.gmo"
12680       POFILES="$POFILES $lang.po"
12681     done
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695    if test "$gt_cv_have_gettext" = "yes"; then
12696      if test "x$ALL_LINGUAS" = "x"; then
12697        LINGUAS=
12698      else
12699        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
12700 $as_echo_n "checking for catalogs to be installed... " >&6; }
12701        NEW_LINGUAS=
12702        for presentlang in $ALL_LINGUAS; do
12703          useit=no
12704          if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
12705            desiredlanguages="$LINGUAS"
12706          else
12707            desiredlanguages="$ALL_LINGUAS"
12708          fi
12709          for desiredlang in $desiredlanguages; do
12710            # Use the presentlang catalog if desiredlang is
12711            #   a. equal to presentlang, or
12712            #   b. a variant of presentlang (because in this case,
12713            #      presentlang can be used as a fallback for messages
12714            #      which are not translated in the desiredlang catalog).
12715            case "$desiredlang" in
12716              "$presentlang"*) useit=yes;;
12717            esac
12718          done
12719          if test $useit = yes; then
12720            NEW_LINGUAS="$NEW_LINGUAS $presentlang"
12721          fi
12722        done
12723        LINGUAS=$NEW_LINGUAS
12724        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
12725 $as_echo "$LINGUAS" >&6; }
12726      fi
12727
12728           if test -n "$LINGUAS"; then
12729        for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
12730      fi
12731    fi
12732
12733             MKINSTALLDIRS=
12734    if test -n "$ac_aux_dir"; then
12735      MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
12736    fi
12737    if test -z "$MKINSTALLDIRS"; then
12738      MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
12739    fi
12740
12741
12742          test -d po || mkdir po
12743    if test "x$srcdir" != "x."; then
12744      if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
12745        posrcprefix="$srcdir/"
12746      else
12747        posrcprefix="../$srcdir/"
12748      fi
12749    else
12750      posrcprefix="../"
12751    fi
12752    rm -f po/POTFILES
12753    sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
12754         < $srcdir/po/POTFILES.in > po/POTFILES
12755
12756
12757 GETTEXT_PACKAGE=libgsf
12758
12759
12760 cat >>confdefs.h <<_ACEOF
12761 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
12762 _ACEOF
12763
12764
12765
12766 common_reqs="
12767     gobject-2.0 >= 2.6.0
12768     glib-2.0 >= 2.8.0
12769 "
12770 libgsf_reqs="
12771     $common_reqs
12772     libxml-2.0 >= 2.4.16
12773 "
12774 libgsf_gnome_reqs="
12775     $common_reqs
12776 "
12777
12778
12779
12780
12781
12782
12783 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12784         if test -n "$ac_tool_prefix"; then
12785   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12786 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12788 $as_echo_n "checking for $ac_word... " >&6; }
12789 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12790   $as_echo_n "(cached) " >&6
12791 else
12792   case $PKG_CONFIG in
12793   [\\/]* | ?:[\\/]*)
12794   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12795   ;;
12796   *)
12797   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12798 for as_dir in $PATH
12799 do
12800   IFS=$as_save_IFS
12801   test -z "$as_dir" && as_dir=.
12802     for ac_exec_ext in '' $ac_executable_extensions; do
12803   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12804     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12805     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12806     break 2
12807   fi
12808 done
12809   done
12810 IFS=$as_save_IFS
12811
12812   ;;
12813 esac
12814 fi
12815 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12816 if test -n "$PKG_CONFIG"; then
12817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12818 $as_echo "$PKG_CONFIG" >&6; }
12819 else
12820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12821 $as_echo "no" >&6; }
12822 fi
12823
12824
12825 fi
12826 if test -z "$ac_cv_path_PKG_CONFIG"; then
12827   ac_pt_PKG_CONFIG=$PKG_CONFIG
12828   # Extract the first word of "pkg-config", so it can be a program name with args.
12829 set dummy pkg-config; ac_word=$2
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12831 $as_echo_n "checking for $ac_word... " >&6; }
12832 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12833   $as_echo_n "(cached) " >&6
12834 else
12835   case $ac_pt_PKG_CONFIG in
12836   [\\/]* | ?:[\\/]*)
12837   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12838   ;;
12839   *)
12840   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12841 for as_dir in $PATH
12842 do
12843   IFS=$as_save_IFS
12844   test -z "$as_dir" && as_dir=.
12845     for ac_exec_ext in '' $ac_executable_extensions; do
12846   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12847     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12848     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12849     break 2
12850   fi
12851 done
12852   done
12853 IFS=$as_save_IFS
12854
12855   ;;
12856 esac
12857 fi
12858 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12859 if test -n "$ac_pt_PKG_CONFIG"; then
12860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12861 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12862 else
12863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12864 $as_echo "no" >&6; }
12865 fi
12866
12867   if test "x$ac_pt_PKG_CONFIG" = x; then
12868     PKG_CONFIG=""
12869   else
12870     case $cross_compiling:$ac_tool_warned in
12871 yes:)
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12873 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12874 ac_tool_warned=yes ;;
12875 esac
12876     PKG_CONFIG=$ac_pt_PKG_CONFIG
12877   fi
12878 else
12879   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12880 fi
12881
12882 fi
12883 if test -n "$PKG_CONFIG"; then
12884         _pkg_min_version=0.9.0
12885         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12886 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12887         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12888                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12889 $as_echo "yes" >&6; }
12890         else
12891                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12892 $as_echo "no" >&6; }
12893                 PKG_CONFIG=""
12894         fi
12895 fi
12896
12897 pkg_failed=no
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGSF" >&5
12899 $as_echo_n "checking for LIBGSF... " >&6; }
12900
12901 if test -n "$LIBGSF_CFLAGS"; then
12902     pkg_cv_LIBGSF_CFLAGS="$LIBGSF_CFLAGS"
12903  elif test -n "$PKG_CONFIG"; then
12904     if test -n "$PKG_CONFIG" && \
12905     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$libgsf_reqs\""; } >&5
12906   ($PKG_CONFIG --exists --print-errors "$libgsf_reqs") 2>&5
12907   ac_status=$?
12908   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12909   test $ac_status = 0; }; then
12910   pkg_cv_LIBGSF_CFLAGS=`$PKG_CONFIG --cflags "$libgsf_reqs" 2>/dev/null`
12911 else
12912   pkg_failed=yes
12913 fi
12914  else
12915     pkg_failed=untried
12916 fi
12917 if test -n "$LIBGSF_LIBS"; then
12918     pkg_cv_LIBGSF_LIBS="$LIBGSF_LIBS"
12919  elif test -n "$PKG_CONFIG"; then
12920     if test -n "$PKG_CONFIG" && \
12921     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$libgsf_reqs\""; } >&5
12922   ($PKG_CONFIG --exists --print-errors "$libgsf_reqs") 2>&5
12923   ac_status=$?
12924   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12925   test $ac_status = 0; }; then
12926   pkg_cv_LIBGSF_LIBS=`$PKG_CONFIG --libs "$libgsf_reqs" 2>/dev/null`
12927 else
12928   pkg_failed=yes
12929 fi
12930  else
12931     pkg_failed=untried
12932 fi
12933
12934
12935
12936 if test $pkg_failed = yes; then
12937         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12938 $as_echo "no" >&6; }
12939
12940 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12941         _pkg_short_errors_supported=yes
12942 else
12943         _pkg_short_errors_supported=no
12944 fi
12945         if test $_pkg_short_errors_supported = yes; then
12946                 LIBGSF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$libgsf_reqs" 2>&1`
12947         else
12948                 LIBGSF_PKG_ERRORS=`$PKG_CONFIG --print-errors "$libgsf_reqs" 2>&1`
12949         fi
12950         # Put the nasty error message in config.log where it belongs
12951         echo "$LIBGSF_PKG_ERRORS" >&5
12952
12953         as_fn_error $? "Package requirements ($libgsf_reqs) were not met:
12954
12955 $LIBGSF_PKG_ERRORS
12956
12957 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12958 installed software in a non-standard prefix.
12959
12960 Alternatively, you may set the environment variables LIBGSF_CFLAGS
12961 and LIBGSF_LIBS to avoid the need to call pkg-config.
12962 See the pkg-config man page for more details." "$LINENO" 5
12963 elif test $pkg_failed = untried; then
12964         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12965 $as_echo "no" >&6; }
12966         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12967 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12968 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12969 is in your PATH or set the PKG_CONFIG environment variable to the full
12970 path to pkg-config.
12971
12972 Alternatively, you may set the environment variables LIBGSF_CFLAGS
12973 and LIBGSF_LIBS to avoid the need to call pkg-config.
12974 See the pkg-config man page for more details.
12975
12976 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12977 See \`config.log' for more details" "$LINENO" 5; }
12978 else
12979         LIBGSF_CFLAGS=$pkg_cv_LIBGSF_CFLAGS
12980         LIBGSF_LIBS=$pkg_cv_LIBGSF_LIBS
12981         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12982 $as_echo "yes" >&6; }
12983
12984 fi
12985
12986 ## this should come after `AC_PROG_CC'
12987
12988
12989     # Check whether --enable-compile-warnings was given.
12990 if test "${enable_compile_warnings+set}" = set; then :
12991   enableval=$enable_compile_warnings;
12992 else
12993   enable_compile_warnings="yes"
12994 fi
12995
12996
12997     warnCFLAGS=
12998     if test "x$GCC" != xyes; then
12999         enable_compile_warnings=no
13000     fi
13001
13002     warning_flags=
13003     realsave_CFLAGS="$CFLAGS"
13004
13005     case "$enable_compile_warnings" in
13006     no)
13007         warning_flags=
13008         ;;
13009     minimum)
13010         warning_flags="-Wall"
13011         ;;
13012     yes)
13013         warning_flags="-Wall -Wmissing-prototypes"
13014         ;;
13015     maximum|error)
13016         warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
13017         CFLAGS="$warning_flags $CFLAGS"
13018         for option in -Wno-sign-compare; do
13019                 SAVE_CFLAGS="$CFLAGS"
13020                 CFLAGS="$CFLAGS $option"
13021                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
13022 $as_echo_n "checking whether gcc understands $option... " >&6; }
13023                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13024 /* end confdefs.h.  */
13025
13026 int
13027 main ()
13028 {
13029
13030   ;
13031   return 0;
13032 }
13033 _ACEOF
13034 if ac_fn_c_try_compile "$LINENO"; then :
13035   has_option=yes
13036 else
13037   has_option=no
13038 fi
13039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13040                 CFLAGS="$SAVE_CFLAGS"
13041                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
13042 $as_echo "$has_option" >&6; }
13043                 if test $has_option = yes; then
13044                   warning_flags="$warning_flags $option"
13045                 fi
13046                 unset has_option
13047                 unset SAVE_CFLAGS
13048         done
13049         unset option
13050         if test "$enable_compile_warnings" = "error" ; then
13051             warning_flags="$warning_flags -Werror"
13052         fi
13053         ;;
13054     *)
13055         as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
13056         ;;
13057     esac
13058     CFLAGS="$realsave_CFLAGS"
13059     { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
13060 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
13061     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_flags" >&5
13062 $as_echo "$warning_flags" >&6; }
13063
13064     # Check whether --enable-iso-c was given.
13065 if test "${enable_iso_c+set}" = set; then :
13066   enableval=$enable_iso_c;
13067 else
13068   enable_iso_c=no
13069 fi
13070
13071
13072     { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5
13073 $as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
13074     complCFLAGS=
13075     if test "x$enable_iso_c" != "xno"; then
13076         if test "x$GCC" = "xyes"; then
13077         case " $CFLAGS " in
13078             *\ \        -ansi\ \        *) ;;
13079             *) complCFLAGS="$complCFLAGS -ansi" ;;
13080         esac
13081         case " $CFLAGS " in
13082             *\ \        -pedantic\ \    *) ;;
13083             *) complCFLAGS="$complCFLAGS -pedantic" ;;
13084         esac
13085         fi
13086     fi
13087     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5
13088 $as_echo "$complCFLAGS" >&6; }
13089
13090     WARN_CFLAGS="$warning_flags $complCFLAGS"
13091
13092
13093 CFLAGS="$CFLAGS $WARN_CFLAGS -DG_DISABLE_DEPRECATED"
13094 if test "$GCC" = "yes"; then
13095         for option in -Wno-system-headers -Wfloat-equal -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wformat=2 -Wnested-externs -Winline -Wdeclaration-after-statement -Wundef -W -Wmissing-noreturn -Wmissing-format-attribute -Wno-pointer-sign \
13096         -Wbitwise -Wcast-to-as -Wdefault-bitfield-sign -Wdo-while -Wparen-string -Wptr-subtraction-blows -Wreturn-void -Wtypesign ; do
13097                 SAVE_CFLAGS="$CFLAGS"
13098                 CFLAGS="$CFLAGS $option"
13099                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
13100 $as_echo_n "checking whether gcc understands $option... " >&6; }
13101                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13102 /* end confdefs.h.  */
13103
13104 int
13105 main ()
13106 {
13107
13108   ;
13109   return 0;
13110 }
13111 _ACEOF
13112 if ac_fn_c_try_compile "$LINENO"; then :
13113   has_option=yes
13114 else
13115   has_option=no
13116 fi
13117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13118                 if test $has_option = no; then
13119                   CFLAGS="$SAVE_CFLAGS"
13120                 fi
13121                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
13122 $as_echo "$has_option" >&6; }
13123                 unset has_option
13124                 unset SAVE_CFLAGS
13125         done
13126         unset option
13127 fi
13128
13129 ac_fn_c_check_decl "$LINENO" "fdopen" "ac_cv_have_decl_fdopen" "$ac_includes_default"
13130 if test "x$ac_cv_have_decl_fdopen" = xyes; then :
13131   fdopen_works=yes
13132 else
13133   fdopen_works=no
13134 fi
13135
13136 if test $fdopen_works = no ; then
13137         unset ac_cv_have_decl_fdopen
13138         CFLAGS="$CFLAGS -D_POSIX_SOURCE"
13139         { $as_echo "$as_me:${as_lineno-$LINENO}: adding -D_POSIX_SOURCE to CFLAGS" >&5
13140 $as_echo "$as_me: adding -D_POSIX_SOURCE to CFLAGS" >&6;}
13141         ac_fn_c_check_decl "$LINENO" "fdopen" "ac_cv_have_decl_fdopen" "$ac_includes_default"
13142 if test "x$ac_cv_have_decl_fdopen" = xyes; then :
13143   fdopen_works=yes
13144 else
13145   fdopen_works=no
13146 fi
13147
13148         if test $fdopen_works = no ; then
13149                 as_fn_error $? "fdopen is not available" "$LINENO" 5
13150         fi
13151 fi
13152
13153 # Unfortunately, -D_POSIX_SOURCE turns off struct timeval on Solaris
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct timeval is available" >&5
13155 $as_echo_n "checking whether struct timeval is available... " >&6; }
13156 for try in 1 2; do
13157         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13158 /* end confdefs.h.  */
13159 #include <sys/time.h>
13160 int
13161 main ()
13162 {
13163 struct timeval tv;
13164   ;
13165   return 0;
13166 }
13167 _ACEOF
13168 if ac_fn_c_try_compile "$LINENO"; then :
13169   struct_timeval_works=yes
13170 else
13171   struct_timeval_works=no
13172 fi
13173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13174         test $struct_timeval_works = yes && break
13175         # Try this for the second attempt:
13176         test $try = 1 && CFLAGS="$CFLAGS -D__EXTENSIONS__"
13177 done
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $struct_timeval_works" >&5
13179 $as_echo "$struct_timeval_works" >&6; }
13180 if test $struct_timeval_works = no ; then
13181         as_fn_error $? "struct timeval is not available" "$LINENO" 5
13182 fi
13183
13184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -D_BSD_SOURCE is needed for caddr_t" >&5
13185 $as_echo_n "checking whether -D_BSD_SOURCE is needed for caddr_t... " >&6; }
13186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13187 /* end confdefs.h.  */
13188 #include <sys/types.h>
13189 int
13190 main ()
13191 {
13192 caddr_t ca
13193   ;
13194   return 0;
13195 }
13196 _ACEOF
13197 if ac_fn_c_try_compile "$LINENO"; then :
13198   need_bsd1=no
13199 else
13200   need_bsd1=yes
13201 fi
13202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $need_bsd1" >&5
13204 $as_echo "$need_bsd1" >&6; }
13205
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -D_BSD_SOURCE is needed for lstat" >&5
13207 $as_echo_n "checking whether -D_BSD_SOURCE is needed for lstat... " >&6; }
13208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13209 /* end confdefs.h.  */
13210 #include <sys/types.h>
13211 #include <sys/stat.h>
13212 #include <unistd.h>
13213 int
13214 main ()
13215 {
13216 void *ptr = &lstat
13217   ;
13218   return 0;
13219 }
13220 _ACEOF
13221 if ac_fn_c_try_link "$LINENO"; then :
13222   need_bsd2=no
13223 else
13224   need_bsd2=yes
13225 fi
13226 rm -f core conftest.err conftest.$ac_objext \
13227     conftest$ac_exeext conftest.$ac_ext
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $need_bsd2" >&5
13229 $as_echo "$need_bsd2" >&6; }
13230 if test $need_bsd1 = yes -o $need_bsd2 = yes; then
13231         CFLAGS="$CFLAGS -D_BSD_SOURCE"
13232 fi
13233
13234 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
13235 if test "x$ac_cv_type_mode_t" = xyes; then :
13236
13237 else
13238
13239 cat >>confdefs.h <<_ACEOF
13240 #define mode_t int
13241 _ACEOF
13242
13243 fi
13244
13245 for ac_header in fcntl.h malloc.h unistd.h io.h sys/statfs.h sys/param.h sys/mount.h
13246 do :
13247   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13248 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13249 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13250   cat >>confdefs.h <<_ACEOF
13251 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13252 _ACEOF
13253
13254 fi
13255
13256 done
13257
13258
13259
13260
13261   for ac_header in $ac_header_list
13262 do :
13263   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13264 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13265 "
13266 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13267   cat >>confdefs.h <<_ACEOF
13268 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13269 _ACEOF
13270
13271 fi
13272
13273 done
13274
13275
13276
13277
13278
13279
13280
13281
13282 for ac_func in getpagesize
13283 do :
13284   ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
13285 if test "x$ac_cv_func_getpagesize" = xyes; then :
13286   cat >>confdefs.h <<_ACEOF
13287 #define HAVE_GETPAGESIZE 1
13288 _ACEOF
13289
13290 fi
13291 done
13292
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
13294 $as_echo_n "checking for working mmap... " >&6; }
13295 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
13296   $as_echo_n "(cached) " >&6
13297 else
13298   if test "$cross_compiling" = yes; then :
13299   ac_cv_func_mmap_fixed_mapped=no
13300 else
13301   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13302 /* end confdefs.h.  */
13303 $ac_includes_default
13304 /* malloc might have been renamed as rpl_malloc. */
13305 #undef malloc
13306
13307 /* Thanks to Mike Haertel and Jim Avera for this test.
13308    Here is a matrix of mmap possibilities:
13309         mmap private not fixed
13310         mmap private fixed at somewhere currently unmapped
13311         mmap private fixed at somewhere already mapped
13312         mmap shared not fixed
13313         mmap shared fixed at somewhere currently unmapped
13314         mmap shared fixed at somewhere already mapped
13315    For private mappings, we should verify that changes cannot be read()
13316    back from the file, nor mmap's back from the file at a different
13317    address.  (There have been systems where private was not correctly
13318    implemented like the infamous i386 svr4.0, and systems where the
13319    VM page cache was not coherent with the file system buffer cache
13320    like early versions of FreeBSD and possibly contemporary NetBSD.)
13321    For shared mappings, we should conversely verify that changes get
13322    propagated back to all the places they're supposed to be.
13323
13324    Grep wants private fixed already mapped.
13325    The main things grep needs to know about mmap are:
13326    * does it exist and is it safe to write into the mmap'd area
13327    * how to use it (BSD variants)  */
13328
13329 #include <fcntl.h>
13330 #include <sys/mman.h>
13331
13332 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
13333 char *malloc ();
13334 #endif
13335
13336 /* This mess was copied from the GNU getpagesize.h.  */
13337 #ifndef HAVE_GETPAGESIZE
13338 # ifdef _SC_PAGESIZE
13339 #  define getpagesize() sysconf(_SC_PAGESIZE)
13340 # else /* no _SC_PAGESIZE */
13341 #  ifdef HAVE_SYS_PARAM_H
13342 #   include <sys/param.h>
13343 #   ifdef EXEC_PAGESIZE
13344 #    define getpagesize() EXEC_PAGESIZE
13345 #   else /* no EXEC_PAGESIZE */
13346 #    ifdef NBPG
13347 #     define getpagesize() NBPG * CLSIZE
13348 #     ifndef CLSIZE
13349 #      define CLSIZE 1
13350 #     endif /* no CLSIZE */
13351 #    else /* no NBPG */
13352 #     ifdef NBPC
13353 #      define getpagesize() NBPC
13354 #     else /* no NBPC */
13355 #      ifdef PAGESIZE
13356 #       define getpagesize() PAGESIZE
13357 #      endif /* PAGESIZE */
13358 #     endif /* no NBPC */
13359 #    endif /* no NBPG */
13360 #   endif /* no EXEC_PAGESIZE */
13361 #  else /* no HAVE_SYS_PARAM_H */
13362 #   define getpagesize() 8192   /* punt totally */
13363 #  endif /* no HAVE_SYS_PARAM_H */
13364 # endif /* no _SC_PAGESIZE */
13365
13366 #endif /* no HAVE_GETPAGESIZE */
13367
13368 int
13369 main ()
13370 {
13371   char *data, *data2, *data3;
13372   const char *cdata2;
13373   int i, pagesize;
13374   int fd, fd2;
13375
13376   pagesize = getpagesize ();
13377
13378   /* First, make a file with some known garbage in it. */
13379   data = (char *) malloc (pagesize);
13380   if (!data)
13381     return 1;
13382   for (i = 0; i < pagesize; ++i)
13383     *(data + i) = rand ();
13384   umask (0);
13385   fd = creat ("conftest.mmap", 0600);
13386   if (fd < 0)
13387     return 2;
13388   if (write (fd, data, pagesize) != pagesize)
13389     return 3;
13390   close (fd);
13391
13392   /* Next, check that the tail of a page is zero-filled.  File must have
13393      non-zero length, otherwise we risk SIGBUS for entire page.  */
13394   fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
13395   if (fd2 < 0)
13396     return 4;
13397   cdata2 = "";
13398   if (write (fd2, cdata2, 1) != 1)
13399     return 5;
13400   data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
13401   if (data2 == MAP_FAILED)
13402     return 6;
13403   for (i = 0; i < pagesize; ++i)
13404     if (*(data2 + i))
13405       return 7;
13406   close (fd2);
13407   if (munmap (data2, pagesize))
13408     return 8;
13409
13410   /* Next, try to mmap the file at a fixed address which already has
13411      something else allocated at it.  If we can, also make sure that
13412      we see the same garbage.  */
13413   fd = open ("conftest.mmap", O_RDWR);
13414   if (fd < 0)
13415     return 9;
13416   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
13417                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
13418     return 10;
13419   for (i = 0; i < pagesize; ++i)
13420     if (*(data + i) != *(data2 + i))
13421       return 11;
13422
13423   /* Finally, make sure that changes to the mapped area do not
13424      percolate back to the file as seen by read().  (This is a bug on
13425      some variants of i386 svr4.0.)  */
13426   for (i = 0; i < pagesize; ++i)
13427     *(data2 + i) = *(data2 + i) + 1;
13428   data3 = (char *) malloc (pagesize);
13429   if (!data3)
13430     return 12;
13431   if (read (fd, data3, pagesize) != pagesize)
13432     return 13;
13433   for (i = 0; i < pagesize; ++i)
13434     if (*(data + i) != *(data3 + i))
13435       return 14;
13436   close (fd);
13437   return 0;
13438 }
13439 _ACEOF
13440 if ac_fn_c_try_run "$LINENO"; then :
13441   ac_cv_func_mmap_fixed_mapped=yes
13442 else
13443   ac_cv_func_mmap_fixed_mapped=no
13444 fi
13445 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13446   conftest.$ac_objext conftest.beam conftest.$ac_ext
13447 fi
13448
13449 fi
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
13451 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
13452 if test $ac_cv_func_mmap_fixed_mapped = yes; then
13453
13454 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
13455
13456 fi
13457 rm -f conftest.mmap conftest.txt
13458
13459
13460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking form of statfs" >&5
13461 $as_echo_n "checking form of statfs... " >&6; }
13462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13463 /* end confdefs.h.  */
13464 #ifdef HAVE_SYS_STATFS_H
13465 #include <sys/statfs.h>
13466 #endif
13467 #ifdef HAVE_SYS_PARAM_H
13468 #include <sys/param.h>
13469 #endif
13470 #ifdef HAVE_SYS_MOUNT_H
13471 #include <sys/mount.h>
13472 #endif
13473 int
13474 main ()
13475 {
13476 struct statfs buf; (void)(2*statfs("xyz",&buf));
13477   ;
13478   return 0;
13479 }
13480 _ACEOF
13481 if ac_fn_c_try_compile "$LINENO"; then :
13482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2-arg, linux-style" >&5
13483 $as_echo "2-arg, linux-style" >&6; }
13484
13485 $as_echo "#define HAVE_2ARG_STATFS 1" >>confdefs.h
13486
13487 else
13488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none, or unknown" >&5
13489 $as_echo "none, or unknown" >&6; }
13490 fi
13491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13492
13493 for ac_func in chown setrlimit
13494 do :
13495   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13496 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13497 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13498   cat >>confdefs.h <<_ACEOF
13499 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13500 _ACEOF
13501
13502 fi
13503 done
13504
13505
13506 for ac_func in gmtime_r
13507 do :
13508   ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
13509 if test "x$ac_cv_func_gmtime_r" = xyes; then :
13510   cat >>confdefs.h <<_ACEOF
13511 #define HAVE_GMTIME_R 1
13512 _ACEOF
13513
13514 else
13515   for ac_func in gmtime
13516 do :
13517   ac_fn_c_check_func "$LINENO" "gmtime" "ac_cv_func_gmtime"
13518 if test "x$ac_cv_func_gmtime" = xyes; then :
13519   cat >>confdefs.h <<_ACEOF
13520 #define HAVE_GMTIME 1
13521 _ACEOF
13522  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please note that gmtime_r() is missing and I will use gmtime() which is not thread safe ***" >&5
13523 $as_echo "$as_me: WARNING: *** Please note that gmtime_r() is missing and I will use gmtime() which is not thread safe ***" >&2;}
13524 else
13525   as_fn_error $? "Neither gmtime_r or gmtime is available" "$LINENO" 5
13526 fi
13527 done
13528
13529 fi
13530 done
13531
13532
13533 ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h>
13534 "
13535 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes; then :
13536
13537 cat >>confdefs.h <<_ACEOF
13538 #define HAVE_STRUCT_TM_TM_GMTOFF 1
13539 _ACEOF
13540
13541
13542 fi
13543
13544
13545 SAVE_CFLAGS=$CFLAGS
13546 SAVE_LIBS=$LIBS
13547 CFLAGS="$CFLAGS $LIBGSF_CFLAGS"
13548 LIBS="$LIBGSF_LIBS $LIBS"
13549 for ac_func in g_base64_encode
13550 do :
13551   ac_fn_c_check_func "$LINENO" "g_base64_encode" "ac_cv_func_g_base64_encode"
13552 if test "x$ac_cv_func_g_base64_encode" = xyes; then :
13553   cat >>confdefs.h <<_ACEOF
13554 #define HAVE_G_BASE64_ENCODE 1
13555 _ACEOF
13556
13557 fi
13558 done
13559
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g_chmod" >&5
13561 $as_echo_n "checking for g_chmod... " >&6; }
13562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13563 /* end confdefs.h.  */
13564 #include <glib/gstdio.h>
13565 int
13566 main ()
13567 {
13568 (void)g_chmod("/xxx",0777);
13569   ;
13570   return 0;
13571 }
13572 _ACEOF
13573 if ac_fn_c_try_link "$LINENO"; then :
13574
13575 $as_echo "#define HAVE_G_CHMOD 1" >>confdefs.h
13576
13577                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13578 $as_echo "yes" >&6; }
13579 else
13580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13581 $as_echo "no" >&6; }
13582 fi
13583 rm -f core conftest.err conftest.$ac_objext \
13584     conftest$ac_exeext conftest.$ac_ext
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g_access" >&5
13586 $as_echo_n "checking for g_access... " >&6; }
13587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13588 /* end confdefs.h.  */
13589 #include <glib/gstdio.h>
13590 int
13591 main ()
13592 {
13593 (void)g_access("/xxx",0777);
13594   ;
13595   return 0;
13596 }
13597 _ACEOF
13598 if ac_fn_c_try_link "$LINENO"; then :
13599
13600 $as_echo "#define HAVE_G_ACCESS 1" >>confdefs.h
13601
13602                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13603 $as_echo "yes" >&6; }
13604 else
13605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13606 $as_echo "no" >&6; }
13607 fi
13608 rm -f core conftest.err conftest.$ac_objext \
13609     conftest$ac_exeext conftest.$ac_ext
13610 CFLAGS=$SAVE_CFLAGS
13611 LIBS=$SAVE_LIBS
13612
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether macro S_ISREG is available" >&5
13614 $as_echo_n "checking whether macro S_ISREG is available... " >&6; }
13615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13616 /* end confdefs.h.  */
13617 #include <sys/types.h>
13618 #include <sys/stat.h>
13619 int
13620 main ()
13621 {
13622 S_ISREG(S_IFMT);
13623   ;
13624   return 0;
13625 }
13626 _ACEOF
13627 if ac_fn_c_try_compile "$LINENO"; then :
13628   macro_s_isreg=yes
13629 else
13630
13631          $as_echo "#define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)" >>confdefs.h
13632
13633          macro_s_isreg=no
13634 fi
13635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $macro_s_isreg" >&5
13637 $as_echo "$macro_s_isreg" >&6; }
13638
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Win32 platform" >&5
13640 $as_echo_n "checking for Win32 platform... " >&6; }
13641 with_win32=no
13642 case $host_os in
13643   mingw* | pw32* | cygwin*)
13644     with_win32=yes
13645
13646     if test -n "$ac_tool_prefix"; then
13647   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
13648 set dummy ${ac_tool_prefix}windres; ac_word=$2
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13650 $as_echo_n "checking for $ac_word... " >&6; }
13651 if ${ac_cv_prog_WINDRES+:} false; then :
13652   $as_echo_n "(cached) " >&6
13653 else
13654   if test -n "$WINDRES"; then
13655   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
13656 else
13657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13658 for as_dir in $PATH
13659 do
13660   IFS=$as_save_IFS
13661   test -z "$as_dir" && as_dir=.
13662     for ac_exec_ext in '' $ac_executable_extensions; do
13663   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13664     ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
13665     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13666     break 2
13667   fi
13668 done
13669   done
13670 IFS=$as_save_IFS
13671
13672 fi
13673 fi
13674 WINDRES=$ac_cv_prog_WINDRES
13675 if test -n "$WINDRES"; then
13676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
13677 $as_echo "$WINDRES" >&6; }
13678 else
13679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13680 $as_echo "no" >&6; }
13681 fi
13682
13683
13684 fi
13685 if test -z "$ac_cv_prog_WINDRES"; then
13686   ac_ct_WINDRES=$WINDRES
13687   # Extract the first word of "windres", so it can be a program name with args.
13688 set dummy windres; ac_word=$2
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13690 $as_echo_n "checking for $ac_word... " >&6; }
13691 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
13692   $as_echo_n "(cached) " >&6
13693 else
13694   if test -n "$ac_ct_WINDRES"; then
13695   ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
13696 else
13697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13698 for as_dir in $PATH
13699 do
13700   IFS=$as_save_IFS
13701   test -z "$as_dir" && as_dir=.
13702     for ac_exec_ext in '' $ac_executable_extensions; do
13703   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13704     ac_cv_prog_ac_ct_WINDRES="windres"
13705     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13706     break 2
13707   fi
13708 done
13709   done
13710 IFS=$as_save_IFS
13711
13712 fi
13713 fi
13714 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
13715 if test -n "$ac_ct_WINDRES"; then
13716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
13717 $as_echo "$ac_ct_WINDRES" >&6; }
13718 else
13719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13720 $as_echo "no" >&6; }
13721 fi
13722
13723   if test "x$ac_ct_WINDRES" = x; then
13724     WINDRES=""
13725   else
13726     case $cross_compiling:$ac_tool_warned in
13727 yes:)
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13729 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13730 ac_tool_warned=yes ;;
13731 esac
13732     WINDRES=$ac_ct_WINDRES
13733   fi
13734 else
13735   WINDRES="$ac_cv_prog_WINDRES"
13736 fi
13737
13738
13739     # Extract the first word of "lib.exe", so it can be a program name with args.
13740 set dummy lib.exe; ac_word=$2
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13742 $as_echo_n "checking for $ac_word... " >&6; }
13743 if ${ac_cv_prog_LIBEXE+:} false; then :
13744   $as_echo_n "(cached) " >&6
13745 else
13746   if test -n "$LIBEXE"; then
13747   ac_cv_prog_LIBEXE="$LIBEXE" # Let the user override the test.
13748 else
13749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13750 for as_dir in $PATH
13751 do
13752   IFS=$as_save_IFS
13753   test -z "$as_dir" && as_dir=.
13754     for ac_exec_ext in '' $ac_executable_extensions; do
13755   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13756     ac_cv_prog_LIBEXE="yes"
13757     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13758     break 2
13759   fi
13760 done
13761   done
13762 IFS=$as_save_IFS
13763
13764   test -z "$ac_cv_prog_LIBEXE" && ac_cv_prog_LIBEXE="no"
13765 fi
13766 fi
13767 LIBEXE=$ac_cv_prog_LIBEXE
13768 if test -n "$LIBEXE"; then
13769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBEXE" >&5
13770 $as_echo "$LIBEXE" >&6; }
13771 else
13772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13773 $as_echo "no" >&6; }
13774 fi
13775
13776
13777     ;;
13778 esac
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_win32" >&5
13780 $as_echo "$with_win32" >&6; }
13781  if test $with_win32 = yes; then
13782   WITH_WIN32_TRUE=
13783   WITH_WIN32_FALSE='#'
13784 else
13785   WITH_WIN32_TRUE='#'
13786   WITH_WIN32_FALSE=
13787 fi
13788
13789  if test x$LIBEXE = xyes; then
13790   HAVE_LIBEXE_TRUE=
13791   HAVE_LIBEXE_FALSE='#'
13792 else
13793   HAVE_LIBEXE_TRUE='#'
13794   HAVE_LIBEXE_FALSE=
13795 fi
13796
13797  if test x"$cross_compiling" != "xno"; then
13798   CROSS_COMPILING_TRUE=
13799   CROSS_COMPILING_FALSE='#'
13800 else
13801   CROSS_COMPILING_TRUE='#'
13802   CROSS_COMPILING_FALSE=
13803 fi
13804
13805
13806 ##################################################
13807 # Checks for gtk-doc and docbook-tools
13808 ##################################################
13809 gtk_doc_installed=true
13810 #ifdef([GTK_DOC_CHECK],[GTK_DOC_CHECK([1.0])],[gtk_doc_installed=false])
13811 # I would have liked to conditionalize this, but
13812 # that appears to break other things http://bugzilla.gnome.org/show_bug.cgi?id=156399
13813
13814
13815     # Extract the first word of "gtkdoc-check", so it can be a program name with args.
13816 set dummy gtkdoc-check; ac_word=$2
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13818 $as_echo_n "checking for $ac_word... " >&6; }
13819 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
13820   $as_echo_n "(cached) " >&6
13821 else
13822   case $GTKDOC_CHECK in
13823   [\\/]* | ?:[\\/]*)
13824   ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
13825   ;;
13826   *)
13827   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13828 for as_dir in $PATH
13829 do
13830   IFS=$as_save_IFS
13831   test -z "$as_dir" && as_dir=.
13832     for ac_exec_ext in '' $ac_executable_extensions; do
13833   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13834     ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
13835     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13836     break 2
13837   fi
13838 done
13839   done
13840 IFS=$as_save_IFS
13841
13842   ;;
13843 esac
13844 fi
13845 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
13846 if test -n "$GTKDOC_CHECK"; then
13847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
13848 $as_echo "$GTKDOC_CHECK" >&6; }
13849 else
13850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13851 $as_echo "no" >&6; }
13852 fi
13853
13854
13855   for ac_prog in gtkdoc-rebase
13856 do
13857   # Extract the first word of "$ac_prog", so it can be a program name with args.
13858 set dummy $ac_prog; ac_word=$2
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13860 $as_echo_n "checking for $ac_word... " >&6; }
13861 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
13862   $as_echo_n "(cached) " >&6
13863 else
13864   case $GTKDOC_REBASE in
13865   [\\/]* | ?:[\\/]*)
13866   ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
13867   ;;
13868   *)
13869   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13870 for as_dir in $PATH
13871 do
13872   IFS=$as_save_IFS
13873   test -z "$as_dir" && as_dir=.
13874     for ac_exec_ext in '' $ac_executable_extensions; do
13875   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13876     ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
13877     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13878     break 2
13879   fi
13880 done
13881   done
13882 IFS=$as_save_IFS
13883
13884   ;;
13885 esac
13886 fi
13887 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
13888 if test -n "$GTKDOC_REBASE"; then
13889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
13890 $as_echo "$GTKDOC_REBASE" >&6; }
13891 else
13892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13893 $as_echo "no" >&6; }
13894 fi
13895
13896
13897   test -n "$GTKDOC_REBASE" && break
13898 done
13899 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
13900
13901   # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
13902 set dummy gtkdoc-mkpdf; ac_word=$2
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13904 $as_echo_n "checking for $ac_word... " >&6; }
13905 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
13906   $as_echo_n "(cached) " >&6
13907 else
13908   case $GTKDOC_MKPDF in
13909   [\\/]* | ?:[\\/]*)
13910   ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
13911   ;;
13912   *)
13913   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13914 for as_dir in $PATH
13915 do
13916   IFS=$as_save_IFS
13917   test -z "$as_dir" && as_dir=.
13918     for ac_exec_ext in '' $ac_executable_extensions; do
13919   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13920     ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
13921     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13922     break 2
13923   fi
13924 done
13925   done
13926 IFS=$as_save_IFS
13927
13928   ;;
13929 esac
13930 fi
13931 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
13932 if test -n "$GTKDOC_MKPDF"; then
13933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
13934 $as_echo "$GTKDOC_MKPDF" >&6; }
13935 else
13936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13937 $as_echo "no" >&6; }
13938 fi
13939
13940
13941
13942
13943 # Check whether --with-html-dir was given.
13944 if test "${with_html_dir+set}" = set; then :
13945   withval=$with_html_dir;
13946 else
13947   with_html_dir='${datadir}/gtk-doc/html'
13948 fi
13949
13950   HTML_DIR="$with_html_dir"
13951
13952
13953     # Check whether --enable-gtk-doc was given.
13954 if test "${enable_gtk_doc+set}" = set; then :
13955   enableval=$enable_gtk_doc;
13956 else
13957   enable_gtk_doc=no
13958 fi
13959
13960
13961   if test x$enable_gtk_doc = xyes; then
13962     if test -n "$PKG_CONFIG" && \
13963     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.0\""; } >&5
13964   ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.0") 2>&5
13965   ac_status=$?
13966   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13967   test $ac_status = 0; }; then
13968   :
13969 else
13970   as_fn_error $? "You need to have gtk-doc >= 1.0 installed to build $PACKAGE_NAME" "$LINENO" 5
13971 fi
13972   fi
13973
13974   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
13975 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
13976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
13977 $as_echo "$enable_gtk_doc" >&6; }
13978
13979     # Check whether --enable-gtk-doc-html was given.
13980 if test "${enable_gtk_doc_html+set}" = set; then :
13981   enableval=$enable_gtk_doc_html;
13982 else
13983   enable_gtk_doc_html=yes
13984 fi
13985
13986     # Check whether --enable-gtk-doc-pdf was given.
13987 if test "${enable_gtk_doc_pdf+set}" = set; then :
13988   enableval=$enable_gtk_doc_pdf;
13989 else
13990   enable_gtk_doc_pdf=no
13991 fi
13992
13993
13994   if test -z "$GTKDOC_MKPDF"; then
13995     enable_gtk_doc_pdf=no
13996   fi
13997
13998
13999    if test x$enable_gtk_doc = xyes; then
14000   ENABLE_GTK_DOC_TRUE=
14001   ENABLE_GTK_DOC_FALSE='#'
14002 else
14003   ENABLE_GTK_DOC_TRUE='#'
14004   ENABLE_GTK_DOC_FALSE=
14005 fi
14006
14007    if test x$enable_gtk_doc_html = xyes; then
14008   GTK_DOC_BUILD_HTML_TRUE=
14009   GTK_DOC_BUILD_HTML_FALSE='#'
14010 else
14011   GTK_DOC_BUILD_HTML_TRUE='#'
14012   GTK_DOC_BUILD_HTML_FALSE=
14013 fi
14014
14015    if test x$enable_gtk_doc_pdf = xyes; then
14016   GTK_DOC_BUILD_PDF_TRUE=
14017   GTK_DOC_BUILD_PDF_FALSE='#'
14018 else
14019   GTK_DOC_BUILD_PDF_TRUE='#'
14020   GTK_DOC_BUILD_PDF_FALSE=
14021 fi
14022
14023    if test -n "$LIBTOOL"; then
14024   GTK_DOC_USE_LIBTOOL_TRUE=
14025   GTK_DOC_USE_LIBTOOL_FALSE='#'
14026 else
14027   GTK_DOC_USE_LIBTOOL_TRUE='#'
14028   GTK_DOC_USE_LIBTOOL_FALSE=
14029 fi
14030
14031    if test -n "$GTKDOC_REBASE"; then
14032   GTK_DOC_USE_REBASE_TRUE=
14033   GTK_DOC_USE_REBASE_FALSE='#'
14034 else
14035   GTK_DOC_USE_REBASE_TRUE='#'
14036   GTK_DOC_USE_REBASE_FALSE=
14037 fi
14038
14039
14040  if $gtk_doc_installed; then
14041   GTK_DOC_INSTALLED_TRUE=
14042   GTK_DOC_INSTALLED_FALSE='#'
14043 else
14044   GTK_DOC_INSTALLED_TRUE='#'
14045   GTK_DOC_INSTALLED_FALSE=
14046 fi
14047
14048
14049 # Check for zlib.
14050 _cppflags=$CPPFLAGS
14051 _ldflags=$LDFLAGS
14052
14053 Z_DIR= Z_LIBS= Z_CPPFLAGS=
14054
14055
14056 # Check whether --with-zlib was given.
14057 if test "${with_zlib+set}" = set; then :
14058   withval=$with_zlib; case $withval in
14059          yes|no) ;;
14060          *)     Z_DIR=$withval
14061                 CPPFLAGS="${CPPFLAGS} -I$withval/include"
14062                 LDFLAGS="${LDFLAGS} -L$withval/lib"
14063                 ;;
14064          esac
14065 fi
14066
14067
14068 if test "x$with_zlib" != xno; then
14069         with_zlib=no
14070         ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
14071 if test "x$ac_cv_header_zlib_h" = xyes; then :
14072   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz" >&5
14073 $as_echo_n "checking for gzread in -lz... " >&6; }
14074 if ${ac_cv_lib_z_gzread+:} false; then :
14075   $as_echo_n "(cached) " >&6
14076 else
14077   ac_check_lib_save_LIBS=$LIBS
14078 LIBS="-lz  $LIBS"
14079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14080 /* end confdefs.h.  */
14081
14082 /* Override any GCC internal prototype to avoid an error.
14083    Use char because int might match the return type of a GCC
14084    builtin and then its argument prototype would still apply.  */
14085 #ifdef __cplusplus
14086 extern "C"
14087 #endif
14088 char gzread ();
14089 int
14090 main ()
14091 {
14092 return gzread ();
14093   ;
14094   return 0;
14095 }
14096 _ACEOF
14097 if ac_fn_c_try_link "$LINENO"; then :
14098   ac_cv_lib_z_gzread=yes
14099 else
14100   ac_cv_lib_z_gzread=no
14101 fi
14102 rm -f core conftest.err conftest.$ac_objext \
14103     conftest$ac_exeext conftest.$ac_ext
14104 LIBS=$ac_check_lib_save_LIBS
14105 fi
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5
14107 $as_echo "$ac_cv_lib_z_gzread" >&6; }
14108 if test "x$ac_cv_lib_z_gzread" = xyes; then :
14109   with_zlib=yes
14110 fi
14111
14112 fi
14113
14114
14115 fi
14116 if test "$with_zlib" = no; then
14117         as_fn_error $? "*** zlib is required" "$LINENO" 5
14118 fi
14119 if test "x$Z_DIR" != "x"; then
14120         Z_CPPFLAGS="-I$Z_DIR/include"
14121         case $host in
14122         *-*-solaris*)   Z_LIBS="-L$Z_DIR/lib -R$Z_DIR/lib -lz" ;;
14123         *)              Z_LIBS="-L$Z_DIR/lib -lz" ;;
14124         esac
14125 else
14126         Z_LIBS="-lz"
14127 fi
14128
14129
14130
14131 CPPFLAGS=${_cppflags}
14132 LDFLAGS=${_ldflags}
14133
14134
14135 test_python=true
14136
14137 # Check whether --with-python was given.
14138 if test "${with_python+set}" = set; then :
14139   withval=$with_python; if test "x$withval" = xno; then
14140                 test_python=false
14141         fi
14142
14143 fi
14144
14145
14146 if test "x$test_python" = xtrue ; then
14147     pygobject_msg=test
14148
14149
14150
14151
14152         # Find any Python interpreter.
14153     if test -z "$PYTHON"; then
14154       for ac_prog in python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0
14155 do
14156   # Extract the first word of "$ac_prog", so it can be a program name with args.
14157 set dummy $ac_prog; ac_word=$2
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14159 $as_echo_n "checking for $ac_word... " >&6; }
14160 if ${ac_cv_path_PYTHON+:} false; then :
14161   $as_echo_n "(cached) " >&6
14162 else
14163   case $PYTHON in
14164   [\\/]* | ?:[\\/]*)
14165   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
14166   ;;
14167   *)
14168   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14169 for as_dir in $PATH
14170 do
14171   IFS=$as_save_IFS
14172   test -z "$as_dir" && as_dir=.
14173     for ac_exec_ext in '' $ac_executable_extensions; do
14174   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14175     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
14176     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14177     break 2
14178   fi
14179 done
14180   done
14181 IFS=$as_save_IFS
14182
14183   ;;
14184 esac
14185 fi
14186 PYTHON=$ac_cv_path_PYTHON
14187 if test -n "$PYTHON"; then
14188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
14189 $as_echo "$PYTHON" >&6; }
14190 else
14191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14192 $as_echo "no" >&6; }
14193 fi
14194
14195
14196   test -n "$PYTHON" && break
14197 done
14198 test -n "$PYTHON" || PYTHON=":"
14199
14200     fi
14201     am_display_PYTHON=python
14202
14203
14204   if test "$PYTHON" = :; then
14205       as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
14206   else
14207
14208
14209   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
14210 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
14211 if ${am_cv_python_version+:} false; then :
14212   $as_echo_n "(cached) " >&6
14213 else
14214   am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
14215 fi
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
14217 $as_echo "$am_cv_python_version" >&6; }
14218   PYTHON_VERSION=$am_cv_python_version
14219
14220
14221
14222   PYTHON_PREFIX='${prefix}'
14223
14224   PYTHON_EXEC_PREFIX='${exec_prefix}'
14225
14226
14227
14228   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
14229 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
14230 if ${am_cv_python_platform+:} false; then :
14231   $as_echo_n "(cached) " >&6
14232 else
14233   am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
14234 fi
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
14236 $as_echo "$am_cv_python_platform" >&6; }
14237   PYTHON_PLATFORM=$am_cv_python_platform
14238
14239
14240
14241
14242                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
14243 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
14244 if ${am_cv_python_pythondir+:} false; then :
14245   $as_echo_n "(cached) " >&6
14246 else
14247   if test "x$prefix" = xNONE
14248      then
14249        am_py_prefix=$ac_default_prefix
14250      else
14251        am_py_prefix=$prefix
14252      fi
14253      am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null ||
14254      echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
14255      case $am_cv_python_pythondir in
14256      $am_py_prefix*)
14257        am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
14258        am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
14259        ;;
14260      *)
14261        case $am_py_prefix in
14262          /usr|/System*) ;;
14263          *)
14264           am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
14265           ;;
14266        esac
14267        ;;
14268      esac
14269
14270 fi
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
14272 $as_echo "$am_cv_python_pythondir" >&6; }
14273   pythondir=$am_cv_python_pythondir
14274
14275
14276
14277   pkgpythondir=\${pythondir}/$PACKAGE
14278
14279
14280             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
14281 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
14282 if ${am_cv_python_pyexecdir+:} false; then :
14283   $as_echo_n "(cached) " >&6
14284 else
14285   if test "x$exec_prefix" = xNONE
14286      then
14287        am_py_exec_prefix=$am_py_prefix
14288      else
14289        am_py_exec_prefix=$exec_prefix
14290      fi
14291      am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null ||
14292      echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
14293      case $am_cv_python_pyexecdir in
14294      $am_py_exec_prefix*)
14295        am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
14296        am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
14297        ;;
14298      *)
14299        case $am_py_exec_prefix in
14300          /usr|/System*) ;;
14301          *)
14302            am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
14303            ;;
14304        esac
14305        ;;
14306      esac
14307
14308 fi
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
14310 $as_echo "$am_cv_python_pyexecdir" >&6; }
14311   pyexecdir=$am_cv_python_pyexecdir
14312
14313
14314
14315   pkgpyexecdir=\${pyexecdir}/$PACKAGE
14316
14317
14318
14319   fi
14320
14321
14322
14323
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for headers required to compile python extensions" >&5
14325 $as_echo_n "checking for headers required to compile python extensions... " >&6; }
14326 py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
14327 py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
14328 PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
14329 if test "$py_prefix" != "$py_exec_prefix"; then
14330   PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
14331 fi
14332
14333 save_CPPFLAGS="$CPPFLAGS"
14334 CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
14335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14336 /* end confdefs.h.  */
14337 #include <Python.h>
14338 _ACEOF
14339 if ac_fn_c_try_cpp "$LINENO"; then :
14340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14341 $as_echo "found" >&6; }
14342
14343 else
14344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14345 $as_echo "not found" >&6; }
14346 pygobject_msg="NO.  Missing python headers"
14347 fi
14348 rm -f conftest.err conftest.i conftest.$ac_ext
14349 CPPFLAGS="$save_CPPFLAGS"
14350
14351
14352         if test "$pygobject_msg" = test; then
14353
14354 pkg_failed=no
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYGTK" >&5
14356 $as_echo_n "checking for PYGTK... " >&6; }
14357
14358 if test -n "$PYGTK_CFLAGS"; then
14359     pkg_cv_PYGTK_CFLAGS="$PYGTK_CFLAGS"
14360  elif test -n "$PKG_CONFIG"; then
14361     if test -n "$PKG_CONFIG" && \
14362     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-2.0 >= 2.10.0\""; } >&5
14363   ($PKG_CONFIG --exists --print-errors "pygobject-2.0 >= 2.10.0") 2>&5
14364   ac_status=$?
14365   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14366   test $ac_status = 0; }; then
14367   pkg_cv_PYGTK_CFLAGS=`$PKG_CONFIG --cflags "pygobject-2.0 >= 2.10.0" 2>/dev/null`
14368 else
14369   pkg_failed=yes
14370 fi
14371  else
14372     pkg_failed=untried
14373 fi
14374 if test -n "$PYGTK_LIBS"; then
14375     pkg_cv_PYGTK_LIBS="$PYGTK_LIBS"
14376  elif test -n "$PKG_CONFIG"; then
14377     if test -n "$PKG_CONFIG" && \
14378     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-2.0 >= 2.10.0\""; } >&5
14379   ($PKG_CONFIG --exists --print-errors "pygobject-2.0 >= 2.10.0") 2>&5
14380   ac_status=$?
14381   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14382   test $ac_status = 0; }; then
14383   pkg_cv_PYGTK_LIBS=`$PKG_CONFIG --libs "pygobject-2.0 >= 2.10.0" 2>/dev/null`
14384 else
14385   pkg_failed=yes
14386 fi
14387  else
14388     pkg_failed=untried
14389 fi
14390
14391
14392
14393 if test $pkg_failed = yes; then
14394         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14395 $as_echo "no" >&6; }
14396
14397 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14398         _pkg_short_errors_supported=yes
14399 else
14400         _pkg_short_errors_supported=no
14401 fi
14402         if test $_pkg_short_errors_supported = yes; then
14403                 PYGTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pygobject-2.0 >= 2.10.0" 2>&1`
14404         else
14405                 PYGTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "pygobject-2.0 >= 2.10.0" 2>&1`
14406         fi
14407         # Put the nasty error message in config.log where it belongs
14408         echo "$PYGTK_PKG_ERRORS" >&5
14409
14410         pygobject_msg="NO.  pygtk problem"
14411 elif test $pkg_failed = untried; then
14412         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14413 $as_echo "no" >&6; }
14414         pygobject_msg="NO.  pygtk problem"
14415 else
14416         PYGTK_CFLAGS=$pkg_cv_PYGTK_CFLAGS
14417         PYGTK_LIBS=$pkg_cv_PYGTK_LIBS
14418         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14419 $as_echo "yes" >&6; }
14420
14421 fi
14422
14423     fi
14424     if test "$pygobject_msg" = test; then
14425         # Extract the first word of "pygtk-codegen-2.0", so it can be a program name with args.
14426 set dummy pygtk-codegen-2.0; ac_word=$2
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14428 $as_echo_n "checking for $ac_word... " >&6; }
14429 if ${ac_cv_path_PYGTK_CODEGEN+:} false; then :
14430   $as_echo_n "(cached) " >&6
14431 else
14432   case $PYGTK_CODEGEN in
14433   [\\/]* | ?:[\\/]*)
14434   ac_cv_path_PYGTK_CODEGEN="$PYGTK_CODEGEN" # Let the user override the test with a path.
14435   ;;
14436   *)
14437   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14438 for as_dir in $PATH
14439 do
14440   IFS=$as_save_IFS
14441   test -z "$as_dir" && as_dir=.
14442     for ac_exec_ext in '' $ac_executable_extensions; do
14443   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14444     ac_cv_path_PYGTK_CODEGEN="$as_dir/$ac_word$ac_exec_ext"
14445     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14446     break 2
14447   fi
14448 done
14449   done
14450 IFS=$as_save_IFS
14451
14452   test -z "$ac_cv_path_PYGTK_CODEGEN" && ac_cv_path_PYGTK_CODEGEN="no"
14453   ;;
14454 esac
14455 fi
14456 PYGTK_CODEGEN=$ac_cv_path_PYGTK_CODEGEN
14457 if test -n "$PYGTK_CODEGEN"; then
14458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYGTK_CODEGEN" >&5
14459 $as_echo "$PYGTK_CODEGEN" >&6; }
14460 else
14461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14462 $as_echo "no" >&6; }
14463 fi
14464
14465
14466         if test "$PYGTK_CODEGEN" = no; then
14467             pygobject_msg="NO.  Missing pygtk-codegen-2.0"
14468         fi
14469     fi
14470
14471     if test "$pygobject_msg" = test; then
14472         pygobject_msg=yes
14473     fi
14474     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pygobject_msg" >&5
14475 $as_echo "$pygobject_msg" >&6; }
14476 else
14477     pygobject_msg=no
14478 fi
14479
14480  if test "$pygobject_msg" = yes; then
14481   WITH_PYTHON_TRUE=
14482   WITH_PYTHON_FALSE='#'
14483 else
14484   WITH_PYTHON_TRUE='#'
14485   WITH_PYTHON_FALSE=
14486 fi
14487
14488
14489
14490 BZ2_LIBS=
14491 test_bz2=true
14492
14493 # Check whether --with-bz2 was given.
14494 if test "${with_bz2+set}" = set; then :
14495   withval=$with_bz2; if test "x$withval" = xno; then
14496                 test_bz2=false
14497         fi
14498
14499 fi
14500
14501
14502 with_bz2=false
14503 if test "x$test_bz2" = xtrue ; then
14504    { $as_echo "$as_me:${as_lineno-$LINENO}: checking usable libbz2" >&5
14505 $as_echo_n "checking usable libbz2... " >&6; }
14506
14507
14508    old_LIBS="$LIBS"
14509    LIBS="-lbz2 $LIBS"
14510    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14511 /* end confdefs.h.  */
14512 #include <stdio.h>
14513           #undef PACKAGE
14514           #undef VERSION
14515           #undef HAVE_STDLIB_H
14516           #include <bzlib.h>
14517           main ()
14518           {
14519             return BZ2_bzDecompressInit (NULL, 0, 0);
14520           }
14521
14522 _ACEOF
14523 if ac_fn_c_try_link "$LINENO"; then :
14524   bz2_ok=yes
14525 else
14526   bz2_ok=no
14527 fi
14528 rm -f core conftest.err conftest.$ac_objext \
14529     conftest$ac_exeext conftest.$ac_ext
14530    LIBS="$old_LIBS"
14531
14532    if test "$bz2_ok" = yes; then
14533
14534 $as_echo "#define HAVE_BZ2 1" >>confdefs.h
14535
14536         BZ2_LIBS="-lbz2"
14537         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bz2_ok" >&5
14538 $as_echo "$bz2_ok" >&6; }
14539    else
14540         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** BZ2 support disabled (BZ2 header or library not found) ***" >&5
14541 $as_echo "$as_me: WARNING: *** BZ2 support disabled (BZ2 header or library not found) ***" >&2;}
14542    fi
14543 else
14544    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BZ2 support disabled, as requested (Use --with-bz2 to enable)" >&5
14545 $as_echo "$as_me: WARNING: BZ2 support disabled, as requested (Use --with-bz2 to enable)" >&2;}
14546 fi
14547
14548
14549
14550
14551 want_gio=auto
14552
14553 # Check whether --with-gio was given.
14554 if test "${with_gio+set}" = set; then :
14555   withval=$with_gio; case $withval in
14556         yes) want_gio=yes;;
14557         no) want_gio=no;;
14558         esac
14559 fi
14560
14561
14562 have_gio=no
14563 if test $want_gio = no ; then
14564     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GIO support disabled, as requested (Use --with-gio to enable)" >&5
14565 $as_echo "$as_me: WARNING: GIO support disabled, as requested (Use --with-gio to enable)" >&2;}
14566 else
14567
14568 pkg_failed=no
14569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGSF_GIO" >&5
14570 $as_echo_n "checking for LIBGSF_GIO... " >&6; }
14571
14572 if test -n "$LIBGSF_GIO_CFLAGS"; then
14573     pkg_cv_LIBGSF_GIO_CFLAGS="$LIBGSF_GIO_CFLAGS"
14574  elif test -n "$PKG_CONFIG"; then
14575     if test -n "$PKG_CONFIG" && \
14576     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
14577   ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
14578   ac_status=$?
14579   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14580   test $ac_status = 0; }; then
14581   pkg_cv_LIBGSF_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0" 2>/dev/null`
14582 else
14583   pkg_failed=yes
14584 fi
14585  else
14586     pkg_failed=untried
14587 fi
14588 if test -n "$LIBGSF_GIO_LIBS"; then
14589     pkg_cv_LIBGSF_GIO_LIBS="$LIBGSF_GIO_LIBS"
14590  elif test -n "$PKG_CONFIG"; then
14591     if test -n "$PKG_CONFIG" && \
14592     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
14593   ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
14594   ac_status=$?
14595   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14596   test $ac_status = 0; }; then
14597   pkg_cv_LIBGSF_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0" 2>/dev/null`
14598 else
14599   pkg_failed=yes
14600 fi
14601  else
14602     pkg_failed=untried
14603 fi
14604
14605
14606
14607 if test $pkg_failed = yes; then
14608         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14609 $as_echo "no" >&6; }
14610
14611 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14612         _pkg_short_errors_supported=yes
14613 else
14614         _pkg_short_errors_supported=no
14615 fi
14616         if test $_pkg_short_errors_supported = yes; then
14617                 LIBGSF_GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gio-2.0" 2>&1`
14618         else
14619                 LIBGSF_GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors "gio-2.0" 2>&1`
14620         fi
14621         # Put the nasty error message in config.log where it belongs
14622         echo "$LIBGSF_GIO_PKG_ERRORS" >&5
14623
14624         if test $want_gio = yes; then
14625             as_fn_error $? "GIO support requested, but not available." "$LINENO" 5
14626          else
14627             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GIO support disabled, unable to find required version of GIO" >&5
14628 $as_echo "$as_me: WARNING: GIO support disabled, unable to find required version of GIO" >&2;}
14629          fi
14630 elif test $pkg_failed = untried; then
14631         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14632 $as_echo "no" >&6; }
14633         if test $want_gio = yes; then
14634             as_fn_error $? "GIO support requested, but not available." "$LINENO" 5
14635          else
14636             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GIO support disabled, unable to find required version of GIO" >&5
14637 $as_echo "$as_me: WARNING: GIO support disabled, unable to find required version of GIO" >&2;}
14638          fi
14639 else
14640         LIBGSF_GIO_CFLAGS=$pkg_cv_LIBGSF_GIO_CFLAGS
14641         LIBGSF_GIO_LIBS=$pkg_cv_LIBGSF_GIO_LIBS
14642         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14643 $as_echo "yes" >&6; }
14644         have_gio=yes
14645 fi
14646 fi
14647  if test $have_gio = yes; then
14648   WITH_GIO_TRUE=
14649   WITH_GIO_FALSE='#'
14650 else
14651   WITH_GIO_TRUE='#'
14652   WITH_GIO_FALSE=
14653 fi
14654
14655 want_gio=$have_gio
14656
14657
14658
14659 want_gnome=no
14660
14661 want_gnome_vfs=auto
14662
14663 # Check whether --with-gnome_vfs was given.
14664 if test "${with_gnome_vfs+set}" = set; then :
14665   withval=$with_gnome_vfs; case $withval in
14666         yes) want_gnome_vfs=yes;;
14667         no) want_gnome_vfs=no;;
14668         esac
14669 fi
14670
14671 if test $want_gnome_vfs = auto -a "$want_gio" = yes; then
14672         want_gnome_vfs=yes
14673 fi
14674 GNOMEVFS_REQ=
14675 if test $want_gnome_vfs = yes; then
14676         if test "$want_gio" = yes; then
14677                 CFLAGS="$CFLAGS -DLIBGSF_GNOMEVFS_VIA_GIO"
14678         else
14679                 GNOMEVFS_REQ="gnome-vfs-2.0 >= 2.2.0 gnome-vfs-module-2.0 >= 2.2.0"
14680                 libgsf_gnome_reqs="$libgsf_gnome_reqs $GNOMEVFS_REQ"
14681                 want_gnome=yes
14682         fi
14683 fi
14684
14685
14686 want_bonobo=no
14687
14688 # Check whether --with-bonobo was given.
14689 if test "${with_bonobo+set}" = set; then :
14690   withval=$with_bonobo; case "${withval}" in
14691     yes) want_bonobo=yes ;;
14692     no) want_bonobo=no ;;
14693     *) as_fn_error $? "bad value ${withval} for --with-bonobo" "$LINENO" 5 ;;
14694     esac
14695 else
14696   want_bonobo=auto
14697 fi
14698
14699 BONOBO_REQ="libbonobo-2.0 >= 2.0.0"
14700 have_bonobo=no
14701 if test $want_bonobo = no ; then
14702     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Bonobo support disabled, as requested (Use --with-bonobo to enable)" >&5
14703 $as_echo "$as_me: WARNING: Bonobo support disabled, as requested (Use --with-bonobo to enable)" >&2;}
14704 else
14705
14706 pkg_failed=no
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGSF_BONOBO" >&5
14708 $as_echo_n "checking for LIBGSF_BONOBO... " >&6; }
14709
14710 if test -n "$LIBGSF_BONOBO_CFLAGS"; then
14711     pkg_cv_LIBGSF_BONOBO_CFLAGS="$LIBGSF_BONOBO_CFLAGS"
14712  elif test -n "$PKG_CONFIG"; then
14713     if test -n "$PKG_CONFIG" && \
14714     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$BONOBO_REQ\""; } >&5
14715   ($PKG_CONFIG --exists --print-errors "$BONOBO_REQ") 2>&5
14716   ac_status=$?
14717   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14718   test $ac_status = 0; }; then
14719   pkg_cv_LIBGSF_BONOBO_CFLAGS=`$PKG_CONFIG --cflags "$BONOBO_REQ" 2>/dev/null`
14720 else
14721   pkg_failed=yes
14722 fi
14723  else
14724     pkg_failed=untried
14725 fi
14726 if test -n "$LIBGSF_BONOBO_LIBS"; then
14727     pkg_cv_LIBGSF_BONOBO_LIBS="$LIBGSF_BONOBO_LIBS"
14728  elif test -n "$PKG_CONFIG"; then
14729     if test -n "$PKG_CONFIG" && \
14730     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$BONOBO_REQ\""; } >&5
14731   ($PKG_CONFIG --exists --print-errors "$BONOBO_REQ") 2>&5
14732   ac_status=$?
14733   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14734   test $ac_status = 0; }; then
14735   pkg_cv_LIBGSF_BONOBO_LIBS=`$PKG_CONFIG --libs "$BONOBO_REQ" 2>/dev/null`
14736 else
14737   pkg_failed=yes
14738 fi
14739  else
14740     pkg_failed=untried
14741 fi
14742
14743
14744
14745 if test $pkg_failed = yes; then
14746         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14747 $as_echo "no" >&6; }
14748
14749 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14750         _pkg_short_errors_supported=yes
14751 else
14752         _pkg_short_errors_supported=no
14753 fi
14754         if test $_pkg_short_errors_supported = yes; then
14755                 LIBGSF_BONOBO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$BONOBO_REQ" 2>&1`
14756         else
14757                 LIBGSF_BONOBO_PKG_ERRORS=`$PKG_CONFIG --print-errors "$BONOBO_REQ" 2>&1`
14758         fi
14759         # Put the nasty error message in config.log where it belongs
14760         echo "$LIBGSF_BONOBO_PKG_ERRORS" >&5
14761
14762         if test $want_bonobo = yes; then
14763             as_fn_error $? "Bonobo support requested, but not available." "$LINENO" 5
14764          else
14765             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Bonobo support disabled, unable to find required version" >&5
14766 $as_echo "$as_me: WARNING: Bonobo support disabled, unable to find required version" >&2;}
14767          fi
14768 elif test $pkg_failed = untried; then
14769         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14770 $as_echo "no" >&6; }
14771         if test $want_bonobo = yes; then
14772             as_fn_error $? "Bonobo support requested, but not available." "$LINENO" 5
14773          else
14774             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Bonobo support disabled, unable to find required version" >&5
14775 $as_echo "$as_me: WARNING: Bonobo support disabled, unable to find required version" >&2;}
14776          fi
14777 else
14778         LIBGSF_BONOBO_CFLAGS=$pkg_cv_LIBGSF_BONOBO_CFLAGS
14779         LIBGSF_BONOBO_LIBS=$pkg_cv_LIBGSF_BONOBO_LIBS
14780         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14781 $as_echo "yes" >&6; }
14782         have_bonobo=yes
14783 fi
14784 fi
14785
14786 if test $have_bonobo = yes; then
14787     libgsf_gnome_reqs="$libgsf_gnome_reqs $BONOBO_REQ"
14788     want_gnome=yes
14789 else
14790     BONOBO_REQ=
14791 fi
14792
14793
14794 want_gdk_pixbuf=no
14795
14796 # Check whether --with-gdk_pixbuf was given.
14797 if test "${with_gdk_pixbuf+set}" = set; then :
14798   withval=$with_gdk_pixbuf; case "${withval}" in
14799     yes) want_gdk_pixbuf=yes ;;
14800     no) want_gdk_pixbuf=no ;;
14801     *) as_fn_error $? "bad value ${withval} for --with-gdk-pixbuf" "$LINENO" 5 ;;
14802     esac
14803 else
14804   want_gdk_pixbuf=auto
14805 fi
14806
14807 if test $want_gdk_pixbuf = no ; then
14808     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gdk-pixbuf support disabled, as requested (Use --with-gdk-pixbuf to enable)" >&5
14809 $as_echo "$as_me: WARNING: gdk-pixbuf support disabled, as requested (Use --with-gdk-pixbuf to enable)" >&2;}
14810 else
14811
14812 pkg_failed=no
14813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK_PIXBUF" >&5
14814 $as_echo_n "checking for GDK_PIXBUF... " >&6; }
14815
14816 if test -n "$GDK_PIXBUF_CFLAGS"; then
14817     pkg_cv_GDK_PIXBUF_CFLAGS="$GDK_PIXBUF_CFLAGS"
14818  elif test -n "$PKG_CONFIG"; then
14819     if test -n "$PKG_CONFIG" && \
14820     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0\""; } >&5
14821   ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0") 2>&5
14822   ac_status=$?
14823   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14824   test $ac_status = 0; }; then
14825   pkg_cv_GDK_PIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf-2.0" 2>/dev/null`
14826 else
14827   pkg_failed=yes
14828 fi
14829  else
14830     pkg_failed=untried
14831 fi
14832 if test -n "$GDK_PIXBUF_LIBS"; then
14833     pkg_cv_GDK_PIXBUF_LIBS="$GDK_PIXBUF_LIBS"
14834  elif test -n "$PKG_CONFIG"; then
14835     if test -n "$PKG_CONFIG" && \
14836     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0\""; } >&5
14837   ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0") 2>&5
14838   ac_status=$?
14839   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14840   test $ac_status = 0; }; then
14841   pkg_cv_GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf-2.0" 2>/dev/null`
14842 else
14843   pkg_failed=yes
14844 fi
14845  else
14846     pkg_failed=untried
14847 fi
14848
14849
14850
14851 if test $pkg_failed = yes; then
14852         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14853 $as_echo "no" >&6; }
14854
14855 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14856         _pkg_short_errors_supported=yes
14857 else
14858         _pkg_short_errors_supported=no
14859 fi
14860         if test $_pkg_short_errors_supported = yes; then
14861                 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gdk-pixbuf-2.0" 2>&1`
14862         else
14863                 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --print-errors "gdk-pixbuf-2.0" 2>&1`
14864         fi
14865         # Put the nasty error message in config.log where it belongs
14866         echo "$GDK_PIXBUF_PKG_ERRORS" >&5
14867
14868         if test $want_gdk_pixbuf = yes; then
14869             as_fn_error $? "gdk-pixbuf support requested, but not available." "$LINENO" 5
14870          else
14871             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gdk-pixbuf support disabled, unable to find required version" >&5
14872 $as_echo "$as_me: WARNING: gdk-pixbuf support disabled, unable to find required version" >&2;}
14873          fi
14874 elif test $pkg_failed = untried; then
14875         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14876 $as_echo "no" >&6; }
14877         if test $want_gdk_pixbuf = yes; then
14878             as_fn_error $? "gdk-pixbuf support requested, but not available." "$LINENO" 5
14879          else
14880             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gdk-pixbuf support disabled, unable to find required version" >&5
14881 $as_echo "$as_me: WARNING: gdk-pixbuf support disabled, unable to find required version" >&2;}
14882          fi
14883 else
14884         GDK_PIXBUF_CFLAGS=$pkg_cv_GDK_PIXBUF_CFLAGS
14885         GDK_PIXBUF_LIBS=$pkg_cv_GDK_PIXBUF_LIBS
14886         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14887 $as_echo "yes" >&6; }
14888
14889 $as_echo "#define HAVE_GDK_PIXBUF 1" >>confdefs.h
14890
14891 fi
14892 fi
14893
14894 have_gnome=no
14895 if test $want_gnome = no ; then
14896     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNOME support disabled, as requested (Use --with-gnome-vfs and/or --with-bonobo to enable)" >&5
14897 $as_echo "$as_me: WARNING: GNOME support disabled, as requested (Use --with-gnome-vfs and/or --with-bonobo to enable)" >&2;}
14898 else
14899
14900 pkg_failed=no
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGSF_GNOME" >&5
14902 $as_echo_n "checking for LIBGSF_GNOME... " >&6; }
14903
14904 if test -n "$LIBGSF_GNOME_CFLAGS"; then
14905     pkg_cv_LIBGSF_GNOME_CFLAGS="$LIBGSF_GNOME_CFLAGS"
14906  elif test -n "$PKG_CONFIG"; then
14907     if test -n "$PKG_CONFIG" && \
14908     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$libgsf_gnome_reqs\""; } >&5
14909   ($PKG_CONFIG --exists --print-errors "$libgsf_gnome_reqs") 2>&5
14910   ac_status=$?
14911   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14912   test $ac_status = 0; }; then
14913   pkg_cv_LIBGSF_GNOME_CFLAGS=`$PKG_CONFIG --cflags "$libgsf_gnome_reqs" 2>/dev/null`
14914 else
14915   pkg_failed=yes
14916 fi
14917  else
14918     pkg_failed=untried
14919 fi
14920 if test -n "$LIBGSF_GNOME_LIBS"; then
14921     pkg_cv_LIBGSF_GNOME_LIBS="$LIBGSF_GNOME_LIBS"
14922  elif test -n "$PKG_CONFIG"; then
14923     if test -n "$PKG_CONFIG" && \
14924     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$libgsf_gnome_reqs\""; } >&5
14925   ($PKG_CONFIG --exists --print-errors "$libgsf_gnome_reqs") 2>&5
14926   ac_status=$?
14927   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14928   test $ac_status = 0; }; then
14929   pkg_cv_LIBGSF_GNOME_LIBS=`$PKG_CONFIG --libs "$libgsf_gnome_reqs" 2>/dev/null`
14930 else
14931   pkg_failed=yes
14932 fi
14933  else
14934     pkg_failed=untried
14935 fi
14936
14937
14938
14939 if test $pkg_failed = yes; then
14940         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14941 $as_echo "no" >&6; }
14942
14943 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14944         _pkg_short_errors_supported=yes
14945 else
14946         _pkg_short_errors_supported=no
14947 fi
14948         if test $_pkg_short_errors_supported = yes; then
14949                 LIBGSF_GNOME_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$libgsf_gnome_reqs" 2>&1`
14950         else
14951                 LIBGSF_GNOME_PKG_ERRORS=`$PKG_CONFIG --print-errors "$libgsf_gnome_reqs" 2>&1`
14952         fi
14953         # Put the nasty error message in config.log where it belongs
14954         echo "$LIBGSF_GNOME_PKG_ERRORS" >&5
14955
14956         as_fn_error $? "GNOME support requested, but not available." "$LINENO" 5
14957 elif test $pkg_failed = untried; then
14958         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14959 $as_echo "no" >&6; }
14960         as_fn_error $? "GNOME support requested, but not available." "$LINENO" 5
14961 else
14962         LIBGSF_GNOME_CFLAGS=$pkg_cv_LIBGSF_GNOME_CFLAGS
14963         LIBGSF_GNOME_LIBS=$pkg_cv_LIBGSF_GNOME_LIBS
14964         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14965 $as_echo "yes" >&6; }
14966         have_gnome=yes
14967 fi
14968 fi
14969  if test $have_gnome = yes; then
14970   WITH_LIBGSF_GNOME_TRUE=
14971   WITH_LIBGSF_GNOME_FALSE='#'
14972 else
14973   WITH_LIBGSF_GNOME_TRUE='#'
14974   WITH_LIBGSF_GNOME_FALSE=
14975 fi
14976
14977  if test $want_gnome_vfs = yes; then
14978   WITH_LIBGSF_GNOMEVFS_TRUE=
14979   WITH_LIBGSF_GNOMEVFS_FALSE='#'
14980 else
14981   WITH_LIBGSF_GNOMEVFS_TRUE='#'
14982   WITH_LIBGSF_GNOMEVFS_FALSE=
14983 fi
14984
14985  if test $have_bonobo = yes; then
14986   WITH_LIBGSF_BONOBO_TRUE=
14987   WITH_LIBGSF_BONOBO_FALSE='#'
14988 else
14989   WITH_LIBGSF_BONOBO_TRUE='#'
14990   WITH_LIBGSF_BONOBO_FALSE=
14991 fi
14992
14993
14994 # ===================
14995 # GConf configuration
14996
14997 # Check whether --with-gconf was given.
14998 if test "${with_gconf+set}" = set; then :
14999   withval=$with_gconf;
15000 else
15001   with_gconf=auto
15002 fi
15003
15004
15005 if test "$with_gconf" != "no"; then :
15006
15007     if test -n "$PKG_CONFIG" && \
15008     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0 >= 2.24.0\""; } >&5
15009   ($PKG_CONFIG --exists --print-errors "gconf-2.0 >= 2.24.0") 2>&5
15010   ac_status=$?
15011   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15012   test $ac_status = 0; }; then
15013
15014         # Extract the first word of "gconftool-2", so it can be a program name with args.
15015 set dummy gconftool-2; ac_word=$2
15016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15017 $as_echo_n "checking for $ac_word... " >&6; }
15018 if ${ac_cv_prog_GCONFTOOL+:} false; then :
15019   $as_echo_n "(cached) " >&6
15020 else
15021   if test -n "$GCONFTOOL"; then
15022   ac_cv_prog_GCONFTOOL="$GCONFTOOL" # Let the user override the test.
15023 else
15024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15025 for as_dir in $PATH
15026 do
15027   IFS=$as_save_IFS
15028   test -z "$as_dir" && as_dir=.
15029     for ac_exec_ext in '' $ac_executable_extensions; do
15030   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15031     ac_cv_prog_GCONFTOOL="gconftool-2"
15032     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15033     break 2
15034   fi
15035 done
15036   done
15037 IFS=$as_save_IFS
15038
15039   test -z "$ac_cv_prog_GCONFTOOL" && ac_cv_prog_GCONFTOOL="no"
15040 fi
15041 fi
15042 GCONFTOOL=$ac_cv_prog_GCONFTOOL
15043 if test -n "$GCONFTOOL"; then
15044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONFTOOL" >&5
15045 $as_echo "$GCONFTOOL" >&6; }
15046 else
15047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15048 $as_echo "no" >&6; }
15049 fi
15050
15051
15052         if test "$GCONFTOOL" = "no"; then :
15053
15054             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: thumbnailer will not be built, unable to find gconftool-2" >&5
15055 $as_echo "$as_me: WARNING: thumbnailer will not be built, unable to find gconftool-2" >&2;}
15056             have_gconf=no
15057
15058 else
15059
15060             have_gconf=yes
15061
15062 fi
15063
15064 else
15065   have_gconf=no
15066 fi
15067
15068 else
15069   have_gconf=no
15070 fi
15071
15072 if test "$have_gconf" = "yes"; then :
15073
15074 else
15075
15076     if test "$with_gconf" = "yes"; then :
15077   as_fn_error $? "gconf support requested, but not available." "$LINENO" 5
15078 fi
15079
15080 fi
15081
15082
15083   if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
15084     GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
15085   else
15086     GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
15087   fi
15088
15089
15090 # Check whether --with-gconf-source was given.
15091 if test "${with_gconf_source+set}" = set; then :
15092   withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
15093 fi
15094
15095
15096
15097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
15098 $as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
15099
15100   if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
15101     GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
15102   fi
15103
15104
15105 # Check whether --with-gconf-schema-file-dir was given.
15106 if test "${with_gconf_schema_file_dir+set}" = set; then :
15107   withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
15108 fi
15109
15110
15111
15112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
15113 $as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
15114
15115   # Check whether --enable-schemas-install was given.
15116 if test "${enable_schemas_install+set}" = set; then :
15117   enableval=$enable_schemas_install; case ${enableval} in
15118        yes|no) ;;
15119        *) as_fn_error $? "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;;
15120       esac
15121 fi
15122
15123    if test "$enable_schemas_install" != no; then
15124   GCONF_SCHEMAS_INSTALL_TRUE=
15125   GCONF_SCHEMAS_INSTALL_FALSE='#'
15126 else
15127   GCONF_SCHEMAS_INSTALL_TRUE='#'
15128   GCONF_SCHEMAS_INSTALL_FALSE=
15129 fi
15130
15131
15132  if test "$have_gconf" = "yes"; then
15133   WITH_GCONF_TRUE=
15134   WITH_GCONF_FALSE='#'
15135 else
15136   WITH_GCONF_TRUE='#'
15137   WITH_GCONF_FALSE=
15138 fi
15139
15140
15141 # ===================
15142
15143 LDFLAGS="-no-undefined $LDFLAGS"
15144
15145 ac_config_files="$ac_config_files Makefile m4/Makefile doc/Makefile gsf/Makefile gsf-gnome/Makefile gsf-win32/Makefile tests/Makefile tools/Makefile python/Makefile thumbnailer/Makefile po/Makefile.in gsf/version.c doc/version.xml libgsf-1.pc libgsf-1.spec libgsf-gnome-1.pc libgsf-gnome-1.spec libgsf-win32-1.pc libgsf-zip"
15146
15147 cat >confcache <<\_ACEOF
15148 # This file is a shell script that caches the results of configure
15149 # tests run on this system so they can be shared between configure
15150 # scripts and configure runs, see configure's option --config-cache.
15151 # It is not useful on other systems.  If it contains results you don't
15152 # want to keep, you may remove or edit it.
15153 #
15154 # config.status only pays attention to the cache file if you give it
15155 # the --recheck option to rerun configure.
15156 #
15157 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15158 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15159 # following values.
15160
15161 _ACEOF
15162
15163 # The following way of writing the cache mishandles newlines in values,
15164 # but we know of no workaround that is simple, portable, and efficient.
15165 # So, we kill variables containing newlines.
15166 # Ultrix sh set writes to stderr and can't be redirected directly,
15167 # and sets the high bit in the cache file unless we assign to the vars.
15168 (
15169   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15170     eval ac_val=\$$ac_var
15171     case $ac_val in #(
15172     *${as_nl}*)
15173       case $ac_var in #(
15174       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15175 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15176       esac
15177       case $ac_var in #(
15178       _ | IFS | as_nl) ;; #(
15179       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15180       *) { eval $ac_var=; unset $ac_var;} ;;
15181       esac ;;
15182     esac
15183   done
15184
15185   (set) 2>&1 |
15186     case $as_nl`(ac_space=' '; set) 2>&1` in #(
15187     *${as_nl}ac_space=\ *)
15188       # `set' does not quote correctly, so add quotes: double-quote
15189       # substitution turns \\\\ into \\, and sed turns \\ into \.
15190       sed -n \
15191         "s/'/'\\\\''/g;
15192           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15193       ;; #(
15194     *)
15195       # `set' quotes correctly as required by POSIX, so do not add quotes.
15196       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15197       ;;
15198     esac |
15199     sort
15200 ) |
15201   sed '
15202      /^ac_cv_env_/b end
15203      t clear
15204      :clear
15205      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15206      t end
15207      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15208      :end' >>confcache
15209 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15210   if test -w "$cache_file"; then
15211     if test "x$cache_file" != "x/dev/null"; then
15212       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15213 $as_echo "$as_me: updating cache $cache_file" >&6;}
15214       if test ! -f "$cache_file" || test -h "$cache_file"; then
15215         cat confcache >"$cache_file"
15216       else
15217         case $cache_file in #(
15218         */* | ?:*)
15219           mv -f confcache "$cache_file"$$ &&
15220           mv -f "$cache_file"$$ "$cache_file" ;; #(
15221         *)
15222           mv -f confcache "$cache_file" ;;
15223         esac
15224       fi
15225     fi
15226   else
15227     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15228 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15229   fi
15230 fi
15231 rm -f confcache
15232
15233 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15234 # Let make expand exec_prefix.
15235 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15236
15237 DEFS=-DHAVE_CONFIG_H
15238
15239 ac_libobjs=
15240 ac_ltlibobjs=
15241 U=
15242 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15243   # 1. Remove the extension, and $U if already installed.
15244   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15245   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15246   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15247   #    will be set to the directory where LIBOBJS objects are built.
15248   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15249   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15250 done
15251 LIBOBJS=$ac_libobjs
15252
15253 LTLIBOBJS=$ac_ltlibobjs
15254
15255
15256  if test -n "$EXEEXT"; then
15257   am__EXEEXT_TRUE=
15258   am__EXEEXT_FALSE='#'
15259 else
15260   am__EXEEXT_TRUE='#'
15261   am__EXEEXT_FALSE=
15262 fi
15263
15264 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15265   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15266 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15267 fi
15268 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15269   as_fn_error $? "conditional \"AMDEP\" was never defined.
15270 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15271 fi
15272 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15273   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15274 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15275 fi
15276
15277   ac_config_commands="$ac_config_commands po/stamp-it"
15278
15279
15280 if test -z "${WITH_WIN32_TRUE}" && test -z "${WITH_WIN32_FALSE}"; then
15281   as_fn_error $? "conditional \"WITH_WIN32\" was never defined.
15282 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15283 fi
15284 if test -z "${HAVE_LIBEXE_TRUE}" && test -z "${HAVE_LIBEXE_FALSE}"; then
15285   as_fn_error $? "conditional \"HAVE_LIBEXE\" was never defined.
15286 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15287 fi
15288 if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then
15289   as_fn_error $? "conditional \"CROSS_COMPILING\" was never defined.
15290 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15291 fi
15292 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
15293   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
15294 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15295 fi
15296 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
15297   as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
15298 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15299 fi
15300 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
15301   as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
15302 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15303 fi
15304 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
15305   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
15306 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15307 fi
15308 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
15309   as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
15310 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15311 fi
15312 if test -z "${GTK_DOC_INSTALLED_TRUE}" && test -z "${GTK_DOC_INSTALLED_FALSE}"; then
15313   as_fn_error $? "conditional \"GTK_DOC_INSTALLED\" was never defined.
15314 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15315 fi
15316 if test -z "${WITH_PYTHON_TRUE}" && test -z "${WITH_PYTHON_FALSE}"; then
15317   as_fn_error $? "conditional \"WITH_PYTHON\" was never defined.
15318 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15319 fi
15320 if test -z "${WITH_GIO_TRUE}" && test -z "${WITH_GIO_FALSE}"; then
15321   as_fn_error $? "conditional \"WITH_GIO\" was never defined.
15322 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15323 fi
15324 if test -z "${WITH_LIBGSF_GNOME_TRUE}" && test -z "${WITH_LIBGSF_GNOME_FALSE}"; then
15325   as_fn_error $? "conditional \"WITH_LIBGSF_GNOME\" was never defined.
15326 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15327 fi
15328 if test -z "${WITH_LIBGSF_GNOMEVFS_TRUE}" && test -z "${WITH_LIBGSF_GNOMEVFS_FALSE}"; then
15329   as_fn_error $? "conditional \"WITH_LIBGSF_GNOMEVFS\" was never defined.
15330 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15331 fi
15332 if test -z "${WITH_LIBGSF_BONOBO_TRUE}" && test -z "${WITH_LIBGSF_BONOBO_FALSE}"; then
15333   as_fn_error $? "conditional \"WITH_LIBGSF_BONOBO\" was never defined.
15334 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15335 fi
15336 if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
15337   as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
15338 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15339 fi
15340 if test -z "${WITH_GCONF_TRUE}" && test -z "${WITH_GCONF_FALSE}"; then
15341   as_fn_error $? "conditional \"WITH_GCONF\" was never defined.
15342 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15343 fi
15344
15345 : "${CONFIG_STATUS=./config.status}"
15346 ac_write_fail=0
15347 ac_clean_files_save=$ac_clean_files
15348 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15350 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15351 as_write_fail=0
15352 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15353 #! $SHELL
15354 # Generated by $as_me.
15355 # Run this file to recreate the current configuration.
15356 # Compiler output produced by configure, useful for debugging
15357 # configure, is in config.log if it exists.
15358
15359 debug=false
15360 ac_cs_recheck=false
15361 ac_cs_silent=false
15362
15363 SHELL=\${CONFIG_SHELL-$SHELL}
15364 export SHELL
15365 _ASEOF
15366 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15367 ## -------------------- ##
15368 ## M4sh Initialization. ##
15369 ## -------------------- ##
15370
15371 # Be more Bourne compatible
15372 DUALCASE=1; export DUALCASE # for MKS sh
15373 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15374   emulate sh
15375   NULLCMD=:
15376   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15377   # is contrary to our usage.  Disable this feature.
15378   alias -g '${1+"$@"}'='"$@"'
15379   setopt NO_GLOB_SUBST
15380 else
15381   case `(set -o) 2>/dev/null` in #(
15382   *posix*) :
15383     set -o posix ;; #(
15384   *) :
15385      ;;
15386 esac
15387 fi
15388
15389
15390 as_nl='
15391 '
15392 export as_nl
15393 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15394 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15395 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15396 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15397 # Prefer a ksh shell builtin over an external printf program on Solaris,
15398 # but without wasting forks for bash or zsh.
15399 if test -z "$BASH_VERSION$ZSH_VERSION" \
15400     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15401   as_echo='print -r --'
15402   as_echo_n='print -rn --'
15403 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15404   as_echo='printf %s\n'
15405   as_echo_n='printf %s'
15406 else
15407   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15408     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15409     as_echo_n='/usr/ucb/echo -n'
15410   else
15411     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15412     as_echo_n_body='eval
15413       arg=$1;
15414       case $arg in #(
15415       *"$as_nl"*)
15416         expr "X$arg" : "X\\(.*\\)$as_nl";
15417         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15418       esac;
15419       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15420     '
15421     export as_echo_n_body
15422     as_echo_n='sh -c $as_echo_n_body as_echo'
15423   fi
15424   export as_echo_body
15425   as_echo='sh -c $as_echo_body as_echo'
15426 fi
15427
15428 # The user is always right.
15429 if test "${PATH_SEPARATOR+set}" != set; then
15430   PATH_SEPARATOR=:
15431   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15432     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15433       PATH_SEPARATOR=';'
15434   }
15435 fi
15436
15437
15438 # IFS
15439 # We need space, tab and new line, in precisely that order.  Quoting is
15440 # there to prevent editors from complaining about space-tab.
15441 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15442 # splitting by setting IFS to empty value.)
15443 IFS=" ""        $as_nl"
15444
15445 # Find who we are.  Look in the path if we contain no directory separator.
15446 as_myself=
15447 case $0 in #((
15448   *[\\/]* ) as_myself=$0 ;;
15449   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15450 for as_dir in $PATH
15451 do
15452   IFS=$as_save_IFS
15453   test -z "$as_dir" && as_dir=.
15454     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15455   done
15456 IFS=$as_save_IFS
15457
15458      ;;
15459 esac
15460 # We did not find ourselves, most probably we were run as `sh COMMAND'
15461 # in which case we are not to be found in the path.
15462 if test "x$as_myself" = x; then
15463   as_myself=$0
15464 fi
15465 if test ! -f "$as_myself"; then
15466   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15467   exit 1
15468 fi
15469
15470 # Unset variables that we do not need and which cause bugs (e.g. in
15471 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15472 # suppresses any "Segmentation fault" message there.  '((' could
15473 # trigger a bug in pdksh 5.2.14.
15474 for as_var in BASH_ENV ENV MAIL MAILPATH
15475 do eval test x\${$as_var+set} = xset \
15476   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15477 done
15478 PS1='$ '
15479 PS2='> '
15480 PS4='+ '
15481
15482 # NLS nuisances.
15483 LC_ALL=C
15484 export LC_ALL
15485 LANGUAGE=C
15486 export LANGUAGE
15487
15488 # CDPATH.
15489 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15490
15491
15492 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15493 # ----------------------------------------
15494 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15495 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15496 # script with STATUS, using 1 if that was 0.
15497 as_fn_error ()
15498 {
15499   as_status=$1; test $as_status -eq 0 && as_status=1
15500   if test "$4"; then
15501     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15502     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15503   fi
15504   $as_echo "$as_me: error: $2" >&2
15505   as_fn_exit $as_status
15506 } # as_fn_error
15507
15508
15509 # as_fn_set_status STATUS
15510 # -----------------------
15511 # Set $? to STATUS, without forking.
15512 as_fn_set_status ()
15513 {
15514   return $1
15515 } # as_fn_set_status
15516
15517 # as_fn_exit STATUS
15518 # -----------------
15519 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15520 as_fn_exit ()
15521 {
15522   set +e
15523   as_fn_set_status $1
15524   exit $1
15525 } # as_fn_exit
15526
15527 # as_fn_unset VAR
15528 # ---------------
15529 # Portably unset VAR.
15530 as_fn_unset ()
15531 {
15532   { eval $1=; unset $1;}
15533 }
15534 as_unset=as_fn_unset
15535 # as_fn_append VAR VALUE
15536 # ----------------------
15537 # Append the text in VALUE to the end of the definition contained in VAR. Take
15538 # advantage of any shell optimizations that allow amortized linear growth over
15539 # repeated appends, instead of the typical quadratic growth present in naive
15540 # implementations.
15541 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15542   eval 'as_fn_append ()
15543   {
15544     eval $1+=\$2
15545   }'
15546 else
15547   as_fn_append ()
15548   {
15549     eval $1=\$$1\$2
15550   }
15551 fi # as_fn_append
15552
15553 # as_fn_arith ARG...
15554 # ------------------
15555 # Perform arithmetic evaluation on the ARGs, and store the result in the
15556 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15557 # must be portable across $(()) and expr.
15558 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15559   eval 'as_fn_arith ()
15560   {
15561     as_val=$(( $* ))
15562   }'
15563 else
15564   as_fn_arith ()
15565   {
15566     as_val=`expr "$@" || test $? -eq 1`
15567   }
15568 fi # as_fn_arith
15569
15570
15571 if expr a : '\(a\)' >/dev/null 2>&1 &&
15572    test "X`expr 00001 : '.*\(...\)'`" = X001; then
15573   as_expr=expr
15574 else
15575   as_expr=false
15576 fi
15577
15578 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15579   as_basename=basename
15580 else
15581   as_basename=false
15582 fi
15583
15584 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15585   as_dirname=dirname
15586 else
15587   as_dirname=false
15588 fi
15589
15590 as_me=`$as_basename -- "$0" ||
15591 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15592          X"$0" : 'X\(//\)$' \| \
15593          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15594 $as_echo X/"$0" |
15595     sed '/^.*\/\([^/][^/]*\)\/*$/{
15596             s//\1/
15597             q
15598           }
15599           /^X\/\(\/\/\)$/{
15600             s//\1/
15601             q
15602           }
15603           /^X\/\(\/\).*/{
15604             s//\1/
15605             q
15606           }
15607           s/.*/./; q'`
15608
15609 # Avoid depending upon Character Ranges.
15610 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15611 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15612 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15613 as_cr_digits='0123456789'
15614 as_cr_alnum=$as_cr_Letters$as_cr_digits
15615
15616 ECHO_C= ECHO_N= ECHO_T=
15617 case `echo -n x` in #(((((
15618 -n*)
15619   case `echo 'xy\c'` in
15620   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15621   xy)  ECHO_C='\c';;
15622   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15623        ECHO_T=' ';;
15624   esac;;
15625 *)
15626   ECHO_N='-n';;
15627 esac
15628
15629 rm -f conf$$ conf$$.exe conf$$.file
15630 if test -d conf$$.dir; then
15631   rm -f conf$$.dir/conf$$.file
15632 else
15633   rm -f conf$$.dir
15634   mkdir conf$$.dir 2>/dev/null
15635 fi
15636 if (echo >conf$$.file) 2>/dev/null; then
15637   if ln -s conf$$.file conf$$ 2>/dev/null; then
15638     as_ln_s='ln -s'
15639     # ... but there are two gotchas:
15640     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15641     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15642     # In both cases, we have to default to `cp -p'.
15643     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15644       as_ln_s='cp -p'
15645   elif ln conf$$.file conf$$ 2>/dev/null; then
15646     as_ln_s=ln
15647   else
15648     as_ln_s='cp -p'
15649   fi
15650 else
15651   as_ln_s='cp -p'
15652 fi
15653 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15654 rmdir conf$$.dir 2>/dev/null
15655
15656
15657 # as_fn_mkdir_p
15658 # -------------
15659 # Create "$as_dir" as a directory, including parents if necessary.
15660 as_fn_mkdir_p ()
15661 {
15662
15663   case $as_dir in #(
15664   -*) as_dir=./$as_dir;;
15665   esac
15666   test -d "$as_dir" || eval $as_mkdir_p || {
15667     as_dirs=
15668     while :; do
15669       case $as_dir in #(
15670       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15671       *) as_qdir=$as_dir;;
15672       esac
15673       as_dirs="'$as_qdir' $as_dirs"
15674       as_dir=`$as_dirname -- "$as_dir" ||
15675 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15676          X"$as_dir" : 'X\(//\)[^/]' \| \
15677          X"$as_dir" : 'X\(//\)$' \| \
15678          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15679 $as_echo X"$as_dir" |
15680     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15681             s//\1/
15682             q
15683           }
15684           /^X\(\/\/\)[^/].*/{
15685             s//\1/
15686             q
15687           }
15688           /^X\(\/\/\)$/{
15689             s//\1/
15690             q
15691           }
15692           /^X\(\/\).*/{
15693             s//\1/
15694             q
15695           }
15696           s/.*/./; q'`
15697       test -d "$as_dir" && break
15698     done
15699     test -z "$as_dirs" || eval "mkdir $as_dirs"
15700   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15701
15702
15703 } # as_fn_mkdir_p
15704 if mkdir -p . 2>/dev/null; then
15705   as_mkdir_p='mkdir -p "$as_dir"'
15706 else
15707   test -d ./-p && rmdir ./-p
15708   as_mkdir_p=false
15709 fi
15710
15711 if test -x / >/dev/null 2>&1; then
15712   as_test_x='test -x'
15713 else
15714   if ls -dL / >/dev/null 2>&1; then
15715     as_ls_L_option=L
15716   else
15717     as_ls_L_option=
15718   fi
15719   as_test_x='
15720     eval sh -c '\''
15721       if test -d "$1"; then
15722         test -d "$1/.";
15723       else
15724         case $1 in #(
15725         -*)set "./$1";;
15726         esac;
15727         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15728         ???[sx]*):;;*)false;;esac;fi
15729     '\'' sh
15730   '
15731 fi
15732 as_executable_p=$as_test_x
15733
15734 # Sed expression to map a string onto a valid CPP name.
15735 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15736
15737 # Sed expression to map a string onto a valid variable name.
15738 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15739
15740
15741 exec 6>&1
15742 ## ----------------------------------- ##
15743 ## Main body of $CONFIG_STATUS script. ##
15744 ## ----------------------------------- ##
15745 _ASEOF
15746 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15747
15748 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15749 # Save the log message, to keep $0 and so on meaningful, and to
15750 # report actual input values of CONFIG_FILES etc. instead of their
15751 # values after options handling.
15752 ac_log="
15753 This file was extended by libgsf $as_me 1.14.21, which was
15754 generated by GNU Autoconf 2.68.  Invocation command line was
15755
15756   CONFIG_FILES    = $CONFIG_FILES
15757   CONFIG_HEADERS  = $CONFIG_HEADERS
15758   CONFIG_LINKS    = $CONFIG_LINKS
15759   CONFIG_COMMANDS = $CONFIG_COMMANDS
15760   $ $0 $@
15761
15762 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15763 "
15764
15765 _ACEOF
15766
15767 case $ac_config_files in *"
15768 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15769 esac
15770
15771 case $ac_config_headers in *"
15772 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15773 esac
15774
15775
15776 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15777 # Files that config.status was made for.
15778 config_files="$ac_config_files"
15779 config_headers="$ac_config_headers"
15780 config_commands="$ac_config_commands"
15781
15782 _ACEOF
15783
15784 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15785 ac_cs_usage="\
15786 \`$as_me' instantiates files and other configuration actions
15787 from templates according to the current configuration.  Unless the files
15788 and actions are specified as TAGs, all are instantiated by default.
15789
15790 Usage: $0 [OPTION]... [TAG]...
15791
15792   -h, --help       print this help, then exit
15793   -V, --version    print version number and configuration settings, then exit
15794       --config     print configuration, then exit
15795   -q, --quiet, --silent
15796                    do not print progress messages
15797   -d, --debug      don't remove temporary files
15798       --recheck    update $as_me by reconfiguring in the same conditions
15799       --file=FILE[:TEMPLATE]
15800                    instantiate the configuration file FILE
15801       --header=FILE[:TEMPLATE]
15802                    instantiate the configuration header FILE
15803
15804 Configuration files:
15805 $config_files
15806
15807 Configuration headers:
15808 $config_headers
15809
15810 Configuration commands:
15811 $config_commands
15812
15813 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=libgsf>."
15814
15815 _ACEOF
15816 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15817 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15818 ac_cs_version="\\
15819 libgsf config.status 1.14.21
15820 configured by $0, generated by GNU Autoconf 2.68,
15821   with options \\"\$ac_cs_config\\"
15822
15823 Copyright (C) 2010 Free Software Foundation, Inc.
15824 This config.status script is free software; the Free Software Foundation
15825 gives unlimited permission to copy, distribute and modify it."
15826
15827 ac_pwd='$ac_pwd'
15828 srcdir='$srcdir'
15829 INSTALL='$INSTALL'
15830 MKDIR_P='$MKDIR_P'
15831 AWK='$AWK'
15832 test -n "\$AWK" || AWK=awk
15833 _ACEOF
15834
15835 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15836 # The default lists apply if the user does not specify any file.
15837 ac_need_defaults=:
15838 while test $# != 0
15839 do
15840   case $1 in
15841   --*=?*)
15842     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15843     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15844     ac_shift=:
15845     ;;
15846   --*=)
15847     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15848     ac_optarg=
15849     ac_shift=:
15850     ;;
15851   *)
15852     ac_option=$1
15853     ac_optarg=$2
15854     ac_shift=shift
15855     ;;
15856   esac
15857
15858   case $ac_option in
15859   # Handling of the options.
15860   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15861     ac_cs_recheck=: ;;
15862   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15863     $as_echo "$ac_cs_version"; exit ;;
15864   --config | --confi | --conf | --con | --co | --c )
15865     $as_echo "$ac_cs_config"; exit ;;
15866   --debug | --debu | --deb | --de | --d | -d )
15867     debug=: ;;
15868   --file | --fil | --fi | --f )
15869     $ac_shift
15870     case $ac_optarg in
15871     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15872     '') as_fn_error $? "missing file argument" ;;
15873     esac
15874     as_fn_append CONFIG_FILES " '$ac_optarg'"
15875     ac_need_defaults=false;;
15876   --header | --heade | --head | --hea )
15877     $ac_shift
15878     case $ac_optarg in
15879     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15880     esac
15881     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15882     ac_need_defaults=false;;
15883   --he | --h)
15884     # Conflict between --help and --header
15885     as_fn_error $? "ambiguous option: \`$1'
15886 Try \`$0 --help' for more information.";;
15887   --help | --hel | -h )
15888     $as_echo "$ac_cs_usage"; exit ;;
15889   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15890   | -silent | --silent | --silen | --sile | --sil | --si | --s)
15891     ac_cs_silent=: ;;
15892
15893   # This is an error.
15894   -*) as_fn_error $? "unrecognized option: \`$1'
15895 Try \`$0 --help' for more information." ;;
15896
15897   *) as_fn_append ac_config_targets " $1"
15898      ac_need_defaults=false ;;
15899
15900   esac
15901   shift
15902 done
15903
15904 ac_configure_extra_args=
15905
15906 if $ac_cs_silent; then
15907   exec 6>/dev/null
15908   ac_configure_extra_args="$ac_configure_extra_args --silent"
15909 fi
15910
15911 _ACEOF
15912 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15913 if \$ac_cs_recheck; then
15914   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15915   shift
15916   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15917   CONFIG_SHELL='$SHELL'
15918   export CONFIG_SHELL
15919   exec "\$@"
15920 fi
15921
15922 _ACEOF
15923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15924 exec 5>>config.log
15925 {
15926   echo
15927   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15928 ## Running $as_me. ##
15929 _ASBOX
15930   $as_echo "$ac_log"
15931 } >&5
15932
15933 _ACEOF
15934 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15935 #
15936 # INIT-COMMANDS
15937 #
15938 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15939
15940
15941 # The HP-UX ksh and POSIX shell print the target directory to stdout
15942 # if CDPATH is set.
15943 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15944
15945 sed_quote_subst='$sed_quote_subst'
15946 double_quote_subst='$double_quote_subst'
15947 delay_variable_subst='$delay_variable_subst'
15948 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
15949 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15950 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15951 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15952 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15953 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15954 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15955 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15956 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15957 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15958 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15959 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15960 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15961 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15962 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15963 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15964 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15965 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15966 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15967 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15968 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15969 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15970 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15971 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15972 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15973 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15974 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15975 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15976 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15977 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15978 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15979 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15980 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15981 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15982 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15983 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15984 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15985 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15986 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15987 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15988 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15989 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15990 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15991 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15992 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15993 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15994 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
15995 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15996 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15997 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15998 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15999 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16000 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16001 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16002 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16003 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16004 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16005 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16006 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16007 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16008 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16009 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16010 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16011 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16012 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16013 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16014 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16015 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16016 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16017 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16018 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16019 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16020 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16021 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16022 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16023 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16024 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16025 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16026 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16027 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16028 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16029 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16030 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16031 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16032 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16033 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16034 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16035 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16036 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16037 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16038 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16039 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16040 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16041 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16042 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16043 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16044 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16045 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16046 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16047 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16048 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16049 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16050 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16051 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16052 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16053 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16054 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16055 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16056 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16057 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16058 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16059 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16060 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16061 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16062 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16063 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16064 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16065 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16066 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16067 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16068
16069 LTCC='$LTCC'
16070 LTCFLAGS='$LTCFLAGS'
16071 compiler='$compiler_DEFAULT'
16072
16073 # Quote evaled strings.
16074 for var in SED \
16075 GREP \
16076 EGREP \
16077 FGREP \
16078 LD \
16079 NM \
16080 LN_S \
16081 lt_SP2NL \
16082 lt_NL2SP \
16083 reload_flag \
16084 deplibs_check_method \
16085 file_magic_cmd \
16086 AR \
16087 AR_FLAGS \
16088 STRIP \
16089 RANLIB \
16090 CC \
16091 CFLAGS \
16092 compiler \
16093 lt_cv_sys_global_symbol_pipe \
16094 lt_cv_sys_global_symbol_to_cdecl \
16095 lt_cv_sys_global_symbol_to_c_name_address \
16096 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16097 SHELL \
16098 ECHO \
16099 lt_prog_compiler_no_builtin_flag \
16100 lt_prog_compiler_wl \
16101 lt_prog_compiler_pic \
16102 lt_prog_compiler_static \
16103 lt_cv_prog_compiler_c_o \
16104 need_locks \
16105 DSYMUTIL \
16106 NMEDIT \
16107 LIPO \
16108 OTOOL \
16109 OTOOL64 \
16110 shrext_cmds \
16111 export_dynamic_flag_spec \
16112 whole_archive_flag_spec \
16113 compiler_needs_object \
16114 with_gnu_ld \
16115 allow_undefined_flag \
16116 no_undefined_flag \
16117 hardcode_libdir_flag_spec \
16118 hardcode_libdir_flag_spec_ld \
16119 hardcode_libdir_separator \
16120 fix_srcfile_path \
16121 exclude_expsyms \
16122 include_expsyms \
16123 file_list_spec \
16124 variables_saved_for_relink \
16125 libname_spec \
16126 library_names_spec \
16127 soname_spec \
16128 finish_eval \
16129 old_striplib \
16130 striplib; do
16131     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16132     *[\\\\\\\`\\"\\\$]*)
16133       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16134       ;;
16135     *)
16136       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16137       ;;
16138     esac
16139 done
16140
16141 # Double-quote double-evaled strings.
16142 for var in reload_cmds \
16143 old_postinstall_cmds \
16144 old_postuninstall_cmds \
16145 old_archive_cmds \
16146 extract_expsyms_cmds \
16147 old_archive_from_new_cmds \
16148 old_archive_from_expsyms_cmds \
16149 archive_cmds \
16150 archive_expsym_cmds \
16151 module_cmds \
16152 module_expsym_cmds \
16153 export_symbols_cmds \
16154 prelink_cmds \
16155 postinstall_cmds \
16156 postuninstall_cmds \
16157 finish_cmds \
16158 sys_lib_search_path_spec \
16159 sys_lib_dlsearch_path_spec; do
16160     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16161     *[\\\\\\\`\\"\\\$]*)
16162       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16163       ;;
16164     *)
16165       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16166       ;;
16167     esac
16168 done
16169
16170 # Fix-up fallback echo if it was mangled by the above quoting rules.
16171 case \$lt_ECHO in
16172 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
16173   ;;
16174 esac
16175
16176 ac_aux_dir='$ac_aux_dir'
16177 xsi_shell='$xsi_shell'
16178 lt_shell_append='$lt_shell_append'
16179
16180 # See if we are running on zsh, and set the options which allow our
16181 # commands through without removal of \ escapes INIT.
16182 if test -n "\${ZSH_VERSION+set}" ; then
16183    setopt NO_GLOB_SUBST
16184 fi
16185
16186
16187     PACKAGE='$PACKAGE'
16188     VERSION='$VERSION'
16189     TIMESTAMP='$TIMESTAMP'
16190     RM='$RM'
16191     ofile='$ofile'
16192
16193
16194
16195
16196
16197 _ACEOF
16198
16199 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16200
16201 # Handling of arguments.
16202 for ac_config_target in $ac_config_targets
16203 do
16204   case $ac_config_target in
16205     "gsf-config.h") CONFIG_HEADERS="$CONFIG_HEADERS gsf-config.h" ;;
16206     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16207     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16208     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
16209     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16210     "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
16211     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16212     "gsf/Makefile") CONFIG_FILES="$CONFIG_FILES gsf/Makefile" ;;
16213     "gsf-gnome/Makefile") CONFIG_FILES="$CONFIG_FILES gsf-gnome/Makefile" ;;
16214     "gsf-win32/Makefile") CONFIG_FILES="$CONFIG_FILES gsf-win32/Makefile" ;;
16215     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
16216     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
16217     "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
16218     "thumbnailer/Makefile") CONFIG_FILES="$CONFIG_FILES thumbnailer/Makefile" ;;
16219     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
16220     "gsf/version.c") CONFIG_FILES="$CONFIG_FILES gsf/version.c" ;;
16221     "doc/version.xml") CONFIG_FILES="$CONFIG_FILES doc/version.xml" ;;
16222     "libgsf-1.pc") CONFIG_FILES="$CONFIG_FILES libgsf-1.pc" ;;
16223     "libgsf-1.spec") CONFIG_FILES="$CONFIG_FILES libgsf-1.spec" ;;
16224     "libgsf-gnome-1.pc") CONFIG_FILES="$CONFIG_FILES libgsf-gnome-1.pc" ;;
16225     "libgsf-gnome-1.spec") CONFIG_FILES="$CONFIG_FILES libgsf-gnome-1.spec" ;;
16226     "libgsf-win32-1.pc") CONFIG_FILES="$CONFIG_FILES libgsf-win32-1.pc" ;;
16227     "libgsf-zip") CONFIG_FILES="$CONFIG_FILES libgsf-zip" ;;
16228     "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
16229
16230   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16231   esac
16232 done
16233
16234
16235 # If the user did not use the arguments to specify the items to instantiate,
16236 # then the envvar interface is used.  Set only those that are not.
16237 # We use the long form for the default assignment because of an extremely
16238 # bizarre bug on SunOS 4.1.3.
16239 if $ac_need_defaults; then
16240   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16241   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16242   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16243 fi
16244
16245 # Have a temporary directory for convenience.  Make it in the build tree
16246 # simply because there is no reason against having it here, and in addition,
16247 # creating and moving files from /tmp can sometimes cause problems.
16248 # Hook for its removal unless debugging.
16249 # Note that there is a small window in which the directory will not be cleaned:
16250 # after its creation but before its name has been assigned to `$tmp'.
16251 $debug ||
16252 {
16253   tmp= ac_tmp=
16254   trap 'exit_status=$?
16255   : "${ac_tmp:=$tmp}"
16256   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16257 ' 0
16258   trap 'as_fn_exit 1' 1 2 13 15
16259 }
16260 # Create a (secure) tmp directory for tmp files.
16261
16262 {
16263   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16264   test -d "$tmp"
16265 }  ||
16266 {
16267   tmp=./conf$$-$RANDOM
16268   (umask 077 && mkdir "$tmp")
16269 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16270 ac_tmp=$tmp
16271
16272 # Set up the scripts for CONFIG_FILES section.
16273 # No need to generate them if there are no CONFIG_FILES.
16274 # This happens for instance with `./config.status config.h'.
16275 if test -n "$CONFIG_FILES"; then
16276
16277
16278 ac_cr=`echo X | tr X '\015'`
16279 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16280 # But we know of no other shell where ac_cr would be empty at this
16281 # point, so we can use a bashism as a fallback.
16282 if test "x$ac_cr" = x; then
16283   eval ac_cr=\$\'\\r\'
16284 fi
16285 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16286 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16287   ac_cs_awk_cr='\\r'
16288 else
16289   ac_cs_awk_cr=$ac_cr
16290 fi
16291
16292 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16293 _ACEOF
16294
16295
16296 {
16297   echo "cat >conf$$subs.awk <<_ACEOF" &&
16298   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16299   echo "_ACEOF"
16300 } >conf$$subs.sh ||
16301   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16302 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16303 ac_delim='%!_!# '
16304 for ac_last_try in false false false false false :; do
16305   . ./conf$$subs.sh ||
16306     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16307
16308   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16309   if test $ac_delim_n = $ac_delim_num; then
16310     break
16311   elif $ac_last_try; then
16312     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16313   else
16314     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16315   fi
16316 done
16317 rm -f conf$$subs.sh
16318
16319 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16320 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16321 _ACEOF
16322 sed -n '
16323 h
16324 s/^/S["/; s/!.*/"]=/
16325 p
16326 g
16327 s/^[^!]*!//
16328 :repl
16329 t repl
16330 s/'"$ac_delim"'$//
16331 t delim
16332 :nl
16333 h
16334 s/\(.\{148\}\)..*/\1/
16335 t more1
16336 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16337 p
16338 n
16339 b repl
16340 :more1
16341 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16342 p
16343 g
16344 s/.\{148\}//
16345 t nl
16346 :delim
16347 h
16348 s/\(.\{148\}\)..*/\1/
16349 t more2
16350 s/["\\]/\\&/g; s/^/"/; s/$/"/
16351 p
16352 b
16353 :more2
16354 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16355 p
16356 g
16357 s/.\{148\}//
16358 t delim
16359 ' <conf$$subs.awk | sed '
16360 /^[^""]/{
16361   N
16362   s/\n//
16363 }
16364 ' >>$CONFIG_STATUS || ac_write_fail=1
16365 rm -f conf$$subs.awk
16366 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16367 _ACAWK
16368 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16369   for (key in S) S_is_set[key] = 1
16370   FS = "\a"
16371
16372 }
16373 {
16374   line = $ 0
16375   nfields = split(line, field, "@")
16376   substed = 0
16377   len = length(field[1])
16378   for (i = 2; i < nfields; i++) {
16379     key = field[i]
16380     keylen = length(key)
16381     if (S_is_set[key]) {
16382       value = S[key]
16383       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16384       len += length(value) + length(field[++i])
16385       substed = 1
16386     } else
16387       len += 1 + keylen
16388   }
16389
16390   print line
16391 }
16392
16393 _ACAWK
16394 _ACEOF
16395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16396 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16397   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16398 else
16399   cat
16400 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16401   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16402 _ACEOF
16403
16404 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16405 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16406 # trailing colons and then remove the whole line if VPATH becomes empty
16407 # (actually we leave an empty line to preserve line numbers).
16408 if test "x$srcdir" = x.; then
16409   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16410 h
16411 s///
16412 s/^/:/
16413 s/[      ]*$/:/
16414 s/:\$(srcdir):/:/g
16415 s/:\${srcdir}:/:/g
16416 s/:@srcdir@:/:/g
16417 s/^:*//
16418 s/:*$//
16419 x
16420 s/\(=[   ]*\).*/\1/
16421 G
16422 s/\n//
16423 s/^[^=]*=[       ]*$//
16424 }'
16425 fi
16426
16427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16428 fi # test -n "$CONFIG_FILES"
16429
16430 # Set up the scripts for CONFIG_HEADERS section.
16431 # No need to generate them if there are no CONFIG_HEADERS.
16432 # This happens for instance with `./config.status Makefile'.
16433 if test -n "$CONFIG_HEADERS"; then
16434 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16435 BEGIN {
16436 _ACEOF
16437
16438 # Transform confdefs.h into an awk script `defines.awk', embedded as
16439 # here-document in config.status, that substitutes the proper values into
16440 # config.h.in to produce config.h.
16441
16442 # Create a delimiter string that does not exist in confdefs.h, to ease
16443 # handling of long lines.
16444 ac_delim='%!_!# '
16445 for ac_last_try in false false :; do
16446   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16447   if test -z "$ac_tt"; then
16448     break
16449   elif $ac_last_try; then
16450     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16451   else
16452     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16453   fi
16454 done
16455
16456 # For the awk script, D is an array of macro values keyed by name,
16457 # likewise P contains macro parameters if any.  Preserve backslash
16458 # newline sequences.
16459
16460 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16461 sed -n '
16462 s/.\{148\}/&'"$ac_delim"'/g
16463 t rset
16464 :rset
16465 s/^[     ]*#[    ]*define[       ][      ]*/ /
16466 t def
16467 d
16468 :def
16469 s/\\$//
16470 t bsnl
16471 s/["\\]/\\&/g
16472 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16473 D["\1"]=" \3"/p
16474 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
16475 d
16476 :bsnl
16477 s/["\\]/\\&/g
16478 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16479 D["\1"]=" \3\\\\\\n"\\/p
16480 t cont
16481 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16482 t cont
16483 d
16484 :cont
16485 n
16486 s/.\{148\}/&'"$ac_delim"'/g
16487 t clear
16488 :clear
16489 s/\\$//
16490 t bsnlc
16491 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16492 d
16493 :bsnlc
16494 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16495 b cont
16496 ' <confdefs.h | sed '
16497 s/'"$ac_delim"'/"\\\
16498 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16499
16500 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16501   for (key in D) D_is_set[key] = 1
16502   FS = "\a"
16503 }
16504 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16505   line = \$ 0
16506   split(line, arg, " ")
16507   if (arg[1] == "#") {
16508     defundef = arg[2]
16509     mac1 = arg[3]
16510   } else {
16511     defundef = substr(arg[1], 2)
16512     mac1 = arg[2]
16513   }
16514   split(mac1, mac2, "(") #)
16515   macro = mac2[1]
16516   prefix = substr(line, 1, index(line, defundef) - 1)
16517   if (D_is_set[macro]) {
16518     # Preserve the white space surrounding the "#".
16519     print prefix "define", macro P[macro] D[macro]
16520     next
16521   } else {
16522     # Replace #undef with comments.  This is necessary, for example,
16523     # in the case of _POSIX_SOURCE, which is predefined and required
16524     # on some systems where configure will not decide to define it.
16525     if (defundef == "undef") {
16526       print "/*", prefix defundef, macro, "*/"
16527       next
16528     }
16529   }
16530 }
16531 { print }
16532 _ACAWK
16533 _ACEOF
16534 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16535   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16536 fi # test -n "$CONFIG_HEADERS"
16537
16538
16539 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16540 shift
16541 for ac_tag
16542 do
16543   case $ac_tag in
16544   :[FHLC]) ac_mode=$ac_tag; continue;;
16545   esac
16546   case $ac_mode$ac_tag in
16547   :[FHL]*:*);;
16548   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16549   :[FH]-) ac_tag=-:-;;
16550   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16551   esac
16552   ac_save_IFS=$IFS
16553   IFS=:
16554   set x $ac_tag
16555   IFS=$ac_save_IFS
16556   shift
16557   ac_file=$1
16558   shift
16559
16560   case $ac_mode in
16561   :L) ac_source=$1;;
16562   :[FH])
16563     ac_file_inputs=
16564     for ac_f
16565     do
16566       case $ac_f in
16567       -) ac_f="$ac_tmp/stdin";;
16568       *) # Look for the file first in the build tree, then in the source tree
16569          # (if the path is not absolute).  The absolute path cannot be DOS-style,
16570          # because $ac_f cannot contain `:'.
16571          test -f "$ac_f" ||
16572            case $ac_f in
16573            [\\/$]*) false;;
16574            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16575            esac ||
16576            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16577       esac
16578       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16579       as_fn_append ac_file_inputs " '$ac_f'"
16580     done
16581
16582     # Let's still pretend it is `configure' which instantiates (i.e., don't
16583     # use $as_me), people would be surprised to read:
16584     #    /* config.h.  Generated by config.status.  */
16585     configure_input='Generated from '`
16586           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16587         `' by configure.'
16588     if test x"$ac_file" != x-; then
16589       configure_input="$ac_file.  $configure_input"
16590       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16591 $as_echo "$as_me: creating $ac_file" >&6;}
16592     fi
16593     # Neutralize special characters interpreted by sed in replacement strings.
16594     case $configure_input in #(
16595     *\&* | *\|* | *\\* )
16596        ac_sed_conf_input=`$as_echo "$configure_input" |
16597        sed 's/[\\\\&|]/\\\\&/g'`;; #(
16598     *) ac_sed_conf_input=$configure_input;;
16599     esac
16600
16601     case $ac_tag in
16602     *:-:* | *:-) cat >"$ac_tmp/stdin" \
16603       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16604     esac
16605     ;;
16606   esac
16607
16608   ac_dir=`$as_dirname -- "$ac_file" ||
16609 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16610          X"$ac_file" : 'X\(//\)[^/]' \| \
16611          X"$ac_file" : 'X\(//\)$' \| \
16612          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16613 $as_echo X"$ac_file" |
16614     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16615             s//\1/
16616             q
16617           }
16618           /^X\(\/\/\)[^/].*/{
16619             s//\1/
16620             q
16621           }
16622           /^X\(\/\/\)$/{
16623             s//\1/
16624             q
16625           }
16626           /^X\(\/\).*/{
16627             s//\1/
16628             q
16629           }
16630           s/.*/./; q'`
16631   as_dir="$ac_dir"; as_fn_mkdir_p
16632   ac_builddir=.
16633
16634 case "$ac_dir" in
16635 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16636 *)
16637   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16638   # A ".." for each directory in $ac_dir_suffix.
16639   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16640   case $ac_top_builddir_sub in
16641   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16642   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16643   esac ;;
16644 esac
16645 ac_abs_top_builddir=$ac_pwd
16646 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16647 # for backward compatibility:
16648 ac_top_builddir=$ac_top_build_prefix
16649
16650 case $srcdir in
16651   .)  # We are building in place.
16652     ac_srcdir=.
16653     ac_top_srcdir=$ac_top_builddir_sub
16654     ac_abs_top_srcdir=$ac_pwd ;;
16655   [\\/]* | ?:[\\/]* )  # Absolute name.
16656     ac_srcdir=$srcdir$ac_dir_suffix;
16657     ac_top_srcdir=$srcdir
16658     ac_abs_top_srcdir=$srcdir ;;
16659   *) # Relative name.
16660     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16661     ac_top_srcdir=$ac_top_build_prefix$srcdir
16662     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16663 esac
16664 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16665
16666
16667   case $ac_mode in
16668   :F)
16669   #
16670   # CONFIG_FILE
16671   #
16672
16673   case $INSTALL in
16674   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16675   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16676   esac
16677   ac_MKDIR_P=$MKDIR_P
16678   case $MKDIR_P in
16679   [\\/$]* | ?:[\\/]* ) ;;
16680   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16681   esac
16682 _ACEOF
16683
16684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16685 # If the template does not know about datarootdir, expand it.
16686 # FIXME: This hack should be removed a few years after 2.60.
16687 ac_datarootdir_hack=; ac_datarootdir_seen=
16688 ac_sed_dataroot='
16689 /datarootdir/ {
16690   p
16691   q
16692 }
16693 /@datadir@/p
16694 /@docdir@/p
16695 /@infodir@/p
16696 /@localedir@/p
16697 /@mandir@/p'
16698 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16699 *datarootdir*) ac_datarootdir_seen=yes;;
16700 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16701   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16702 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16703 _ACEOF
16704 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16705   ac_datarootdir_hack='
16706   s&@datadir@&$datadir&g
16707   s&@docdir@&$docdir&g
16708   s&@infodir@&$infodir&g
16709   s&@localedir@&$localedir&g
16710   s&@mandir@&$mandir&g
16711   s&\\\${datarootdir}&$datarootdir&g' ;;
16712 esac
16713 _ACEOF
16714
16715 # Neutralize VPATH when `$srcdir' = `.'.
16716 # Shell code in configure.ac might set extrasub.
16717 # FIXME: do we really want to maintain this feature?
16718 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16719 ac_sed_extra="$ac_vpsub
16720 $extrasub
16721 _ACEOF
16722 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16723 :t
16724 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16725 s|@configure_input@|$ac_sed_conf_input|;t t
16726 s&@top_builddir@&$ac_top_builddir_sub&;t t
16727 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16728 s&@srcdir@&$ac_srcdir&;t t
16729 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16730 s&@top_srcdir@&$ac_top_srcdir&;t t
16731 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16732 s&@builddir@&$ac_builddir&;t t
16733 s&@abs_builddir@&$ac_abs_builddir&;t t
16734 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16735 s&@INSTALL@&$ac_INSTALL&;t t
16736 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16737 $ac_datarootdir_hack
16738 "
16739 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16740   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16741
16742 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16743   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16744   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16745       "$ac_tmp/out"`; test -z "$ac_out"; } &&
16746   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16747 which seems to be undefined.  Please make sure it is defined" >&5
16748 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16749 which seems to be undefined.  Please make sure it is defined" >&2;}
16750
16751   rm -f "$ac_tmp/stdin"
16752   case $ac_file in
16753   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16754   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16755   esac \
16756   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16757  ;;
16758   :H)
16759   #
16760   # CONFIG_HEADER
16761   #
16762   if test x"$ac_file" != x-; then
16763     {
16764       $as_echo "/* $configure_input  */" \
16765       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16766     } >"$ac_tmp/config.h" \
16767       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16768     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16769       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16770 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16771     else
16772       rm -f "$ac_file"
16773       mv "$ac_tmp/config.h" "$ac_file" \
16774         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16775     fi
16776   else
16777     $as_echo "/* $configure_input  */" \
16778       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16779       || as_fn_error $? "could not create -" "$LINENO" 5
16780   fi
16781 # Compute "$ac_file"'s index in $config_headers.
16782 _am_arg="$ac_file"
16783 _am_stamp_count=1
16784 for _am_header in $config_headers :; do
16785   case $_am_header in
16786     $_am_arg | $_am_arg:* )
16787       break ;;
16788     * )
16789       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16790   esac
16791 done
16792 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16793 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16794          X"$_am_arg" : 'X\(//\)[^/]' \| \
16795          X"$_am_arg" : 'X\(//\)$' \| \
16796          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16797 $as_echo X"$_am_arg" |
16798     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16799             s//\1/
16800             q
16801           }
16802           /^X\(\/\/\)[^/].*/{
16803             s//\1/
16804             q
16805           }
16806           /^X\(\/\/\)$/{
16807             s//\1/
16808             q
16809           }
16810           /^X\(\/\).*/{
16811             s//\1/
16812             q
16813           }
16814           s/.*/./; q'`/stamp-h$_am_stamp_count
16815  ;;
16816
16817   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16818 $as_echo "$as_me: executing $ac_file commands" >&6;}
16819  ;;
16820   esac
16821
16822
16823   case $ac_file$ac_mode in
16824     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16825   # Autoconf 2.62 quotes --file arguments for eval, but not when files
16826   # are listed without --file.  Let's play safe and only enable the eval
16827   # if we detect the quoting.
16828   case $CONFIG_FILES in
16829   *\'*) eval set x "$CONFIG_FILES" ;;
16830   *)   set x $CONFIG_FILES ;;
16831   esac
16832   shift
16833   for mf
16834   do
16835     # Strip MF so we end up with the name of the file.
16836     mf=`echo "$mf" | sed -e 's/:.*$//'`
16837     # Check whether this is an Automake generated Makefile or not.
16838     # We used to match only the files named `Makefile.in', but
16839     # some people rename them; so instead we look at the file content.
16840     # Grep'ing the first line is not enough: some people post-process
16841     # each Makefile.in and add a new line on top of each file to say so.
16842     # Grep'ing the whole file is not good either: AIX grep has a line
16843     # limit of 2048, but all sed's we know have understand at least 4000.
16844     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16845       dirpart=`$as_dirname -- "$mf" ||
16846 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16847          X"$mf" : 'X\(//\)[^/]' \| \
16848          X"$mf" : 'X\(//\)$' \| \
16849          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16850 $as_echo X"$mf" |
16851     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16852             s//\1/
16853             q
16854           }
16855           /^X\(\/\/\)[^/].*/{
16856             s//\1/
16857             q
16858           }
16859           /^X\(\/\/\)$/{
16860             s//\1/
16861             q
16862           }
16863           /^X\(\/\).*/{
16864             s//\1/
16865             q
16866           }
16867           s/.*/./; q'`
16868     else
16869       continue
16870     fi
16871     # Extract the definition of DEPDIR, am__include, and am__quote
16872     # from the Makefile without running `make'.
16873     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16874     test -z "$DEPDIR" && continue
16875     am__include=`sed -n 's/^am__include = //p' < "$mf"`
16876     test -z "am__include" && continue
16877     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16878     # When using ansi2knr, U may be empty or an underscore; expand it
16879     U=`sed -n 's/^U = //p' < "$mf"`
16880     # Find all dependency output files, they are included files with
16881     # $(DEPDIR) in their names.  We invoke sed twice because it is the
16882     # simplest approach to changing $(DEPDIR) to its actual value in the
16883     # expansion.
16884     for file in `sed -n "
16885       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16886          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16887       # Make sure the directory exists.
16888       test -f "$dirpart/$file" && continue
16889       fdir=`$as_dirname -- "$file" ||
16890 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16891          X"$file" : 'X\(//\)[^/]' \| \
16892          X"$file" : 'X\(//\)$' \| \
16893          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16894 $as_echo X"$file" |
16895     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16896             s//\1/
16897             q
16898           }
16899           /^X\(\/\/\)[^/].*/{
16900             s//\1/
16901             q
16902           }
16903           /^X\(\/\/\)$/{
16904             s//\1/
16905             q
16906           }
16907           /^X\(\/\).*/{
16908             s//\1/
16909             q
16910           }
16911           s/.*/./; q'`
16912       as_dir=$dirpart/$fdir; as_fn_mkdir_p
16913       # echo "creating $dirpart/$file"
16914       echo '# dummy' > "$dirpart/$file"
16915     done
16916   done
16917 }
16918  ;;
16919     "libtool":C)
16920
16921     # See if we are running on zsh, and set the options which allow our
16922     # commands through without removal of \ escapes.
16923     if test -n "${ZSH_VERSION+set}" ; then
16924       setopt NO_GLOB_SUBST
16925     fi
16926
16927     cfgfile="${ofile}T"
16928     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16929     $RM "$cfgfile"
16930
16931     cat <<_LT_EOF >> "$cfgfile"
16932 #! $SHELL
16933
16934 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16935 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16936 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16937 #
16938 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16939 #                 2006, 2007, 2008 Free Software Foundation, Inc.
16940 #   Written by Gordon Matzigkeit, 1996
16941 #
16942 #   This file is part of GNU Libtool.
16943 #
16944 # GNU Libtool is free software; you can redistribute it and/or
16945 # modify it under the terms of the GNU General Public License as
16946 # published by the Free Software Foundation; either version 2 of
16947 # the License, or (at your option) any later version.
16948 #
16949 # As a special exception to the GNU General Public License,
16950 # if you distribute this file as part of a program or library that
16951 # is built using GNU Libtool, you may include this file under the
16952 # same distribution terms that you use for the rest of that program.
16953 #
16954 # GNU Libtool is distributed in the hope that it will be useful,
16955 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16956 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16957 # GNU General Public License for more details.
16958 #
16959 # You should have received a copy of the GNU General Public License
16960 # along with GNU Libtool; see the file COPYING.  If not, a copy
16961 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16962 # obtained by writing to the Free Software Foundation, Inc.,
16963 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16964
16965
16966 # The names of the tagged configurations supported by this script.
16967 available_tags=""
16968
16969 # ### BEGIN LIBTOOL CONFIG
16970
16971 # Assembler program.
16972 AS=$AS
16973
16974 # DLL creation program.
16975 DLLTOOL=$DLLTOOL
16976
16977 # Object dumper program.
16978 OBJDUMP=$OBJDUMP
16979
16980 # Which release of libtool.m4 was used?
16981 macro_version=$macro_version
16982 macro_revision=$macro_revision
16983
16984 # Whether or not to build shared libraries.
16985 build_libtool_libs=$enable_shared
16986
16987 # Whether or not to build static libraries.
16988 build_old_libs=$enable_static
16989
16990 # What type of objects to build.
16991 pic_mode=$pic_mode
16992
16993 # Whether or not to optimize for fast installation.
16994 fast_install=$enable_fast_install
16995
16996 # The host system.
16997 host_alias=$host_alias
16998 host=$host
16999 host_os=$host_os
17000
17001 # The build system.
17002 build_alias=$build_alias
17003 build=$build
17004 build_os=$build_os
17005
17006 # A sed program that does not truncate output.
17007 SED=$lt_SED
17008
17009 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17010 Xsed="\$SED -e 1s/^X//"
17011
17012 # A grep program that handles long lines.
17013 GREP=$lt_GREP
17014
17015 # An ERE matcher.
17016 EGREP=$lt_EGREP
17017
17018 # A literal string matcher.
17019 FGREP=$lt_FGREP
17020
17021 # A BSD- or MS-compatible name lister.
17022 NM=$lt_NM
17023
17024 # Whether we need soft or hard links.
17025 LN_S=$lt_LN_S
17026
17027 # What is the maximum length of a command?
17028 max_cmd_len=$max_cmd_len
17029
17030 # Object file suffix (normally "o").
17031 objext=$ac_objext
17032
17033 # Executable file suffix (normally "").
17034 exeext=$exeext
17035
17036 # whether the shell understands "unset".
17037 lt_unset=$lt_unset
17038
17039 # turn spaces into newlines.
17040 SP2NL=$lt_lt_SP2NL
17041
17042 # turn newlines into spaces.
17043 NL2SP=$lt_lt_NL2SP
17044
17045 # How to create reloadable object files.
17046 reload_flag=$lt_reload_flag
17047 reload_cmds=$lt_reload_cmds
17048
17049 # Method to check whether dependent libraries are shared objects.
17050 deplibs_check_method=$lt_deplibs_check_method
17051
17052 # Command to use when deplibs_check_method == "file_magic".
17053 file_magic_cmd=$lt_file_magic_cmd
17054
17055 # The archiver.
17056 AR=$lt_AR
17057 AR_FLAGS=$lt_AR_FLAGS
17058
17059 # A symbol stripping program.
17060 STRIP=$lt_STRIP
17061
17062 # Commands used to install an old-style archive.
17063 RANLIB=$lt_RANLIB
17064 old_postinstall_cmds=$lt_old_postinstall_cmds
17065 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17066
17067 # A C compiler.
17068 LTCC=$lt_CC
17069
17070 # LTCC compiler flags.
17071 LTCFLAGS=$lt_CFLAGS
17072
17073 # Take the output of nm and produce a listing of raw symbols and C names.
17074 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17075
17076 # Transform the output of nm in a proper C declaration.
17077 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17078
17079 # Transform the output of nm in a C name address pair.
17080 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17081
17082 # Transform the output of nm in a C name address pair when lib prefix is needed.
17083 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17084
17085 # The name of the directory that contains temporary libtool files.
17086 objdir=$objdir
17087
17088 # Shell to use when invoking shell scripts.
17089 SHELL=$lt_SHELL
17090
17091 # An echo program that does not interpret backslashes.
17092 ECHO=$lt_ECHO
17093
17094 # Used to examine libraries when file_magic_cmd begins with "file".
17095 MAGIC_CMD=$MAGIC_CMD
17096
17097 # Must we lock files when doing compilation?
17098 need_locks=$lt_need_locks
17099
17100 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17101 DSYMUTIL=$lt_DSYMUTIL
17102
17103 # Tool to change global to local symbols on Mac OS X.
17104 NMEDIT=$lt_NMEDIT
17105
17106 # Tool to manipulate fat objects and archives on Mac OS X.
17107 LIPO=$lt_LIPO
17108
17109 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17110 OTOOL=$lt_OTOOL
17111
17112 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17113 OTOOL64=$lt_OTOOL64
17114
17115 # Old archive suffix (normally "a").
17116 libext=$libext
17117
17118 # Shared library suffix (normally ".so").
17119 shrext_cmds=$lt_shrext_cmds
17120
17121 # The commands to extract the exported symbol list from a shared archive.
17122 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17123
17124 # Variables whose values should be saved in libtool wrapper scripts and
17125 # restored at link time.
17126 variables_saved_for_relink=$lt_variables_saved_for_relink
17127
17128 # Do we need the "lib" prefix for modules?
17129 need_lib_prefix=$need_lib_prefix
17130
17131 # Do we need a version for libraries?
17132 need_version=$need_version
17133
17134 # Library versioning type.
17135 version_type=$version_type
17136
17137 # Shared library runtime path variable.
17138 runpath_var=$runpath_var
17139
17140 # Shared library path variable.
17141 shlibpath_var=$shlibpath_var
17142
17143 # Is shlibpath searched before the hard-coded library search path?
17144 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17145
17146 # Format of library name prefix.
17147 libname_spec=$lt_libname_spec
17148
17149 # List of archive names.  First name is the real one, the rest are links.
17150 # The last name is the one that the linker finds with -lNAME
17151 library_names_spec=$lt_library_names_spec
17152
17153 # The coded name of the library, if different from the real name.
17154 soname_spec=$lt_soname_spec
17155
17156 # Command to use after installation of a shared archive.
17157 postinstall_cmds=$lt_postinstall_cmds
17158
17159 # Command to use after uninstallation of a shared archive.
17160 postuninstall_cmds=$lt_postuninstall_cmds
17161
17162 # Commands used to finish a libtool library installation in a directory.
17163 finish_cmds=$lt_finish_cmds
17164
17165 # As "finish_cmds", except a single script fragment to be evaled but
17166 # not shown.
17167 finish_eval=$lt_finish_eval
17168
17169 # Whether we should hardcode library paths into libraries.
17170 hardcode_into_libs=$hardcode_into_libs
17171
17172 # Compile-time system search path for libraries.
17173 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17174
17175 # Run-time system search path for libraries.
17176 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17177
17178 # Whether dlopen is supported.
17179 dlopen_support=$enable_dlopen
17180
17181 # Whether dlopen of programs is supported.
17182 dlopen_self=$enable_dlopen_self
17183
17184 # Whether dlopen of statically linked programs is supported.
17185 dlopen_self_static=$enable_dlopen_self_static
17186
17187 # Commands to strip libraries.
17188 old_striplib=$lt_old_striplib
17189 striplib=$lt_striplib
17190
17191
17192 # The linker used to build libraries.
17193 LD=$lt_LD
17194
17195 # Commands used to build an old-style archive.
17196 old_archive_cmds=$lt_old_archive_cmds
17197
17198 # A language specific compiler.
17199 CC=$lt_compiler
17200
17201 # Is the compiler the GNU compiler?
17202 with_gcc=$GCC
17203
17204 # Compiler flag to turn off builtin functions.
17205 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17206
17207 # How to pass a linker flag through the compiler.
17208 wl=$lt_lt_prog_compiler_wl
17209
17210 # Additional compiler flags for building library objects.
17211 pic_flag=$lt_lt_prog_compiler_pic
17212
17213 # Compiler flag to prevent dynamic linking.
17214 link_static_flag=$lt_lt_prog_compiler_static
17215
17216 # Does compiler simultaneously support -c and -o options?
17217 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17218
17219 # Whether or not to add -lc for building shared libraries.
17220 build_libtool_need_lc=$archive_cmds_need_lc
17221
17222 # Whether or not to disallow shared libs when runtime libs are static.
17223 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17224
17225 # Compiler flag to allow reflexive dlopens.
17226 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17227
17228 # Compiler flag to generate shared objects directly from archives.
17229 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17230
17231 # Whether the compiler copes with passing no objects directly.
17232 compiler_needs_object=$lt_compiler_needs_object
17233
17234 # Create an old-style archive from a shared archive.
17235 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17236
17237 # Create a temporary old-style archive to link instead of a shared archive.
17238 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17239
17240 # Commands used to build a shared archive.
17241 archive_cmds=$lt_archive_cmds
17242 archive_expsym_cmds=$lt_archive_expsym_cmds
17243
17244 # Commands used to build a loadable module if different from building
17245 # a shared archive.
17246 module_cmds=$lt_module_cmds
17247 module_expsym_cmds=$lt_module_expsym_cmds
17248
17249 # Whether we are building with GNU ld or not.
17250 with_gnu_ld=$lt_with_gnu_ld
17251
17252 # Flag that allows shared libraries with undefined symbols to be built.
17253 allow_undefined_flag=$lt_allow_undefined_flag
17254
17255 # Flag that enforces no undefined symbols.
17256 no_undefined_flag=$lt_no_undefined_flag
17257
17258 # Flag to hardcode \$libdir into a binary during linking.
17259 # This must work even if \$libdir does not exist
17260 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17261
17262 # If ld is used when linking, flag to hardcode \$libdir into a binary
17263 # during linking.  This must work even if \$libdir does not exist.
17264 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17265
17266 # Whether we need a single "-rpath" flag with a separated argument.
17267 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17268
17269 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17270 # DIR into the resulting binary.
17271 hardcode_direct=$hardcode_direct
17272
17273 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17274 # DIR into the resulting binary and the resulting library dependency is
17275 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17276 # library is relocated.
17277 hardcode_direct_absolute=$hardcode_direct_absolute
17278
17279 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17280 # into the resulting binary.
17281 hardcode_minus_L=$hardcode_minus_L
17282
17283 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17284 # into the resulting binary.
17285 hardcode_shlibpath_var=$hardcode_shlibpath_var
17286
17287 # Set to "yes" if building a shared library automatically hardcodes DIR
17288 # into the library and all subsequent libraries and executables linked
17289 # against it.
17290 hardcode_automatic=$hardcode_automatic
17291
17292 # Set to yes if linker adds runtime paths of dependent libraries
17293 # to runtime path list.
17294 inherit_rpath=$inherit_rpath
17295
17296 # Whether libtool must link a program against all its dependency libraries.
17297 link_all_deplibs=$link_all_deplibs
17298
17299 # Fix the shell variable \$srcfile for the compiler.
17300 fix_srcfile_path=$lt_fix_srcfile_path
17301
17302 # Set to "yes" if exported symbols are required.
17303 always_export_symbols=$always_export_symbols
17304
17305 # The commands to list exported symbols.
17306 export_symbols_cmds=$lt_export_symbols_cmds
17307
17308 # Symbols that should not be listed in the preloaded symbols.
17309 exclude_expsyms=$lt_exclude_expsyms
17310
17311 # Symbols that must always be exported.
17312 include_expsyms=$lt_include_expsyms
17313
17314 # Commands necessary for linking programs (against libraries) with templates.
17315 prelink_cmds=$lt_prelink_cmds
17316
17317 # Specify filename containing input files.
17318 file_list_spec=$lt_file_list_spec
17319
17320 # How to hardcode a shared library path into an executable.
17321 hardcode_action=$hardcode_action
17322
17323 # ### END LIBTOOL CONFIG
17324
17325 _LT_EOF
17326
17327   case $host_os in
17328   aix3*)
17329     cat <<\_LT_EOF >> "$cfgfile"
17330 # AIX sometimes has problems with the GCC collect2 program.  For some
17331 # reason, if we set the COLLECT_NAMES environment variable, the problems
17332 # vanish in a puff of smoke.
17333 if test "X${COLLECT_NAMES+set}" != Xset; then
17334   COLLECT_NAMES=
17335   export COLLECT_NAMES
17336 fi
17337 _LT_EOF
17338     ;;
17339   esac
17340
17341
17342 ltmain="$ac_aux_dir/ltmain.sh"
17343
17344
17345   # We use sed instead of cat because bash on DJGPP gets confused if
17346   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17347   # text mode, it properly converts lines to CR/LF.  This bash problem
17348   # is reportedly fixed, but why not run on old versions too?
17349   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17350     || (rm -f "$cfgfile"; exit 1)
17351
17352   case $xsi_shell in
17353   yes)
17354     cat << \_LT_EOF >> "$cfgfile"
17355
17356 # func_dirname file append nondir_replacement
17357 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
17358 # otherwise set result to NONDIR_REPLACEMENT.
17359 func_dirname ()
17360 {
17361   case ${1} in
17362     */*) func_dirname_result="${1%/*}${2}" ;;
17363     *  ) func_dirname_result="${3}" ;;
17364   esac
17365 }
17366
17367 # func_basename file
17368 func_basename ()
17369 {
17370   func_basename_result="${1##*/}"
17371 }
17372
17373 # func_dirname_and_basename file append nondir_replacement
17374 # perform func_basename and func_dirname in a single function
17375 # call:
17376 #   dirname:  Compute the dirname of FILE.  If nonempty,
17377 #             add APPEND to the result, otherwise set result
17378 #             to NONDIR_REPLACEMENT.
17379 #             value returned in "$func_dirname_result"
17380 #   basename: Compute filename of FILE.
17381 #             value retuned in "$func_basename_result"
17382 # Implementation must be kept synchronized with func_dirname
17383 # and func_basename. For efficiency, we do not delegate to
17384 # those functions but instead duplicate the functionality here.
17385 func_dirname_and_basename ()
17386 {
17387   case ${1} in
17388     */*) func_dirname_result="${1%/*}${2}" ;;
17389     *  ) func_dirname_result="${3}" ;;
17390   esac
17391   func_basename_result="${1##*/}"
17392 }
17393
17394 # func_stripname prefix suffix name
17395 # strip PREFIX and SUFFIX off of NAME.
17396 # PREFIX and SUFFIX must not contain globbing or regex special
17397 # characters, hashes, percent signs, but SUFFIX may contain a leading
17398 # dot (in which case that matches only a dot).
17399 func_stripname ()
17400 {
17401   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17402   # positional parameters, so assign one to ordinary parameter first.
17403   func_stripname_result=${3}
17404   func_stripname_result=${func_stripname_result#"${1}"}
17405   func_stripname_result=${func_stripname_result%"${2}"}
17406 }
17407
17408 # func_opt_split
17409 func_opt_split ()
17410 {
17411   func_opt_split_opt=${1%%=*}
17412   func_opt_split_arg=${1#*=}
17413 }
17414
17415 # func_lo2o object
17416 func_lo2o ()
17417 {
17418   case ${1} in
17419     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
17420     *)    func_lo2o_result=${1} ;;
17421   esac
17422 }
17423
17424 # func_xform libobj-or-source
17425 func_xform ()
17426 {
17427   func_xform_result=${1%.*}.lo
17428 }
17429
17430 # func_arith arithmetic-term...
17431 func_arith ()
17432 {
17433   func_arith_result=$(( $* ))
17434 }
17435
17436 # func_len string
17437 # STRING may not start with a hyphen.
17438 func_len ()
17439 {
17440   func_len_result=${#1}
17441 }
17442
17443 _LT_EOF
17444     ;;
17445   *) # Bourne compatible functions.
17446     cat << \_LT_EOF >> "$cfgfile"
17447
17448 # func_dirname file append nondir_replacement
17449 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
17450 # otherwise set result to NONDIR_REPLACEMENT.
17451 func_dirname ()
17452 {
17453   # Extract subdirectory from the argument.
17454   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17455   if test "X$func_dirname_result" = "X${1}"; then
17456     func_dirname_result="${3}"
17457   else
17458     func_dirname_result="$func_dirname_result${2}"
17459   fi
17460 }
17461
17462 # func_basename file
17463 func_basename ()
17464 {
17465   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
17466 }
17467
17468
17469 # func_stripname prefix suffix name
17470 # strip PREFIX and SUFFIX off of NAME.
17471 # PREFIX and SUFFIX must not contain globbing or regex special
17472 # characters, hashes, percent signs, but SUFFIX may contain a leading
17473 # dot (in which case that matches only a dot).
17474 # func_strip_suffix prefix name
17475 func_stripname ()
17476 {
17477   case ${2} in
17478     .*) func_stripname_result=`$ECHO "X${3}" \
17479            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17480     *)  func_stripname_result=`$ECHO "X${3}" \
17481            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17482   esac
17483 }
17484
17485 # sed scripts:
17486 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
17487 my_sed_long_arg='1s/^-[^=]*=//'
17488
17489 # func_opt_split
17490 func_opt_split ()
17491 {
17492   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17493   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17494 }
17495
17496 # func_lo2o object
17497 func_lo2o ()
17498 {
17499   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17500 }
17501
17502 # func_xform libobj-or-source
17503 func_xform ()
17504 {
17505   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
17506 }
17507
17508 # func_arith arithmetic-term...
17509 func_arith ()
17510 {
17511   func_arith_result=`expr "$@"`
17512 }
17513
17514 # func_len string
17515 # STRING may not start with a hyphen.
17516 func_len ()
17517 {
17518   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17519 }
17520
17521 _LT_EOF
17522 esac
17523
17524 case $lt_shell_append in
17525   yes)
17526     cat << \_LT_EOF >> "$cfgfile"
17527
17528 # func_append var value
17529 # Append VALUE to the end of shell variable VAR.
17530 func_append ()
17531 {
17532   eval "$1+=\$2"
17533 }
17534 _LT_EOF
17535     ;;
17536   *)
17537     cat << \_LT_EOF >> "$cfgfile"
17538
17539 # func_append var value
17540 # Append VALUE to the end of shell variable VAR.
17541 func_append ()
17542 {
17543   eval "$1=\$$1\$2"
17544 }
17545
17546 _LT_EOF
17547     ;;
17548   esac
17549
17550
17551   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17552     || (rm -f "$cfgfile"; exit 1)
17553
17554   mv -f "$cfgfile" "$ofile" ||
17555     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17556   chmod +x "$ofile"
17557
17558  ;;
17559     "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
17560         sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
17561       esac ;;
17562     "po/stamp-it":C)
17563     if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
17564        as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
17565     fi
17566     rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
17567     >"po/stamp-it.tmp"
17568     sed '/^#/d
17569          s/^[[].*] *//
17570          /^[    ]*$/d
17571         '"s|^|  $ac_top_srcdir/|" \
17572       "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
17573
17574     sed '/^POTFILES =/,/[^\\]$/ {
17575                 /^POTFILES =/!d
17576                 r po/POTFILES
17577           }
17578          ' "po/Makefile.in" >"po/Makefile"
17579     rm -f "po/Makefile.tmp"
17580     mv "po/stamp-it.tmp" "po/stamp-it"
17581    ;;
17582
17583   esac
17584 done # for ac_tag
17585
17586
17587 as_fn_exit 0
17588 _ACEOF
17589 ac_clean_files=$ac_clean_files_save
17590
17591 test $ac_write_fail = 0 ||
17592   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17593
17594
17595 # configure is writing to config.log, and then calls config.status.
17596 # config.status does its own redirection, appending to config.log.
17597 # Unfortunately, on DOS this fails, as config.log is still kept open
17598 # by configure, so config.status won't be able to write to it; its
17599 # output is simply discarded.  So we exec the FD to /dev/null,
17600 # effectively closing config.log, so it can be properly (re)opened and
17601 # appended to by config.status.  When coming back to configure, we
17602 # need to make the FD available again.
17603 if test "$no_create" != yes; then
17604   ac_cs_success=:
17605   ac_config_status_args=
17606   test "$silent" = yes &&
17607     ac_config_status_args="$ac_config_status_args --quiet"
17608   exec 5>/dev/null
17609   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17610   exec 5>>config.log
17611   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17612   # would make configure fail if this is the last instruction.
17613   $ac_cs_success || as_fn_exit 1
17614 fi
17615 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17616   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17617 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17618 fi
17619
17620
17621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Configured $PACKAGE $VERSION" >&5
17622 $as_echo "Configured $PACKAGE $VERSION" >&6; }