Initial project set up for IVI 2.0alpha branch
[profile/ivi/desktop-file-utils.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for desktop-file-utils 0.16.
4 #
5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=desktop-file-utils>.
6 #
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization.  ##
13 ## --------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18   emulate sh
19   NULLCMD=:
20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in
26   *posix*) set -o posix ;;
27 esac
28
29 fi
30
31
32
33
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42 as_nl='
43 '
44 export as_nl
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85   as_unset=unset
86 else
87   as_unset=false
88 fi
89
90
91 # IFS
92 # We need space, tab and new line, in precisely that order.  Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
96 IFS=" ""        $as_nl"
97
98 # Find who we are.  Look in the path if we contain no directory separator.
99 case $0 in
100   *[\\/]* ) as_myself=$0 ;;
101   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102 for as_dir in $PATH
103 do
104   IFS=$as_save_IFS
105   test -z "$as_dir" && as_dir=.
106   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 done
108 IFS=$as_save_IFS
109
110      ;;
111 esac
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x; then
115   as_myself=$0
116 fi
117 if test ! -f "$as_myself"; then
118   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119   { (exit 1); exit 1; }
120 fi
121
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_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 # Required to use basename.
137 if expr a : '\(a\)' >/dev/null 2>&1 &&
138    test "X`expr 00001 : '.*\(...\)'`" = X001; then
139   as_expr=expr
140 else
141   as_expr=false
142 fi
143
144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145   as_basename=basename
146 else
147   as_basename=false
148 fi
149
150
151 # Name of the executable.
152 as_me=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154          X"$0" : 'X\(//\)$' \| \
155          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156 $as_echo X/"$0" |
157     sed '/^.*\/\([^/][^/]*\)\/*$/{
158             s//\1/
159             q
160           }
161           /^X\/\(\/\/\)$/{
162             s//\1/
163             q
164           }
165           /^X\/\(\/\).*/{
166             s//\1/
167             q
168           }
169           s/.*/./; q'`
170
171 # CDPATH.
172 $as_unset CDPATH
173
174
175 if test "x$CONFIG_SHELL" = x; then
176   if (eval ":") 2>/dev/null; then
177   as_have_required=yes
178 else
179   as_have_required=no
180 fi
181
182   if test $as_have_required = yes &&     (eval ":
183 (as_func_return () {
184   (exit \$1)
185 }
186 as_func_success () {
187   as_func_return 0
188 }
189 as_func_failure () {
190   as_func_return 1
191 }
192 as_func_ret_success () {
193   return 0
194 }
195 as_func_ret_failure () {
196   return 1
197 }
198
199 exitcode=0
200 if as_func_success; then
201   :
202 else
203   exitcode=1
204   echo as_func_success failed.
205 fi
206
207 if as_func_failure; then
208   exitcode=1
209   echo as_func_failure succeeded.
210 fi
211
212 if as_func_ret_success; then
213   :
214 else
215   exitcode=1
216   echo as_func_ret_success failed.
217 fi
218
219 if as_func_ret_failure; then
220   exitcode=1
221   echo as_func_ret_failure succeeded.
222 fi
223
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225   :
226 else
227   exitcode=1
228   echo positional parameters were not saved.
229 fi
230
231 test \$exitcode = 0) || { (exit 1); exit 1; }
232
233 (
234   as_lineno_1=\$LINENO
235   as_lineno_2=\$LINENO
236   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev/null; then
239   :
240 else
241   as_candidate_shells=
242     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244 do
245   IFS=$as_save_IFS
246   test -z "$as_dir" && as_dir=.
247   case $as_dir in
248          /*)
249            for as_base in sh bash ksh sh5; do
250              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
251            done;;
252        esac
253 done
254 IFS=$as_save_IFS
255
256
257       for as_shell in $as_candidate_shells $SHELL; do
258          # Try only shells that exist, to save several forks.
259          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260                 { ("$as_shell") 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262   emulate sh
263   NULLCMD=:
264   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265   # is contrary to our usage.  Disable this feature.
266   alias -g '${1+"$@"}'='"$@"'
267   setopt NO_GLOB_SUBST
268 else
269   case `(set -o) 2>/dev/null` in
270   *posix*) set -o posix ;;
271 esac
272
273 fi
274
275
276 :
277 _ASEOF
278 }; then
279   CONFIG_SHELL=$as_shell
280                as_have_required=yes
281                if { "$as_shell" 2> /dev/null <<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283   emulate sh
284   NULLCMD=:
285   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286   # is contrary to our usage.  Disable this feature.
287   alias -g '${1+"$@"}'='"$@"'
288   setopt NO_GLOB_SUBST
289 else
290   case `(set -o) 2>/dev/null` in
291   *posix*) set -o posix ;;
292 esac
293
294 fi
295
296
297 :
298 (as_func_return () {
299   (exit $1)
300 }
301 as_func_success () {
302   as_func_return 0
303 }
304 as_func_failure () {
305   as_func_return 1
306 }
307 as_func_ret_success () {
308   return 0
309 }
310 as_func_ret_failure () {
311   return 1
312 }
313
314 exitcode=0
315 if as_func_success; then
316   :
317 else
318   exitcode=1
319   echo as_func_success failed.
320 fi
321
322 if as_func_failure; then
323   exitcode=1
324   echo as_func_failure succeeded.
325 fi
326
327 if as_func_ret_success; then
328   :
329 else
330   exitcode=1
331   echo as_func_ret_success failed.
332 fi
333
334 if as_func_ret_failure; then
335   exitcode=1
336   echo as_func_ret_failure succeeded.
337 fi
338
339 if ( set x; as_func_ret_success y && test x = "$1" ); then
340   :
341 else
342   exitcode=1
343   echo positional parameters were not saved.
344 fi
345
346 test $exitcode = 0) || { (exit 1); exit 1; }
347
348 (
349   as_lineno_1=$LINENO
350   as_lineno_2=$LINENO
351   test "x$as_lineno_1" != "x$as_lineno_2" &&
352   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
353
354 _ASEOF
355 }; then
356   break
357 fi
358
359 fi
360
361       done
362
363       if test "x$CONFIG_SHELL" != x; then
364   for as_var in BASH_ENV ENV
365         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366         done
367         export CONFIG_SHELL
368         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369 fi
370
371
372     if test $as_have_required = no; then
373   echo This script requires a shell more modern than all the
374       echo shells that I found on your system.  Please install a
375       echo modern shell, or manually run the script under such a
376       echo shell if you do have one.
377       { (exit 1); exit 1; }
378 fi
379
380
381 fi
382
383 fi
384
385
386
387 (eval "as_func_return () {
388   (exit \$1)
389 }
390 as_func_success () {
391   as_func_return 0
392 }
393 as_func_failure () {
394   as_func_return 1
395 }
396 as_func_ret_success () {
397   return 0
398 }
399 as_func_ret_failure () {
400   return 1
401 }
402
403 exitcode=0
404 if as_func_success; then
405   :
406 else
407   exitcode=1
408   echo as_func_success failed.
409 fi
410
411 if as_func_failure; then
412   exitcode=1
413   echo as_func_failure succeeded.
414 fi
415
416 if as_func_ret_success; then
417   :
418 else
419   exitcode=1
420   echo as_func_ret_success failed.
421 fi
422
423 if as_func_ret_failure; then
424   exitcode=1
425   echo as_func_ret_failure succeeded.
426 fi
427
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429   :
430 else
431   exitcode=1
432   echo positional parameters were not saved.
433 fi
434
435 test \$exitcode = 0") || {
436   echo No shell found that supports shell functions.
437   echo Please tell bug-autoconf@gnu.org about your system,
438   echo including any error possibly output before this message.
439   echo This can help us improve future autoconf versions.
440   echo Configuration will now proceed without shell functions.
441 }
442
443
444
445   as_lineno_1=$LINENO
446   as_lineno_2=$LINENO
447   test "x$as_lineno_1" != "x$as_lineno_2" &&
448   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449
450   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451   # uniformly replaced by the line number.  The first 'sed' inserts a
452   # line-number line after each line using $LINENO; the second 'sed'
453   # does the real work.  The second script uses 'N' to pair each
454   # line-number line with the line containing $LINENO, and appends
455   # trailing '-' during substitution so that $LINENO is not a special
456   # case at line end.
457   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458   # scripts with optimization help from Paolo Bonzini.  Blame Lee
459   # E. McMahon (1931-1989) for sed's syntax.  :-)
460   sed -n '
461     p
462     /[$]LINENO/=
463   ' <$as_myself |
464     sed '
465       s/[$]LINENO.*/&-/
466       t lineno
467       b
468       :lineno
469       N
470       :loop
471       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
472       t loop
473       s/-\n.*//
474     ' >$as_me.lineno &&
475   chmod +x "$as_me.lineno" ||
476     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477    { (exit 1); exit 1; }; }
478
479   # Don't try to exec as it changes $[0], causing all sort of problems
480   # (the dirname of $[0] is not the place where we might find the
481   # original and so on.  Autoconf is especially sensitive to this).
482   . "./$as_me.lineno"
483   # Exit status is that of the last command.
484   exit
485 }
486
487
488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489   as_dirname=dirname
490 else
491   as_dirname=false
492 fi
493
494 ECHO_C= ECHO_N= ECHO_T=
495 case `echo -n x` in
496 -n*)
497   case `echo 'x\c'` in
498   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
499   *)   ECHO_C='\c';;
500   esac;;
501 *)
502   ECHO_N='-n';;
503 esac
504 if expr a : '\(a\)' >/dev/null 2>&1 &&
505    test "X`expr 00001 : '.*\(...\)'`" = X001; then
506   as_expr=expr
507 else
508   as_expr=false
509 fi
510
511 rm -f conf$$ conf$$.exe conf$$.file
512 if test -d conf$$.dir; then
513   rm -f conf$$.dir/conf$$.file
514 else
515   rm -f conf$$.dir
516   mkdir conf$$.dir 2>/dev/null
517 fi
518 if (echo >conf$$.file) 2>/dev/null; then
519   if ln -s conf$$.file conf$$ 2>/dev/null; then
520     as_ln_s='ln -s'
521     # ... but there are two gotchas:
522     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524     # In both cases, we have to default to `cp -p'.
525     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
526       as_ln_s='cp -p'
527   elif ln conf$$.file conf$$ 2>/dev/null; then
528     as_ln_s=ln
529   else
530     as_ln_s='cp -p'
531   fi
532 else
533   as_ln_s='cp -p'
534 fi
535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536 rmdir conf$$.dir 2>/dev/null
537
538 if mkdir -p . 2>/dev/null; then
539   as_mkdir_p=:
540 else
541   test -d ./-p && rmdir ./-p
542   as_mkdir_p=false
543 fi
544
545 if test -x / >/dev/null 2>&1; then
546   as_test_x='test -x'
547 else
548   if ls -dL / >/dev/null 2>&1; then
549     as_ls_L_option=L
550   else
551     as_ls_L_option=
552   fi
553   as_test_x='
554     eval sh -c '\''
555       if test -d "$1"; then
556         test -d "$1/.";
557       else
558         case $1 in
559         -*)set "./$1";;
560         esac;
561         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562         ???[sx]*):;;*)false;;esac;fi
563     '\'' sh
564   '
565 fi
566 as_executable_p=$as_test_x
567
568 # Sed expression to map a string onto a valid CPP name.
569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
570
571 # Sed expression to map a string onto a valid variable name.
572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573
574
575
576
577 # Check that we are running under the correct shell.
578 SHELL=${CONFIG_SHELL-/bin/sh}
579
580 case X$lt_ECHO in
581 X*--fallback-echo)
582   # Remove one level of quotation (which was required for Make).
583   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
584   ;;
585 esac
586
587 ECHO=${lt_ECHO-echo}
588 if test "X$1" = X--no-reexec; then
589   # Discard the --no-reexec flag, and continue.
590   shift
591 elif test "X$1" = X--fallback-echo; then
592   # Avoid inline document here, it may be left over
593   :
594 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
595   # Yippee, $ECHO works!
596   :
597 else
598   # Restart under the correct shell.
599   exec $SHELL "$0" --no-reexec ${1+"$@"}
600 fi
601
602 if test "X$1" = X--fallback-echo; then
603   # used as fallback echo
604   shift
605   cat <<_LT_EOF
606 $*
607 _LT_EOF
608   exit 0
609 fi
610
611 # The HP-UX ksh and POSIX shell print the target directory to stdout
612 # if CDPATH is set.
613 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
614
615 if test -z "$lt_ECHO"; then
616   if test "X${echo_test_string+set}" != Xset; then
617     # find a string as large as possible, as long as the shell can cope with it
618     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
619       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
620       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
621          { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
622       then
623         break
624       fi
625     done
626   fi
627
628   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
629      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
630      test "X$echo_testing_string" = "X$echo_test_string"; then
631     :
632   else
633     # The Solaris, AIX, and Digital Unix default echo programs unquote
634     # backslashes.  This makes it impossible to quote backslashes using
635     #   echo "$something" | sed 's/\\/\\\\/g'
636     #
637     # So, first we look for a working echo in the user's PATH.
638
639     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
640     for dir in $PATH /usr/ucb; do
641       IFS="$lt_save_ifs"
642       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
643          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
644          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
645          test "X$echo_testing_string" = "X$echo_test_string"; then
646         ECHO="$dir/echo"
647         break
648       fi
649     done
650     IFS="$lt_save_ifs"
651
652     if test "X$ECHO" = Xecho; then
653       # We didn't find a better echo, so look for alternatives.
654       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
655          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
656          test "X$echo_testing_string" = "X$echo_test_string"; then
657         # This shell has a builtin print -r that does the trick.
658         ECHO='print -r'
659       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
660            test "X$CONFIG_SHELL" != X/bin/ksh; then
661         # If we have ksh, try running configure again with it.
662         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
663         export ORIGINAL_CONFIG_SHELL
664         CONFIG_SHELL=/bin/ksh
665         export CONFIG_SHELL
666         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
667       else
668         # Try using printf.
669         ECHO='printf %s\n'
670         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
671            echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
672            test "X$echo_testing_string" = "X$echo_test_string"; then
673           # Cool, printf works
674           :
675         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
676              test "X$echo_testing_string" = 'X\t' &&
677              echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
678              test "X$echo_testing_string" = "X$echo_test_string"; then
679           CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
680           export CONFIG_SHELL
681           SHELL="$CONFIG_SHELL"
682           export SHELL
683           ECHO="$CONFIG_SHELL $0 --fallback-echo"
684         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
685              test "X$echo_testing_string" = 'X\t' &&
686              echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
687              test "X$echo_testing_string" = "X$echo_test_string"; then
688           ECHO="$CONFIG_SHELL $0 --fallback-echo"
689         else
690           # maybe with a smaller string...
691           prev=:
692
693           for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
694             if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
695             then
696               break
697             fi
698             prev="$cmd"
699           done
700
701           if test "$prev" != 'sed 50q "$0"'; then
702             echo_test_string=`eval $prev`
703             export echo_test_string
704             exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
705           else
706             # Oops.  We lost completely, so just stick with echo.
707             ECHO=echo
708           fi
709         fi
710       fi
711     fi
712   fi
713 fi
714
715 # Copy echo and quote the copy suitably for passing to libtool from
716 # the Makefile, instead of quoting the original, which is used later.
717 lt_ECHO=$ECHO
718 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
719    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
720 fi
721
722
723
724
725 exec 7<&0 </dev/null 6>&1
726
727 # Name of the host.
728 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
729 # so uname gets run too.
730 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
731
732 #
733 # Initializations.
734 #
735 ac_default_prefix=/usr/local
736 ac_clean_files=
737 ac_config_libobj_dir=.
738 LIBOBJS=
739 cross_compiling=no
740 subdirs=
741 MFLAGS=
742 MAKEFLAGS=
743 SHELL=${CONFIG_SHELL-/bin/sh}
744
745 # Identity of this package.
746 PACKAGE_NAME='desktop-file-utils'
747 PACKAGE_TARNAME='desktop-file-utils'
748 PACKAGE_VERSION='0.16'
749 PACKAGE_STRING='desktop-file-utils 0.16'
750 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=desktop-file-utils'
751
752 ac_unique_file="src/validate.h"
753 # Factoring default headers for most tests.
754 ac_includes_default="\
755 #include <stdio.h>
756 #ifdef HAVE_SYS_TYPES_H
757 # include <sys/types.h>
758 #endif
759 #ifdef HAVE_SYS_STAT_H
760 # include <sys/stat.h>
761 #endif
762 #ifdef STDC_HEADERS
763 # include <stdlib.h>
764 # include <stddef.h>
765 #else
766 # ifdef HAVE_STDLIB_H
767 #  include <stdlib.h>
768 # endif
769 #endif
770 #ifdef HAVE_STRING_H
771 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
772 #  include <memory.h>
773 # endif
774 # include <string.h>
775 #endif
776 #ifdef HAVE_STRINGS_H
777 # include <strings.h>
778 #endif
779 #ifdef HAVE_INTTYPES_H
780 # include <inttypes.h>
781 #endif
782 #ifdef HAVE_STDINT_H
783 # include <stdint.h>
784 #endif
785 #ifdef HAVE_UNISTD_H
786 # include <unistd.h>
787 #endif"
788
789 ac_subst_vars='am__EXEEXT_FALSE
790 am__EXEEXT_TRUE
791 LTLIBOBJS
792 LIBOBJS
793 lispdir
794 EMACSLOADPATH
795 EMACS
796 DESKTOP_FILE_UTILS_LIBS
797 DESKTOP_FILE_UTILS_CFLAGS
798 PKG_CONFIG
799 OTOOL64
800 OTOOL
801 LIPO
802 NMEDIT
803 DSYMUTIL
804 lt_ECHO
805 RANLIB
806 AR
807 OBJDUMP
808 LN_S
809 NM
810 ac_ct_DUMPBIN
811 DUMPBIN
812 LD
813 FGREP
814 SED
815 host_os
816 host_vendor
817 host_cpu
818 host
819 build_os
820 build_vendor
821 build_cpu
822 build
823 LIBTOOL
824 EGREP
825 GREP
826 CPP
827 am__fastdepCC_FALSE
828 am__fastdepCC_TRUE
829 CCDEPMODE
830 AMDEPBACKSLASH
831 AMDEP_FALSE
832 AMDEP_TRUE
833 am__quote
834 am__include
835 DEPDIR
836 OBJEXT
837 EXEEXT
838 ac_ct_CC
839 CPPFLAGS
840 LDFLAGS
841 CFLAGS
842 CC
843 MAINT
844 MAINTAINER_MODE_FALSE
845 MAINTAINER_MODE_TRUE
846 ACLOCAL_AMFLAGS
847 AM_BACKSLASH
848 AM_DEFAULT_VERBOSITY
849 am__untar
850 am__tar
851 AMTAR
852 am__leading_dot
853 SET_MAKE
854 AWK
855 mkdir_p
856 MKDIR_P
857 INSTALL_STRIP_PROGRAM
858 STRIP
859 install_sh
860 MAKEINFO
861 AUTOHEADER
862 AUTOMAKE
863 AUTOCONF
864 ACLOCAL
865 VERSION
866 PACKAGE
867 CYGPATH_W
868 am__isrc
869 INSTALL_DATA
870 INSTALL_SCRIPT
871 INSTALL_PROGRAM
872 target_alias
873 host_alias
874 build_alias
875 LIBS
876 ECHO_T
877 ECHO_N
878 ECHO_C
879 DEFS
880 mandir
881 localedir
882 libdir
883 psdir
884 pdfdir
885 dvidir
886 htmldir
887 infodir
888 docdir
889 oldincludedir
890 includedir
891 localstatedir
892 sharedstatedir
893 sysconfdir
894 datadir
895 datarootdir
896 libexecdir
897 sbindir
898 bindir
899 program_transform_name
900 prefix
901 exec_prefix
902 PACKAGE_BUGREPORT
903 PACKAGE_STRING
904 PACKAGE_VERSION
905 PACKAGE_TARNAME
906 PACKAGE_NAME
907 PATH_SEPARATOR
908 SHELL'
909 ac_subst_files=''
910 ac_user_opts='
911 enable_option_checking
912 enable_silent_rules
913 enable_maintainer_mode
914 enable_dependency_tracking
915 enable_shared
916 enable_static
917 with_pic
918 enable_fast_install
919 with_gnu_ld
920 enable_libtool_lock
921 with_lispdir
922 '
923       ac_precious_vars='build_alias
924 host_alias
925 target_alias
926 CC
927 CFLAGS
928 LDFLAGS
929 LIBS
930 CPPFLAGS
931 CPP
932 PKG_CONFIG
933 DESKTOP_FILE_UTILS_CFLAGS
934 DESKTOP_FILE_UTILS_LIBS
935 EMACS
936 EMACSLOADPATH'
937
938
939 # Initialize some variables set by options.
940 ac_init_help=
941 ac_init_version=false
942 ac_unrecognized_opts=
943 ac_unrecognized_sep=
944 # The variables have the same names as the options, with
945 # dashes changed to underlines.
946 cache_file=/dev/null
947 exec_prefix=NONE
948 no_create=
949 no_recursion=
950 prefix=NONE
951 program_prefix=NONE
952 program_suffix=NONE
953 program_transform_name=s,x,x,
954 silent=
955 site=
956 srcdir=
957 verbose=
958 x_includes=NONE
959 x_libraries=NONE
960
961 # Installation directory options.
962 # These are left unexpanded so users can "make install exec_prefix=/foo"
963 # and all the variables that are supposed to be based on exec_prefix
964 # by default will actually change.
965 # Use braces instead of parens because sh, perl, etc. also accept them.
966 # (The list follows the same order as the GNU Coding Standards.)
967 bindir='${exec_prefix}/bin'
968 sbindir='${exec_prefix}/sbin'
969 libexecdir='${exec_prefix}/libexec'
970 datarootdir='${prefix}/share'
971 datadir='${datarootdir}'
972 sysconfdir='${prefix}/etc'
973 sharedstatedir='${prefix}/com'
974 localstatedir='${prefix}/var'
975 includedir='${prefix}/include'
976 oldincludedir='/usr/include'
977 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
978 infodir='${datarootdir}/info'
979 htmldir='${docdir}'
980 dvidir='${docdir}'
981 pdfdir='${docdir}'
982 psdir='${docdir}'
983 libdir='${exec_prefix}/lib'
984 localedir='${datarootdir}/locale'
985 mandir='${datarootdir}/man'
986
987 ac_prev=
988 ac_dashdash=
989 for ac_option
990 do
991   # If the previous option needs an argument, assign it.
992   if test -n "$ac_prev"; then
993     eval $ac_prev=\$ac_option
994     ac_prev=
995     continue
996   fi
997
998   case $ac_option in
999   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1000   *)    ac_optarg=yes ;;
1001   esac
1002
1003   # Accept the important Cygnus configure options, so we can diagnose typos.
1004
1005   case $ac_dashdash$ac_option in
1006   --)
1007     ac_dashdash=yes ;;
1008
1009   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1010     ac_prev=bindir ;;
1011   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1012     bindir=$ac_optarg ;;
1013
1014   -build | --build | --buil | --bui | --bu)
1015     ac_prev=build_alias ;;
1016   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1017     build_alias=$ac_optarg ;;
1018
1019   -cache-file | --cache-file | --cache-fil | --cache-fi \
1020   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1021     ac_prev=cache_file ;;
1022   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1023   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1024     cache_file=$ac_optarg ;;
1025
1026   --config-cache | -C)
1027     cache_file=config.cache ;;
1028
1029   -datadir | --datadir | --datadi | --datad)
1030     ac_prev=datadir ;;
1031   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1032     datadir=$ac_optarg ;;
1033
1034   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1035   | --dataroo | --dataro | --datar)
1036     ac_prev=datarootdir ;;
1037   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1038   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1039     datarootdir=$ac_optarg ;;
1040
1041   -disable-* | --disable-*)
1042     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1043     # Reject names that are not valid shell variable names.
1044     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1045       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1046    { (exit 1); exit 1; }; }
1047     ac_useropt_orig=$ac_useropt
1048     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1049     case $ac_user_opts in
1050       *"
1051 "enable_$ac_useropt"
1052 "*) ;;
1053       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1054          ac_unrecognized_sep=', ';;
1055     esac
1056     eval enable_$ac_useropt=no ;;
1057
1058   -docdir | --docdir | --docdi | --doc | --do)
1059     ac_prev=docdir ;;
1060   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1061     docdir=$ac_optarg ;;
1062
1063   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1064     ac_prev=dvidir ;;
1065   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1066     dvidir=$ac_optarg ;;
1067
1068   -enable-* | --enable-*)
1069     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1070     # Reject names that are not valid shell variable names.
1071     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1072       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1073    { (exit 1); exit 1; }; }
1074     ac_useropt_orig=$ac_useropt
1075     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1076     case $ac_user_opts in
1077       *"
1078 "enable_$ac_useropt"
1079 "*) ;;
1080       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1081          ac_unrecognized_sep=', ';;
1082     esac
1083     eval enable_$ac_useropt=\$ac_optarg ;;
1084
1085   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1086   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1087   | --exec | --exe | --ex)
1088     ac_prev=exec_prefix ;;
1089   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1090   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1091   | --exec=* | --exe=* | --ex=*)
1092     exec_prefix=$ac_optarg ;;
1093
1094   -gas | --gas | --ga | --g)
1095     # Obsolete; use --with-gas.
1096     with_gas=yes ;;
1097
1098   -help | --help | --hel | --he | -h)
1099     ac_init_help=long ;;
1100   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1101     ac_init_help=recursive ;;
1102   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1103     ac_init_help=short ;;
1104
1105   -host | --host | --hos | --ho)
1106     ac_prev=host_alias ;;
1107   -host=* | --host=* | --hos=* | --ho=*)
1108     host_alias=$ac_optarg ;;
1109
1110   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1111     ac_prev=htmldir ;;
1112   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1113   | --ht=*)
1114     htmldir=$ac_optarg ;;
1115
1116   -includedir | --includedir | --includedi | --included | --include \
1117   | --includ | --inclu | --incl | --inc)
1118     ac_prev=includedir ;;
1119   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1120   | --includ=* | --inclu=* | --incl=* | --inc=*)
1121     includedir=$ac_optarg ;;
1122
1123   -infodir | --infodir | --infodi | --infod | --info | --inf)
1124     ac_prev=infodir ;;
1125   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1126     infodir=$ac_optarg ;;
1127
1128   -libdir | --libdir | --libdi | --libd)
1129     ac_prev=libdir ;;
1130   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1131     libdir=$ac_optarg ;;
1132
1133   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1134   | --libexe | --libex | --libe)
1135     ac_prev=libexecdir ;;
1136   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1137   | --libexe=* | --libex=* | --libe=*)
1138     libexecdir=$ac_optarg ;;
1139
1140   -localedir | --localedir | --localedi | --localed | --locale)
1141     ac_prev=localedir ;;
1142   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1143     localedir=$ac_optarg ;;
1144
1145   -localstatedir | --localstatedir | --localstatedi | --localstated \
1146   | --localstate | --localstat | --localsta | --localst | --locals)
1147     ac_prev=localstatedir ;;
1148   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1149   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1150     localstatedir=$ac_optarg ;;
1151
1152   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1153     ac_prev=mandir ;;
1154   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1155     mandir=$ac_optarg ;;
1156
1157   -nfp | --nfp | --nf)
1158     # Obsolete; use --without-fp.
1159     with_fp=no ;;
1160
1161   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1162   | --no-cr | --no-c | -n)
1163     no_create=yes ;;
1164
1165   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1166   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1167     no_recursion=yes ;;
1168
1169   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1170   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1171   | --oldin | --oldi | --old | --ol | --o)
1172     ac_prev=oldincludedir ;;
1173   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1174   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1175   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1176     oldincludedir=$ac_optarg ;;
1177
1178   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1179     ac_prev=prefix ;;
1180   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1181     prefix=$ac_optarg ;;
1182
1183   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1184   | --program-pre | --program-pr | --program-p)
1185     ac_prev=program_prefix ;;
1186   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1187   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1188     program_prefix=$ac_optarg ;;
1189
1190   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1191   | --program-suf | --program-su | --program-s)
1192     ac_prev=program_suffix ;;
1193   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1194   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1195     program_suffix=$ac_optarg ;;
1196
1197   -program-transform-name | --program-transform-name \
1198   | --program-transform-nam | --program-transform-na \
1199   | --program-transform-n | --program-transform- \
1200   | --program-transform | --program-transfor \
1201   | --program-transfo | --program-transf \
1202   | --program-trans | --program-tran \
1203   | --progr-tra | --program-tr | --program-t)
1204     ac_prev=program_transform_name ;;
1205   -program-transform-name=* | --program-transform-name=* \
1206   | --program-transform-nam=* | --program-transform-na=* \
1207   | --program-transform-n=* | --program-transform-=* \
1208   | --program-transform=* | --program-transfor=* \
1209   | --program-transfo=* | --program-transf=* \
1210   | --program-trans=* | --program-tran=* \
1211   | --progr-tra=* | --program-tr=* | --program-t=*)
1212     program_transform_name=$ac_optarg ;;
1213
1214   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1215     ac_prev=pdfdir ;;
1216   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1217     pdfdir=$ac_optarg ;;
1218
1219   -psdir | --psdir | --psdi | --psd | --ps)
1220     ac_prev=psdir ;;
1221   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1222     psdir=$ac_optarg ;;
1223
1224   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1225   | -silent | --silent | --silen | --sile | --sil)
1226     silent=yes ;;
1227
1228   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1229     ac_prev=sbindir ;;
1230   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1231   | --sbi=* | --sb=*)
1232     sbindir=$ac_optarg ;;
1233
1234   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1235   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1236   | --sharedst | --shareds | --shared | --share | --shar \
1237   | --sha | --sh)
1238     ac_prev=sharedstatedir ;;
1239   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1240   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1241   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1242   | --sha=* | --sh=*)
1243     sharedstatedir=$ac_optarg ;;
1244
1245   -site | --site | --sit)
1246     ac_prev=site ;;
1247   -site=* | --site=* | --sit=*)
1248     site=$ac_optarg ;;
1249
1250   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1251     ac_prev=srcdir ;;
1252   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1253     srcdir=$ac_optarg ;;
1254
1255   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1256   | --syscon | --sysco | --sysc | --sys | --sy)
1257     ac_prev=sysconfdir ;;
1258   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1259   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1260     sysconfdir=$ac_optarg ;;
1261
1262   -target | --target | --targe | --targ | --tar | --ta | --t)
1263     ac_prev=target_alias ;;
1264   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1265     target_alias=$ac_optarg ;;
1266
1267   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1268     verbose=yes ;;
1269
1270   -version | --version | --versio | --versi | --vers | -V)
1271     ac_init_version=: ;;
1272
1273   -with-* | --with-*)
1274     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1275     # Reject names that are not valid shell variable names.
1276     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1277       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1278    { (exit 1); exit 1; }; }
1279     ac_useropt_orig=$ac_useropt
1280     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1281     case $ac_user_opts in
1282       *"
1283 "with_$ac_useropt"
1284 "*) ;;
1285       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1286          ac_unrecognized_sep=', ';;
1287     esac
1288     eval with_$ac_useropt=\$ac_optarg ;;
1289
1290   -without-* | --without-*)
1291     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1292     # Reject names that are not valid shell variable names.
1293     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1294       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1295    { (exit 1); exit 1; }; }
1296     ac_useropt_orig=$ac_useropt
1297     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1298     case $ac_user_opts in
1299       *"
1300 "with_$ac_useropt"
1301 "*) ;;
1302       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1303          ac_unrecognized_sep=', ';;
1304     esac
1305     eval with_$ac_useropt=no ;;
1306
1307   --x)
1308     # Obsolete; use --with-x.
1309     with_x=yes ;;
1310
1311   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1312   | --x-incl | --x-inc | --x-in | --x-i)
1313     ac_prev=x_includes ;;
1314   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1315   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1316     x_includes=$ac_optarg ;;
1317
1318   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1319   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1320     ac_prev=x_libraries ;;
1321   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1322   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1323     x_libraries=$ac_optarg ;;
1324
1325   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1326 Try \`$0 --help' for more information." >&2
1327    { (exit 1); exit 1; }; }
1328     ;;
1329
1330   *=*)
1331     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1332     # Reject names that are not valid shell variable names.
1333     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1334       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1335    { (exit 1); exit 1; }; }
1336     eval $ac_envvar=\$ac_optarg
1337     export $ac_envvar ;;
1338
1339   *)
1340     # FIXME: should be removed in autoconf 3.0.
1341     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1342     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1343       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1344     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1345     ;;
1346
1347   esac
1348 done
1349
1350 if test -n "$ac_prev"; then
1351   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1352   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1353    { (exit 1); exit 1; }; }
1354 fi
1355
1356 if test -n "$ac_unrecognized_opts"; then
1357   case $enable_option_checking in
1358     no) ;;
1359     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1360    { (exit 1); exit 1; }; } ;;
1361     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1362   esac
1363 fi
1364
1365 # Check all directory arguments for consistency.
1366 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1367                 datadir sysconfdir sharedstatedir localstatedir includedir \
1368                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1369                 libdir localedir mandir
1370 do
1371   eval ac_val=\$$ac_var
1372   # Remove trailing slashes.
1373   case $ac_val in
1374     */ )
1375       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1376       eval $ac_var=\$ac_val;;
1377   esac
1378   # Be sure to have absolute directory names.
1379   case $ac_val in
1380     [\\/$]* | ?:[\\/]* )  continue;;
1381     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1382   esac
1383   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1384    { (exit 1); exit 1; }; }
1385 done
1386
1387 # There might be people who depend on the old broken behavior: `$host'
1388 # used to hold the argument of --host etc.
1389 # FIXME: To remove some day.
1390 build=$build_alias
1391 host=$host_alias
1392 target=$target_alias
1393
1394 # FIXME: To remove some day.
1395 if test "x$host_alias" != x; then
1396   if test "x$build_alias" = x; then
1397     cross_compiling=maybe
1398     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1399     If a cross compiler is detected then cross compile mode will be used." >&2
1400   elif test "x$build_alias" != "x$host_alias"; then
1401     cross_compiling=yes
1402   fi
1403 fi
1404
1405 ac_tool_prefix=
1406 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1407
1408 test "$silent" = yes && exec 6>/dev/null
1409
1410
1411 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1412 ac_ls_di=`ls -di .` &&
1413 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1414   { $as_echo "$as_me: error: working directory cannot be determined" >&2
1415    { (exit 1); exit 1; }; }
1416 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1417   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1418    { (exit 1); exit 1; }; }
1419
1420
1421 # Find the source files, if location was not specified.
1422 if test -z "$srcdir"; then
1423   ac_srcdir_defaulted=yes
1424   # Try the directory containing this script, then the parent directory.
1425   ac_confdir=`$as_dirname -- "$as_myself" ||
1426 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1427          X"$as_myself" : 'X\(//\)[^/]' \| \
1428          X"$as_myself" : 'X\(//\)$' \| \
1429          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1430 $as_echo X"$as_myself" |
1431     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1432             s//\1/
1433             q
1434           }
1435           /^X\(\/\/\)[^/].*/{
1436             s//\1/
1437             q
1438           }
1439           /^X\(\/\/\)$/{
1440             s//\1/
1441             q
1442           }
1443           /^X\(\/\).*/{
1444             s//\1/
1445             q
1446           }
1447           s/.*/./; q'`
1448   srcdir=$ac_confdir
1449   if test ! -r "$srcdir/$ac_unique_file"; then
1450     srcdir=..
1451   fi
1452 else
1453   ac_srcdir_defaulted=no
1454 fi
1455 if test ! -r "$srcdir/$ac_unique_file"; then
1456   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1457   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1458    { (exit 1); exit 1; }; }
1459 fi
1460 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1461 ac_abs_confdir=`(
1462         cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1463    { (exit 1); exit 1; }; }
1464         pwd)`
1465 # When building in place, set srcdir=.
1466 if test "$ac_abs_confdir" = "$ac_pwd"; then
1467   srcdir=.
1468 fi
1469 # Remove unnecessary trailing slashes from srcdir.
1470 # Double slashes in file names in object file debugging info
1471 # mess up M-x gdb in Emacs.
1472 case $srcdir in
1473 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1474 esac
1475 for ac_var in $ac_precious_vars; do
1476   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1477   eval ac_env_${ac_var}_value=\$${ac_var}
1478   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1479   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1480 done
1481
1482 #
1483 # Report the --help message.
1484 #
1485 if test "$ac_init_help" = "long"; then
1486   # Omit some internal or obsolete options to make the list less imposing.
1487   # This message is too long to be a string in the A/UX 3.1 sh.
1488   cat <<_ACEOF
1489 \`configure' configures desktop-file-utils 0.16 to adapt to many kinds of systems.
1490
1491 Usage: $0 [OPTION]... [VAR=VALUE]...
1492
1493 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1494 VAR=VALUE.  See below for descriptions of some of the useful variables.
1495
1496 Defaults for the options are specified in brackets.
1497
1498 Configuration:
1499   -h, --help              display this help and exit
1500       --help=short        display options specific to this package
1501       --help=recursive    display the short help of all the included packages
1502   -V, --version           display version information and exit
1503   -q, --quiet, --silent   do not print \`checking...' messages
1504       --cache-file=FILE   cache test results in FILE [disabled]
1505   -C, --config-cache      alias for \`--cache-file=config.cache'
1506   -n, --no-create         do not create output files
1507       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1508
1509 Installation directories:
1510   --prefix=PREFIX         install architecture-independent files in PREFIX
1511                           [$ac_default_prefix]
1512   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1513                           [PREFIX]
1514
1515 By default, \`make install' will install all the files in
1516 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1517 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1518 for instance \`--prefix=\$HOME'.
1519
1520 For better control, use the options below.
1521
1522 Fine tuning of the installation directories:
1523   --bindir=DIR            user executables [EPREFIX/bin]
1524   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1525   --libexecdir=DIR        program executables [EPREFIX/libexec]
1526   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1527   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1528   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1529   --libdir=DIR            object code libraries [EPREFIX/lib]
1530   --includedir=DIR        C header files [PREFIX/include]
1531   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1532   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1533   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1534   --infodir=DIR           info documentation [DATAROOTDIR/info]
1535   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1536   --mandir=DIR            man documentation [DATAROOTDIR/man]
1537   --docdir=DIR            documentation root
1538                           [DATAROOTDIR/doc/desktop-file-utils]
1539   --htmldir=DIR           html documentation [DOCDIR]
1540   --dvidir=DIR            dvi documentation [DOCDIR]
1541   --pdfdir=DIR            pdf documentation [DOCDIR]
1542   --psdir=DIR             ps documentation [DOCDIR]
1543 _ACEOF
1544
1545   cat <<\_ACEOF
1546
1547 Program names:
1548   --program-prefix=PREFIX            prepend PREFIX to installed program names
1549   --program-suffix=SUFFIX            append SUFFIX to installed program names
1550   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1551
1552 System types:
1553   --build=BUILD     configure for building on BUILD [guessed]
1554   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1555 _ACEOF
1556 fi
1557
1558 if test -n "$ac_init_help"; then
1559   case $ac_init_help in
1560      short | recursive ) echo "Configuration of desktop-file-utils 0.16:";;
1561    esac
1562   cat <<\_ACEOF
1563
1564 Optional Features:
1565   --disable-option-checking  ignore unrecognized --enable/--with options
1566   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1567   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1568   --enable-silent-rules          less verbose build output (undo: `make V=1')
1569   --disable-silent-rules         verbose build output (undo: `make V=0')
1570   --enable-maintainer-mode  enable make rules and dependencies not useful
1571                           (and sometimes confusing) to the casual installer
1572   --disable-dependency-tracking  speeds up one-time build
1573   --enable-dependency-tracking   do not reject slow dependency extractors
1574   --enable-shared[=PKGS]  build shared libraries [default=yes]
1575   --enable-static[=PKGS]  build static libraries [default=yes]
1576   --enable-fast-install[=PKGS]
1577                           optimize for fast installation [default=yes]
1578   --disable-libtool-lock  avoid locking (might break parallel builds)
1579
1580 Optional Packages:
1581   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1582   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1583   --with-pic              try to use only PIC/non-PIC objects [default=use
1584                           both]
1585   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1586   --with-lispdir          override the default lisp directory
1587
1588 Some influential environment variables:
1589   CC          C compiler command
1590   CFLAGS      C compiler flags
1591   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1592               nonstandard directory <lib dir>
1593   LIBS        libraries to pass to the linker, e.g. -l<library>
1594   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1595               you have headers in a nonstandard directory <include dir>
1596   CPP         C preprocessor
1597   PKG_CONFIG  path to pkg-config utility
1598   DESKTOP_FILE_UTILS_CFLAGS
1599               C compiler flags for DESKTOP_FILE_UTILS, overriding pkg-config
1600   DESKTOP_FILE_UTILS_LIBS
1601               linker flags for DESKTOP_FILE_UTILS, overriding pkg-config
1602   EMACS       the Emacs editor command
1603   EMACSLOADPATH
1604               the Emacs library search path
1605
1606 Use these variables to override the choices made by `configure' or to help
1607 it to find libraries and programs with nonstandard names/locations.
1608
1609 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=desktop-file-utils>.
1610 _ACEOF
1611 ac_status=$?
1612 fi
1613
1614 if test "$ac_init_help" = "recursive"; then
1615   # If there are subdirs, report their specific --help.
1616   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1617     test -d "$ac_dir" ||
1618       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1619       continue
1620     ac_builddir=.
1621
1622 case "$ac_dir" in
1623 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1624 *)
1625   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1626   # A ".." for each directory in $ac_dir_suffix.
1627   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1628   case $ac_top_builddir_sub in
1629   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1630   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1631   esac ;;
1632 esac
1633 ac_abs_top_builddir=$ac_pwd
1634 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1635 # for backward compatibility:
1636 ac_top_builddir=$ac_top_build_prefix
1637
1638 case $srcdir in
1639   .)  # We are building in place.
1640     ac_srcdir=.
1641     ac_top_srcdir=$ac_top_builddir_sub
1642     ac_abs_top_srcdir=$ac_pwd ;;
1643   [\\/]* | ?:[\\/]* )  # Absolute name.
1644     ac_srcdir=$srcdir$ac_dir_suffix;
1645     ac_top_srcdir=$srcdir
1646     ac_abs_top_srcdir=$srcdir ;;
1647   *) # Relative name.
1648     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1649     ac_top_srcdir=$ac_top_build_prefix$srcdir
1650     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1651 esac
1652 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1653
1654     cd "$ac_dir" || { ac_status=$?; continue; }
1655     # Check for guested configure.
1656     if test -f "$ac_srcdir/configure.gnu"; then
1657       echo &&
1658       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1659     elif test -f "$ac_srcdir/configure"; then
1660       echo &&
1661       $SHELL "$ac_srcdir/configure" --help=recursive
1662     else
1663       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1664     fi || ac_status=$?
1665     cd "$ac_pwd" || { ac_status=$?; break; }
1666   done
1667 fi
1668
1669 test -n "$ac_init_help" && exit $ac_status
1670 if $ac_init_version; then
1671   cat <<\_ACEOF
1672 desktop-file-utils configure 0.16
1673 generated by GNU Autoconf 2.63
1674
1675 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1676 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1677 This configure script is free software; the Free Software Foundation
1678 gives unlimited permission to copy, distribute and modify it.
1679 _ACEOF
1680   exit
1681 fi
1682 cat >config.log <<_ACEOF
1683 This file contains any messages produced by compilers while
1684 running configure, to aid debugging if configure makes a mistake.
1685
1686 It was created by desktop-file-utils $as_me 0.16, which was
1687 generated by GNU Autoconf 2.63.  Invocation command line was
1688
1689   $ $0 $@
1690
1691 _ACEOF
1692 exec 5>>config.log
1693 {
1694 cat <<_ASUNAME
1695 ## --------- ##
1696 ## Platform. ##
1697 ## --------- ##
1698
1699 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1700 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1701 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1702 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1703 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1704
1705 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1706 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1707
1708 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1709 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1710 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1711 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1712 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1713 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1714 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1715
1716 _ASUNAME
1717
1718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1719 for as_dir in $PATH
1720 do
1721   IFS=$as_save_IFS
1722   test -z "$as_dir" && as_dir=.
1723   $as_echo "PATH: $as_dir"
1724 done
1725 IFS=$as_save_IFS
1726
1727 } >&5
1728
1729 cat >&5 <<_ACEOF
1730
1731
1732 ## ----------- ##
1733 ## Core tests. ##
1734 ## ----------- ##
1735
1736 _ACEOF
1737
1738
1739 # Keep a trace of the command line.
1740 # Strip out --no-create and --no-recursion so they do not pile up.
1741 # Strip out --silent because we don't want to record it for future runs.
1742 # Also quote any args containing shell meta-characters.
1743 # Make two passes to allow for proper duplicate-argument suppression.
1744 ac_configure_args=
1745 ac_configure_args0=
1746 ac_configure_args1=
1747 ac_must_keep_next=false
1748 for ac_pass in 1 2
1749 do
1750   for ac_arg
1751   do
1752     case $ac_arg in
1753     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1754     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1755     | -silent | --silent | --silen | --sile | --sil)
1756       continue ;;
1757     *\'*)
1758       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1759     esac
1760     case $ac_pass in
1761     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1762     2)
1763       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1764       if test $ac_must_keep_next = true; then
1765         ac_must_keep_next=false # Got value, back to normal.
1766       else
1767         case $ac_arg in
1768           *=* | --config-cache | -C | -disable-* | --disable-* \
1769           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1770           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1771           | -with-* | --with-* | -without-* | --without-* | --x)
1772             case "$ac_configure_args0 " in
1773               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1774             esac
1775             ;;
1776           -* ) ac_must_keep_next=true ;;
1777         esac
1778       fi
1779       ac_configure_args="$ac_configure_args '$ac_arg'"
1780       ;;
1781     esac
1782   done
1783 done
1784 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1785 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1786
1787 # When interrupted or exit'd, cleanup temporary files, and complete
1788 # config.log.  We remove comments because anyway the quotes in there
1789 # would cause problems or look ugly.
1790 # WARNING: Use '\'' to represent an apostrophe within the trap.
1791 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1792 trap 'exit_status=$?
1793   # Save into config.log some information that might help in debugging.
1794   {
1795     echo
1796
1797     cat <<\_ASBOX
1798 ## ---------------- ##
1799 ## Cache variables. ##
1800 ## ---------------- ##
1801 _ASBOX
1802     echo
1803     # The following way of writing the cache mishandles newlines in values,
1804 (
1805   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1806     eval ac_val=\$$ac_var
1807     case $ac_val in #(
1808     *${as_nl}*)
1809       case $ac_var in #(
1810       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1811 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1812       esac
1813       case $ac_var in #(
1814       _ | IFS | as_nl) ;; #(
1815       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1816       *) $as_unset $ac_var ;;
1817       esac ;;
1818     esac
1819   done
1820   (set) 2>&1 |
1821     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1822     *${as_nl}ac_space=\ *)
1823       sed -n \
1824         "s/'\''/'\''\\\\'\'''\''/g;
1825           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1826       ;; #(
1827     *)
1828       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1829       ;;
1830     esac |
1831     sort
1832 )
1833     echo
1834
1835     cat <<\_ASBOX
1836 ## ----------------- ##
1837 ## Output variables. ##
1838 ## ----------------- ##
1839 _ASBOX
1840     echo
1841     for ac_var in $ac_subst_vars
1842     do
1843       eval ac_val=\$$ac_var
1844       case $ac_val in
1845       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1846       esac
1847       $as_echo "$ac_var='\''$ac_val'\''"
1848     done | sort
1849     echo
1850
1851     if test -n "$ac_subst_files"; then
1852       cat <<\_ASBOX
1853 ## ------------------- ##
1854 ## File substitutions. ##
1855 ## ------------------- ##
1856 _ASBOX
1857       echo
1858       for ac_var in $ac_subst_files
1859       do
1860         eval ac_val=\$$ac_var
1861         case $ac_val in
1862         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1863         esac
1864         $as_echo "$ac_var='\''$ac_val'\''"
1865       done | sort
1866       echo
1867     fi
1868
1869     if test -s confdefs.h; then
1870       cat <<\_ASBOX
1871 ## ----------- ##
1872 ## confdefs.h. ##
1873 ## ----------- ##
1874 _ASBOX
1875       echo
1876       cat confdefs.h
1877       echo
1878     fi
1879     test "$ac_signal" != 0 &&
1880       $as_echo "$as_me: caught signal $ac_signal"
1881     $as_echo "$as_me: exit $exit_status"
1882   } >&5
1883   rm -f core *.core core.conftest.* &&
1884     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1885     exit $exit_status
1886 ' 0
1887 for ac_signal in 1 2 13 15; do
1888   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1889 done
1890 ac_signal=0
1891
1892 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1893 rm -f -r conftest* confdefs.h
1894
1895 # Predefined preprocessor variables.
1896
1897 cat >>confdefs.h <<_ACEOF
1898 #define PACKAGE_NAME "$PACKAGE_NAME"
1899 _ACEOF
1900
1901
1902 cat >>confdefs.h <<_ACEOF
1903 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1904 _ACEOF
1905
1906
1907 cat >>confdefs.h <<_ACEOF
1908 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1909 _ACEOF
1910
1911
1912 cat >>confdefs.h <<_ACEOF
1913 #define PACKAGE_STRING "$PACKAGE_STRING"
1914 _ACEOF
1915
1916
1917 cat >>confdefs.h <<_ACEOF
1918 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1919 _ACEOF
1920
1921
1922 # Let the site file select an alternate cache file if it wants to.
1923 # Prefer an explicitly selected file to automatically selected ones.
1924 ac_site_file1=NONE
1925 ac_site_file2=NONE
1926 if test -n "$CONFIG_SITE"; then
1927   ac_site_file1=$CONFIG_SITE
1928 elif test "x$prefix" != xNONE; then
1929   ac_site_file1=$prefix/share/config.site
1930   ac_site_file2=$prefix/etc/config.site
1931 else
1932   ac_site_file1=$ac_default_prefix/share/config.site
1933   ac_site_file2=$ac_default_prefix/etc/config.site
1934 fi
1935 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1936 do
1937   test "x$ac_site_file" = xNONE && continue
1938   if test -r "$ac_site_file"; then
1939     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1940 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1941     sed 's/^/| /' "$ac_site_file" >&5
1942     . "$ac_site_file"
1943   fi
1944 done
1945
1946 if test -r "$cache_file"; then
1947   # Some versions of bash will fail to source /dev/null (special
1948   # files actually), so we avoid doing that.
1949   if test -f "$cache_file"; then
1950     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1951 $as_echo "$as_me: loading cache $cache_file" >&6;}
1952     case $cache_file in
1953       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1954       *)                      . "./$cache_file";;
1955     esac
1956   fi
1957 else
1958   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1959 $as_echo "$as_me: creating cache $cache_file" >&6;}
1960   >$cache_file
1961 fi
1962
1963 # Check that the precious variables saved in the cache have kept the same
1964 # value.
1965 ac_cache_corrupted=false
1966 for ac_var in $ac_precious_vars; do
1967   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1968   eval ac_new_set=\$ac_env_${ac_var}_set
1969   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1970   eval ac_new_val=\$ac_env_${ac_var}_value
1971   case $ac_old_set,$ac_new_set in
1972     set,)
1973       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1974 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1975       ac_cache_corrupted=: ;;
1976     ,set)
1977       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1978 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1979       ac_cache_corrupted=: ;;
1980     ,);;
1981     *)
1982       if test "x$ac_old_val" != "x$ac_new_val"; then
1983         # differences in whitespace do not lead to failure.
1984         ac_old_val_w=`echo x $ac_old_val`
1985         ac_new_val_w=`echo x $ac_new_val`
1986         if test "$ac_old_val_w" != "$ac_new_val_w"; then
1987           { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1988 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1989           ac_cache_corrupted=:
1990         else
1991           { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1992 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1993           eval $ac_var=\$ac_old_val
1994         fi
1995         { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1996 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1997         { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1998 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1999       fi;;
2000   esac
2001   # Pass precious variables to config.status.
2002   if test "$ac_new_set" = set; then
2003     case $ac_new_val in
2004     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2005     *) ac_arg=$ac_var=$ac_new_val ;;
2006     esac
2007     case " $ac_configure_args " in
2008       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2009       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2010     esac
2011   fi
2012 done
2013 if $ac_cache_corrupted; then
2014   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2015 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2016   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2017 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2018   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2019 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2020    { (exit 1); exit 1; }; }
2021 fi
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047 ac_ext=c
2048 ac_cpp='$CPP $CPPFLAGS'
2049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2052
2053
2054
2055
2056 am__api_version='1.11'
2057
2058 ac_aux_dir=
2059 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2060   if test -f "$ac_dir/install-sh"; then
2061     ac_aux_dir=$ac_dir
2062     ac_install_sh="$ac_aux_dir/install-sh -c"
2063     break
2064   elif test -f "$ac_dir/install.sh"; then
2065     ac_aux_dir=$ac_dir
2066     ac_install_sh="$ac_aux_dir/install.sh -c"
2067     break
2068   elif test -f "$ac_dir/shtool"; then
2069     ac_aux_dir=$ac_dir
2070     ac_install_sh="$ac_aux_dir/shtool install -c"
2071     break
2072   fi
2073 done
2074 if test -z "$ac_aux_dir"; then
2075   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2076 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2077    { (exit 1); exit 1; }; }
2078 fi
2079
2080 # These three variables are undocumented and unsupported,
2081 # and are intended to be withdrawn in a future Autoconf release.
2082 # They can cause serious problems if a builder's source tree is in a directory
2083 # whose full name contains unusual characters.
2084 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2085 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2086 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2087
2088
2089 # Find a good install program.  We prefer a C program (faster),
2090 # so one script is as good as another.  But avoid the broken or
2091 # incompatible versions:
2092 # SysV /etc/install, /usr/sbin/install
2093 # SunOS /usr/etc/install
2094 # IRIX /sbin/install
2095 # AIX /bin/install
2096 # AmigaOS /C/install, which installs bootblocks on floppy discs
2097 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2098 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2099 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2100 # OS/2's system install, which has a completely different semantic
2101 # ./install, which can be erroneously created by make from ./install.sh.
2102 # Reject install programs that cannot install multiple files.
2103 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2104 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2105 if test -z "$INSTALL"; then
2106 if test "${ac_cv_path_install+set}" = set; then
2107   $as_echo_n "(cached) " >&6
2108 else
2109   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2110 for as_dir in $PATH
2111 do
2112   IFS=$as_save_IFS
2113   test -z "$as_dir" && as_dir=.
2114   # Account for people who put trailing slashes in PATH elements.
2115 case $as_dir/ in
2116   ./ | .// | /cC/* | \
2117   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2118   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2119   /usr/ucb/* ) ;;
2120   *)
2121     # OSF1 and SCO ODT 3.0 have their own names for install.
2122     # Don't use installbsd from OSF since it installs stuff as root
2123     # by default.
2124     for ac_prog in ginstall scoinst install; do
2125       for ac_exec_ext in '' $ac_executable_extensions; do
2126         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2127           if test $ac_prog = install &&
2128             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2129             # AIX install.  It has an incompatible calling convention.
2130             :
2131           elif test $ac_prog = install &&
2132             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2133             # program-specific install script used by HP pwplus--don't use.
2134             :
2135           else
2136             rm -rf conftest.one conftest.two conftest.dir
2137             echo one > conftest.one
2138             echo two > conftest.two
2139             mkdir conftest.dir
2140             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2141               test -s conftest.one && test -s conftest.two &&
2142               test -s conftest.dir/conftest.one &&
2143               test -s conftest.dir/conftest.two
2144             then
2145               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2146               break 3
2147             fi
2148           fi
2149         fi
2150       done
2151     done
2152     ;;
2153 esac
2154
2155 done
2156 IFS=$as_save_IFS
2157
2158 rm -rf conftest.one conftest.two conftest.dir
2159
2160 fi
2161   if test "${ac_cv_path_install+set}" = set; then
2162     INSTALL=$ac_cv_path_install
2163   else
2164     # As a last resort, use the slow shell script.  Don't cache a
2165     # value for INSTALL within a source directory, because that will
2166     # break other packages using the cache if that directory is
2167     # removed, or if the value is a relative name.
2168     INSTALL=$ac_install_sh
2169   fi
2170 fi
2171 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2172 $as_echo "$INSTALL" >&6; }
2173
2174 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2175 # It thinks the first close brace ends the variable substitution.
2176 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2177
2178 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2179
2180 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2181
2182 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2183 $as_echo_n "checking whether build environment is sane... " >&6; }
2184 # Just in case
2185 sleep 1
2186 echo timestamp > conftest.file
2187 # Reject unsafe characters in $srcdir or the absolute working directory
2188 # name.  Accept space and tab only in the latter.
2189 am_lf='
2190 '
2191 case `pwd` in
2192   *[\\\"\#\$\&\'\`$am_lf]*)
2193     { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2194 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2195    { (exit 1); exit 1; }; };;
2196 esac
2197 case $srcdir in
2198   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2199     { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2200 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2201    { (exit 1); exit 1; }; };;
2202 esac
2203
2204 # Do `set' in a subshell so we don't clobber the current shell's
2205 # arguments.  Must try -L first in case configure is actually a
2206 # symlink; some systems play weird games with the mod time of symlinks
2207 # (eg FreeBSD returns the mod time of the symlink's containing
2208 # directory).
2209 if (
2210    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2211    if test "$*" = "X"; then
2212       # -L didn't work.
2213       set X `ls -t "$srcdir/configure" conftest.file`
2214    fi
2215    rm -f conftest.file
2216    if test "$*" != "X $srcdir/configure conftest.file" \
2217       && test "$*" != "X conftest.file $srcdir/configure"; then
2218
2219       # If neither matched, then we have a broken ls.  This can happen
2220       # if, for instance, CONFIG_SHELL is bash and it inherits a
2221       # broken ls alias from the environment.  This has actually
2222       # happened.  Such a system could not be considered "sane".
2223       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2224 alias in your environment" >&5
2225 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2226 alias in your environment" >&2;}
2227    { (exit 1); exit 1; }; }
2228    fi
2229
2230    test "$2" = conftest.file
2231    )
2232 then
2233    # Ok.
2234    :
2235 else
2236    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2237 Check your system clock" >&5
2238 $as_echo "$as_me: error: newly created file is older than distributed files!
2239 Check your system clock" >&2;}
2240    { (exit 1); exit 1; }; }
2241 fi
2242 { $as_echo "$as_me:$LINENO: result: yes" >&5
2243 $as_echo "yes" >&6; }
2244 test "$program_prefix" != NONE &&
2245   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2246 # Use a double $ so make ignores it.
2247 test "$program_suffix" != NONE &&
2248   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2249 # Double any \ or $.
2250 # By default was `s,x,x', remove it if useless.
2251 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2252 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2253
2254 # expand $ac_aux_dir to an absolute path
2255 am_aux_dir=`cd $ac_aux_dir && pwd`
2256
2257 if test x"${MISSING+set}" != xset; then
2258   case $am_aux_dir in
2259   *\ * | *\     *)
2260     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2261   *)
2262     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2263   esac
2264 fi
2265 # Use eval to expand $SHELL
2266 if eval "$MISSING --run true"; then
2267   am_missing_run="$MISSING --run "
2268 else
2269   am_missing_run=
2270   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2271 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2272 fi
2273
2274 if test x"${install_sh}" != xset; then
2275   case $am_aux_dir in
2276   *\ * | *\     *)
2277     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2278   *)
2279     install_sh="\${SHELL} $am_aux_dir/install-sh"
2280   esac
2281 fi
2282
2283 # Installed binaries are usually stripped using `strip' when the user
2284 # run `make install-strip'.  However `strip' might not be the right
2285 # tool to use in cross-compilation environments, therefore Automake
2286 # will honor the `STRIP' environment variable to overrule this program.
2287 if test "$cross_compiling" != no; then
2288   if test -n "$ac_tool_prefix"; then
2289   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2290 set dummy ${ac_tool_prefix}strip; ac_word=$2
2291 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2292 $as_echo_n "checking for $ac_word... " >&6; }
2293 if test "${ac_cv_prog_STRIP+set}" = set; then
2294   $as_echo_n "(cached) " >&6
2295 else
2296   if test -n "$STRIP"; then
2297   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2298 else
2299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2300 for as_dir in $PATH
2301 do
2302   IFS=$as_save_IFS
2303   test -z "$as_dir" && as_dir=.
2304   for ac_exec_ext in '' $ac_executable_extensions; do
2305   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2306     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2307     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2308     break 2
2309   fi
2310 done
2311 done
2312 IFS=$as_save_IFS
2313
2314 fi
2315 fi
2316 STRIP=$ac_cv_prog_STRIP
2317 if test -n "$STRIP"; then
2318   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2319 $as_echo "$STRIP" >&6; }
2320 else
2321   { $as_echo "$as_me:$LINENO: result: no" >&5
2322 $as_echo "no" >&6; }
2323 fi
2324
2325
2326 fi
2327 if test -z "$ac_cv_prog_STRIP"; then
2328   ac_ct_STRIP=$STRIP
2329   # Extract the first word of "strip", so it can be a program name with args.
2330 set dummy strip; ac_word=$2
2331 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2332 $as_echo_n "checking for $ac_word... " >&6; }
2333 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2334   $as_echo_n "(cached) " >&6
2335 else
2336   if test -n "$ac_ct_STRIP"; then
2337   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2338 else
2339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2340 for as_dir in $PATH
2341 do
2342   IFS=$as_save_IFS
2343   test -z "$as_dir" && as_dir=.
2344   for ac_exec_ext in '' $ac_executable_extensions; do
2345   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2346     ac_cv_prog_ac_ct_STRIP="strip"
2347     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2348     break 2
2349   fi
2350 done
2351 done
2352 IFS=$as_save_IFS
2353
2354 fi
2355 fi
2356 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2357 if test -n "$ac_ct_STRIP"; then
2358   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2359 $as_echo "$ac_ct_STRIP" >&6; }
2360 else
2361   { $as_echo "$as_me:$LINENO: result: no" >&5
2362 $as_echo "no" >&6; }
2363 fi
2364
2365   if test "x$ac_ct_STRIP" = x; then
2366     STRIP=":"
2367   else
2368     case $cross_compiling:$ac_tool_warned in
2369 yes:)
2370 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2371 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2372 ac_tool_warned=yes ;;
2373 esac
2374     STRIP=$ac_ct_STRIP
2375   fi
2376 else
2377   STRIP="$ac_cv_prog_STRIP"
2378 fi
2379
2380 fi
2381 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2382
2383 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2384 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2385 if test -z "$MKDIR_P"; then
2386   if test "${ac_cv_path_mkdir+set}" = set; then
2387   $as_echo_n "(cached) " >&6
2388 else
2389   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2390 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2391 do
2392   IFS=$as_save_IFS
2393   test -z "$as_dir" && as_dir=.
2394   for ac_prog in mkdir gmkdir; do
2395          for ac_exec_ext in '' $ac_executable_extensions; do
2396            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2397            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2398              'mkdir (GNU coreutils) '* | \
2399              'mkdir (coreutils) '* | \
2400              'mkdir (fileutils) '4.1*)
2401                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2402                break 3;;
2403            esac
2404          done
2405        done
2406 done
2407 IFS=$as_save_IFS
2408
2409 fi
2410
2411   if test "${ac_cv_path_mkdir+set}" = set; then
2412     MKDIR_P="$ac_cv_path_mkdir -p"
2413   else
2414     # As a last resort, use the slow shell script.  Don't cache a
2415     # value for MKDIR_P within a source directory, because that will
2416     # break other packages using the cache if that directory is
2417     # removed, or if the value is a relative name.
2418     test -d ./--version && rmdir ./--version
2419     MKDIR_P="$ac_install_sh -d"
2420   fi
2421 fi
2422 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2423 $as_echo "$MKDIR_P" >&6; }
2424
2425 mkdir_p="$MKDIR_P"
2426 case $mkdir_p in
2427   [\\/$]* | ?:[\\/]*) ;;
2428   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2429 esac
2430
2431 for ac_prog in gawk mawk nawk awk
2432 do
2433   # Extract the first word of "$ac_prog", so it can be a program name with args.
2434 set dummy $ac_prog; ac_word=$2
2435 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2436 $as_echo_n "checking for $ac_word... " >&6; }
2437 if test "${ac_cv_prog_AWK+set}" = set; then
2438   $as_echo_n "(cached) " >&6
2439 else
2440   if test -n "$AWK"; then
2441   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2442 else
2443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2444 for as_dir in $PATH
2445 do
2446   IFS=$as_save_IFS
2447   test -z "$as_dir" && as_dir=.
2448   for ac_exec_ext in '' $ac_executable_extensions; do
2449   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2450     ac_cv_prog_AWK="$ac_prog"
2451     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2452     break 2
2453   fi
2454 done
2455 done
2456 IFS=$as_save_IFS
2457
2458 fi
2459 fi
2460 AWK=$ac_cv_prog_AWK
2461 if test -n "$AWK"; then
2462   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2463 $as_echo "$AWK" >&6; }
2464 else
2465   { $as_echo "$as_me:$LINENO: result: no" >&5
2466 $as_echo "no" >&6; }
2467 fi
2468
2469
2470   test -n "$AWK" && break
2471 done
2472
2473 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2474 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2475 set x ${MAKE-make}
2476 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2477 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2478   $as_echo_n "(cached) " >&6
2479 else
2480   cat >conftest.make <<\_ACEOF
2481 SHELL = /bin/sh
2482 all:
2483         @echo '@@@%%%=$(MAKE)=@@@%%%'
2484 _ACEOF
2485 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2486 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2487   *@@@%%%=?*=@@@%%%*)
2488     eval ac_cv_prog_make_${ac_make}_set=yes;;
2489   *)
2490     eval ac_cv_prog_make_${ac_make}_set=no;;
2491 esac
2492 rm -f conftest.make
2493 fi
2494 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2495   { $as_echo "$as_me:$LINENO: result: yes" >&5
2496 $as_echo "yes" >&6; }
2497   SET_MAKE=
2498 else
2499   { $as_echo "$as_me:$LINENO: result: no" >&5
2500 $as_echo "no" >&6; }
2501   SET_MAKE="MAKE=${MAKE-make}"
2502 fi
2503
2504 rm -rf .tst 2>/dev/null
2505 mkdir .tst 2>/dev/null
2506 if test -d .tst; then
2507   am__leading_dot=.
2508 else
2509   am__leading_dot=_
2510 fi
2511 rmdir .tst 2>/dev/null
2512
2513 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2514   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2515   # is not polluted with repeated "-I."
2516   am__isrc=' -I$(srcdir)'
2517   # test to see if srcdir already configured
2518   if test -f $srcdir/config.status; then
2519     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2520 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2521    { (exit 1); exit 1; }; }
2522   fi
2523 fi
2524
2525 # test whether we have cygpath
2526 if test -z "$CYGPATH_W"; then
2527   if (cygpath --version) >/dev/null 2>/dev/null; then
2528     CYGPATH_W='cygpath -w'
2529   else
2530     CYGPATH_W=echo
2531   fi
2532 fi
2533
2534
2535 # Define the identity of the package.
2536  PACKAGE='desktop-file-utils'
2537  VERSION='0.16'
2538
2539
2540 cat >>confdefs.h <<_ACEOF
2541 #define PACKAGE "$PACKAGE"
2542 _ACEOF
2543
2544
2545 cat >>confdefs.h <<_ACEOF
2546 #define VERSION "$VERSION"
2547 _ACEOF
2548
2549 # Some tools Automake needs.
2550
2551 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2552
2553
2554 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2555
2556
2557 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2558
2559
2560 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2561
2562
2563 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2564
2565 # We need awk for the "check" target.  The system "awk" is bad on
2566 # some platforms.
2567 # Always define AMTAR for backward compatibility.
2568
2569 AMTAR=${AMTAR-"${am_missing_run}tar"}
2570
2571 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2572
2573
2574
2575
2576
2577 # Check whether --enable-silent-rules was given.
2578 if test "${enable_silent_rules+set}" = set; then
2579   enableval=$enable_silent_rules;
2580 fi
2581
2582 case $enable_silent_rules in
2583 yes) AM_DEFAULT_VERBOSITY=0;;
2584 no)  AM_DEFAULT_VERBOSITY=1;;
2585 *)   AM_DEFAULT_VERBOSITY=0;;
2586 esac
2587 AM_BACKSLASH='\'
2588
2589
2590 ac_config_headers="$ac_config_headers config.h"
2591
2592
2593 # Honor aclocal flags
2594 ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
2595
2596
2597
2598 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2599 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2600     # Check whether --enable-maintainer-mode was given.
2601 if test "${enable_maintainer_mode+set}" = set; then
2602   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2603 else
2604   USE_MAINTAINER_MODE=no
2605 fi
2606
2607   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2608 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2609    if test $USE_MAINTAINER_MODE = yes; then
2610   MAINTAINER_MODE_TRUE=
2611   MAINTAINER_MODE_FALSE='#'
2612 else
2613   MAINTAINER_MODE_TRUE='#'
2614   MAINTAINER_MODE_FALSE=
2615 fi
2616
2617   MAINT=$MAINTAINER_MODE_TRUE
2618
2619
2620
2621 ac_ext=c
2622 ac_cpp='$CPP $CPPFLAGS'
2623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2626 if test -n "$ac_tool_prefix"; then
2627   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2628 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2629 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2630 $as_echo_n "checking for $ac_word... " >&6; }
2631 if test "${ac_cv_prog_CC+set}" = set; then
2632   $as_echo_n "(cached) " >&6
2633 else
2634   if test -n "$CC"; then
2635   ac_cv_prog_CC="$CC" # Let the user override the test.
2636 else
2637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2638 for as_dir in $PATH
2639 do
2640   IFS=$as_save_IFS
2641   test -z "$as_dir" && as_dir=.
2642   for ac_exec_ext in '' $ac_executable_extensions; do
2643   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2644     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2645     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2646     break 2
2647   fi
2648 done
2649 done
2650 IFS=$as_save_IFS
2651
2652 fi
2653 fi
2654 CC=$ac_cv_prog_CC
2655 if test -n "$CC"; then
2656   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2657 $as_echo "$CC" >&6; }
2658 else
2659   { $as_echo "$as_me:$LINENO: result: no" >&5
2660 $as_echo "no" >&6; }
2661 fi
2662
2663
2664 fi
2665 if test -z "$ac_cv_prog_CC"; then
2666   ac_ct_CC=$CC
2667   # Extract the first word of "gcc", so it can be a program name with args.
2668 set dummy gcc; ac_word=$2
2669 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2670 $as_echo_n "checking for $ac_word... " >&6; }
2671 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2672   $as_echo_n "(cached) " >&6
2673 else
2674   if test -n "$ac_ct_CC"; then
2675   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2676 else
2677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2678 for as_dir in $PATH
2679 do
2680   IFS=$as_save_IFS
2681   test -z "$as_dir" && as_dir=.
2682   for ac_exec_ext in '' $ac_executable_extensions; do
2683   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2684     ac_cv_prog_ac_ct_CC="gcc"
2685     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2686     break 2
2687   fi
2688 done
2689 done
2690 IFS=$as_save_IFS
2691
2692 fi
2693 fi
2694 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2695 if test -n "$ac_ct_CC"; then
2696   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2697 $as_echo "$ac_ct_CC" >&6; }
2698 else
2699   { $as_echo "$as_me:$LINENO: result: no" >&5
2700 $as_echo "no" >&6; }
2701 fi
2702
2703   if test "x$ac_ct_CC" = x; then
2704     CC=""
2705   else
2706     case $cross_compiling:$ac_tool_warned in
2707 yes:)
2708 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2709 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2710 ac_tool_warned=yes ;;
2711 esac
2712     CC=$ac_ct_CC
2713   fi
2714 else
2715   CC="$ac_cv_prog_CC"
2716 fi
2717
2718 if test -z "$CC"; then
2719           if test -n "$ac_tool_prefix"; then
2720     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2721 set dummy ${ac_tool_prefix}cc; ac_word=$2
2722 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2723 $as_echo_n "checking for $ac_word... " >&6; }
2724 if test "${ac_cv_prog_CC+set}" = set; then
2725   $as_echo_n "(cached) " >&6
2726 else
2727   if test -n "$CC"; then
2728   ac_cv_prog_CC="$CC" # Let the user override the test.
2729 else
2730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2731 for as_dir in $PATH
2732 do
2733   IFS=$as_save_IFS
2734   test -z "$as_dir" && as_dir=.
2735   for ac_exec_ext in '' $ac_executable_extensions; do
2736   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2737     ac_cv_prog_CC="${ac_tool_prefix}cc"
2738     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2739     break 2
2740   fi
2741 done
2742 done
2743 IFS=$as_save_IFS
2744
2745 fi
2746 fi
2747 CC=$ac_cv_prog_CC
2748 if test -n "$CC"; then
2749   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2750 $as_echo "$CC" >&6; }
2751 else
2752   { $as_echo "$as_me:$LINENO: result: no" >&5
2753 $as_echo "no" >&6; }
2754 fi
2755
2756
2757   fi
2758 fi
2759 if test -z "$CC"; then
2760   # Extract the first word of "cc", so it can be a program name with args.
2761 set dummy cc; ac_word=$2
2762 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2763 $as_echo_n "checking for $ac_word... " >&6; }
2764 if test "${ac_cv_prog_CC+set}" = set; then
2765   $as_echo_n "(cached) " >&6
2766 else
2767   if test -n "$CC"; then
2768   ac_cv_prog_CC="$CC" # Let the user override the test.
2769 else
2770   ac_prog_rejected=no
2771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2772 for as_dir in $PATH
2773 do
2774   IFS=$as_save_IFS
2775   test -z "$as_dir" && as_dir=.
2776   for ac_exec_ext in '' $ac_executable_extensions; do
2777   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2778     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2779        ac_prog_rejected=yes
2780        continue
2781      fi
2782     ac_cv_prog_CC="cc"
2783     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2784     break 2
2785   fi
2786 done
2787 done
2788 IFS=$as_save_IFS
2789
2790 if test $ac_prog_rejected = yes; then
2791   # We found a bogon in the path, so make sure we never use it.
2792   set dummy $ac_cv_prog_CC
2793   shift
2794   if test $# != 0; then
2795     # We chose a different compiler from the bogus one.
2796     # However, it has the same basename, so the bogon will be chosen
2797     # first if we set CC to just the basename; use the full file name.
2798     shift
2799     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2800   fi
2801 fi
2802 fi
2803 fi
2804 CC=$ac_cv_prog_CC
2805 if test -n "$CC"; then
2806   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2807 $as_echo "$CC" >&6; }
2808 else
2809   { $as_echo "$as_me:$LINENO: result: no" >&5
2810 $as_echo "no" >&6; }
2811 fi
2812
2813
2814 fi
2815 if test -z "$CC"; then
2816   if test -n "$ac_tool_prefix"; then
2817   for ac_prog in cl.exe
2818   do
2819     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2820 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2821 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2822 $as_echo_n "checking for $ac_word... " >&6; }
2823 if test "${ac_cv_prog_CC+set}" = set; then
2824   $as_echo_n "(cached) " >&6
2825 else
2826   if test -n "$CC"; then
2827   ac_cv_prog_CC="$CC" # Let the user override the test.
2828 else
2829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2830 for as_dir in $PATH
2831 do
2832   IFS=$as_save_IFS
2833   test -z "$as_dir" && as_dir=.
2834   for ac_exec_ext in '' $ac_executable_extensions; do
2835   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2836     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2837     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2838     break 2
2839   fi
2840 done
2841 done
2842 IFS=$as_save_IFS
2843
2844 fi
2845 fi
2846 CC=$ac_cv_prog_CC
2847 if test -n "$CC"; then
2848   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2849 $as_echo "$CC" >&6; }
2850 else
2851   { $as_echo "$as_me:$LINENO: result: no" >&5
2852 $as_echo "no" >&6; }
2853 fi
2854
2855
2856     test -n "$CC" && break
2857   done
2858 fi
2859 if test -z "$CC"; then
2860   ac_ct_CC=$CC
2861   for ac_prog in cl.exe
2862 do
2863   # Extract the first word of "$ac_prog", so it can be a program name with args.
2864 set dummy $ac_prog; ac_word=$2
2865 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2866 $as_echo_n "checking for $ac_word... " >&6; }
2867 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2868   $as_echo_n "(cached) " >&6
2869 else
2870   if test -n "$ac_ct_CC"; then
2871   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2872 else
2873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2874 for as_dir in $PATH
2875 do
2876   IFS=$as_save_IFS
2877   test -z "$as_dir" && as_dir=.
2878   for ac_exec_ext in '' $ac_executable_extensions; do
2879   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2880     ac_cv_prog_ac_ct_CC="$ac_prog"
2881     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2882     break 2
2883   fi
2884 done
2885 done
2886 IFS=$as_save_IFS
2887
2888 fi
2889 fi
2890 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2891 if test -n "$ac_ct_CC"; then
2892   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2893 $as_echo "$ac_ct_CC" >&6; }
2894 else
2895   { $as_echo "$as_me:$LINENO: result: no" >&5
2896 $as_echo "no" >&6; }
2897 fi
2898
2899
2900   test -n "$ac_ct_CC" && break
2901 done
2902
2903   if test "x$ac_ct_CC" = x; then
2904     CC=""
2905   else
2906     case $cross_compiling:$ac_tool_warned in
2907 yes:)
2908 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2909 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2910 ac_tool_warned=yes ;;
2911 esac
2912     CC=$ac_ct_CC
2913   fi
2914 fi
2915
2916 fi
2917
2918
2919 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2920 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2921 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2922 See \`config.log' for more details." >&5
2923 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2924 See \`config.log' for more details." >&2;}
2925    { (exit 1); exit 1; }; }; }
2926
2927 # Provide some information about the compiler.
2928 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2929 set X $ac_compile
2930 ac_compiler=$2
2931 { (ac_try="$ac_compiler --version >&5"
2932 case "(($ac_try" in
2933   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2934   *) ac_try_echo=$ac_try;;
2935 esac
2936 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2937 $as_echo "$ac_try_echo") >&5
2938   (eval "$ac_compiler --version >&5") 2>&5
2939   ac_status=$?
2940   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2941   (exit $ac_status); }
2942 { (ac_try="$ac_compiler -v >&5"
2943 case "(($ac_try" in
2944   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2945   *) ac_try_echo=$ac_try;;
2946 esac
2947 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2948 $as_echo "$ac_try_echo") >&5
2949   (eval "$ac_compiler -v >&5") 2>&5
2950   ac_status=$?
2951   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2952   (exit $ac_status); }
2953 { (ac_try="$ac_compiler -V >&5"
2954 case "(($ac_try" in
2955   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2956   *) ac_try_echo=$ac_try;;
2957 esac
2958 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2959 $as_echo "$ac_try_echo") >&5
2960   (eval "$ac_compiler -V >&5") 2>&5
2961   ac_status=$?
2962   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2963   (exit $ac_status); }
2964
2965 cat >conftest.$ac_ext <<_ACEOF
2966 /* confdefs.h.  */
2967 _ACEOF
2968 cat confdefs.h >>conftest.$ac_ext
2969 cat >>conftest.$ac_ext <<_ACEOF
2970 /* end confdefs.h.  */
2971
2972 int
2973 main ()
2974 {
2975
2976   ;
2977   return 0;
2978 }
2979 _ACEOF
2980 ac_clean_files_save=$ac_clean_files
2981 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2982 # Try to create an executable without -o first, disregard a.out.
2983 # It will help us diagnose broken compilers, and finding out an intuition
2984 # of exeext.
2985 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2986 $as_echo_n "checking for C compiler default output file name... " >&6; }
2987 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2988
2989 # The possible output files:
2990 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2991
2992 ac_rmfiles=
2993 for ac_file in $ac_files
2994 do
2995   case $ac_file in
2996     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2997     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2998   esac
2999 done
3000 rm -f $ac_rmfiles
3001
3002 if { (ac_try="$ac_link_default"
3003 case "(($ac_try" in
3004   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3005   *) ac_try_echo=$ac_try;;
3006 esac
3007 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3008 $as_echo "$ac_try_echo") >&5
3009   (eval "$ac_link_default") 2>&5
3010   ac_status=$?
3011   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3012   (exit $ac_status); }; then
3013   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3014 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3015 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3016 # so that the user can short-circuit this test for compilers unknown to
3017 # Autoconf.
3018 for ac_file in $ac_files ''
3019 do
3020   test -f "$ac_file" || continue
3021   case $ac_file in
3022     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3023         ;;
3024     [ab].out )
3025         # We found the default executable, but exeext='' is most
3026         # certainly right.
3027         break;;
3028     *.* )
3029         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3030         then :; else
3031            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3032         fi
3033         # We set ac_cv_exeext here because the later test for it is not
3034         # safe: cross compilers may not add the suffix if given an `-o'
3035         # argument, so we may need to know it at that point already.
3036         # Even if this section looks crufty: it has the advantage of
3037         # actually working.
3038         break;;
3039     * )
3040         break;;
3041   esac
3042 done
3043 test "$ac_cv_exeext" = no && ac_cv_exeext=
3044
3045 else
3046   ac_file=''
3047 fi
3048
3049 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3050 $as_echo "$ac_file" >&6; }
3051 if test -z "$ac_file"; then
3052   $as_echo "$as_me: failed program was:" >&5
3053 sed 's/^/| /' conftest.$ac_ext >&5
3054
3055 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3056 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3057 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3058 See \`config.log' for more details." >&5
3059 $as_echo "$as_me: error: C compiler cannot create executables
3060 See \`config.log' for more details." >&2;}
3061    { (exit 77); exit 77; }; }; }
3062 fi
3063
3064 ac_exeext=$ac_cv_exeext
3065
3066 # Check that the compiler produces executables we can run.  If not, either
3067 # the compiler is broken, or we cross compile.
3068 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3069 $as_echo_n "checking whether the C compiler works... " >&6; }
3070 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3071 # If not cross compiling, check that we can run a simple program.
3072 if test "$cross_compiling" != yes; then
3073   if { ac_try='./$ac_file'
3074   { (case "(($ac_try" in
3075   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3076   *) ac_try_echo=$ac_try;;
3077 esac
3078 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3079 $as_echo "$ac_try_echo") >&5
3080   (eval "$ac_try") 2>&5
3081   ac_status=$?
3082   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3083   (exit $ac_status); }; }; then
3084     cross_compiling=no
3085   else
3086     if test "$cross_compiling" = maybe; then
3087         cross_compiling=yes
3088     else
3089         { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3090 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3091 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3092 If you meant to cross compile, use \`--host'.
3093 See \`config.log' for more details." >&5
3094 $as_echo "$as_me: error: cannot run C compiled programs.
3095 If you meant to cross compile, use \`--host'.
3096 See \`config.log' for more details." >&2;}
3097    { (exit 1); exit 1; }; }; }
3098     fi
3099   fi
3100 fi
3101 { $as_echo "$as_me:$LINENO: result: yes" >&5
3102 $as_echo "yes" >&6; }
3103
3104 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3105 ac_clean_files=$ac_clean_files_save
3106 # Check that the compiler produces executables we can run.  If not, either
3107 # the compiler is broken, or we cross compile.
3108 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3109 $as_echo_n "checking whether we are cross compiling... " >&6; }
3110 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3111 $as_echo "$cross_compiling" >&6; }
3112
3113 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3114 $as_echo_n "checking for suffix of executables... " >&6; }
3115 if { (ac_try="$ac_link"
3116 case "(($ac_try" in
3117   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3118   *) ac_try_echo=$ac_try;;
3119 esac
3120 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3121 $as_echo "$ac_try_echo") >&5
3122   (eval "$ac_link") 2>&5
3123   ac_status=$?
3124   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125   (exit $ac_status); }; then
3126   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3127 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3128 # work properly (i.e., refer to `conftest.exe'), while it won't with
3129 # `rm'.
3130 for ac_file in conftest.exe conftest conftest.*; do
3131   test -f "$ac_file" || continue
3132   case $ac_file in
3133     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3134     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3135           break;;
3136     * ) break;;
3137   esac
3138 done
3139 else
3140   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3141 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3142 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3143 See \`config.log' for more details." >&5
3144 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3145 See \`config.log' for more details." >&2;}
3146    { (exit 1); exit 1; }; }; }
3147 fi
3148
3149 rm -f conftest$ac_cv_exeext
3150 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3151 $as_echo "$ac_cv_exeext" >&6; }
3152
3153 rm -f conftest.$ac_ext
3154 EXEEXT=$ac_cv_exeext
3155 ac_exeext=$EXEEXT
3156 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3157 $as_echo_n "checking for suffix of object files... " >&6; }
3158 if test "${ac_cv_objext+set}" = set; then
3159   $as_echo_n "(cached) " >&6
3160 else
3161   cat >conftest.$ac_ext <<_ACEOF
3162 /* confdefs.h.  */
3163 _ACEOF
3164 cat confdefs.h >>conftest.$ac_ext
3165 cat >>conftest.$ac_ext <<_ACEOF
3166 /* end confdefs.h.  */
3167
3168 int
3169 main ()
3170 {
3171
3172   ;
3173   return 0;
3174 }
3175 _ACEOF
3176 rm -f conftest.o conftest.obj
3177 if { (ac_try="$ac_compile"
3178 case "(($ac_try" in
3179   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3180   *) ac_try_echo=$ac_try;;
3181 esac
3182 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3183 $as_echo "$ac_try_echo") >&5
3184   (eval "$ac_compile") 2>&5
3185   ac_status=$?
3186   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3187   (exit $ac_status); }; then
3188   for ac_file in conftest.o conftest.obj conftest.*; do
3189   test -f "$ac_file" || continue;
3190   case $ac_file in
3191     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3192     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3193        break;;
3194   esac
3195 done
3196 else
3197   $as_echo "$as_me: failed program was:" >&5
3198 sed 's/^/| /' conftest.$ac_ext >&5
3199
3200 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3202 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3203 See \`config.log' for more details." >&5
3204 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3205 See \`config.log' for more details." >&2;}
3206    { (exit 1); exit 1; }; }; }
3207 fi
3208
3209 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3210 fi
3211 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3212 $as_echo "$ac_cv_objext" >&6; }
3213 OBJEXT=$ac_cv_objext
3214 ac_objext=$OBJEXT
3215 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3216 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3217 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3218   $as_echo_n "(cached) " >&6
3219 else
3220   cat >conftest.$ac_ext <<_ACEOF
3221 /* confdefs.h.  */
3222 _ACEOF
3223 cat confdefs.h >>conftest.$ac_ext
3224 cat >>conftest.$ac_ext <<_ACEOF
3225 /* end confdefs.h.  */
3226
3227 int
3228 main ()
3229 {
3230 #ifndef __GNUC__
3231        choke me
3232 #endif
3233
3234   ;
3235   return 0;
3236 }
3237 _ACEOF
3238 rm -f conftest.$ac_objext
3239 if { (ac_try="$ac_compile"
3240 case "(($ac_try" in
3241   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3242   *) ac_try_echo=$ac_try;;
3243 esac
3244 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3245 $as_echo "$ac_try_echo") >&5
3246   (eval "$ac_compile") 2>conftest.er1
3247   ac_status=$?
3248   grep -v '^ *+' conftest.er1 >conftest.err
3249   rm -f conftest.er1
3250   cat conftest.err >&5
3251   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3252   (exit $ac_status); } && {
3253          test -z "$ac_c_werror_flag" ||
3254          test ! -s conftest.err
3255        } && test -s conftest.$ac_objext; then
3256   ac_compiler_gnu=yes
3257 else
3258   $as_echo "$as_me: failed program was:" >&5
3259 sed 's/^/| /' conftest.$ac_ext >&5
3260
3261         ac_compiler_gnu=no
3262 fi
3263
3264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3265 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3266
3267 fi
3268 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3269 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3270 if test $ac_compiler_gnu = yes; then
3271   GCC=yes
3272 else
3273   GCC=
3274 fi
3275 ac_test_CFLAGS=${CFLAGS+set}
3276 ac_save_CFLAGS=$CFLAGS
3277 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3278 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3279 if test "${ac_cv_prog_cc_g+set}" = set; then
3280   $as_echo_n "(cached) " >&6
3281 else
3282   ac_save_c_werror_flag=$ac_c_werror_flag
3283    ac_c_werror_flag=yes
3284    ac_cv_prog_cc_g=no
3285    CFLAGS="-g"
3286    cat >conftest.$ac_ext <<_ACEOF
3287 /* confdefs.h.  */
3288 _ACEOF
3289 cat confdefs.h >>conftest.$ac_ext
3290 cat >>conftest.$ac_ext <<_ACEOF
3291 /* end confdefs.h.  */
3292
3293 int
3294 main ()
3295 {
3296
3297   ;
3298   return 0;
3299 }
3300 _ACEOF
3301 rm -f conftest.$ac_objext
3302 if { (ac_try="$ac_compile"
3303 case "(($ac_try" in
3304   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3305   *) ac_try_echo=$ac_try;;
3306 esac
3307 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3308 $as_echo "$ac_try_echo") >&5
3309   (eval "$ac_compile") 2>conftest.er1
3310   ac_status=$?
3311   grep -v '^ *+' conftest.er1 >conftest.err
3312   rm -f conftest.er1
3313   cat conftest.err >&5
3314   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315   (exit $ac_status); } && {
3316          test -z "$ac_c_werror_flag" ||
3317          test ! -s conftest.err
3318        } && test -s conftest.$ac_objext; then
3319   ac_cv_prog_cc_g=yes
3320 else
3321   $as_echo "$as_me: failed program was:" >&5
3322 sed 's/^/| /' conftest.$ac_ext >&5
3323
3324         CFLAGS=""
3325       cat >conftest.$ac_ext <<_ACEOF
3326 /* confdefs.h.  */
3327 _ACEOF
3328 cat confdefs.h >>conftest.$ac_ext
3329 cat >>conftest.$ac_ext <<_ACEOF
3330 /* end confdefs.h.  */
3331
3332 int
3333 main ()
3334 {
3335
3336   ;
3337   return 0;
3338 }
3339 _ACEOF
3340 rm -f conftest.$ac_objext
3341 if { (ac_try="$ac_compile"
3342 case "(($ac_try" in
3343   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3344   *) ac_try_echo=$ac_try;;
3345 esac
3346 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3347 $as_echo "$ac_try_echo") >&5
3348   (eval "$ac_compile") 2>conftest.er1
3349   ac_status=$?
3350   grep -v '^ *+' conftest.er1 >conftest.err
3351   rm -f conftest.er1
3352   cat conftest.err >&5
3353   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3354   (exit $ac_status); } && {
3355          test -z "$ac_c_werror_flag" ||
3356          test ! -s conftest.err
3357        } && test -s conftest.$ac_objext; then
3358   :
3359 else
3360   $as_echo "$as_me: failed program was:" >&5
3361 sed 's/^/| /' conftest.$ac_ext >&5
3362
3363         ac_c_werror_flag=$ac_save_c_werror_flag
3364          CFLAGS="-g"
3365          cat >conftest.$ac_ext <<_ACEOF
3366 /* confdefs.h.  */
3367 _ACEOF
3368 cat confdefs.h >>conftest.$ac_ext
3369 cat >>conftest.$ac_ext <<_ACEOF
3370 /* end confdefs.h.  */
3371
3372 int
3373 main ()
3374 {
3375
3376   ;
3377   return 0;
3378 }
3379 _ACEOF
3380 rm -f conftest.$ac_objext
3381 if { (ac_try="$ac_compile"
3382 case "(($ac_try" in
3383   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3384   *) ac_try_echo=$ac_try;;
3385 esac
3386 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3387 $as_echo "$ac_try_echo") >&5
3388   (eval "$ac_compile") 2>conftest.er1
3389   ac_status=$?
3390   grep -v '^ *+' conftest.er1 >conftest.err
3391   rm -f conftest.er1
3392   cat conftest.err >&5
3393   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3394   (exit $ac_status); } && {
3395          test -z "$ac_c_werror_flag" ||
3396          test ! -s conftest.err
3397        } && test -s conftest.$ac_objext; then
3398   ac_cv_prog_cc_g=yes
3399 else
3400   $as_echo "$as_me: failed program was:" >&5
3401 sed 's/^/| /' conftest.$ac_ext >&5
3402
3403
3404 fi
3405
3406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3407 fi
3408
3409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3410 fi
3411
3412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3413    ac_c_werror_flag=$ac_save_c_werror_flag
3414 fi
3415 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3416 $as_echo "$ac_cv_prog_cc_g" >&6; }
3417 if test "$ac_test_CFLAGS" = set; then
3418   CFLAGS=$ac_save_CFLAGS
3419 elif test $ac_cv_prog_cc_g = yes; then
3420   if test "$GCC" = yes; then
3421     CFLAGS="-g -O2"
3422   else
3423     CFLAGS="-g"
3424   fi
3425 else
3426   if test "$GCC" = yes; then
3427     CFLAGS="-O2"
3428   else
3429     CFLAGS=
3430   fi
3431 fi
3432 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3433 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3434 if test "${ac_cv_prog_cc_c89+set}" = set; then
3435   $as_echo_n "(cached) " >&6
3436 else
3437   ac_cv_prog_cc_c89=no
3438 ac_save_CC=$CC
3439 cat >conftest.$ac_ext <<_ACEOF
3440 /* confdefs.h.  */
3441 _ACEOF
3442 cat confdefs.h >>conftest.$ac_ext
3443 cat >>conftest.$ac_ext <<_ACEOF
3444 /* end confdefs.h.  */
3445 #include <stdarg.h>
3446 #include <stdio.h>
3447 #include <sys/types.h>
3448 #include <sys/stat.h>
3449 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3450 struct buf { int x; };
3451 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3452 static char *e (p, i)
3453      char **p;
3454      int i;
3455 {
3456   return p[i];
3457 }
3458 static char *f (char * (*g) (char **, int), char **p, ...)
3459 {
3460   char *s;
3461   va_list v;
3462   va_start (v,p);
3463   s = g (p, va_arg (v,int));
3464   va_end (v);
3465   return s;
3466 }
3467
3468 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3469    function prototypes and stuff, but not '\xHH' hex character constants.
3470    These don't provoke an error unfortunately, instead are silently treated
3471    as 'x'.  The following induces an error, until -std is added to get
3472    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3473    array size at least.  It's necessary to write '\x00'==0 to get something
3474    that's true only with -std.  */
3475 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3476
3477 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3478    inside strings and character constants.  */
3479 #define FOO(x) 'x'
3480 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3481
3482 int test (int i, double x);
3483 struct s1 {int (*f) (int a);};
3484 struct s2 {int (*f) (double a);};
3485 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3486 int argc;
3487 char **argv;
3488 int
3489 main ()
3490 {
3491 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3492   ;
3493   return 0;
3494 }
3495 _ACEOF
3496 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3497         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3498 do
3499   CC="$ac_save_CC $ac_arg"
3500   rm -f conftest.$ac_objext
3501 if { (ac_try="$ac_compile"
3502 case "(($ac_try" in
3503   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3504   *) ac_try_echo=$ac_try;;
3505 esac
3506 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3507 $as_echo "$ac_try_echo") >&5
3508   (eval "$ac_compile") 2>conftest.er1
3509   ac_status=$?
3510   grep -v '^ *+' conftest.er1 >conftest.err
3511   rm -f conftest.er1
3512   cat conftest.err >&5
3513   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3514   (exit $ac_status); } && {
3515          test -z "$ac_c_werror_flag" ||
3516          test ! -s conftest.err
3517        } && test -s conftest.$ac_objext; then
3518   ac_cv_prog_cc_c89=$ac_arg
3519 else
3520   $as_echo "$as_me: failed program was:" >&5
3521 sed 's/^/| /' conftest.$ac_ext >&5
3522
3523
3524 fi
3525
3526 rm -f core conftest.err conftest.$ac_objext
3527   test "x$ac_cv_prog_cc_c89" != "xno" && break
3528 done
3529 rm -f conftest.$ac_ext
3530 CC=$ac_save_CC
3531
3532 fi
3533 # AC_CACHE_VAL
3534 case "x$ac_cv_prog_cc_c89" in
3535   x)
3536     { $as_echo "$as_me:$LINENO: result: none needed" >&5
3537 $as_echo "none needed" >&6; } ;;
3538   xno)
3539     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3540 $as_echo "unsupported" >&6; } ;;
3541   *)
3542     CC="$CC $ac_cv_prog_cc_c89"
3543     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3544 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3545 esac
3546
3547
3548 ac_ext=c
3549 ac_cpp='$CPP $CPPFLAGS'
3550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3553 DEPDIR="${am__leading_dot}deps"
3554
3555 ac_config_commands="$ac_config_commands depfiles"
3556
3557
3558 am_make=${MAKE-make}
3559 cat > confinc << 'END'
3560 am__doit:
3561         @echo this is the am__doit target
3562 .PHONY: am__doit
3563 END
3564 # If we don't find an include directive, just comment out the code.
3565 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3566 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3567 am__include="#"
3568 am__quote=
3569 _am_result=none
3570 # First try GNU make style include.
3571 echo "include confinc" > confmf
3572 # Ignore all kinds of additional output from `make'.
3573 case `$am_make -s -f confmf 2> /dev/null` in #(
3574 *the\ am__doit\ target*)
3575   am__include=include
3576   am__quote=
3577   _am_result=GNU
3578   ;;
3579 esac
3580 # Now try BSD make style include.
3581 if test "$am__include" = "#"; then
3582    echo '.include "confinc"' > confmf
3583    case `$am_make -s -f confmf 2> /dev/null` in #(
3584    *the\ am__doit\ target*)
3585      am__include=.include
3586      am__quote="\""
3587      _am_result=BSD
3588      ;;
3589    esac
3590 fi
3591
3592
3593 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3594 $as_echo "$_am_result" >&6; }
3595 rm -f confinc confmf
3596
3597 # Check whether --enable-dependency-tracking was given.
3598 if test "${enable_dependency_tracking+set}" = set; then
3599   enableval=$enable_dependency_tracking;
3600 fi
3601
3602 if test "x$enable_dependency_tracking" != xno; then
3603   am_depcomp="$ac_aux_dir/depcomp"
3604   AMDEPBACKSLASH='\'
3605 fi
3606  if test "x$enable_dependency_tracking" != xno; then
3607   AMDEP_TRUE=
3608   AMDEP_FALSE='#'
3609 else
3610   AMDEP_TRUE='#'
3611   AMDEP_FALSE=
3612 fi
3613
3614
3615
3616 depcc="$CC"   am_compiler_list=
3617
3618 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3619 $as_echo_n "checking dependency style of $depcc... " >&6; }
3620 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3621   $as_echo_n "(cached) " >&6
3622 else
3623   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3624   # We make a subdir and do the tests there.  Otherwise we can end up
3625   # making bogus files that we don't know about and never remove.  For
3626   # instance it was reported that on HP-UX the gcc test will end up
3627   # making a dummy file named `D' -- because `-MD' means `put the output
3628   # in D'.
3629   mkdir conftest.dir
3630   # Copy depcomp to subdir because otherwise we won't find it if we're
3631   # using a relative directory.
3632   cp "$am_depcomp" conftest.dir
3633   cd conftest.dir
3634   # We will build objects and dependencies in a subdirectory because
3635   # it helps to detect inapplicable dependency modes.  For instance
3636   # both Tru64's cc and ICC support -MD to output dependencies as a
3637   # side effect of compilation, but ICC will put the dependencies in
3638   # the current directory while Tru64 will put them in the object
3639   # directory.
3640   mkdir sub
3641
3642   am_cv_CC_dependencies_compiler_type=none
3643   if test "$am_compiler_list" = ""; then
3644      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3645   fi
3646   am__universal=false
3647   case " $depcc " in #(
3648      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3649      esac
3650
3651   for depmode in $am_compiler_list; do
3652     # Setup a source with many dependencies, because some compilers
3653     # like to wrap large dependency lists on column 80 (with \), and
3654     # we should not choose a depcomp mode which is confused by this.
3655     #
3656     # We need to recreate these files for each test, as the compiler may
3657     # overwrite some of them when testing with obscure command lines.
3658     # This happens at least with the AIX C compiler.
3659     : > sub/conftest.c
3660     for i in 1 2 3 4 5 6; do
3661       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3662       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3663       # Solaris 8's {/usr,}/bin/sh.
3664       touch sub/conftst$i.h
3665     done
3666     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3667
3668     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3669     # mode.  It turns out that the SunPro C++ compiler does not properly
3670     # handle `-M -o', and we need to detect this.  Also, some Intel
3671     # versions had trouble with output in subdirs
3672     am__obj=sub/conftest.${OBJEXT-o}
3673     am__minus_obj="-o $am__obj"
3674     case $depmode in
3675     gcc)
3676       # This depmode causes a compiler race in universal mode.
3677       test "$am__universal" = false || continue
3678       ;;
3679     nosideeffect)
3680       # after this tag, mechanisms are not by side-effect, so they'll
3681       # only be used when explicitly requested
3682       if test "x$enable_dependency_tracking" = xyes; then
3683         continue
3684       else
3685         break
3686       fi
3687       ;;
3688     msvisualcpp | msvcmsys)
3689       # This compiler won't grok `-c -o', but also, the minuso test has
3690       # not run yet.  These depmodes are late enough in the game, and
3691       # so weak that their functioning should not be impacted.
3692       am__obj=conftest.${OBJEXT-o}
3693       am__minus_obj=
3694       ;;
3695     none) break ;;
3696     esac
3697     if depmode=$depmode \
3698        source=sub/conftest.c object=$am__obj \
3699        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3700        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3701          >/dev/null 2>conftest.err &&
3702        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3703        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3704        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3705        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3706       # icc doesn't choke on unknown options, it will just issue warnings
3707       # or remarks (even with -Werror).  So we grep stderr for any message
3708       # that says an option was ignored or not supported.
3709       # When given -MP, icc 7.0 and 7.1 complain thusly:
3710       #   icc: Command line warning: ignoring option '-M'; no argument required
3711       # The diagnosis changed in icc 8.0:
3712       #   icc: Command line remark: option '-MP' not supported
3713       if (grep 'ignoring option' conftest.err ||
3714           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3715         am_cv_CC_dependencies_compiler_type=$depmode
3716         break
3717       fi
3718     fi
3719   done
3720
3721   cd ..
3722   rm -rf conftest.dir
3723 else
3724   am_cv_CC_dependencies_compiler_type=none
3725 fi
3726
3727 fi
3728 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3729 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3730 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3731
3732  if
3733   test "x$enable_dependency_tracking" != xno \
3734   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3735   am__fastdepCC_TRUE=
3736   am__fastdepCC_FALSE='#'
3737 else
3738   am__fastdepCC_TRUE='#'
3739   am__fastdepCC_FALSE=
3740 fi
3741
3742
3743
3744 { $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
3745 $as_echo_n "checking for library containing strerror... " >&6; }
3746 if test "${ac_cv_search_strerror+set}" = set; then
3747   $as_echo_n "(cached) " >&6
3748 else
3749   ac_func_search_save_LIBS=$LIBS
3750 cat >conftest.$ac_ext <<_ACEOF
3751 /* confdefs.h.  */
3752 _ACEOF
3753 cat confdefs.h >>conftest.$ac_ext
3754 cat >>conftest.$ac_ext <<_ACEOF
3755 /* end confdefs.h.  */
3756
3757 /* Override any GCC internal prototype to avoid an error.
3758    Use char because int might match the return type of a GCC
3759    builtin and then its argument prototype would still apply.  */
3760 #ifdef __cplusplus
3761 extern "C"
3762 #endif
3763 char strerror ();
3764 int
3765 main ()
3766 {
3767 return strerror ();
3768   ;
3769   return 0;
3770 }
3771 _ACEOF
3772 for ac_lib in '' cposix; do
3773   if test -z "$ac_lib"; then
3774     ac_res="none required"
3775   else
3776     ac_res=-l$ac_lib
3777     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3778   fi
3779   rm -f conftest.$ac_objext conftest$ac_exeext
3780 if { (ac_try="$ac_link"
3781 case "(($ac_try" in
3782   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3783   *) ac_try_echo=$ac_try;;
3784 esac
3785 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3786 $as_echo "$ac_try_echo") >&5
3787   (eval "$ac_link") 2>conftest.er1
3788   ac_status=$?
3789   grep -v '^ *+' conftest.er1 >conftest.err
3790   rm -f conftest.er1
3791   cat conftest.err >&5
3792   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3793   (exit $ac_status); } && {
3794          test -z "$ac_c_werror_flag" ||
3795          test ! -s conftest.err
3796        } && test -s conftest$ac_exeext && {
3797          test "$cross_compiling" = yes ||
3798          $as_test_x conftest$ac_exeext
3799        }; then
3800   ac_cv_search_strerror=$ac_res
3801 else
3802   $as_echo "$as_me: failed program was:" >&5
3803 sed 's/^/| /' conftest.$ac_ext >&5
3804
3805
3806 fi
3807
3808 rm -rf conftest.dSYM
3809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3810       conftest$ac_exeext
3811   if test "${ac_cv_search_strerror+set}" = set; then
3812   break
3813 fi
3814 done
3815 if test "${ac_cv_search_strerror+set}" = set; then
3816   :
3817 else
3818   ac_cv_search_strerror=no
3819 fi
3820 rm conftest.$ac_ext
3821 LIBS=$ac_func_search_save_LIBS
3822 fi
3823 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3824 $as_echo "$ac_cv_search_strerror" >&6; }
3825 ac_res=$ac_cv_search_strerror
3826 if test "$ac_res" != no; then
3827   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3828
3829 fi
3830
3831 ac_ext=c
3832 ac_cpp='$CPP $CPPFLAGS'
3833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3836 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3837 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3838 # On Suns, sometimes $CPP names a directory.
3839 if test -n "$CPP" && test -d "$CPP"; then
3840   CPP=
3841 fi
3842 if test -z "$CPP"; then
3843   if test "${ac_cv_prog_CPP+set}" = set; then
3844   $as_echo_n "(cached) " >&6
3845 else
3846       # Double quotes because CPP needs to be expanded
3847     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3848     do
3849       ac_preproc_ok=false
3850 for ac_c_preproc_warn_flag in '' yes
3851 do
3852   # Use a header file that comes with gcc, so configuring glibc
3853   # with a fresh cross-compiler works.
3854   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3855   # <limits.h> exists even on freestanding compilers.
3856   # On the NeXT, cc -E runs the code through the compiler's parser,
3857   # not just through cpp. "Syntax error" is here to catch this case.
3858   cat >conftest.$ac_ext <<_ACEOF
3859 /* confdefs.h.  */
3860 _ACEOF
3861 cat confdefs.h >>conftest.$ac_ext
3862 cat >>conftest.$ac_ext <<_ACEOF
3863 /* end confdefs.h.  */
3864 #ifdef __STDC__
3865 # include <limits.h>
3866 #else
3867 # include <assert.h>
3868 #endif
3869                      Syntax error
3870 _ACEOF
3871 if { (ac_try="$ac_cpp conftest.$ac_ext"
3872 case "(($ac_try" in
3873   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3874   *) ac_try_echo=$ac_try;;
3875 esac
3876 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3877 $as_echo "$ac_try_echo") >&5
3878   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3879   ac_status=$?
3880   grep -v '^ *+' conftest.er1 >conftest.err
3881   rm -f conftest.er1
3882   cat conftest.err >&5
3883   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3884   (exit $ac_status); } >/dev/null && {
3885          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3886          test ! -s conftest.err
3887        }; then
3888   :
3889 else
3890   $as_echo "$as_me: failed program was:" >&5
3891 sed 's/^/| /' conftest.$ac_ext >&5
3892
3893   # Broken: fails on valid input.
3894 continue
3895 fi
3896
3897 rm -f conftest.err conftest.$ac_ext
3898
3899   # OK, works on sane cases.  Now check whether nonexistent headers
3900   # can be detected and how.
3901   cat >conftest.$ac_ext <<_ACEOF
3902 /* confdefs.h.  */
3903 _ACEOF
3904 cat confdefs.h >>conftest.$ac_ext
3905 cat >>conftest.$ac_ext <<_ACEOF
3906 /* end confdefs.h.  */
3907 #include <ac_nonexistent.h>
3908 _ACEOF
3909 if { (ac_try="$ac_cpp conftest.$ac_ext"
3910 case "(($ac_try" in
3911   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3912   *) ac_try_echo=$ac_try;;
3913 esac
3914 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3915 $as_echo "$ac_try_echo") >&5
3916   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3917   ac_status=$?
3918   grep -v '^ *+' conftest.er1 >conftest.err
3919   rm -f conftest.er1
3920   cat conftest.err >&5
3921   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3922   (exit $ac_status); } >/dev/null && {
3923          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3924          test ! -s conftest.err
3925        }; then
3926   # Broken: success on invalid input.
3927 continue
3928 else
3929   $as_echo "$as_me: failed program was:" >&5
3930 sed 's/^/| /' conftest.$ac_ext >&5
3931
3932   # Passes both tests.
3933 ac_preproc_ok=:
3934 break
3935 fi
3936
3937 rm -f conftest.err conftest.$ac_ext
3938
3939 done
3940 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3941 rm -f conftest.err conftest.$ac_ext
3942 if $ac_preproc_ok; then
3943   break
3944 fi
3945
3946     done
3947     ac_cv_prog_CPP=$CPP
3948
3949 fi
3950   CPP=$ac_cv_prog_CPP
3951 else
3952   ac_cv_prog_CPP=$CPP
3953 fi
3954 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3955 $as_echo "$CPP" >&6; }
3956 ac_preproc_ok=false
3957 for ac_c_preproc_warn_flag in '' yes
3958 do
3959   # Use a header file that comes with gcc, so configuring glibc
3960   # with a fresh cross-compiler works.
3961   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3962   # <limits.h> exists even on freestanding compilers.
3963   # On the NeXT, cc -E runs the code through the compiler's parser,
3964   # not just through cpp. "Syntax error" is here to catch this case.
3965   cat >conftest.$ac_ext <<_ACEOF
3966 /* confdefs.h.  */
3967 _ACEOF
3968 cat confdefs.h >>conftest.$ac_ext
3969 cat >>conftest.$ac_ext <<_ACEOF
3970 /* end confdefs.h.  */
3971 #ifdef __STDC__
3972 # include <limits.h>
3973 #else
3974 # include <assert.h>
3975 #endif
3976                      Syntax error
3977 _ACEOF
3978 if { (ac_try="$ac_cpp conftest.$ac_ext"
3979 case "(($ac_try" in
3980   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3981   *) ac_try_echo=$ac_try;;
3982 esac
3983 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3984 $as_echo "$ac_try_echo") >&5
3985   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3986   ac_status=$?
3987   grep -v '^ *+' conftest.er1 >conftest.err
3988   rm -f conftest.er1
3989   cat conftest.err >&5
3990   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3991   (exit $ac_status); } >/dev/null && {
3992          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3993          test ! -s conftest.err
3994        }; then
3995   :
3996 else
3997   $as_echo "$as_me: failed program was:" >&5
3998 sed 's/^/| /' conftest.$ac_ext >&5
3999
4000   # Broken: fails on valid input.
4001 continue
4002 fi
4003
4004 rm -f conftest.err conftest.$ac_ext
4005
4006   # OK, works on sane cases.  Now check whether nonexistent headers
4007   # can be detected and how.
4008   cat >conftest.$ac_ext <<_ACEOF
4009 /* confdefs.h.  */
4010 _ACEOF
4011 cat confdefs.h >>conftest.$ac_ext
4012 cat >>conftest.$ac_ext <<_ACEOF
4013 /* end confdefs.h.  */
4014 #include <ac_nonexistent.h>
4015 _ACEOF
4016 if { (ac_try="$ac_cpp conftest.$ac_ext"
4017 case "(($ac_try" in
4018   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4019   *) ac_try_echo=$ac_try;;
4020 esac
4021 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4022 $as_echo "$ac_try_echo") >&5
4023   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4024   ac_status=$?
4025   grep -v '^ *+' conftest.er1 >conftest.err
4026   rm -f conftest.er1
4027   cat conftest.err >&5
4028   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4029   (exit $ac_status); } >/dev/null && {
4030          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4031          test ! -s conftest.err
4032        }; then
4033   # Broken: success on invalid input.
4034 continue
4035 else
4036   $as_echo "$as_me: failed program was:" >&5
4037 sed 's/^/| /' conftest.$ac_ext >&5
4038
4039   # Passes both tests.
4040 ac_preproc_ok=:
4041 break
4042 fi
4043
4044 rm -f conftest.err conftest.$ac_ext
4045
4046 done
4047 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4048 rm -f conftest.err conftest.$ac_ext
4049 if $ac_preproc_ok; then
4050   :
4051 else
4052   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4053 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4054 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4055 See \`config.log' for more details." >&5
4056 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4057 See \`config.log' for more details." >&2;}
4058    { (exit 1); exit 1; }; }; }
4059 fi
4060
4061 ac_ext=c
4062 ac_cpp='$CPP $CPPFLAGS'
4063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4066
4067
4068 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4069 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4070 if test "${ac_cv_path_GREP+set}" = set; then
4071   $as_echo_n "(cached) " >&6
4072 else
4073   if test -z "$GREP"; then
4074   ac_path_GREP_found=false
4075   # Loop through the user's path and test for each of PROGNAME-LIST
4076   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4077 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4078 do
4079   IFS=$as_save_IFS
4080   test -z "$as_dir" && as_dir=.
4081   for ac_prog in grep ggrep; do
4082     for ac_exec_ext in '' $ac_executable_extensions; do
4083       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4084       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4085 # Check for GNU ac_path_GREP and select it if it is found.
4086   # Check for GNU $ac_path_GREP
4087 case `"$ac_path_GREP" --version 2>&1` in
4088 *GNU*)
4089   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4090 *)
4091   ac_count=0
4092   $as_echo_n 0123456789 >"conftest.in"
4093   while :
4094   do
4095     cat "conftest.in" "conftest.in" >"conftest.tmp"
4096     mv "conftest.tmp" "conftest.in"
4097     cp "conftest.in" "conftest.nl"
4098     $as_echo 'GREP' >> "conftest.nl"
4099     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4100     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4101     ac_count=`expr $ac_count + 1`
4102     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4103       # Best one so far, save it but keep looking for a better one
4104       ac_cv_path_GREP="$ac_path_GREP"
4105       ac_path_GREP_max=$ac_count
4106     fi
4107     # 10*(2^10) chars as input seems more than enough
4108     test $ac_count -gt 10 && break
4109   done
4110   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4111 esac
4112
4113       $ac_path_GREP_found && break 3
4114     done
4115   done
4116 done
4117 IFS=$as_save_IFS
4118   if test -z "$ac_cv_path_GREP"; then
4119     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4120 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4121    { (exit 1); exit 1; }; }
4122   fi
4123 else
4124   ac_cv_path_GREP=$GREP
4125 fi
4126
4127 fi
4128 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4129 $as_echo "$ac_cv_path_GREP" >&6; }
4130  GREP="$ac_cv_path_GREP"
4131
4132
4133 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4134 $as_echo_n "checking for egrep... " >&6; }
4135 if test "${ac_cv_path_EGREP+set}" = set; then
4136   $as_echo_n "(cached) " >&6
4137 else
4138   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4139    then ac_cv_path_EGREP="$GREP -E"
4140    else
4141      if test -z "$EGREP"; then
4142   ac_path_EGREP_found=false
4143   # Loop through the user's path and test for each of PROGNAME-LIST
4144   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4145 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4146 do
4147   IFS=$as_save_IFS
4148   test -z "$as_dir" && as_dir=.
4149   for ac_prog in egrep; do
4150     for ac_exec_ext in '' $ac_executable_extensions; do
4151       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4152       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4153 # Check for GNU ac_path_EGREP and select it if it is found.
4154   # Check for GNU $ac_path_EGREP
4155 case `"$ac_path_EGREP" --version 2>&1` in
4156 *GNU*)
4157   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4158 *)
4159   ac_count=0
4160   $as_echo_n 0123456789 >"conftest.in"
4161   while :
4162   do
4163     cat "conftest.in" "conftest.in" >"conftest.tmp"
4164     mv "conftest.tmp" "conftest.in"
4165     cp "conftest.in" "conftest.nl"
4166     $as_echo 'EGREP' >> "conftest.nl"
4167     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4168     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4169     ac_count=`expr $ac_count + 1`
4170     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4171       # Best one so far, save it but keep looking for a better one
4172       ac_cv_path_EGREP="$ac_path_EGREP"
4173       ac_path_EGREP_max=$ac_count
4174     fi
4175     # 10*(2^10) chars as input seems more than enough
4176     test $ac_count -gt 10 && break
4177   done
4178   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4179 esac
4180
4181       $ac_path_EGREP_found && break 3
4182     done
4183   done
4184 done
4185 IFS=$as_save_IFS
4186   if test -z "$ac_cv_path_EGREP"; then
4187     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4188 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4189    { (exit 1); exit 1; }; }
4190   fi
4191 else
4192   ac_cv_path_EGREP=$EGREP
4193 fi
4194
4195    fi
4196 fi
4197 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4198 $as_echo "$ac_cv_path_EGREP" >&6; }
4199  EGREP="$ac_cv_path_EGREP"
4200
4201
4202 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4203 $as_echo_n "checking for ANSI C header files... " >&6; }
4204 if test "${ac_cv_header_stdc+set}" = set; then
4205   $as_echo_n "(cached) " >&6
4206 else
4207   cat >conftest.$ac_ext <<_ACEOF
4208 /* confdefs.h.  */
4209 _ACEOF
4210 cat confdefs.h >>conftest.$ac_ext
4211 cat >>conftest.$ac_ext <<_ACEOF
4212 /* end confdefs.h.  */
4213 #include <stdlib.h>
4214 #include <stdarg.h>
4215 #include <string.h>
4216 #include <float.h>
4217
4218 int
4219 main ()
4220 {
4221
4222   ;
4223   return 0;
4224 }
4225 _ACEOF
4226 rm -f conftest.$ac_objext
4227 if { (ac_try="$ac_compile"
4228 case "(($ac_try" in
4229   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4230   *) ac_try_echo=$ac_try;;
4231 esac
4232 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4233 $as_echo "$ac_try_echo") >&5
4234   (eval "$ac_compile") 2>conftest.er1
4235   ac_status=$?
4236   grep -v '^ *+' conftest.er1 >conftest.err
4237   rm -f conftest.er1
4238   cat conftest.err >&5
4239   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4240   (exit $ac_status); } && {
4241          test -z "$ac_c_werror_flag" ||
4242          test ! -s conftest.err
4243        } && test -s conftest.$ac_objext; then
4244   ac_cv_header_stdc=yes
4245 else
4246   $as_echo "$as_me: failed program was:" >&5
4247 sed 's/^/| /' conftest.$ac_ext >&5
4248
4249         ac_cv_header_stdc=no
4250 fi
4251
4252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4253
4254 if test $ac_cv_header_stdc = yes; then
4255   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4256   cat >conftest.$ac_ext <<_ACEOF
4257 /* confdefs.h.  */
4258 _ACEOF
4259 cat confdefs.h >>conftest.$ac_ext
4260 cat >>conftest.$ac_ext <<_ACEOF
4261 /* end confdefs.h.  */
4262 #include <string.h>
4263
4264 _ACEOF
4265 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4266   $EGREP "memchr" >/dev/null 2>&1; then
4267   :
4268 else
4269   ac_cv_header_stdc=no
4270 fi
4271 rm -f conftest*
4272
4273 fi
4274
4275 if test $ac_cv_header_stdc = yes; then
4276   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4277   cat >conftest.$ac_ext <<_ACEOF
4278 /* confdefs.h.  */
4279 _ACEOF
4280 cat confdefs.h >>conftest.$ac_ext
4281 cat >>conftest.$ac_ext <<_ACEOF
4282 /* end confdefs.h.  */
4283 #include <stdlib.h>
4284
4285 _ACEOF
4286 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4287   $EGREP "free" >/dev/null 2>&1; then
4288   :
4289 else
4290   ac_cv_header_stdc=no
4291 fi
4292 rm -f conftest*
4293
4294 fi
4295
4296 if test $ac_cv_header_stdc = yes; then
4297   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4298   if test "$cross_compiling" = yes; then
4299   :
4300 else
4301   cat >conftest.$ac_ext <<_ACEOF
4302 /* confdefs.h.  */
4303 _ACEOF
4304 cat confdefs.h >>conftest.$ac_ext
4305 cat >>conftest.$ac_ext <<_ACEOF
4306 /* end confdefs.h.  */
4307 #include <ctype.h>
4308 #include <stdlib.h>
4309 #if ((' ' & 0x0FF) == 0x020)
4310 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4311 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4312 #else
4313 # define ISLOWER(c) \
4314                    (('a' <= (c) && (c) <= 'i') \
4315                      || ('j' <= (c) && (c) <= 'r') \
4316                      || ('s' <= (c) && (c) <= 'z'))
4317 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4318 #endif
4319
4320 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4321 int
4322 main ()
4323 {
4324   int i;
4325   for (i = 0; i < 256; i++)
4326     if (XOR (islower (i), ISLOWER (i))
4327         || toupper (i) != TOUPPER (i))
4328       return 2;
4329   return 0;
4330 }
4331 _ACEOF
4332 rm -f conftest$ac_exeext
4333 if { (ac_try="$ac_link"
4334 case "(($ac_try" in
4335   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4336   *) ac_try_echo=$ac_try;;
4337 esac
4338 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4339 $as_echo "$ac_try_echo") >&5
4340   (eval "$ac_link") 2>&5
4341   ac_status=$?
4342   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4343   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4344   { (case "(($ac_try" in
4345   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4346   *) ac_try_echo=$ac_try;;
4347 esac
4348 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4349 $as_echo "$ac_try_echo") >&5
4350   (eval "$ac_try") 2>&5
4351   ac_status=$?
4352   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4353   (exit $ac_status); }; }; then
4354   :
4355 else
4356   $as_echo "$as_me: program exited with status $ac_status" >&5
4357 $as_echo "$as_me: failed program was:" >&5
4358 sed 's/^/| /' conftest.$ac_ext >&5
4359
4360 ( exit $ac_status )
4361 ac_cv_header_stdc=no
4362 fi
4363 rm -rf conftest.dSYM
4364 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4365 fi
4366
4367
4368 fi
4369 fi
4370 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4371 $as_echo "$ac_cv_header_stdc" >&6; }
4372 if test $ac_cv_header_stdc = yes; then
4373
4374 cat >>confdefs.h <<\_ACEOF
4375 #define STDC_HEADERS 1
4376 _ACEOF
4377
4378 fi
4379
4380 case `pwd` in
4381   *\ * | *\     *)
4382     { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4383 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4384 esac
4385
4386
4387
4388 macro_version='2.2.6'
4389 macro_revision='1.3012'
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403 ltmain="$ac_aux_dir/ltmain.sh"
4404
4405 # Make sure we can run config.sub.
4406 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4407   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4408 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4409    { (exit 1); exit 1; }; }
4410
4411 { $as_echo "$as_me:$LINENO: checking build system type" >&5
4412 $as_echo_n "checking build system type... " >&6; }
4413 if test "${ac_cv_build+set}" = set; then
4414   $as_echo_n "(cached) " >&6
4415 else
4416   ac_build_alias=$build_alias
4417 test "x$ac_build_alias" = x &&
4418   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4419 test "x$ac_build_alias" = x &&
4420   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4421 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4422    { (exit 1); exit 1; }; }
4423 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4424   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4425 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4426    { (exit 1); exit 1; }; }
4427
4428 fi
4429 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4430 $as_echo "$ac_cv_build" >&6; }
4431 case $ac_cv_build in
4432 *-*-*) ;;
4433 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4434 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
4435    { (exit 1); exit 1; }; };;
4436 esac
4437 build=$ac_cv_build
4438 ac_save_IFS=$IFS; IFS='-'
4439 set x $ac_cv_build
4440 shift
4441 build_cpu=$1
4442 build_vendor=$2
4443 shift; shift
4444 # Remember, the first character of IFS is used to create $*,
4445 # except with old shells:
4446 build_os=$*
4447 IFS=$ac_save_IFS
4448 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4449
4450
4451 { $as_echo "$as_me:$LINENO: checking host system type" >&5
4452 $as_echo_n "checking host system type... " >&6; }
4453 if test "${ac_cv_host+set}" = set; then
4454   $as_echo_n "(cached) " >&6
4455 else
4456   if test "x$host_alias" = x; then
4457   ac_cv_host=$ac_cv_build
4458 else
4459   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4460     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4461 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4462    { (exit 1); exit 1; }; }
4463 fi
4464
4465 fi
4466 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4467 $as_echo "$ac_cv_host" >&6; }
4468 case $ac_cv_host in
4469 *-*-*) ;;
4470 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4471 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
4472    { (exit 1); exit 1; }; };;
4473 esac
4474 host=$ac_cv_host
4475 ac_save_IFS=$IFS; IFS='-'
4476 set x $ac_cv_host
4477 shift
4478 host_cpu=$1
4479 host_vendor=$2
4480 shift; shift
4481 # Remember, the first character of IFS is used to create $*,
4482 # except with old shells:
4483 host_os=$*
4484 IFS=$ac_save_IFS
4485 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4486
4487
4488 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4489 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4490 if test "${ac_cv_path_SED+set}" = set; then
4491   $as_echo_n "(cached) " >&6
4492 else
4493             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4494      for ac_i in 1 2 3 4 5 6 7; do
4495        ac_script="$ac_script$as_nl$ac_script"
4496      done
4497      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4498      $as_unset ac_script || ac_script=
4499      if test -z "$SED"; then
4500   ac_path_SED_found=false
4501   # Loop through the user's path and test for each of PROGNAME-LIST
4502   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4503 for as_dir in $PATH
4504 do
4505   IFS=$as_save_IFS
4506   test -z "$as_dir" && as_dir=.
4507   for ac_prog in sed gsed; do
4508     for ac_exec_ext in '' $ac_executable_extensions; do
4509       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4510       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4511 # Check for GNU ac_path_SED and select it if it is found.
4512   # Check for GNU $ac_path_SED
4513 case `"$ac_path_SED" --version 2>&1` in
4514 *GNU*)
4515   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4516 *)
4517   ac_count=0
4518   $as_echo_n 0123456789 >"conftest.in"
4519   while :
4520   do
4521     cat "conftest.in" "conftest.in" >"conftest.tmp"
4522     mv "conftest.tmp" "conftest.in"
4523     cp "conftest.in" "conftest.nl"
4524     $as_echo '' >> "conftest.nl"
4525     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4526     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4527     ac_count=`expr $ac_count + 1`
4528     if test $ac_count -gt ${ac_path_SED_max-0}; then
4529       # Best one so far, save it but keep looking for a better one
4530       ac_cv_path_SED="$ac_path_SED"
4531       ac_path_SED_max=$ac_count
4532     fi
4533     # 10*(2^10) chars as input seems more than enough
4534     test $ac_count -gt 10 && break
4535   done
4536   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4537 esac
4538
4539       $ac_path_SED_found && break 3
4540     done
4541   done
4542 done
4543 IFS=$as_save_IFS
4544   if test -z "$ac_cv_path_SED"; then
4545     { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
4546 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
4547    { (exit 1); exit 1; }; }
4548   fi
4549 else
4550   ac_cv_path_SED=$SED
4551 fi
4552
4553 fi
4554 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4555 $as_echo "$ac_cv_path_SED" >&6; }
4556  SED="$ac_cv_path_SED"
4557   rm -f conftest.sed
4558
4559 test -z "$SED" && SED=sed
4560 Xsed="$SED -e 1s/^X//"
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
4573 $as_echo_n "checking for fgrep... " >&6; }
4574 if test "${ac_cv_path_FGREP+set}" = set; then
4575   $as_echo_n "(cached) " >&6
4576 else
4577   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4578    then ac_cv_path_FGREP="$GREP -F"
4579    else
4580      if test -z "$FGREP"; then
4581   ac_path_FGREP_found=false
4582   # Loop through the user's path and test for each of PROGNAME-LIST
4583   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4584 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4585 do
4586   IFS=$as_save_IFS
4587   test -z "$as_dir" && as_dir=.
4588   for ac_prog in fgrep; do
4589     for ac_exec_ext in '' $ac_executable_extensions; do
4590       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4591       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4592 # Check for GNU ac_path_FGREP and select it if it is found.
4593   # Check for GNU $ac_path_FGREP
4594 case `"$ac_path_FGREP" --version 2>&1` in
4595 *GNU*)
4596   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4597 *)
4598   ac_count=0
4599   $as_echo_n 0123456789 >"conftest.in"
4600   while :
4601   do
4602     cat "conftest.in" "conftest.in" >"conftest.tmp"
4603     mv "conftest.tmp" "conftest.in"
4604     cp "conftest.in" "conftest.nl"
4605     $as_echo 'FGREP' >> "conftest.nl"
4606     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4607     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4608     ac_count=`expr $ac_count + 1`
4609     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4610       # Best one so far, save it but keep looking for a better one
4611       ac_cv_path_FGREP="$ac_path_FGREP"
4612       ac_path_FGREP_max=$ac_count
4613     fi
4614     # 10*(2^10) chars as input seems more than enough
4615     test $ac_count -gt 10 && break
4616   done
4617   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4618 esac
4619
4620       $ac_path_FGREP_found && break 3
4621     done
4622   done
4623 done
4624 IFS=$as_save_IFS
4625   if test -z "$ac_cv_path_FGREP"; then
4626     { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4627 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4628    { (exit 1); exit 1; }; }
4629   fi
4630 else
4631   ac_cv_path_FGREP=$FGREP
4632 fi
4633
4634    fi
4635 fi
4636 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4637 $as_echo "$ac_cv_path_FGREP" >&6; }
4638  FGREP="$ac_cv_path_FGREP"
4639
4640
4641 test -z "$GREP" && GREP=grep
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661 # Check whether --with-gnu-ld was given.
4662 if test "${with_gnu_ld+set}" = set; then
4663   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4664 else
4665   with_gnu_ld=no
4666 fi
4667
4668 ac_prog=ld
4669 if test "$GCC" = yes; then
4670   # Check if gcc -print-prog-name=ld gives a path.
4671   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4672 $as_echo_n "checking for ld used by $CC... " >&6; }
4673   case $host in
4674   *-*-mingw*)
4675     # gcc leaves a trailing carriage return which upsets mingw
4676     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4677   *)
4678     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4679   esac
4680   case $ac_prog in
4681     # Accept absolute paths.
4682     [\\/]* | ?:[\\/]*)
4683       re_direlt='/[^/][^/]*/\.\./'
4684       # Canonicalize the pathname of ld
4685       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4686       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4687         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4688       done
4689       test -z "$LD" && LD="$ac_prog"
4690       ;;
4691   "")
4692     # If it fails, then pretend we aren't using GCC.
4693     ac_prog=ld
4694     ;;
4695   *)
4696     # If it is relative, then search for the first ld in PATH.
4697     with_gnu_ld=unknown
4698     ;;
4699   esac
4700 elif test "$with_gnu_ld" = yes; then
4701   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4702 $as_echo_n "checking for GNU ld... " >&6; }
4703 else
4704   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4705 $as_echo_n "checking for non-GNU ld... " >&6; }
4706 fi
4707 if test "${lt_cv_path_LD+set}" = set; then
4708   $as_echo_n "(cached) " >&6
4709 else
4710   if test -z "$LD"; then
4711   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4712   for ac_dir in $PATH; do
4713     IFS="$lt_save_ifs"
4714     test -z "$ac_dir" && ac_dir=.
4715     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4716       lt_cv_path_LD="$ac_dir/$ac_prog"
4717       # Check to see if the program is GNU ld.  I'd rather use --version,
4718       # but apparently some variants of GNU ld only accept -v.
4719       # Break only if it was the GNU/non-GNU ld that we prefer.
4720       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4721       *GNU* | *'with BFD'*)
4722         test "$with_gnu_ld" != no && break
4723         ;;
4724       *)
4725         test "$with_gnu_ld" != yes && break
4726         ;;
4727       esac
4728     fi
4729   done
4730   IFS="$lt_save_ifs"
4731 else
4732   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4733 fi
4734 fi
4735
4736 LD="$lt_cv_path_LD"
4737 if test -n "$LD"; then
4738   { $as_echo "$as_me:$LINENO: result: $LD" >&5
4739 $as_echo "$LD" >&6; }
4740 else
4741   { $as_echo "$as_me:$LINENO: result: no" >&5
4742 $as_echo "no" >&6; }
4743 fi
4744 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4745 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4746    { (exit 1); exit 1; }; }
4747 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4748 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4749 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4750   $as_echo_n "(cached) " >&6
4751 else
4752   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4753 case `$LD -v 2>&1 </dev/null` in
4754 *GNU* | *'with BFD'*)
4755   lt_cv_prog_gnu_ld=yes
4756   ;;
4757 *)
4758   lt_cv_prog_gnu_ld=no
4759   ;;
4760 esac
4761 fi
4762 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4763 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4764 with_gnu_ld=$lt_cv_prog_gnu_ld
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4775 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4776 if test "${lt_cv_path_NM+set}" = set; then
4777   $as_echo_n "(cached) " >&6
4778 else
4779   if test -n "$NM"; then
4780   # Let the user override the test.
4781   lt_cv_path_NM="$NM"
4782 else
4783   lt_nm_to_check="${ac_tool_prefix}nm"
4784   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4785     lt_nm_to_check="$lt_nm_to_check nm"
4786   fi
4787   for lt_tmp_nm in $lt_nm_to_check; do
4788     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4789     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4790       IFS="$lt_save_ifs"
4791       test -z "$ac_dir" && ac_dir=.
4792       tmp_nm="$ac_dir/$lt_tmp_nm"
4793       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4794         # Check to see if the nm accepts a BSD-compat flag.
4795         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4796         #   nm: unknown option "B" ignored
4797         # Tru64's nm complains that /dev/null is an invalid object file
4798         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4799         */dev/null* | *'Invalid file or object type'*)
4800           lt_cv_path_NM="$tmp_nm -B"
4801           break
4802           ;;
4803         *)
4804           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4805           */dev/null*)
4806             lt_cv_path_NM="$tmp_nm -p"
4807             break
4808             ;;
4809           *)
4810             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4811             continue # so that we can try to find one that supports BSD flags
4812             ;;
4813           esac
4814           ;;
4815         esac
4816       fi
4817     done
4818     IFS="$lt_save_ifs"
4819   done
4820   : ${lt_cv_path_NM=no}
4821 fi
4822 fi
4823 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4824 $as_echo "$lt_cv_path_NM" >&6; }
4825 if test "$lt_cv_path_NM" != "no"; then
4826   NM="$lt_cv_path_NM"
4827 else
4828   # Didn't find any BSD compatible name lister, look for dumpbin.
4829   if test -n "$ac_tool_prefix"; then
4830   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4831   do
4832     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4833 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4834 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4835 $as_echo_n "checking for $ac_word... " >&6; }
4836 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4837   $as_echo_n "(cached) " >&6
4838 else
4839   if test -n "$DUMPBIN"; then
4840   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4841 else
4842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4843 for as_dir in $PATH
4844 do
4845   IFS=$as_save_IFS
4846   test -z "$as_dir" && as_dir=.
4847   for ac_exec_ext in '' $ac_executable_extensions; do
4848   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4849     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4850     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4851     break 2
4852   fi
4853 done
4854 done
4855 IFS=$as_save_IFS
4856
4857 fi
4858 fi
4859 DUMPBIN=$ac_cv_prog_DUMPBIN
4860 if test -n "$DUMPBIN"; then
4861   { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4862 $as_echo "$DUMPBIN" >&6; }
4863 else
4864   { $as_echo "$as_me:$LINENO: result: no" >&5
4865 $as_echo "no" >&6; }
4866 fi
4867
4868
4869     test -n "$DUMPBIN" && break
4870   done
4871 fi
4872 if test -z "$DUMPBIN"; then
4873   ac_ct_DUMPBIN=$DUMPBIN
4874   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4875 do
4876   # Extract the first word of "$ac_prog", so it can be a program name with args.
4877 set dummy $ac_prog; ac_word=$2
4878 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4879 $as_echo_n "checking for $ac_word... " >&6; }
4880 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4881   $as_echo_n "(cached) " >&6
4882 else
4883   if test -n "$ac_ct_DUMPBIN"; then
4884   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4885 else
4886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4887 for as_dir in $PATH
4888 do
4889   IFS=$as_save_IFS
4890   test -z "$as_dir" && as_dir=.
4891   for ac_exec_ext in '' $ac_executable_extensions; do
4892   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4893     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4894     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4895     break 2
4896   fi
4897 done
4898 done
4899 IFS=$as_save_IFS
4900
4901 fi
4902 fi
4903 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4904 if test -n "$ac_ct_DUMPBIN"; then
4905   { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4906 $as_echo "$ac_ct_DUMPBIN" >&6; }
4907 else
4908   { $as_echo "$as_me:$LINENO: result: no" >&5
4909 $as_echo "no" >&6; }
4910 fi
4911
4912
4913   test -n "$ac_ct_DUMPBIN" && break
4914 done
4915
4916   if test "x$ac_ct_DUMPBIN" = x; then
4917     DUMPBIN=":"
4918   else
4919     case $cross_compiling:$ac_tool_warned in
4920 yes:)
4921 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4922 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4923 ac_tool_warned=yes ;;
4924 esac
4925     DUMPBIN=$ac_ct_DUMPBIN
4926   fi
4927 fi
4928
4929
4930   if test "$DUMPBIN" != ":"; then
4931     NM="$DUMPBIN"
4932   fi
4933 fi
4934 test -z "$NM" && NM=nm
4935
4936
4937
4938
4939
4940
4941 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4942 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4943 if test "${lt_cv_nm_interface+set}" = set; then
4944   $as_echo_n "(cached) " >&6
4945 else
4946   lt_cv_nm_interface="BSD nm"
4947   echo "int some_variable = 0;" > conftest.$ac_ext
4948   (eval echo "\"\$as_me:4948: $ac_compile\"" >&5)
4949   (eval "$ac_compile" 2>conftest.err)
4950   cat conftest.err >&5
4951   (eval echo "\"\$as_me:4951: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4952   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4953   cat conftest.err >&5
4954   (eval echo "\"\$as_me:4954: output\"" >&5)
4955   cat conftest.out >&5
4956   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4957     lt_cv_nm_interface="MS dumpbin"
4958   fi
4959   rm -f conftest*
4960 fi
4961 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4962 $as_echo "$lt_cv_nm_interface" >&6; }
4963
4964 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4965 $as_echo_n "checking whether ln -s works... " >&6; }
4966 LN_S=$as_ln_s
4967 if test "$LN_S" = "ln -s"; then
4968   { $as_echo "$as_me:$LINENO: result: yes" >&5
4969 $as_echo "yes" >&6; }
4970 else
4971   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4972 $as_echo "no, using $LN_S" >&6; }
4973 fi
4974
4975 # find the maximum length of command line arguments
4976 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4977 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4978 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4979   $as_echo_n "(cached) " >&6
4980 else
4981     i=0
4982   teststring="ABCD"
4983
4984   case $build_os in
4985   msdosdjgpp*)
4986     # On DJGPP, this test can blow up pretty badly due to problems in libc
4987     # (any single argument exceeding 2000 bytes causes a buffer overrun
4988     # during glob expansion).  Even if it were fixed, the result of this
4989     # check would be larger than it should be.
4990     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4991     ;;
4992
4993   gnu*)
4994     # Under GNU Hurd, this test is not required because there is
4995     # no limit to the length of command line arguments.
4996     # Libtool will interpret -1 as no limit whatsoever
4997     lt_cv_sys_max_cmd_len=-1;
4998     ;;
4999
5000   cygwin* | mingw* | cegcc*)
5001     # On Win9x/ME, this test blows up -- it succeeds, but takes
5002     # about 5 minutes as the teststring grows exponentially.
5003     # Worse, since 9x/ME are not pre-emptively multitasking,
5004     # you end up with a "frozen" computer, even though with patience
5005     # the test eventually succeeds (with a max line length of 256k).
5006     # Instead, let's just punt: use the minimum linelength reported by
5007     # all of the supported platforms: 8192 (on NT/2K/XP).
5008     lt_cv_sys_max_cmd_len=8192;
5009     ;;
5010
5011   amigaos*)
5012     # On AmigaOS with pdksh, this test takes hours, literally.
5013     # So we just punt and use a minimum line length of 8192.
5014     lt_cv_sys_max_cmd_len=8192;
5015     ;;
5016
5017   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5018     # This has been around since 386BSD, at least.  Likely further.
5019     if test -x /sbin/sysctl; then
5020       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5021     elif test -x /usr/sbin/sysctl; then
5022       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5023     else
5024       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5025     fi
5026     # And add a safety zone
5027     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5028     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5029     ;;
5030
5031   interix*)
5032     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5033     lt_cv_sys_max_cmd_len=196608
5034     ;;
5035
5036   osf*)
5037     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5038     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5039     # nice to cause kernel panics so lets avoid the loop below.
5040     # First set a reasonable default.
5041     lt_cv_sys_max_cmd_len=16384
5042     #
5043     if test -x /sbin/sysconfig; then
5044       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5045         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5046       esac
5047     fi
5048     ;;
5049   sco3.2v5*)
5050     lt_cv_sys_max_cmd_len=102400
5051     ;;
5052   sysv5* | sco5v6* | sysv4.2uw2*)
5053     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5054     if test -n "$kargmax"; then
5055       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5056     else
5057       lt_cv_sys_max_cmd_len=32768
5058     fi
5059     ;;
5060   *)
5061     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5062     if test -n "$lt_cv_sys_max_cmd_len"; then
5063       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5064       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5065     else
5066       # Make teststring a little bigger before we do anything with it.
5067       # a 1K string should be a reasonable start.
5068       for i in 1 2 3 4 5 6 7 8 ; do
5069         teststring=$teststring$teststring
5070       done
5071       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5072       # If test is not a shell built-in, we'll probably end up computing a
5073       # maximum length that is only half of the actual maximum length, but
5074       # we can't tell.
5075       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5076                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5077               test $i != 17 # 1/2 MB should be enough
5078       do
5079         i=`expr $i + 1`
5080         teststring=$teststring$teststring
5081       done
5082       # Only check the string length outside the loop.
5083       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5084       teststring=
5085       # Add a significant safety factor because C++ compilers can tack on
5086       # massive amounts of additional arguments before passing them to the
5087       # linker.  It appears as though 1/2 is a usable value.
5088       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5089     fi
5090     ;;
5091   esac
5092
5093 fi
5094
5095 if test -n $lt_cv_sys_max_cmd_len ; then
5096   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5097 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5098 else
5099   { $as_echo "$as_me:$LINENO: result: none" >&5
5100 $as_echo "none" >&6; }
5101 fi
5102 max_cmd_len=$lt_cv_sys_max_cmd_len
5103
5104
5105
5106
5107
5108
5109 : ${CP="cp -f"}
5110 : ${MV="mv -f"}
5111 : ${RM="rm -f"}
5112
5113 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5114 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5115 # Try some XSI features
5116 xsi_shell=no
5117 ( _lt_dummy="a/b/c"
5118   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5119       = c,a/b,, \
5120     && eval 'test $(( 1 + 1 )) -eq 2 \
5121     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5122   && xsi_shell=yes
5123 { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
5124 $as_echo "$xsi_shell" >&6; }
5125
5126
5127 { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
5128 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5129 lt_shell_append=no
5130 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5131     >/dev/null 2>&1 \
5132   && lt_shell_append=yes
5133 { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
5134 $as_echo "$lt_shell_append" >&6; }
5135
5136
5137 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5138   lt_unset=unset
5139 else
5140   lt_unset=false
5141 fi
5142
5143
5144
5145
5146
5147 # test EBCDIC or ASCII
5148 case `echo X|tr X '\101'` in
5149  A) # ASCII based system
5150     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5151   lt_SP2NL='tr \040 \012'
5152   lt_NL2SP='tr \015\012 \040\040'
5153   ;;
5154  *) # EBCDIC based system
5155   lt_SP2NL='tr \100 \n'
5156   lt_NL2SP='tr \r\n \100\100'
5157   ;;
5158 esac
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5169 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5170 if test "${lt_cv_ld_reload_flag+set}" = set; then
5171   $as_echo_n "(cached) " >&6
5172 else
5173   lt_cv_ld_reload_flag='-r'
5174 fi
5175 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5176 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5177 reload_flag=$lt_cv_ld_reload_flag
5178 case $reload_flag in
5179 "" | " "*) ;;
5180 *) reload_flag=" $reload_flag" ;;
5181 esac
5182 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5183 case $host_os in
5184   darwin*)
5185     if test "$GCC" = yes; then
5186       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5187     else
5188       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5189     fi
5190     ;;
5191 esac
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201 if test -n "$ac_tool_prefix"; then
5202   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5203 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5204 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5205 $as_echo_n "checking for $ac_word... " >&6; }
5206 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5207   $as_echo_n "(cached) " >&6
5208 else
5209   if test -n "$OBJDUMP"; then
5210   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5211 else
5212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5213 for as_dir in $PATH
5214 do
5215   IFS=$as_save_IFS
5216   test -z "$as_dir" && as_dir=.
5217   for ac_exec_ext in '' $ac_executable_extensions; do
5218   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5219     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5220     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5221     break 2
5222   fi
5223 done
5224 done
5225 IFS=$as_save_IFS
5226
5227 fi
5228 fi
5229 OBJDUMP=$ac_cv_prog_OBJDUMP
5230 if test -n "$OBJDUMP"; then
5231   { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
5232 $as_echo "$OBJDUMP" >&6; }
5233 else
5234   { $as_echo "$as_me:$LINENO: result: no" >&5
5235 $as_echo "no" >&6; }
5236 fi
5237
5238
5239 fi
5240 if test -z "$ac_cv_prog_OBJDUMP"; then
5241   ac_ct_OBJDUMP=$OBJDUMP
5242   # Extract the first word of "objdump", so it can be a program name with args.
5243 set dummy objdump; ac_word=$2
5244 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5245 $as_echo_n "checking for $ac_word... " >&6; }
5246 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5247   $as_echo_n "(cached) " >&6
5248 else
5249   if test -n "$ac_ct_OBJDUMP"; then
5250   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5251 else
5252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5253 for as_dir in $PATH
5254 do
5255   IFS=$as_save_IFS
5256   test -z "$as_dir" && as_dir=.
5257   for ac_exec_ext in '' $ac_executable_extensions; do
5258   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5259     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5260     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5261     break 2
5262   fi
5263 done
5264 done
5265 IFS=$as_save_IFS
5266
5267 fi
5268 fi
5269 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5270 if test -n "$ac_ct_OBJDUMP"; then
5271   { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
5272 $as_echo "$ac_ct_OBJDUMP" >&6; }
5273 else
5274   { $as_echo "$as_me:$LINENO: result: no" >&5
5275 $as_echo "no" >&6; }
5276 fi
5277
5278   if test "x$ac_ct_OBJDUMP" = x; then
5279     OBJDUMP="false"
5280   else
5281     case $cross_compiling:$ac_tool_warned in
5282 yes:)
5283 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5284 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5285 ac_tool_warned=yes ;;
5286 esac
5287     OBJDUMP=$ac_ct_OBJDUMP
5288   fi
5289 else
5290   OBJDUMP="$ac_cv_prog_OBJDUMP"
5291 fi
5292
5293 test -z "$OBJDUMP" && OBJDUMP=objdump
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5304 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5305 if test "${lt_cv_deplibs_check_method+set}" = set; then
5306   $as_echo_n "(cached) " >&6
5307 else
5308   lt_cv_file_magic_cmd='$MAGIC_CMD'
5309 lt_cv_file_magic_test_file=
5310 lt_cv_deplibs_check_method='unknown'
5311 # Need to set the preceding variable on all platforms that support
5312 # interlibrary dependencies.
5313 # 'none' -- dependencies not supported.
5314 # `unknown' -- same as none, but documents that we really don't know.
5315 # 'pass_all' -- all dependencies passed with no checks.
5316 # 'test_compile' -- check by making test program.
5317 # 'file_magic [[regex]]' -- check by looking for files in library path
5318 # which responds to the $file_magic_cmd with a given extended regex.
5319 # If you have `file' or equivalent on your system and you're not sure
5320 # whether `pass_all' will *always* work, you probably want this one.
5321
5322 case $host_os in
5323 aix[4-9]*)
5324   lt_cv_deplibs_check_method=pass_all
5325   ;;
5326
5327 beos*)
5328   lt_cv_deplibs_check_method=pass_all
5329   ;;
5330
5331 bsdi[45]*)
5332   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5333   lt_cv_file_magic_cmd='/usr/bin/file -L'
5334   lt_cv_file_magic_test_file=/shlib/libc.so
5335   ;;
5336
5337 cygwin*)
5338   # func_win32_libid is a shell function defined in ltmain.sh
5339   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5340   lt_cv_file_magic_cmd='func_win32_libid'
5341   ;;
5342
5343 mingw* | pw32*)
5344   # Base MSYS/MinGW do not provide the 'file' command needed by
5345   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5346   # unless we find 'file', for example because we are cross-compiling.
5347   if ( file / ) >/dev/null 2>&1; then
5348     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5349     lt_cv_file_magic_cmd='func_win32_libid'
5350   else
5351     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5352     lt_cv_file_magic_cmd='$OBJDUMP -f'
5353   fi
5354   ;;
5355
5356 cegcc)
5357   # use the weaker test based on 'objdump'. See mingw*.
5358   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5359   lt_cv_file_magic_cmd='$OBJDUMP -f'
5360   ;;
5361
5362 darwin* | rhapsody*)
5363   lt_cv_deplibs_check_method=pass_all
5364   ;;
5365
5366 freebsd* | dragonfly*)
5367   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5368     case $host_cpu in
5369     i*86 )
5370       # Not sure whether the presence of OpenBSD here was a mistake.
5371       # Let's accept both of them until this is cleared up.
5372       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5373       lt_cv_file_magic_cmd=/usr/bin/file
5374       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5375       ;;
5376     esac
5377   else
5378     lt_cv_deplibs_check_method=pass_all
5379   fi
5380   ;;
5381
5382 gnu*)
5383   lt_cv_deplibs_check_method=pass_all
5384   ;;
5385
5386 hpux10.20* | hpux11*)
5387   lt_cv_file_magic_cmd=/usr/bin/file
5388   case $host_cpu in
5389   ia64*)
5390     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5391     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5392     ;;
5393   hppa*64*)
5394     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]'
5395     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5396     ;;
5397   *)
5398     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5399     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5400     ;;
5401   esac
5402   ;;
5403
5404 interix[3-9]*)
5405   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5406   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5407   ;;
5408
5409 irix5* | irix6* | nonstopux*)
5410   case $LD in
5411   *-32|*"-32 ") libmagic=32-bit;;
5412   *-n32|*"-n32 ") libmagic=N32;;
5413   *-64|*"-64 ") libmagic=64-bit;;
5414   *) libmagic=never-match;;
5415   esac
5416   lt_cv_deplibs_check_method=pass_all
5417   ;;
5418
5419 # This must be Linux ELF.
5420 linux* | k*bsd*-gnu)
5421   lt_cv_deplibs_check_method=pass_all
5422   ;;
5423
5424 netbsd*)
5425   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5426     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5427   else
5428     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5429   fi
5430   ;;
5431
5432 newos6*)
5433   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5434   lt_cv_file_magic_cmd=/usr/bin/file
5435   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5436   ;;
5437
5438 *nto* | *qnx*)
5439   lt_cv_deplibs_check_method=pass_all
5440   ;;
5441
5442 openbsd*)
5443   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5444     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5445   else
5446     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5447   fi
5448   ;;
5449
5450 osf3* | osf4* | osf5*)
5451   lt_cv_deplibs_check_method=pass_all
5452   ;;
5453
5454 rdos*)
5455   lt_cv_deplibs_check_method=pass_all
5456   ;;
5457
5458 solaris*)
5459   lt_cv_deplibs_check_method=pass_all
5460   ;;
5461
5462 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5463   lt_cv_deplibs_check_method=pass_all
5464   ;;
5465
5466 sysv4 | sysv4.3*)
5467   case $host_vendor in
5468   motorola)
5469     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]'
5470     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5471     ;;
5472   ncr)
5473     lt_cv_deplibs_check_method=pass_all
5474     ;;
5475   sequent)
5476     lt_cv_file_magic_cmd='/bin/file'
5477     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5478     ;;
5479   sni)
5480     lt_cv_file_magic_cmd='/bin/file'
5481     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5482     lt_cv_file_magic_test_file=/lib/libc.so
5483     ;;
5484   siemens)
5485     lt_cv_deplibs_check_method=pass_all
5486     ;;
5487   pc)
5488     lt_cv_deplibs_check_method=pass_all
5489     ;;
5490   esac
5491   ;;
5492
5493 tpf*)
5494   lt_cv_deplibs_check_method=pass_all
5495   ;;
5496 esac
5497
5498 fi
5499 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5500 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5501 file_magic_cmd=$lt_cv_file_magic_cmd
5502 deplibs_check_method=$lt_cv_deplibs_check_method
5503 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516 if test -n "$ac_tool_prefix"; then
5517   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5518 set dummy ${ac_tool_prefix}ar; ac_word=$2
5519 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5520 $as_echo_n "checking for $ac_word... " >&6; }
5521 if test "${ac_cv_prog_AR+set}" = set; then
5522   $as_echo_n "(cached) " >&6
5523 else
5524   if test -n "$AR"; then
5525   ac_cv_prog_AR="$AR" # Let the user override the test.
5526 else
5527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5528 for as_dir in $PATH
5529 do
5530   IFS=$as_save_IFS
5531   test -z "$as_dir" && as_dir=.
5532   for ac_exec_ext in '' $ac_executable_extensions; do
5533   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5534     ac_cv_prog_AR="${ac_tool_prefix}ar"
5535     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5536     break 2
5537   fi
5538 done
5539 done
5540 IFS=$as_save_IFS
5541
5542 fi
5543 fi
5544 AR=$ac_cv_prog_AR
5545 if test -n "$AR"; then
5546   { $as_echo "$as_me:$LINENO: result: $AR" >&5
5547 $as_echo "$AR" >&6; }
5548 else
5549   { $as_echo "$as_me:$LINENO: result: no" >&5
5550 $as_echo "no" >&6; }
5551 fi
5552
5553
5554 fi
5555 if test -z "$ac_cv_prog_AR"; then
5556   ac_ct_AR=$AR
5557   # Extract the first word of "ar", so it can be a program name with args.
5558 set dummy ar; ac_word=$2
5559 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5560 $as_echo_n "checking for $ac_word... " >&6; }
5561 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5562   $as_echo_n "(cached) " >&6
5563 else
5564   if test -n "$ac_ct_AR"; then
5565   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5566 else
5567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5568 for as_dir in $PATH
5569 do
5570   IFS=$as_save_IFS
5571   test -z "$as_dir" && as_dir=.
5572   for ac_exec_ext in '' $ac_executable_extensions; do
5573   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5574     ac_cv_prog_ac_ct_AR="ar"
5575     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5576     break 2
5577   fi
5578 done
5579 done
5580 IFS=$as_save_IFS
5581
5582 fi
5583 fi
5584 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5585 if test -n "$ac_ct_AR"; then
5586   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5587 $as_echo "$ac_ct_AR" >&6; }
5588 else
5589   { $as_echo "$as_me:$LINENO: result: no" >&5
5590 $as_echo "no" >&6; }
5591 fi
5592
5593   if test "x$ac_ct_AR" = x; then
5594     AR="false"
5595   else
5596     case $cross_compiling:$ac_tool_warned in
5597 yes:)
5598 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5599 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5600 ac_tool_warned=yes ;;
5601 esac
5602     AR=$ac_ct_AR
5603   fi
5604 else
5605   AR="$ac_cv_prog_AR"
5606 fi
5607
5608 test -z "$AR" && AR=ar
5609 test -z "$AR_FLAGS" && AR_FLAGS=cru
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621 if test -n "$ac_tool_prefix"; then
5622   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5623 set dummy ${ac_tool_prefix}strip; ac_word=$2
5624 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5625 $as_echo_n "checking for $ac_word... " >&6; }
5626 if test "${ac_cv_prog_STRIP+set}" = set; then
5627   $as_echo_n "(cached) " >&6
5628 else
5629   if test -n "$STRIP"; then
5630   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5631 else
5632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5633 for as_dir in $PATH
5634 do
5635   IFS=$as_save_IFS
5636   test -z "$as_dir" && as_dir=.
5637   for ac_exec_ext in '' $ac_executable_extensions; do
5638   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5639     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5640     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5641     break 2
5642   fi
5643 done
5644 done
5645 IFS=$as_save_IFS
5646
5647 fi
5648 fi
5649 STRIP=$ac_cv_prog_STRIP
5650 if test -n "$STRIP"; then
5651   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
5652 $as_echo "$STRIP" >&6; }
5653 else
5654   { $as_echo "$as_me:$LINENO: result: no" >&5
5655 $as_echo "no" >&6; }
5656 fi
5657
5658
5659 fi
5660 if test -z "$ac_cv_prog_STRIP"; then
5661   ac_ct_STRIP=$STRIP
5662   # Extract the first word of "strip", so it can be a program name with args.
5663 set dummy strip; ac_word=$2
5664 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5665 $as_echo_n "checking for $ac_word... " >&6; }
5666 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5667   $as_echo_n "(cached) " >&6
5668 else
5669   if test -n "$ac_ct_STRIP"; then
5670   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5671 else
5672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5673 for as_dir in $PATH
5674 do
5675   IFS=$as_save_IFS
5676   test -z "$as_dir" && as_dir=.
5677   for ac_exec_ext in '' $ac_executable_extensions; do
5678   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5679     ac_cv_prog_ac_ct_STRIP="strip"
5680     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5681     break 2
5682   fi
5683 done
5684 done
5685 IFS=$as_save_IFS
5686
5687 fi
5688 fi
5689 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5690 if test -n "$ac_ct_STRIP"; then
5691   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5692 $as_echo "$ac_ct_STRIP" >&6; }
5693 else
5694   { $as_echo "$as_me:$LINENO: result: no" >&5
5695 $as_echo "no" >&6; }
5696 fi
5697
5698   if test "x$ac_ct_STRIP" = x; then
5699     STRIP=":"
5700   else
5701     case $cross_compiling:$ac_tool_warned in
5702 yes:)
5703 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5705 ac_tool_warned=yes ;;
5706 esac
5707     STRIP=$ac_ct_STRIP
5708   fi
5709 else
5710   STRIP="$ac_cv_prog_STRIP"
5711 fi
5712
5713 test -z "$STRIP" && STRIP=:
5714
5715
5716
5717
5718
5719
5720 if test -n "$ac_tool_prefix"; then
5721   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5722 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5723 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5724 $as_echo_n "checking for $ac_word... " >&6; }
5725 if test "${ac_cv_prog_RANLIB+set}" = set; then
5726   $as_echo_n "(cached) " >&6
5727 else
5728   if test -n "$RANLIB"; then
5729   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5730 else
5731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5732 for as_dir in $PATH
5733 do
5734   IFS=$as_save_IFS
5735   test -z "$as_dir" && as_dir=.
5736   for ac_exec_ext in '' $ac_executable_extensions; do
5737   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5738     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5739     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5740     break 2
5741   fi
5742 done
5743 done
5744 IFS=$as_save_IFS
5745
5746 fi
5747 fi
5748 RANLIB=$ac_cv_prog_RANLIB
5749 if test -n "$RANLIB"; then
5750   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
5751 $as_echo "$RANLIB" >&6; }
5752 else
5753   { $as_echo "$as_me:$LINENO: result: no" >&5
5754 $as_echo "no" >&6; }
5755 fi
5756
5757
5758 fi
5759 if test -z "$ac_cv_prog_RANLIB"; then
5760   ac_ct_RANLIB=$RANLIB
5761   # Extract the first word of "ranlib", so it can be a program name with args.
5762 set dummy ranlib; ac_word=$2
5763 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5764 $as_echo_n "checking for $ac_word... " >&6; }
5765 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5766   $as_echo_n "(cached) " >&6
5767 else
5768   if test -n "$ac_ct_RANLIB"; then
5769   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5770 else
5771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5772 for as_dir in $PATH
5773 do
5774   IFS=$as_save_IFS
5775   test -z "$as_dir" && as_dir=.
5776   for ac_exec_ext in '' $ac_executable_extensions; do
5777   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5778     ac_cv_prog_ac_ct_RANLIB="ranlib"
5779     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5780     break 2
5781   fi
5782 done
5783 done
5784 IFS=$as_save_IFS
5785
5786 fi
5787 fi
5788 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5789 if test -n "$ac_ct_RANLIB"; then
5790   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5791 $as_echo "$ac_ct_RANLIB" >&6; }
5792 else
5793   { $as_echo "$as_me:$LINENO: result: no" >&5
5794 $as_echo "no" >&6; }
5795 fi
5796
5797   if test "x$ac_ct_RANLIB" = x; then
5798     RANLIB=":"
5799   else
5800     case $cross_compiling:$ac_tool_warned in
5801 yes:)
5802 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5803 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5804 ac_tool_warned=yes ;;
5805 esac
5806     RANLIB=$ac_ct_RANLIB
5807   fi
5808 else
5809   RANLIB="$ac_cv_prog_RANLIB"
5810 fi
5811
5812 test -z "$RANLIB" && RANLIB=:
5813
5814
5815
5816
5817
5818
5819 # Determine commands to create old-style static archives.
5820 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5821 old_postinstall_cmds='chmod 644 $oldlib'
5822 old_postuninstall_cmds=
5823
5824 if test -n "$RANLIB"; then
5825   case $host_os in
5826   openbsd*)
5827     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5828     ;;
5829   *)
5830     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5831     ;;
5832   esac
5833   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5834 fi
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869 # If no C compiler was specified, use CC.
5870 LTCC=${LTCC-"$CC"}
5871
5872 # If no C compiler flags were specified, use CFLAGS.
5873 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5874
5875 # Allow CC to be a program name with arguments.
5876 compiler=$CC
5877
5878
5879 # Check for command to grab the raw symbol name followed by C symbol from nm.
5880 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5881 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5882 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5883   $as_echo_n "(cached) " >&6
5884 else
5885
5886 # These are sane defaults that work on at least a few old systems.
5887 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5888
5889 # Character class describing NM global symbol codes.
5890 symcode='[BCDEGRST]'
5891
5892 # Regexp to match symbols that can be accessed directly from C.
5893 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5894
5895 # Define system-specific variables.
5896 case $host_os in
5897 aix*)
5898   symcode='[BCDT]'
5899   ;;
5900 cygwin* | mingw* | pw32* | cegcc*)
5901   symcode='[ABCDGISTW]'
5902   ;;
5903 hpux*)
5904   if test "$host_cpu" = ia64; then
5905     symcode='[ABCDEGRST]'
5906   fi
5907   ;;
5908 irix* | nonstopux*)
5909   symcode='[BCDEGRST]'
5910   ;;
5911 osf*)
5912   symcode='[BCDEGQRST]'
5913   ;;
5914 solaris*)
5915   symcode='[BDRT]'
5916   ;;
5917 sco3.2v5*)
5918   symcode='[DT]'
5919   ;;
5920 sysv4.2uw2*)
5921   symcode='[DT]'
5922   ;;
5923 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5924   symcode='[ABDT]'
5925   ;;
5926 sysv4)
5927   symcode='[DFNSTU]'
5928   ;;
5929 esac
5930
5931 # If we're using GNU nm, then use its standard symbol codes.
5932 case `$NM -V 2>&1` in
5933 *GNU* | *'with BFD'*)
5934   symcode='[ABCDGIRSTW]' ;;
5935 esac
5936
5937 # Transform an extracted symbol line into a proper C declaration.
5938 # Some systems (esp. on ia64) link data and code symbols differently,
5939 # so use this general approach.
5940 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5941
5942 # Transform an extracted symbol line into symbol name and symbol address
5943 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5944 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'"
5945
5946 # Handle CRLF in mingw tool chain
5947 opt_cr=
5948 case $build_os in
5949 mingw*)
5950   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5951   ;;
5952 esac
5953
5954 # Try without a prefix underscore, then with it.
5955 for ac_symprfx in "" "_"; do
5956
5957   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5958   symxfrm="\\1 $ac_symprfx\\2 \\2"
5959
5960   # Write the raw and C identifiers.
5961   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5962     # Fake it for dumpbin and say T for any non-static function
5963     # and D for any global variable.
5964     # Also find C++ and __fastcall symbols from MSVC++,
5965     # which start with @ or ?.
5966     lt_cv_sys_global_symbol_pipe="$AWK '"\
5967 "     {last_section=section; section=\$ 3};"\
5968 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5969 "     \$ 0!~/External *\|/{next};"\
5970 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5971 "     {if(hide[section]) next};"\
5972 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5973 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5974 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5975 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5976 "     ' prfx=^$ac_symprfx"
5977   else
5978     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5979   fi
5980
5981   # Check to see that the pipe works correctly.
5982   pipe_works=no
5983
5984   rm -f conftest*
5985   cat > conftest.$ac_ext <<_LT_EOF
5986 #ifdef __cplusplus
5987 extern "C" {
5988 #endif
5989 char nm_test_var;
5990 void nm_test_func(void);
5991 void nm_test_func(void){}
5992 #ifdef __cplusplus
5993 }
5994 #endif
5995 int main(){nm_test_var='a';nm_test_func();return(0);}
5996 _LT_EOF
5997
5998   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5999   (eval $ac_compile) 2>&5
6000   ac_status=$?
6001   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6002   (exit $ac_status); }; then
6003     # Now try to grab the symbols.
6004     nlist=conftest.nm
6005     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6006   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6007   ac_status=$?
6008   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6009   (exit $ac_status); } && test -s "$nlist"; then
6010       # Try sorting and uniquifying the output.
6011       if sort "$nlist" | uniq > "$nlist"T; then
6012         mv -f "$nlist"T "$nlist"
6013       else
6014         rm -f "$nlist"T
6015       fi
6016
6017       # Make sure that we snagged all the symbols we need.
6018       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6019         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6020           cat <<_LT_EOF > conftest.$ac_ext
6021 #ifdef __cplusplus
6022 extern "C" {
6023 #endif
6024
6025 _LT_EOF
6026           # Now generate the symbol file.
6027           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6028
6029           cat <<_LT_EOF >> conftest.$ac_ext
6030
6031 /* The mapping between symbol names and symbols.  */
6032 const struct {
6033   const char *name;
6034   void       *address;
6035 }
6036 lt__PROGRAM__LTX_preloaded_symbols[] =
6037 {
6038   { "@PROGRAM@", (void *) 0 },
6039 _LT_EOF
6040           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6041           cat <<\_LT_EOF >> conftest.$ac_ext
6042   {0, (void *) 0}
6043 };
6044
6045 /* This works around a problem in FreeBSD linker */
6046 #ifdef FREEBSD_WORKAROUND
6047 static const void *lt_preloaded_setup() {
6048   return lt__PROGRAM__LTX_preloaded_symbols;
6049 }
6050 #endif
6051
6052 #ifdef __cplusplus
6053 }
6054 #endif
6055 _LT_EOF
6056           # Now try linking the two files.
6057           mv conftest.$ac_objext conftstm.$ac_objext
6058           lt_save_LIBS="$LIBS"
6059           lt_save_CFLAGS="$CFLAGS"
6060           LIBS="conftstm.$ac_objext"
6061           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6062           if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6063   (eval $ac_link) 2>&5
6064   ac_status=$?
6065   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6066   (exit $ac_status); } && test -s conftest${ac_exeext}; then
6067             pipe_works=yes
6068           fi
6069           LIBS="$lt_save_LIBS"
6070           CFLAGS="$lt_save_CFLAGS"
6071         else
6072           echo "cannot find nm_test_func in $nlist" >&5
6073         fi
6074       else
6075         echo "cannot find nm_test_var in $nlist" >&5
6076       fi
6077     else
6078       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6079     fi
6080   else
6081     echo "$progname: failed program was:" >&5
6082     cat conftest.$ac_ext >&5
6083   fi
6084   rm -rf conftest* conftst*
6085
6086   # Do not use the global_symbol_pipe unless it works.
6087   if test "$pipe_works" = yes; then
6088     break
6089   else
6090     lt_cv_sys_global_symbol_pipe=
6091   fi
6092 done
6093
6094 fi
6095
6096 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6097   lt_cv_sys_global_symbol_to_cdecl=
6098 fi
6099 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6100   { $as_echo "$as_me:$LINENO: result: failed" >&5
6101 $as_echo "failed" >&6; }
6102 else
6103   { $as_echo "$as_me:$LINENO: result: ok" >&5
6104 $as_echo "ok" >&6; }
6105 fi
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128 # Check whether --enable-libtool-lock was given.
6129 if test "${enable_libtool_lock+set}" = set; then
6130   enableval=$enable_libtool_lock;
6131 fi
6132
6133 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6134
6135 # Some flags need to be propagated to the compiler or linker for good
6136 # libtool support.
6137 case $host in
6138 ia64-*-hpux*)
6139   # Find out which ABI we are using.
6140   echo 'int i;' > conftest.$ac_ext
6141   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6142   (eval $ac_compile) 2>&5
6143   ac_status=$?
6144   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6145   (exit $ac_status); }; then
6146     case `/usr/bin/file conftest.$ac_objext` in
6147       *ELF-32*)
6148         HPUX_IA64_MODE="32"
6149         ;;
6150       *ELF-64*)
6151         HPUX_IA64_MODE="64"
6152         ;;
6153     esac
6154   fi
6155   rm -rf conftest*
6156   ;;
6157 *-*-irix6*)
6158   # Find out which ABI we are using.
6159   echo '#line 6159 "configure"' > conftest.$ac_ext
6160   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6161   (eval $ac_compile) 2>&5
6162   ac_status=$?
6163   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6164   (exit $ac_status); }; then
6165     if test "$lt_cv_prog_gnu_ld" = yes; then
6166       case `/usr/bin/file conftest.$ac_objext` in
6167         *32-bit*)
6168           LD="${LD-ld} -melf32bsmip"
6169           ;;
6170         *N32*)
6171           LD="${LD-ld} -melf32bmipn32"
6172           ;;
6173         *64-bit*)
6174           LD="${LD-ld} -melf64bmip"
6175         ;;
6176       esac
6177     else
6178       case `/usr/bin/file conftest.$ac_objext` in
6179         *32-bit*)
6180           LD="${LD-ld} -32"
6181           ;;
6182         *N32*)
6183           LD="${LD-ld} -n32"
6184           ;;
6185         *64-bit*)
6186           LD="${LD-ld} -64"
6187           ;;
6188       esac
6189     fi
6190   fi
6191   rm -rf conftest*
6192   ;;
6193
6194 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6195 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6196   # Find out which ABI we are using.
6197   echo 'int i;' > conftest.$ac_ext
6198   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6199   (eval $ac_compile) 2>&5
6200   ac_status=$?
6201   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6202   (exit $ac_status); }; then
6203     case `/usr/bin/file conftest.o` in
6204       *32-bit*)
6205         case $host in
6206           x86_64-*kfreebsd*-gnu)
6207             LD="${LD-ld} -m elf_i386_fbsd"
6208             ;;
6209           x86_64-*linux*)
6210             LD="${LD-ld} -m elf_i386"
6211             ;;
6212           ppc64-*linux*|powerpc64-*linux*)
6213             LD="${LD-ld} -m elf32ppclinux"
6214             ;;
6215           s390x-*linux*)
6216             LD="${LD-ld} -m elf_s390"
6217             ;;
6218           sparc64-*linux*)
6219             LD="${LD-ld} -m elf32_sparc"
6220             ;;
6221         esac
6222         ;;
6223       *64-bit*)
6224         case $host in
6225           x86_64-*kfreebsd*-gnu)
6226             LD="${LD-ld} -m elf_x86_64_fbsd"
6227             ;;
6228           x86_64-*linux*)
6229             LD="${LD-ld} -m elf_x86_64"
6230             ;;
6231           ppc*-*linux*|powerpc*-*linux*)
6232             LD="${LD-ld} -m elf64ppc"
6233             ;;
6234           s390*-*linux*|s390*-*tpf*)
6235             LD="${LD-ld} -m elf64_s390"
6236             ;;
6237           sparc*-*linux*)
6238             LD="${LD-ld} -m elf64_sparc"
6239             ;;
6240         esac
6241         ;;
6242     esac
6243   fi
6244   rm -rf conftest*
6245   ;;
6246
6247 *-*-sco3.2v5*)
6248   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6249   SAVE_CFLAGS="$CFLAGS"
6250   CFLAGS="$CFLAGS -belf"
6251   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6252 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6253 if test "${lt_cv_cc_needs_belf+set}" = set; then
6254   $as_echo_n "(cached) " >&6
6255 else
6256   ac_ext=c
6257 ac_cpp='$CPP $CPPFLAGS'
6258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6261
6262      cat >conftest.$ac_ext <<_ACEOF
6263 /* confdefs.h.  */
6264 _ACEOF
6265 cat confdefs.h >>conftest.$ac_ext
6266 cat >>conftest.$ac_ext <<_ACEOF
6267 /* end confdefs.h.  */
6268
6269 int
6270 main ()
6271 {
6272
6273   ;
6274   return 0;
6275 }
6276 _ACEOF
6277 rm -f conftest.$ac_objext conftest$ac_exeext
6278 if { (ac_try="$ac_link"
6279 case "(($ac_try" in
6280   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6281   *) ac_try_echo=$ac_try;;
6282 esac
6283 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6284 $as_echo "$ac_try_echo") >&5
6285   (eval "$ac_link") 2>conftest.er1
6286   ac_status=$?
6287   grep -v '^ *+' conftest.er1 >conftest.err
6288   rm -f conftest.er1
6289   cat conftest.err >&5
6290   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291   (exit $ac_status); } && {
6292          test -z "$ac_c_werror_flag" ||
6293          test ! -s conftest.err
6294        } && test -s conftest$ac_exeext && {
6295          test "$cross_compiling" = yes ||
6296          $as_test_x conftest$ac_exeext
6297        }; then
6298   lt_cv_cc_needs_belf=yes
6299 else
6300   $as_echo "$as_me: failed program was:" >&5
6301 sed 's/^/| /' conftest.$ac_ext >&5
6302
6303         lt_cv_cc_needs_belf=no
6304 fi
6305
6306 rm -rf conftest.dSYM
6307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6308       conftest$ac_exeext conftest.$ac_ext
6309      ac_ext=c
6310 ac_cpp='$CPP $CPPFLAGS'
6311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6314
6315 fi
6316 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6317 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6318   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6319     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6320     CFLAGS="$SAVE_CFLAGS"
6321   fi
6322   ;;
6323 sparc*-*solaris*)
6324   # Find out which ABI we are using.
6325   echo 'int i;' > conftest.$ac_ext
6326   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6327   (eval $ac_compile) 2>&5
6328   ac_status=$?
6329   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6330   (exit $ac_status); }; then
6331     case `/usr/bin/file conftest.o` in
6332     *64-bit*)
6333       case $lt_cv_prog_gnu_ld in
6334       yes*) LD="${LD-ld} -m elf64_sparc" ;;
6335       *)
6336         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6337           LD="${LD-ld} -64"
6338         fi
6339         ;;
6340       esac
6341       ;;
6342     esac
6343   fi
6344   rm -rf conftest*
6345   ;;
6346 esac
6347
6348 need_locks="$enable_libtool_lock"
6349
6350
6351   case $host_os in
6352     rhapsody* | darwin*)
6353     if test -n "$ac_tool_prefix"; then
6354   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6355 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6356 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6357 $as_echo_n "checking for $ac_word... " >&6; }
6358 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6359   $as_echo_n "(cached) " >&6
6360 else
6361   if test -n "$DSYMUTIL"; then
6362   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6363 else
6364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6365 for as_dir in $PATH
6366 do
6367   IFS=$as_save_IFS
6368   test -z "$as_dir" && as_dir=.
6369   for ac_exec_ext in '' $ac_executable_extensions; do
6370   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6371     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6372     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6373     break 2
6374   fi
6375 done
6376 done
6377 IFS=$as_save_IFS
6378
6379 fi
6380 fi
6381 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6382 if test -n "$DSYMUTIL"; then
6383   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
6384 $as_echo "$DSYMUTIL" >&6; }
6385 else
6386   { $as_echo "$as_me:$LINENO: result: no" >&5
6387 $as_echo "no" >&6; }
6388 fi
6389
6390
6391 fi
6392 if test -z "$ac_cv_prog_DSYMUTIL"; then
6393   ac_ct_DSYMUTIL=$DSYMUTIL
6394   # Extract the first word of "dsymutil", so it can be a program name with args.
6395 set dummy dsymutil; ac_word=$2
6396 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6397 $as_echo_n "checking for $ac_word... " >&6; }
6398 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
6399   $as_echo_n "(cached) " >&6
6400 else
6401   if test -n "$ac_ct_DSYMUTIL"; then
6402   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6403 else
6404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6405 for as_dir in $PATH
6406 do
6407   IFS=$as_save_IFS
6408   test -z "$as_dir" && as_dir=.
6409   for ac_exec_ext in '' $ac_executable_extensions; do
6410   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6411     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6412     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6413     break 2
6414   fi
6415 done
6416 done
6417 IFS=$as_save_IFS
6418
6419 fi
6420 fi
6421 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6422 if test -n "$ac_ct_DSYMUTIL"; then
6423   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
6424 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6425 else
6426   { $as_echo "$as_me:$LINENO: result: no" >&5
6427 $as_echo "no" >&6; }
6428 fi
6429
6430   if test "x$ac_ct_DSYMUTIL" = x; then
6431     DSYMUTIL=":"
6432   else
6433     case $cross_compiling:$ac_tool_warned in
6434 yes:)
6435 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6437 ac_tool_warned=yes ;;
6438 esac
6439     DSYMUTIL=$ac_ct_DSYMUTIL
6440   fi
6441 else
6442   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6443 fi
6444
6445     if test -n "$ac_tool_prefix"; then
6446   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6447 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6448 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6449 $as_echo_n "checking for $ac_word... " >&6; }
6450 if test "${ac_cv_prog_NMEDIT+set}" = set; then
6451   $as_echo_n "(cached) " >&6
6452 else
6453   if test -n "$NMEDIT"; then
6454   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6455 else
6456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6457 for as_dir in $PATH
6458 do
6459   IFS=$as_save_IFS
6460   test -z "$as_dir" && as_dir=.
6461   for ac_exec_ext in '' $ac_executable_extensions; do
6462   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6463     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6464     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6465     break 2
6466   fi
6467 done
6468 done
6469 IFS=$as_save_IFS
6470
6471 fi
6472 fi
6473 NMEDIT=$ac_cv_prog_NMEDIT
6474 if test -n "$NMEDIT"; then
6475   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
6476 $as_echo "$NMEDIT" >&6; }
6477 else
6478   { $as_echo "$as_me:$LINENO: result: no" >&5
6479 $as_echo "no" >&6; }
6480 fi
6481
6482
6483 fi
6484 if test -z "$ac_cv_prog_NMEDIT"; then
6485   ac_ct_NMEDIT=$NMEDIT
6486   # Extract the first word of "nmedit", so it can be a program name with args.
6487 set dummy nmedit; ac_word=$2
6488 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6489 $as_echo_n "checking for $ac_word... " >&6; }
6490 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6491   $as_echo_n "(cached) " >&6
6492 else
6493   if test -n "$ac_ct_NMEDIT"; then
6494   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6495 else
6496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6497 for as_dir in $PATH
6498 do
6499   IFS=$as_save_IFS
6500   test -z "$as_dir" && as_dir=.
6501   for ac_exec_ext in '' $ac_executable_extensions; do
6502   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6503     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6504     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6505     break 2
6506   fi
6507 done
6508 done
6509 IFS=$as_save_IFS
6510
6511 fi
6512 fi
6513 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6514 if test -n "$ac_ct_NMEDIT"; then
6515   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6516 $as_echo "$ac_ct_NMEDIT" >&6; }
6517 else
6518   { $as_echo "$as_me:$LINENO: result: no" >&5
6519 $as_echo "no" >&6; }
6520 fi
6521
6522   if test "x$ac_ct_NMEDIT" = x; then
6523     NMEDIT=":"
6524   else
6525     case $cross_compiling:$ac_tool_warned in
6526 yes:)
6527 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6528 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6529 ac_tool_warned=yes ;;
6530 esac
6531     NMEDIT=$ac_ct_NMEDIT
6532   fi
6533 else
6534   NMEDIT="$ac_cv_prog_NMEDIT"
6535 fi
6536
6537     if test -n "$ac_tool_prefix"; then
6538   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6539 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6540 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6541 $as_echo_n "checking for $ac_word... " >&6; }
6542 if test "${ac_cv_prog_LIPO+set}" = set; then
6543   $as_echo_n "(cached) " >&6
6544 else
6545   if test -n "$LIPO"; then
6546   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6547 else
6548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6549 for as_dir in $PATH
6550 do
6551   IFS=$as_save_IFS
6552   test -z "$as_dir" && as_dir=.
6553   for ac_exec_ext in '' $ac_executable_extensions; do
6554   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6555     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6556     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6557     break 2
6558   fi
6559 done
6560 done
6561 IFS=$as_save_IFS
6562
6563 fi
6564 fi
6565 LIPO=$ac_cv_prog_LIPO
6566 if test -n "$LIPO"; then
6567   { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
6568 $as_echo "$LIPO" >&6; }
6569 else
6570   { $as_echo "$as_me:$LINENO: result: no" >&5
6571 $as_echo "no" >&6; }
6572 fi
6573
6574
6575 fi
6576 if test -z "$ac_cv_prog_LIPO"; then
6577   ac_ct_LIPO=$LIPO
6578   # Extract the first word of "lipo", so it can be a program name with args.
6579 set dummy lipo; ac_word=$2
6580 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6581 $as_echo_n "checking for $ac_word... " >&6; }
6582 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6583   $as_echo_n "(cached) " >&6
6584 else
6585   if test -n "$ac_ct_LIPO"; then
6586   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6587 else
6588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6589 for as_dir in $PATH
6590 do
6591   IFS=$as_save_IFS
6592   test -z "$as_dir" && as_dir=.
6593   for ac_exec_ext in '' $ac_executable_extensions; do
6594   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6595     ac_cv_prog_ac_ct_LIPO="lipo"
6596     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6597     break 2
6598   fi
6599 done
6600 done
6601 IFS=$as_save_IFS
6602
6603 fi
6604 fi
6605 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6606 if test -n "$ac_ct_LIPO"; then
6607   { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6608 $as_echo "$ac_ct_LIPO" >&6; }
6609 else
6610   { $as_echo "$as_me:$LINENO: result: no" >&5
6611 $as_echo "no" >&6; }
6612 fi
6613
6614   if test "x$ac_ct_LIPO" = x; then
6615     LIPO=":"
6616   else
6617     case $cross_compiling:$ac_tool_warned in
6618 yes:)
6619 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6620 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6621 ac_tool_warned=yes ;;
6622 esac
6623     LIPO=$ac_ct_LIPO
6624   fi
6625 else
6626   LIPO="$ac_cv_prog_LIPO"
6627 fi
6628
6629     if test -n "$ac_tool_prefix"; then
6630   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6631 set dummy ${ac_tool_prefix}otool; ac_word=$2
6632 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6633 $as_echo_n "checking for $ac_word... " >&6; }
6634 if test "${ac_cv_prog_OTOOL+set}" = set; then
6635   $as_echo_n "(cached) " >&6
6636 else
6637   if test -n "$OTOOL"; then
6638   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6639 else
6640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6641 for as_dir in $PATH
6642 do
6643   IFS=$as_save_IFS
6644   test -z "$as_dir" && as_dir=.
6645   for ac_exec_ext in '' $ac_executable_extensions; do
6646   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6647     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6648     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6649     break 2
6650   fi
6651 done
6652 done
6653 IFS=$as_save_IFS
6654
6655 fi
6656 fi
6657 OTOOL=$ac_cv_prog_OTOOL
6658 if test -n "$OTOOL"; then
6659   { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
6660 $as_echo "$OTOOL" >&6; }
6661 else
6662   { $as_echo "$as_me:$LINENO: result: no" >&5
6663 $as_echo "no" >&6; }
6664 fi
6665
6666
6667 fi
6668 if test -z "$ac_cv_prog_OTOOL"; then
6669   ac_ct_OTOOL=$OTOOL
6670   # Extract the first word of "otool", so it can be a program name with args.
6671 set dummy otool; ac_word=$2
6672 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6673 $as_echo_n "checking for $ac_word... " >&6; }
6674 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6675   $as_echo_n "(cached) " >&6
6676 else
6677   if test -n "$ac_ct_OTOOL"; then
6678   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6679 else
6680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6681 for as_dir in $PATH
6682 do
6683   IFS=$as_save_IFS
6684   test -z "$as_dir" && as_dir=.
6685   for ac_exec_ext in '' $ac_executable_extensions; do
6686   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6687     ac_cv_prog_ac_ct_OTOOL="otool"
6688     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6689     break 2
6690   fi
6691 done
6692 done
6693 IFS=$as_save_IFS
6694
6695 fi
6696 fi
6697 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6698 if test -n "$ac_ct_OTOOL"; then
6699   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6700 $as_echo "$ac_ct_OTOOL" >&6; }
6701 else
6702   { $as_echo "$as_me:$LINENO: result: no" >&5
6703 $as_echo "no" >&6; }
6704 fi
6705
6706   if test "x$ac_ct_OTOOL" = x; then
6707     OTOOL=":"
6708   else
6709     case $cross_compiling:$ac_tool_warned in
6710 yes:)
6711 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6712 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6713 ac_tool_warned=yes ;;
6714 esac
6715     OTOOL=$ac_ct_OTOOL
6716   fi
6717 else
6718   OTOOL="$ac_cv_prog_OTOOL"
6719 fi
6720
6721     if test -n "$ac_tool_prefix"; then
6722   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6723 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6724 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6725 $as_echo_n "checking for $ac_word... " >&6; }
6726 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6727   $as_echo_n "(cached) " >&6
6728 else
6729   if test -n "$OTOOL64"; then
6730   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6731 else
6732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6733 for as_dir in $PATH
6734 do
6735   IFS=$as_save_IFS
6736   test -z "$as_dir" && as_dir=.
6737   for ac_exec_ext in '' $ac_executable_extensions; do
6738   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6739     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6740     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6741     break 2
6742   fi
6743 done
6744 done
6745 IFS=$as_save_IFS
6746
6747 fi
6748 fi
6749 OTOOL64=$ac_cv_prog_OTOOL64
6750 if test -n "$OTOOL64"; then
6751   { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
6752 $as_echo "$OTOOL64" >&6; }
6753 else
6754   { $as_echo "$as_me:$LINENO: result: no" >&5
6755 $as_echo "no" >&6; }
6756 fi
6757
6758
6759 fi
6760 if test -z "$ac_cv_prog_OTOOL64"; then
6761   ac_ct_OTOOL64=$OTOOL64
6762   # Extract the first word of "otool64", so it can be a program name with args.
6763 set dummy otool64; ac_word=$2
6764 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6765 $as_echo_n "checking for $ac_word... " >&6; }
6766 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6767   $as_echo_n "(cached) " >&6
6768 else
6769   if test -n "$ac_ct_OTOOL64"; then
6770   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6771 else
6772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6773 for as_dir in $PATH
6774 do
6775   IFS=$as_save_IFS
6776   test -z "$as_dir" && as_dir=.
6777   for ac_exec_ext in '' $ac_executable_extensions; do
6778   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6779     ac_cv_prog_ac_ct_OTOOL64="otool64"
6780     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6781     break 2
6782   fi
6783 done
6784 done
6785 IFS=$as_save_IFS
6786
6787 fi
6788 fi
6789 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6790 if test -n "$ac_ct_OTOOL64"; then
6791   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6792 $as_echo "$ac_ct_OTOOL64" >&6; }
6793 else
6794   { $as_echo "$as_me:$LINENO: result: no" >&5
6795 $as_echo "no" >&6; }
6796 fi
6797
6798   if test "x$ac_ct_OTOOL64" = x; then
6799     OTOOL64=":"
6800   else
6801     case $cross_compiling:$ac_tool_warned in
6802 yes:)
6803 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6804 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6805 ac_tool_warned=yes ;;
6806 esac
6807     OTOOL64=$ac_ct_OTOOL64
6808   fi
6809 else
6810   OTOOL64="$ac_cv_prog_OTOOL64"
6811 fi
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6840 $as_echo_n "checking for -single_module linker flag... " >&6; }
6841 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6842   $as_echo_n "(cached) " >&6
6843 else
6844   lt_cv_apple_cc_single_mod=no
6845       if test -z "${LT_MULTI_MODULE}"; then
6846         # By default we will add the -single_module flag. You can override
6847         # by either setting the environment variable LT_MULTI_MODULE
6848         # non-empty at configure time, or by adding -multi_module to the
6849         # link flags.
6850         rm -rf libconftest.dylib*
6851         echo "int foo(void){return 1;}" > conftest.c
6852         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6853 -dynamiclib -Wl,-single_module conftest.c" >&5
6854         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6855           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6856         _lt_result=$?
6857         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6858           lt_cv_apple_cc_single_mod=yes
6859         else
6860           cat conftest.err >&5
6861         fi
6862         rm -rf libconftest.dylib*
6863         rm -f conftest.*
6864       fi
6865 fi
6866 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6867 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6868     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6869 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6870 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6871   $as_echo_n "(cached) " >&6
6872 else
6873   lt_cv_ld_exported_symbols_list=no
6874       save_LDFLAGS=$LDFLAGS
6875       echo "_main" > conftest.sym
6876       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6877       cat >conftest.$ac_ext <<_ACEOF
6878 /* confdefs.h.  */
6879 _ACEOF
6880 cat confdefs.h >>conftest.$ac_ext
6881 cat >>conftest.$ac_ext <<_ACEOF
6882 /* end confdefs.h.  */
6883
6884 int
6885 main ()
6886 {
6887
6888   ;
6889   return 0;
6890 }
6891 _ACEOF
6892 rm -f conftest.$ac_objext conftest$ac_exeext
6893 if { (ac_try="$ac_link"
6894 case "(($ac_try" in
6895   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6896   *) ac_try_echo=$ac_try;;
6897 esac
6898 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6899 $as_echo "$ac_try_echo") >&5
6900   (eval "$ac_link") 2>conftest.er1
6901   ac_status=$?
6902   grep -v '^ *+' conftest.er1 >conftest.err
6903   rm -f conftest.er1
6904   cat conftest.err >&5
6905   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6906   (exit $ac_status); } && {
6907          test -z "$ac_c_werror_flag" ||
6908          test ! -s conftest.err
6909        } && test -s conftest$ac_exeext && {
6910          test "$cross_compiling" = yes ||
6911          $as_test_x conftest$ac_exeext
6912        }; then
6913   lt_cv_ld_exported_symbols_list=yes
6914 else
6915   $as_echo "$as_me: failed program was:" >&5
6916 sed 's/^/| /' conftest.$ac_ext >&5
6917
6918         lt_cv_ld_exported_symbols_list=no
6919 fi
6920
6921 rm -rf conftest.dSYM
6922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6923       conftest$ac_exeext conftest.$ac_ext
6924         LDFLAGS="$save_LDFLAGS"
6925
6926 fi
6927 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6928 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6929     case $host_os in
6930     rhapsody* | darwin1.[012])
6931       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6932     darwin1.*)
6933       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6934     darwin*) # darwin 5.x on
6935       # if running on 10.5 or later, the deployment target defaults
6936       # to the OS version, if on x86, and 10.4, the deployment
6937       # target defaults to 10.4. Don't you love it?
6938       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6939         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6940           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6941         10.[012]*)
6942           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6943         10.*)
6944           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6945       esac
6946     ;;
6947   esac
6948     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6949       _lt_dar_single_mod='$single_module'
6950     fi
6951     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6952       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6953     else
6954       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6955     fi
6956     if test "$DSYMUTIL" != ":"; then
6957       _lt_dsymutil='~$DSYMUTIL $lib || :'
6958     else
6959       _lt_dsymutil=
6960     fi
6961     ;;
6962   esac
6963
6964 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6975                   inttypes.h stdint.h unistd.h
6976 do
6977 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6978 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6979 $as_echo_n "checking for $ac_header... " >&6; }
6980 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6981   $as_echo_n "(cached) " >&6
6982 else
6983   cat >conftest.$ac_ext <<_ACEOF
6984 /* confdefs.h.  */
6985 _ACEOF
6986 cat confdefs.h >>conftest.$ac_ext
6987 cat >>conftest.$ac_ext <<_ACEOF
6988 /* end confdefs.h.  */
6989 $ac_includes_default
6990
6991 #include <$ac_header>
6992 _ACEOF
6993 rm -f conftest.$ac_objext
6994 if { (ac_try="$ac_compile"
6995 case "(($ac_try" in
6996   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6997   *) ac_try_echo=$ac_try;;
6998 esac
6999 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7000 $as_echo "$ac_try_echo") >&5
7001   (eval "$ac_compile") 2>conftest.er1
7002   ac_status=$?
7003   grep -v '^ *+' conftest.er1 >conftest.err
7004   rm -f conftest.er1
7005   cat conftest.err >&5
7006   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7007   (exit $ac_status); } && {
7008          test -z "$ac_c_werror_flag" ||
7009          test ! -s conftest.err
7010        } && test -s conftest.$ac_objext; then
7011   eval "$as_ac_Header=yes"
7012 else
7013   $as_echo "$as_me: failed program was:" >&5
7014 sed 's/^/| /' conftest.$ac_ext >&5
7015
7016         eval "$as_ac_Header=no"
7017 fi
7018
7019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7020 fi
7021 ac_res=`eval 'as_val=${'$as_ac_Header'}
7022                  $as_echo "$as_val"'`
7023                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7024 $as_echo "$ac_res" >&6; }
7025 as_val=`eval 'as_val=${'$as_ac_Header'}
7026                  $as_echo "$as_val"'`
7027    if test "x$as_val" = x""yes; then
7028   cat >>confdefs.h <<_ACEOF
7029 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7030 _ACEOF
7031
7032 fi
7033
7034 done
7035
7036
7037
7038 for ac_header in dlfcn.h
7039 do
7040 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7041 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7042 $as_echo_n "checking for $ac_header... " >&6; }
7043 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7044   $as_echo_n "(cached) " >&6
7045 else
7046   cat >conftest.$ac_ext <<_ACEOF
7047 /* confdefs.h.  */
7048 _ACEOF
7049 cat confdefs.h >>conftest.$ac_ext
7050 cat >>conftest.$ac_ext <<_ACEOF
7051 /* end confdefs.h.  */
7052 $ac_includes_default
7053
7054 #include <$ac_header>
7055 _ACEOF
7056 rm -f conftest.$ac_objext
7057 if { (ac_try="$ac_compile"
7058 case "(($ac_try" in
7059   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7060   *) ac_try_echo=$ac_try;;
7061 esac
7062 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7063 $as_echo "$ac_try_echo") >&5
7064   (eval "$ac_compile") 2>conftest.er1
7065   ac_status=$?
7066   grep -v '^ *+' conftest.er1 >conftest.err
7067   rm -f conftest.er1
7068   cat conftest.err >&5
7069   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7070   (exit $ac_status); } && {
7071          test -z "$ac_c_werror_flag" ||
7072          test ! -s conftest.err
7073        } && test -s conftest.$ac_objext; then
7074   eval "$as_ac_Header=yes"
7075 else
7076   $as_echo "$as_me: failed program was:" >&5
7077 sed 's/^/| /' conftest.$ac_ext >&5
7078
7079         eval "$as_ac_Header=no"
7080 fi
7081
7082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7083 fi
7084 ac_res=`eval 'as_val=${'$as_ac_Header'}
7085                  $as_echo "$as_val"'`
7086                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7087 $as_echo "$ac_res" >&6; }
7088 as_val=`eval 'as_val=${'$as_ac_Header'}
7089                  $as_echo "$as_val"'`
7090    if test "x$as_val" = x""yes; then
7091   cat >>confdefs.h <<_ACEOF
7092 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7093 _ACEOF
7094
7095 fi
7096
7097 done
7098
7099
7100
7101 # Set options
7102
7103
7104
7105         enable_dlopen=no
7106
7107
7108   enable_win32_dll=no
7109
7110
7111             # Check whether --enable-shared was given.
7112 if test "${enable_shared+set}" = set; then
7113   enableval=$enable_shared; p=${PACKAGE-default}
7114     case $enableval in
7115     yes) enable_shared=yes ;;
7116     no) enable_shared=no ;;
7117     *)
7118       enable_shared=no
7119       # Look at the argument we got.  We use all the common list separators.
7120       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7121       for pkg in $enableval; do
7122         IFS="$lt_save_ifs"
7123         if test "X$pkg" = "X$p"; then
7124           enable_shared=yes
7125         fi
7126       done
7127       IFS="$lt_save_ifs"
7128       ;;
7129     esac
7130 else
7131   enable_shared=yes
7132 fi
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142   # Check whether --enable-static was given.
7143 if test "${enable_static+set}" = set; then
7144   enableval=$enable_static; p=${PACKAGE-default}
7145     case $enableval in
7146     yes) enable_static=yes ;;
7147     no) enable_static=no ;;
7148     *)
7149      enable_static=no
7150       # Look at the argument we got.  We use all the common list separators.
7151       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7152       for pkg in $enableval; do
7153         IFS="$lt_save_ifs"
7154         if test "X$pkg" = "X$p"; then
7155           enable_static=yes
7156         fi
7157       done
7158       IFS="$lt_save_ifs"
7159       ;;
7160     esac
7161 else
7162   enable_static=yes
7163 fi
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174 # Check whether --with-pic was given.
7175 if test "${with_pic+set}" = set; then
7176   withval=$with_pic; pic_mode="$withval"
7177 else
7178   pic_mode=default
7179 fi
7180
7181
7182 test -z "$pic_mode" && pic_mode=default
7183
7184
7185
7186
7187
7188
7189
7190   # Check whether --enable-fast-install was given.
7191 if test "${enable_fast_install+set}" = set; then
7192   enableval=$enable_fast_install; p=${PACKAGE-default}
7193     case $enableval in
7194     yes) enable_fast_install=yes ;;
7195     no) enable_fast_install=no ;;
7196     *)
7197       enable_fast_install=no
7198       # Look at the argument we got.  We use all the common list separators.
7199       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7200       for pkg in $enableval; do
7201         IFS="$lt_save_ifs"
7202         if test "X$pkg" = "X$p"; then
7203           enable_fast_install=yes
7204         fi
7205       done
7206       IFS="$lt_save_ifs"
7207       ;;
7208     esac
7209 else
7210   enable_fast_install=yes
7211 fi
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223 # This can be used to rebuild libtool when needed
7224 LIBTOOL_DEPS="$ltmain"
7225
7226 # Always use our own libtool.
7227 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253 test -z "$LN_S" && LN_S="ln -s"
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268 if test -n "${ZSH_VERSION+set}" ; then
7269    setopt NO_GLOB_SUBST
7270 fi
7271
7272 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
7273 $as_echo_n "checking for objdir... " >&6; }
7274 if test "${lt_cv_objdir+set}" = set; then
7275   $as_echo_n "(cached) " >&6
7276 else
7277   rm -f .libs 2>/dev/null
7278 mkdir .libs 2>/dev/null
7279 if test -d .libs; then
7280   lt_cv_objdir=.libs
7281 else
7282   # MS-DOS does not allow filenames that begin with a dot.
7283   lt_cv_objdir=_libs
7284 fi
7285 rmdir .libs 2>/dev/null
7286 fi
7287 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7288 $as_echo "$lt_cv_objdir" >&6; }
7289 objdir=$lt_cv_objdir
7290
7291
7292
7293
7294
7295 cat >>confdefs.h <<_ACEOF
7296 #define LT_OBJDIR "$lt_cv_objdir/"
7297 _ACEOF
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315 case $host_os in
7316 aix3*)
7317   # AIX sometimes has problems with the GCC collect2 program.  For some
7318   # reason, if we set the COLLECT_NAMES environment variable, the problems
7319   # vanish in a puff of smoke.
7320   if test "X${COLLECT_NAMES+set}" != Xset; then
7321     COLLECT_NAMES=
7322     export COLLECT_NAMES
7323   fi
7324   ;;
7325 esac
7326
7327 # Sed substitution that helps us do robust quoting.  It backslashifies
7328 # metacharacters that are still active within double-quoted strings.
7329 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7330
7331 # Same as above, but do not quote variable references.
7332 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7333
7334 # Sed substitution to delay expansion of an escaped shell variable in a
7335 # double_quote_subst'ed string.
7336 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7337
7338 # Sed substitution to delay expansion of an escaped single quote.
7339 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7340
7341 # Sed substitution to avoid accidental globbing in evaled expressions
7342 no_glob_subst='s/\*/\\\*/g'
7343
7344 # Global variables:
7345 ofile=libtool
7346 can_build_shared=yes
7347
7348 # All known linkers require a `.a' archive for static linking (except MSVC,
7349 # which needs '.lib').
7350 libext=a
7351
7352 with_gnu_ld="$lt_cv_prog_gnu_ld"
7353
7354 old_CC="$CC"
7355 old_CFLAGS="$CFLAGS"
7356
7357 # Set sane defaults for various variables
7358 test -z "$CC" && CC=cc
7359 test -z "$LTCC" && LTCC=$CC
7360 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7361 test -z "$LD" && LD=ld
7362 test -z "$ac_objext" && ac_objext=o
7363
7364 for cc_temp in $compiler""; do
7365   case $cc_temp in
7366     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7367     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7368     \-*) ;;
7369     *) break;;
7370   esac
7371 done
7372 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7373
7374
7375 # Only perform the check for file, if the check method requires it
7376 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7377 case $deplibs_check_method in
7378 file_magic*)
7379   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7380     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7381 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7382 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7383   $as_echo_n "(cached) " >&6
7384 else
7385   case $MAGIC_CMD in
7386 [\\/*] |  ?:[\\/]*)
7387   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7388   ;;
7389 *)
7390   lt_save_MAGIC_CMD="$MAGIC_CMD"
7391   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7392   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7393   for ac_dir in $ac_dummy; do
7394     IFS="$lt_save_ifs"
7395     test -z "$ac_dir" && ac_dir=.
7396     if test -f $ac_dir/${ac_tool_prefix}file; then
7397       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7398       if test -n "$file_magic_test_file"; then
7399         case $deplibs_check_method in
7400         "file_magic "*)
7401           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7402           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7403           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7404             $EGREP "$file_magic_regex" > /dev/null; then
7405             :
7406           else
7407             cat <<_LT_EOF 1>&2
7408
7409 *** Warning: the command libtool uses to detect shared libraries,
7410 *** $file_magic_cmd, produces output that libtool cannot recognize.
7411 *** The result is that libtool may fail to recognize shared libraries
7412 *** as such.  This will affect the creation of libtool libraries that
7413 *** depend on shared libraries, but programs linked with such libtool
7414 *** libraries will work regardless of this problem.  Nevertheless, you
7415 *** may want to report the problem to your system manager and/or to
7416 *** bug-libtool@gnu.org
7417
7418 _LT_EOF
7419           fi ;;
7420         esac
7421       fi
7422       break
7423     fi
7424   done
7425   IFS="$lt_save_ifs"
7426   MAGIC_CMD="$lt_save_MAGIC_CMD"
7427   ;;
7428 esac
7429 fi
7430
7431 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7432 if test -n "$MAGIC_CMD"; then
7433   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7434 $as_echo "$MAGIC_CMD" >&6; }
7435 else
7436   { $as_echo "$as_me:$LINENO: result: no" >&5
7437 $as_echo "no" >&6; }
7438 fi
7439
7440
7441
7442
7443
7444 if test -z "$lt_cv_path_MAGIC_CMD"; then
7445   if test -n "$ac_tool_prefix"; then
7446     { $as_echo "$as_me:$LINENO: checking for file" >&5
7447 $as_echo_n "checking for file... " >&6; }
7448 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7449   $as_echo_n "(cached) " >&6
7450 else
7451   case $MAGIC_CMD in
7452 [\\/*] |  ?:[\\/]*)
7453   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7454   ;;
7455 *)
7456   lt_save_MAGIC_CMD="$MAGIC_CMD"
7457   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7458   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7459   for ac_dir in $ac_dummy; do
7460     IFS="$lt_save_ifs"
7461     test -z "$ac_dir" && ac_dir=.
7462     if test -f $ac_dir/file; then
7463       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7464       if test -n "$file_magic_test_file"; then
7465         case $deplibs_check_method in
7466         "file_magic "*)
7467           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7468           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7469           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7470             $EGREP "$file_magic_regex" > /dev/null; then
7471             :
7472           else
7473             cat <<_LT_EOF 1>&2
7474
7475 *** Warning: the command libtool uses to detect shared libraries,
7476 *** $file_magic_cmd, produces output that libtool cannot recognize.
7477 *** The result is that libtool may fail to recognize shared libraries
7478 *** as such.  This will affect the creation of libtool libraries that
7479 *** depend on shared libraries, but programs linked with such libtool
7480 *** libraries will work regardless of this problem.  Nevertheless, you
7481 *** may want to report the problem to your system manager and/or to
7482 *** bug-libtool@gnu.org
7483
7484 _LT_EOF
7485           fi ;;
7486         esac
7487       fi
7488       break
7489     fi
7490   done
7491   IFS="$lt_save_ifs"
7492   MAGIC_CMD="$lt_save_MAGIC_CMD"
7493   ;;
7494 esac
7495 fi
7496
7497 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7498 if test -n "$MAGIC_CMD"; then
7499   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7500 $as_echo "$MAGIC_CMD" >&6; }
7501 else
7502   { $as_echo "$as_me:$LINENO: result: no" >&5
7503 $as_echo "no" >&6; }
7504 fi
7505
7506
7507   else
7508     MAGIC_CMD=:
7509   fi
7510 fi
7511
7512   fi
7513   ;;
7514 esac
7515
7516 # Use C for the default configuration in the libtool script
7517
7518 lt_save_CC="$CC"
7519 ac_ext=c
7520 ac_cpp='$CPP $CPPFLAGS'
7521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7524
7525
7526 # Source file extension for C test sources.
7527 ac_ext=c
7528
7529 # Object file extension for compiled C test sources.
7530 objext=o
7531 objext=$objext
7532
7533 # Code to be used in simple compile tests
7534 lt_simple_compile_test_code="int some_variable = 0;"
7535
7536 # Code to be used in simple link tests
7537 lt_simple_link_test_code='int main(){return(0);}'
7538
7539
7540
7541
7542
7543
7544
7545 # If no C compiler was specified, use CC.
7546 LTCC=${LTCC-"$CC"}
7547
7548 # If no C compiler flags were specified, use CFLAGS.
7549 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7550
7551 # Allow CC to be a program name with arguments.
7552 compiler=$CC
7553
7554 # Save the default compiler, since it gets overwritten when the other
7555 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7556 compiler_DEFAULT=$CC
7557
7558 # save warnings/boilerplate of simple test code
7559 ac_outfile=conftest.$ac_objext
7560 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7561 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7562 _lt_compiler_boilerplate=`cat conftest.err`
7563 $RM conftest*
7564
7565 ac_outfile=conftest.$ac_objext
7566 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7567 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7568 _lt_linker_boilerplate=`cat conftest.err`
7569 $RM -r conftest*
7570
7571
7572 if test -n "$compiler"; then
7573
7574 lt_prog_compiler_no_builtin_flag=
7575
7576 if test "$GCC" = yes; then
7577   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7578
7579   { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7580 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7581 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7582   $as_echo_n "(cached) " >&6
7583 else
7584   lt_cv_prog_compiler_rtti_exceptions=no
7585    ac_outfile=conftest.$ac_objext
7586    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7587    lt_compiler_flag="-fno-rtti -fno-exceptions"
7588    # Insert the option either (1) after the last *FLAGS variable, or
7589    # (2) before a word containing "conftest.", or (3) at the end.
7590    # Note that $ac_compile itself does not contain backslashes and begins
7591    # with a dollar sign (not a hyphen), so the echo should work correctly.
7592    # The option is referenced via a variable to avoid confusing sed.
7593    lt_compile=`echo "$ac_compile" | $SED \
7594    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7595    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7596    -e 's:$: $lt_compiler_flag:'`
7597    (eval echo "\"\$as_me:7597: $lt_compile\"" >&5)
7598    (eval "$lt_compile" 2>conftest.err)
7599    ac_status=$?
7600    cat conftest.err >&5
7601    echo "$as_me:7601: \$? = $ac_status" >&5
7602    if (exit $ac_status) && test -s "$ac_outfile"; then
7603      # The compiler can only warn and ignore the option if not recognized
7604      # So say no if there are warnings other than the usual output.
7605      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7606      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7607      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7608        lt_cv_prog_compiler_rtti_exceptions=yes
7609      fi
7610    fi
7611    $RM conftest*
7612
7613 fi
7614 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7615 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7616
7617 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7618     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7619 else
7620     :
7621 fi
7622
7623 fi
7624
7625
7626
7627
7628
7629
7630   lt_prog_compiler_wl=
7631 lt_prog_compiler_pic=
7632 lt_prog_compiler_static=
7633
7634 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7635 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7636
7637   if test "$GCC" = yes; then
7638     lt_prog_compiler_wl='-Wl,'
7639     lt_prog_compiler_static='-static'
7640
7641     case $host_os in
7642       aix*)
7643       # All AIX code is PIC.
7644       if test "$host_cpu" = ia64; then
7645         # AIX 5 now supports IA64 processor
7646         lt_prog_compiler_static='-Bstatic'
7647       fi
7648       ;;
7649
7650     amigaos*)
7651       case $host_cpu in
7652       powerpc)
7653             # see comment about AmigaOS4 .so support
7654             lt_prog_compiler_pic='-fPIC'
7655         ;;
7656       m68k)
7657             # FIXME: we need at least 68020 code to build shared libraries, but
7658             # adding the `-m68020' flag to GCC prevents building anything better,
7659             # like `-m68040'.
7660             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7661         ;;
7662       esac
7663       ;;
7664
7665     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7666       # PIC is the default for these OSes.
7667       ;;
7668
7669     mingw* | cygwin* | pw32* | os2* | cegcc*)
7670       # This hack is so that the source file can tell whether it is being
7671       # built for inclusion in a dll (and should export symbols for example).
7672       # Although the cygwin gcc ignores -fPIC, still need this for old-style
7673       # (--disable-auto-import) libraries
7674       lt_prog_compiler_pic='-DDLL_EXPORT'
7675       ;;
7676
7677     darwin* | rhapsody*)
7678       # PIC is the default on this platform
7679       # Common symbols not allowed in MH_DYLIB files
7680       lt_prog_compiler_pic='-fno-common'
7681       ;;
7682
7683     hpux*)
7684       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7685       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7686       # sets the default TLS model and affects inlining.
7687       case $host_cpu in
7688       hppa*64*)
7689         # +Z the default
7690         ;;
7691       *)
7692         lt_prog_compiler_pic='-fPIC'
7693         ;;
7694       esac
7695       ;;
7696
7697     interix[3-9]*)
7698       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7699       # Instead, we relocate shared libraries at runtime.
7700       ;;
7701
7702     msdosdjgpp*)
7703       # Just because we use GCC doesn't mean we suddenly get shared libraries
7704       # on systems that don't support them.
7705       lt_prog_compiler_can_build_shared=no
7706       enable_shared=no
7707       ;;
7708
7709     *nto* | *qnx*)
7710       # QNX uses GNU C++, but need to define -shared option too, otherwise
7711       # it will coredump.
7712       lt_prog_compiler_pic='-fPIC -shared'
7713       ;;
7714
7715     sysv4*MP*)
7716       if test -d /usr/nec; then
7717         lt_prog_compiler_pic=-Kconform_pic
7718       fi
7719       ;;
7720
7721     *)
7722       lt_prog_compiler_pic='-fPIC'
7723       ;;
7724     esac
7725   else
7726     # PORTME Check for flag to pass linker flags through the system compiler.
7727     case $host_os in
7728     aix*)
7729       lt_prog_compiler_wl='-Wl,'
7730       if test "$host_cpu" = ia64; then
7731         # AIX 5 now supports IA64 processor
7732         lt_prog_compiler_static='-Bstatic'
7733       else
7734         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7735       fi
7736       ;;
7737
7738     mingw* | cygwin* | pw32* | os2* | cegcc*)
7739       # This hack is so that the source file can tell whether it is being
7740       # built for inclusion in a dll (and should export symbols for example).
7741       lt_prog_compiler_pic='-DDLL_EXPORT'
7742       ;;
7743
7744     hpux9* | hpux10* | hpux11*)
7745       lt_prog_compiler_wl='-Wl,'
7746       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7747       # not for PA HP-UX.
7748       case $host_cpu in
7749       hppa*64*|ia64*)
7750         # +Z the default
7751         ;;
7752       *)
7753         lt_prog_compiler_pic='+Z'
7754         ;;
7755       esac
7756       # Is there a better lt_prog_compiler_static that works with the bundled CC?
7757       lt_prog_compiler_static='${wl}-a ${wl}archive'
7758       ;;
7759
7760     irix5* | irix6* | nonstopux*)
7761       lt_prog_compiler_wl='-Wl,'
7762       # PIC (with -KPIC) is the default.
7763       lt_prog_compiler_static='-non_shared'
7764       ;;
7765
7766     linux* | k*bsd*-gnu)
7767       case $cc_basename in
7768       # old Intel for x86_64 which still supported -KPIC.
7769       ecc*)
7770         lt_prog_compiler_wl='-Wl,'
7771         lt_prog_compiler_pic='-KPIC'
7772         lt_prog_compiler_static='-static'
7773         ;;
7774       # icc used to be incompatible with GCC.
7775       # ICC 10 doesn't accept -KPIC any more.
7776       icc* | ifort*)
7777         lt_prog_compiler_wl='-Wl,'
7778         lt_prog_compiler_pic='-fPIC'
7779         lt_prog_compiler_static='-static'
7780         ;;
7781       # Lahey Fortran 8.1.
7782       lf95*)
7783         lt_prog_compiler_wl='-Wl,'
7784         lt_prog_compiler_pic='--shared'
7785         lt_prog_compiler_static='--static'
7786         ;;
7787       pgcc* | pgf77* | pgf90* | pgf95*)
7788         # Portland Group compilers (*not* the Pentium gcc compiler,
7789         # which looks to be a dead project)
7790         lt_prog_compiler_wl='-Wl,'
7791         lt_prog_compiler_pic='-fpic'
7792         lt_prog_compiler_static='-Bstatic'
7793         ;;
7794       ccc*)
7795         lt_prog_compiler_wl='-Wl,'
7796         # All Alpha code is PIC.
7797         lt_prog_compiler_static='-non_shared'
7798         ;;
7799       xl*)
7800         # IBM XL C 8.0/Fortran 10.1 on PPC
7801         lt_prog_compiler_wl='-Wl,'
7802         lt_prog_compiler_pic='-qpic'
7803         lt_prog_compiler_static='-qstaticlink'
7804         ;;
7805       *)
7806         case `$CC -V 2>&1 | sed 5q` in
7807         *Sun\ C*)
7808           # Sun C 5.9
7809           lt_prog_compiler_pic='-KPIC'
7810           lt_prog_compiler_static='-Bstatic'
7811           lt_prog_compiler_wl='-Wl,'
7812           ;;
7813         *Sun\ F*)
7814           # Sun Fortran 8.3 passes all unrecognized flags to the linker
7815           lt_prog_compiler_pic='-KPIC'
7816           lt_prog_compiler_static='-Bstatic'
7817           lt_prog_compiler_wl=''
7818           ;;
7819         esac
7820         ;;
7821       esac
7822       ;;
7823
7824     newsos6)
7825       lt_prog_compiler_pic='-KPIC'
7826       lt_prog_compiler_static='-Bstatic'
7827       ;;
7828
7829     *nto* | *qnx*)
7830       # QNX uses GNU C++, but need to define -shared option too, otherwise
7831       # it will coredump.
7832       lt_prog_compiler_pic='-fPIC -shared'
7833       ;;
7834
7835     osf3* | osf4* | osf5*)
7836       lt_prog_compiler_wl='-Wl,'
7837       # All OSF/1 code is PIC.
7838       lt_prog_compiler_static='-non_shared'
7839       ;;
7840
7841     rdos*)
7842       lt_prog_compiler_static='-non_shared'
7843       ;;
7844
7845     solaris*)
7846       lt_prog_compiler_pic='-KPIC'
7847       lt_prog_compiler_static='-Bstatic'
7848       case $cc_basename in
7849       f77* | f90* | f95*)
7850         lt_prog_compiler_wl='-Qoption ld ';;
7851       *)
7852         lt_prog_compiler_wl='-Wl,';;
7853       esac
7854       ;;
7855
7856     sunos4*)
7857       lt_prog_compiler_wl='-Qoption ld '
7858       lt_prog_compiler_pic='-PIC'
7859       lt_prog_compiler_static='-Bstatic'
7860       ;;
7861
7862     sysv4 | sysv4.2uw2* | sysv4.3*)
7863       lt_prog_compiler_wl='-Wl,'
7864       lt_prog_compiler_pic='-KPIC'
7865       lt_prog_compiler_static='-Bstatic'
7866       ;;
7867
7868     sysv4*MP*)
7869       if test -d /usr/nec ;then
7870         lt_prog_compiler_pic='-Kconform_pic'
7871         lt_prog_compiler_static='-Bstatic'
7872       fi
7873       ;;
7874
7875     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7876       lt_prog_compiler_wl='-Wl,'
7877       lt_prog_compiler_pic='-KPIC'
7878       lt_prog_compiler_static='-Bstatic'
7879       ;;
7880
7881     unicos*)
7882       lt_prog_compiler_wl='-Wl,'
7883       lt_prog_compiler_can_build_shared=no
7884       ;;
7885
7886     uts4*)
7887       lt_prog_compiler_pic='-pic'
7888       lt_prog_compiler_static='-Bstatic'
7889       ;;
7890
7891     *)
7892       lt_prog_compiler_can_build_shared=no
7893       ;;
7894     esac
7895   fi
7896
7897 case $host_os in
7898   # For platforms which do not support PIC, -DPIC is meaningless:
7899   *djgpp*)
7900     lt_prog_compiler_pic=
7901     ;;
7902   *)
7903     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7904     ;;
7905 esac
7906 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7907 $as_echo "$lt_prog_compiler_pic" >&6; }
7908
7909
7910
7911
7912
7913
7914 #
7915 # Check to make sure the PIC flag actually works.
7916 #
7917 if test -n "$lt_prog_compiler_pic"; then
7918   { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7919 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7920 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7921   $as_echo_n "(cached) " >&6
7922 else
7923   lt_cv_prog_compiler_pic_works=no
7924    ac_outfile=conftest.$ac_objext
7925    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7926    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7927    # Insert the option either (1) after the last *FLAGS variable, or
7928    # (2) before a word containing "conftest.", or (3) at the end.
7929    # Note that $ac_compile itself does not contain backslashes and begins
7930    # with a dollar sign (not a hyphen), so the echo should work correctly.
7931    # The option is referenced via a variable to avoid confusing sed.
7932    lt_compile=`echo "$ac_compile" | $SED \
7933    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7934    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7935    -e 's:$: $lt_compiler_flag:'`
7936    (eval echo "\"\$as_me:7936: $lt_compile\"" >&5)
7937    (eval "$lt_compile" 2>conftest.err)
7938    ac_status=$?
7939    cat conftest.err >&5
7940    echo "$as_me:7940: \$? = $ac_status" >&5
7941    if (exit $ac_status) && test -s "$ac_outfile"; then
7942      # The compiler can only warn and ignore the option if not recognized
7943      # So say no if there are warnings other than the usual output.
7944      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7945      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7946      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7947        lt_cv_prog_compiler_pic_works=yes
7948      fi
7949    fi
7950    $RM conftest*
7951
7952 fi
7953 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7954 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7955
7956 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7957     case $lt_prog_compiler_pic in
7958      "" | " "*) ;;
7959      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7960      esac
7961 else
7962     lt_prog_compiler_pic=
7963      lt_prog_compiler_can_build_shared=no
7964 fi
7965
7966 fi
7967
7968
7969
7970
7971
7972
7973 #
7974 # Check to make sure the static flag actually works.
7975 #
7976 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7977 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7978 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7979 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7980   $as_echo_n "(cached) " >&6
7981 else
7982   lt_cv_prog_compiler_static_works=no
7983    save_LDFLAGS="$LDFLAGS"
7984    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7985    echo "$lt_simple_link_test_code" > conftest.$ac_ext
7986    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7987      # The linker can only warn and ignore the option if not recognized
7988      # So say no if there are warnings
7989      if test -s conftest.err; then
7990        # Append any errors to the config.log.
7991        cat conftest.err 1>&5
7992        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7993        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7994        if diff conftest.exp conftest.er2 >/dev/null; then
7995          lt_cv_prog_compiler_static_works=yes
7996        fi
7997      else
7998        lt_cv_prog_compiler_static_works=yes
7999      fi
8000    fi
8001    $RM -r conftest*
8002    LDFLAGS="$save_LDFLAGS"
8003
8004 fi
8005 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8006 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8007
8008 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8009     :
8010 else
8011     lt_prog_compiler_static=
8012 fi
8013
8014
8015
8016
8017
8018
8019
8020   { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8021 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8022 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8023   $as_echo_n "(cached) " >&6
8024 else
8025   lt_cv_prog_compiler_c_o=no
8026    $RM -r conftest 2>/dev/null
8027    mkdir conftest
8028    cd conftest
8029    mkdir out
8030    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8031
8032    lt_compiler_flag="-o out/conftest2.$ac_objext"
8033    # Insert the option either (1) after the last *FLAGS variable, or
8034    # (2) before a word containing "conftest.", or (3) at the end.
8035    # Note that $ac_compile itself does not contain backslashes and begins
8036    # with a dollar sign (not a hyphen), so the echo should work correctly.
8037    lt_compile=`echo "$ac_compile" | $SED \
8038    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8039    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8040    -e 's:$: $lt_compiler_flag:'`
8041    (eval echo "\"\$as_me:8041: $lt_compile\"" >&5)
8042    (eval "$lt_compile" 2>out/conftest.err)
8043    ac_status=$?
8044    cat out/conftest.err >&5
8045    echo "$as_me:8045: \$? = $ac_status" >&5
8046    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8047    then
8048      # The compiler can only warn and ignore the option if not recognized
8049      # So say no if there are warnings
8050      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8051      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8052      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8053        lt_cv_prog_compiler_c_o=yes
8054      fi
8055    fi
8056    chmod u+w . 2>&5
8057    $RM conftest*
8058    # SGI C++ compiler will create directory out/ii_files/ for
8059    # template instantiation
8060    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8061    $RM out/* && rmdir out
8062    cd ..
8063    $RM -r conftest
8064    $RM conftest*
8065
8066 fi
8067 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8068 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8069
8070
8071
8072
8073
8074
8075   { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8076 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8077 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8078   $as_echo_n "(cached) " >&6
8079 else
8080   lt_cv_prog_compiler_c_o=no
8081    $RM -r conftest 2>/dev/null
8082    mkdir conftest
8083    cd conftest
8084    mkdir out
8085    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8086
8087    lt_compiler_flag="-o out/conftest2.$ac_objext"
8088    # Insert the option either (1) after the last *FLAGS variable, or
8089    # (2) before a word containing "conftest.", or (3) at the end.
8090    # Note that $ac_compile itself does not contain backslashes and begins
8091    # with a dollar sign (not a hyphen), so the echo should work correctly.
8092    lt_compile=`echo "$ac_compile" | $SED \
8093    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8094    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8095    -e 's:$: $lt_compiler_flag:'`
8096    (eval echo "\"\$as_me:8096: $lt_compile\"" >&5)
8097    (eval "$lt_compile" 2>out/conftest.err)
8098    ac_status=$?
8099    cat out/conftest.err >&5
8100    echo "$as_me:8100: \$? = $ac_status" >&5
8101    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8102    then
8103      # The compiler can only warn and ignore the option if not recognized
8104      # So say no if there are warnings
8105      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8106      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8107      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8108        lt_cv_prog_compiler_c_o=yes
8109      fi
8110    fi
8111    chmod u+w . 2>&5
8112    $RM conftest*
8113    # SGI C++ compiler will create directory out/ii_files/ for
8114    # template instantiation
8115    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8116    $RM out/* && rmdir out
8117    cd ..
8118    $RM -r conftest
8119    $RM conftest*
8120
8121 fi
8122 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8123 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8124
8125
8126
8127
8128 hard_links="nottested"
8129 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8130   # do not overwrite the value of need_locks provided by the user
8131   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8132 $as_echo_n "checking if we can lock with hard links... " >&6; }
8133   hard_links=yes
8134   $RM conftest*
8135   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8136   touch conftest.a
8137   ln conftest.a conftest.b 2>&5 || hard_links=no
8138   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8139   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
8140 $as_echo "$hard_links" >&6; }
8141   if test "$hard_links" = no; then
8142     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8143 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8144     need_locks=warn
8145   fi
8146 else
8147   need_locks=no
8148 fi
8149
8150
8151
8152
8153
8154
8155   { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8156 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8157
8158   runpath_var=
8159   allow_undefined_flag=
8160   always_export_symbols=no
8161   archive_cmds=
8162   archive_expsym_cmds=
8163   compiler_needs_object=no
8164   enable_shared_with_static_runtimes=no
8165   export_dynamic_flag_spec=
8166   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8167   hardcode_automatic=no
8168   hardcode_direct=no
8169   hardcode_direct_absolute=no
8170   hardcode_libdir_flag_spec=
8171   hardcode_libdir_flag_spec_ld=
8172   hardcode_libdir_separator=
8173   hardcode_minus_L=no
8174   hardcode_shlibpath_var=unsupported
8175   inherit_rpath=no
8176   link_all_deplibs=unknown
8177   module_cmds=
8178   module_expsym_cmds=
8179   old_archive_from_new_cmds=
8180   old_archive_from_expsyms_cmds=
8181   thread_safe_flag_spec=
8182   whole_archive_flag_spec=
8183   # include_expsyms should be a list of space-separated symbols to be *always*
8184   # included in the symbol list
8185   include_expsyms=
8186   # exclude_expsyms can be an extended regexp of symbols to exclude
8187   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8188   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8189   # as well as any symbol that contains `d'.
8190   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8191   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8192   # platforms (ab)use it in PIC code, but their linkers get confused if
8193   # the symbol is explicitly referenced.  Since portable code cannot
8194   # rely on this symbol name, it's probably fine to never include it in
8195   # preloaded symbol tables.
8196   # Exclude shared library initialization/finalization symbols.
8197   extract_expsyms_cmds=
8198
8199   case $host_os in
8200   cygwin* | mingw* | pw32* | cegcc*)
8201     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8202     # When not using gcc, we currently assume that we are using
8203     # Microsoft Visual C++.
8204     if test "$GCC" != yes; then
8205       with_gnu_ld=no
8206     fi
8207     ;;
8208   interix*)
8209     # we just hope/assume this is gcc and not c89 (= MSVC++)
8210     with_gnu_ld=yes
8211     ;;
8212   openbsd*)
8213     with_gnu_ld=no
8214     ;;
8215   esac
8216
8217   ld_shlibs=yes
8218   if test "$with_gnu_ld" = yes; then
8219     # If archive_cmds runs LD, not CC, wlarc should be empty
8220     wlarc='${wl}'
8221
8222     # Set some defaults for GNU ld with shared library support. These
8223     # are reset later if shared libraries are not supported. Putting them
8224     # here allows them to be overridden if necessary.
8225     runpath_var=LD_RUN_PATH
8226     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8227     export_dynamic_flag_spec='${wl}--export-dynamic'
8228     # ancient GNU ld didn't support --whole-archive et. al.
8229     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8230       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8231     else
8232       whole_archive_flag_spec=
8233     fi
8234     supports_anon_versioning=no
8235     case `$LD -v 2>&1` in
8236       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8237       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8238       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8239       *\ 2.11.*) ;; # other 2.11 versions
8240       *) supports_anon_versioning=yes ;;
8241     esac
8242
8243     # See if GNU ld supports shared libraries.
8244     case $host_os in
8245     aix[3-9]*)
8246       # On AIX/PPC, the GNU linker is very broken
8247       if test "$host_cpu" != ia64; then
8248         ld_shlibs=no
8249         cat <<_LT_EOF 1>&2
8250
8251 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8252 *** to be unable to reliably create shared libraries on AIX.
8253 *** Therefore, libtool is disabling shared libraries support.  If you
8254 *** really care for shared libraries, you may want to modify your PATH
8255 *** so that a non-GNU linker is found, and then restart.
8256
8257 _LT_EOF
8258       fi
8259       ;;
8260
8261     amigaos*)
8262       case $host_cpu in
8263       powerpc)
8264             # see comment about AmigaOS4 .so support
8265             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8266             archive_expsym_cmds=''
8267         ;;
8268       m68k)
8269             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)'
8270             hardcode_libdir_flag_spec='-L$libdir'
8271             hardcode_minus_L=yes
8272         ;;
8273       esac
8274       ;;
8275
8276     beos*)
8277       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8278         allow_undefined_flag=unsupported
8279         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8280         # support --undefined.  This deserves some investigation.  FIXME
8281         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8282       else
8283         ld_shlibs=no
8284       fi
8285       ;;
8286
8287     cygwin* | mingw* | pw32* | cegcc*)
8288       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8289       # as there is no search path for DLLs.
8290       hardcode_libdir_flag_spec='-L$libdir'
8291       allow_undefined_flag=unsupported
8292       always_export_symbols=no
8293       enable_shared_with_static_runtimes=yes
8294       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8295
8296       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8297         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8298         # If the export-symbols file already is a .def file (1st line
8299         # is EXPORTS), use it as is; otherwise, prepend...
8300         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8301           cp $export_symbols $output_objdir/$soname.def;
8302         else
8303           echo EXPORTS > $output_objdir/$soname.def;
8304           cat $export_symbols >> $output_objdir/$soname.def;
8305         fi~
8306         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8307       else
8308         ld_shlibs=no
8309       fi
8310       ;;
8311
8312     interix[3-9]*)
8313       hardcode_direct=no
8314       hardcode_shlibpath_var=no
8315       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8316       export_dynamic_flag_spec='${wl}-E'
8317       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8318       # Instead, shared libraries are loaded at an image base (0x10000000 by
8319       # default) and relocated if they conflict, which is a slow very memory
8320       # consuming and fragmenting process.  To avoid this, we pick a random,
8321       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8322       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8323       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8324       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'
8325       ;;
8326
8327     gnu* | linux* | tpf* | k*bsd*-gnu)
8328       tmp_diet=no
8329       if test "$host_os" = linux-dietlibc; then
8330         case $cc_basename in
8331           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8332         esac
8333       fi
8334       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8335          && test "$tmp_diet" = no
8336       then
8337         tmp_addflag=
8338         tmp_sharedflag='-shared'
8339         case $cc_basename,$host_cpu in
8340         pgcc*)                          # Portland Group C compiler
8341           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'
8342           tmp_addflag=' $pic_flag'
8343           ;;
8344         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8345           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'
8346           tmp_addflag=' $pic_flag -Mnomain' ;;
8347         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8348           tmp_addflag=' -i_dynamic' ;;
8349         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8350           tmp_addflag=' -i_dynamic -nofor_main' ;;
8351         ifc* | ifort*)                  # Intel Fortran compiler
8352           tmp_addflag=' -nofor_main' ;;
8353         lf95*)                          # Lahey Fortran 8.1
8354           whole_archive_flag_spec=
8355           tmp_sharedflag='--shared' ;;
8356         xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
8357           tmp_sharedflag='-qmkshrobj'
8358           tmp_addflag= ;;
8359         esac
8360         case `$CC -V 2>&1 | sed 5q` in
8361         *Sun\ C*)                       # Sun C 5.9
8362           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'
8363           compiler_needs_object=yes
8364           tmp_sharedflag='-G' ;;
8365         *Sun\ F*)                       # Sun Fortran 8.3
8366           tmp_sharedflag='-G' ;;
8367         esac
8368         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8369
8370         if test "x$supports_anon_versioning" = xyes; then
8371           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8372             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8373             echo "local: *; };" >> $output_objdir/$libname.ver~
8374             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8375         fi
8376
8377         case $cc_basename in
8378         xlf*)
8379           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8380           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8381           hardcode_libdir_flag_spec=
8382           hardcode_libdir_flag_spec_ld='-rpath $libdir'
8383           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8384           if test "x$supports_anon_versioning" = xyes; then
8385             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8386               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8387               echo "local: *; };" >> $output_objdir/$libname.ver~
8388               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8389           fi
8390           ;;
8391         esac
8392       else
8393         ld_shlibs=no
8394       fi
8395       ;;
8396
8397     netbsd*)
8398       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8399         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8400         wlarc=
8401       else
8402         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8403         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8404       fi
8405       ;;
8406
8407     solaris*)
8408       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8409         ld_shlibs=no
8410         cat <<_LT_EOF 1>&2
8411
8412 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8413 *** create shared libraries on Solaris systems.  Therefore, libtool
8414 *** is disabling shared libraries support.  We urge you to upgrade GNU
8415 *** binutils to release 2.9.1 or newer.  Another option is to modify
8416 *** your PATH or compiler configuration so that the native linker is
8417 *** used, and then restart.
8418
8419 _LT_EOF
8420       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8421         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8422         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8423       else
8424         ld_shlibs=no
8425       fi
8426       ;;
8427
8428     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8429       case `$LD -v 2>&1` in
8430         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8431         ld_shlibs=no
8432         cat <<_LT_EOF 1>&2
8433
8434 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8435 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8436 *** is disabling shared libraries support.  We urge you to upgrade GNU
8437 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8438 *** your PATH or compiler configuration so that the native linker is
8439 *** used, and then restart.
8440
8441 _LT_EOF
8442         ;;
8443         *)
8444           # For security reasons, it is highly recommended that you always
8445           # use absolute paths for naming shared libraries, and exclude the
8446           # DT_RUNPATH tag from executables and libraries.  But doing so
8447           # requires that you compile everything twice, which is a pain.
8448           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8449             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8450             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8451             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8452           else
8453             ld_shlibs=no
8454           fi
8455         ;;
8456       esac
8457       ;;
8458
8459     sunos4*)
8460       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8461       wlarc=
8462       hardcode_direct=yes
8463       hardcode_shlibpath_var=no
8464       ;;
8465
8466     *)
8467       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8468         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8469         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8470       else
8471         ld_shlibs=no
8472       fi
8473       ;;
8474     esac
8475
8476     if test "$ld_shlibs" = no; then
8477       runpath_var=
8478       hardcode_libdir_flag_spec=
8479       export_dynamic_flag_spec=
8480       whole_archive_flag_spec=
8481     fi
8482   else
8483     # PORTME fill in a description of your system's linker (not GNU ld)
8484     case $host_os in
8485     aix3*)
8486       allow_undefined_flag=unsupported
8487       always_export_symbols=yes
8488       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'
8489       # Note: this linker hardcodes the directories in LIBPATH if there
8490       # are no directories specified by -L.
8491       hardcode_minus_L=yes
8492       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8493         # Neither direct hardcoding nor static linking is supported with a
8494         # broken collect2.
8495         hardcode_direct=unsupported
8496       fi
8497       ;;
8498
8499     aix[4-9]*)
8500       if test "$host_cpu" = ia64; then
8501         # On IA64, the linker does run time linking by default, so we don't
8502         # have to do anything special.
8503         aix_use_runtimelinking=no
8504         exp_sym_flag='-Bexport'
8505         no_entry_flag=""
8506       else
8507         # If we're using GNU nm, then we don't want the "-C" option.
8508         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8509         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8510           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'
8511         else
8512           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'
8513         fi
8514         aix_use_runtimelinking=no
8515
8516         # Test if we are trying to use run time linking or normal
8517         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8518         # need to do runtime linking.
8519         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8520           for ld_flag in $LDFLAGS; do
8521           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8522             aix_use_runtimelinking=yes
8523             break
8524           fi
8525           done
8526           ;;
8527         esac
8528
8529         exp_sym_flag='-bexport'
8530         no_entry_flag='-bnoentry'
8531       fi
8532
8533       # When large executables or shared objects are built, AIX ld can
8534       # have problems creating the table of contents.  If linking a library
8535       # or program results in "error TOC overflow" add -mminimal-toc to
8536       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8537       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8538
8539       archive_cmds=''
8540       hardcode_direct=yes
8541       hardcode_direct_absolute=yes
8542       hardcode_libdir_separator=':'
8543       link_all_deplibs=yes
8544       file_list_spec='${wl}-f,'
8545
8546       if test "$GCC" = yes; then
8547         case $host_os in aix4.[012]|aix4.[012].*)
8548         # We only want to do this on AIX 4.2 and lower, the check
8549         # below for broken collect2 doesn't work under 4.3+
8550           collect2name=`${CC} -print-prog-name=collect2`
8551           if test -f "$collect2name" &&
8552            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8553           then
8554           # We have reworked collect2
8555           :
8556           else
8557           # We have old collect2
8558           hardcode_direct=unsupported
8559           # It fails to find uninstalled libraries when the uninstalled
8560           # path is not listed in the libpath.  Setting hardcode_minus_L
8561           # to unsupported forces relinking
8562           hardcode_minus_L=yes
8563           hardcode_libdir_flag_spec='-L$libdir'
8564           hardcode_libdir_separator=
8565           fi
8566           ;;
8567         esac
8568         shared_flag='-shared'
8569         if test "$aix_use_runtimelinking" = yes; then
8570           shared_flag="$shared_flag "'${wl}-G'
8571         fi
8572       else
8573         # not using gcc
8574         if test "$host_cpu" = ia64; then
8575         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8576         # chokes on -Wl,-G. The following line is correct:
8577           shared_flag='-G'
8578         else
8579           if test "$aix_use_runtimelinking" = yes; then
8580             shared_flag='${wl}-G'
8581           else
8582             shared_flag='${wl}-bM:SRE'
8583           fi
8584         fi
8585       fi
8586
8587       export_dynamic_flag_spec='${wl}-bexpall'
8588       # It seems that -bexpall does not export symbols beginning with
8589       # underscore (_), so it is better to generate a list of symbols to export.
8590       always_export_symbols=yes
8591       if test "$aix_use_runtimelinking" = yes; then
8592         # Warning - without using the other runtime loading flags (-brtl),
8593         # -berok will link without error, but may produce a broken library.
8594         allow_undefined_flag='-berok'
8595         # Determine the default libpath from the value encoded in an
8596         # empty executable.
8597         cat >conftest.$ac_ext <<_ACEOF
8598 /* confdefs.h.  */
8599 _ACEOF
8600 cat confdefs.h >>conftest.$ac_ext
8601 cat >>conftest.$ac_ext <<_ACEOF
8602 /* end confdefs.h.  */
8603
8604 int
8605 main ()
8606 {
8607
8608   ;
8609   return 0;
8610 }
8611 _ACEOF
8612 rm -f conftest.$ac_objext conftest$ac_exeext
8613 if { (ac_try="$ac_link"
8614 case "(($ac_try" in
8615   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8616   *) ac_try_echo=$ac_try;;
8617 esac
8618 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8619 $as_echo "$ac_try_echo") >&5
8620   (eval "$ac_link") 2>conftest.er1
8621   ac_status=$?
8622   grep -v '^ *+' conftest.er1 >conftest.err
8623   rm -f conftest.er1
8624   cat conftest.err >&5
8625   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8626   (exit $ac_status); } && {
8627          test -z "$ac_c_werror_flag" ||
8628          test ! -s conftest.err
8629        } && test -s conftest$ac_exeext && {
8630          test "$cross_compiling" = yes ||
8631          $as_test_x conftest$ac_exeext
8632        }; then
8633
8634 lt_aix_libpath_sed='
8635     /Import File Strings/,/^$/ {
8636         /^0/ {
8637             s/^0  *\(.*\)$/\1/
8638             p
8639         }
8640     }'
8641 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8642 # Check for a 64-bit object if we didn't find anything.
8643 if test -z "$aix_libpath"; then
8644   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8645 fi
8646 else
8647   $as_echo "$as_me: failed program was:" >&5
8648 sed 's/^/| /' conftest.$ac_ext >&5
8649
8650
8651 fi
8652
8653 rm -rf conftest.dSYM
8654 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8655       conftest$ac_exeext conftest.$ac_ext
8656 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8657
8658         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8659         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"
8660       else
8661         if test "$host_cpu" = ia64; then
8662           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8663           allow_undefined_flag="-z nodefs"
8664           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"
8665         else
8666          # Determine the default libpath from the value encoded in an
8667          # empty executable.
8668          cat >conftest.$ac_ext <<_ACEOF
8669 /* confdefs.h.  */
8670 _ACEOF
8671 cat confdefs.h >>conftest.$ac_ext
8672 cat >>conftest.$ac_ext <<_ACEOF
8673 /* end confdefs.h.  */
8674
8675 int
8676 main ()
8677 {
8678
8679   ;
8680   return 0;
8681 }
8682 _ACEOF
8683 rm -f conftest.$ac_objext conftest$ac_exeext
8684 if { (ac_try="$ac_link"
8685 case "(($ac_try" in
8686   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8687   *) ac_try_echo=$ac_try;;
8688 esac
8689 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8690 $as_echo "$ac_try_echo") >&5
8691   (eval "$ac_link") 2>conftest.er1
8692   ac_status=$?
8693   grep -v '^ *+' conftest.er1 >conftest.err
8694   rm -f conftest.er1
8695   cat conftest.err >&5
8696   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8697   (exit $ac_status); } && {
8698          test -z "$ac_c_werror_flag" ||
8699          test ! -s conftest.err
8700        } && test -s conftest$ac_exeext && {
8701          test "$cross_compiling" = yes ||
8702          $as_test_x conftest$ac_exeext
8703        }; then
8704
8705 lt_aix_libpath_sed='
8706     /Import File Strings/,/^$/ {
8707         /^0/ {
8708             s/^0  *\(.*\)$/\1/
8709             p
8710         }
8711     }'
8712 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8713 # Check for a 64-bit object if we didn't find anything.
8714 if test -z "$aix_libpath"; then
8715   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8716 fi
8717 else
8718   $as_echo "$as_me: failed program was:" >&5
8719 sed 's/^/| /' conftest.$ac_ext >&5
8720
8721
8722 fi
8723
8724 rm -rf conftest.dSYM
8725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8726       conftest$ac_exeext conftest.$ac_ext
8727 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8728
8729          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8730           # Warning - without using the other run time loading flags,
8731           # -berok will link without error, but may produce a broken library.
8732           no_undefined_flag=' ${wl}-bernotok'
8733           allow_undefined_flag=' ${wl}-berok'
8734           # Exported symbols can be pulled into shared objects from archives
8735           whole_archive_flag_spec='$convenience'
8736           archive_cmds_need_lc=yes
8737           # This is similar to how AIX traditionally builds its shared libraries.
8738           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'
8739         fi
8740       fi
8741       ;;
8742
8743     amigaos*)
8744       case $host_cpu in
8745       powerpc)
8746             # see comment about AmigaOS4 .so support
8747             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8748             archive_expsym_cmds=''
8749         ;;
8750       m68k)
8751             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)'
8752             hardcode_libdir_flag_spec='-L$libdir'
8753             hardcode_minus_L=yes
8754         ;;
8755       esac
8756       ;;
8757
8758     bsdi[45]*)
8759       export_dynamic_flag_spec=-rdynamic
8760       ;;
8761
8762     cygwin* | mingw* | pw32* | cegcc*)
8763       # When not using gcc, we currently assume that we are using
8764       # Microsoft Visual C++.
8765       # hardcode_libdir_flag_spec is actually meaningless, as there is
8766       # no search path for DLLs.
8767       hardcode_libdir_flag_spec=' '
8768       allow_undefined_flag=unsupported
8769       # Tell ltmain to make .lib files, not .a files.
8770       libext=lib
8771       # Tell ltmain to make .dll files, not .so files.
8772       shrext_cmds=".dll"
8773       # FIXME: Setting linknames here is a bad hack.
8774       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8775       # The linker will automatically build a .lib file if we build a DLL.
8776       old_archive_from_new_cmds='true'
8777       # FIXME: Should let the user specify the lib program.
8778       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8779       fix_srcfile_path='`cygpath -w "$srcfile"`'
8780       enable_shared_with_static_runtimes=yes
8781       ;;
8782
8783     darwin* | rhapsody*)
8784
8785
8786   archive_cmds_need_lc=no
8787   hardcode_direct=no
8788   hardcode_automatic=yes
8789   hardcode_shlibpath_var=unsupported
8790   whole_archive_flag_spec=''
8791   link_all_deplibs=yes
8792   allow_undefined_flag="$_lt_dar_allow_undefined"
8793   case $cc_basename in
8794      ifort*) _lt_dar_can_shared=yes ;;
8795      *) _lt_dar_can_shared=$GCC ;;
8796   esac
8797   if test "$_lt_dar_can_shared" = "yes"; then
8798     output_verbose_link_cmd=echo
8799     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8800     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8801     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}"
8802     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}"
8803
8804   else
8805   ld_shlibs=no
8806   fi
8807
8808       ;;
8809
8810     dgux*)
8811       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8812       hardcode_libdir_flag_spec='-L$libdir'
8813       hardcode_shlibpath_var=no
8814       ;;
8815
8816     freebsd1*)
8817       ld_shlibs=no
8818       ;;
8819
8820     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8821     # support.  Future versions do this automatically, but an explicit c++rt0.o
8822     # does not break anything, and helps significantly (at the cost of a little
8823     # extra space).
8824     freebsd2.2*)
8825       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8826       hardcode_libdir_flag_spec='-R$libdir'
8827       hardcode_direct=yes
8828       hardcode_shlibpath_var=no
8829       ;;
8830
8831     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8832     freebsd2*)
8833       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8834       hardcode_direct=yes
8835       hardcode_minus_L=yes
8836       hardcode_shlibpath_var=no
8837       ;;
8838
8839     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8840     freebsd* | dragonfly*)
8841       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8842       hardcode_libdir_flag_spec='-R$libdir'
8843       hardcode_direct=yes
8844       hardcode_shlibpath_var=no
8845       ;;
8846
8847     hpux9*)
8848       if test "$GCC" = yes; then
8849         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'
8850       else
8851         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'
8852       fi
8853       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8854       hardcode_libdir_separator=:
8855       hardcode_direct=yes
8856
8857       # hardcode_minus_L: Not really in the search PATH,
8858       # but as the default location of the library.
8859       hardcode_minus_L=yes
8860       export_dynamic_flag_spec='${wl}-E'
8861       ;;
8862
8863     hpux10*)
8864       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8865         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8866       else
8867         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8868       fi
8869       if test "$with_gnu_ld" = no; then
8870         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8871         hardcode_libdir_flag_spec_ld='+b $libdir'
8872         hardcode_libdir_separator=:
8873         hardcode_direct=yes
8874         hardcode_direct_absolute=yes
8875         export_dynamic_flag_spec='${wl}-E'
8876         # hardcode_minus_L: Not really in the search PATH,
8877         # but as the default location of the library.
8878         hardcode_minus_L=yes
8879       fi
8880       ;;
8881
8882     hpux11*)
8883       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8884         case $host_cpu in
8885         hppa*64*)
8886           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8887           ;;
8888         ia64*)
8889           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8890           ;;
8891         *)
8892           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8893           ;;
8894         esac
8895       else
8896         case $host_cpu in
8897         hppa*64*)
8898           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8899           ;;
8900         ia64*)
8901           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8902           ;;
8903         *)
8904           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8905           ;;
8906         esac
8907       fi
8908       if test "$with_gnu_ld" = no; then
8909         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8910         hardcode_libdir_separator=:
8911
8912         case $host_cpu in
8913         hppa*64*|ia64*)
8914           hardcode_direct=no
8915           hardcode_shlibpath_var=no
8916           ;;
8917         *)
8918           hardcode_direct=yes
8919           hardcode_direct_absolute=yes
8920           export_dynamic_flag_spec='${wl}-E'
8921
8922           # hardcode_minus_L: Not really in the search PATH,
8923           # but as the default location of the library.
8924           hardcode_minus_L=yes
8925           ;;
8926         esac
8927       fi
8928       ;;
8929
8930     irix5* | irix6* | nonstopux*)
8931       if test "$GCC" = yes; then
8932         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'
8933         # Try to use the -exported_symbol ld option, if it does not
8934         # work, assume that -exports_file does not work either and
8935         # implicitly export all symbols.
8936         save_LDFLAGS="$LDFLAGS"
8937         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8938         cat >conftest.$ac_ext <<_ACEOF
8939 int foo(void) {}
8940 _ACEOF
8941 rm -f conftest.$ac_objext conftest$ac_exeext
8942 if { (ac_try="$ac_link"
8943 case "(($ac_try" in
8944   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8945   *) ac_try_echo=$ac_try;;
8946 esac
8947 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8948 $as_echo "$ac_try_echo") >&5
8949   (eval "$ac_link") 2>conftest.er1
8950   ac_status=$?
8951   grep -v '^ *+' conftest.er1 >conftest.err
8952   rm -f conftest.er1
8953   cat conftest.err >&5
8954   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8955   (exit $ac_status); } && {
8956          test -z "$ac_c_werror_flag" ||
8957          test ! -s conftest.err
8958        } && test -s conftest$ac_exeext && {
8959          test "$cross_compiling" = yes ||
8960          $as_test_x conftest$ac_exeext
8961        }; then
8962   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'
8963
8964 else
8965   $as_echo "$as_me: failed program was:" >&5
8966 sed 's/^/| /' conftest.$ac_ext >&5
8967
8968
8969 fi
8970
8971 rm -rf conftest.dSYM
8972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8973       conftest$ac_exeext conftest.$ac_ext
8974         LDFLAGS="$save_LDFLAGS"
8975       else
8976         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'
8977         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'
8978       fi
8979       archive_cmds_need_lc='no'
8980       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8981       hardcode_libdir_separator=:
8982       inherit_rpath=yes
8983       link_all_deplibs=yes
8984       ;;
8985
8986     netbsd*)
8987       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8988         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8989       else
8990         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8991       fi
8992       hardcode_libdir_flag_spec='-R$libdir'
8993       hardcode_direct=yes
8994       hardcode_shlibpath_var=no
8995       ;;
8996
8997     newsos6)
8998       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8999       hardcode_direct=yes
9000       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9001       hardcode_libdir_separator=:
9002       hardcode_shlibpath_var=no
9003       ;;
9004
9005     *nto* | *qnx*)
9006       ;;
9007
9008     openbsd*)
9009       if test -f /usr/libexec/ld.so; then
9010         hardcode_direct=yes
9011         hardcode_shlibpath_var=no
9012         hardcode_direct_absolute=yes
9013         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9014           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9015           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9016           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9017           export_dynamic_flag_spec='${wl}-E'
9018         else
9019           case $host_os in
9020            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9021              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9022              hardcode_libdir_flag_spec='-R$libdir'
9023              ;;
9024            *)
9025              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9026              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9027              ;;
9028           esac
9029         fi
9030       else
9031         ld_shlibs=no
9032       fi
9033       ;;
9034
9035     os2*)
9036       hardcode_libdir_flag_spec='-L$libdir'
9037       hardcode_minus_L=yes
9038       allow_undefined_flag=unsupported
9039       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'
9040       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9041       ;;
9042
9043     osf3*)
9044       if test "$GCC" = yes; then
9045         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9046         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'
9047       else
9048         allow_undefined_flag=' -expect_unresolved \*'
9049         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'
9050       fi
9051       archive_cmds_need_lc='no'
9052       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9053       hardcode_libdir_separator=:
9054       ;;
9055
9056     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9057       if test "$GCC" = yes; then
9058         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9059         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'
9060         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9061       else
9062         allow_undefined_flag=' -expect_unresolved \*'
9063         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'
9064         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~
9065         $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'
9066
9067         # Both c and cxx compiler support -rpath directly
9068         hardcode_libdir_flag_spec='-rpath $libdir'
9069       fi
9070       archive_cmds_need_lc='no'
9071       hardcode_libdir_separator=:
9072       ;;
9073
9074     solaris*)
9075       no_undefined_flag=' -z defs'
9076       if test "$GCC" = yes; then
9077         wlarc='${wl}'
9078         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9079         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9080           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9081       else
9082         case `$CC -V 2>&1` in
9083         *"Compilers 5.0"*)
9084           wlarc=''
9085           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9086           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9087           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9088           ;;
9089         *)
9090           wlarc='${wl}'
9091           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9092           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9093           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9094           ;;
9095         esac
9096       fi
9097       hardcode_libdir_flag_spec='-R$libdir'
9098       hardcode_shlibpath_var=no
9099       case $host_os in
9100       solaris2.[0-5] | solaris2.[0-5].*) ;;
9101       *)
9102         # The compiler driver will combine and reorder linker options,
9103         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9104         # but is careful enough not to reorder.
9105         # Supported since Solaris 2.6 (maybe 2.5.1?)
9106         if test "$GCC" = yes; then
9107           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9108         else
9109           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9110         fi
9111         ;;
9112       esac
9113       link_all_deplibs=yes
9114       ;;
9115
9116     sunos4*)
9117       if test "x$host_vendor" = xsequent; then
9118         # Use $CC to link under sequent, because it throws in some extra .o
9119         # files that make .init and .fini sections work.
9120         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9121       else
9122         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9123       fi
9124       hardcode_libdir_flag_spec='-L$libdir'
9125       hardcode_direct=yes
9126       hardcode_minus_L=yes
9127       hardcode_shlibpath_var=no
9128       ;;
9129
9130     sysv4)
9131       case $host_vendor in
9132         sni)
9133           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9134           hardcode_direct=yes # is this really true???
9135         ;;
9136         siemens)
9137           ## LD is ld it makes a PLAMLIB
9138           ## CC just makes a GrossModule.
9139           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9140           reload_cmds='$CC -r -o $output$reload_objs'
9141           hardcode_direct=no
9142         ;;
9143         motorola)
9144           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9145           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9146         ;;
9147       esac
9148       runpath_var='LD_RUN_PATH'
9149       hardcode_shlibpath_var=no
9150       ;;
9151
9152     sysv4.3*)
9153       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9154       hardcode_shlibpath_var=no
9155       export_dynamic_flag_spec='-Bexport'
9156       ;;
9157
9158     sysv4*MP*)
9159       if test -d /usr/nec; then
9160         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9161         hardcode_shlibpath_var=no
9162         runpath_var=LD_RUN_PATH
9163         hardcode_runpath_var=yes
9164         ld_shlibs=yes
9165       fi
9166       ;;
9167
9168     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9169       no_undefined_flag='${wl}-z,text'
9170       archive_cmds_need_lc=no
9171       hardcode_shlibpath_var=no
9172       runpath_var='LD_RUN_PATH'
9173
9174       if test "$GCC" = yes; then
9175         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9176         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9177       else
9178         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9179         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9180       fi
9181       ;;
9182
9183     sysv5* | sco3.2v5* | sco5v6*)
9184       # Note: We can NOT use -z defs as we might desire, because we do not
9185       # link with -lc, and that would cause any symbols used from libc to
9186       # always be unresolved, which means just about no library would
9187       # ever link correctly.  If we're not using GNU ld we use -z text
9188       # though, which does catch some bad symbols but isn't as heavy-handed
9189       # as -z defs.
9190       no_undefined_flag='${wl}-z,text'
9191       allow_undefined_flag='${wl}-z,nodefs'
9192       archive_cmds_need_lc=no
9193       hardcode_shlibpath_var=no
9194       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9195       hardcode_libdir_separator=':'
9196       link_all_deplibs=yes
9197       export_dynamic_flag_spec='${wl}-Bexport'
9198       runpath_var='LD_RUN_PATH'
9199
9200       if test "$GCC" = yes; then
9201         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9202         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9203       else
9204         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9205         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9206       fi
9207       ;;
9208
9209     uts4*)
9210       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9211       hardcode_libdir_flag_spec='-L$libdir'
9212       hardcode_shlibpath_var=no
9213       ;;
9214
9215     *)
9216       ld_shlibs=no
9217       ;;
9218     esac
9219
9220     if test x$host_vendor = xsni; then
9221       case $host in
9222       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9223         export_dynamic_flag_spec='${wl}-Blargedynsym'
9224         ;;
9225       esac
9226     fi
9227   fi
9228
9229 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9230 $as_echo "$ld_shlibs" >&6; }
9231 test "$ld_shlibs" = no && can_build_shared=no
9232
9233 with_gnu_ld=$with_gnu_ld
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249 #
9250 # Do we need to explicitly link libc?
9251 #
9252 case "x$archive_cmds_need_lc" in
9253 x|xyes)
9254   # Assume -lc should be added
9255   archive_cmds_need_lc=yes
9256
9257   if test "$enable_shared" = yes && test "$GCC" = yes; then
9258     case $archive_cmds in
9259     *'~'*)
9260       # FIXME: we may have to deal with multi-command sequences.
9261       ;;
9262     '$CC '*)
9263       # Test whether the compiler implicitly links with -lc since on some
9264       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9265       # to ld, don't add -lc before -lgcc.
9266       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9267 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9268       $RM conftest*
9269       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9270
9271       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9272   (eval $ac_compile) 2>&5
9273   ac_status=$?
9274   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9275   (exit $ac_status); } 2>conftest.err; then
9276         soname=conftest
9277         lib=conftest
9278         libobjs=conftest.$ac_objext
9279         deplibs=
9280         wl=$lt_prog_compiler_wl
9281         pic_flag=$lt_prog_compiler_pic
9282         compiler_flags=-v
9283         linker_flags=-v
9284         verstring=
9285         output_objdir=.
9286         libname=conftest
9287         lt_save_allow_undefined_flag=$allow_undefined_flag
9288         allow_undefined_flag=
9289         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9290   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9291   ac_status=$?
9292   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9293   (exit $ac_status); }
9294         then
9295           archive_cmds_need_lc=no
9296         else
9297           archive_cmds_need_lc=yes
9298         fi
9299         allow_undefined_flag=$lt_save_allow_undefined_flag
9300       else
9301         cat conftest.err 1>&5
9302       fi
9303       $RM conftest*
9304       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9305 $as_echo "$archive_cmds_need_lc" >&6; }
9306       ;;
9307     esac
9308   fi
9309   ;;
9310 esac
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468   { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9469 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9470
9471 if test "$GCC" = yes; then
9472   case $host_os in
9473     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9474     *) lt_awk_arg="/^libraries:/" ;;
9475   esac
9476   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9477   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9478     # if the path contains ";" then we assume it to be the separator
9479     # otherwise default to the standard path separator (i.e. ":") - it is
9480     # assumed that no part of a normal pathname contains ";" but that should
9481     # okay in the real world where ";" in dirpaths is itself problematic.
9482     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9483   else
9484     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9485   fi
9486   # Ok, now we have the path, separated by spaces, we can step through it
9487   # and add multilib dir if necessary.
9488   lt_tmp_lt_search_path_spec=
9489   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9490   for lt_sys_path in $lt_search_path_spec; do
9491     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9492       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9493     else
9494       test -d "$lt_sys_path" && \
9495         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9496     fi
9497   done
9498   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9499 BEGIN {RS=" "; FS="/|\n";} {
9500   lt_foo="";
9501   lt_count=0;
9502   for (lt_i = NF; lt_i > 0; lt_i--) {
9503     if ($lt_i != "" && $lt_i != ".") {
9504       if ($lt_i == "..") {
9505         lt_count++;
9506       } else {
9507         if (lt_count == 0) {
9508           lt_foo="/" $lt_i lt_foo;
9509         } else {
9510           lt_count--;
9511         }
9512       }
9513     }
9514   }
9515   if (lt_foo != "") { lt_freq[lt_foo]++; }
9516   if (lt_freq[lt_foo] == 1) { print lt_foo; }
9517 }'`
9518   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9519 else
9520   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9521 fi
9522 library_names_spec=
9523 libname_spec='lib$name'
9524 soname_spec=
9525 shrext_cmds=".so"
9526 postinstall_cmds=
9527 postuninstall_cmds=
9528 finish_cmds=
9529 finish_eval=
9530 shlibpath_var=
9531 shlibpath_overrides_runpath=unknown
9532 version_type=none
9533 dynamic_linker="$host_os ld.so"
9534 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9535 need_lib_prefix=unknown
9536 hardcode_into_libs=no
9537
9538 # when you set need_version to no, make sure it does not cause -set_version
9539 # flags to be left without arguments
9540 need_version=unknown
9541
9542 case $host_os in
9543 aix3*)
9544   version_type=linux
9545   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9546   shlibpath_var=LIBPATH
9547
9548   # AIX 3 has no versioning support, so we append a major version to the name.
9549   soname_spec='${libname}${release}${shared_ext}$major'
9550   ;;
9551
9552 aix[4-9]*)
9553   version_type=linux
9554   need_lib_prefix=no
9555   need_version=no
9556   hardcode_into_libs=yes
9557   if test "$host_cpu" = ia64; then
9558     # AIX 5 supports IA64
9559     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9560     shlibpath_var=LD_LIBRARY_PATH
9561   else
9562     # With GCC up to 2.95.x, collect2 would create an import file
9563     # for dependence libraries.  The import file would start with
9564     # the line `#! .'.  This would cause the generated library to
9565     # depend on `.', always an invalid library.  This was fixed in
9566     # development snapshots of GCC prior to 3.0.
9567     case $host_os in
9568       aix4 | aix4.[01] | aix4.[01].*)
9569       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9570            echo ' yes '
9571            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9572         :
9573       else
9574         can_build_shared=no
9575       fi
9576       ;;
9577     esac
9578     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9579     # soname into executable. Probably we can add versioning support to
9580     # collect2, so additional links can be useful in future.
9581     if test "$aix_use_runtimelinking" = yes; then
9582       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9583       # instead of lib<name>.a to let people know that these are not
9584       # typical AIX shared libraries.
9585       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9586     else
9587       # We preserve .a as extension for shared libraries through AIX4.2
9588       # and later when we are not doing run time linking.
9589       library_names_spec='${libname}${release}.a $libname.a'
9590       soname_spec='${libname}${release}${shared_ext}$major'
9591     fi
9592     shlibpath_var=LIBPATH
9593   fi
9594   ;;
9595
9596 amigaos*)
9597   case $host_cpu in
9598   powerpc)
9599     # Since July 2007 AmigaOS4 officially supports .so libraries.
9600     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9601     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9602     ;;
9603   m68k)
9604     library_names_spec='$libname.ixlibrary $libname.a'
9605     # Create ${libname}_ixlibrary.a entries in /sys/libs.
9606     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'
9607     ;;
9608   esac
9609   ;;
9610
9611 beos*)
9612   library_names_spec='${libname}${shared_ext}'
9613   dynamic_linker="$host_os ld.so"
9614   shlibpath_var=LIBRARY_PATH
9615   ;;
9616
9617 bsdi[45]*)
9618   version_type=linux
9619   need_version=no
9620   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9621   soname_spec='${libname}${release}${shared_ext}$major'
9622   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9623   shlibpath_var=LD_LIBRARY_PATH
9624   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9625   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9626   # the default ld.so.conf also contains /usr/contrib/lib and
9627   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9628   # libtool to hard-code these into programs
9629   ;;
9630
9631 cygwin* | mingw* | pw32* | cegcc*)
9632   version_type=windows
9633   shrext_cmds=".dll"
9634   need_version=no
9635   need_lib_prefix=no
9636
9637   case $GCC,$host_os in
9638   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9639     library_names_spec='$libname.dll.a'
9640     # DLL is installed to $(libdir)/../bin by postinstall_cmds
9641     postinstall_cmds='base_file=`basename \${file}`~
9642       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9643       dldir=$destdir/`dirname \$dlpath`~
9644       test -d \$dldir || mkdir -p \$dldir~
9645       $install_prog $dir/$dlname \$dldir/$dlname~
9646       chmod a+x \$dldir/$dlname~
9647       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9648         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9649       fi'
9650     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9651       dlpath=$dir/\$dldll~
9652        $RM \$dlpath'
9653     shlibpath_overrides_runpath=yes
9654
9655     case $host_os in
9656     cygwin*)
9657       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9658       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9659       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9660       ;;
9661     mingw* | cegcc*)
9662       # MinGW DLLs use traditional 'lib' prefix
9663       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9664       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9665       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9666         # It is most probably a Windows format PATH printed by
9667         # mingw gcc, but we are running on Cygwin. Gcc prints its search
9668         # path with ; separators, and with drive letters. We can handle the
9669         # drive letters (cygwin fileutils understands them), so leave them,
9670         # especially as we might pass files found there to a mingw objdump,
9671         # which wouldn't understand a cygwinified path. Ahh.
9672         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9673       else
9674         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9675       fi
9676       ;;
9677     pw32*)
9678       # pw32 DLLs use 'pw' prefix rather than 'lib'
9679       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9680       ;;
9681     esac
9682     ;;
9683
9684   *)
9685     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9686     ;;
9687   esac
9688   dynamic_linker='Win32 ld.exe'
9689   # FIXME: first we should search . and the directory the executable is in
9690   shlibpath_var=PATH
9691   ;;
9692
9693 darwin* | rhapsody*)
9694   dynamic_linker="$host_os dyld"
9695   version_type=darwin
9696   need_lib_prefix=no
9697   need_version=no
9698   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9699   soname_spec='${libname}${release}${major}$shared_ext'
9700   shlibpath_overrides_runpath=yes
9701   shlibpath_var=DYLD_LIBRARY_PATH
9702   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9703
9704   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9705   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9706   ;;
9707
9708 dgux*)
9709   version_type=linux
9710   need_lib_prefix=no
9711   need_version=no
9712   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9713   soname_spec='${libname}${release}${shared_ext}$major'
9714   shlibpath_var=LD_LIBRARY_PATH
9715   ;;
9716
9717 freebsd1*)
9718   dynamic_linker=no
9719   ;;
9720
9721 freebsd* | dragonfly*)
9722   # DragonFly does not have aout.  When/if they implement a new
9723   # versioning mechanism, adjust this.
9724   if test -x /usr/bin/objformat; then
9725     objformat=`/usr/bin/objformat`
9726   else
9727     case $host_os in
9728     freebsd[123]*) objformat=aout ;;
9729     *) objformat=elf ;;
9730     esac
9731   fi
9732   version_type=freebsd-$objformat
9733   case $version_type in
9734     freebsd-elf*)
9735       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9736       need_version=no
9737       need_lib_prefix=no
9738       ;;
9739     freebsd-*)
9740       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9741       need_version=yes
9742       ;;
9743   esac
9744   shlibpath_var=LD_LIBRARY_PATH
9745   case $host_os in
9746   freebsd2*)
9747     shlibpath_overrides_runpath=yes
9748     ;;
9749   freebsd3.[01]* | freebsdelf3.[01]*)
9750     shlibpath_overrides_runpath=yes
9751     hardcode_into_libs=yes
9752     ;;
9753   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9754   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9755     shlibpath_overrides_runpath=no
9756     hardcode_into_libs=yes
9757     ;;
9758   *) # from 4.6 on, and DragonFly
9759     shlibpath_overrides_runpath=yes
9760     hardcode_into_libs=yes
9761     ;;
9762   esac
9763   ;;
9764
9765 gnu*)
9766   version_type=linux
9767   need_lib_prefix=no
9768   need_version=no
9769   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9770   soname_spec='${libname}${release}${shared_ext}$major'
9771   shlibpath_var=LD_LIBRARY_PATH
9772   hardcode_into_libs=yes
9773   ;;
9774
9775 hpux9* | hpux10* | hpux11*)
9776   # Give a soname corresponding to the major version so that dld.sl refuses to
9777   # link against other versions.
9778   version_type=sunos
9779   need_lib_prefix=no
9780   need_version=no
9781   case $host_cpu in
9782   ia64*)
9783     shrext_cmds='.so'
9784     hardcode_into_libs=yes
9785     dynamic_linker="$host_os dld.so"
9786     shlibpath_var=LD_LIBRARY_PATH
9787     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9788     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9789     soname_spec='${libname}${release}${shared_ext}$major'
9790     if test "X$HPUX_IA64_MODE" = X32; then
9791       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9792     else
9793       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9794     fi
9795     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9796     ;;
9797   hppa*64*)
9798     shrext_cmds='.sl'
9799     hardcode_into_libs=yes
9800     dynamic_linker="$host_os dld.sl"
9801     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9802     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9803     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9804     soname_spec='${libname}${release}${shared_ext}$major'
9805     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9806     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9807     ;;
9808   *)
9809     shrext_cmds='.sl'
9810     dynamic_linker="$host_os dld.sl"
9811     shlibpath_var=SHLIB_PATH
9812     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9813     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9814     soname_spec='${libname}${release}${shared_ext}$major'
9815     ;;
9816   esac
9817   # HP-UX runs *really* slowly unless shared libraries are mode 555.
9818   postinstall_cmds='chmod 555 $lib'
9819   ;;
9820
9821 interix[3-9]*)
9822   version_type=linux
9823   need_lib_prefix=no
9824   need_version=no
9825   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9826   soname_spec='${libname}${release}${shared_ext}$major'
9827   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9828   shlibpath_var=LD_LIBRARY_PATH
9829   shlibpath_overrides_runpath=no
9830   hardcode_into_libs=yes
9831   ;;
9832
9833 irix5* | irix6* | nonstopux*)
9834   case $host_os in
9835     nonstopux*) version_type=nonstopux ;;
9836     *)
9837         if test "$lt_cv_prog_gnu_ld" = yes; then
9838                 version_type=linux
9839         else
9840                 version_type=irix
9841         fi ;;
9842   esac
9843   need_lib_prefix=no
9844   need_version=no
9845   soname_spec='${libname}${release}${shared_ext}$major'
9846   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9847   case $host_os in
9848   irix5* | nonstopux*)
9849     libsuff= shlibsuff=
9850     ;;
9851   *)
9852     case $LD in # libtool.m4 will add one of these switches to LD
9853     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9854       libsuff= shlibsuff= libmagic=32-bit;;
9855     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9856       libsuff=32 shlibsuff=N32 libmagic=N32;;
9857     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9858       libsuff=64 shlibsuff=64 libmagic=64-bit;;
9859     *) libsuff= shlibsuff= libmagic=never-match;;
9860     esac
9861     ;;
9862   esac
9863   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9864   shlibpath_overrides_runpath=no
9865   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9866   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9867   hardcode_into_libs=yes
9868   ;;
9869
9870 # No shared lib support for Linux oldld, aout, or coff.
9871 linux*oldld* | linux*aout* | linux*coff*)
9872   dynamic_linker=no
9873   ;;
9874
9875 # This must be Linux ELF.
9876 linux* | k*bsd*-gnu)
9877   version_type=linux
9878   need_lib_prefix=no
9879   need_version=no
9880   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9881   soname_spec='${libname}${release}${shared_ext}$major'
9882   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9883   shlibpath_var=LD_LIBRARY_PATH
9884   shlibpath_overrides_runpath=no
9885   # Some binutils ld are patched to set DT_RUNPATH
9886   save_LDFLAGS=$LDFLAGS
9887   save_libdir=$libdir
9888   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9889        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9890   cat >conftest.$ac_ext <<_ACEOF
9891 /* confdefs.h.  */
9892 _ACEOF
9893 cat confdefs.h >>conftest.$ac_ext
9894 cat >>conftest.$ac_ext <<_ACEOF
9895 /* end confdefs.h.  */
9896
9897 int
9898 main ()
9899 {
9900
9901   ;
9902   return 0;
9903 }
9904 _ACEOF
9905 rm -f conftest.$ac_objext conftest$ac_exeext
9906 if { (ac_try="$ac_link"
9907 case "(($ac_try" in
9908   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9909   *) ac_try_echo=$ac_try;;
9910 esac
9911 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9912 $as_echo "$ac_try_echo") >&5
9913   (eval "$ac_link") 2>conftest.er1
9914   ac_status=$?
9915   grep -v '^ *+' conftest.er1 >conftest.err
9916   rm -f conftest.er1
9917   cat conftest.err >&5
9918   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9919   (exit $ac_status); } && {
9920          test -z "$ac_c_werror_flag" ||
9921          test ! -s conftest.err
9922        } && test -s conftest$ac_exeext && {
9923          test "$cross_compiling" = yes ||
9924          $as_test_x conftest$ac_exeext
9925        }; then
9926   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9927   shlibpath_overrides_runpath=yes
9928 fi
9929
9930 else
9931   $as_echo "$as_me: failed program was:" >&5
9932 sed 's/^/| /' conftest.$ac_ext >&5
9933
9934
9935 fi
9936
9937 rm -rf conftest.dSYM
9938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9939       conftest$ac_exeext conftest.$ac_ext
9940   LDFLAGS=$save_LDFLAGS
9941   libdir=$save_libdir
9942
9943   # This implies no fast_install, which is unacceptable.
9944   # Some rework will be needed to allow for fast_install
9945   # before this can be enabled.
9946   hardcode_into_libs=yes
9947
9948   # Append ld.so.conf contents to the search path
9949   if test -f /etc/ld.so.conf; then
9950     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' ' '`
9951     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9952   fi
9953
9954   # We used to test for /lib/ld.so.1 and disable shared libraries on
9955   # powerpc, because MkLinux only supported shared libraries with the
9956   # GNU dynamic linker.  Since this was broken with cross compilers,
9957   # most powerpc-linux boxes support dynamic linking these days and
9958   # people can always --disable-shared, the test was removed, and we
9959   # assume the GNU/Linux dynamic linker is in use.
9960   dynamic_linker='GNU/Linux ld.so'
9961   ;;
9962
9963 netbsd*)
9964   version_type=sunos
9965   need_lib_prefix=no
9966   need_version=no
9967   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9968     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9969     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9970     dynamic_linker='NetBSD (a.out) ld.so'
9971   else
9972     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9973     soname_spec='${libname}${release}${shared_ext}$major'
9974     dynamic_linker='NetBSD ld.elf_so'
9975   fi
9976   shlibpath_var=LD_LIBRARY_PATH
9977   shlibpath_overrides_runpath=yes
9978   hardcode_into_libs=yes
9979   ;;
9980
9981 newsos6)
9982   version_type=linux
9983   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9984   shlibpath_var=LD_LIBRARY_PATH
9985   shlibpath_overrides_runpath=yes
9986   ;;
9987
9988 *nto* | *qnx*)
9989   version_type=qnx
9990   need_lib_prefix=no
9991   need_version=no
9992   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9993   soname_spec='${libname}${release}${shared_ext}$major'
9994   shlibpath_var=LD_LIBRARY_PATH
9995   shlibpath_overrides_runpath=no
9996   hardcode_into_libs=yes
9997   dynamic_linker='ldqnx.so'
9998   ;;
9999
10000 openbsd*)
10001   version_type=sunos
10002   sys_lib_dlsearch_path_spec="/usr/lib"
10003   need_lib_prefix=no
10004   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10005   case $host_os in
10006     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10007     *)                          need_version=no  ;;
10008   esac
10009   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10010   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10011   shlibpath_var=LD_LIBRARY_PATH
10012   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10013     case $host_os in
10014       openbsd2.[89] | openbsd2.[89].*)
10015         shlibpath_overrides_runpath=no
10016         ;;
10017       *)
10018         shlibpath_overrides_runpath=yes
10019         ;;
10020       esac
10021   else
10022     shlibpath_overrides_runpath=yes
10023   fi
10024   ;;
10025
10026 os2*)
10027   libname_spec='$name'
10028   shrext_cmds=".dll"
10029   need_lib_prefix=no
10030   library_names_spec='$libname${shared_ext} $libname.a'
10031   dynamic_linker='OS/2 ld.exe'
10032   shlibpath_var=LIBPATH
10033   ;;
10034
10035 osf3* | osf4* | osf5*)
10036   version_type=osf
10037   need_lib_prefix=no
10038   need_version=no
10039   soname_spec='${libname}${release}${shared_ext}$major'
10040   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10041   shlibpath_var=LD_LIBRARY_PATH
10042   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10043   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10044   ;;
10045
10046 rdos*)
10047   dynamic_linker=no
10048   ;;
10049
10050 solaris*)
10051   version_type=linux
10052   need_lib_prefix=no
10053   need_version=no
10054   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10055   soname_spec='${libname}${release}${shared_ext}$major'
10056   shlibpath_var=LD_LIBRARY_PATH
10057   shlibpath_overrides_runpath=yes
10058   hardcode_into_libs=yes
10059   # ldd complains unless libraries are executable
10060   postinstall_cmds='chmod +x $lib'
10061   ;;
10062
10063 sunos4*)
10064   version_type=sunos
10065   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10066   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10067   shlibpath_var=LD_LIBRARY_PATH
10068   shlibpath_overrides_runpath=yes
10069   if test "$with_gnu_ld" = yes; then
10070     need_lib_prefix=no
10071   fi
10072   need_version=yes
10073   ;;
10074
10075 sysv4 | sysv4.3*)
10076   version_type=linux
10077   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10078   soname_spec='${libname}${release}${shared_ext}$major'
10079   shlibpath_var=LD_LIBRARY_PATH
10080   case $host_vendor in
10081     sni)
10082       shlibpath_overrides_runpath=no
10083       need_lib_prefix=no
10084       runpath_var=LD_RUN_PATH
10085       ;;
10086     siemens)
10087       need_lib_prefix=no
10088       ;;
10089     motorola)
10090       need_lib_prefix=no
10091       need_version=no
10092       shlibpath_overrides_runpath=no
10093       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10094       ;;
10095   esac
10096   ;;
10097
10098 sysv4*MP*)
10099   if test -d /usr/nec ;then
10100     version_type=linux
10101     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10102     soname_spec='$libname${shared_ext}.$major'
10103     shlibpath_var=LD_LIBRARY_PATH
10104   fi
10105   ;;
10106
10107 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10108   version_type=freebsd-elf
10109   need_lib_prefix=no
10110   need_version=no
10111   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10112   soname_spec='${libname}${release}${shared_ext}$major'
10113   shlibpath_var=LD_LIBRARY_PATH
10114   shlibpath_overrides_runpath=yes
10115   hardcode_into_libs=yes
10116   if test "$with_gnu_ld" = yes; then
10117     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10118   else
10119     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10120     case $host_os in
10121       sco3.2v5*)
10122         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10123         ;;
10124     esac
10125   fi
10126   sys_lib_dlsearch_path_spec='/usr/lib'
10127   ;;
10128
10129 tpf*)
10130   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
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   shlibpath_var=LD_LIBRARY_PATH
10136   shlibpath_overrides_runpath=no
10137   hardcode_into_libs=yes
10138   ;;
10139
10140 uts4*)
10141   version_type=linux
10142   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10143   soname_spec='${libname}${release}${shared_ext}$major'
10144   shlibpath_var=LD_LIBRARY_PATH
10145   ;;
10146
10147 *)
10148   dynamic_linker=no
10149   ;;
10150 esac
10151 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10152 $as_echo "$dynamic_linker" >&6; }
10153 test "$dynamic_linker" = no && can_build_shared=no
10154
10155 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10156 if test "$GCC" = yes; then
10157   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10158 fi
10159
10160 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10161   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10162 fi
10163 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10164   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10165 fi
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253   { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10254 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10255 hardcode_action=
10256 if test -n "$hardcode_libdir_flag_spec" ||
10257    test -n "$runpath_var" ||
10258    test "X$hardcode_automatic" = "Xyes" ; then
10259
10260   # We can hardcode non-existent directories.
10261   if test "$hardcode_direct" != no &&
10262      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10263      # have to relink, otherwise we might link with an installed library
10264      # when we should be linking with a yet-to-be-installed one
10265      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10266      test "$hardcode_minus_L" != no; then
10267     # Linking always hardcodes the temporary library directory.
10268     hardcode_action=relink
10269   else
10270     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10271     hardcode_action=immediate
10272   fi
10273 else
10274   # We cannot hardcode anything, or else we can only hardcode existing
10275   # directories.
10276   hardcode_action=unsupported
10277 fi
10278 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
10279 $as_echo "$hardcode_action" >&6; }
10280
10281 if test "$hardcode_action" = relink ||
10282    test "$inherit_rpath" = yes; then
10283   # Fast installation is not supported
10284   enable_fast_install=no
10285 elif test "$shlibpath_overrides_runpath" = yes ||
10286      test "$enable_shared" = no; then
10287   # Fast installation is not necessary
10288   enable_fast_install=needless
10289 fi
10290
10291
10292
10293
10294
10295
10296   if test "x$enable_dlopen" != xyes; then
10297   enable_dlopen=unknown
10298   enable_dlopen_self=unknown
10299   enable_dlopen_self_static=unknown
10300 else
10301   lt_cv_dlopen=no
10302   lt_cv_dlopen_libs=
10303
10304   case $host_os in
10305   beos*)
10306     lt_cv_dlopen="load_add_on"
10307     lt_cv_dlopen_libs=
10308     lt_cv_dlopen_self=yes
10309     ;;
10310
10311   mingw* | pw32* | cegcc*)
10312     lt_cv_dlopen="LoadLibrary"
10313     lt_cv_dlopen_libs=
10314     ;;
10315
10316   cygwin*)
10317     lt_cv_dlopen="dlopen"
10318     lt_cv_dlopen_libs=
10319     ;;
10320
10321   darwin*)
10322   # if libdl is installed we need to link against it
10323     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10324 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10325 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10326   $as_echo_n "(cached) " >&6
10327 else
10328   ac_check_lib_save_LIBS=$LIBS
10329 LIBS="-ldl  $LIBS"
10330 cat >conftest.$ac_ext <<_ACEOF
10331 /* confdefs.h.  */
10332 _ACEOF
10333 cat confdefs.h >>conftest.$ac_ext
10334 cat >>conftest.$ac_ext <<_ACEOF
10335 /* end confdefs.h.  */
10336
10337 /* Override any GCC internal prototype to avoid an error.
10338    Use char because int might match the return type of a GCC
10339    builtin and then its argument prototype would still apply.  */
10340 #ifdef __cplusplus
10341 extern "C"
10342 #endif
10343 char dlopen ();
10344 int
10345 main ()
10346 {
10347 return dlopen ();
10348   ;
10349   return 0;
10350 }
10351 _ACEOF
10352 rm -f conftest.$ac_objext conftest$ac_exeext
10353 if { (ac_try="$ac_link"
10354 case "(($ac_try" in
10355   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10356   *) ac_try_echo=$ac_try;;
10357 esac
10358 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10359 $as_echo "$ac_try_echo") >&5
10360   (eval "$ac_link") 2>conftest.er1
10361   ac_status=$?
10362   grep -v '^ *+' conftest.er1 >conftest.err
10363   rm -f conftest.er1
10364   cat conftest.err >&5
10365   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10366   (exit $ac_status); } && {
10367          test -z "$ac_c_werror_flag" ||
10368          test ! -s conftest.err
10369        } && test -s conftest$ac_exeext && {
10370          test "$cross_compiling" = yes ||
10371          $as_test_x conftest$ac_exeext
10372        }; then
10373   ac_cv_lib_dl_dlopen=yes
10374 else
10375   $as_echo "$as_me: failed program was:" >&5
10376 sed 's/^/| /' conftest.$ac_ext >&5
10377
10378         ac_cv_lib_dl_dlopen=no
10379 fi
10380
10381 rm -rf conftest.dSYM
10382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10383       conftest$ac_exeext conftest.$ac_ext
10384 LIBS=$ac_check_lib_save_LIBS
10385 fi
10386 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10387 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10388 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10389   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10390 else
10391
10392     lt_cv_dlopen="dyld"
10393     lt_cv_dlopen_libs=
10394     lt_cv_dlopen_self=yes
10395
10396 fi
10397
10398     ;;
10399
10400   *)
10401     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10402 $as_echo_n "checking for shl_load... " >&6; }
10403 if test "${ac_cv_func_shl_load+set}" = set; then
10404   $as_echo_n "(cached) " >&6
10405 else
10406   cat >conftest.$ac_ext <<_ACEOF
10407 /* confdefs.h.  */
10408 _ACEOF
10409 cat confdefs.h >>conftest.$ac_ext
10410 cat >>conftest.$ac_ext <<_ACEOF
10411 /* end confdefs.h.  */
10412 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10413    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10414 #define shl_load innocuous_shl_load
10415
10416 /* System header to define __stub macros and hopefully few prototypes,
10417     which can conflict with char shl_load (); below.
10418     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10419     <limits.h> exists even on freestanding compilers.  */
10420
10421 #ifdef __STDC__
10422 # include <limits.h>
10423 #else
10424 # include <assert.h>
10425 #endif
10426
10427 #undef shl_load
10428
10429 /* Override any GCC internal prototype to avoid an error.
10430    Use char because int might match the return type of a GCC
10431    builtin and then its argument prototype would still apply.  */
10432 #ifdef __cplusplus
10433 extern "C"
10434 #endif
10435 char shl_load ();
10436 /* The GNU C library defines this for functions which it implements
10437     to always fail with ENOSYS.  Some functions are actually named
10438     something starting with __ and the normal name is an alias.  */
10439 #if defined __stub_shl_load || defined __stub___shl_load
10440 choke me
10441 #endif
10442
10443 int
10444 main ()
10445 {
10446 return shl_load ();
10447   ;
10448   return 0;
10449 }
10450 _ACEOF
10451 rm -f conftest.$ac_objext conftest$ac_exeext
10452 if { (ac_try="$ac_link"
10453 case "(($ac_try" in
10454   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10455   *) ac_try_echo=$ac_try;;
10456 esac
10457 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10458 $as_echo "$ac_try_echo") >&5
10459   (eval "$ac_link") 2>conftest.er1
10460   ac_status=$?
10461   grep -v '^ *+' conftest.er1 >conftest.err
10462   rm -f conftest.er1
10463   cat conftest.err >&5
10464   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10465   (exit $ac_status); } && {
10466          test -z "$ac_c_werror_flag" ||
10467          test ! -s conftest.err
10468        } && test -s conftest$ac_exeext && {
10469          test "$cross_compiling" = yes ||
10470          $as_test_x conftest$ac_exeext
10471        }; then
10472   ac_cv_func_shl_load=yes
10473 else
10474   $as_echo "$as_me: failed program was:" >&5
10475 sed 's/^/| /' conftest.$ac_ext >&5
10476
10477         ac_cv_func_shl_load=no
10478 fi
10479
10480 rm -rf conftest.dSYM
10481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10482       conftest$ac_exeext conftest.$ac_ext
10483 fi
10484 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10485 $as_echo "$ac_cv_func_shl_load" >&6; }
10486 if test "x$ac_cv_func_shl_load" = x""yes; then
10487   lt_cv_dlopen="shl_load"
10488 else
10489   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10490 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10491 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10492   $as_echo_n "(cached) " >&6
10493 else
10494   ac_check_lib_save_LIBS=$LIBS
10495 LIBS="-ldld  $LIBS"
10496 cat >conftest.$ac_ext <<_ACEOF
10497 /* confdefs.h.  */
10498 _ACEOF
10499 cat confdefs.h >>conftest.$ac_ext
10500 cat >>conftest.$ac_ext <<_ACEOF
10501 /* end confdefs.h.  */
10502
10503 /* Override any GCC internal prototype to avoid an error.
10504    Use char because int might match the return type of a GCC
10505    builtin and then its argument prototype would still apply.  */
10506 #ifdef __cplusplus
10507 extern "C"
10508 #endif
10509 char shl_load ();
10510 int
10511 main ()
10512 {
10513 return shl_load ();
10514   ;
10515   return 0;
10516 }
10517 _ACEOF
10518 rm -f conftest.$ac_objext conftest$ac_exeext
10519 if { (ac_try="$ac_link"
10520 case "(($ac_try" in
10521   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10522   *) ac_try_echo=$ac_try;;
10523 esac
10524 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10525 $as_echo "$ac_try_echo") >&5
10526   (eval "$ac_link") 2>conftest.er1
10527   ac_status=$?
10528   grep -v '^ *+' conftest.er1 >conftest.err
10529   rm -f conftest.er1
10530   cat conftest.err >&5
10531   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10532   (exit $ac_status); } && {
10533          test -z "$ac_c_werror_flag" ||
10534          test ! -s conftest.err
10535        } && test -s conftest$ac_exeext && {
10536          test "$cross_compiling" = yes ||
10537          $as_test_x conftest$ac_exeext
10538        }; then
10539   ac_cv_lib_dld_shl_load=yes
10540 else
10541   $as_echo "$as_me: failed program was:" >&5
10542 sed 's/^/| /' conftest.$ac_ext >&5
10543
10544         ac_cv_lib_dld_shl_load=no
10545 fi
10546
10547 rm -rf conftest.dSYM
10548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10549       conftest$ac_exeext conftest.$ac_ext
10550 LIBS=$ac_check_lib_save_LIBS
10551 fi
10552 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10553 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10554 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
10555   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10556 else
10557   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10558 $as_echo_n "checking for dlopen... " >&6; }
10559 if test "${ac_cv_func_dlopen+set}" = set; then
10560   $as_echo_n "(cached) " >&6
10561 else
10562   cat >conftest.$ac_ext <<_ACEOF
10563 /* confdefs.h.  */
10564 _ACEOF
10565 cat confdefs.h >>conftest.$ac_ext
10566 cat >>conftest.$ac_ext <<_ACEOF
10567 /* end confdefs.h.  */
10568 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10569    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10570 #define dlopen innocuous_dlopen
10571
10572 /* System header to define __stub macros and hopefully few prototypes,
10573     which can conflict with char dlopen (); below.
10574     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10575     <limits.h> exists even on freestanding compilers.  */
10576
10577 #ifdef __STDC__
10578 # include <limits.h>
10579 #else
10580 # include <assert.h>
10581 #endif
10582
10583 #undef dlopen
10584
10585 /* Override any GCC internal prototype to avoid an error.
10586    Use char because int might match the return type of a GCC
10587    builtin and then its argument prototype would still apply.  */
10588 #ifdef __cplusplus
10589 extern "C"
10590 #endif
10591 char dlopen ();
10592 /* The GNU C library defines this for functions which it implements
10593     to always fail with ENOSYS.  Some functions are actually named
10594     something starting with __ and the normal name is an alias.  */
10595 #if defined __stub_dlopen || defined __stub___dlopen
10596 choke me
10597 #endif
10598
10599 int
10600 main ()
10601 {
10602 return dlopen ();
10603   ;
10604   return 0;
10605 }
10606 _ACEOF
10607 rm -f conftest.$ac_objext conftest$ac_exeext
10608 if { (ac_try="$ac_link"
10609 case "(($ac_try" in
10610   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10611   *) ac_try_echo=$ac_try;;
10612 esac
10613 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10614 $as_echo "$ac_try_echo") >&5
10615   (eval "$ac_link") 2>conftest.er1
10616   ac_status=$?
10617   grep -v '^ *+' conftest.er1 >conftest.err
10618   rm -f conftest.er1
10619   cat conftest.err >&5
10620   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10621   (exit $ac_status); } && {
10622          test -z "$ac_c_werror_flag" ||
10623          test ! -s conftest.err
10624        } && test -s conftest$ac_exeext && {
10625          test "$cross_compiling" = yes ||
10626          $as_test_x conftest$ac_exeext
10627        }; then
10628   ac_cv_func_dlopen=yes
10629 else
10630   $as_echo "$as_me: failed program was:" >&5
10631 sed 's/^/| /' conftest.$ac_ext >&5
10632
10633         ac_cv_func_dlopen=no
10634 fi
10635
10636 rm -rf conftest.dSYM
10637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10638       conftest$ac_exeext conftest.$ac_ext
10639 fi
10640 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10641 $as_echo "$ac_cv_func_dlopen" >&6; }
10642 if test "x$ac_cv_func_dlopen" = x""yes; then
10643   lt_cv_dlopen="dlopen"
10644 else
10645   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10646 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10647 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10648   $as_echo_n "(cached) " >&6
10649 else
10650   ac_check_lib_save_LIBS=$LIBS
10651 LIBS="-ldl  $LIBS"
10652 cat >conftest.$ac_ext <<_ACEOF
10653 /* confdefs.h.  */
10654 _ACEOF
10655 cat confdefs.h >>conftest.$ac_ext
10656 cat >>conftest.$ac_ext <<_ACEOF
10657 /* end confdefs.h.  */
10658
10659 /* Override any GCC internal prototype to avoid an error.
10660    Use char because int might match the return type of a GCC
10661    builtin and then its argument prototype would still apply.  */
10662 #ifdef __cplusplus
10663 extern "C"
10664 #endif
10665 char dlopen ();
10666 int
10667 main ()
10668 {
10669 return dlopen ();
10670   ;
10671   return 0;
10672 }
10673 _ACEOF
10674 rm -f conftest.$ac_objext conftest$ac_exeext
10675 if { (ac_try="$ac_link"
10676 case "(($ac_try" in
10677   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10678   *) ac_try_echo=$ac_try;;
10679 esac
10680 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10681 $as_echo "$ac_try_echo") >&5
10682   (eval "$ac_link") 2>conftest.er1
10683   ac_status=$?
10684   grep -v '^ *+' conftest.er1 >conftest.err
10685   rm -f conftest.er1
10686   cat conftest.err >&5
10687   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10688   (exit $ac_status); } && {
10689          test -z "$ac_c_werror_flag" ||
10690          test ! -s conftest.err
10691        } && test -s conftest$ac_exeext && {
10692          test "$cross_compiling" = yes ||
10693          $as_test_x conftest$ac_exeext
10694        }; then
10695   ac_cv_lib_dl_dlopen=yes
10696 else
10697   $as_echo "$as_me: failed program was:" >&5
10698 sed 's/^/| /' conftest.$ac_ext >&5
10699
10700         ac_cv_lib_dl_dlopen=no
10701 fi
10702
10703 rm -rf conftest.dSYM
10704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10705       conftest$ac_exeext conftest.$ac_ext
10706 LIBS=$ac_check_lib_save_LIBS
10707 fi
10708 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10709 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10710 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10711   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10712 else
10713   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10714 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10715 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10716   $as_echo_n "(cached) " >&6
10717 else
10718   ac_check_lib_save_LIBS=$LIBS
10719 LIBS="-lsvld  $LIBS"
10720 cat >conftest.$ac_ext <<_ACEOF
10721 /* confdefs.h.  */
10722 _ACEOF
10723 cat confdefs.h >>conftest.$ac_ext
10724 cat >>conftest.$ac_ext <<_ACEOF
10725 /* end confdefs.h.  */
10726
10727 /* Override any GCC internal prototype to avoid an error.
10728    Use char because int might match the return type of a GCC
10729    builtin and then its argument prototype would still apply.  */
10730 #ifdef __cplusplus
10731 extern "C"
10732 #endif
10733 char dlopen ();
10734 int
10735 main ()
10736 {
10737 return dlopen ();
10738   ;
10739   return 0;
10740 }
10741 _ACEOF
10742 rm -f conftest.$ac_objext conftest$ac_exeext
10743 if { (ac_try="$ac_link"
10744 case "(($ac_try" in
10745   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10746   *) ac_try_echo=$ac_try;;
10747 esac
10748 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10749 $as_echo "$ac_try_echo") >&5
10750   (eval "$ac_link") 2>conftest.er1
10751   ac_status=$?
10752   grep -v '^ *+' conftest.er1 >conftest.err
10753   rm -f conftest.er1
10754   cat conftest.err >&5
10755   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10756   (exit $ac_status); } && {
10757          test -z "$ac_c_werror_flag" ||
10758          test ! -s conftest.err
10759        } && test -s conftest$ac_exeext && {
10760          test "$cross_compiling" = yes ||
10761          $as_test_x conftest$ac_exeext
10762        }; then
10763   ac_cv_lib_svld_dlopen=yes
10764 else
10765   $as_echo "$as_me: failed program was:" >&5
10766 sed 's/^/| /' conftest.$ac_ext >&5
10767
10768         ac_cv_lib_svld_dlopen=no
10769 fi
10770
10771 rm -rf conftest.dSYM
10772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10773       conftest$ac_exeext conftest.$ac_ext
10774 LIBS=$ac_check_lib_save_LIBS
10775 fi
10776 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10777 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10778 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
10779   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10780 else
10781   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10782 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10783 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10784   $as_echo_n "(cached) " >&6
10785 else
10786   ac_check_lib_save_LIBS=$LIBS
10787 LIBS="-ldld  $LIBS"
10788 cat >conftest.$ac_ext <<_ACEOF
10789 /* confdefs.h.  */
10790 _ACEOF
10791 cat confdefs.h >>conftest.$ac_ext
10792 cat >>conftest.$ac_ext <<_ACEOF
10793 /* end confdefs.h.  */
10794
10795 /* Override any GCC internal prototype to avoid an error.
10796    Use char because int might match the return type of a GCC
10797    builtin and then its argument prototype would still apply.  */
10798 #ifdef __cplusplus
10799 extern "C"
10800 #endif
10801 char dld_link ();
10802 int
10803 main ()
10804 {
10805 return dld_link ();
10806   ;
10807   return 0;
10808 }
10809 _ACEOF
10810 rm -f conftest.$ac_objext conftest$ac_exeext
10811 if { (ac_try="$ac_link"
10812 case "(($ac_try" in
10813   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10814   *) ac_try_echo=$ac_try;;
10815 esac
10816 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10817 $as_echo "$ac_try_echo") >&5
10818   (eval "$ac_link") 2>conftest.er1
10819   ac_status=$?
10820   grep -v '^ *+' conftest.er1 >conftest.err
10821   rm -f conftest.er1
10822   cat conftest.err >&5
10823   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10824   (exit $ac_status); } && {
10825          test -z "$ac_c_werror_flag" ||
10826          test ! -s conftest.err
10827        } && test -s conftest$ac_exeext && {
10828          test "$cross_compiling" = yes ||
10829          $as_test_x conftest$ac_exeext
10830        }; then
10831   ac_cv_lib_dld_dld_link=yes
10832 else
10833   $as_echo "$as_me: failed program was:" >&5
10834 sed 's/^/| /' conftest.$ac_ext >&5
10835
10836         ac_cv_lib_dld_dld_link=no
10837 fi
10838
10839 rm -rf conftest.dSYM
10840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10841       conftest$ac_exeext conftest.$ac_ext
10842 LIBS=$ac_check_lib_save_LIBS
10843 fi
10844 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10845 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10846 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
10847   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10848 fi
10849
10850
10851 fi
10852
10853
10854 fi
10855
10856
10857 fi
10858
10859
10860 fi
10861
10862
10863 fi
10864
10865     ;;
10866   esac
10867
10868   if test "x$lt_cv_dlopen" != xno; then
10869     enable_dlopen=yes
10870   else
10871     enable_dlopen=no
10872   fi
10873
10874   case $lt_cv_dlopen in
10875   dlopen)
10876     save_CPPFLAGS="$CPPFLAGS"
10877     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10878
10879     save_LDFLAGS="$LDFLAGS"
10880     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10881
10882     save_LIBS="$LIBS"
10883     LIBS="$lt_cv_dlopen_libs $LIBS"
10884
10885     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10886 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10887 if test "${lt_cv_dlopen_self+set}" = set; then
10888   $as_echo_n "(cached) " >&6
10889 else
10890           if test "$cross_compiling" = yes; then :
10891   lt_cv_dlopen_self=cross
10892 else
10893   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10894   lt_status=$lt_dlunknown
10895   cat > conftest.$ac_ext <<_LT_EOF
10896 #line 10896 "configure"
10897 #include "confdefs.h"
10898
10899 #if HAVE_DLFCN_H
10900 #include <dlfcn.h>
10901 #endif
10902
10903 #include <stdio.h>
10904
10905 #ifdef RTLD_GLOBAL
10906 #  define LT_DLGLOBAL           RTLD_GLOBAL
10907 #else
10908 #  ifdef DL_GLOBAL
10909 #    define LT_DLGLOBAL         DL_GLOBAL
10910 #  else
10911 #    define LT_DLGLOBAL         0
10912 #  endif
10913 #endif
10914
10915 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10916    find out it does not work in some platform. */
10917 #ifndef LT_DLLAZY_OR_NOW
10918 #  ifdef RTLD_LAZY
10919 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10920 #  else
10921 #    ifdef DL_LAZY
10922 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10923 #    else
10924 #      ifdef RTLD_NOW
10925 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10926 #      else
10927 #        ifdef DL_NOW
10928 #          define LT_DLLAZY_OR_NOW      DL_NOW
10929 #        else
10930 #          define LT_DLLAZY_OR_NOW      0
10931 #        endif
10932 #      endif
10933 #    endif
10934 #  endif
10935 #endif
10936
10937 void fnord() { int i=42;}
10938 int main ()
10939 {
10940   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10941   int status = $lt_dlunknown;
10942
10943   if (self)
10944     {
10945       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10946       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10947       /* dlclose (self); */
10948     }
10949   else
10950     puts (dlerror ());
10951
10952   return status;
10953 }
10954 _LT_EOF
10955   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10956   (eval $ac_link) 2>&5
10957   ac_status=$?
10958   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10959   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10960     (./conftest; exit; ) >&5 2>/dev/null
10961     lt_status=$?
10962     case x$lt_status in
10963       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10964       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10965       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10966     esac
10967   else :
10968     # compilation failed
10969     lt_cv_dlopen_self=no
10970   fi
10971 fi
10972 rm -fr conftest*
10973
10974
10975 fi
10976 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10977 $as_echo "$lt_cv_dlopen_self" >&6; }
10978
10979     if test "x$lt_cv_dlopen_self" = xyes; then
10980       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10981       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10982 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10983 if test "${lt_cv_dlopen_self_static+set}" = set; then
10984   $as_echo_n "(cached) " >&6
10985 else
10986           if test "$cross_compiling" = yes; then :
10987   lt_cv_dlopen_self_static=cross
10988 else
10989   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10990   lt_status=$lt_dlunknown
10991   cat > conftest.$ac_ext <<_LT_EOF
10992 #line 10992 "configure"
10993 #include "confdefs.h"
10994
10995 #if HAVE_DLFCN_H
10996 #include <dlfcn.h>
10997 #endif
10998
10999 #include <stdio.h>
11000
11001 #ifdef RTLD_GLOBAL
11002 #  define LT_DLGLOBAL           RTLD_GLOBAL
11003 #else
11004 #  ifdef DL_GLOBAL
11005 #    define LT_DLGLOBAL         DL_GLOBAL
11006 #  else
11007 #    define LT_DLGLOBAL         0
11008 #  endif
11009 #endif
11010
11011 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11012    find out it does not work in some platform. */
11013 #ifndef LT_DLLAZY_OR_NOW
11014 #  ifdef RTLD_LAZY
11015 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11016 #  else
11017 #    ifdef DL_LAZY
11018 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11019 #    else
11020 #      ifdef RTLD_NOW
11021 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11022 #      else
11023 #        ifdef DL_NOW
11024 #          define LT_DLLAZY_OR_NOW      DL_NOW
11025 #        else
11026 #          define LT_DLLAZY_OR_NOW      0
11027 #        endif
11028 #      endif
11029 #    endif
11030 #  endif
11031 #endif
11032
11033 void fnord() { int i=42;}
11034 int main ()
11035 {
11036   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11037   int status = $lt_dlunknown;
11038
11039   if (self)
11040     {
11041       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11042       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11043       /* dlclose (self); */
11044     }
11045   else
11046     puts (dlerror ());
11047
11048   return status;
11049 }
11050 _LT_EOF
11051   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11052   (eval $ac_link) 2>&5
11053   ac_status=$?
11054   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11055   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11056     (./conftest; exit; ) >&5 2>/dev/null
11057     lt_status=$?
11058     case x$lt_status in
11059       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11060       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11061       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11062     esac
11063   else :
11064     # compilation failed
11065     lt_cv_dlopen_self_static=no
11066   fi
11067 fi
11068 rm -fr conftest*
11069
11070
11071 fi
11072 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11073 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11074     fi
11075
11076     CPPFLAGS="$save_CPPFLAGS"
11077     LDFLAGS="$save_LDFLAGS"
11078     LIBS="$save_LIBS"
11079     ;;
11080   esac
11081
11082   case $lt_cv_dlopen_self in
11083   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11084   *) enable_dlopen_self=unknown ;;
11085   esac
11086
11087   case $lt_cv_dlopen_self_static in
11088   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11089   *) enable_dlopen_self_static=unknown ;;
11090   esac
11091 fi
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109 striplib=
11110 old_striplib=
11111 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11112 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11113 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11114   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11115   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11116   { $as_echo "$as_me:$LINENO: result: yes" >&5
11117 $as_echo "yes" >&6; }
11118 else
11119 # FIXME - insert some real tests, host_os isn't really good enough
11120   case $host_os in
11121   darwin*)
11122     if test -n "$STRIP" ; then
11123       striplib="$STRIP -x"
11124       old_striplib="$STRIP -S"
11125       { $as_echo "$as_me:$LINENO: result: yes" >&5
11126 $as_echo "yes" >&6; }
11127     else
11128       { $as_echo "$as_me:$LINENO: result: no" >&5
11129 $as_echo "no" >&6; }
11130     fi
11131     ;;
11132   *)
11133     { $as_echo "$as_me:$LINENO: result: no" >&5
11134 $as_echo "no" >&6; }
11135     ;;
11136   esac
11137 fi
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150   # Report which library types will actually be built
11151   { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11152 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11153   { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
11154 $as_echo "$can_build_shared" >&6; }
11155
11156   { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11157 $as_echo_n "checking whether to build shared libraries... " >&6; }
11158   test "$can_build_shared" = "no" && enable_shared=no
11159
11160   # On AIX, shared libraries and static libraries use the same namespace, and
11161   # are all built from PIC.
11162   case $host_os in
11163   aix3*)
11164     test "$enable_shared" = yes && enable_static=no
11165     if test -n "$RANLIB"; then
11166       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11167       postinstall_cmds='$RANLIB $lib'
11168     fi
11169     ;;
11170
11171   aix[4-9]*)
11172     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11173       test "$enable_shared" = yes && enable_static=no
11174     fi
11175     ;;
11176   esac
11177   { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
11178 $as_echo "$enable_shared" >&6; }
11179
11180   { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11181 $as_echo_n "checking whether to build static libraries... " >&6; }
11182   # Make sure either enable_shared or enable_static is yes.
11183   test "$enable_shared" = yes || enable_static=yes
11184   { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
11185 $as_echo "$enable_static" >&6; }
11186
11187
11188
11189
11190 fi
11191 ac_ext=c
11192 ac_cpp='$CPP $CPPFLAGS'
11193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11196
11197 CC="$lt_save_CC"
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211         ac_config_commands="$ac_config_commands libtool"
11212
11213
11214
11215
11216 # Only expand once:
11217
11218
11219
11220 if test "x$GCC" = "xyes"; then
11221     case " $CFLAGS " in
11222   *[\ \ ]-Wall[\ \      ]*) ;;
11223   *) CFLAGS="$CFLAGS -Wall" ;;
11224   esac
11225
11226   case " $CFLAGS " in
11227   *[\ \ ]-Wchar-subscripts[\ \  ]*) ;;
11228   *) CFLAGS="$CFLAGS -Wchar-subscripts" ;;
11229   esac
11230
11231   case " $CFLAGS " in
11232   *[\ \ ]-Wmissing-declarations[\ \     ]*) ;;
11233   *) CFLAGS="$CFLAGS -Wmissing-declarations" ;;
11234   esac
11235
11236   case " $CFLAGS " in
11237   *[\ \ ]-Wmissing-prototypes[\ \       ]*) ;;
11238   *) CFLAGS="$CFLAGS -Wmissing-prototypes" ;;
11239   esac
11240
11241   case " $CFLAGS " in
11242   *[\ \ ]-Wnested-externs[\ \   ]*) ;;
11243   *) CFLAGS="$CFLAGS -Wnested-externs" ;;
11244   esac
11245
11246   case " $CFLAGS " in
11247   *[\ \ ]-Wpointer-arith[\ \    ]*) ;;
11248   *) CFLAGS="$CFLAGS -Wpointer-arith" ;;
11249   esac
11250
11251   case " $CFLAGS " in
11252   *[\ \ ]-Wcast-align[\ \       ]*) ;;
11253   *) CFLAGS="$CFLAGS -Wcast-align" ;;
11254   esac
11255
11256   case " $CFLAGS " in
11257   *[\ \ ]-Wsign-compare[\ \     ]*) ;;
11258   *) CFLAGS="$CFLAGS -Wsign-compare" ;;
11259   esac
11260
11261   if test "x$enable_ansi" = "xyes"; then
11262     case " $CFLAGS " in
11263     *[\ \       ]-ansi[\ \      ]*) ;;
11264     *) CFLAGS="$CFLAGS -ansi" ;;
11265     esac
11266
11267     case " $CFLAGS " in
11268     *[\ \       ]-pedantic[\ \  ]*) ;;
11269     *) CFLAGS="$CFLAGS -pedantic" ;;
11270     esac
11271   fi
11272   if test x$enable_gcov = xyes; then
11273     case " $CFLAGS " in
11274     *[\ \       ]-fprofile-arcs[\ \     ]*) ;;
11275     *) CFLAGS="$CFLAGS -fprofile-arcs" ;;
11276     esac
11277     case " $CFLAGS " in
11278     *[\ \       ]-ftest-coverage[\ \    ]*) ;;
11279     *) CFLAGS="$CFLAGS -ftest-coverage" ;;
11280     esac
11281
11282     ## remove optimization
11283     CFLAGS=`echo "$CFLAGS" | sed -e 's/-O[0-9]*//g'`
11284   fi
11285   else
11286   if test x$enable_gcov = xyes; then
11287     { { $as_echo "$as_me:$LINENO: error: --enable-gcov can only be used with gcc" >&5
11288 $as_echo "$as_me: error: --enable-gcov can only be used with gcc" >&2;}
11289    { (exit 1); exit 1; }; }
11290   fi
11291 fi
11292
11293 # compress spaces in flags
11294 CFLAGS=`echo "$CFLAGS" | sed -e 's/ +/ /g'`
11295 CPPFLAGS=`echo "$CPPFLAGS" | sed -e 's/ +/ /g'`
11296
11297
11298
11299 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11300         if test -n "$ac_tool_prefix"; then
11301   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11302 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11303 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11304 $as_echo_n "checking for $ac_word... " >&6; }
11305 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11306   $as_echo_n "(cached) " >&6
11307 else
11308   case $PKG_CONFIG in
11309   [\\/]* | ?:[\\/]*)
11310   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11311   ;;
11312   *)
11313   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11314 for as_dir in $PATH
11315 do
11316   IFS=$as_save_IFS
11317   test -z "$as_dir" && as_dir=.
11318   for ac_exec_ext in '' $ac_executable_extensions; do
11319   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11320     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11321     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11322     break 2
11323   fi
11324 done
11325 done
11326 IFS=$as_save_IFS
11327
11328   ;;
11329 esac
11330 fi
11331 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11332 if test -n "$PKG_CONFIG"; then
11333   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11334 $as_echo "$PKG_CONFIG" >&6; }
11335 else
11336   { $as_echo "$as_me:$LINENO: result: no" >&5
11337 $as_echo "no" >&6; }
11338 fi
11339
11340
11341 fi
11342 if test -z "$ac_cv_path_PKG_CONFIG"; then
11343   ac_pt_PKG_CONFIG=$PKG_CONFIG
11344   # Extract the first word of "pkg-config", so it can be a program name with args.
11345 set dummy pkg-config; ac_word=$2
11346 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11347 $as_echo_n "checking for $ac_word... " >&6; }
11348 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
11349   $as_echo_n "(cached) " >&6
11350 else
11351   case $ac_pt_PKG_CONFIG in
11352   [\\/]* | ?:[\\/]*)
11353   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11354   ;;
11355   *)
11356   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11357 for as_dir in $PATH
11358 do
11359   IFS=$as_save_IFS
11360   test -z "$as_dir" && as_dir=.
11361   for ac_exec_ext in '' $ac_executable_extensions; do
11362   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11363     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11364     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11365     break 2
11366   fi
11367 done
11368 done
11369 IFS=$as_save_IFS
11370
11371   ;;
11372 esac
11373 fi
11374 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11375 if test -n "$ac_pt_PKG_CONFIG"; then
11376   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
11377 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11378 else
11379   { $as_echo "$as_me:$LINENO: result: no" >&5
11380 $as_echo "no" >&6; }
11381 fi
11382
11383   if test "x$ac_pt_PKG_CONFIG" = x; then
11384     PKG_CONFIG=""
11385   else
11386     case $cross_compiling:$ac_tool_warned in
11387 yes:)
11388 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
11389 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11390 ac_tool_warned=yes ;;
11391 esac
11392     PKG_CONFIG=$ac_pt_PKG_CONFIG
11393   fi
11394 else
11395   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11396 fi
11397
11398 fi
11399 if test -n "$PKG_CONFIG"; then
11400         _pkg_min_version=0.9.0
11401         { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
11402 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11403         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11404                 { $as_echo "$as_me:$LINENO: result: yes" >&5
11405 $as_echo "yes" >&6; }
11406         else
11407                 { $as_echo "$as_me:$LINENO: result: no" >&5
11408 $as_echo "no" >&6; }
11409                 PKG_CONFIG=""
11410         fi
11411
11412 fi
11413
11414 pkg_failed=no
11415 { $as_echo "$as_me:$LINENO: checking for DESKTOP_FILE_UTILS" >&5
11416 $as_echo_n "checking for DESKTOP_FILE_UTILS... " >&6; }
11417
11418 if test -n "$DESKTOP_FILE_UTILS_CFLAGS"; then
11419     pkg_cv_DESKTOP_FILE_UTILS_CFLAGS="$DESKTOP_FILE_UTILS_CFLAGS"
11420  elif test -n "$PKG_CONFIG"; then
11421     if test -n "$PKG_CONFIG" && \
11422     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.8.0\"") >&5
11423   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.8.0") 2>&5
11424   ac_status=$?
11425   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11426   (exit $ac_status); }; then
11427   pkg_cv_DESKTOP_FILE_UTILS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.8.0" 2>/dev/null`
11428 else
11429   pkg_failed=yes
11430 fi
11431  else
11432     pkg_failed=untried
11433 fi
11434 if test -n "$DESKTOP_FILE_UTILS_LIBS"; then
11435     pkg_cv_DESKTOP_FILE_UTILS_LIBS="$DESKTOP_FILE_UTILS_LIBS"
11436  elif test -n "$PKG_CONFIG"; then
11437     if test -n "$PKG_CONFIG" && \
11438     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.8.0\"") >&5
11439   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.8.0") 2>&5
11440   ac_status=$?
11441   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11442   (exit $ac_status); }; then
11443   pkg_cv_DESKTOP_FILE_UTILS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.8.0" 2>/dev/null`
11444 else
11445   pkg_failed=yes
11446 fi
11447  else
11448     pkg_failed=untried
11449 fi
11450
11451
11452
11453 if test $pkg_failed = yes; then
11454
11455 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11456         _pkg_short_errors_supported=yes
11457 else
11458         _pkg_short_errors_supported=no
11459 fi
11460         if test $_pkg_short_errors_supported = yes; then
11461                 DESKTOP_FILE_UTILS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.8.0" 2>&1`
11462         else
11463                 DESKTOP_FILE_UTILS_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.8.0" 2>&1`
11464         fi
11465         # Put the nasty error message in config.log where it belongs
11466         echo "$DESKTOP_FILE_UTILS_PKG_ERRORS" >&5
11467
11468         { { $as_echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= 2.8.0) were not met:
11469
11470 $DESKTOP_FILE_UTILS_PKG_ERRORS
11471
11472 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11473 installed software in a non-standard prefix.
11474
11475 Alternatively, you may set the environment variables DESKTOP_FILE_UTILS_CFLAGS
11476 and DESKTOP_FILE_UTILS_LIBS to avoid the need to call pkg-config.
11477 See the pkg-config man page for more details.
11478 " >&5
11479 $as_echo "$as_me: error: Package requirements (glib-2.0 >= 2.8.0) were not met:
11480
11481 $DESKTOP_FILE_UTILS_PKG_ERRORS
11482
11483 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11484 installed software in a non-standard prefix.
11485
11486 Alternatively, you may set the environment variables DESKTOP_FILE_UTILS_CFLAGS
11487 and DESKTOP_FILE_UTILS_LIBS to avoid the need to call pkg-config.
11488 See the pkg-config man page for more details.
11489 " >&2;}
11490    { (exit 1); exit 1; }; }
11491 elif test $pkg_failed = untried; then
11492         { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
11493 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11494 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
11495 is in your PATH or set the PKG_CONFIG environment variable to the full
11496 path to pkg-config.
11497
11498 Alternatively, you may set the environment variables DESKTOP_FILE_UTILS_CFLAGS
11499 and DESKTOP_FILE_UTILS_LIBS to avoid the need to call pkg-config.
11500 See the pkg-config man page for more details.
11501
11502 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11503 See \`config.log' for more details." >&5
11504 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
11505 is in your PATH or set the PKG_CONFIG environment variable to the full
11506 path to pkg-config.
11507
11508 Alternatively, you may set the environment variables DESKTOP_FILE_UTILS_CFLAGS
11509 and DESKTOP_FILE_UTILS_LIBS to avoid the need to call pkg-config.
11510 See the pkg-config man page for more details.
11511
11512 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11513 See \`config.log' for more details." >&2;}
11514    { (exit 1); exit 1; }; }; }
11515 else
11516         DESKTOP_FILE_UTILS_CFLAGS=$pkg_cv_DESKTOP_FILE_UTILS_CFLAGS
11517         DESKTOP_FILE_UTILS_LIBS=$pkg_cv_DESKTOP_FILE_UTILS_LIBS
11518         { $as_echo "$as_me:$LINENO: result: yes" >&5
11519 $as_echo "yes" >&6; }
11520         :
11521 fi
11522
11523  # If set to t, that means we are running in a shell under Emacs.
11524  # If you have an Emacs named "t", then use the full path.
11525  test x"$EMACS" = xt && EMACS=
11526  for ac_prog in emacs xemacs
11527 do
11528   # Extract the first word of "$ac_prog", so it can be a program name with args.
11529 set dummy $ac_prog; ac_word=$2
11530 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11531 $as_echo_n "checking for $ac_word... " >&6; }
11532 if test "${ac_cv_prog_EMACS+set}" = set; then
11533   $as_echo_n "(cached) " >&6
11534 else
11535   if test -n "$EMACS"; then
11536   ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
11537 else
11538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11539 for as_dir in $PATH
11540 do
11541   IFS=$as_save_IFS
11542   test -z "$as_dir" && as_dir=.
11543   for ac_exec_ext in '' $ac_executable_extensions; do
11544   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11545     ac_cv_prog_EMACS="$ac_prog"
11546     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11547     break 2
11548   fi
11549 done
11550 done
11551 IFS=$as_save_IFS
11552
11553 fi
11554 fi
11555 EMACS=$ac_cv_prog_EMACS
11556 if test -n "$EMACS"; then
11557   { $as_echo "$as_me:$LINENO: result: $EMACS" >&5
11558 $as_echo "$EMACS" >&6; }
11559 else
11560   { $as_echo "$as_me:$LINENO: result: no" >&5
11561 $as_echo "no" >&6; }
11562 fi
11563
11564
11565   test -n "$EMACS" && break
11566 done
11567 test -n "$EMACS" || EMACS="no"
11568
11569
11570
11571
11572 # Check whether --with-lispdir was given.
11573 if test "${with_lispdir+set}" = set; then
11574   withval=$with_lispdir;  lispdir="$withval"
11575    { $as_echo "$as_me:$LINENO: checking where .elc files should go" >&5
11576 $as_echo_n "checking where .elc files should go... " >&6; }
11577    { $as_echo "$as_me:$LINENO: result: $lispdir" >&5
11578 $as_echo "$lispdir" >&6; }
11579 else
11580
11581  { $as_echo "$as_me:$LINENO: checking where .elc files should go" >&5
11582 $as_echo_n "checking where .elc files should go... " >&6; }
11583 if test "${am_cv_lispdir+set}" = set; then
11584   $as_echo_n "(cached) " >&6
11585 else
11586
11587    if test $EMACS != "no"; then
11588      if test x${lispdir+set} != xset; then
11589   # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
11590   # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
11591   #  which is non-obvious for non-emacs users.
11592   # Redirecting /dev/null should help a bit; pity we can't detect "broken"
11593   #  emacsen earlier and avoid running this altogether.
11594   { ($as_echo "$as_me:$LINENO: \$EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) \"\\n\")) (setq load-path (cdr load-path)))' </dev/null >conftest.out") >&5
11595   ($EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) "\n")) (setq load-path (cdr load-path)))' </dev/null >conftest.out) 2>&5
11596   ac_status=$?
11597   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11598   (exit $ac_status); }
11599         am_cv_lispdir=`sed -n \
11600        -e 's,/$,,' \
11601        -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
11602        -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datarootdir}/\1,;p;q;}' \
11603        conftest.out`
11604        rm conftest.out
11605      fi
11606    fi
11607    test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
11608
11609 fi
11610 { $as_echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
11611 $as_echo "$am_cv_lispdir" >&6; }
11612   lispdir="$am_cv_lispdir"
11613
11614 fi
11615
11616
11617
11618
11619 ac_config_files="$ac_config_files Makefile src/Makefile misc/Makefile"
11620
11621
11622 cat >confcache <<\_ACEOF
11623 # This file is a shell script that caches the results of configure
11624 # tests run on this system so they can be shared between configure
11625 # scripts and configure runs, see configure's option --config-cache.
11626 # It is not useful on other systems.  If it contains results you don't
11627 # want to keep, you may remove or edit it.
11628 #
11629 # config.status only pays attention to the cache file if you give it
11630 # the --recheck option to rerun configure.
11631 #
11632 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11633 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11634 # following values.
11635
11636 _ACEOF
11637
11638 # The following way of writing the cache mishandles newlines in values,
11639 # but we know of no workaround that is simple, portable, and efficient.
11640 # So, we kill variables containing newlines.
11641 # Ultrix sh set writes to stderr and can't be redirected directly,
11642 # and sets the high bit in the cache file unless we assign to the vars.
11643 (
11644   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11645     eval ac_val=\$$ac_var
11646     case $ac_val in #(
11647     *${as_nl}*)
11648       case $ac_var in #(
11649       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
11650 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11651       esac
11652       case $ac_var in #(
11653       _ | IFS | as_nl) ;; #(
11654       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11655       *) $as_unset $ac_var ;;
11656       esac ;;
11657     esac
11658   done
11659
11660   (set) 2>&1 |
11661     case $as_nl`(ac_space=' '; set) 2>&1` in #(
11662     *${as_nl}ac_space=\ *)
11663       # `set' does not quote correctly, so add quotes (double-quote
11664       # substitution turns \\\\ into \\, and sed turns \\ into \).
11665       sed -n \
11666         "s/'/'\\\\''/g;
11667           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11668       ;; #(
11669     *)
11670       # `set' quotes correctly as required by POSIX, so do not add quotes.
11671       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11672       ;;
11673     esac |
11674     sort
11675 ) |
11676   sed '
11677      /^ac_cv_env_/b end
11678      t clear
11679      :clear
11680      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11681      t end
11682      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11683      :end' >>confcache
11684 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11685   if test -w "$cache_file"; then
11686     test "x$cache_file" != "x/dev/null" &&
11687       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
11688 $as_echo "$as_me: updating cache $cache_file" >&6;}
11689     cat confcache >$cache_file
11690   else
11691     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
11692 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11693   fi
11694 fi
11695 rm -f confcache
11696
11697 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11698 # Let make expand exec_prefix.
11699 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11700
11701 DEFS=-DHAVE_CONFIG_H
11702
11703 ac_libobjs=
11704 ac_ltlibobjs=
11705 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11706   # 1. Remove the extension, and $U if already installed.
11707   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11708   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
11709   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
11710   #    will be set to the directory where LIBOBJS objects are built.
11711   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11712   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
11713 done
11714 LIBOBJS=$ac_libobjs
11715
11716 LTLIBOBJS=$ac_ltlibobjs
11717
11718
11719  if test -n "$EXEEXT"; then
11720   am__EXEEXT_TRUE=
11721   am__EXEEXT_FALSE='#'
11722 else
11723   am__EXEEXT_TRUE='#'
11724   am__EXEEXT_FALSE=
11725 fi
11726
11727 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11728   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
11729 Usually this means the macro was only invoked conditionally." >&5
11730 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
11731 Usually this means the macro was only invoked conditionally." >&2;}
11732    { (exit 1); exit 1; }; }
11733 fi
11734 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11735   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
11736 Usually this means the macro was only invoked conditionally." >&5
11737 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
11738 Usually this means the macro was only invoked conditionally." >&2;}
11739    { (exit 1); exit 1; }; }
11740 fi
11741 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11742   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11743 Usually this means the macro was only invoked conditionally." >&5
11744 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11745 Usually this means the macro was only invoked conditionally." >&2;}
11746    { (exit 1); exit 1; }; }
11747 fi
11748
11749 : ${CONFIG_STATUS=./config.status}
11750 ac_write_fail=0
11751 ac_clean_files_save=$ac_clean_files
11752 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11753 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11754 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11755 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11756 #! $SHELL
11757 # Generated by $as_me.
11758 # Run this file to recreate the current configuration.
11759 # Compiler output produced by configure, useful for debugging
11760 # configure, is in config.log if it exists.
11761
11762 debug=false
11763 ac_cs_recheck=false
11764 ac_cs_silent=false
11765 SHELL=\${CONFIG_SHELL-$SHELL}
11766 _ACEOF
11767
11768 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11769 ## --------------------- ##
11770 ## M4sh Initialization.  ##
11771 ## --------------------- ##
11772
11773 # Be more Bourne compatible
11774 DUALCASE=1; export DUALCASE # for MKS sh
11775 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11776   emulate sh
11777   NULLCMD=:
11778   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11779   # is contrary to our usage.  Disable this feature.
11780   alias -g '${1+"$@"}'='"$@"'
11781   setopt NO_GLOB_SUBST
11782 else
11783   case `(set -o) 2>/dev/null` in
11784   *posix*) set -o posix ;;
11785 esac
11786
11787 fi
11788
11789
11790
11791
11792 # PATH needs CR
11793 # Avoid depending upon Character Ranges.
11794 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11795 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11796 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11797 as_cr_digits='0123456789'
11798 as_cr_alnum=$as_cr_Letters$as_cr_digits
11799
11800 as_nl='
11801 '
11802 export as_nl
11803 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11804 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11805 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11806 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11807 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11808   as_echo='printf %s\n'
11809   as_echo_n='printf %s'
11810 else
11811   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11812     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
11813     as_echo_n='/usr/ucb/echo -n'
11814   else
11815     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11816     as_echo_n_body='eval
11817       arg=$1;
11818       case $arg in
11819       *"$as_nl"*)
11820         expr "X$arg" : "X\\(.*\\)$as_nl";
11821         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11822       esac;
11823       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11824     '
11825     export as_echo_n_body
11826     as_echo_n='sh -c $as_echo_n_body as_echo'
11827   fi
11828   export as_echo_body
11829   as_echo='sh -c $as_echo_body as_echo'
11830 fi
11831
11832 # The user is always right.
11833 if test "${PATH_SEPARATOR+set}" != set; then
11834   PATH_SEPARATOR=:
11835   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11836     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11837       PATH_SEPARATOR=';'
11838   }
11839 fi
11840
11841 # Support unset when possible.
11842 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11843   as_unset=unset
11844 else
11845   as_unset=false
11846 fi
11847
11848
11849 # IFS
11850 # We need space, tab and new line, in precisely that order.  Quoting is
11851 # there to prevent editors from complaining about space-tab.
11852 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11853 # splitting by setting IFS to empty value.)
11854 IFS=" ""        $as_nl"
11855
11856 # Find who we are.  Look in the path if we contain no directory separator.
11857 case $0 in
11858   *[\\/]* ) as_myself=$0 ;;
11859   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11860 for as_dir in $PATH
11861 do
11862   IFS=$as_save_IFS
11863   test -z "$as_dir" && as_dir=.
11864   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11865 done
11866 IFS=$as_save_IFS
11867
11868      ;;
11869 esac
11870 # We did not find ourselves, most probably we were run as `sh COMMAND'
11871 # in which case we are not to be found in the path.
11872 if test "x$as_myself" = x; then
11873   as_myself=$0
11874 fi
11875 if test ! -f "$as_myself"; then
11876   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11877   { (exit 1); exit 1; }
11878 fi
11879
11880 # Work around bugs in pre-3.0 UWIN ksh.
11881 for as_var in ENV MAIL MAILPATH
11882 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
11883 done
11884 PS1='$ '
11885 PS2='> '
11886 PS4='+ '
11887
11888 # NLS nuisances.
11889 LC_ALL=C
11890 export LC_ALL
11891 LANGUAGE=C
11892 export LANGUAGE
11893
11894 # Required to use basename.
11895 if expr a : '\(a\)' >/dev/null 2>&1 &&
11896    test "X`expr 00001 : '.*\(...\)'`" = X001; then
11897   as_expr=expr
11898 else
11899   as_expr=false
11900 fi
11901
11902 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11903   as_basename=basename
11904 else
11905   as_basename=false
11906 fi
11907
11908
11909 # Name of the executable.
11910 as_me=`$as_basename -- "$0" ||
11911 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11912          X"$0" : 'X\(//\)$' \| \
11913          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11914 $as_echo X/"$0" |
11915     sed '/^.*\/\([^/][^/]*\)\/*$/{
11916             s//\1/
11917             q
11918           }
11919           /^X\/\(\/\/\)$/{
11920             s//\1/
11921             q
11922           }
11923           /^X\/\(\/\).*/{
11924             s//\1/
11925             q
11926           }
11927           s/.*/./; q'`
11928
11929 # CDPATH.
11930 $as_unset CDPATH
11931
11932
11933
11934   as_lineno_1=$LINENO
11935   as_lineno_2=$LINENO
11936   test "x$as_lineno_1" != "x$as_lineno_2" &&
11937   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
11938
11939   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11940   # uniformly replaced by the line number.  The first 'sed' inserts a
11941   # line-number line after each line using $LINENO; the second 'sed'
11942   # does the real work.  The second script uses 'N' to pair each
11943   # line-number line with the line containing $LINENO, and appends
11944   # trailing '-' during substitution so that $LINENO is not a special
11945   # case at line end.
11946   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11947   # scripts with optimization help from Paolo Bonzini.  Blame Lee
11948   # E. McMahon (1931-1989) for sed's syntax.  :-)
11949   sed -n '
11950     p
11951     /[$]LINENO/=
11952   ' <$as_myself |
11953     sed '
11954       s/[$]LINENO.*/&-/
11955       t lineno
11956       b
11957       :lineno
11958       N
11959       :loop
11960       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
11961       t loop
11962       s/-\n.*//
11963     ' >$as_me.lineno &&
11964   chmod +x "$as_me.lineno" ||
11965     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
11966    { (exit 1); exit 1; }; }
11967
11968   # Don't try to exec as it changes $[0], causing all sort of problems
11969   # (the dirname of $[0] is not the place where we might find the
11970   # original and so on.  Autoconf is especially sensitive to this).
11971   . "./$as_me.lineno"
11972   # Exit status is that of the last command.
11973   exit
11974 }
11975
11976
11977 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11978   as_dirname=dirname
11979 else
11980   as_dirname=false
11981 fi
11982
11983 ECHO_C= ECHO_N= ECHO_T=
11984 case `echo -n x` in
11985 -n*)
11986   case `echo 'x\c'` in
11987   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
11988   *)   ECHO_C='\c';;
11989   esac;;
11990 *)
11991   ECHO_N='-n';;
11992 esac
11993 if expr a : '\(a\)' >/dev/null 2>&1 &&
11994    test "X`expr 00001 : '.*\(...\)'`" = X001; then
11995   as_expr=expr
11996 else
11997   as_expr=false
11998 fi
11999
12000 rm -f conf$$ conf$$.exe conf$$.file
12001 if test -d conf$$.dir; then
12002   rm -f conf$$.dir/conf$$.file
12003 else
12004   rm -f conf$$.dir
12005   mkdir conf$$.dir 2>/dev/null
12006 fi
12007 if (echo >conf$$.file) 2>/dev/null; then
12008   if ln -s conf$$.file conf$$ 2>/dev/null; then
12009     as_ln_s='ln -s'
12010     # ... but there are two gotchas:
12011     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12012     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12013     # In both cases, we have to default to `cp -p'.
12014     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12015       as_ln_s='cp -p'
12016   elif ln conf$$.file conf$$ 2>/dev/null; then
12017     as_ln_s=ln
12018   else
12019     as_ln_s='cp -p'
12020   fi
12021 else
12022   as_ln_s='cp -p'
12023 fi
12024 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12025 rmdir conf$$.dir 2>/dev/null
12026
12027 if mkdir -p . 2>/dev/null; then
12028   as_mkdir_p=:
12029 else
12030   test -d ./-p && rmdir ./-p
12031   as_mkdir_p=false
12032 fi
12033
12034 if test -x / >/dev/null 2>&1; then
12035   as_test_x='test -x'
12036 else
12037   if ls -dL / >/dev/null 2>&1; then
12038     as_ls_L_option=L
12039   else
12040     as_ls_L_option=
12041   fi
12042   as_test_x='
12043     eval sh -c '\''
12044       if test -d "$1"; then
12045         test -d "$1/.";
12046       else
12047         case $1 in
12048         -*)set "./$1";;
12049         esac;
12050         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
12051         ???[sx]*):;;*)false;;esac;fi
12052     '\'' sh
12053   '
12054 fi
12055 as_executable_p=$as_test_x
12056
12057 # Sed expression to map a string onto a valid CPP name.
12058 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12059
12060 # Sed expression to map a string onto a valid variable name.
12061 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12062
12063
12064 exec 6>&1
12065
12066 # Save the log message, to keep $[0] and so on meaningful, and to
12067 # report actual input values of CONFIG_FILES etc. instead of their
12068 # values after options handling.
12069 ac_log="
12070 This file was extended by desktop-file-utils $as_me 0.16, which was
12071 generated by GNU Autoconf 2.63.  Invocation command line was
12072
12073   CONFIG_FILES    = $CONFIG_FILES
12074   CONFIG_HEADERS  = $CONFIG_HEADERS
12075   CONFIG_LINKS    = $CONFIG_LINKS
12076   CONFIG_COMMANDS = $CONFIG_COMMANDS
12077   $ $0 $@
12078
12079 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12080 "
12081
12082 _ACEOF
12083
12084 case $ac_config_files in *"
12085 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12086 esac
12087
12088 case $ac_config_headers in *"
12089 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12090 esac
12091
12092
12093 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12094 # Files that config.status was made for.
12095 config_files="$ac_config_files"
12096 config_headers="$ac_config_headers"
12097 config_commands="$ac_config_commands"
12098
12099 _ACEOF
12100
12101 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12102 ac_cs_usage="\
12103 \`$as_me' instantiates files from templates according to the
12104 current configuration.
12105
12106 Usage: $0 [OPTION]... [FILE]...
12107
12108   -h, --help       print this help, then exit
12109   -V, --version    print version number and configuration settings, then exit
12110   -q, --quiet, --silent
12111                    do not print progress messages
12112   -d, --debug      don't remove temporary files
12113       --recheck    update $as_me by reconfiguring in the same conditions
12114       --file=FILE[:TEMPLATE]
12115                    instantiate the configuration file FILE
12116       --header=FILE[:TEMPLATE]
12117                    instantiate the configuration header FILE
12118
12119 Configuration files:
12120 $config_files
12121
12122 Configuration headers:
12123 $config_headers
12124
12125 Configuration commands:
12126 $config_commands
12127
12128 Report bugs to <bug-autoconf@gnu.org>."
12129
12130 _ACEOF
12131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12132 ac_cs_version="\\
12133 desktop-file-utils config.status 0.16
12134 configured by $0, generated by GNU Autoconf 2.63,
12135   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12136
12137 Copyright (C) 2008 Free Software Foundation, Inc.
12138 This config.status script is free software; the Free Software Foundation
12139 gives unlimited permission to copy, distribute and modify it."
12140
12141 ac_pwd='$ac_pwd'
12142 srcdir='$srcdir'
12143 INSTALL='$INSTALL'
12144 MKDIR_P='$MKDIR_P'
12145 AWK='$AWK'
12146 test -n "\$AWK" || AWK=awk
12147 _ACEOF
12148
12149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12150 # The default lists apply if the user does not specify any file.
12151 ac_need_defaults=:
12152 while test $# != 0
12153 do
12154   case $1 in
12155   --*=*)
12156     ac_option=`expr "X$1" : 'X\([^=]*\)='`
12157     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12158     ac_shift=:
12159     ;;
12160   *)
12161     ac_option=$1
12162     ac_optarg=$2
12163     ac_shift=shift
12164     ;;
12165   esac
12166
12167   case $ac_option in
12168   # Handling of the options.
12169   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12170     ac_cs_recheck=: ;;
12171   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12172     $as_echo "$ac_cs_version"; exit ;;
12173   --debug | --debu | --deb | --de | --d | -d )
12174     debug=: ;;
12175   --file | --fil | --fi | --f )
12176     $ac_shift
12177     case $ac_optarg in
12178     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12179     esac
12180     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
12181     ac_need_defaults=false;;
12182   --header | --heade | --head | --hea )
12183     $ac_shift
12184     case $ac_optarg in
12185     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12186     esac
12187     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
12188     ac_need_defaults=false;;
12189   --he | --h)
12190     # Conflict between --help and --header
12191     { $as_echo "$as_me: error: ambiguous option: $1
12192 Try \`$0 --help' for more information." >&2
12193    { (exit 1); exit 1; }; };;
12194   --help | --hel | -h )
12195     $as_echo "$ac_cs_usage"; exit ;;
12196   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12197   | -silent | --silent | --silen | --sile | --sil | --si | --s)
12198     ac_cs_silent=: ;;
12199
12200   # This is an error.
12201   -*) { $as_echo "$as_me: error: unrecognized option: $1
12202 Try \`$0 --help' for more information." >&2
12203    { (exit 1); exit 1; }; } ;;
12204
12205   *) ac_config_targets="$ac_config_targets $1"
12206      ac_need_defaults=false ;;
12207
12208   esac
12209   shift
12210 done
12211
12212 ac_configure_extra_args=
12213
12214 if $ac_cs_silent; then
12215   exec 6>/dev/null
12216   ac_configure_extra_args="$ac_configure_extra_args --silent"
12217 fi
12218
12219 _ACEOF
12220 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12221 if \$ac_cs_recheck; then
12222   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12223   shift
12224   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12225   CONFIG_SHELL='$SHELL'
12226   export CONFIG_SHELL
12227   exec "\$@"
12228 fi
12229
12230 _ACEOF
12231 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12232 exec 5>>config.log
12233 {
12234   echo
12235   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12236 ## Running $as_me. ##
12237 _ASBOX
12238   $as_echo "$ac_log"
12239 } >&5
12240
12241 _ACEOF
12242 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12243 #
12244 # INIT-COMMANDS
12245 #
12246 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12247
12248
12249 # The HP-UX ksh and POSIX shell print the target directory to stdout
12250 # if CDPATH is set.
12251 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12252
12253 sed_quote_subst='$sed_quote_subst'
12254 double_quote_subst='$double_quote_subst'
12255 delay_variable_subst='$delay_variable_subst'
12256 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
12257 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
12258 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
12259 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
12260 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
12261 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
12262 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
12263 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
12264 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
12265 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
12266 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
12267 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
12268 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
12269 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
12270 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
12271 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
12272 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
12273 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12274 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
12275 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
12276 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
12277 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
12278 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
12279 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
12280 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
12281 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
12282 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
12283 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12284 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
12285 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
12286 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
12287 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
12288 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12289 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
12290 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
12291 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12292 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12293 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12294 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
12295 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12296 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
12297 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
12298 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
12299 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
12300 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"`'
12301 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"`'
12302 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
12303 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
12304 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
12305 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
12306 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
12307 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
12308 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
12309 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
12310 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
12311 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
12312 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
12313 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
12314 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
12315 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
12316 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
12317 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
12318 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12319 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12320 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
12321 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
12322 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12323 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12324 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
12325 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12326 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12327 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12328 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12329 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12330 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12331 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
12332 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12333 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12334 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12335 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
12336 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
12337 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
12338 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
12339 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
12340 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12341 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
12342 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
12343 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
12344 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
12345 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
12346 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12347 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12348 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12349 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12350 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
12351 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
12352 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12353 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
12354 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
12355 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12356 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12357 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
12358 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12359 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
12360 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12361 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12362 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12363 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12364 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
12365 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
12366 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12367 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12368 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
12369 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
12370 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
12371 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
12372 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
12373 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
12374
12375 LTCC='$LTCC'
12376 LTCFLAGS='$LTCFLAGS'
12377 compiler='$compiler_DEFAULT'
12378
12379 # Quote evaled strings.
12380 for var in SED \
12381 GREP \
12382 EGREP \
12383 FGREP \
12384 LD \
12385 NM \
12386 LN_S \
12387 lt_SP2NL \
12388 lt_NL2SP \
12389 reload_flag \
12390 OBJDUMP \
12391 deplibs_check_method \
12392 file_magic_cmd \
12393 AR \
12394 AR_FLAGS \
12395 STRIP \
12396 RANLIB \
12397 CC \
12398 CFLAGS \
12399 compiler \
12400 lt_cv_sys_global_symbol_pipe \
12401 lt_cv_sys_global_symbol_to_cdecl \
12402 lt_cv_sys_global_symbol_to_c_name_address \
12403 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12404 SHELL \
12405 ECHO \
12406 lt_prog_compiler_no_builtin_flag \
12407 lt_prog_compiler_wl \
12408 lt_prog_compiler_pic \
12409 lt_prog_compiler_static \
12410 lt_cv_prog_compiler_c_o \
12411 need_locks \
12412 DSYMUTIL \
12413 NMEDIT \
12414 LIPO \
12415 OTOOL \
12416 OTOOL64 \
12417 shrext_cmds \
12418 export_dynamic_flag_spec \
12419 whole_archive_flag_spec \
12420 compiler_needs_object \
12421 with_gnu_ld \
12422 allow_undefined_flag \
12423 no_undefined_flag \
12424 hardcode_libdir_flag_spec \
12425 hardcode_libdir_flag_spec_ld \
12426 hardcode_libdir_separator \
12427 fix_srcfile_path \
12428 exclude_expsyms \
12429 include_expsyms \
12430 file_list_spec \
12431 variables_saved_for_relink \
12432 libname_spec \
12433 library_names_spec \
12434 soname_spec \
12435 finish_eval \
12436 old_striplib \
12437 striplib; do
12438     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12439     *[\\\\\\\`\\"\\\$]*)
12440       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12441       ;;
12442     *)
12443       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12444       ;;
12445     esac
12446 done
12447
12448 # Double-quote double-evaled strings.
12449 for var in reload_cmds \
12450 old_postinstall_cmds \
12451 old_postuninstall_cmds \
12452 old_archive_cmds \
12453 extract_expsyms_cmds \
12454 old_archive_from_new_cmds \
12455 old_archive_from_expsyms_cmds \
12456 archive_cmds \
12457 archive_expsym_cmds \
12458 module_cmds \
12459 module_expsym_cmds \
12460 export_symbols_cmds \
12461 prelink_cmds \
12462 postinstall_cmds \
12463 postuninstall_cmds \
12464 finish_cmds \
12465 sys_lib_search_path_spec \
12466 sys_lib_dlsearch_path_spec; do
12467     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12468     *[\\\\\\\`\\"\\\$]*)
12469       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12470       ;;
12471     *)
12472       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12473       ;;
12474     esac
12475 done
12476
12477 # Fix-up fallback echo if it was mangled by the above quoting rules.
12478 case \$lt_ECHO in
12479 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
12480   ;;
12481 esac
12482
12483 ac_aux_dir='$ac_aux_dir'
12484 xsi_shell='$xsi_shell'
12485 lt_shell_append='$lt_shell_append'
12486
12487 # See if we are running on zsh, and set the options which allow our
12488 # commands through without removal of \ escapes INIT.
12489 if test -n "\${ZSH_VERSION+set}" ; then
12490    setopt NO_GLOB_SUBST
12491 fi
12492
12493
12494     PACKAGE='$PACKAGE'
12495     VERSION='$VERSION'
12496     TIMESTAMP='$TIMESTAMP'
12497     RM='$RM'
12498     ofile='$ofile'
12499
12500
12501
12502
12503 _ACEOF
12504
12505 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12506
12507 # Handling of arguments.
12508 for ac_config_target in $ac_config_targets
12509 do
12510   case $ac_config_target in
12511     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
12512     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12513     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12514     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12515     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
12516     "misc/Makefile") CONFIG_FILES="$CONFIG_FILES misc/Makefile" ;;
12517
12518   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12519 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12520    { (exit 1); exit 1; }; };;
12521   esac
12522 done
12523
12524
12525 # If the user did not use the arguments to specify the items to instantiate,
12526 # then the envvar interface is used.  Set only those that are not.
12527 # We use the long form for the default assignment because of an extremely
12528 # bizarre bug on SunOS 4.1.3.
12529 if $ac_need_defaults; then
12530   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12531   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12532   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12533 fi
12534
12535 # Have a temporary directory for convenience.  Make it in the build tree
12536 # simply because there is no reason against having it here, and in addition,
12537 # creating and moving files from /tmp can sometimes cause problems.
12538 # Hook for its removal unless debugging.
12539 # Note that there is a small window in which the directory will not be cleaned:
12540 # after its creation but before its name has been assigned to `$tmp'.
12541 $debug ||
12542 {
12543   tmp=
12544   trap 'exit_status=$?
12545   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12546 ' 0
12547   trap '{ (exit 1); exit 1; }' 1 2 13 15
12548 }
12549 # Create a (secure) tmp directory for tmp files.
12550
12551 {
12552   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12553   test -n "$tmp" && test -d "$tmp"
12554 }  ||
12555 {
12556   tmp=./conf$$-$RANDOM
12557   (umask 077 && mkdir "$tmp")
12558 } ||
12559 {
12560    $as_echo "$as_me: cannot create a temporary directory in ." >&2
12561    { (exit 1); exit 1; }
12562 }
12563
12564 # Set up the scripts for CONFIG_FILES section.
12565 # No need to generate them if there are no CONFIG_FILES.
12566 # This happens for instance with `./config.status config.h'.
12567 if test -n "$CONFIG_FILES"; then
12568
12569
12570 ac_cr='\r'
12571 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12572 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12573   ac_cs_awk_cr='\\r'
12574 else
12575   ac_cs_awk_cr=$ac_cr
12576 fi
12577
12578 echo 'BEGIN {' >"$tmp/subs1.awk" &&
12579 _ACEOF
12580
12581
12582 {
12583   echo "cat >conf$$subs.awk <<_ACEOF" &&
12584   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12585   echo "_ACEOF"
12586 } >conf$$subs.sh ||
12587   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12588 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12589    { (exit 1); exit 1; }; }
12590 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
12591 ac_delim='%!_!# '
12592 for ac_last_try in false false false false false :; do
12593   . ./conf$$subs.sh ||
12594     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12595 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12596    { (exit 1); exit 1; }; }
12597
12598   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
12599   if test $ac_delim_n = $ac_delim_num; then
12600     break
12601   elif $ac_last_try; then
12602     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12603 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12604    { (exit 1); exit 1; }; }
12605   else
12606     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12607   fi
12608 done
12609 rm -f conf$$subs.sh
12610
12611 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12612 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
12613 _ACEOF
12614 sed -n '
12615 h
12616 s/^/S["/; s/!.*/"]=/
12617 p
12618 g
12619 s/^[^!]*!//
12620 :repl
12621 t repl
12622 s/'"$ac_delim"'$//
12623 t delim
12624 :nl
12625 h
12626 s/\(.\{148\}\).*/\1/
12627 t more1
12628 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
12629 p
12630 n
12631 b repl
12632 :more1
12633 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12634 p
12635 g
12636 s/.\{148\}//
12637 t nl
12638 :delim
12639 h
12640 s/\(.\{148\}\).*/\1/
12641 t more2
12642 s/["\\]/\\&/g; s/^/"/; s/$/"/
12643 p
12644 b
12645 :more2
12646 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12647 p
12648 g
12649 s/.\{148\}//
12650 t delim
12651 ' <conf$$subs.awk | sed '
12652 /^[^""]/{
12653   N
12654   s/\n//
12655 }
12656 ' >>$CONFIG_STATUS || ac_write_fail=1
12657 rm -f conf$$subs.awk
12658 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12659 _ACAWK
12660 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
12661   for (key in S) S_is_set[key] = 1
12662   FS = "\a"
12663
12664 }
12665 {
12666   line = $ 0
12667   nfields = split(line, field, "@")
12668   substed = 0
12669   len = length(field[1])
12670   for (i = 2; i < nfields; i++) {
12671     key = field[i]
12672     keylen = length(key)
12673     if (S_is_set[key]) {
12674       value = S[key]
12675       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12676       len += length(value) + length(field[++i])
12677       substed = 1
12678     } else
12679       len += 1 + keylen
12680   }
12681
12682   print line
12683 }
12684
12685 _ACAWK
12686 _ACEOF
12687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12688 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12689   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
12690 else
12691   cat
12692 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
12693   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
12694 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
12695    { (exit 1); exit 1; }; }
12696 _ACEOF
12697
12698 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12699 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12700 # trailing colons and then remove the whole line if VPATH becomes empty
12701 # (actually we leave an empty line to preserve line numbers).
12702 if test "x$srcdir" = x.; then
12703   ac_vpsub='/^[  ]*VPATH[        ]*=/{
12704 s/:*\$(srcdir):*/:/
12705 s/:*\${srcdir}:*/:/
12706 s/:*@srcdir@:*/:/
12707 s/^\([^=]*=[     ]*\):*/\1/
12708 s/:*$//
12709 s/^[^=]*=[       ]*$//
12710 }'
12711 fi
12712
12713 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12714 fi # test -n "$CONFIG_FILES"
12715
12716 # Set up the scripts for CONFIG_HEADERS section.
12717 # No need to generate them if there are no CONFIG_HEADERS.
12718 # This happens for instance with `./config.status Makefile'.
12719 if test -n "$CONFIG_HEADERS"; then
12720 cat >"$tmp/defines.awk" <<\_ACAWK ||
12721 BEGIN {
12722 _ACEOF
12723
12724 # Transform confdefs.h into an awk script `defines.awk', embedded as
12725 # here-document in config.status, that substitutes the proper values into
12726 # config.h.in to produce config.h.
12727
12728 # Create a delimiter string that does not exist in confdefs.h, to ease
12729 # handling of long lines.
12730 ac_delim='%!_!# '
12731 for ac_last_try in false false :; do
12732   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
12733   if test -z "$ac_t"; then
12734     break
12735   elif $ac_last_try; then
12736     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
12737 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
12738    { (exit 1); exit 1; }; }
12739   else
12740     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12741   fi
12742 done
12743
12744 # For the awk script, D is an array of macro values keyed by name,
12745 # likewise P contains macro parameters if any.  Preserve backslash
12746 # newline sequences.
12747
12748 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12749 sed -n '
12750 s/.\{148\}/&'"$ac_delim"'/g
12751 t rset
12752 :rset
12753 s/^[     ]*#[    ]*define[       ][      ]*/ /
12754 t def
12755 d
12756 :def
12757 s/\\$//
12758 t bsnl
12759 s/["\\]/\\&/g
12760 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
12761 D["\1"]=" \3"/p
12762 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
12763 d
12764 :bsnl
12765 s/["\\]/\\&/g
12766 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
12767 D["\1"]=" \3\\\\\\n"\\/p
12768 t cont
12769 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
12770 t cont
12771 d
12772 :cont
12773 n
12774 s/.\{148\}/&'"$ac_delim"'/g
12775 t clear
12776 :clear
12777 s/\\$//
12778 t bsnlc
12779 s/["\\]/\\&/g; s/^/"/; s/$/"/p
12780 d
12781 :bsnlc
12782 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
12783 b cont
12784 ' <confdefs.h | sed '
12785 s/'"$ac_delim"'/"\\\
12786 "/g' >>$CONFIG_STATUS || ac_write_fail=1
12787
12788 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12789   for (key in D) D_is_set[key] = 1
12790   FS = "\a"
12791 }
12792 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12793   line = \$ 0
12794   split(line, arg, " ")
12795   if (arg[1] == "#") {
12796     defundef = arg[2]
12797     mac1 = arg[3]
12798   } else {
12799     defundef = substr(arg[1], 2)
12800     mac1 = arg[2]
12801   }
12802   split(mac1, mac2, "(") #)
12803   macro = mac2[1]
12804   prefix = substr(line, 1, index(line, defundef) - 1)
12805   if (D_is_set[macro]) {
12806     # Preserve the white space surrounding the "#".
12807     print prefix "define", macro P[macro] D[macro]
12808     next
12809   } else {
12810     # Replace #undef with comments.  This is necessary, for example,
12811     # in the case of _POSIX_SOURCE, which is predefined and required
12812     # on some systems where configure will not decide to define it.
12813     if (defundef == "undef") {
12814       print "/*", prefix defundef, macro, "*/"
12815       next
12816     }
12817   }
12818 }
12819 { print }
12820 _ACAWK
12821 _ACEOF
12822 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12823   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
12824 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
12825    { (exit 1); exit 1; }; }
12826 fi # test -n "$CONFIG_HEADERS"
12827
12828
12829 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
12830 shift
12831 for ac_tag
12832 do
12833   case $ac_tag in
12834   :[FHLC]) ac_mode=$ac_tag; continue;;
12835   esac
12836   case $ac_mode$ac_tag in
12837   :[FHL]*:*);;
12838   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
12839 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
12840    { (exit 1); exit 1; }; };;
12841   :[FH]-) ac_tag=-:-;;
12842   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12843   esac
12844   ac_save_IFS=$IFS
12845   IFS=:
12846   set x $ac_tag
12847   IFS=$ac_save_IFS
12848   shift
12849   ac_file=$1
12850   shift
12851
12852   case $ac_mode in
12853   :L) ac_source=$1;;
12854   :[FH])
12855     ac_file_inputs=
12856     for ac_f
12857     do
12858       case $ac_f in
12859       -) ac_f="$tmp/stdin";;
12860       *) # Look for the file first in the build tree, then in the source tree
12861          # (if the path is not absolute).  The absolute path cannot be DOS-style,
12862          # because $ac_f cannot contain `:'.
12863          test -f "$ac_f" ||
12864            case $ac_f in
12865            [\\/$]*) false;;
12866            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12867            esac ||
12868            { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
12869 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
12870    { (exit 1); exit 1; }; };;
12871       esac
12872       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12873       ac_file_inputs="$ac_file_inputs '$ac_f'"
12874     done
12875
12876     # Let's still pretend it is `configure' which instantiates (i.e., don't
12877     # use $as_me), people would be surprised to read:
12878     #    /* config.h.  Generated by config.status.  */
12879     configure_input='Generated from '`
12880           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12881         `' by configure.'
12882     if test x"$ac_file" != x-; then
12883       configure_input="$ac_file.  $configure_input"
12884       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
12885 $as_echo "$as_me: creating $ac_file" >&6;}
12886     fi
12887     # Neutralize special characters interpreted by sed in replacement strings.
12888     case $configure_input in #(
12889     *\&* | *\|* | *\\* )
12890        ac_sed_conf_input=`$as_echo "$configure_input" |
12891        sed 's/[\\\\&|]/\\\\&/g'`;; #(
12892     *) ac_sed_conf_input=$configure_input;;
12893     esac
12894
12895     case $ac_tag in
12896     *:-:* | *:-) cat >"$tmp/stdin" \
12897       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
12898 $as_echo "$as_me: error: could not create $ac_file" >&2;}
12899    { (exit 1); exit 1; }; } ;;
12900     esac
12901     ;;
12902   esac
12903
12904   ac_dir=`$as_dirname -- "$ac_file" ||
12905 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12906          X"$ac_file" : 'X\(//\)[^/]' \| \
12907          X"$ac_file" : 'X\(//\)$' \| \
12908          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12909 $as_echo X"$ac_file" |
12910     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12911             s//\1/
12912             q
12913           }
12914           /^X\(\/\/\)[^/].*/{
12915             s//\1/
12916             q
12917           }
12918           /^X\(\/\/\)$/{
12919             s//\1/
12920             q
12921           }
12922           /^X\(\/\).*/{
12923             s//\1/
12924             q
12925           }
12926           s/.*/./; q'`
12927   { as_dir="$ac_dir"
12928   case $as_dir in #(
12929   -*) as_dir=./$as_dir;;
12930   esac
12931   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12932     as_dirs=
12933     while :; do
12934       case $as_dir in #(
12935       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12936       *) as_qdir=$as_dir;;
12937       esac
12938       as_dirs="'$as_qdir' $as_dirs"
12939       as_dir=`$as_dirname -- "$as_dir" ||
12940 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12941          X"$as_dir" : 'X\(//\)[^/]' \| \
12942          X"$as_dir" : 'X\(//\)$' \| \
12943          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12944 $as_echo X"$as_dir" |
12945     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12946             s//\1/
12947             q
12948           }
12949           /^X\(\/\/\)[^/].*/{
12950             s//\1/
12951             q
12952           }
12953           /^X\(\/\/\)$/{
12954             s//\1/
12955             q
12956           }
12957           /^X\(\/\).*/{
12958             s//\1/
12959             q
12960           }
12961           s/.*/./; q'`
12962       test -d "$as_dir" && break
12963     done
12964     test -z "$as_dirs" || eval "mkdir $as_dirs"
12965   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12966 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
12967    { (exit 1); exit 1; }; }; }
12968   ac_builddir=.
12969
12970 case "$ac_dir" in
12971 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12972 *)
12973   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12974   # A ".." for each directory in $ac_dir_suffix.
12975   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12976   case $ac_top_builddir_sub in
12977   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12978   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12979   esac ;;
12980 esac
12981 ac_abs_top_builddir=$ac_pwd
12982 ac_abs_builddir=$ac_pwd$ac_dir_suffix
12983 # for backward compatibility:
12984 ac_top_builddir=$ac_top_build_prefix
12985
12986 case $srcdir in
12987   .)  # We are building in place.
12988     ac_srcdir=.
12989     ac_top_srcdir=$ac_top_builddir_sub
12990     ac_abs_top_srcdir=$ac_pwd ;;
12991   [\\/]* | ?:[\\/]* )  # Absolute name.
12992     ac_srcdir=$srcdir$ac_dir_suffix;
12993     ac_top_srcdir=$srcdir
12994     ac_abs_top_srcdir=$srcdir ;;
12995   *) # Relative name.
12996     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12997     ac_top_srcdir=$ac_top_build_prefix$srcdir
12998     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12999 esac
13000 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13001
13002
13003   case $ac_mode in
13004   :F)
13005   #
13006   # CONFIG_FILE
13007   #
13008
13009   case $INSTALL in
13010   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13011   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13012   esac
13013   ac_MKDIR_P=$MKDIR_P
13014   case $MKDIR_P in
13015   [\\/$]* | ?:[\\/]* ) ;;
13016   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13017   esac
13018 _ACEOF
13019
13020 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13021 # If the template does not know about datarootdir, expand it.
13022 # FIXME: This hack should be removed a few years after 2.60.
13023 ac_datarootdir_hack=; ac_datarootdir_seen=
13024
13025 ac_sed_dataroot='
13026 /datarootdir/ {
13027   p
13028   q
13029 }
13030 /@datadir@/p
13031 /@docdir@/p
13032 /@infodir@/p
13033 /@localedir@/p
13034 /@mandir@/p
13035 '
13036 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13037 *datarootdir*) ac_datarootdir_seen=yes;;
13038 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13039   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13040 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13041 _ACEOF
13042 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13043   ac_datarootdir_hack='
13044   s&@datadir@&$datadir&g
13045   s&@docdir@&$docdir&g
13046   s&@infodir@&$infodir&g
13047   s&@localedir@&$localedir&g
13048   s&@mandir@&$mandir&g
13049     s&\\\${datarootdir}&$datarootdir&g' ;;
13050 esac
13051 _ACEOF
13052
13053 # Neutralize VPATH when `$srcdir' = `.'.
13054 # Shell code in configure.ac might set extrasub.
13055 # FIXME: do we really want to maintain this feature?
13056 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13057 ac_sed_extra="$ac_vpsub
13058 $extrasub
13059 _ACEOF
13060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13061 :t
13062 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13063 s|@configure_input@|$ac_sed_conf_input|;t t
13064 s&@top_builddir@&$ac_top_builddir_sub&;t t
13065 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13066 s&@srcdir@&$ac_srcdir&;t t
13067 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13068 s&@top_srcdir@&$ac_top_srcdir&;t t
13069 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13070 s&@builddir@&$ac_builddir&;t t
13071 s&@abs_builddir@&$ac_abs_builddir&;t t
13072 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13073 s&@INSTALL@&$ac_INSTALL&;t t
13074 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13075 $ac_datarootdir_hack
13076 "
13077 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
13078   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13079 $as_echo "$as_me: error: could not create $ac_file" >&2;}
13080    { (exit 1); exit 1; }; }
13081
13082 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13083   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
13084   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
13085   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13086 which seems to be undefined.  Please make sure it is defined." >&5
13087 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13088 which seems to be undefined.  Please make sure it is defined." >&2;}
13089
13090   rm -f "$tmp/stdin"
13091   case $ac_file in
13092   -) cat "$tmp/out" && rm -f "$tmp/out";;
13093   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13094   esac \
13095   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13096 $as_echo "$as_me: error: could not create $ac_file" >&2;}
13097    { (exit 1); exit 1; }; }
13098  ;;
13099   :H)
13100   #
13101   # CONFIG_HEADER
13102   #
13103   if test x"$ac_file" != x-; then
13104     {
13105       $as_echo "/* $configure_input  */" \
13106       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13107     } >"$tmp/config.h" \
13108       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13109 $as_echo "$as_me: error: could not create $ac_file" >&2;}
13110    { (exit 1); exit 1; }; }
13111     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13112       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13113 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13114     else
13115       rm -f "$ac_file"
13116       mv "$tmp/config.h" "$ac_file" \
13117         || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13118 $as_echo "$as_me: error: could not create $ac_file" >&2;}
13119    { (exit 1); exit 1; }; }
13120     fi
13121   else
13122     $as_echo "/* $configure_input  */" \
13123       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13124       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
13125 $as_echo "$as_me: error: could not create -" >&2;}
13126    { (exit 1); exit 1; }; }
13127   fi
13128 # Compute "$ac_file"'s index in $config_headers.
13129 _am_arg="$ac_file"
13130 _am_stamp_count=1
13131 for _am_header in $config_headers :; do
13132   case $_am_header in
13133     $_am_arg | $_am_arg:* )
13134       break ;;
13135     * )
13136       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13137   esac
13138 done
13139 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13140 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13141          X"$_am_arg" : 'X\(//\)[^/]' \| \
13142          X"$_am_arg" : 'X\(//\)$' \| \
13143          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13144 $as_echo X"$_am_arg" |
13145     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13146             s//\1/
13147             q
13148           }
13149           /^X\(\/\/\)[^/].*/{
13150             s//\1/
13151             q
13152           }
13153           /^X\(\/\/\)$/{
13154             s//\1/
13155             q
13156           }
13157           /^X\(\/\).*/{
13158             s//\1/
13159             q
13160           }
13161           s/.*/./; q'`/stamp-h$_am_stamp_count
13162  ;;
13163
13164   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
13165 $as_echo "$as_me: executing $ac_file commands" >&6;}
13166  ;;
13167   esac
13168
13169
13170   case $ac_file$ac_mode in
13171     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13172   # Autoconf 2.62 quotes --file arguments for eval, but not when files
13173   # are listed without --file.  Let's play safe and only enable the eval
13174   # if we detect the quoting.
13175   case $CONFIG_FILES in
13176   *\'*) eval set x "$CONFIG_FILES" ;;
13177   *)   set x $CONFIG_FILES ;;
13178   esac
13179   shift
13180   for mf
13181   do
13182     # Strip MF so we end up with the name of the file.
13183     mf=`echo "$mf" | sed -e 's/:.*$//'`
13184     # Check whether this is an Automake generated Makefile or not.
13185     # We used to match only the files named `Makefile.in', but
13186     # some people rename them; so instead we look at the file content.
13187     # Grep'ing the first line is not enough: some people post-process
13188     # each Makefile.in and add a new line on top of each file to say so.
13189     # Grep'ing the whole file is not good either: AIX grep has a line
13190     # limit of 2048, but all sed's we know have understand at least 4000.
13191     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13192       dirpart=`$as_dirname -- "$mf" ||
13193 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13194          X"$mf" : 'X\(//\)[^/]' \| \
13195          X"$mf" : 'X\(//\)$' \| \
13196          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13197 $as_echo X"$mf" |
13198     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13199             s//\1/
13200             q
13201           }
13202           /^X\(\/\/\)[^/].*/{
13203             s//\1/
13204             q
13205           }
13206           /^X\(\/\/\)$/{
13207             s//\1/
13208             q
13209           }
13210           /^X\(\/\).*/{
13211             s//\1/
13212             q
13213           }
13214           s/.*/./; q'`
13215     else
13216       continue
13217     fi
13218     # Extract the definition of DEPDIR, am__include, and am__quote
13219     # from the Makefile without running `make'.
13220     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13221     test -z "$DEPDIR" && continue
13222     am__include=`sed -n 's/^am__include = //p' < "$mf"`
13223     test -z "am__include" && continue
13224     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13225     # When using ansi2knr, U may be empty or an underscore; expand it
13226     U=`sed -n 's/^U = //p' < "$mf"`
13227     # Find all dependency output files, they are included files with
13228     # $(DEPDIR) in their names.  We invoke sed twice because it is the
13229     # simplest approach to changing $(DEPDIR) to its actual value in the
13230     # expansion.
13231     for file in `sed -n "
13232       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13233          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13234       # Make sure the directory exists.
13235       test -f "$dirpart/$file" && continue
13236       fdir=`$as_dirname -- "$file" ||
13237 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13238          X"$file" : 'X\(//\)[^/]' \| \
13239          X"$file" : 'X\(//\)$' \| \
13240          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13241 $as_echo X"$file" |
13242     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13243             s//\1/
13244             q
13245           }
13246           /^X\(\/\/\)[^/].*/{
13247             s//\1/
13248             q
13249           }
13250           /^X\(\/\/\)$/{
13251             s//\1/
13252             q
13253           }
13254           /^X\(\/\).*/{
13255             s//\1/
13256             q
13257           }
13258           s/.*/./; q'`
13259       { as_dir=$dirpart/$fdir
13260   case $as_dir in #(
13261   -*) as_dir=./$as_dir;;
13262   esac
13263   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
13264     as_dirs=
13265     while :; do
13266       case $as_dir in #(
13267       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13268       *) as_qdir=$as_dir;;
13269       esac
13270       as_dirs="'$as_qdir' $as_dirs"
13271       as_dir=`$as_dirname -- "$as_dir" ||
13272 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13273          X"$as_dir" : 'X\(//\)[^/]' \| \
13274          X"$as_dir" : 'X\(//\)$' \| \
13275          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13276 $as_echo X"$as_dir" |
13277     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13278             s//\1/
13279             q
13280           }
13281           /^X\(\/\/\)[^/].*/{
13282             s//\1/
13283             q
13284           }
13285           /^X\(\/\/\)$/{
13286             s//\1/
13287             q
13288           }
13289           /^X\(\/\).*/{
13290             s//\1/
13291             q
13292           }
13293           s/.*/./; q'`
13294       test -d "$as_dir" && break
13295     done
13296     test -z "$as_dirs" || eval "mkdir $as_dirs"
13297   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13298 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
13299    { (exit 1); exit 1; }; }; }
13300       # echo "creating $dirpart/$file"
13301       echo '# dummy' > "$dirpart/$file"
13302     done
13303   done
13304 }
13305  ;;
13306     "libtool":C)
13307
13308     # See if we are running on zsh, and set the options which allow our
13309     # commands through without removal of \ escapes.
13310     if test -n "${ZSH_VERSION+set}" ; then
13311       setopt NO_GLOB_SUBST
13312     fi
13313
13314     cfgfile="${ofile}T"
13315     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13316     $RM "$cfgfile"
13317
13318     cat <<_LT_EOF >> "$cfgfile"
13319 #! $SHELL
13320
13321 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13322 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13323 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13324 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13325 #
13326 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13327 #                 2006, 2007, 2008 Free Software Foundation, Inc.
13328 #   Written by Gordon Matzigkeit, 1996
13329 #
13330 #   This file is part of GNU Libtool.
13331 #
13332 # GNU Libtool is free software; you can redistribute it and/or
13333 # modify it under the terms of the GNU General Public License as
13334 # published by the Free Software Foundation; either version 2 of
13335 # the License, or (at your option) any later version.
13336 #
13337 # As a special exception to the GNU General Public License,
13338 # if you distribute this file as part of a program or library that
13339 # is built using GNU Libtool, you may include this file under the
13340 # same distribution terms that you use for the rest of that program.
13341 #
13342 # GNU Libtool is distributed in the hope that it will be useful,
13343 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13344 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13345 # GNU General Public License for more details.
13346 #
13347 # You should have received a copy of the GNU General Public License
13348 # along with GNU Libtool; see the file COPYING.  If not, a copy
13349 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13350 # obtained by writing to the Free Software Foundation, Inc.,
13351 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13352
13353
13354 # The names of the tagged configurations supported by this script.
13355 available_tags=""
13356
13357 # ### BEGIN LIBTOOL CONFIG
13358
13359 # Which release of libtool.m4 was used?
13360 macro_version=$macro_version
13361 macro_revision=$macro_revision
13362
13363 # Whether or not to build shared libraries.
13364 build_libtool_libs=$enable_shared
13365
13366 # Whether or not to build static libraries.
13367 build_old_libs=$enable_static
13368
13369 # What type of objects to build.
13370 pic_mode=$pic_mode
13371
13372 # Whether or not to optimize for fast installation.
13373 fast_install=$enable_fast_install
13374
13375 # The host system.
13376 host_alias=$host_alias
13377 host=$host
13378 host_os=$host_os
13379
13380 # The build system.
13381 build_alias=$build_alias
13382 build=$build
13383 build_os=$build_os
13384
13385 # A sed program that does not truncate output.
13386 SED=$lt_SED
13387
13388 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13389 Xsed="\$SED -e 1s/^X//"
13390
13391 # A grep program that handles long lines.
13392 GREP=$lt_GREP
13393
13394 # An ERE matcher.
13395 EGREP=$lt_EGREP
13396
13397 # A literal string matcher.
13398 FGREP=$lt_FGREP
13399
13400 # A BSD- or MS-compatible name lister.
13401 NM=$lt_NM
13402
13403 # Whether we need soft or hard links.
13404 LN_S=$lt_LN_S
13405
13406 # What is the maximum length of a command?
13407 max_cmd_len=$max_cmd_len
13408
13409 # Object file suffix (normally "o").
13410 objext=$ac_objext
13411
13412 # Executable file suffix (normally "").
13413 exeext=$exeext
13414
13415 # whether the shell understands "unset".
13416 lt_unset=$lt_unset
13417
13418 # turn spaces into newlines.
13419 SP2NL=$lt_lt_SP2NL
13420
13421 # turn newlines into spaces.
13422 NL2SP=$lt_lt_NL2SP
13423
13424 # How to create reloadable object files.
13425 reload_flag=$lt_reload_flag
13426 reload_cmds=$lt_reload_cmds
13427
13428 # An object symbol dumper.
13429 OBJDUMP=$lt_OBJDUMP
13430
13431 # Method to check whether dependent libraries are shared objects.
13432 deplibs_check_method=$lt_deplibs_check_method
13433
13434 # Command to use when deplibs_check_method == "file_magic".
13435 file_magic_cmd=$lt_file_magic_cmd
13436
13437 # The archiver.
13438 AR=$lt_AR
13439 AR_FLAGS=$lt_AR_FLAGS
13440
13441 # A symbol stripping program.
13442 STRIP=$lt_STRIP
13443
13444 # Commands used to install an old-style archive.
13445 RANLIB=$lt_RANLIB
13446 old_postinstall_cmds=$lt_old_postinstall_cmds
13447 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13448
13449 # A C compiler.
13450 LTCC=$lt_CC
13451
13452 # LTCC compiler flags.
13453 LTCFLAGS=$lt_CFLAGS
13454
13455 # Take the output of nm and produce a listing of raw symbols and C names.
13456 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13457
13458 # Transform the output of nm in a proper C declaration.
13459 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13460
13461 # Transform the output of nm in a C name address pair.
13462 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13463
13464 # Transform the output of nm in a C name address pair when lib prefix is needed.
13465 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13466
13467 # The name of the directory that contains temporary libtool files.
13468 objdir=$objdir
13469
13470 # Shell to use when invoking shell scripts.
13471 SHELL=$lt_SHELL
13472
13473 # An echo program that does not interpret backslashes.
13474 ECHO=$lt_ECHO
13475
13476 # Used to examine libraries when file_magic_cmd begins with "file".
13477 MAGIC_CMD=$MAGIC_CMD
13478
13479 # Must we lock files when doing compilation?
13480 need_locks=$lt_need_locks
13481
13482 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13483 DSYMUTIL=$lt_DSYMUTIL
13484
13485 # Tool to change global to local symbols on Mac OS X.
13486 NMEDIT=$lt_NMEDIT
13487
13488 # Tool to manipulate fat objects and archives on Mac OS X.
13489 LIPO=$lt_LIPO
13490
13491 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13492 OTOOL=$lt_OTOOL
13493
13494 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13495 OTOOL64=$lt_OTOOL64
13496
13497 # Old archive suffix (normally "a").
13498 libext=$libext
13499
13500 # Shared library suffix (normally ".so").
13501 shrext_cmds=$lt_shrext_cmds
13502
13503 # The commands to extract the exported symbol list from a shared archive.
13504 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13505
13506 # Variables whose values should be saved in libtool wrapper scripts and
13507 # restored at link time.
13508 variables_saved_for_relink=$lt_variables_saved_for_relink
13509
13510 # Do we need the "lib" prefix for modules?
13511 need_lib_prefix=$need_lib_prefix
13512
13513 # Do we need a version for libraries?
13514 need_version=$need_version
13515
13516 # Library versioning type.
13517 version_type=$version_type
13518
13519 # Shared library runtime path variable.
13520 runpath_var=$runpath_var
13521
13522 # Shared library path variable.
13523 shlibpath_var=$shlibpath_var
13524
13525 # Is shlibpath searched before the hard-coded library search path?
13526 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13527
13528 # Format of library name prefix.
13529 libname_spec=$lt_libname_spec
13530
13531 # List of archive names.  First name is the real one, the rest are links.
13532 # The last name is the one that the linker finds with -lNAME
13533 library_names_spec=$lt_library_names_spec
13534
13535 # The coded name of the library, if different from the real name.
13536 soname_spec=$lt_soname_spec
13537
13538 # Command to use after installation of a shared archive.
13539 postinstall_cmds=$lt_postinstall_cmds
13540
13541 # Command to use after uninstallation of a shared archive.
13542 postuninstall_cmds=$lt_postuninstall_cmds
13543
13544 # Commands used to finish a libtool library installation in a directory.
13545 finish_cmds=$lt_finish_cmds
13546
13547 # As "finish_cmds", except a single script fragment to be evaled but
13548 # not shown.
13549 finish_eval=$lt_finish_eval
13550
13551 # Whether we should hardcode library paths into libraries.
13552 hardcode_into_libs=$hardcode_into_libs
13553
13554 # Compile-time system search path for libraries.
13555 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13556
13557 # Run-time system search path for libraries.
13558 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13559
13560 # Whether dlopen is supported.
13561 dlopen_support=$enable_dlopen
13562
13563 # Whether dlopen of programs is supported.
13564 dlopen_self=$enable_dlopen_self
13565
13566 # Whether dlopen of statically linked programs is supported.
13567 dlopen_self_static=$enable_dlopen_self_static
13568
13569 # Commands to strip libraries.
13570 old_striplib=$lt_old_striplib
13571 striplib=$lt_striplib
13572
13573
13574 # The linker used to build libraries.
13575 LD=$lt_LD
13576
13577 # Commands used to build an old-style archive.
13578 old_archive_cmds=$lt_old_archive_cmds
13579
13580 # A language specific compiler.
13581 CC=$lt_compiler
13582
13583 # Is the compiler the GNU compiler?
13584 with_gcc=$GCC
13585
13586 # Compiler flag to turn off builtin functions.
13587 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13588
13589 # How to pass a linker flag through the compiler.
13590 wl=$lt_lt_prog_compiler_wl
13591
13592 # Additional compiler flags for building library objects.
13593 pic_flag=$lt_lt_prog_compiler_pic
13594
13595 # Compiler flag to prevent dynamic linking.
13596 link_static_flag=$lt_lt_prog_compiler_static
13597
13598 # Does compiler simultaneously support -c and -o options?
13599 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13600
13601 # Whether or not to add -lc for building shared libraries.
13602 build_libtool_need_lc=$archive_cmds_need_lc
13603
13604 # Whether or not to disallow shared libs when runtime libs are static.
13605 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13606
13607 # Compiler flag to allow reflexive dlopens.
13608 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13609
13610 # Compiler flag to generate shared objects directly from archives.
13611 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13612
13613 # Whether the compiler copes with passing no objects directly.
13614 compiler_needs_object=$lt_compiler_needs_object
13615
13616 # Create an old-style archive from a shared archive.
13617 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13618
13619 # Create a temporary old-style archive to link instead of a shared archive.
13620 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13621
13622 # Commands used to build a shared archive.
13623 archive_cmds=$lt_archive_cmds
13624 archive_expsym_cmds=$lt_archive_expsym_cmds
13625
13626 # Commands used to build a loadable module if different from building
13627 # a shared archive.
13628 module_cmds=$lt_module_cmds
13629 module_expsym_cmds=$lt_module_expsym_cmds
13630
13631 # Whether we are building with GNU ld or not.
13632 with_gnu_ld=$lt_with_gnu_ld
13633
13634 # Flag that allows shared libraries with undefined symbols to be built.
13635 allow_undefined_flag=$lt_allow_undefined_flag
13636
13637 # Flag that enforces no undefined symbols.
13638 no_undefined_flag=$lt_no_undefined_flag
13639
13640 # Flag to hardcode \$libdir into a binary during linking.
13641 # This must work even if \$libdir does not exist
13642 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13643
13644 # If ld is used when linking, flag to hardcode \$libdir into a binary
13645 # during linking.  This must work even if \$libdir does not exist.
13646 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13647
13648 # Whether we need a single "-rpath" flag with a separated argument.
13649 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13650
13651 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13652 # DIR into the resulting binary.
13653 hardcode_direct=$hardcode_direct
13654
13655 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13656 # DIR into the resulting binary and the resulting library dependency is
13657 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13658 # library is relocated.
13659 hardcode_direct_absolute=$hardcode_direct_absolute
13660
13661 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13662 # into the resulting binary.
13663 hardcode_minus_L=$hardcode_minus_L
13664
13665 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13666 # into the resulting binary.
13667 hardcode_shlibpath_var=$hardcode_shlibpath_var
13668
13669 # Set to "yes" if building a shared library automatically hardcodes DIR
13670 # into the library and all subsequent libraries and executables linked
13671 # against it.
13672 hardcode_automatic=$hardcode_automatic
13673
13674 # Set to yes if linker adds runtime paths of dependent libraries
13675 # to runtime path list.
13676 inherit_rpath=$inherit_rpath
13677
13678 # Whether libtool must link a program against all its dependency libraries.
13679 link_all_deplibs=$link_all_deplibs
13680
13681 # Fix the shell variable \$srcfile for the compiler.
13682 fix_srcfile_path=$lt_fix_srcfile_path
13683
13684 # Set to "yes" if exported symbols are required.
13685 always_export_symbols=$always_export_symbols
13686
13687 # The commands to list exported symbols.
13688 export_symbols_cmds=$lt_export_symbols_cmds
13689
13690 # Symbols that should not be listed in the preloaded symbols.
13691 exclude_expsyms=$lt_exclude_expsyms
13692
13693 # Symbols that must always be exported.
13694 include_expsyms=$lt_include_expsyms
13695
13696 # Commands necessary for linking programs (against libraries) with templates.
13697 prelink_cmds=$lt_prelink_cmds
13698
13699 # Specify filename containing input files.
13700 file_list_spec=$lt_file_list_spec
13701
13702 # How to hardcode a shared library path into an executable.
13703 hardcode_action=$hardcode_action
13704
13705 # ### END LIBTOOL CONFIG
13706
13707 _LT_EOF
13708
13709   case $host_os in
13710   aix3*)
13711     cat <<\_LT_EOF >> "$cfgfile"
13712 # AIX sometimes has problems with the GCC collect2 program.  For some
13713 # reason, if we set the COLLECT_NAMES environment variable, the problems
13714 # vanish in a puff of smoke.
13715 if test "X${COLLECT_NAMES+set}" != Xset; then
13716   COLLECT_NAMES=
13717   export COLLECT_NAMES
13718 fi
13719 _LT_EOF
13720     ;;
13721   esac
13722
13723
13724 ltmain="$ac_aux_dir/ltmain.sh"
13725
13726
13727   # We use sed instead of cat because bash on DJGPP gets confused if
13728   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
13729   # text mode, it properly converts lines to CR/LF.  This bash problem
13730   # is reportedly fixed, but why not run on old versions too?
13731   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13732     || (rm -f "$cfgfile"; exit 1)
13733
13734   case $xsi_shell in
13735   yes)
13736     cat << \_LT_EOF >> "$cfgfile"
13737
13738 # func_dirname file append nondir_replacement
13739 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
13740 # otherwise set result to NONDIR_REPLACEMENT.
13741 func_dirname ()
13742 {
13743   case ${1} in
13744     */*) func_dirname_result="${1%/*}${2}" ;;
13745     *  ) func_dirname_result="${3}" ;;
13746   esac
13747 }
13748
13749 # func_basename file
13750 func_basename ()
13751 {
13752   func_basename_result="${1##*/}"
13753 }
13754
13755 # func_dirname_and_basename file append nondir_replacement
13756 # perform func_basename and func_dirname in a single function
13757 # call:
13758 #   dirname:  Compute the dirname of FILE.  If nonempty,
13759 #             add APPEND to the result, otherwise set result
13760 #             to NONDIR_REPLACEMENT.
13761 #             value returned in "$func_dirname_result"
13762 #   basename: Compute filename of FILE.
13763 #             value retuned in "$func_basename_result"
13764 # Implementation must be kept synchronized with func_dirname
13765 # and func_basename. For efficiency, we do not delegate to
13766 # those functions but instead duplicate the functionality here.
13767 func_dirname_and_basename ()
13768 {
13769   case ${1} in
13770     */*) func_dirname_result="${1%/*}${2}" ;;
13771     *  ) func_dirname_result="${3}" ;;
13772   esac
13773   func_basename_result="${1##*/}"
13774 }
13775
13776 # func_stripname prefix suffix name
13777 # strip PREFIX and SUFFIX off of NAME.
13778 # PREFIX and SUFFIX must not contain globbing or regex special
13779 # characters, hashes, percent signs, but SUFFIX may contain a leading
13780 # dot (in which case that matches only a dot).
13781 func_stripname ()
13782 {
13783   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13784   # positional parameters, so assign one to ordinary parameter first.
13785   func_stripname_result=${3}
13786   func_stripname_result=${func_stripname_result#"${1}"}
13787   func_stripname_result=${func_stripname_result%"${2}"}
13788 }
13789
13790 # func_opt_split
13791 func_opt_split ()
13792 {
13793   func_opt_split_opt=${1%%=*}
13794   func_opt_split_arg=${1#*=}
13795 }
13796
13797 # func_lo2o object
13798 func_lo2o ()
13799 {
13800   case ${1} in
13801     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
13802     *)    func_lo2o_result=${1} ;;
13803   esac
13804 }
13805
13806 # func_xform libobj-or-source
13807 func_xform ()
13808 {
13809   func_xform_result=${1%.*}.lo
13810 }
13811
13812 # func_arith arithmetic-term...
13813 func_arith ()
13814 {
13815   func_arith_result=$(( $* ))
13816 }
13817
13818 # func_len string
13819 # STRING may not start with a hyphen.
13820 func_len ()
13821 {
13822   func_len_result=${#1}
13823 }
13824
13825 _LT_EOF
13826     ;;
13827   *) # Bourne compatible functions.
13828     cat << \_LT_EOF >> "$cfgfile"
13829
13830 # func_dirname file append nondir_replacement
13831 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
13832 # otherwise set result to NONDIR_REPLACEMENT.
13833 func_dirname ()
13834 {
13835   # Extract subdirectory from the argument.
13836   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
13837   if test "X$func_dirname_result" = "X${1}"; then
13838     func_dirname_result="${3}"
13839   else
13840     func_dirname_result="$func_dirname_result${2}"
13841   fi
13842 }
13843
13844 # func_basename file
13845 func_basename ()
13846 {
13847   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
13848 }
13849
13850
13851 # func_stripname prefix suffix name
13852 # strip PREFIX and SUFFIX off of NAME.
13853 # PREFIX and SUFFIX must not contain globbing or regex special
13854 # characters, hashes, percent signs, but SUFFIX may contain a leading
13855 # dot (in which case that matches only a dot).
13856 # func_strip_suffix prefix name
13857 func_stripname ()
13858 {
13859   case ${2} in
13860     .*) func_stripname_result=`$ECHO "X${3}" \
13861            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
13862     *)  func_stripname_result=`$ECHO "X${3}" \
13863            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
13864   esac
13865 }
13866
13867 # sed scripts:
13868 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
13869 my_sed_long_arg='1s/^-[^=]*=//'
13870
13871 # func_opt_split
13872 func_opt_split ()
13873 {
13874   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
13875   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
13876 }
13877
13878 # func_lo2o object
13879 func_lo2o ()
13880 {
13881   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
13882 }
13883
13884 # func_xform libobj-or-source
13885 func_xform ()
13886 {
13887   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
13888 }
13889
13890 # func_arith arithmetic-term...
13891 func_arith ()
13892 {
13893   func_arith_result=`expr "$@"`
13894 }
13895
13896 # func_len string
13897 # STRING may not start with a hyphen.
13898 func_len ()
13899 {
13900   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13901 }
13902
13903 _LT_EOF
13904 esac
13905
13906 case $lt_shell_append in
13907   yes)
13908     cat << \_LT_EOF >> "$cfgfile"
13909
13910 # func_append var value
13911 # Append VALUE to the end of shell variable VAR.
13912 func_append ()
13913 {
13914   eval "$1+=\$2"
13915 }
13916 _LT_EOF
13917     ;;
13918   *)
13919     cat << \_LT_EOF >> "$cfgfile"
13920
13921 # func_append var value
13922 # Append VALUE to the end of shell variable VAR.
13923 func_append ()
13924 {
13925   eval "$1=\$$1\$2"
13926 }
13927
13928 _LT_EOF
13929     ;;
13930   esac
13931
13932
13933   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13934     || (rm -f "$cfgfile"; exit 1)
13935
13936   mv -f "$cfgfile" "$ofile" ||
13937     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13938   chmod +x "$ofile"
13939
13940  ;;
13941
13942   esac
13943 done # for ac_tag
13944
13945
13946 { (exit 0); exit 0; }
13947 _ACEOF
13948 chmod +x $CONFIG_STATUS
13949 ac_clean_files=$ac_clean_files_save
13950
13951 test $ac_write_fail = 0 ||
13952   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
13953 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
13954    { (exit 1); exit 1; }; }
13955
13956
13957 # configure is writing to config.log, and then calls config.status.
13958 # config.status does its own redirection, appending to config.log.
13959 # Unfortunately, on DOS this fails, as config.log is still kept open
13960 # by configure, so config.status won't be able to write to it; its
13961 # output is simply discarded.  So we exec the FD to /dev/null,
13962 # effectively closing config.log, so it can be properly (re)opened and
13963 # appended to by config.status.  When coming back to configure, we
13964 # need to make the FD available again.
13965 if test "$no_create" != yes; then
13966   ac_cs_success=:
13967   ac_config_status_args=
13968   test "$silent" = yes &&
13969     ac_config_status_args="$ac_config_status_args --quiet"
13970   exec 5>/dev/null
13971   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13972   exec 5>>config.log
13973   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13974   # would make configure fail if this is the last instruction.
13975   $ac_cs_success || { (exit 1); exit 1; }
13976 fi
13977 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
13978   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13979 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
13980 fi
13981