Git init
[external/pango1.0.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for pango 1.26.1.
4 #
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=pango>.
6 #
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 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   # Zsh 3.x and 4.x performs 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 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44   echo "#! /bin/sh" >conf$$.sh
45   echo  "exit 0"   >>conf$$.sh
46   chmod +x conf$$.sh
47   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48     PATH_SEPARATOR=';'
49   else
50     PATH_SEPARATOR=:
51   fi
52   rm -f conf$$.sh
53 fi
54
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57   as_unset=unset
58 else
59   as_unset=false
60 fi
61
62
63 # IFS
64 # We need space, tab and new line, in precisely that order.  Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
68 as_nl='
69 '
70 IFS=" ""        $as_nl"
71
72 # Find who we are.  Look in the path if we contain no directory separator.
73 case $0 in
74   *[\\/]* ) as_myself=$0 ;;
75   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 for as_dir in $PATH
77 do
78   IFS=$as_save_IFS
79   test -z "$as_dir" && as_dir=.
80   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
82 IFS=$as_save_IFS
83
84      ;;
85 esac
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
89   as_myself=$0
90 fi
91 if test ! -f "$as_myself"; then
92   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93   { (exit 1); exit 1; }
94 fi
95
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99 done
100 PS1='$ '
101 PS2='> '
102 PS4='+ '
103
104 # NLS nuisances.
105 for as_var in \
106   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108   LC_TELEPHONE LC_TIME
109 do
110   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111     eval $as_var=C; export $as_var
112   else
113     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114   fi
115 done
116
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119    test "X`expr 00001 : '.*\(...\)'`" = X001; then
120   as_expr=expr
121 else
122   as_expr=false
123 fi
124
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126   as_basename=basename
127 else
128   as_basename=false
129 fi
130
131
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135          X"$0" : 'X\(//\)$' \| \
136          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
138     sed '/^.*\/\([^/][^/]*\)\/*$/{
139             s//\1/
140             q
141           }
142           /^X\/\(\/\/\)$/{
143             s//\1/
144             q
145           }
146           /^X\/\(\/\).*/{
147             s//\1/
148             q
149           }
150           s/.*/./; q'`
151
152 # CDPATH.
153 $as_unset CDPATH
154
155
156 if test "x$CONFIG_SHELL" = x; then
157   if (eval ":") 2>/dev/null; then
158   as_have_required=yes
159 else
160   as_have_required=no
161 fi
162
163   if test $as_have_required = yes &&     (eval ":
164 (as_func_return () {
165   (exit \$1)
166 }
167 as_func_success () {
168   as_func_return 0
169 }
170 as_func_failure () {
171   as_func_return 1
172 }
173 as_func_ret_success () {
174   return 0
175 }
176 as_func_ret_failure () {
177   return 1
178 }
179
180 exitcode=0
181 if as_func_success; then
182   :
183 else
184   exitcode=1
185   echo as_func_success failed.
186 fi
187
188 if as_func_failure; then
189   exitcode=1
190   echo as_func_failure succeeded.
191 fi
192
193 if as_func_ret_success; then
194   :
195 else
196   exitcode=1
197   echo as_func_ret_success failed.
198 fi
199
200 if as_func_ret_failure; then
201   exitcode=1
202   echo as_func_ret_failure succeeded.
203 fi
204
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206   :
207 else
208   exitcode=1
209   echo positional parameters were not saved.
210 fi
211
212 test \$exitcode = 0) || { (exit 1); exit 1; }
213
214 (
215   as_lineno_1=\$LINENO
216   as_lineno_2=\$LINENO
217   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
220   :
221 else
222   as_candidate_shells=
223     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 do
226   IFS=$as_save_IFS
227   test -z "$as_dir" && as_dir=.
228   case $as_dir in
229          /*)
230            for as_base in sh bash ksh sh5; do
231              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232            done;;
233        esac
234 done
235 IFS=$as_save_IFS
236
237
238       for as_shell in $as_candidate_shells $SHELL; do
239          # Try only shells that exist, to save several forks.
240          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241                 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243   emulate sh
244   NULLCMD=:
245   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246   # is contrary to our usage.  Disable this feature.
247   alias -g '${1+"$@"}'='"$@"'
248   setopt NO_GLOB_SUBST
249 else
250   case `(set -o) 2>/dev/null` in
251   *posix*) set -o posix ;;
252 esac
253
254 fi
255
256
257 :
258 _ASEOF
259 }; then
260   CONFIG_SHELL=$as_shell
261                as_have_required=yes
262                if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264   emulate sh
265   NULLCMD=:
266   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267   # is contrary to our usage.  Disable this feature.
268   alias -g '${1+"$@"}'='"$@"'
269   setopt NO_GLOB_SUBST
270 else
271   case `(set -o) 2>/dev/null` in
272   *posix*) set -o posix ;;
273 esac
274
275 fi
276
277
278 :
279 (as_func_return () {
280   (exit $1)
281 }
282 as_func_success () {
283   as_func_return 0
284 }
285 as_func_failure () {
286   as_func_return 1
287 }
288 as_func_ret_success () {
289   return 0
290 }
291 as_func_ret_failure () {
292   return 1
293 }
294
295 exitcode=0
296 if as_func_success; then
297   :
298 else
299   exitcode=1
300   echo as_func_success failed.
301 fi
302
303 if as_func_failure; then
304   exitcode=1
305   echo as_func_failure succeeded.
306 fi
307
308 if as_func_ret_success; then
309   :
310 else
311   exitcode=1
312   echo as_func_ret_success failed.
313 fi
314
315 if as_func_ret_failure; then
316   exitcode=1
317   echo as_func_ret_failure succeeded.
318 fi
319
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
321   :
322 else
323   exitcode=1
324   echo positional parameters were not saved.
325 fi
326
327 test $exitcode = 0) || { (exit 1); exit 1; }
328
329 (
330   as_lineno_1=$LINENO
331   as_lineno_2=$LINENO
332   test "x$as_lineno_1" != "x$as_lineno_2" &&
333   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334
335 _ASEOF
336 }; then
337   break
338 fi
339
340 fi
341
342       done
343
344       if test "x$CONFIG_SHELL" != x; then
345   for as_var in BASH_ENV ENV
346         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347         done
348         export CONFIG_SHELL
349         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350 fi
351
352
353     if test $as_have_required = no; then
354   echo This script requires a shell more modern than all the
355       echo shells that I found on your system.  Please install a
356       echo modern shell, or manually run the script under such a
357       echo shell if you do have one.
358       { (exit 1); exit 1; }
359 fi
360
361
362 fi
363
364 fi
365
366
367
368 (eval "as_func_return () {
369   (exit \$1)
370 }
371 as_func_success () {
372   as_func_return 0
373 }
374 as_func_failure () {
375   as_func_return 1
376 }
377 as_func_ret_success () {
378   return 0
379 }
380 as_func_ret_failure () {
381   return 1
382 }
383
384 exitcode=0
385 if as_func_success; then
386   :
387 else
388   exitcode=1
389   echo as_func_success failed.
390 fi
391
392 if as_func_failure; then
393   exitcode=1
394   echo as_func_failure succeeded.
395 fi
396
397 if as_func_ret_success; then
398   :
399 else
400   exitcode=1
401   echo as_func_ret_success failed.
402 fi
403
404 if as_func_ret_failure; then
405   exitcode=1
406   echo as_func_ret_failure succeeded.
407 fi
408
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410   :
411 else
412   exitcode=1
413   echo positional parameters were not saved.
414 fi
415
416 test \$exitcode = 0") || {
417   echo No shell found that supports shell functions.
418   echo Please tell autoconf@gnu.org about your system,
419   echo including any error possibly output before this
420   echo message
421 }
422
423
424
425   as_lineno_1=$LINENO
426   as_lineno_2=$LINENO
427   test "x$as_lineno_1" != "x$as_lineno_2" &&
428   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429
430   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431   # uniformly replaced by the line number.  The first 'sed' inserts a
432   # line-number line after each line using $LINENO; the second 'sed'
433   # does the real work.  The second script uses 'N' to pair each
434   # line-number line with the line containing $LINENO, and appends
435   # trailing '-' during substitution so that $LINENO is not a special
436   # case at line end.
437   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438   # scripts with optimization help from Paolo Bonzini.  Blame Lee
439   # E. McMahon (1931-1989) for sed's syntax.  :-)
440   sed -n '
441     p
442     /[$]LINENO/=
443   ' <$as_myself |
444     sed '
445       s/[$]LINENO.*/&-/
446       t lineno
447       b
448       :lineno
449       N
450       :loop
451       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452       t loop
453       s/-\n.*//
454     ' >$as_me.lineno &&
455   chmod +x "$as_me.lineno" ||
456     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457    { (exit 1); exit 1; }; }
458
459   # Don't try to exec as it changes $[0], causing all sort of problems
460   # (the dirname of $[0] is not the place where we might find the
461   # original and so on.  Autoconf is especially sensitive to this).
462   . "./$as_me.lineno"
463   # Exit status is that of the last command.
464   exit
465 }
466
467
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469   as_dirname=dirname
470 else
471   as_dirname=false
472 fi
473
474 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in
476 -n*)
477   case `echo 'x\c'` in
478   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
479   *)   ECHO_C='\c';;
480   esac;;
481 *)
482   ECHO_N='-n';;
483 esac
484
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486    test "X`expr 00001 : '.*\(...\)'`" = X001; then
487   as_expr=expr
488 else
489   as_expr=false
490 fi
491
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494   rm -f conf$$.dir/conf$$.file
495 else
496   rm -f conf$$.dir
497   mkdir conf$$.dir
498 fi
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
501   as_ln_s='ln -s'
502   # ... but there are two gotchas:
503   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505   # In both cases, we have to default to `cp -p'.
506   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507     as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509   as_ln_s=ln
510 else
511   as_ln_s='cp -p'
512 fi
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
515
516 if mkdir -p . 2>/dev/null; then
517   as_mkdir_p=:
518 else
519   test -d ./-p && rmdir ./-p
520   as_mkdir_p=false
521 fi
522
523 if test -x / >/dev/null 2>&1; then
524   as_test_x='test -x'
525 else
526   if ls -dL / >/dev/null 2>&1; then
527     as_ls_L_option=L
528   else
529     as_ls_L_option=
530   fi
531   as_test_x='
532     eval sh -c '\''
533       if test -d "$1"; then
534         test -d "$1/.";
535       else
536         case $1 in
537         -*)set "./$1";;
538         esac;
539         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540         ???[sx]*):;;*)false;;esac;fi
541     '\'' sh
542   '
543 fi
544 as_executable_p=$as_test_x
545
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
548
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551
552
553
554
555 # Check that we are running under the correct shell.
556 SHELL=${CONFIG_SHELL-/bin/sh}
557
558 case X$lt_ECHO in
559 X*--fallback-echo)
560   # Remove one level of quotation (which was required for Make).
561   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
562   ;;
563 esac
564
565 ECHO=${lt_ECHO-echo}
566 if test "X$1" = X--no-reexec; then
567   # Discard the --no-reexec flag, and continue.
568   shift
569 elif test "X$1" = X--fallback-echo; then
570   # Avoid inline document here, it may be left over
571   :
572 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
573   # Yippee, $ECHO works!
574   :
575 else
576   # Restart under the correct shell.
577   exec $SHELL "$0" --no-reexec ${1+"$@"}
578 fi
579
580 if test "X$1" = X--fallback-echo; then
581   # used as fallback echo
582   shift
583   cat <<_LT_EOF
584 $*
585 _LT_EOF
586   exit 0
587 fi
588
589 # The HP-UX ksh and POSIX shell print the target directory to stdout
590 # if CDPATH is set.
591 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
592
593 if test -z "$lt_ECHO"; then
594   if test "X${echo_test_string+set}" != Xset; then
595     # find a string as large as possible, as long as the shell can cope with it
596     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
597       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
598       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
599          { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
600       then
601         break
602       fi
603     done
604   fi
605
606   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
607      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
608      test "X$echo_testing_string" = "X$echo_test_string"; then
609     :
610   else
611     # The Solaris, AIX, and Digital Unix default echo programs unquote
612     # backslashes.  This makes it impossible to quote backslashes using
613     #   echo "$something" | sed 's/\\/\\\\/g'
614     #
615     # So, first we look for a working echo in the user's PATH.
616
617     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
618     for dir in $PATH /usr/ucb; do
619       IFS="$lt_save_ifs"
620       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
621          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
622          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
623          test "X$echo_testing_string" = "X$echo_test_string"; then
624         ECHO="$dir/echo"
625         break
626       fi
627     done
628     IFS="$lt_save_ifs"
629
630     if test "X$ECHO" = Xecho; then
631       # We didn't find a better echo, so look for alternatives.
632       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
633          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
634          test "X$echo_testing_string" = "X$echo_test_string"; then
635         # This shell has a builtin print -r that does the trick.
636         ECHO='print -r'
637       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
638            test "X$CONFIG_SHELL" != X/bin/ksh; then
639         # If we have ksh, try running configure again with it.
640         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
641         export ORIGINAL_CONFIG_SHELL
642         CONFIG_SHELL=/bin/ksh
643         export CONFIG_SHELL
644         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
645       else
646         # Try using printf.
647         ECHO='printf %s\n'
648         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
649            echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
650            test "X$echo_testing_string" = "X$echo_test_string"; then
651           # Cool, printf works
652           :
653         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
654              test "X$echo_testing_string" = 'X\t' &&
655              echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
656              test "X$echo_testing_string" = "X$echo_test_string"; then
657           CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
658           export CONFIG_SHELL
659           SHELL="$CONFIG_SHELL"
660           export SHELL
661           ECHO="$CONFIG_SHELL $0 --fallback-echo"
662         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
663              test "X$echo_testing_string" = 'X\t' &&
664              echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
665              test "X$echo_testing_string" = "X$echo_test_string"; then
666           ECHO="$CONFIG_SHELL $0 --fallback-echo"
667         else
668           # maybe with a smaller string...
669           prev=:
670
671           for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
672             if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
673             then
674               break
675             fi
676             prev="$cmd"
677           done
678
679           if test "$prev" != 'sed 50q "$0"'; then
680             echo_test_string=`eval $prev`
681             export echo_test_string
682             exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
683           else
684             # Oops.  We lost completely, so just stick with echo.
685             ECHO=echo
686           fi
687         fi
688       fi
689     fi
690   fi
691 fi
692
693 # Copy echo and quote the copy suitably for passing to libtool from
694 # the Makefile, instead of quoting the original, which is used later.
695 lt_ECHO=$ECHO
696 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
697    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
698 fi
699
700
701
702
703 exec 7<&0 </dev/null 6>&1
704
705 # Name of the host.
706 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
707 # so uname gets run too.
708 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
709
710 #
711 # Initializations.
712 #
713 ac_default_prefix=/usr/local
714 ac_clean_files=
715 ac_config_libobj_dir=.
716 LIBOBJS=
717 cross_compiling=no
718 subdirs=
719 MFLAGS=
720 MAKEFLAGS=
721 SHELL=${CONFIG_SHELL-/bin/sh}
722
723 # Identity of this package.
724 PACKAGE_NAME='pango'
725 PACKAGE_TARNAME='pango'
726 PACKAGE_VERSION='1.26.1'
727 PACKAGE_STRING='pango 1.26.1'
728 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=pango'
729
730 ac_unique_file="pango.pc.in"
731 # Factoring default headers for most tests.
732 ac_includes_default="\
733 #include <stdio.h>
734 #ifdef HAVE_SYS_TYPES_H
735 # include <sys/types.h>
736 #endif
737 #ifdef HAVE_SYS_STAT_H
738 # include <sys/stat.h>
739 #endif
740 #ifdef STDC_HEADERS
741 # include <stdlib.h>
742 # include <stddef.h>
743 #else
744 # ifdef HAVE_STDLIB_H
745 #  include <stdlib.h>
746 # endif
747 #endif
748 #ifdef HAVE_STRING_H
749 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
750 #  include <memory.h>
751 # endif
752 # include <string.h>
753 #endif
754 #ifdef HAVE_STRINGS_H
755 # include <strings.h>
756 #endif
757 #ifdef HAVE_INTTYPES_H
758 # include <inttypes.h>
759 #endif
760 #ifdef HAVE_STDINT_H
761 # include <stdint.h>
762 #endif
763 #ifdef HAVE_UNISTD_H
764 # include <unistd.h>
765 #endif"
766
767 ac_subst_vars='SHELL
768 PATH_SEPARATOR
769 PACKAGE_NAME
770 PACKAGE_TARNAME
771 PACKAGE_VERSION
772 PACKAGE_STRING
773 PACKAGE_BUGREPORT
774 exec_prefix
775 prefix
776 program_transform_name
777 bindir
778 sbindir
779 libexecdir
780 datarootdir
781 datadir
782 sysconfdir
783 sharedstatedir
784 localstatedir
785 includedir
786 oldincludedir
787 docdir
788 infodir
789 htmldir
790 dvidir
791 pdfdir
792 psdir
793 libdir
794 localedir
795 mandir
796 DEFS
797 ECHO_C
798 ECHO_N
799 ECHO_T
800 LIBS
801 build_alias
802 host_alias
803 target_alias
804 INSTALL_PROGRAM
805 INSTALL_SCRIPT
806 INSTALL_DATA
807 CYGPATH_W
808 PACKAGE
809 VERSION
810 ACLOCAL
811 AUTOCONF
812 AUTOMAKE
813 AUTOHEADER
814 MAKEINFO
815 install_sh
816 STRIP
817 INSTALL_STRIP_PROGRAM
818 mkdir_p
819 AWK
820 SET_MAKE
821 am__leading_dot
822 AMTAR
823 am__tar
824 am__untar
825 PANGO_VERSION_MAJOR
826 PANGO_VERSION_MINOR
827 PANGO_VERSION_MICRO
828 PANGO_VERSION
829 PANGO_API_VERSION
830 PANGO_INTERFACE_AGE
831 PANGO_BINARY_AGE
832 PANGO_MODULE_VERSION
833 PANGO_CURRENT_MINUS_AGE
834 build
835 build_cpu
836 build_vendor
837 build_os
838 host
839 host_cpu
840 host_vendor
841 host_os
842 LIB_EXE_MACHINE_FLAG
843 OS_WIN32_TRUE
844 OS_WIN32_FALSE
845 CC
846 CFLAGS
847 LDFLAGS
848 CPPFLAGS
849 ac_ct_CC
850 EXEEXT
851 OBJEXT
852 DEPDIR
853 am__include
854 am__quote
855 AMDEP_TRUE
856 AMDEP_FALSE
857 AMDEPBACKSLASH
858 CCDEPMODE
859 am__fastdepCC_TRUE
860 am__fastdepCC_FALSE
861 CXX
862 CXXFLAGS
863 ac_ct_CXX
864 CXXDEPMODE
865 am__fastdepCXX_TRUE
866 am__fastdepCXX_FALSE
867 HAVE_CXX_TRUE
868 HAVE_CXX_FALSE
869 CPP
870 GREP
871 EGREP
872 AS
873 DLLTOOL
874 OBJDUMP
875 LIBTOOL
876 SED
877 FGREP
878 LD
879 DUMPBIN
880 ac_ct_DUMPBIN
881 NM
882 LN_S
883 AR
884 RANLIB
885 lt_ECHO
886 DSYMUTIL
887 NMEDIT
888 LIPO
889 OTOOL
890 OTOOL64
891 CXXCPP
892 PLATFORM_WIN32_TRUE
893 PLATFORM_WIN32_FALSE
894 WINDRES
895 ms_librarian
896 MS_LIB_AVAILABLE_TRUE
897 MS_LIB_AVAILABLE_FALSE
898 PANGO_DEBUG_FLAGS
899 CROSS_COMPILING_TRUE
900 CROSS_COMPILING_FALSE
901 XMKMF
902 X_CFLAGS
903 X_PRE_LIBS
904 X_LIBS
905 X_EXTRA_LIBS
906 HAVE_X_TRUE
907 HAVE_X_FALSE
908 PKG_CONFIG
909 FONTCONFIG_CFLAGS
910 FONTCONFIG_LIBS
911 FREETYPE_CFLAGS
912 FREETYPE_LIBS
913 HAVE_FREETYPE_TRUE
914 HAVE_FREETYPE_FALSE
915 XFT_CFLAGS
916 XFT_LIBS
917 HAVE_XFT_TRUE
918 HAVE_XFT_FALSE
919 WIN32_LIBS
920 HAVE_WIN32_TRUE
921 HAVE_WIN32_FALSE
922 CAIRO_CFLAGS
923 CAIRO_LIBS
924 HAVE_CAIRO_TRUE
925 HAVE_CAIRO_FALSE
926 HAVE_CAIRO_PNG_TRUE
927 HAVE_CAIRO_PNG_FALSE
928 HAVE_CAIRO_PS_TRUE
929 HAVE_CAIRO_PS_FALSE
930 HAVE_CAIRO_PDF_TRUE
931 HAVE_CAIRO_PDF_FALSE
932 HAVE_CAIRO_XLIB_TRUE
933 HAVE_CAIRO_XLIB_FALSE
934 HAVE_CAIRO_WIN32_TRUE
935 HAVE_CAIRO_WIN32_FALSE
936 HAVE_CAIRO_FREETYPE_TRUE
937 HAVE_CAIRO_FREETYPE_FALSE
938 HAVE_CAIRO_ATSUI_TRUE
939 HAVE_CAIRO_ATSUI_FALSE
940 GLIB_CFLAGS
941 GLIB_LIBS
942 GLIB_MKENUMS
943 LIBTHAI_CFLAGS
944 LIBTHAI_LIBS
945 INTROSPECTION_CFLAGS
946 INTROSPECTION_LIBS
947 HAVE_INTROSPECTION_TRUE
948 HAVE_INTROSPECTION_FALSE
949 G_IR_SCANNER
950 G_IR_COMPILER
951 G_IR_GENERATE
952 GIRDIR
953 TYPELIBDIR
954 HAVE_INCLUDED_MODULES_TRUE
955 HAVE_INCLUDED_MODULES_FALSE
956 HAVE_DYNAMIC_MODULES_TRUE
957 HAVE_DYNAMIC_MODULES_FALSE
958 INCLUDED_X_MODULES
959 INCLUDED_FC_MODULES
960 INCLUDED_WIN32_MODULES
961 INCLUDED_ATSUI_MODULES
962 INCLUDED_LANG_MODULES
963 INCLUDE_ARABIC_FC_TRUE
964 INCLUDE_ARABIC_FC_FALSE
965 INCLUDE_ARABIC_LANG_TRUE
966 INCLUDE_ARABIC_LANG_FALSE
967 INCLUDE_BASIC_FC_TRUE
968 INCLUDE_BASIC_FC_FALSE
969 INCLUDE_BASIC_WIN32_TRUE
970 INCLUDE_BASIC_WIN32_FALSE
971 INCLUDE_BASIC_X_TRUE
972 INCLUDE_BASIC_X_FALSE
973 INCLUDE_BASIC_ATSUI_TRUE
974 INCLUDE_BASIC_ATSUI_FALSE
975 INCLUDE_HANGUL_FC_TRUE
976 INCLUDE_HANGUL_FC_FALSE
977 INCLUDE_HEBREW_FC_TRUE
978 INCLUDE_HEBREW_FC_FALSE
979 INCLUDE_INDIC_FC_TRUE
980 INCLUDE_INDIC_FC_FALSE
981 INCLUDE_INDIC_LANG_TRUE
982 INCLUDE_INDIC_LANG_FALSE
983 INCLUDE_KHMER_FC_TRUE
984 INCLUDE_KHMER_FC_FALSE
985 INCLUDE_SYRIAC_FC_TRUE
986 INCLUDE_SYRIAC_FC_FALSE
987 INCLUDE_THAI_FC_TRUE
988 INCLUDE_THAI_FC_FALSE
989 INCLUDE_THAI_LANG_TRUE
990 INCLUDE_THAI_LANG_FALSE
991 INCLUDE_TIBETAN_FC_TRUE
992 INCLUDE_TIBETAN_FC_FALSE
993 DYNAMIC_ARABIC_FC_TRUE
994 DYNAMIC_ARABIC_FC_FALSE
995 DYNAMIC_ARABIC_LANG_TRUE
996 DYNAMIC_ARABIC_LANG_FALSE
997 DYNAMIC_BASIC_FC_TRUE
998 DYNAMIC_BASIC_FC_FALSE
999 DYNAMIC_BASIC_WIN32_TRUE
1000 DYNAMIC_BASIC_WIN32_FALSE
1001 DYNAMIC_BASIC_X_TRUE
1002 DYNAMIC_BASIC_X_FALSE
1003 DYNAMIC_BASIC_ATSUI_TRUE
1004 DYNAMIC_BASIC_ATSUI_FALSE
1005 DYNAMIC_HANGUL_FC_TRUE
1006 DYNAMIC_HANGUL_FC_FALSE
1007 DYNAMIC_HEBREW_FC_TRUE
1008 DYNAMIC_HEBREW_FC_FALSE
1009 DYNAMIC_INDIC_FC_TRUE
1010 DYNAMIC_INDIC_FC_FALSE
1011 DYNAMIC_INDIC_LANG_TRUE
1012 DYNAMIC_INDIC_LANG_FALSE
1013 DYNAMIC_KHMER_FC_TRUE
1014 DYNAMIC_KHMER_FC_FALSE
1015 DYNAMIC_SYRIAC_FC_TRUE
1016 DYNAMIC_SYRIAC_FC_FALSE
1017 DYNAMIC_THAI_FC_TRUE
1018 DYNAMIC_THAI_FC_FALSE
1019 DYNAMIC_THAI_LANG_TRUE
1020 DYNAMIC_THAI_LANG_FALSE
1021 DYNAMIC_TIBETAN_FC_TRUE
1022 DYNAMIC_TIBETAN_FC_FALSE
1023 HTML_DIR
1024 ENABLE_GTK_DOC_TRUE
1025 ENABLE_GTK_DOC_FALSE
1026 GTK_DOC_USE_LIBTOOL_TRUE
1027 GTK_DOC_USE_LIBTOOL_FALSE
1028 XSLTPROC
1029 XML_CATALOG_FILE
1030 XMLCATALOG
1031 ENABLE_MAN_TRUE
1032 ENABLE_MAN_FALSE
1033 GLIB_PREFIX
1034 CAIRO_PREFIX
1035 ENABLE_DOC_CROSS_REFERENCES_TRUE
1036 ENABLE_DOC_CROSS_REFERENCES_FALSE
1037 LIBRARY_LIBTOOL_OPTIONS
1038 MODULE_LIBTOOL_OPTIONS
1039 PKGCONFIG_MATH_LIBS
1040 PKGCONFIG_CAIRO_REQUIRES
1041 DISABLE_EXPLICIT_DEPS_TRUE
1042 DISABLE_EXPLICIT_DEPS_FALSE
1043 LIBOBJS
1044 LTLIBOBJS'
1045 ac_subst_files=''
1046       ac_precious_vars='build_alias
1047 host_alias
1048 target_alias
1049 CC
1050 CFLAGS
1051 LDFLAGS
1052 LIBS
1053 CPPFLAGS
1054 CXX
1055 CXXFLAGS
1056 CCC
1057 CPP
1058 CXXCPP
1059 XMKMF
1060 PKG_CONFIG
1061 FONTCONFIG_CFLAGS
1062 FONTCONFIG_LIBS
1063 FREETYPE_CFLAGS
1064 FREETYPE_LIBS
1065 XFT_CFLAGS
1066 XFT_LIBS
1067 CAIRO_CFLAGS
1068 CAIRO_LIBS
1069 GLIB_CFLAGS
1070 GLIB_LIBS
1071 LIBTHAI_CFLAGS
1072 LIBTHAI_LIBS
1073 INTROSPECTION_CFLAGS
1074 INTROSPECTION_LIBS'
1075
1076
1077 # Initialize some variables set by options.
1078 ac_init_help=
1079 ac_init_version=false
1080 # The variables have the same names as the options, with
1081 # dashes changed to underlines.
1082 cache_file=/dev/null
1083 exec_prefix=NONE
1084 no_create=
1085 no_recursion=
1086 prefix=NONE
1087 program_prefix=NONE
1088 program_suffix=NONE
1089 program_transform_name=s,x,x,
1090 silent=
1091 site=
1092 srcdir=
1093 verbose=
1094 x_includes=NONE
1095 x_libraries=NONE
1096
1097 # Installation directory options.
1098 # These are left unexpanded so users can "make install exec_prefix=/foo"
1099 # and all the variables that are supposed to be based on exec_prefix
1100 # by default will actually change.
1101 # Use braces instead of parens because sh, perl, etc. also accept them.
1102 # (The list follows the same order as the GNU Coding Standards.)
1103 bindir='${exec_prefix}/bin'
1104 sbindir='${exec_prefix}/sbin'
1105 libexecdir='${exec_prefix}/libexec'
1106 datarootdir='${prefix}/share'
1107 datadir='${datarootdir}'
1108 sysconfdir='${prefix}/etc'
1109 sharedstatedir='${prefix}/com'
1110 localstatedir='${prefix}/var'
1111 includedir='${prefix}/include'
1112 oldincludedir='/usr/include'
1113 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1114 infodir='${datarootdir}/info'
1115 htmldir='${docdir}'
1116 dvidir='${docdir}'
1117 pdfdir='${docdir}'
1118 psdir='${docdir}'
1119 libdir='${exec_prefix}/lib'
1120 localedir='${datarootdir}/locale'
1121 mandir='${datarootdir}/man'
1122
1123 ac_prev=
1124 ac_dashdash=
1125 for ac_option
1126 do
1127   # If the previous option needs an argument, assign it.
1128   if test -n "$ac_prev"; then
1129     eval $ac_prev=\$ac_option
1130     ac_prev=
1131     continue
1132   fi
1133
1134   case $ac_option in
1135   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1136   *)    ac_optarg=yes ;;
1137   esac
1138
1139   # Accept the important Cygnus configure options, so we can diagnose typos.
1140
1141   case $ac_dashdash$ac_option in
1142   --)
1143     ac_dashdash=yes ;;
1144
1145   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1146     ac_prev=bindir ;;
1147   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1148     bindir=$ac_optarg ;;
1149
1150   -build | --build | --buil | --bui | --bu)
1151     ac_prev=build_alias ;;
1152   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1153     build_alias=$ac_optarg ;;
1154
1155   -cache-file | --cache-file | --cache-fil | --cache-fi \
1156   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1157     ac_prev=cache_file ;;
1158   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1159   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1160     cache_file=$ac_optarg ;;
1161
1162   --config-cache | -C)
1163     cache_file=config.cache ;;
1164
1165   -datadir | --datadir | --datadi | --datad)
1166     ac_prev=datadir ;;
1167   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1168     datadir=$ac_optarg ;;
1169
1170   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1171   | --dataroo | --dataro | --datar)
1172     ac_prev=datarootdir ;;
1173   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1174   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1175     datarootdir=$ac_optarg ;;
1176
1177   -disable-* | --disable-*)
1178     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1179     # Reject names that are not valid shell variable names.
1180     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1181       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1182    { (exit 1); exit 1; }; }
1183     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1184     eval enable_$ac_feature=no ;;
1185
1186   -docdir | --docdir | --docdi | --doc | --do)
1187     ac_prev=docdir ;;
1188   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1189     docdir=$ac_optarg ;;
1190
1191   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1192     ac_prev=dvidir ;;
1193   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1194     dvidir=$ac_optarg ;;
1195
1196   -enable-* | --enable-*)
1197     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1198     # Reject names that are not valid shell variable names.
1199     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1200       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1201    { (exit 1); exit 1; }; }
1202     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1203     eval enable_$ac_feature=\$ac_optarg ;;
1204
1205   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1206   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1207   | --exec | --exe | --ex)
1208     ac_prev=exec_prefix ;;
1209   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1210   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1211   | --exec=* | --exe=* | --ex=*)
1212     exec_prefix=$ac_optarg ;;
1213
1214   -gas | --gas | --ga | --g)
1215     # Obsolete; use --with-gas.
1216     with_gas=yes ;;
1217
1218   -help | --help | --hel | --he | -h)
1219     ac_init_help=long ;;
1220   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1221     ac_init_help=recursive ;;
1222   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1223     ac_init_help=short ;;
1224
1225   -host | --host | --hos | --ho)
1226     ac_prev=host_alias ;;
1227   -host=* | --host=* | --hos=* | --ho=*)
1228     host_alias=$ac_optarg ;;
1229
1230   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1231     ac_prev=htmldir ;;
1232   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1233   | --ht=*)
1234     htmldir=$ac_optarg ;;
1235
1236   -includedir | --includedir | --includedi | --included | --include \
1237   | --includ | --inclu | --incl | --inc)
1238     ac_prev=includedir ;;
1239   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1240   | --includ=* | --inclu=* | --incl=* | --inc=*)
1241     includedir=$ac_optarg ;;
1242
1243   -infodir | --infodir | --infodi | --infod | --info | --inf)
1244     ac_prev=infodir ;;
1245   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1246     infodir=$ac_optarg ;;
1247
1248   -libdir | --libdir | --libdi | --libd)
1249     ac_prev=libdir ;;
1250   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1251     libdir=$ac_optarg ;;
1252
1253   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1254   | --libexe | --libex | --libe)
1255     ac_prev=libexecdir ;;
1256   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1257   | --libexe=* | --libex=* | --libe=*)
1258     libexecdir=$ac_optarg ;;
1259
1260   -localedir | --localedir | --localedi | --localed | --locale)
1261     ac_prev=localedir ;;
1262   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1263     localedir=$ac_optarg ;;
1264
1265   -localstatedir | --localstatedir | --localstatedi | --localstated \
1266   | --localstate | --localstat | --localsta | --localst | --locals)
1267     ac_prev=localstatedir ;;
1268   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1269   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1270     localstatedir=$ac_optarg ;;
1271
1272   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1273     ac_prev=mandir ;;
1274   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1275     mandir=$ac_optarg ;;
1276
1277   -nfp | --nfp | --nf)
1278     # Obsolete; use --without-fp.
1279     with_fp=no ;;
1280
1281   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1282   | --no-cr | --no-c | -n)
1283     no_create=yes ;;
1284
1285   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1286   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1287     no_recursion=yes ;;
1288
1289   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1290   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1291   | --oldin | --oldi | --old | --ol | --o)
1292     ac_prev=oldincludedir ;;
1293   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1294   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1295   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1296     oldincludedir=$ac_optarg ;;
1297
1298   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1299     ac_prev=prefix ;;
1300   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1301     prefix=$ac_optarg ;;
1302
1303   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1304   | --program-pre | --program-pr | --program-p)
1305     ac_prev=program_prefix ;;
1306   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1307   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1308     program_prefix=$ac_optarg ;;
1309
1310   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1311   | --program-suf | --program-su | --program-s)
1312     ac_prev=program_suffix ;;
1313   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1314   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1315     program_suffix=$ac_optarg ;;
1316
1317   -program-transform-name | --program-transform-name \
1318   | --program-transform-nam | --program-transform-na \
1319   | --program-transform-n | --program-transform- \
1320   | --program-transform | --program-transfor \
1321   | --program-transfo | --program-transf \
1322   | --program-trans | --program-tran \
1323   | --progr-tra | --program-tr | --program-t)
1324     ac_prev=program_transform_name ;;
1325   -program-transform-name=* | --program-transform-name=* \
1326   | --program-transform-nam=* | --program-transform-na=* \
1327   | --program-transform-n=* | --program-transform-=* \
1328   | --program-transform=* | --program-transfor=* \
1329   | --program-transfo=* | --program-transf=* \
1330   | --program-trans=* | --program-tran=* \
1331   | --progr-tra=* | --program-tr=* | --program-t=*)
1332     program_transform_name=$ac_optarg ;;
1333
1334   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1335     ac_prev=pdfdir ;;
1336   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1337     pdfdir=$ac_optarg ;;
1338
1339   -psdir | --psdir | --psdi | --psd | --ps)
1340     ac_prev=psdir ;;
1341   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1342     psdir=$ac_optarg ;;
1343
1344   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1345   | -silent | --silent | --silen | --sile | --sil)
1346     silent=yes ;;
1347
1348   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1349     ac_prev=sbindir ;;
1350   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1351   | --sbi=* | --sb=*)
1352     sbindir=$ac_optarg ;;
1353
1354   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1355   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1356   | --sharedst | --shareds | --shared | --share | --shar \
1357   | --sha | --sh)
1358     ac_prev=sharedstatedir ;;
1359   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1360   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1361   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1362   | --sha=* | --sh=*)
1363     sharedstatedir=$ac_optarg ;;
1364
1365   -site | --site | --sit)
1366     ac_prev=site ;;
1367   -site=* | --site=* | --sit=*)
1368     site=$ac_optarg ;;
1369
1370   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1371     ac_prev=srcdir ;;
1372   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1373     srcdir=$ac_optarg ;;
1374
1375   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1376   | --syscon | --sysco | --sysc | --sys | --sy)
1377     ac_prev=sysconfdir ;;
1378   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1379   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1380     sysconfdir=$ac_optarg ;;
1381
1382   -target | --target | --targe | --targ | --tar | --ta | --t)
1383     ac_prev=target_alias ;;
1384   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1385     target_alias=$ac_optarg ;;
1386
1387   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1388     verbose=yes ;;
1389
1390   -version | --version | --versio | --versi | --vers | -V)
1391     ac_init_version=: ;;
1392
1393   -with-* | --with-*)
1394     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1395     # Reject names that are not valid shell variable names.
1396     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1397       { echo "$as_me: error: invalid package name: $ac_package" >&2
1398    { (exit 1); exit 1; }; }
1399     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1400     eval with_$ac_package=\$ac_optarg ;;
1401
1402   -without-* | --without-*)
1403     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1404     # Reject names that are not valid shell variable names.
1405     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1406       { echo "$as_me: error: invalid package name: $ac_package" >&2
1407    { (exit 1); exit 1; }; }
1408     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1409     eval with_$ac_package=no ;;
1410
1411   --x)
1412     # Obsolete; use --with-x.
1413     with_x=yes ;;
1414
1415   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1416   | --x-incl | --x-inc | --x-in | --x-i)
1417     ac_prev=x_includes ;;
1418   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1419   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1420     x_includes=$ac_optarg ;;
1421
1422   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1423   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1424     ac_prev=x_libraries ;;
1425   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1426   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1427     x_libraries=$ac_optarg ;;
1428
1429   -*) { echo "$as_me: error: unrecognized option: $ac_option
1430 Try \`$0 --help' for more information." >&2
1431    { (exit 1); exit 1; }; }
1432     ;;
1433
1434   *=*)
1435     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1436     # Reject names that are not valid shell variable names.
1437     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1438       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1439    { (exit 1); exit 1; }; }
1440     eval $ac_envvar=\$ac_optarg
1441     export $ac_envvar ;;
1442
1443   *)
1444     # FIXME: should be removed in autoconf 3.0.
1445     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1446     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1447       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1448     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1449     ;;
1450
1451   esac
1452 done
1453
1454 if test -n "$ac_prev"; then
1455   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1456   { echo "$as_me: error: missing argument to $ac_option" >&2
1457    { (exit 1); exit 1; }; }
1458 fi
1459
1460 # Be sure to have absolute directory names.
1461 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1462                 datadir sysconfdir sharedstatedir localstatedir includedir \
1463                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1464                 libdir localedir mandir
1465 do
1466   eval ac_val=\$$ac_var
1467   case $ac_val in
1468     [\\/$]* | ?:[\\/]* )  continue;;
1469     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1470   esac
1471   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1472    { (exit 1); exit 1; }; }
1473 done
1474
1475 # There might be people who depend on the old broken behavior: `$host'
1476 # used to hold the argument of --host etc.
1477 # FIXME: To remove some day.
1478 build=$build_alias
1479 host=$host_alias
1480 target=$target_alias
1481
1482 # FIXME: To remove some day.
1483 if test "x$host_alias" != x; then
1484   if test "x$build_alias" = x; then
1485     cross_compiling=maybe
1486     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1487     If a cross compiler is detected then cross compile mode will be used." >&2
1488   elif test "x$build_alias" != "x$host_alias"; then
1489     cross_compiling=yes
1490   fi
1491 fi
1492
1493 ac_tool_prefix=
1494 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1495
1496 test "$silent" = yes && exec 6>/dev/null
1497
1498
1499 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1500 ac_ls_di=`ls -di .` &&
1501 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1502   { echo "$as_me: error: Working directory cannot be determined" >&2
1503    { (exit 1); exit 1; }; }
1504 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1505   { echo "$as_me: error: pwd does not report name of working directory" >&2
1506    { (exit 1); exit 1; }; }
1507
1508
1509 # Find the source files, if location was not specified.
1510 if test -z "$srcdir"; then
1511   ac_srcdir_defaulted=yes
1512   # Try the directory containing this script, then the parent directory.
1513   ac_confdir=`$as_dirname -- "$0" ||
1514 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1515          X"$0" : 'X\(//\)[^/]' \| \
1516          X"$0" : 'X\(//\)$' \| \
1517          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1518 echo X"$0" |
1519     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1520             s//\1/
1521             q
1522           }
1523           /^X\(\/\/\)[^/].*/{
1524             s//\1/
1525             q
1526           }
1527           /^X\(\/\/\)$/{
1528             s//\1/
1529             q
1530           }
1531           /^X\(\/\).*/{
1532             s//\1/
1533             q
1534           }
1535           s/.*/./; q'`
1536   srcdir=$ac_confdir
1537   if test ! -r "$srcdir/$ac_unique_file"; then
1538     srcdir=..
1539   fi
1540 else
1541   ac_srcdir_defaulted=no
1542 fi
1543 if test ! -r "$srcdir/$ac_unique_file"; then
1544   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1545   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1546    { (exit 1); exit 1; }; }
1547 fi
1548 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1549 ac_abs_confdir=`(
1550         cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1551    { (exit 1); exit 1; }; }
1552         pwd)`
1553 # When building in place, set srcdir=.
1554 if test "$ac_abs_confdir" = "$ac_pwd"; then
1555   srcdir=.
1556 fi
1557 # Remove unnecessary trailing slashes from srcdir.
1558 # Double slashes in file names in object file debugging info
1559 # mess up M-x gdb in Emacs.
1560 case $srcdir in
1561 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1562 esac
1563 for ac_var in $ac_precious_vars; do
1564   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1565   eval ac_env_${ac_var}_value=\$${ac_var}
1566   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1567   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1568 done
1569
1570 #
1571 # Report the --help message.
1572 #
1573 if test "$ac_init_help" = "long"; then
1574   # Omit some internal or obsolete options to make the list less imposing.
1575   # This message is too long to be a string in the A/UX 3.1 sh.
1576   cat <<_ACEOF
1577 \`configure' configures pango 1.26.1 to adapt to many kinds of systems.
1578
1579 Usage: $0 [OPTION]... [VAR=VALUE]...
1580
1581 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1582 VAR=VALUE.  See below for descriptions of some of the useful variables.
1583
1584 Defaults for the options are specified in brackets.
1585
1586 Configuration:
1587   -h, --help              display this help and exit
1588       --help=short        display options specific to this package
1589       --help=recursive    display the short help of all the included packages
1590   -V, --version           display version information and exit
1591   -q, --quiet, --silent   do not print \`checking...' messages
1592       --cache-file=FILE   cache test results in FILE [disabled]
1593   -C, --config-cache      alias for \`--cache-file=config.cache'
1594   -n, --no-create         do not create output files
1595       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1596
1597 Installation directories:
1598   --prefix=PREFIX         install architecture-independent files in PREFIX
1599                           [$ac_default_prefix]
1600   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1601                           [PREFIX]
1602
1603 By default, \`make install' will install all the files in
1604 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1605 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1606 for instance \`--prefix=\$HOME'.
1607
1608 For better control, use the options below.
1609
1610 Fine tuning of the installation directories:
1611   --bindir=DIR           user executables [EPREFIX/bin]
1612   --sbindir=DIR          system admin executables [EPREFIX/sbin]
1613   --libexecdir=DIR       program executables [EPREFIX/libexec]
1614   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1615   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1616   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1617   --libdir=DIR           object code libraries [EPREFIX/lib]
1618   --includedir=DIR       C header files [PREFIX/include]
1619   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1620   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1621   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1622   --infodir=DIR          info documentation [DATAROOTDIR/info]
1623   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1624   --mandir=DIR           man documentation [DATAROOTDIR/man]
1625   --docdir=DIR           documentation root [DATAROOTDIR/doc/pango]
1626   --htmldir=DIR          html documentation [DOCDIR]
1627   --dvidir=DIR           dvi documentation [DOCDIR]
1628   --pdfdir=DIR           pdf documentation [DOCDIR]
1629   --psdir=DIR            ps documentation [DOCDIR]
1630 _ACEOF
1631
1632   cat <<\_ACEOF
1633
1634 Program names:
1635   --program-prefix=PREFIX            prepend PREFIX to installed program names
1636   --program-suffix=SUFFIX            append SUFFIX to installed program names
1637   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1638
1639 X features:
1640   --x-includes=DIR    X include files are in DIR
1641   --x-libraries=DIR   X library files are in DIR
1642
1643 System types:
1644   --build=BUILD     configure for building on BUILD [guessed]
1645   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1646 _ACEOF
1647 fi
1648
1649 if test -n "$ac_init_help"; then
1650   case $ac_init_help in
1651      short | recursive ) echo "Configuration of pango 1.26.1:";;
1652    esac
1653   cat <<\_ACEOF
1654
1655 Optional Features:
1656   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1657   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1658   --disable-dependency-tracking  speeds up one-time build
1659   --enable-dependency-tracking   do not reject slow dependency extractors
1660   --enable-static[=PKGS]  build static libraries [default=no]
1661   --enable-shared[=PKGS]  build shared libraries [default=yes]
1662   --enable-fast-install[=PKGS]
1663                           optimize for fast installation [default=yes]
1664   --disable-libtool-lock  avoid locking (might break parallel builds)
1665   --enable-debug=[no/minimum/yes]
1666                           turn on debugging [default=minimum]
1667   --disable-rebuilds      disable all source autogeneration rules
1668   --enable-gtk-doc        use gtk-doc to build documentation default=no
1669   --enable-man            regenerate man pages from Docbook [default=no]
1670   --disable-doc-cross-references
1671                           cross reference glib and cairo symbols [default=yes]
1672   --enable-explicit-deps=[no/auto/yes]
1673                           use explicit dependencies in .pc files
1674                           [default=auto]
1675
1676 Optional Packages:
1677   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1678   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1679   --with-pic              try to use only PIC/non-PIC objects [default=use
1680                           both]
1681   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1682   --with-x                use the X Window System
1683   --with-included-modules=no/yes/MODULE1 MODULE2 ...
1684                           build the given modules included [default=no]
1685   --with-dynamic-modules=no/yes/MODULE1 MODULE2 ...
1686                           build the given dynamic modules [default=yes]
1687   --with-html-dir=PATH    path to installed docs
1688   --with-xml-catalog=CATALOG
1689                           path to xml catalog to use
1690
1691 Some influential environment variables:
1692   CC          C compiler command
1693   CFLAGS      C compiler flags
1694   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1695               nonstandard directory <lib dir>
1696   LIBS        libraries to pass to the linker, e.g. -l<library>
1697   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1698               you have headers in a nonstandard directory <include dir>
1699   CXX         C++ compiler command
1700   CXXFLAGS    C++ compiler flags
1701   CPP         C preprocessor
1702   CXXCPP      C++ preprocessor
1703   XMKMF       Path to xmkmf, Makefile generator for X Window System
1704   PKG_CONFIG  path to pkg-config utility
1705   FONTCONFIG_CFLAGS
1706               C compiler flags for FONTCONFIG, overriding pkg-config
1707   FONTCONFIG_LIBS
1708               linker flags for FONTCONFIG, overriding pkg-config
1709   FREETYPE_CFLAGS
1710               C compiler flags for FREETYPE, overriding pkg-config
1711   FREETYPE_LIBS
1712               linker flags for FREETYPE, overriding pkg-config
1713   XFT_CFLAGS  C compiler flags for XFT, overriding pkg-config
1714   XFT_LIBS    linker flags for XFT, overriding pkg-config
1715   CAIRO_CFLAGS
1716               C compiler flags for CAIRO, overriding pkg-config
1717   CAIRO_LIBS  linker flags for CAIRO, overriding pkg-config
1718   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1719   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1720   LIBTHAI_CFLAGS
1721               C compiler flags for LIBTHAI, overriding pkg-config
1722   LIBTHAI_LIBS
1723               linker flags for LIBTHAI, overriding pkg-config
1724   INTROSPECTION_CFLAGS
1725               C compiler flags for INTROSPECTION, overriding pkg-config
1726   INTROSPECTION_LIBS
1727               linker flags for INTROSPECTION, overriding pkg-config
1728
1729 Use these variables to override the choices made by `configure' or to help
1730 it to find libraries and programs with nonstandard names/locations.
1731
1732 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=pango>.
1733 _ACEOF
1734 ac_status=$?
1735 fi
1736
1737 if test "$ac_init_help" = "recursive"; then
1738   # If there are subdirs, report their specific --help.
1739   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1740     test -d "$ac_dir" || continue
1741     ac_builddir=.
1742
1743 case "$ac_dir" in
1744 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1745 *)
1746   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1747   # A ".." for each directory in $ac_dir_suffix.
1748   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1749   case $ac_top_builddir_sub in
1750   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1751   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1752   esac ;;
1753 esac
1754 ac_abs_top_builddir=$ac_pwd
1755 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1756 # for backward compatibility:
1757 ac_top_builddir=$ac_top_build_prefix
1758
1759 case $srcdir in
1760   .)  # We are building in place.
1761     ac_srcdir=.
1762     ac_top_srcdir=$ac_top_builddir_sub
1763     ac_abs_top_srcdir=$ac_pwd ;;
1764   [\\/]* | ?:[\\/]* )  # Absolute name.
1765     ac_srcdir=$srcdir$ac_dir_suffix;
1766     ac_top_srcdir=$srcdir
1767     ac_abs_top_srcdir=$srcdir ;;
1768   *) # Relative name.
1769     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1770     ac_top_srcdir=$ac_top_build_prefix$srcdir
1771     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1772 esac
1773 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1774
1775     cd "$ac_dir" || { ac_status=$?; continue; }
1776     # Check for guested configure.
1777     if test -f "$ac_srcdir/configure.gnu"; then
1778       echo &&
1779       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1780     elif test -f "$ac_srcdir/configure"; then
1781       echo &&
1782       $SHELL "$ac_srcdir/configure" --help=recursive
1783     else
1784       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1785     fi || ac_status=$?
1786     cd "$ac_pwd" || { ac_status=$?; break; }
1787   done
1788 fi
1789
1790 test -n "$ac_init_help" && exit $ac_status
1791 if $ac_init_version; then
1792   cat <<\_ACEOF
1793 pango configure 1.26.1
1794 generated by GNU Autoconf 2.61
1795
1796 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1797 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1798 This configure script is free software; the Free Software Foundation
1799 gives unlimited permission to copy, distribute and modify it.
1800 _ACEOF
1801   exit
1802 fi
1803 cat >config.log <<_ACEOF
1804 This file contains any messages produced by compilers while
1805 running configure, to aid debugging if configure makes a mistake.
1806
1807 It was created by pango $as_me 1.26.1, which was
1808 generated by GNU Autoconf 2.61.  Invocation command line was
1809
1810   $ $0 $@
1811
1812 _ACEOF
1813 exec 5>>config.log
1814 {
1815 cat <<_ASUNAME
1816 ## --------- ##
1817 ## Platform. ##
1818 ## --------- ##
1819
1820 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1821 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1822 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1823 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1824 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1825
1826 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1827 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1828
1829 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1830 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1831 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1832 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1833 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1834 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1835 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1836
1837 _ASUNAME
1838
1839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1840 for as_dir in $PATH
1841 do
1842   IFS=$as_save_IFS
1843   test -z "$as_dir" && as_dir=.
1844   echo "PATH: $as_dir"
1845 done
1846 IFS=$as_save_IFS
1847
1848 } >&5
1849
1850 cat >&5 <<_ACEOF
1851
1852
1853 ## ----------- ##
1854 ## Core tests. ##
1855 ## ----------- ##
1856
1857 _ACEOF
1858
1859
1860 # Keep a trace of the command line.
1861 # Strip out --no-create and --no-recursion so they do not pile up.
1862 # Strip out --silent because we don't want to record it for future runs.
1863 # Also quote any args containing shell meta-characters.
1864 # Make two passes to allow for proper duplicate-argument suppression.
1865 ac_configure_args=
1866 ac_configure_args0=
1867 ac_configure_args1=
1868 ac_must_keep_next=false
1869 for ac_pass in 1 2
1870 do
1871   for ac_arg
1872   do
1873     case $ac_arg in
1874     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1875     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1876     | -silent | --silent | --silen | --sile | --sil)
1877       continue ;;
1878     *\'*)
1879       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1880     esac
1881     case $ac_pass in
1882     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1883     2)
1884       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1885       if test $ac_must_keep_next = true; then
1886         ac_must_keep_next=false # Got value, back to normal.
1887       else
1888         case $ac_arg in
1889           *=* | --config-cache | -C | -disable-* | --disable-* \
1890           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1891           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1892           | -with-* | --with-* | -without-* | --without-* | --x)
1893             case "$ac_configure_args0 " in
1894               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1895             esac
1896             ;;
1897           -* ) ac_must_keep_next=true ;;
1898         esac
1899       fi
1900       ac_configure_args="$ac_configure_args '$ac_arg'"
1901       ;;
1902     esac
1903   done
1904 done
1905 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1906 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1907
1908 # When interrupted or exit'd, cleanup temporary files, and complete
1909 # config.log.  We remove comments because anyway the quotes in there
1910 # would cause problems or look ugly.
1911 # WARNING: Use '\'' to represent an apostrophe within the trap.
1912 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1913 trap 'exit_status=$?
1914   # Save into config.log some information that might help in debugging.
1915   {
1916     echo
1917
1918     cat <<\_ASBOX
1919 ## ---------------- ##
1920 ## Cache variables. ##
1921 ## ---------------- ##
1922 _ASBOX
1923     echo
1924     # The following way of writing the cache mishandles newlines in values,
1925 (
1926   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1927     eval ac_val=\$$ac_var
1928     case $ac_val in #(
1929     *${as_nl}*)
1930       case $ac_var in #(
1931       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1932 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1933       esac
1934       case $ac_var in #(
1935       _ | IFS | as_nl) ;; #(
1936       *) $as_unset $ac_var ;;
1937       esac ;;
1938     esac
1939   done
1940   (set) 2>&1 |
1941     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1942     *${as_nl}ac_space=\ *)
1943       sed -n \
1944         "s/'\''/'\''\\\\'\'''\''/g;
1945           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1946       ;; #(
1947     *)
1948       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1949       ;;
1950     esac |
1951     sort
1952 )
1953     echo
1954
1955     cat <<\_ASBOX
1956 ## ----------------- ##
1957 ## Output variables. ##
1958 ## ----------------- ##
1959 _ASBOX
1960     echo
1961     for ac_var in $ac_subst_vars
1962     do
1963       eval ac_val=\$$ac_var
1964       case $ac_val in
1965       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1966       esac
1967       echo "$ac_var='\''$ac_val'\''"
1968     done | sort
1969     echo
1970
1971     if test -n "$ac_subst_files"; then
1972       cat <<\_ASBOX
1973 ## ------------------- ##
1974 ## File substitutions. ##
1975 ## ------------------- ##
1976 _ASBOX
1977       echo
1978       for ac_var in $ac_subst_files
1979       do
1980         eval ac_val=\$$ac_var
1981         case $ac_val in
1982         *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1983         esac
1984         echo "$ac_var='\''$ac_val'\''"
1985       done | sort
1986       echo
1987     fi
1988
1989     if test -s confdefs.h; then
1990       cat <<\_ASBOX
1991 ## ----------- ##
1992 ## confdefs.h. ##
1993 ## ----------- ##
1994 _ASBOX
1995       echo
1996       cat confdefs.h
1997       echo
1998     fi
1999     test "$ac_signal" != 0 &&
2000       echo "$as_me: caught signal $ac_signal"
2001     echo "$as_me: exit $exit_status"
2002   } >&5
2003   rm -f core *.core core.conftest.* &&
2004     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2005     exit $exit_status
2006 ' 0
2007 for ac_signal in 1 2 13 15; do
2008   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2009 done
2010 ac_signal=0
2011
2012 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2013 rm -f -r conftest* confdefs.h
2014
2015 # Predefined preprocessor variables.
2016
2017 cat >>confdefs.h <<_ACEOF
2018 #define PACKAGE_NAME "$PACKAGE_NAME"
2019 _ACEOF
2020
2021
2022 cat >>confdefs.h <<_ACEOF
2023 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2024 _ACEOF
2025
2026
2027 cat >>confdefs.h <<_ACEOF
2028 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2029 _ACEOF
2030
2031
2032 cat >>confdefs.h <<_ACEOF
2033 #define PACKAGE_STRING "$PACKAGE_STRING"
2034 _ACEOF
2035
2036
2037 cat >>confdefs.h <<_ACEOF
2038 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2039 _ACEOF
2040
2041
2042 # Let the site file select an alternate cache file if it wants to.
2043 # Prefer explicitly selected file to automatically selected ones.
2044 if test -n "$CONFIG_SITE"; then
2045   set x "$CONFIG_SITE"
2046 elif test "x$prefix" != xNONE; then
2047   set x "$prefix/share/config.site" "$prefix/etc/config.site"
2048 else
2049   set x "$ac_default_prefix/share/config.site" \
2050         "$ac_default_prefix/etc/config.site"
2051 fi
2052 shift
2053 for ac_site_file
2054 do
2055   if test -r "$ac_site_file"; then
2056     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2057 echo "$as_me: loading site script $ac_site_file" >&6;}
2058     sed 's/^/| /' "$ac_site_file" >&5
2059     . "$ac_site_file"
2060   fi
2061 done
2062
2063 if test -r "$cache_file"; then
2064   # Some versions of bash will fail to source /dev/null (special
2065   # files actually), so we avoid doing that.
2066   if test -f "$cache_file"; then
2067     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2068 echo "$as_me: loading cache $cache_file" >&6;}
2069     case $cache_file in
2070       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2071       *)                      . "./$cache_file";;
2072     esac
2073   fi
2074 else
2075   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2076 echo "$as_me: creating cache $cache_file" >&6;}
2077   >$cache_file
2078 fi
2079
2080 # Check that the precious variables saved in the cache have kept the same
2081 # value.
2082 ac_cache_corrupted=false
2083 for ac_var in $ac_precious_vars; do
2084   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2085   eval ac_new_set=\$ac_env_${ac_var}_set
2086   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2087   eval ac_new_val=\$ac_env_${ac_var}_value
2088   case $ac_old_set,$ac_new_set in
2089     set,)
2090       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2091 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2092       ac_cache_corrupted=: ;;
2093     ,set)
2094       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2095 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2096       ac_cache_corrupted=: ;;
2097     ,);;
2098     *)
2099       if test "x$ac_old_val" != "x$ac_new_val"; then
2100         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2101 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2102         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
2103 echo "$as_me:   former value:  $ac_old_val" >&2;}
2104         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
2105 echo "$as_me:   current value: $ac_new_val" >&2;}
2106         ac_cache_corrupted=:
2107       fi;;
2108   esac
2109   # Pass precious variables to config.status.
2110   if test "$ac_new_set" = set; then
2111     case $ac_new_val in
2112     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2113     *) ac_arg=$ac_var=$ac_new_val ;;
2114     esac
2115     case " $ac_configure_args " in
2116       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2117       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2118     esac
2119   fi
2120 done
2121 if $ac_cache_corrupted; then
2122   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2123 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2124   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2125 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2126    { (exit 1); exit 1; }; }
2127 fi
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153 ac_ext=c
2154 ac_cpp='$CPP $CPPFLAGS'
2155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2158
2159
2160
2161
2162
2163 am__api_version="1.9"
2164 ac_aux_dir=
2165 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2166   if test -f "$ac_dir/install-sh"; then
2167     ac_aux_dir=$ac_dir
2168     ac_install_sh="$ac_aux_dir/install-sh -c"
2169     break
2170   elif test -f "$ac_dir/install.sh"; then
2171     ac_aux_dir=$ac_dir
2172     ac_install_sh="$ac_aux_dir/install.sh -c"
2173     break
2174   elif test -f "$ac_dir/shtool"; then
2175     ac_aux_dir=$ac_dir
2176     ac_install_sh="$ac_aux_dir/shtool install -c"
2177     break
2178   fi
2179 done
2180 if test -z "$ac_aux_dir"; then
2181   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2182 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2183    { (exit 1); exit 1; }; }
2184 fi
2185
2186 # These three variables are undocumented and unsupported,
2187 # and are intended to be withdrawn in a future Autoconf release.
2188 # They can cause serious problems if a builder's source tree is in a directory
2189 # whose full name contains unusual characters.
2190 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2191 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2192 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2193
2194
2195 # Find a good install program.  We prefer a C program (faster),
2196 # so one script is as good as another.  But avoid the broken or
2197 # incompatible versions:
2198 # SysV /etc/install, /usr/sbin/install
2199 # SunOS /usr/etc/install
2200 # IRIX /sbin/install
2201 # AIX /bin/install
2202 # AmigaOS /C/install, which installs bootblocks on floppy discs
2203 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2204 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2205 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2206 # OS/2's system install, which has a completely different semantic
2207 # ./install, which can be erroneously created by make from ./install.sh.
2208 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2209 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2210 if test -z "$INSTALL"; then
2211 if test "${ac_cv_path_install+set}" = set; then
2212   echo $ECHO_N "(cached) $ECHO_C" >&6
2213 else
2214   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2215 for as_dir in $PATH
2216 do
2217   IFS=$as_save_IFS
2218   test -z "$as_dir" && as_dir=.
2219   # Account for people who put trailing slashes in PATH elements.
2220 case $as_dir/ in
2221   ./ | .// | /cC/* | \
2222   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2223   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2224   /usr/ucb/* ) ;;
2225   *)
2226     # OSF1 and SCO ODT 3.0 have their own names for install.
2227     # Don't use installbsd from OSF since it installs stuff as root
2228     # by default.
2229     for ac_prog in ginstall scoinst install; do
2230       for ac_exec_ext in '' $ac_executable_extensions; do
2231         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2232           if test $ac_prog = install &&
2233             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2234             # AIX install.  It has an incompatible calling convention.
2235             :
2236           elif test $ac_prog = install &&
2237             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2238             # program-specific install script used by HP pwplus--don't use.
2239             :
2240           else
2241             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2242             break 3
2243           fi
2244         fi
2245       done
2246     done
2247     ;;
2248 esac
2249 done
2250 IFS=$as_save_IFS
2251
2252
2253 fi
2254   if test "${ac_cv_path_install+set}" = set; then
2255     INSTALL=$ac_cv_path_install
2256   else
2257     # As a last resort, use the slow shell script.  Don't cache a
2258     # value for INSTALL within a source directory, because that will
2259     # break other packages using the cache if that directory is
2260     # removed, or if the value is a relative name.
2261     INSTALL=$ac_install_sh
2262   fi
2263 fi
2264 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2265 echo "${ECHO_T}$INSTALL" >&6; }
2266
2267 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2268 # It thinks the first close brace ends the variable substitution.
2269 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2270
2271 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2272
2273 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2274
2275 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2276 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2277 # Just in case
2278 sleep 1
2279 echo timestamp > conftest.file
2280 # Do `set' in a subshell so we don't clobber the current shell's
2281 # arguments.  Must try -L first in case configure is actually a
2282 # symlink; some systems play weird games with the mod time of symlinks
2283 # (eg FreeBSD returns the mod time of the symlink's containing
2284 # directory).
2285 if (
2286    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2287    if test "$*" = "X"; then
2288       # -L didn't work.
2289       set X `ls -t $srcdir/configure conftest.file`
2290    fi
2291    rm -f conftest.file
2292    if test "$*" != "X $srcdir/configure conftest.file" \
2293       && test "$*" != "X conftest.file $srcdir/configure"; then
2294
2295       # If neither matched, then we have a broken ls.  This can happen
2296       # if, for instance, CONFIG_SHELL is bash and it inherits a
2297       # broken ls alias from the environment.  This has actually
2298       # happened.  Such a system could not be considered "sane".
2299       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2300 alias in your environment" >&5
2301 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2302 alias in your environment" >&2;}
2303    { (exit 1); exit 1; }; }
2304    fi
2305
2306    test "$2" = conftest.file
2307    )
2308 then
2309    # Ok.
2310    :
2311 else
2312    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2313 Check your system clock" >&5
2314 echo "$as_me: error: newly created file is older than distributed files!
2315 Check your system clock" >&2;}
2316    { (exit 1); exit 1; }; }
2317 fi
2318 { echo "$as_me:$LINENO: result: yes" >&5
2319 echo "${ECHO_T}yes" >&6; }
2320 test "$program_prefix" != NONE &&
2321   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2322 # Use a double $ so make ignores it.
2323 test "$program_suffix" != NONE &&
2324   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2325 # Double any \ or $.  echo might interpret backslashes.
2326 # By default was `s,x,x', remove it if useless.
2327 cat <<\_ACEOF >conftest.sed
2328 s/[\\$]/&&/g;s/;s,x,x,$//
2329 _ACEOF
2330 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2331 rm -f conftest.sed
2332
2333 # expand $ac_aux_dir to an absolute path
2334 am_aux_dir=`cd $ac_aux_dir && pwd`
2335
2336 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2337 # Use eval to expand $SHELL
2338 if eval "$MISSING --run true"; then
2339   am_missing_run="$MISSING --run "
2340 else
2341   am_missing_run=
2342   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2343 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2344 fi
2345
2346 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2347   # We used to keeping the `.' as first argument, in order to
2348   # allow $(mkdir_p) to be used without argument.  As in
2349   #   $(mkdir_p) $(somedir)
2350   # where $(somedir) is conditionally defined.  However this is wrong
2351   # for two reasons:
2352   #  1. if the package is installed by a user who cannot write `.'
2353   #     make install will fail,
2354   #  2. the above comment should most certainly read
2355   #     $(mkdir_p) $(DESTDIR)$(somedir)
2356   #     so it does not work when $(somedir) is undefined and
2357   #     $(DESTDIR) is not.
2358   #  To support the latter case, we have to write
2359   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2360   #  so the `.' trick is pointless.
2361   mkdir_p='mkdir -p --'
2362 else
2363   # On NextStep and OpenStep, the `mkdir' command does not
2364   # recognize any option.  It will interpret all options as
2365   # directories to create, and then abort because `.' already
2366   # exists.
2367   for d in ./-p ./--version;
2368   do
2369     test -d $d && rmdir $d
2370   done
2371   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2372   if test -f "$ac_aux_dir/mkinstalldirs"; then
2373     mkdir_p='$(mkinstalldirs)'
2374   else
2375     mkdir_p='$(install_sh) -d'
2376   fi
2377 fi
2378
2379 for ac_prog in gawk mawk nawk awk
2380 do
2381   # Extract the first word of "$ac_prog", so it can be a program name with args.
2382 set dummy $ac_prog; ac_word=$2
2383 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2385 if test "${ac_cv_prog_AWK+set}" = set; then
2386   echo $ECHO_N "(cached) $ECHO_C" >&6
2387 else
2388   if test -n "$AWK"; then
2389   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2390 else
2391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2392 for as_dir in $PATH
2393 do
2394   IFS=$as_save_IFS
2395   test -z "$as_dir" && as_dir=.
2396   for ac_exec_ext in '' $ac_executable_extensions; do
2397   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2398     ac_cv_prog_AWK="$ac_prog"
2399     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2400     break 2
2401   fi
2402 done
2403 done
2404 IFS=$as_save_IFS
2405
2406 fi
2407 fi
2408 AWK=$ac_cv_prog_AWK
2409 if test -n "$AWK"; then
2410   { echo "$as_me:$LINENO: result: $AWK" >&5
2411 echo "${ECHO_T}$AWK" >&6; }
2412 else
2413   { echo "$as_me:$LINENO: result: no" >&5
2414 echo "${ECHO_T}no" >&6; }
2415 fi
2416
2417
2418   test -n "$AWK" && break
2419 done
2420
2421 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2422 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2423 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2424 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2425   echo $ECHO_N "(cached) $ECHO_C" >&6
2426 else
2427   cat >conftest.make <<\_ACEOF
2428 SHELL = /bin/sh
2429 all:
2430         @echo '@@@%%%=$(MAKE)=@@@%%%'
2431 _ACEOF
2432 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2433 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2434   *@@@%%%=?*=@@@%%%*)
2435     eval ac_cv_prog_make_${ac_make}_set=yes;;
2436   *)
2437     eval ac_cv_prog_make_${ac_make}_set=no;;
2438 esac
2439 rm -f conftest.make
2440 fi
2441 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2442   { echo "$as_me:$LINENO: result: yes" >&5
2443 echo "${ECHO_T}yes" >&6; }
2444   SET_MAKE=
2445 else
2446   { echo "$as_me:$LINENO: result: no" >&5
2447 echo "${ECHO_T}no" >&6; }
2448   SET_MAKE="MAKE=${MAKE-make}"
2449 fi
2450
2451 rm -rf .tst 2>/dev/null
2452 mkdir .tst 2>/dev/null
2453 if test -d .tst; then
2454   am__leading_dot=.
2455 else
2456   am__leading_dot=_
2457 fi
2458 rmdir .tst 2>/dev/null
2459
2460 # test to see if srcdir already configured
2461 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2462    test -f $srcdir/config.status; then
2463   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2464 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2465    { (exit 1); exit 1; }; }
2466 fi
2467
2468 # test whether we have cygpath
2469 if test -z "$CYGPATH_W"; then
2470   if (cygpath --version) >/dev/null 2>/dev/null; then
2471     CYGPATH_W='cygpath -w'
2472   else
2473     CYGPATH_W=echo
2474   fi
2475 fi
2476
2477
2478 # Define the identity of the package.
2479  PACKAGE='pango'
2480  VERSION='1.26.1'
2481
2482
2483 cat >>confdefs.h <<_ACEOF
2484 #define PACKAGE "$PACKAGE"
2485 _ACEOF
2486
2487
2488 cat >>confdefs.h <<_ACEOF
2489 #define VERSION "$VERSION"
2490 _ACEOF
2491
2492 # Some tools Automake needs.
2493
2494 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2495
2496
2497 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2498
2499
2500 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2501
2502
2503 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2504
2505
2506 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2507
2508 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2509
2510 # Installed binaries are usually stripped using `strip' when the user
2511 # run `make install-strip'.  However `strip' might not be the right
2512 # tool to use in cross-compilation environments, therefore Automake
2513 # will honor the `STRIP' environment variable to overrule this program.
2514 if test "$cross_compiling" != no; then
2515   if test -n "$ac_tool_prefix"; then
2516   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2517 set dummy ${ac_tool_prefix}strip; ac_word=$2
2518 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2520 if test "${ac_cv_prog_STRIP+set}" = set; then
2521   echo $ECHO_N "(cached) $ECHO_C" >&6
2522 else
2523   if test -n "$STRIP"; then
2524   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2525 else
2526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2527 for as_dir in $PATH
2528 do
2529   IFS=$as_save_IFS
2530   test -z "$as_dir" && as_dir=.
2531   for ac_exec_ext in '' $ac_executable_extensions; do
2532   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2533     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2534     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2535     break 2
2536   fi
2537 done
2538 done
2539 IFS=$as_save_IFS
2540
2541 fi
2542 fi
2543 STRIP=$ac_cv_prog_STRIP
2544 if test -n "$STRIP"; then
2545   { echo "$as_me:$LINENO: result: $STRIP" >&5
2546 echo "${ECHO_T}$STRIP" >&6; }
2547 else
2548   { echo "$as_me:$LINENO: result: no" >&5
2549 echo "${ECHO_T}no" >&6; }
2550 fi
2551
2552
2553 fi
2554 if test -z "$ac_cv_prog_STRIP"; then
2555   ac_ct_STRIP=$STRIP
2556   # Extract the first word of "strip", so it can be a program name with args.
2557 set dummy strip; ac_word=$2
2558 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2560 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2561   echo $ECHO_N "(cached) $ECHO_C" >&6
2562 else
2563   if test -n "$ac_ct_STRIP"; then
2564   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2565 else
2566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2567 for as_dir in $PATH
2568 do
2569   IFS=$as_save_IFS
2570   test -z "$as_dir" && as_dir=.
2571   for ac_exec_ext in '' $ac_executable_extensions; do
2572   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2573     ac_cv_prog_ac_ct_STRIP="strip"
2574     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2575     break 2
2576   fi
2577 done
2578 done
2579 IFS=$as_save_IFS
2580
2581 fi
2582 fi
2583 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2584 if test -n "$ac_ct_STRIP"; then
2585   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2586 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2587 else
2588   { echo "$as_me:$LINENO: result: no" >&5
2589 echo "${ECHO_T}no" >&6; }
2590 fi
2591
2592   if test "x$ac_ct_STRIP" = x; then
2593     STRIP=":"
2594   else
2595     case $cross_compiling:$ac_tool_warned in
2596 yes:)
2597 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2598 whose name does not start with the host triplet.  If you think this
2599 configuration is useful to you, please write to autoconf@gnu.org." >&5
2600 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2601 whose name does not start with the host triplet.  If you think this
2602 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2603 ac_tool_warned=yes ;;
2604 esac
2605     STRIP=$ac_ct_STRIP
2606   fi
2607 else
2608   STRIP="$ac_cv_prog_STRIP"
2609 fi
2610
2611 fi
2612 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2613
2614 # We need awk for the "check" target.  The system "awk" is bad on
2615 # some platforms.
2616 # Always define AMTAR for backward compatibility.
2617
2618 AMTAR=${AMTAR-"${am_missing_run}tar"}
2619
2620 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2621
2622
2623
2624
2625
2626
2627 ac_config_headers="$ac_config_headers config.h"
2628
2629
2630
2631 PANGO_VERSION_MAJOR=1
2632 PANGO_VERSION_MINOR=26
2633 PANGO_VERSION_MICRO=1
2634 PANGO_VERSION=1.26.1
2635 PANGO_API_VERSION=1.0
2636 PANGO_INTERFACE_AGE=1
2637 PANGO_BINARY_AGE=2601
2638 PANGO_MODULE_VERSION=1.6.0
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650 cat >>confdefs.h <<\_ACEOF
2651 #define MODULE_VERSION "1.6.0"
2652 _ACEOF
2653
2654
2655 cat >>confdefs.h <<\_ACEOF
2656 #define PANGO_BINARY_AGE 2601
2657 _ACEOF
2658
2659
2660 cat >>confdefs.h <<\_ACEOF
2661 #define PANGO_INTERFACE_AGE 1
2662 _ACEOF
2663
2664
2665 cat >>confdefs.h <<\_ACEOF
2666 #define PANGO_VERSION_MAJOR 1
2667 _ACEOF
2668
2669
2670 cat >>confdefs.h <<\_ACEOF
2671 #define PANGO_VERSION_MINOR 26
2672 _ACEOF
2673
2674
2675 cat >>confdefs.h <<\_ACEOF
2676 #define PANGO_VERSION_MICRO 1
2677 _ACEOF
2678
2679
2680
2681
2682
2683 VERSION_INFO="2600:1:2600"
2684 PANGO_CURRENT_MINUS_AGE=0
2685
2686
2687
2688
2689 # Make sure we can run config.sub.
2690 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2691   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2692 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2693    { (exit 1); exit 1; }; }
2694
2695 { echo "$as_me:$LINENO: checking build system type" >&5
2696 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2697 if test "${ac_cv_build+set}" = set; then
2698   echo $ECHO_N "(cached) $ECHO_C" >&6
2699 else
2700   ac_build_alias=$build_alias
2701 test "x$ac_build_alias" = x &&
2702   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2703 test "x$ac_build_alias" = x &&
2704   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2705 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2706    { (exit 1); exit 1; }; }
2707 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2708   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2709 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2710    { (exit 1); exit 1; }; }
2711
2712 fi
2713 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2714 echo "${ECHO_T}$ac_cv_build" >&6; }
2715 case $ac_cv_build in
2716 *-*-*) ;;
2717 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2718 echo "$as_me: error: invalid value of canonical build" >&2;}
2719    { (exit 1); exit 1; }; };;
2720 esac
2721 build=$ac_cv_build
2722 ac_save_IFS=$IFS; IFS='-'
2723 set x $ac_cv_build
2724 shift
2725 build_cpu=$1
2726 build_vendor=$2
2727 shift; shift
2728 # Remember, the first character of IFS is used to create $*,
2729 # except with old shells:
2730 build_os=$*
2731 IFS=$ac_save_IFS
2732 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2733
2734
2735 { echo "$as_me:$LINENO: checking host system type" >&5
2736 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2737 if test "${ac_cv_host+set}" = set; then
2738   echo $ECHO_N "(cached) $ECHO_C" >&6
2739 else
2740   if test "x$host_alias" = x; then
2741   ac_cv_host=$ac_cv_build
2742 else
2743   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2744     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2745 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2746    { (exit 1); exit 1; }; }
2747 fi
2748
2749 fi
2750 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2751 echo "${ECHO_T}$ac_cv_host" >&6; }
2752 case $ac_cv_host in
2753 *-*-*) ;;
2754 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2755 echo "$as_me: error: invalid value of canonical host" >&2;}
2756    { (exit 1); exit 1; }; };;
2757 esac
2758 host=$ac_cv_host
2759 ac_save_IFS=$IFS; IFS='-'
2760 set x $ac_cv_host
2761 shift
2762 host_cpu=$1
2763 host_vendor=$2
2764 shift; shift
2765 # Remember, the first character of IFS is used to create $*,
2766 # except with old shells:
2767 host_os=$*
2768 IFS=$ac_save_IFS
2769 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2770
2771
2772
2773 { echo "$as_me:$LINENO: checking for native Win32" >&5
2774 echo $ECHO_N "checking for native Win32... $ECHO_C" >&6; }
2775 case "$host" in
2776   *-*-mingw*)
2777     pango_os_win32=yes
2778     case "$host" in
2779       x86_64-*-*)
2780         LIB_EXE_MACHINE_FLAG=X64
2781         ;;
2782       *)
2783         LIB_EXE_MACHINE_FLAG=X86
2784         ;;
2785     esac
2786     ;;
2787   *)
2788     pango_os_win32=no
2789     ;;
2790 esac
2791 { echo "$as_me:$LINENO: result: $pango_os_win32" >&5
2792 echo "${ECHO_T}$pango_os_win32" >&6; }
2793
2794
2795
2796
2797
2798 if test "$pango_os_win32" = "yes"; then
2799   OS_WIN32_TRUE=
2800   OS_WIN32_FALSE='#'
2801 else
2802   OS_WIN32_TRUE='#'
2803   OS_WIN32_FALSE=
2804 fi
2805
2806
2807 ac_ext=c
2808 ac_cpp='$CPP $CPPFLAGS'
2809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2812 if test -n "$ac_tool_prefix"; then
2813   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2814 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2815 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2817 if test "${ac_cv_prog_CC+set}" = set; then
2818   echo $ECHO_N "(cached) $ECHO_C" >&6
2819 else
2820   if test -n "$CC"; then
2821   ac_cv_prog_CC="$CC" # Let the user override the test.
2822 else
2823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2824 for as_dir in $PATH
2825 do
2826   IFS=$as_save_IFS
2827   test -z "$as_dir" && as_dir=.
2828   for ac_exec_ext in '' $ac_executable_extensions; do
2829   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2830     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2831     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2832     break 2
2833   fi
2834 done
2835 done
2836 IFS=$as_save_IFS
2837
2838 fi
2839 fi
2840 CC=$ac_cv_prog_CC
2841 if test -n "$CC"; then
2842   { echo "$as_me:$LINENO: result: $CC" >&5
2843 echo "${ECHO_T}$CC" >&6; }
2844 else
2845   { echo "$as_me:$LINENO: result: no" >&5
2846 echo "${ECHO_T}no" >&6; }
2847 fi
2848
2849
2850 fi
2851 if test -z "$ac_cv_prog_CC"; then
2852   ac_ct_CC=$CC
2853   # Extract the first word of "gcc", so it can be a program name with args.
2854 set dummy gcc; ac_word=$2
2855 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2857 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2858   echo $ECHO_N "(cached) $ECHO_C" >&6
2859 else
2860   if test -n "$ac_ct_CC"; then
2861   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2862 else
2863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2864 for as_dir in $PATH
2865 do
2866   IFS=$as_save_IFS
2867   test -z "$as_dir" && as_dir=.
2868   for ac_exec_ext in '' $ac_executable_extensions; do
2869   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2870     ac_cv_prog_ac_ct_CC="gcc"
2871     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2872     break 2
2873   fi
2874 done
2875 done
2876 IFS=$as_save_IFS
2877
2878 fi
2879 fi
2880 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2881 if test -n "$ac_ct_CC"; then
2882   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2883 echo "${ECHO_T}$ac_ct_CC" >&6; }
2884 else
2885   { echo "$as_me:$LINENO: result: no" >&5
2886 echo "${ECHO_T}no" >&6; }
2887 fi
2888
2889   if test "x$ac_ct_CC" = x; then
2890     CC=""
2891   else
2892     case $cross_compiling:$ac_tool_warned in
2893 yes:)
2894 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2895 whose name does not start with the host triplet.  If you think this
2896 configuration is useful to you, please write to autoconf@gnu.org." >&5
2897 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2898 whose name does not start with the host triplet.  If you think this
2899 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2900 ac_tool_warned=yes ;;
2901 esac
2902     CC=$ac_ct_CC
2903   fi
2904 else
2905   CC="$ac_cv_prog_CC"
2906 fi
2907
2908 if test -z "$CC"; then
2909           if test -n "$ac_tool_prefix"; then
2910     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2911 set dummy ${ac_tool_prefix}cc; ac_word=$2
2912 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2914 if test "${ac_cv_prog_CC+set}" = set; then
2915   echo $ECHO_N "(cached) $ECHO_C" >&6
2916 else
2917   if test -n "$CC"; then
2918   ac_cv_prog_CC="$CC" # Let the user override the test.
2919 else
2920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2921 for as_dir in $PATH
2922 do
2923   IFS=$as_save_IFS
2924   test -z "$as_dir" && as_dir=.
2925   for ac_exec_ext in '' $ac_executable_extensions; do
2926   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2927     ac_cv_prog_CC="${ac_tool_prefix}cc"
2928     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2929     break 2
2930   fi
2931 done
2932 done
2933 IFS=$as_save_IFS
2934
2935 fi
2936 fi
2937 CC=$ac_cv_prog_CC
2938 if test -n "$CC"; then
2939   { echo "$as_me:$LINENO: result: $CC" >&5
2940 echo "${ECHO_T}$CC" >&6; }
2941 else
2942   { echo "$as_me:$LINENO: result: no" >&5
2943 echo "${ECHO_T}no" >&6; }
2944 fi
2945
2946
2947   fi
2948 fi
2949 if test -z "$CC"; then
2950   # Extract the first word of "cc", so it can be a program name with args.
2951 set dummy cc; ac_word=$2
2952 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2954 if test "${ac_cv_prog_CC+set}" = set; then
2955   echo $ECHO_N "(cached) $ECHO_C" >&6
2956 else
2957   if test -n "$CC"; then
2958   ac_cv_prog_CC="$CC" # Let the user override the test.
2959 else
2960   ac_prog_rejected=no
2961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2962 for as_dir in $PATH
2963 do
2964   IFS=$as_save_IFS
2965   test -z "$as_dir" && as_dir=.
2966   for ac_exec_ext in '' $ac_executable_extensions; do
2967   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2968     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2969        ac_prog_rejected=yes
2970        continue
2971      fi
2972     ac_cv_prog_CC="cc"
2973     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2974     break 2
2975   fi
2976 done
2977 done
2978 IFS=$as_save_IFS
2979
2980 if test $ac_prog_rejected = yes; then
2981   # We found a bogon in the path, so make sure we never use it.
2982   set dummy $ac_cv_prog_CC
2983   shift
2984   if test $# != 0; then
2985     # We chose a different compiler from the bogus one.
2986     # However, it has the same basename, so the bogon will be chosen
2987     # first if we set CC to just the basename; use the full file name.
2988     shift
2989     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2990   fi
2991 fi
2992 fi
2993 fi
2994 CC=$ac_cv_prog_CC
2995 if test -n "$CC"; then
2996   { echo "$as_me:$LINENO: result: $CC" >&5
2997 echo "${ECHO_T}$CC" >&6; }
2998 else
2999   { echo "$as_me:$LINENO: result: no" >&5
3000 echo "${ECHO_T}no" >&6; }
3001 fi
3002
3003
3004 fi
3005 if test -z "$CC"; then
3006   if test -n "$ac_tool_prefix"; then
3007   for ac_prog in cl.exe
3008   do
3009     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3010 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3011 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3013 if test "${ac_cv_prog_CC+set}" = set; then
3014   echo $ECHO_N "(cached) $ECHO_C" >&6
3015 else
3016   if test -n "$CC"; then
3017   ac_cv_prog_CC="$CC" # Let the user override the test.
3018 else
3019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3020 for as_dir in $PATH
3021 do
3022   IFS=$as_save_IFS
3023   test -z "$as_dir" && as_dir=.
3024   for ac_exec_ext in '' $ac_executable_extensions; do
3025   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3026     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3027     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3028     break 2
3029   fi
3030 done
3031 done
3032 IFS=$as_save_IFS
3033
3034 fi
3035 fi
3036 CC=$ac_cv_prog_CC
3037 if test -n "$CC"; then
3038   { echo "$as_me:$LINENO: result: $CC" >&5
3039 echo "${ECHO_T}$CC" >&6; }
3040 else
3041   { echo "$as_me:$LINENO: result: no" >&5
3042 echo "${ECHO_T}no" >&6; }
3043 fi
3044
3045
3046     test -n "$CC" && break
3047   done
3048 fi
3049 if test -z "$CC"; then
3050   ac_ct_CC=$CC
3051   for ac_prog in cl.exe
3052 do
3053   # Extract the first word of "$ac_prog", so it can be a program name with args.
3054 set dummy $ac_prog; ac_word=$2
3055 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3057 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3058   echo $ECHO_N "(cached) $ECHO_C" >&6
3059 else
3060   if test -n "$ac_ct_CC"; then
3061   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3062 else
3063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3064 for as_dir in $PATH
3065 do
3066   IFS=$as_save_IFS
3067   test -z "$as_dir" && as_dir=.
3068   for ac_exec_ext in '' $ac_executable_extensions; do
3069   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3070     ac_cv_prog_ac_ct_CC="$ac_prog"
3071     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3072     break 2
3073   fi
3074 done
3075 done
3076 IFS=$as_save_IFS
3077
3078 fi
3079 fi
3080 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3081 if test -n "$ac_ct_CC"; then
3082   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3083 echo "${ECHO_T}$ac_ct_CC" >&6; }
3084 else
3085   { echo "$as_me:$LINENO: result: no" >&5
3086 echo "${ECHO_T}no" >&6; }
3087 fi
3088
3089
3090   test -n "$ac_ct_CC" && break
3091 done
3092
3093   if test "x$ac_ct_CC" = x; then
3094     CC=""
3095   else
3096     case $cross_compiling:$ac_tool_warned in
3097 yes:)
3098 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3099 whose name does not start with the host triplet.  If you think this
3100 configuration is useful to you, please write to autoconf@gnu.org." >&5
3101 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3102 whose name does not start with the host triplet.  If you think this
3103 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3104 ac_tool_warned=yes ;;
3105 esac
3106     CC=$ac_ct_CC
3107   fi
3108 fi
3109
3110 fi
3111
3112
3113 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3114 See \`config.log' for more details." >&5
3115 echo "$as_me: error: no acceptable C compiler found in \$PATH
3116 See \`config.log' for more details." >&2;}
3117    { (exit 1); exit 1; }; }
3118
3119 # Provide some information about the compiler.
3120 echo "$as_me:$LINENO: checking for C compiler version" >&5
3121 ac_compiler=`set X $ac_compile; echo $2`
3122 { (ac_try="$ac_compiler --version >&5"
3123 case "(($ac_try" in
3124   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3125   *) ac_try_echo=$ac_try;;
3126 esac
3127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3128   (eval "$ac_compiler --version >&5") 2>&5
3129   ac_status=$?
3130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131   (exit $ac_status); }
3132 { (ac_try="$ac_compiler -v >&5"
3133 case "(($ac_try" in
3134   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3135   *) ac_try_echo=$ac_try;;
3136 esac
3137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3138   (eval "$ac_compiler -v >&5") 2>&5
3139   ac_status=$?
3140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3141   (exit $ac_status); }
3142 { (ac_try="$ac_compiler -V >&5"
3143 case "(($ac_try" in
3144   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3145   *) ac_try_echo=$ac_try;;
3146 esac
3147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3148   (eval "$ac_compiler -V >&5") 2>&5
3149   ac_status=$?
3150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151   (exit $ac_status); }
3152
3153 cat >conftest.$ac_ext <<_ACEOF
3154 /* confdefs.h.  */
3155 _ACEOF
3156 cat confdefs.h >>conftest.$ac_ext
3157 cat >>conftest.$ac_ext <<_ACEOF
3158 /* end confdefs.h.  */
3159
3160 int
3161 main ()
3162 {
3163
3164   ;
3165   return 0;
3166 }
3167 _ACEOF
3168 ac_clean_files_save=$ac_clean_files
3169 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3170 # Try to create an executable without -o first, disregard a.out.
3171 # It will help us diagnose broken compilers, and finding out an intuition
3172 # of exeext.
3173 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3174 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3175 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3176 #
3177 # List of possible output files, starting from the most likely.
3178 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3179 # only as a last resort.  b.out is created by i960 compilers.
3180 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3181 #
3182 # The IRIX 6 linker writes into existing files which may not be
3183 # executable, retaining their permissions.  Remove them first so a
3184 # subsequent execution test works.
3185 ac_rmfiles=
3186 for ac_file in $ac_files
3187 do
3188   case $ac_file in
3189     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3190     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3191   esac
3192 done
3193 rm -f $ac_rmfiles
3194
3195 if { (ac_try="$ac_link_default"
3196 case "(($ac_try" in
3197   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3198   *) ac_try_echo=$ac_try;;
3199 esac
3200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3201   (eval "$ac_link_default") 2>&5
3202   ac_status=$?
3203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3204   (exit $ac_status); }; then
3205   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3206 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3207 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3208 # so that the user can short-circuit this test for compilers unknown to
3209 # Autoconf.
3210 for ac_file in $ac_files ''
3211 do
3212   test -f "$ac_file" || continue
3213   case $ac_file in
3214     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3215         ;;
3216     [ab].out )
3217         # We found the default executable, but exeext='' is most
3218         # certainly right.
3219         break;;
3220     *.* )
3221         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3222         then :; else
3223            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3224         fi
3225         # We set ac_cv_exeext here because the later test for it is not
3226         # safe: cross compilers may not add the suffix if given an `-o'
3227         # argument, so we may need to know it at that point already.
3228         # Even if this section looks crufty: it has the advantage of
3229         # actually working.
3230         break;;
3231     * )
3232         break;;
3233   esac
3234 done
3235 test "$ac_cv_exeext" = no && ac_cv_exeext=
3236
3237 else
3238   ac_file=''
3239 fi
3240
3241 { echo "$as_me:$LINENO: result: $ac_file" >&5
3242 echo "${ECHO_T}$ac_file" >&6; }
3243 if test -z "$ac_file"; then
3244   echo "$as_me: failed program was:" >&5
3245 sed 's/^/| /' conftest.$ac_ext >&5
3246
3247 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3248 See \`config.log' for more details." >&5
3249 echo "$as_me: error: C compiler cannot create executables
3250 See \`config.log' for more details." >&2;}
3251    { (exit 77); exit 77; }; }
3252 fi
3253
3254 ac_exeext=$ac_cv_exeext
3255
3256 # Check that the compiler produces executables we can run.  If not, either
3257 # the compiler is broken, or we cross compile.
3258 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3259 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3260 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3261 # If not cross compiling, check that we can run a simple program.
3262 if test "$cross_compiling" != yes; then
3263   if { ac_try='./$ac_file'
3264   { (case "(($ac_try" in
3265   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3266   *) ac_try_echo=$ac_try;;
3267 esac
3268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3269   (eval "$ac_try") 2>&5
3270   ac_status=$?
3271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3272   (exit $ac_status); }; }; then
3273     cross_compiling=no
3274   else
3275     if test "$cross_compiling" = maybe; then
3276         cross_compiling=yes
3277     else
3278         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3279 If you meant to cross compile, use \`--host'.
3280 See \`config.log' for more details." >&5
3281 echo "$as_me: error: cannot run C compiled programs.
3282 If you meant to cross compile, use \`--host'.
3283 See \`config.log' for more details." >&2;}
3284    { (exit 1); exit 1; }; }
3285     fi
3286   fi
3287 fi
3288 { echo "$as_me:$LINENO: result: yes" >&5
3289 echo "${ECHO_T}yes" >&6; }
3290
3291 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3292 ac_clean_files=$ac_clean_files_save
3293 # Check that the compiler produces executables we can run.  If not, either
3294 # the compiler is broken, or we cross compile.
3295 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3296 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3297 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3298 echo "${ECHO_T}$cross_compiling" >&6; }
3299
3300 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3301 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3302 if { (ac_try="$ac_link"
3303 case "(($ac_try" in
3304   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3305   *) ac_try_echo=$ac_try;;
3306 esac
3307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3308   (eval "$ac_link") 2>&5
3309   ac_status=$?
3310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311   (exit $ac_status); }; then
3312   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3313 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3314 # work properly (i.e., refer to `conftest.exe'), while it won't with
3315 # `rm'.
3316 for ac_file in conftest.exe conftest conftest.*; do
3317   test -f "$ac_file" || continue
3318   case $ac_file in
3319     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3320     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3321           break;;
3322     * ) break;;
3323   esac
3324 done
3325 else
3326   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3327 See \`config.log' for more details." >&5
3328 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3329 See \`config.log' for more details." >&2;}
3330    { (exit 1); exit 1; }; }
3331 fi
3332
3333 rm -f conftest$ac_cv_exeext
3334 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3335 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3336
3337 rm -f conftest.$ac_ext
3338 EXEEXT=$ac_cv_exeext
3339 ac_exeext=$EXEEXT
3340 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3341 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3342 if test "${ac_cv_objext+set}" = set; then
3343   echo $ECHO_N "(cached) $ECHO_C" >&6
3344 else
3345   cat >conftest.$ac_ext <<_ACEOF
3346 /* confdefs.h.  */
3347 _ACEOF
3348 cat confdefs.h >>conftest.$ac_ext
3349 cat >>conftest.$ac_ext <<_ACEOF
3350 /* end confdefs.h.  */
3351
3352 int
3353 main ()
3354 {
3355
3356   ;
3357   return 0;
3358 }
3359 _ACEOF
3360 rm -f conftest.o conftest.obj
3361 if { (ac_try="$ac_compile"
3362 case "(($ac_try" in
3363   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3364   *) ac_try_echo=$ac_try;;
3365 esac
3366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3367   (eval "$ac_compile") 2>&5
3368   ac_status=$?
3369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3370   (exit $ac_status); }; then
3371   for ac_file in conftest.o conftest.obj conftest.*; do
3372   test -f "$ac_file" || continue;
3373   case $ac_file in
3374     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3375     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3376        break;;
3377   esac
3378 done
3379 else
3380   echo "$as_me: failed program was:" >&5
3381 sed 's/^/| /' conftest.$ac_ext >&5
3382
3383 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3384 See \`config.log' for more details." >&5
3385 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3386 See \`config.log' for more details." >&2;}
3387    { (exit 1); exit 1; }; }
3388 fi
3389
3390 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3391 fi
3392 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3393 echo "${ECHO_T}$ac_cv_objext" >&6; }
3394 OBJEXT=$ac_cv_objext
3395 ac_objext=$OBJEXT
3396 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3397 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3398 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3399   echo $ECHO_N "(cached) $ECHO_C" >&6
3400 else
3401   cat >conftest.$ac_ext <<_ACEOF
3402 /* confdefs.h.  */
3403 _ACEOF
3404 cat confdefs.h >>conftest.$ac_ext
3405 cat >>conftest.$ac_ext <<_ACEOF
3406 /* end confdefs.h.  */
3407
3408 int
3409 main ()
3410 {
3411 #ifndef __GNUC__
3412        choke me
3413 #endif
3414
3415   ;
3416   return 0;
3417 }
3418 _ACEOF
3419 rm -f conftest.$ac_objext
3420 if { (ac_try="$ac_compile"
3421 case "(($ac_try" in
3422   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3423   *) ac_try_echo=$ac_try;;
3424 esac
3425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3426   (eval "$ac_compile") 2>conftest.er1
3427   ac_status=$?
3428   grep -v '^ *+' conftest.er1 >conftest.err
3429   rm -f conftest.er1
3430   cat conftest.err >&5
3431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432   (exit $ac_status); } && {
3433          test -z "$ac_c_werror_flag" ||
3434          test ! -s conftest.err
3435        } && test -s conftest.$ac_objext; then
3436   ac_compiler_gnu=yes
3437 else
3438   echo "$as_me: failed program was:" >&5
3439 sed 's/^/| /' conftest.$ac_ext >&5
3440
3441         ac_compiler_gnu=no
3442 fi
3443
3444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3445 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3446
3447 fi
3448 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3449 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3450 GCC=`test $ac_compiler_gnu = yes && echo yes`
3451 ac_test_CFLAGS=${CFLAGS+set}
3452 ac_save_CFLAGS=$CFLAGS
3453 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3454 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3455 if test "${ac_cv_prog_cc_g+set}" = set; then
3456   echo $ECHO_N "(cached) $ECHO_C" >&6
3457 else
3458   ac_save_c_werror_flag=$ac_c_werror_flag
3459    ac_c_werror_flag=yes
3460    ac_cv_prog_cc_g=no
3461    CFLAGS="-g"
3462    cat >conftest.$ac_ext <<_ACEOF
3463 /* confdefs.h.  */
3464 _ACEOF
3465 cat confdefs.h >>conftest.$ac_ext
3466 cat >>conftest.$ac_ext <<_ACEOF
3467 /* end confdefs.h.  */
3468
3469 int
3470 main ()
3471 {
3472
3473   ;
3474   return 0;
3475 }
3476 _ACEOF
3477 rm -f conftest.$ac_objext
3478 if { (ac_try="$ac_compile"
3479 case "(($ac_try" in
3480   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3481   *) ac_try_echo=$ac_try;;
3482 esac
3483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3484   (eval "$ac_compile") 2>conftest.er1
3485   ac_status=$?
3486   grep -v '^ *+' conftest.er1 >conftest.err
3487   rm -f conftest.er1
3488   cat conftest.err >&5
3489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3490   (exit $ac_status); } && {
3491          test -z "$ac_c_werror_flag" ||
3492          test ! -s conftest.err
3493        } && test -s conftest.$ac_objext; then
3494   ac_cv_prog_cc_g=yes
3495 else
3496   echo "$as_me: failed program was:" >&5
3497 sed 's/^/| /' conftest.$ac_ext >&5
3498
3499         CFLAGS=""
3500       cat >conftest.$ac_ext <<_ACEOF
3501 /* confdefs.h.  */
3502 _ACEOF
3503 cat confdefs.h >>conftest.$ac_ext
3504 cat >>conftest.$ac_ext <<_ACEOF
3505 /* end confdefs.h.  */
3506
3507 int
3508 main ()
3509 {
3510
3511   ;
3512   return 0;
3513 }
3514 _ACEOF
3515 rm -f conftest.$ac_objext
3516 if { (ac_try="$ac_compile"
3517 case "(($ac_try" in
3518   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3519   *) ac_try_echo=$ac_try;;
3520 esac
3521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3522   (eval "$ac_compile") 2>conftest.er1
3523   ac_status=$?
3524   grep -v '^ *+' conftest.er1 >conftest.err
3525   rm -f conftest.er1
3526   cat conftest.err >&5
3527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3528   (exit $ac_status); } && {
3529          test -z "$ac_c_werror_flag" ||
3530          test ! -s conftest.err
3531        } && test -s conftest.$ac_objext; then
3532   :
3533 else
3534   echo "$as_me: failed program was:" >&5
3535 sed 's/^/| /' conftest.$ac_ext >&5
3536
3537         ac_c_werror_flag=$ac_save_c_werror_flag
3538          CFLAGS="-g"
3539          cat >conftest.$ac_ext <<_ACEOF
3540 /* confdefs.h.  */
3541 _ACEOF
3542 cat confdefs.h >>conftest.$ac_ext
3543 cat >>conftest.$ac_ext <<_ACEOF
3544 /* end confdefs.h.  */
3545
3546 int
3547 main ()
3548 {
3549
3550   ;
3551   return 0;
3552 }
3553 _ACEOF
3554 rm -f conftest.$ac_objext
3555 if { (ac_try="$ac_compile"
3556 case "(($ac_try" in
3557   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3558   *) ac_try_echo=$ac_try;;
3559 esac
3560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3561   (eval "$ac_compile") 2>conftest.er1
3562   ac_status=$?
3563   grep -v '^ *+' conftest.er1 >conftest.err
3564   rm -f conftest.er1
3565   cat conftest.err >&5
3566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3567   (exit $ac_status); } && {
3568          test -z "$ac_c_werror_flag" ||
3569          test ! -s conftest.err
3570        } && test -s conftest.$ac_objext; then
3571   ac_cv_prog_cc_g=yes
3572 else
3573   echo "$as_me: failed program was:" >&5
3574 sed 's/^/| /' conftest.$ac_ext >&5
3575
3576
3577 fi
3578
3579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3580 fi
3581
3582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3583 fi
3584
3585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3586    ac_c_werror_flag=$ac_save_c_werror_flag
3587 fi
3588 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3589 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3590 if test "$ac_test_CFLAGS" = set; then
3591   CFLAGS=$ac_save_CFLAGS
3592 elif test $ac_cv_prog_cc_g = yes; then
3593   if test "$GCC" = yes; then
3594     CFLAGS="-g -O2"
3595   else
3596     CFLAGS="-g"
3597   fi
3598 else
3599   if test "$GCC" = yes; then
3600     CFLAGS="-O2"
3601   else
3602     CFLAGS=
3603   fi
3604 fi
3605 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3606 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3607 if test "${ac_cv_prog_cc_c89+set}" = set; then
3608   echo $ECHO_N "(cached) $ECHO_C" >&6
3609 else
3610   ac_cv_prog_cc_c89=no
3611 ac_save_CC=$CC
3612 cat >conftest.$ac_ext <<_ACEOF
3613 /* confdefs.h.  */
3614 _ACEOF
3615 cat confdefs.h >>conftest.$ac_ext
3616 cat >>conftest.$ac_ext <<_ACEOF
3617 /* end confdefs.h.  */
3618 #include <stdarg.h>
3619 #include <stdio.h>
3620 #include <sys/types.h>
3621 #include <sys/stat.h>
3622 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3623 struct buf { int x; };
3624 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3625 static char *e (p, i)
3626      char **p;
3627      int i;
3628 {
3629   return p[i];
3630 }
3631 static char *f (char * (*g) (char **, int), char **p, ...)
3632 {
3633   char *s;
3634   va_list v;
3635   va_start (v,p);
3636   s = g (p, va_arg (v,int));
3637   va_end (v);
3638   return s;
3639 }
3640
3641 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3642    function prototypes and stuff, but not '\xHH' hex character constants.
3643    These don't provoke an error unfortunately, instead are silently treated
3644    as 'x'.  The following induces an error, until -std is added to get
3645    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3646    array size at least.  It's necessary to write '\x00'==0 to get something
3647    that's true only with -std.  */
3648 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3649
3650 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3651    inside strings and character constants.  */
3652 #define FOO(x) 'x'
3653 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3654
3655 int test (int i, double x);
3656 struct s1 {int (*f) (int a);};
3657 struct s2 {int (*f) (double a);};
3658 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3659 int argc;
3660 char **argv;
3661 int
3662 main ()
3663 {
3664 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3665   ;
3666   return 0;
3667 }
3668 _ACEOF
3669 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3670         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3671 do
3672   CC="$ac_save_CC $ac_arg"
3673   rm -f conftest.$ac_objext
3674 if { (ac_try="$ac_compile"
3675 case "(($ac_try" in
3676   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3677   *) ac_try_echo=$ac_try;;
3678 esac
3679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3680   (eval "$ac_compile") 2>conftest.er1
3681   ac_status=$?
3682   grep -v '^ *+' conftest.er1 >conftest.err
3683   rm -f conftest.er1
3684   cat conftest.err >&5
3685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3686   (exit $ac_status); } && {
3687          test -z "$ac_c_werror_flag" ||
3688          test ! -s conftest.err
3689        } && test -s conftest.$ac_objext; then
3690   ac_cv_prog_cc_c89=$ac_arg
3691 else
3692   echo "$as_me: failed program was:" >&5
3693 sed 's/^/| /' conftest.$ac_ext >&5
3694
3695
3696 fi
3697
3698 rm -f core conftest.err conftest.$ac_objext
3699   test "x$ac_cv_prog_cc_c89" != "xno" && break
3700 done
3701 rm -f conftest.$ac_ext
3702 CC=$ac_save_CC
3703
3704 fi
3705 # AC_CACHE_VAL
3706 case "x$ac_cv_prog_cc_c89" in
3707   x)
3708     { echo "$as_me:$LINENO: result: none needed" >&5
3709 echo "${ECHO_T}none needed" >&6; } ;;
3710   xno)
3711     { echo "$as_me:$LINENO: result: unsupported" >&5
3712 echo "${ECHO_T}unsupported" >&6; } ;;
3713   *)
3714     CC="$CC $ac_cv_prog_cc_c89"
3715     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3716 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3717 esac
3718
3719
3720 ac_ext=c
3721 ac_cpp='$CPP $CPPFLAGS'
3722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3725 DEPDIR="${am__leading_dot}deps"
3726
3727 ac_config_commands="$ac_config_commands depfiles"
3728
3729
3730 am_make=${MAKE-make}
3731 cat > confinc << 'END'
3732 am__doit:
3733         @echo done
3734 .PHONY: am__doit
3735 END
3736 # If we don't find an include directive, just comment out the code.
3737 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3738 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3739 am__include="#"
3740 am__quote=
3741 _am_result=none
3742 # First try GNU make style include.
3743 echo "include confinc" > confmf
3744 # We grep out `Entering directory' and `Leaving directory'
3745 # messages which can occur if `w' ends up in MAKEFLAGS.
3746 # In particular we don't look at `^make:' because GNU make might
3747 # be invoked under some other name (usually "gmake"), in which
3748 # case it prints its new name instead of `make'.
3749 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3750    am__include=include
3751    am__quote=
3752    _am_result=GNU
3753 fi
3754 # Now try BSD make style include.
3755 if test "$am__include" = "#"; then
3756    echo '.include "confinc"' > confmf
3757    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3758       am__include=.include
3759       am__quote="\""
3760       _am_result=BSD
3761    fi
3762 fi
3763
3764
3765 { echo "$as_me:$LINENO: result: $_am_result" >&5
3766 echo "${ECHO_T}$_am_result" >&6; }
3767 rm -f confinc confmf
3768
3769 # Check whether --enable-dependency-tracking was given.
3770 if test "${enable_dependency_tracking+set}" = set; then
3771   enableval=$enable_dependency_tracking;
3772 fi
3773
3774 if test "x$enable_dependency_tracking" != xno; then
3775   am_depcomp="$ac_aux_dir/depcomp"
3776   AMDEPBACKSLASH='\'
3777 fi
3778
3779
3780 if test "x$enable_dependency_tracking" != xno; then
3781   AMDEP_TRUE=
3782   AMDEP_FALSE='#'
3783 else
3784   AMDEP_TRUE='#'
3785   AMDEP_FALSE=
3786 fi
3787
3788
3789
3790
3791 depcc="$CC"   am_compiler_list=
3792
3793 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3794 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3795 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3796   echo $ECHO_N "(cached) $ECHO_C" >&6
3797 else
3798   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3799   # We make a subdir and do the tests there.  Otherwise we can end up
3800   # making bogus files that we don't know about and never remove.  For
3801   # instance it was reported that on HP-UX the gcc test will end up
3802   # making a dummy file named `D' -- because `-MD' means `put the output
3803   # in D'.
3804   mkdir conftest.dir
3805   # Copy depcomp to subdir because otherwise we won't find it if we're
3806   # using a relative directory.
3807   cp "$am_depcomp" conftest.dir
3808   cd conftest.dir
3809   # We will build objects and dependencies in a subdirectory because
3810   # it helps to detect inapplicable dependency modes.  For instance
3811   # both Tru64's cc and ICC support -MD to output dependencies as a
3812   # side effect of compilation, but ICC will put the dependencies in
3813   # the current directory while Tru64 will put them in the object
3814   # directory.
3815   mkdir sub
3816
3817   am_cv_CC_dependencies_compiler_type=none
3818   if test "$am_compiler_list" = ""; then
3819      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3820   fi
3821   for depmode in $am_compiler_list; do
3822     # Setup a source with many dependencies, because some compilers
3823     # like to wrap large dependency lists on column 80 (with \), and
3824     # we should not choose a depcomp mode which is confused by this.
3825     #
3826     # We need to recreate these files for each test, as the compiler may
3827     # overwrite some of them when testing with obscure command lines.
3828     # This happens at least with the AIX C compiler.
3829     : > sub/conftest.c
3830     for i in 1 2 3 4 5 6; do
3831       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3832       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3833       # Solaris 8's {/usr,}/bin/sh.
3834       touch sub/conftst$i.h
3835     done
3836     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3837
3838     case $depmode in
3839     nosideeffect)
3840       # after this tag, mechanisms are not by side-effect, so they'll
3841       # only be used when explicitly requested
3842       if test "x$enable_dependency_tracking" = xyes; then
3843         continue
3844       else
3845         break
3846       fi
3847       ;;
3848     none) break ;;
3849     esac
3850     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3851     # mode.  It turns out that the SunPro C++ compiler does not properly
3852     # handle `-M -o', and we need to detect this.
3853     if depmode=$depmode \
3854        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3855        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3856        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3857          >/dev/null 2>conftest.err &&
3858        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3859        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3860        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3861       # icc doesn't choke on unknown options, it will just issue warnings
3862       # or remarks (even with -Werror).  So we grep stderr for any message
3863       # that says an option was ignored or not supported.
3864       # When given -MP, icc 7.0 and 7.1 complain thusly:
3865       #   icc: Command line warning: ignoring option '-M'; no argument required
3866       # The diagnosis changed in icc 8.0:
3867       #   icc: Command line remark: option '-MP' not supported
3868       if (grep 'ignoring option' conftest.err ||
3869           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3870         am_cv_CC_dependencies_compiler_type=$depmode
3871         break
3872       fi
3873     fi
3874   done
3875
3876   cd ..
3877   rm -rf conftest.dir
3878 else
3879   am_cv_CC_dependencies_compiler_type=none
3880 fi
3881
3882 fi
3883 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3884 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3885 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3886
3887
3888
3889 if
3890   test "x$enable_dependency_tracking" != xno \
3891   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3892   am__fastdepCC_TRUE=
3893   am__fastdepCC_FALSE='#'
3894 else
3895   am__fastdepCC_TRUE='#'
3896   am__fastdepCC_FALSE=
3897 fi
3898
3899
3900
3901 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
3902 do
3903   # Extract the first word of "$ac_prog", so it can be a program name with args.
3904 set dummy $ac_prog; ac_word=$2
3905 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3907 if test "${ac_cv_prog_CXX+set}" = set; then
3908   echo $ECHO_N "(cached) $ECHO_C" >&6
3909 else
3910   if test -n "$CXX"; then
3911   ac_cv_prog_CXX="$CXX" # Let the user override the test.
3912 else
3913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3914 for as_dir in $PATH
3915 do
3916   IFS=$as_save_IFS
3917   test -z "$as_dir" && as_dir=.
3918   for ac_exec_ext in '' $ac_executable_extensions; do
3919   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3920     ac_cv_prog_CXX="$ac_prog"
3921     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3922     break 2
3923   fi
3924 done
3925 done
3926 IFS=$as_save_IFS
3927
3928 fi
3929 fi
3930 CXX=$ac_cv_prog_CXX
3931 if test -n "$CXX"; then
3932   { echo "$as_me:$LINENO: result: $CXX" >&5
3933 echo "${ECHO_T}$CXX" >&6; }
3934 else
3935   { echo "$as_me:$LINENO: result: no" >&5
3936 echo "${ECHO_T}no" >&6; }
3937 fi
3938
3939
3940   test -n "$CXX" && break
3941 done
3942 test -n "$CXX" || CXX="gcc"
3943
3944
3945 ac_ext=cpp
3946 ac_cpp='$CXXCPP $CPPFLAGS'
3947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3950
3951 ac_ext=cpp
3952 ac_cpp='$CXXCPP $CPPFLAGS'
3953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3956 if test -z "$CXX"; then
3957   if test -n "$CCC"; then
3958     CXX=$CCC
3959   else
3960     if test -n "$ac_tool_prefix"; then
3961   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3962   do
3963     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3964 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3965 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3967 if test "${ac_cv_prog_CXX+set}" = set; then
3968   echo $ECHO_N "(cached) $ECHO_C" >&6
3969 else
3970   if test -n "$CXX"; then
3971   ac_cv_prog_CXX="$CXX" # Let the user override the test.
3972 else
3973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3974 for as_dir in $PATH
3975 do
3976   IFS=$as_save_IFS
3977   test -z "$as_dir" && as_dir=.
3978   for ac_exec_ext in '' $ac_executable_extensions; do
3979   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3980     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3981     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3982     break 2
3983   fi
3984 done
3985 done
3986 IFS=$as_save_IFS
3987
3988 fi
3989 fi
3990 CXX=$ac_cv_prog_CXX
3991 if test -n "$CXX"; then
3992   { echo "$as_me:$LINENO: result: $CXX" >&5
3993 echo "${ECHO_T}$CXX" >&6; }
3994 else
3995   { echo "$as_me:$LINENO: result: no" >&5
3996 echo "${ECHO_T}no" >&6; }
3997 fi
3998
3999
4000     test -n "$CXX" && break
4001   done
4002 fi
4003 if test -z "$CXX"; then
4004   ac_ct_CXX=$CXX
4005   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4006 do
4007   # Extract the first word of "$ac_prog", so it can be a program name with args.
4008 set dummy $ac_prog; ac_word=$2
4009 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4011 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4012   echo $ECHO_N "(cached) $ECHO_C" >&6
4013 else
4014   if test -n "$ac_ct_CXX"; then
4015   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4016 else
4017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4018 for as_dir in $PATH
4019 do
4020   IFS=$as_save_IFS
4021   test -z "$as_dir" && as_dir=.
4022   for ac_exec_ext in '' $ac_executable_extensions; do
4023   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4024     ac_cv_prog_ac_ct_CXX="$ac_prog"
4025     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4026     break 2
4027   fi
4028 done
4029 done
4030 IFS=$as_save_IFS
4031
4032 fi
4033 fi
4034 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4035 if test -n "$ac_ct_CXX"; then
4036   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4037 echo "${ECHO_T}$ac_ct_CXX" >&6; }
4038 else
4039   { echo "$as_me:$LINENO: result: no" >&5
4040 echo "${ECHO_T}no" >&6; }
4041 fi
4042
4043
4044   test -n "$ac_ct_CXX" && break
4045 done
4046
4047   if test "x$ac_ct_CXX" = x; then
4048     CXX="g++"
4049   else
4050     case $cross_compiling:$ac_tool_warned in
4051 yes:)
4052 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4053 whose name does not start with the host triplet.  If you think this
4054 configuration is useful to you, please write to autoconf@gnu.org." >&5
4055 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4056 whose name does not start with the host triplet.  If you think this
4057 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4058 ac_tool_warned=yes ;;
4059 esac
4060     CXX=$ac_ct_CXX
4061   fi
4062 fi
4063
4064   fi
4065 fi
4066 # Provide some information about the compiler.
4067 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4068 ac_compiler=`set X $ac_compile; echo $2`
4069 { (ac_try="$ac_compiler --version >&5"
4070 case "(($ac_try" in
4071   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4072   *) ac_try_echo=$ac_try;;
4073 esac
4074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4075   (eval "$ac_compiler --version >&5") 2>&5
4076   ac_status=$?
4077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4078   (exit $ac_status); }
4079 { (ac_try="$ac_compiler -v >&5"
4080 case "(($ac_try" in
4081   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4082   *) ac_try_echo=$ac_try;;
4083 esac
4084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4085   (eval "$ac_compiler -v >&5") 2>&5
4086   ac_status=$?
4087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4088   (exit $ac_status); }
4089 { (ac_try="$ac_compiler -V >&5"
4090 case "(($ac_try" in
4091   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4092   *) ac_try_echo=$ac_try;;
4093 esac
4094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4095   (eval "$ac_compiler -V >&5") 2>&5
4096   ac_status=$?
4097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4098   (exit $ac_status); }
4099
4100 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4101 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4102 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4103   echo $ECHO_N "(cached) $ECHO_C" >&6
4104 else
4105   cat >conftest.$ac_ext <<_ACEOF
4106 /* confdefs.h.  */
4107 _ACEOF
4108 cat confdefs.h >>conftest.$ac_ext
4109 cat >>conftest.$ac_ext <<_ACEOF
4110 /* end confdefs.h.  */
4111
4112 int
4113 main ()
4114 {
4115 #ifndef __GNUC__
4116        choke me
4117 #endif
4118
4119   ;
4120   return 0;
4121 }
4122 _ACEOF
4123 rm -f conftest.$ac_objext
4124 if { (ac_try="$ac_compile"
4125 case "(($ac_try" in
4126   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4127   *) ac_try_echo=$ac_try;;
4128 esac
4129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4130   (eval "$ac_compile") 2>conftest.er1
4131   ac_status=$?
4132   grep -v '^ *+' conftest.er1 >conftest.err
4133   rm -f conftest.er1
4134   cat conftest.err >&5
4135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4136   (exit $ac_status); } && {
4137          test -z "$ac_cxx_werror_flag" ||
4138          test ! -s conftest.err
4139        } && test -s conftest.$ac_objext; then
4140   ac_compiler_gnu=yes
4141 else
4142   echo "$as_me: failed program was:" >&5
4143 sed 's/^/| /' conftest.$ac_ext >&5
4144
4145         ac_compiler_gnu=no
4146 fi
4147
4148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4149 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4150
4151 fi
4152 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4153 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4154 GXX=`test $ac_compiler_gnu = yes && echo yes`
4155 ac_test_CXXFLAGS=${CXXFLAGS+set}
4156 ac_save_CXXFLAGS=$CXXFLAGS
4157 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4158 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4159 if test "${ac_cv_prog_cxx_g+set}" = set; then
4160   echo $ECHO_N "(cached) $ECHO_C" >&6
4161 else
4162   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4163    ac_cxx_werror_flag=yes
4164    ac_cv_prog_cxx_g=no
4165    CXXFLAGS="-g"
4166    cat >conftest.$ac_ext <<_ACEOF
4167 /* confdefs.h.  */
4168 _ACEOF
4169 cat confdefs.h >>conftest.$ac_ext
4170 cat >>conftest.$ac_ext <<_ACEOF
4171 /* end confdefs.h.  */
4172
4173 int
4174 main ()
4175 {
4176
4177   ;
4178   return 0;
4179 }
4180 _ACEOF
4181 rm -f conftest.$ac_objext
4182 if { (ac_try="$ac_compile"
4183 case "(($ac_try" in
4184   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4185   *) ac_try_echo=$ac_try;;
4186 esac
4187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4188   (eval "$ac_compile") 2>conftest.er1
4189   ac_status=$?
4190   grep -v '^ *+' conftest.er1 >conftest.err
4191   rm -f conftest.er1
4192   cat conftest.err >&5
4193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194   (exit $ac_status); } && {
4195          test -z "$ac_cxx_werror_flag" ||
4196          test ! -s conftest.err
4197        } && test -s conftest.$ac_objext; then
4198   ac_cv_prog_cxx_g=yes
4199 else
4200   echo "$as_me: failed program was:" >&5
4201 sed 's/^/| /' conftest.$ac_ext >&5
4202
4203         CXXFLAGS=""
4204       cat >conftest.$ac_ext <<_ACEOF
4205 /* confdefs.h.  */
4206 _ACEOF
4207 cat confdefs.h >>conftest.$ac_ext
4208 cat >>conftest.$ac_ext <<_ACEOF
4209 /* end confdefs.h.  */
4210
4211 int
4212 main ()
4213 {
4214
4215   ;
4216   return 0;
4217 }
4218 _ACEOF
4219 rm -f conftest.$ac_objext
4220 if { (ac_try="$ac_compile"
4221 case "(($ac_try" in
4222   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4223   *) ac_try_echo=$ac_try;;
4224 esac
4225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4226   (eval "$ac_compile") 2>conftest.er1
4227   ac_status=$?
4228   grep -v '^ *+' conftest.er1 >conftest.err
4229   rm -f conftest.er1
4230   cat conftest.err >&5
4231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4232   (exit $ac_status); } && {
4233          test -z "$ac_cxx_werror_flag" ||
4234          test ! -s conftest.err
4235        } && test -s conftest.$ac_objext; then
4236   :
4237 else
4238   echo "$as_me: failed program was:" >&5
4239 sed 's/^/| /' conftest.$ac_ext >&5
4240
4241         ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4242          CXXFLAGS="-g"
4243          cat >conftest.$ac_ext <<_ACEOF
4244 /* confdefs.h.  */
4245 _ACEOF
4246 cat confdefs.h >>conftest.$ac_ext
4247 cat >>conftest.$ac_ext <<_ACEOF
4248 /* end confdefs.h.  */
4249
4250 int
4251 main ()
4252 {
4253
4254   ;
4255   return 0;
4256 }
4257 _ACEOF
4258 rm -f conftest.$ac_objext
4259 if { (ac_try="$ac_compile"
4260 case "(($ac_try" in
4261   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4262   *) ac_try_echo=$ac_try;;
4263 esac
4264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4265   (eval "$ac_compile") 2>conftest.er1
4266   ac_status=$?
4267   grep -v '^ *+' conftest.er1 >conftest.err
4268   rm -f conftest.er1
4269   cat conftest.err >&5
4270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4271   (exit $ac_status); } && {
4272          test -z "$ac_cxx_werror_flag" ||
4273          test ! -s conftest.err
4274        } && test -s conftest.$ac_objext; then
4275   ac_cv_prog_cxx_g=yes
4276 else
4277   echo "$as_me: failed program was:" >&5
4278 sed 's/^/| /' conftest.$ac_ext >&5
4279
4280
4281 fi
4282
4283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4284 fi
4285
4286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4287 fi
4288
4289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4290    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4291 fi
4292 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4293 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4294 if test "$ac_test_CXXFLAGS" = set; then
4295   CXXFLAGS=$ac_save_CXXFLAGS
4296 elif test $ac_cv_prog_cxx_g = yes; then
4297   if test "$GXX" = yes; then
4298     CXXFLAGS="-g -O2"
4299   else
4300     CXXFLAGS="-g"
4301   fi
4302 else
4303   if test "$GXX" = yes; then
4304     CXXFLAGS="-O2"
4305   else
4306     CXXFLAGS=
4307   fi
4308 fi
4309 ac_ext=cpp
4310 ac_cpp='$CXXCPP $CPPFLAGS'
4311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4314
4315 depcc="$CXX"  am_compiler_list=
4316
4317 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4318 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4319 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4320   echo $ECHO_N "(cached) $ECHO_C" >&6
4321 else
4322   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4323   # We make a subdir and do the tests there.  Otherwise we can end up
4324   # making bogus files that we don't know about and never remove.  For
4325   # instance it was reported that on HP-UX the gcc test will end up
4326   # making a dummy file named `D' -- because `-MD' means `put the output
4327   # in D'.
4328   mkdir conftest.dir
4329   # Copy depcomp to subdir because otherwise we won't find it if we're
4330   # using a relative directory.
4331   cp "$am_depcomp" conftest.dir
4332   cd conftest.dir
4333   # We will build objects and dependencies in a subdirectory because
4334   # it helps to detect inapplicable dependency modes.  For instance
4335   # both Tru64's cc and ICC support -MD to output dependencies as a
4336   # side effect of compilation, but ICC will put the dependencies in
4337   # the current directory while Tru64 will put them in the object
4338   # directory.
4339   mkdir sub
4340
4341   am_cv_CXX_dependencies_compiler_type=none
4342   if test "$am_compiler_list" = ""; then
4343      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4344   fi
4345   for depmode in $am_compiler_list; do
4346     # Setup a source with many dependencies, because some compilers
4347     # like to wrap large dependency lists on column 80 (with \), and
4348     # we should not choose a depcomp mode which is confused by this.
4349     #
4350     # We need to recreate these files for each test, as the compiler may
4351     # overwrite some of them when testing with obscure command lines.
4352     # This happens at least with the AIX C compiler.
4353     : > sub/conftest.c
4354     for i in 1 2 3 4 5 6; do
4355       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4356       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4357       # Solaris 8's {/usr,}/bin/sh.
4358       touch sub/conftst$i.h
4359     done
4360     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4361
4362     case $depmode in
4363     nosideeffect)
4364       # after this tag, mechanisms are not by side-effect, so they'll
4365       # only be used when explicitly requested
4366       if test "x$enable_dependency_tracking" = xyes; then
4367         continue
4368       else
4369         break
4370       fi
4371       ;;
4372     none) break ;;
4373     esac
4374     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4375     # mode.  It turns out that the SunPro C++ compiler does not properly
4376     # handle `-M -o', and we need to detect this.
4377     if depmode=$depmode \
4378        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4379        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4380        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4381          >/dev/null 2>conftest.err &&
4382        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4383        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4384        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4385       # icc doesn't choke on unknown options, it will just issue warnings
4386       # or remarks (even with -Werror).  So we grep stderr for any message
4387       # that says an option was ignored or not supported.
4388       # When given -MP, icc 7.0 and 7.1 complain thusly:
4389       #   icc: Command line warning: ignoring option '-M'; no argument required
4390       # The diagnosis changed in icc 8.0:
4391       #   icc: Command line remark: option '-MP' not supported
4392       if (grep 'ignoring option' conftest.err ||
4393           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4394         am_cv_CXX_dependencies_compiler_type=$depmode
4395         break
4396       fi
4397     fi
4398   done
4399
4400   cd ..
4401   rm -rf conftest.dir
4402 else
4403   am_cv_CXX_dependencies_compiler_type=none
4404 fi
4405
4406 fi
4407 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4408 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
4409 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4410
4411
4412
4413 if
4414   test "x$enable_dependency_tracking" != xno \
4415   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4416   am__fastdepCXX_TRUE=
4417   am__fastdepCXX_FALSE='#'
4418 else
4419   am__fastdepCXX_TRUE='#'
4420   am__fastdepCXX_FALSE=
4421 fi
4422
4423
4424
4425 cat >conftest.$ac_ext <<_ACEOF
4426 /* confdefs.h.  */
4427 _ACEOF
4428 cat confdefs.h >>conftest.$ac_ext
4429 cat >>conftest.$ac_ext <<_ACEOF
4430 /* end confdefs.h.  */
4431
4432 int
4433 main ()
4434 {
4435 class a { int b; } c;
4436   ;
4437   return 0;
4438 }
4439 _ACEOF
4440 rm -f conftest.$ac_objext
4441 if { (ac_try="$ac_compile"
4442 case "(($ac_try" in
4443   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4444   *) ac_try_echo=$ac_try;;
4445 esac
4446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4447   (eval "$ac_compile") 2>conftest.er1
4448   ac_status=$?
4449   grep -v '^ *+' conftest.er1 >conftest.err
4450   rm -f conftest.er1
4451   cat conftest.err >&5
4452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4453   (exit $ac_status); } && {
4454          test -z "$ac_cxx_werror_flag" ||
4455          test ! -s conftest.err
4456        } && test -s conftest.$ac_objext; then
4457   :
4458 else
4459   echo "$as_me: failed program was:" >&5
4460 sed 's/^/| /' conftest.$ac_ext >&5
4461
4462         CXX=
4463 fi
4464
4465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4466
4467
4468 if test "$CXX" != ""; then
4469   HAVE_CXX_TRUE=
4470   HAVE_CXX_FALSE='#'
4471 else
4472   HAVE_CXX_TRUE='#'
4473   HAVE_CXX_FALSE=
4474 fi
4475
4476 ac_ext=c
4477 ac_cpp='$CPP $CPPFLAGS'
4478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4481
4482
4483 #
4484 # Checks for HarfBuzz
4485 #
4486
4487 ac_ext=cpp
4488 ac_cpp='$CXXCPP $CPPFLAGS'
4489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4492 if test -z "$CXX"; then
4493   if test -n "$CCC"; then
4494     CXX=$CCC
4495   else
4496     if test -n "$ac_tool_prefix"; then
4497   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4498   do
4499     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4500 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4501 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4503 if test "${ac_cv_prog_CXX+set}" = set; then
4504   echo $ECHO_N "(cached) $ECHO_C" >&6
4505 else
4506   if test -n "$CXX"; then
4507   ac_cv_prog_CXX="$CXX" # Let the user override the test.
4508 else
4509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4510 for as_dir in $PATH
4511 do
4512   IFS=$as_save_IFS
4513   test -z "$as_dir" && as_dir=.
4514   for ac_exec_ext in '' $ac_executable_extensions; do
4515   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4516     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4517     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4518     break 2
4519   fi
4520 done
4521 done
4522 IFS=$as_save_IFS
4523
4524 fi
4525 fi
4526 CXX=$ac_cv_prog_CXX
4527 if test -n "$CXX"; then
4528   { echo "$as_me:$LINENO: result: $CXX" >&5
4529 echo "${ECHO_T}$CXX" >&6; }
4530 else
4531   { echo "$as_me:$LINENO: result: no" >&5
4532 echo "${ECHO_T}no" >&6; }
4533 fi
4534
4535
4536     test -n "$CXX" && break
4537   done
4538 fi
4539 if test -z "$CXX"; then
4540   ac_ct_CXX=$CXX
4541   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4542 do
4543   # Extract the first word of "$ac_prog", so it can be a program name with args.
4544 set dummy $ac_prog; ac_word=$2
4545 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4547 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4548   echo $ECHO_N "(cached) $ECHO_C" >&6
4549 else
4550   if test -n "$ac_ct_CXX"; then
4551   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4552 else
4553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4554 for as_dir in $PATH
4555 do
4556   IFS=$as_save_IFS
4557   test -z "$as_dir" && as_dir=.
4558   for ac_exec_ext in '' $ac_executable_extensions; do
4559   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4560     ac_cv_prog_ac_ct_CXX="$ac_prog"
4561     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4562     break 2
4563   fi
4564 done
4565 done
4566 IFS=$as_save_IFS
4567
4568 fi
4569 fi
4570 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4571 if test -n "$ac_ct_CXX"; then
4572   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4573 echo "${ECHO_T}$ac_ct_CXX" >&6; }
4574 else
4575   { echo "$as_me:$LINENO: result: no" >&5
4576 echo "${ECHO_T}no" >&6; }
4577 fi
4578
4579
4580   test -n "$ac_ct_CXX" && break
4581 done
4582
4583   if test "x$ac_ct_CXX" = x; then
4584     CXX="g++"
4585   else
4586     case $cross_compiling:$ac_tool_warned in
4587 yes:)
4588 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4589 whose name does not start with the host triplet.  If you think this
4590 configuration is useful to you, please write to autoconf@gnu.org." >&5
4591 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4592 whose name does not start with the host triplet.  If you think this
4593 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4594 ac_tool_warned=yes ;;
4595 esac
4596     CXX=$ac_ct_CXX
4597   fi
4598 fi
4599
4600   fi
4601 fi
4602 # Provide some information about the compiler.
4603 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4604 ac_compiler=`set X $ac_compile; echo $2`
4605 { (ac_try="$ac_compiler --version >&5"
4606 case "(($ac_try" in
4607   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4608   *) ac_try_echo=$ac_try;;
4609 esac
4610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4611   (eval "$ac_compiler --version >&5") 2>&5
4612   ac_status=$?
4613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4614   (exit $ac_status); }
4615 { (ac_try="$ac_compiler -v >&5"
4616 case "(($ac_try" in
4617   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4618   *) ac_try_echo=$ac_try;;
4619 esac
4620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4621   (eval "$ac_compiler -v >&5") 2>&5
4622   ac_status=$?
4623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4624   (exit $ac_status); }
4625 { (ac_try="$ac_compiler -V >&5"
4626 case "(($ac_try" in
4627   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4628   *) ac_try_echo=$ac_try;;
4629 esac
4630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4631   (eval "$ac_compiler -V >&5") 2>&5
4632   ac_status=$?
4633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4634   (exit $ac_status); }
4635
4636 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4637 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4638 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4639   echo $ECHO_N "(cached) $ECHO_C" >&6
4640 else
4641   cat >conftest.$ac_ext <<_ACEOF
4642 /* confdefs.h.  */
4643 _ACEOF
4644 cat confdefs.h >>conftest.$ac_ext
4645 cat >>conftest.$ac_ext <<_ACEOF
4646 /* end confdefs.h.  */
4647
4648 int
4649 main ()
4650 {
4651 #ifndef __GNUC__
4652        choke me
4653 #endif
4654
4655   ;
4656   return 0;
4657 }
4658 _ACEOF
4659 rm -f conftest.$ac_objext
4660 if { (ac_try="$ac_compile"
4661 case "(($ac_try" in
4662   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4663   *) ac_try_echo=$ac_try;;
4664 esac
4665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4666   (eval "$ac_compile") 2>conftest.er1
4667   ac_status=$?
4668   grep -v '^ *+' conftest.er1 >conftest.err
4669   rm -f conftest.er1
4670   cat conftest.err >&5
4671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4672   (exit $ac_status); } && {
4673          test -z "$ac_cxx_werror_flag" ||
4674          test ! -s conftest.err
4675        } && test -s conftest.$ac_objext; then
4676   ac_compiler_gnu=yes
4677 else
4678   echo "$as_me: failed program was:" >&5
4679 sed 's/^/| /' conftest.$ac_ext >&5
4680
4681         ac_compiler_gnu=no
4682 fi
4683
4684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4685 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4686
4687 fi
4688 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4689 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4690 GXX=`test $ac_compiler_gnu = yes && echo yes`
4691 ac_test_CXXFLAGS=${CXXFLAGS+set}
4692 ac_save_CXXFLAGS=$CXXFLAGS
4693 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4694 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4695 if test "${ac_cv_prog_cxx_g+set}" = set; then
4696   echo $ECHO_N "(cached) $ECHO_C" >&6
4697 else
4698   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4699    ac_cxx_werror_flag=yes
4700    ac_cv_prog_cxx_g=no
4701    CXXFLAGS="-g"
4702    cat >conftest.$ac_ext <<_ACEOF
4703 /* confdefs.h.  */
4704 _ACEOF
4705 cat confdefs.h >>conftest.$ac_ext
4706 cat >>conftest.$ac_ext <<_ACEOF
4707 /* end confdefs.h.  */
4708
4709 int
4710 main ()
4711 {
4712
4713   ;
4714   return 0;
4715 }
4716 _ACEOF
4717 rm -f conftest.$ac_objext
4718 if { (ac_try="$ac_compile"
4719 case "(($ac_try" in
4720   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4721   *) ac_try_echo=$ac_try;;
4722 esac
4723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4724   (eval "$ac_compile") 2>conftest.er1
4725   ac_status=$?
4726   grep -v '^ *+' conftest.er1 >conftest.err
4727   rm -f conftest.er1
4728   cat conftest.err >&5
4729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4730   (exit $ac_status); } && {
4731          test -z "$ac_cxx_werror_flag" ||
4732          test ! -s conftest.err
4733        } && test -s conftest.$ac_objext; then
4734   ac_cv_prog_cxx_g=yes
4735 else
4736   echo "$as_me: failed program was:" >&5
4737 sed 's/^/| /' conftest.$ac_ext >&5
4738
4739         CXXFLAGS=""
4740       cat >conftest.$ac_ext <<_ACEOF
4741 /* confdefs.h.  */
4742 _ACEOF
4743 cat confdefs.h >>conftest.$ac_ext
4744 cat >>conftest.$ac_ext <<_ACEOF
4745 /* end confdefs.h.  */
4746
4747 int
4748 main ()
4749 {
4750
4751   ;
4752   return 0;
4753 }
4754 _ACEOF
4755 rm -f conftest.$ac_objext
4756 if { (ac_try="$ac_compile"
4757 case "(($ac_try" in
4758   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4759   *) ac_try_echo=$ac_try;;
4760 esac
4761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4762   (eval "$ac_compile") 2>conftest.er1
4763   ac_status=$?
4764   grep -v '^ *+' conftest.er1 >conftest.err
4765   rm -f conftest.er1
4766   cat conftest.err >&5
4767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768   (exit $ac_status); } && {
4769          test -z "$ac_cxx_werror_flag" ||
4770          test ! -s conftest.err
4771        } && test -s conftest.$ac_objext; then
4772   :
4773 else
4774   echo "$as_me: failed program was:" >&5
4775 sed 's/^/| /' conftest.$ac_ext >&5
4776
4777         ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4778          CXXFLAGS="-g"
4779          cat >conftest.$ac_ext <<_ACEOF
4780 /* confdefs.h.  */
4781 _ACEOF
4782 cat confdefs.h >>conftest.$ac_ext
4783 cat >>conftest.$ac_ext <<_ACEOF
4784 /* end confdefs.h.  */
4785
4786 int
4787 main ()
4788 {
4789
4790   ;
4791   return 0;
4792 }
4793 _ACEOF
4794 rm -f conftest.$ac_objext
4795 if { (ac_try="$ac_compile"
4796 case "(($ac_try" in
4797   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4798   *) ac_try_echo=$ac_try;;
4799 esac
4800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4801   (eval "$ac_compile") 2>conftest.er1
4802   ac_status=$?
4803   grep -v '^ *+' conftest.er1 >conftest.err
4804   rm -f conftest.er1
4805   cat conftest.err >&5
4806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807   (exit $ac_status); } && {
4808          test -z "$ac_cxx_werror_flag" ||
4809          test ! -s conftest.err
4810        } && test -s conftest.$ac_objext; then
4811   ac_cv_prog_cxx_g=yes
4812 else
4813   echo "$as_me: failed program was:" >&5
4814 sed 's/^/| /' conftest.$ac_ext >&5
4815
4816
4817 fi
4818
4819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4820 fi
4821
4822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4823 fi
4824
4825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4826    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4827 fi
4828 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4829 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4830 if test "$ac_test_CXXFLAGS" = set; then
4831   CXXFLAGS=$ac_save_CXXFLAGS
4832 elif test $ac_cv_prog_cxx_g = yes; then
4833   if test "$GXX" = yes; then
4834     CXXFLAGS="-g -O2"
4835   else
4836     CXXFLAGS="-g"
4837   fi
4838 else
4839   if test "$GXX" = yes; then
4840     CXXFLAGS="-O2"
4841   else
4842     CXXFLAGS=
4843   fi
4844 fi
4845 ac_ext=c
4846 ac_cpp='$CPP $CPPFLAGS'
4847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4850
4851 depcc="$CXX"  am_compiler_list=
4852
4853 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4854 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4855 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4856   echo $ECHO_N "(cached) $ECHO_C" >&6
4857 else
4858   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4859   # We make a subdir and do the tests there.  Otherwise we can end up
4860   # making bogus files that we don't know about and never remove.  For
4861   # instance it was reported that on HP-UX the gcc test will end up
4862   # making a dummy file named `D' -- because `-MD' means `put the output
4863   # in D'.
4864   mkdir conftest.dir
4865   # Copy depcomp to subdir because otherwise we won't find it if we're
4866   # using a relative directory.
4867   cp "$am_depcomp" conftest.dir
4868   cd conftest.dir
4869   # We will build objects and dependencies in a subdirectory because
4870   # it helps to detect inapplicable dependency modes.  For instance
4871   # both Tru64's cc and ICC support -MD to output dependencies as a
4872   # side effect of compilation, but ICC will put the dependencies in
4873   # the current directory while Tru64 will put them in the object
4874   # directory.
4875   mkdir sub
4876
4877   am_cv_CXX_dependencies_compiler_type=none
4878   if test "$am_compiler_list" = ""; then
4879      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4880   fi
4881   for depmode in $am_compiler_list; do
4882     # Setup a source with many dependencies, because some compilers
4883     # like to wrap large dependency lists on column 80 (with \), and
4884     # we should not choose a depcomp mode which is confused by this.
4885     #
4886     # We need to recreate these files for each test, as the compiler may
4887     # overwrite some of them when testing with obscure command lines.
4888     # This happens at least with the AIX C compiler.
4889     : > sub/conftest.c
4890     for i in 1 2 3 4 5 6; do
4891       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4892       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4893       # Solaris 8's {/usr,}/bin/sh.
4894       touch sub/conftst$i.h
4895     done
4896     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4897
4898     case $depmode in
4899     nosideeffect)
4900       # after this tag, mechanisms are not by side-effect, so they'll
4901       # only be used when explicitly requested
4902       if test "x$enable_dependency_tracking" = xyes; then
4903         continue
4904       else
4905         break
4906       fi
4907       ;;
4908     none) break ;;
4909     esac
4910     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4911     # mode.  It turns out that the SunPro C++ compiler does not properly
4912     # handle `-M -o', and we need to detect this.
4913     if depmode=$depmode \
4914        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4915        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4916        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4917          >/dev/null 2>conftest.err &&
4918        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4919        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4920        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4921       # icc doesn't choke on unknown options, it will just issue warnings
4922       # or remarks (even with -Werror).  So we grep stderr for any message
4923       # that says an option was ignored or not supported.
4924       # When given -MP, icc 7.0 and 7.1 complain thusly:
4925       #   icc: Command line warning: ignoring option '-M'; no argument required
4926       # The diagnosis changed in icc 8.0:
4927       #   icc: Command line remark: option '-MP' not supported
4928       if (grep 'ignoring option' conftest.err ||
4929           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4930         am_cv_CXX_dependencies_compiler_type=$depmode
4931         break
4932       fi
4933     fi
4934   done
4935
4936   cd ..
4937   rm -rf conftest.dir
4938 else
4939   am_cv_CXX_dependencies_compiler_type=none
4940 fi
4941
4942 fi
4943 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4944 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
4945 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4946
4947
4948
4949 if
4950   test "x$enable_dependency_tracking" != xno \
4951   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4952   am__fastdepCXX_TRUE=
4953   am__fastdepCXX_FALSE='#'
4954 else
4955   am__fastdepCXX_TRUE='#'
4956   am__fastdepCXX_FALSE=
4957 fi
4958
4959
4960
4961
4962
4963
4964 for ac_func in mprotect sysconf getpagesize
4965 do
4966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4967 { echo "$as_me:$LINENO: checking for $ac_func" >&5
4968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4969 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4970   echo $ECHO_N "(cached) $ECHO_C" >&6
4971 else
4972   cat >conftest.$ac_ext <<_ACEOF
4973 /* confdefs.h.  */
4974 _ACEOF
4975 cat confdefs.h >>conftest.$ac_ext
4976 cat >>conftest.$ac_ext <<_ACEOF
4977 /* end confdefs.h.  */
4978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4979    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4980 #define $ac_func innocuous_$ac_func
4981
4982 /* System header to define __stub macros and hopefully few prototypes,
4983     which can conflict with char $ac_func (); below.
4984     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4985     <limits.h> exists even on freestanding compilers.  */
4986
4987 #ifdef __STDC__
4988 # include <limits.h>
4989 #else
4990 # include <assert.h>
4991 #endif
4992
4993 #undef $ac_func
4994
4995 /* Override any GCC internal prototype to avoid an error.
4996    Use char because int might match the return type of a GCC
4997    builtin and then its argument prototype would still apply.  */
4998 #ifdef __cplusplus
4999 extern "C"
5000 #endif
5001 char $ac_func ();
5002 /* The GNU C library defines this for functions which it implements
5003     to always fail with ENOSYS.  Some functions are actually named
5004     something starting with __ and the normal name is an alias.  */
5005 #if defined __stub_$ac_func || defined __stub___$ac_func
5006 choke me
5007 #endif
5008
5009 int
5010 main ()
5011 {
5012 return $ac_func ();
5013   ;
5014   return 0;
5015 }
5016 _ACEOF
5017 rm -f conftest.$ac_objext conftest$ac_exeext
5018 if { (ac_try="$ac_link"
5019 case "(($ac_try" in
5020   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5021   *) ac_try_echo=$ac_try;;
5022 esac
5023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5024   (eval "$ac_link") 2>conftest.er1
5025   ac_status=$?
5026   grep -v '^ *+' conftest.er1 >conftest.err
5027   rm -f conftest.er1
5028   cat conftest.err >&5
5029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030   (exit $ac_status); } && {
5031          test -z "$ac_c_werror_flag" ||
5032          test ! -s conftest.err
5033        } && test -s conftest$ac_exeext &&
5034        $as_test_x conftest$ac_exeext; then
5035   eval "$as_ac_var=yes"
5036 else
5037   echo "$as_me: failed program was:" >&5
5038 sed 's/^/| /' conftest.$ac_ext >&5
5039
5040         eval "$as_ac_var=no"
5041 fi
5042
5043 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5044       conftest$ac_exeext conftest.$ac_ext
5045 fi
5046 ac_res=`eval echo '${'$as_ac_var'}'`
5047                { echo "$as_me:$LINENO: result: $ac_res" >&5
5048 echo "${ECHO_T}$ac_res" >&6; }
5049 if test `eval echo '${'$as_ac_var'}'` = yes; then
5050   cat >>confdefs.h <<_ACEOF
5051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5052 _ACEOF
5053
5054 fi
5055 done
5056
5057 ac_ext=c
5058 ac_cpp='$CPP $CPPFLAGS'
5059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5062 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5063 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5064 # On Suns, sometimes $CPP names a directory.
5065 if test -n "$CPP" && test -d "$CPP"; then
5066   CPP=
5067 fi
5068 if test -z "$CPP"; then
5069   if test "${ac_cv_prog_CPP+set}" = set; then
5070   echo $ECHO_N "(cached) $ECHO_C" >&6
5071 else
5072       # Double quotes because CPP needs to be expanded
5073     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5074     do
5075       ac_preproc_ok=false
5076 for ac_c_preproc_warn_flag in '' yes
5077 do
5078   # Use a header file that comes with gcc, so configuring glibc
5079   # with a fresh cross-compiler works.
5080   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5081   # <limits.h> exists even on freestanding compilers.
5082   # On the NeXT, cc -E runs the code through the compiler's parser,
5083   # not just through cpp. "Syntax error" is here to catch this case.
5084   cat >conftest.$ac_ext <<_ACEOF
5085 /* confdefs.h.  */
5086 _ACEOF
5087 cat confdefs.h >>conftest.$ac_ext
5088 cat >>conftest.$ac_ext <<_ACEOF
5089 /* end confdefs.h.  */
5090 #ifdef __STDC__
5091 # include <limits.h>
5092 #else
5093 # include <assert.h>
5094 #endif
5095                      Syntax error
5096 _ACEOF
5097 if { (ac_try="$ac_cpp conftest.$ac_ext"
5098 case "(($ac_try" in
5099   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5100   *) ac_try_echo=$ac_try;;
5101 esac
5102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5103   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5104   ac_status=$?
5105   grep -v '^ *+' conftest.er1 >conftest.err
5106   rm -f conftest.er1
5107   cat conftest.err >&5
5108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109   (exit $ac_status); } >/dev/null && {
5110          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5111          test ! -s conftest.err
5112        }; then
5113   :
5114 else
5115   echo "$as_me: failed program was:" >&5
5116 sed 's/^/| /' conftest.$ac_ext >&5
5117
5118   # Broken: fails on valid input.
5119 continue
5120 fi
5121
5122 rm -f conftest.err conftest.$ac_ext
5123
5124   # OK, works on sane cases.  Now check whether nonexistent headers
5125   # can be detected and how.
5126   cat >conftest.$ac_ext <<_ACEOF
5127 /* confdefs.h.  */
5128 _ACEOF
5129 cat confdefs.h >>conftest.$ac_ext
5130 cat >>conftest.$ac_ext <<_ACEOF
5131 /* end confdefs.h.  */
5132 #include <ac_nonexistent.h>
5133 _ACEOF
5134 if { (ac_try="$ac_cpp conftest.$ac_ext"
5135 case "(($ac_try" in
5136   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5137   *) ac_try_echo=$ac_try;;
5138 esac
5139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5140   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5141   ac_status=$?
5142   grep -v '^ *+' conftest.er1 >conftest.err
5143   rm -f conftest.er1
5144   cat conftest.err >&5
5145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5146   (exit $ac_status); } >/dev/null && {
5147          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5148          test ! -s conftest.err
5149        }; then
5150   # Broken: success on invalid input.
5151 continue
5152 else
5153   echo "$as_me: failed program was:" >&5
5154 sed 's/^/| /' conftest.$ac_ext >&5
5155
5156   # Passes both tests.
5157 ac_preproc_ok=:
5158 break
5159 fi
5160
5161 rm -f conftest.err conftest.$ac_ext
5162
5163 done
5164 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5165 rm -f conftest.err conftest.$ac_ext
5166 if $ac_preproc_ok; then
5167   break
5168 fi
5169
5170     done
5171     ac_cv_prog_CPP=$CPP
5172
5173 fi
5174   CPP=$ac_cv_prog_CPP
5175 else
5176   ac_cv_prog_CPP=$CPP
5177 fi
5178 { echo "$as_me:$LINENO: result: $CPP" >&5
5179 echo "${ECHO_T}$CPP" >&6; }
5180 ac_preproc_ok=false
5181 for ac_c_preproc_warn_flag in '' yes
5182 do
5183   # Use a header file that comes with gcc, so configuring glibc
5184   # with a fresh cross-compiler works.
5185   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5186   # <limits.h> exists even on freestanding compilers.
5187   # On the NeXT, cc -E runs the code through the compiler's parser,
5188   # not just through cpp. "Syntax error" is here to catch this case.
5189   cat >conftest.$ac_ext <<_ACEOF
5190 /* confdefs.h.  */
5191 _ACEOF
5192 cat confdefs.h >>conftest.$ac_ext
5193 cat >>conftest.$ac_ext <<_ACEOF
5194 /* end confdefs.h.  */
5195 #ifdef __STDC__
5196 # include <limits.h>
5197 #else
5198 # include <assert.h>
5199 #endif
5200                      Syntax error
5201 _ACEOF
5202 if { (ac_try="$ac_cpp conftest.$ac_ext"
5203 case "(($ac_try" in
5204   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5205   *) ac_try_echo=$ac_try;;
5206 esac
5207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5208   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5209   ac_status=$?
5210   grep -v '^ *+' conftest.er1 >conftest.err
5211   rm -f conftest.er1
5212   cat conftest.err >&5
5213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5214   (exit $ac_status); } >/dev/null && {
5215          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5216          test ! -s conftest.err
5217        }; then
5218   :
5219 else
5220   echo "$as_me: failed program was:" >&5
5221 sed 's/^/| /' conftest.$ac_ext >&5
5222
5223   # Broken: fails on valid input.
5224 continue
5225 fi
5226
5227 rm -f conftest.err conftest.$ac_ext
5228
5229   # OK, works on sane cases.  Now check whether nonexistent headers
5230   # can be detected and how.
5231   cat >conftest.$ac_ext <<_ACEOF
5232 /* confdefs.h.  */
5233 _ACEOF
5234 cat confdefs.h >>conftest.$ac_ext
5235 cat >>conftest.$ac_ext <<_ACEOF
5236 /* end confdefs.h.  */
5237 #include <ac_nonexistent.h>
5238 _ACEOF
5239 if { (ac_try="$ac_cpp conftest.$ac_ext"
5240 case "(($ac_try" in
5241   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5242   *) ac_try_echo=$ac_try;;
5243 esac
5244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5245   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5246   ac_status=$?
5247   grep -v '^ *+' conftest.er1 >conftest.err
5248   rm -f conftest.er1
5249   cat conftest.err >&5
5250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5251   (exit $ac_status); } >/dev/null && {
5252          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5253          test ! -s conftest.err
5254        }; then
5255   # Broken: success on invalid input.
5256 continue
5257 else
5258   echo "$as_me: failed program was:" >&5
5259 sed 's/^/| /' conftest.$ac_ext >&5
5260
5261   # Passes both tests.
5262 ac_preproc_ok=:
5263 break
5264 fi
5265
5266 rm -f conftest.err conftest.$ac_ext
5267
5268 done
5269 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5270 rm -f conftest.err conftest.$ac_ext
5271 if $ac_preproc_ok; then
5272   :
5273 else
5274   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5275 See \`config.log' for more details." >&5
5276 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5277 See \`config.log' for more details." >&2;}
5278    { (exit 1); exit 1; }; }
5279 fi
5280
5281 ac_ext=c
5282 ac_cpp='$CPP $CPPFLAGS'
5283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5286
5287
5288 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5289 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5290 if test "${ac_cv_path_GREP+set}" = set; then
5291   echo $ECHO_N "(cached) $ECHO_C" >&6
5292 else
5293   # Extract the first word of "grep ggrep" to use in msg output
5294 if test -z "$GREP"; then
5295 set dummy grep ggrep; ac_prog_name=$2
5296 if test "${ac_cv_path_GREP+set}" = set; then
5297   echo $ECHO_N "(cached) $ECHO_C" >&6
5298 else
5299   ac_path_GREP_found=false
5300 # Loop through the user's path and test for each of PROGNAME-LIST
5301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5302 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5303 do
5304   IFS=$as_save_IFS
5305   test -z "$as_dir" && as_dir=.
5306   for ac_prog in grep ggrep; do
5307   for ac_exec_ext in '' $ac_executable_extensions; do
5308     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5309     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5310     # Check for GNU ac_path_GREP and select it if it is found.
5311   # Check for GNU $ac_path_GREP
5312 case `"$ac_path_GREP" --version 2>&1` in
5313 *GNU*)
5314   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5315 *)
5316   ac_count=0
5317   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5318   while :
5319   do
5320     cat "conftest.in" "conftest.in" >"conftest.tmp"
5321     mv "conftest.tmp" "conftest.in"
5322     cp "conftest.in" "conftest.nl"
5323     echo 'GREP' >> "conftest.nl"
5324     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5325     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5326     ac_count=`expr $ac_count + 1`
5327     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5328       # Best one so far, save it but keep looking for a better one
5329       ac_cv_path_GREP="$ac_path_GREP"
5330       ac_path_GREP_max=$ac_count
5331     fi
5332     # 10*(2^10) chars as input seems more than enough
5333     test $ac_count -gt 10 && break
5334   done
5335   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5336 esac
5337
5338
5339     $ac_path_GREP_found && break 3
5340   done
5341 done
5342
5343 done
5344 IFS=$as_save_IFS
5345
5346
5347 fi
5348
5349 GREP="$ac_cv_path_GREP"
5350 if test -z "$GREP"; then
5351   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5352 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5353    { (exit 1); exit 1; }; }
5354 fi
5355
5356 else
5357   ac_cv_path_GREP=$GREP
5358 fi
5359
5360
5361 fi
5362 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5363 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5364  GREP="$ac_cv_path_GREP"
5365
5366
5367 { echo "$as_me:$LINENO: checking for egrep" >&5
5368 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5369 if test "${ac_cv_path_EGREP+set}" = set; then
5370   echo $ECHO_N "(cached) $ECHO_C" >&6
5371 else
5372   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5373    then ac_cv_path_EGREP="$GREP -E"
5374    else
5375      # Extract the first word of "egrep" to use in msg output
5376 if test -z "$EGREP"; then
5377 set dummy egrep; ac_prog_name=$2
5378 if test "${ac_cv_path_EGREP+set}" = set; then
5379   echo $ECHO_N "(cached) $ECHO_C" >&6
5380 else
5381   ac_path_EGREP_found=false
5382 # Loop through the user's path and test for each of PROGNAME-LIST
5383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5384 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5385 do
5386   IFS=$as_save_IFS
5387   test -z "$as_dir" && as_dir=.
5388   for ac_prog in egrep; do
5389   for ac_exec_ext in '' $ac_executable_extensions; do
5390     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5391     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5392     # Check for GNU ac_path_EGREP and select it if it is found.
5393   # Check for GNU $ac_path_EGREP
5394 case `"$ac_path_EGREP" --version 2>&1` in
5395 *GNU*)
5396   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5397 *)
5398   ac_count=0
5399   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5400   while :
5401   do
5402     cat "conftest.in" "conftest.in" >"conftest.tmp"
5403     mv "conftest.tmp" "conftest.in"
5404     cp "conftest.in" "conftest.nl"
5405     echo 'EGREP' >> "conftest.nl"
5406     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5407     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5408     ac_count=`expr $ac_count + 1`
5409     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5410       # Best one so far, save it but keep looking for a better one
5411       ac_cv_path_EGREP="$ac_path_EGREP"
5412       ac_path_EGREP_max=$ac_count
5413     fi
5414     # 10*(2^10) chars as input seems more than enough
5415     test $ac_count -gt 10 && break
5416   done
5417   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5418 esac
5419
5420
5421     $ac_path_EGREP_found && break 3
5422   done
5423 done
5424
5425 done
5426 IFS=$as_save_IFS
5427
5428
5429 fi
5430
5431 EGREP="$ac_cv_path_EGREP"
5432 if test -z "$EGREP"; then
5433   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5434 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5435    { (exit 1); exit 1; }; }
5436 fi
5437
5438 else
5439   ac_cv_path_EGREP=$EGREP
5440 fi
5441
5442
5443    fi
5444 fi
5445 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5446 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5447  EGREP="$ac_cv_path_EGREP"
5448
5449
5450 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5451 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5452 if test "${ac_cv_header_stdc+set}" = set; then
5453   echo $ECHO_N "(cached) $ECHO_C" >&6
5454 else
5455   cat >conftest.$ac_ext <<_ACEOF
5456 /* confdefs.h.  */
5457 _ACEOF
5458 cat confdefs.h >>conftest.$ac_ext
5459 cat >>conftest.$ac_ext <<_ACEOF
5460 /* end confdefs.h.  */
5461 #include <stdlib.h>
5462 #include <stdarg.h>
5463 #include <string.h>
5464 #include <float.h>
5465
5466 int
5467 main ()
5468 {
5469
5470   ;
5471   return 0;
5472 }
5473 _ACEOF
5474 rm -f conftest.$ac_objext
5475 if { (ac_try="$ac_compile"
5476 case "(($ac_try" in
5477   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5478   *) ac_try_echo=$ac_try;;
5479 esac
5480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5481   (eval "$ac_compile") 2>conftest.er1
5482   ac_status=$?
5483   grep -v '^ *+' conftest.er1 >conftest.err
5484   rm -f conftest.er1
5485   cat conftest.err >&5
5486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5487   (exit $ac_status); } && {
5488          test -z "$ac_c_werror_flag" ||
5489          test ! -s conftest.err
5490        } && test -s conftest.$ac_objext; then
5491   ac_cv_header_stdc=yes
5492 else
5493   echo "$as_me: failed program was:" >&5
5494 sed 's/^/| /' conftest.$ac_ext >&5
5495
5496         ac_cv_header_stdc=no
5497 fi
5498
5499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5500
5501 if test $ac_cv_header_stdc = yes; then
5502   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5503   cat >conftest.$ac_ext <<_ACEOF
5504 /* confdefs.h.  */
5505 _ACEOF
5506 cat confdefs.h >>conftest.$ac_ext
5507 cat >>conftest.$ac_ext <<_ACEOF
5508 /* end confdefs.h.  */
5509 #include <string.h>
5510
5511 _ACEOF
5512 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5513   $EGREP "memchr" >/dev/null 2>&1; then
5514   :
5515 else
5516   ac_cv_header_stdc=no
5517 fi
5518 rm -f conftest*
5519
5520 fi
5521
5522 if test $ac_cv_header_stdc = yes; then
5523   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5524   cat >conftest.$ac_ext <<_ACEOF
5525 /* confdefs.h.  */
5526 _ACEOF
5527 cat confdefs.h >>conftest.$ac_ext
5528 cat >>conftest.$ac_ext <<_ACEOF
5529 /* end confdefs.h.  */
5530 #include <stdlib.h>
5531
5532 _ACEOF
5533 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5534   $EGREP "free" >/dev/null 2>&1; then
5535   :
5536 else
5537   ac_cv_header_stdc=no
5538 fi
5539 rm -f conftest*
5540
5541 fi
5542
5543 if test $ac_cv_header_stdc = yes; then
5544   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5545   if test "$cross_compiling" = yes; then
5546   :
5547 else
5548   cat >conftest.$ac_ext <<_ACEOF
5549 /* confdefs.h.  */
5550 _ACEOF
5551 cat confdefs.h >>conftest.$ac_ext
5552 cat >>conftest.$ac_ext <<_ACEOF
5553 /* end confdefs.h.  */
5554 #include <ctype.h>
5555 #include <stdlib.h>
5556 #if ((' ' & 0x0FF) == 0x020)
5557 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5558 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5559 #else
5560 # define ISLOWER(c) \
5561                    (('a' <= (c) && (c) <= 'i') \
5562                      || ('j' <= (c) && (c) <= 'r') \
5563                      || ('s' <= (c) && (c) <= 'z'))
5564 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5565 #endif
5566
5567 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5568 int
5569 main ()
5570 {
5571   int i;
5572   for (i = 0; i < 256; i++)
5573     if (XOR (islower (i), ISLOWER (i))
5574         || toupper (i) != TOUPPER (i))
5575       return 2;
5576   return 0;
5577 }
5578 _ACEOF
5579 rm -f conftest$ac_exeext
5580 if { (ac_try="$ac_link"
5581 case "(($ac_try" in
5582   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5583   *) ac_try_echo=$ac_try;;
5584 esac
5585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5586   (eval "$ac_link") 2>&5
5587   ac_status=$?
5588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5589   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5590   { (case "(($ac_try" in
5591   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5592   *) ac_try_echo=$ac_try;;
5593 esac
5594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5595   (eval "$ac_try") 2>&5
5596   ac_status=$?
5597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5598   (exit $ac_status); }; }; then
5599   :
5600 else
5601   echo "$as_me: program exited with status $ac_status" >&5
5602 echo "$as_me: failed program was:" >&5
5603 sed 's/^/| /' conftest.$ac_ext >&5
5604
5605 ( exit $ac_status )
5606 ac_cv_header_stdc=no
5607 fi
5608 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5609 fi
5610
5611
5612 fi
5613 fi
5614 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5615 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5616 if test $ac_cv_header_stdc = yes; then
5617
5618 cat >>confdefs.h <<\_ACEOF
5619 #define STDC_HEADERS 1
5620 _ACEOF
5621
5622 fi
5623
5624 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5635                   inttypes.h stdint.h unistd.h
5636 do
5637 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5638 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5640 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5641   echo $ECHO_N "(cached) $ECHO_C" >&6
5642 else
5643   cat >conftest.$ac_ext <<_ACEOF
5644 /* confdefs.h.  */
5645 _ACEOF
5646 cat confdefs.h >>conftest.$ac_ext
5647 cat >>conftest.$ac_ext <<_ACEOF
5648 /* end confdefs.h.  */
5649 $ac_includes_default
5650
5651 #include <$ac_header>
5652 _ACEOF
5653 rm -f conftest.$ac_objext
5654 if { (ac_try="$ac_compile"
5655 case "(($ac_try" in
5656   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5657   *) ac_try_echo=$ac_try;;
5658 esac
5659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5660   (eval "$ac_compile") 2>conftest.er1
5661   ac_status=$?
5662   grep -v '^ *+' conftest.er1 >conftest.err
5663   rm -f conftest.er1
5664   cat conftest.err >&5
5665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5666   (exit $ac_status); } && {
5667          test -z "$ac_c_werror_flag" ||
5668          test ! -s conftest.err
5669        } && test -s conftest.$ac_objext; then
5670   eval "$as_ac_Header=yes"
5671 else
5672   echo "$as_me: failed program was:" >&5
5673 sed 's/^/| /' conftest.$ac_ext >&5
5674
5675         eval "$as_ac_Header=no"
5676 fi
5677
5678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5679 fi
5680 ac_res=`eval echo '${'$as_ac_Header'}'`
5681                { echo "$as_me:$LINENO: result: $ac_res" >&5
5682 echo "${ECHO_T}$ac_res" >&6; }
5683 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5684   cat >>confdefs.h <<_ACEOF
5685 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5686 _ACEOF
5687
5688 fi
5689
5690 done
5691
5692
5693
5694
5695 for ac_header in unistd.h sys/mman.h
5696 do
5697 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5698 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5699   { echo "$as_me:$LINENO: checking for $ac_header" >&5
5700 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5701 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5702   echo $ECHO_N "(cached) $ECHO_C" >&6
5703 fi
5704 ac_res=`eval echo '${'$as_ac_Header'}'`
5705                { echo "$as_me:$LINENO: result: $ac_res" >&5
5706 echo "${ECHO_T}$ac_res" >&6; }
5707 else
5708   # Is the header compilable?
5709 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5710 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5711 cat >conftest.$ac_ext <<_ACEOF
5712 /* confdefs.h.  */
5713 _ACEOF
5714 cat confdefs.h >>conftest.$ac_ext
5715 cat >>conftest.$ac_ext <<_ACEOF
5716 /* end confdefs.h.  */
5717 $ac_includes_default
5718 #include <$ac_header>
5719 _ACEOF
5720 rm -f conftest.$ac_objext
5721 if { (ac_try="$ac_compile"
5722 case "(($ac_try" in
5723   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5724   *) ac_try_echo=$ac_try;;
5725 esac
5726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5727   (eval "$ac_compile") 2>conftest.er1
5728   ac_status=$?
5729   grep -v '^ *+' conftest.er1 >conftest.err
5730   rm -f conftest.er1
5731   cat conftest.err >&5
5732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5733   (exit $ac_status); } && {
5734          test -z "$ac_c_werror_flag" ||
5735          test ! -s conftest.err
5736        } && test -s conftest.$ac_objext; then
5737   ac_header_compiler=yes
5738 else
5739   echo "$as_me: failed program was:" >&5
5740 sed 's/^/| /' conftest.$ac_ext >&5
5741
5742         ac_header_compiler=no
5743 fi
5744
5745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5746 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5747 echo "${ECHO_T}$ac_header_compiler" >&6; }
5748
5749 # Is the header present?
5750 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5751 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5752 cat >conftest.$ac_ext <<_ACEOF
5753 /* confdefs.h.  */
5754 _ACEOF
5755 cat confdefs.h >>conftest.$ac_ext
5756 cat >>conftest.$ac_ext <<_ACEOF
5757 /* end confdefs.h.  */
5758 #include <$ac_header>
5759 _ACEOF
5760 if { (ac_try="$ac_cpp conftest.$ac_ext"
5761 case "(($ac_try" in
5762   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5763   *) ac_try_echo=$ac_try;;
5764 esac
5765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5766   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5767   ac_status=$?
5768   grep -v '^ *+' conftest.er1 >conftest.err
5769   rm -f conftest.er1
5770   cat conftest.err >&5
5771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5772   (exit $ac_status); } >/dev/null && {
5773          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5774          test ! -s conftest.err
5775        }; then
5776   ac_header_preproc=yes
5777 else
5778   echo "$as_me: failed program was:" >&5
5779 sed 's/^/| /' conftest.$ac_ext >&5
5780
5781   ac_header_preproc=no
5782 fi
5783
5784 rm -f conftest.err conftest.$ac_ext
5785 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5786 echo "${ECHO_T}$ac_header_preproc" >&6; }
5787
5788 # So?  What about this header?
5789 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5790   yes:no: )
5791     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5792 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5793     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5794 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5795     ac_header_preproc=yes
5796     ;;
5797   no:yes:* )
5798     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5799 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5800     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5801 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5802     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5803 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5804     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5805 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5806     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5807 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5808     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5809 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5810     ( cat <<\_ASBOX
5811 ## -------------------------------------------------------------------- ##
5812 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=pango ##
5813 ## -------------------------------------------------------------------- ##
5814 _ASBOX
5815      ) | sed "s/^/$as_me: WARNING:     /" >&2
5816     ;;
5817 esac
5818 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5820 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5821   echo $ECHO_N "(cached) $ECHO_C" >&6
5822 else
5823   eval "$as_ac_Header=\$ac_header_preproc"
5824 fi
5825 ac_res=`eval echo '${'$as_ac_Header'}'`
5826                { echo "$as_me:$LINENO: result: $ac_res" >&5
5827 echo "${ECHO_T}$ac_res" >&6; }
5828
5829 fi
5830 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5831   cat >>confdefs.h <<_ACEOF
5832 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5833 _ACEOF
5834
5835 fi
5836
5837 done
5838
5839
5840 # Make sure we don't link to libstdc++ (needs de-gcc-fication)
5841 CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions"
5842
5843
5844 #
5845 # Win32 stuff
5846 #
5847
5848 enable_win32_dll=yes
5849
5850 case $host in
5851 *-*-cygwin* | *-*-mingw* | *-*-pw32*)
5852   if test -n "$ac_tool_prefix"; then
5853   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5854 set dummy ${ac_tool_prefix}as; ac_word=$2
5855 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5857 if test "${ac_cv_prog_AS+set}" = set; then
5858   echo $ECHO_N "(cached) $ECHO_C" >&6
5859 else
5860   if test -n "$AS"; then
5861   ac_cv_prog_AS="$AS" # Let the user override the test.
5862 else
5863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5864 for as_dir in $PATH
5865 do
5866   IFS=$as_save_IFS
5867   test -z "$as_dir" && as_dir=.
5868   for ac_exec_ext in '' $ac_executable_extensions; do
5869   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5870     ac_cv_prog_AS="${ac_tool_prefix}as"
5871     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5872     break 2
5873   fi
5874 done
5875 done
5876 IFS=$as_save_IFS
5877
5878 fi
5879 fi
5880 AS=$ac_cv_prog_AS
5881 if test -n "$AS"; then
5882   { echo "$as_me:$LINENO: result: $AS" >&5
5883 echo "${ECHO_T}$AS" >&6; }
5884 else
5885   { echo "$as_me:$LINENO: result: no" >&5
5886 echo "${ECHO_T}no" >&6; }
5887 fi
5888
5889
5890 fi
5891 if test -z "$ac_cv_prog_AS"; then
5892   ac_ct_AS=$AS
5893   # Extract the first word of "as", so it can be a program name with args.
5894 set dummy as; ac_word=$2
5895 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5897 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5898   echo $ECHO_N "(cached) $ECHO_C" >&6
5899 else
5900   if test -n "$ac_ct_AS"; then
5901   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5902 else
5903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5904 for as_dir in $PATH
5905 do
5906   IFS=$as_save_IFS
5907   test -z "$as_dir" && as_dir=.
5908   for ac_exec_ext in '' $ac_executable_extensions; do
5909   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5910     ac_cv_prog_ac_ct_AS="as"
5911     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5912     break 2
5913   fi
5914 done
5915 done
5916 IFS=$as_save_IFS
5917
5918 fi
5919 fi
5920 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5921 if test -n "$ac_ct_AS"; then
5922   { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5923 echo "${ECHO_T}$ac_ct_AS" >&6; }
5924 else
5925   { echo "$as_me:$LINENO: result: no" >&5
5926 echo "${ECHO_T}no" >&6; }
5927 fi
5928
5929   if test "x$ac_ct_AS" = x; then
5930     AS="false"
5931   else
5932     case $cross_compiling:$ac_tool_warned in
5933 yes:)
5934 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5935 whose name does not start with the host triplet.  If you think this
5936 configuration is useful to you, please write to autoconf@gnu.org." >&5
5937 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5938 whose name does not start with the host triplet.  If you think this
5939 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5940 ac_tool_warned=yes ;;
5941 esac
5942     AS=$ac_ct_AS
5943   fi
5944 else
5945   AS="$ac_cv_prog_AS"
5946 fi
5947
5948   if test -n "$ac_tool_prefix"; then
5949   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5950 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5951 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5953 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
5954   echo $ECHO_N "(cached) $ECHO_C" >&6
5955 else
5956   if test -n "$DLLTOOL"; then
5957   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5958 else
5959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5960 for as_dir in $PATH
5961 do
5962   IFS=$as_save_IFS
5963   test -z "$as_dir" && as_dir=.
5964   for ac_exec_ext in '' $ac_executable_extensions; do
5965   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5966     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5967     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5968     break 2
5969   fi
5970 done
5971 done
5972 IFS=$as_save_IFS
5973
5974 fi
5975 fi
5976 DLLTOOL=$ac_cv_prog_DLLTOOL
5977 if test -n "$DLLTOOL"; then
5978   { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
5979 echo "${ECHO_T}$DLLTOOL" >&6; }
5980 else
5981   { echo "$as_me:$LINENO: result: no" >&5
5982 echo "${ECHO_T}no" >&6; }
5983 fi
5984
5985
5986 fi
5987 if test -z "$ac_cv_prog_DLLTOOL"; then
5988   ac_ct_DLLTOOL=$DLLTOOL
5989   # Extract the first word of "dlltool", so it can be a program name with args.
5990 set dummy dlltool; ac_word=$2
5991 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5993 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
5994   echo $ECHO_N "(cached) $ECHO_C" >&6
5995 else
5996   if test -n "$ac_ct_DLLTOOL"; then
5997   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5998 else
5999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6000 for as_dir in $PATH
6001 do
6002   IFS=$as_save_IFS
6003   test -z "$as_dir" && as_dir=.
6004   for ac_exec_ext in '' $ac_executable_extensions; do
6005   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6006     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6007     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6008     break 2
6009   fi
6010 done
6011 done
6012 IFS=$as_save_IFS
6013
6014 fi
6015 fi
6016 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6017 if test -n "$ac_ct_DLLTOOL"; then
6018   { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
6019 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
6020 else
6021   { echo "$as_me:$LINENO: result: no" >&5
6022 echo "${ECHO_T}no" >&6; }
6023 fi
6024
6025   if test "x$ac_ct_DLLTOOL" = x; then
6026     DLLTOOL="false"
6027   else
6028     case $cross_compiling:$ac_tool_warned in
6029 yes:)
6030 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6031 whose name does not start with the host triplet.  If you think this
6032 configuration is useful to you, please write to autoconf@gnu.org." >&5
6033 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6034 whose name does not start with the host triplet.  If you think this
6035 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6036 ac_tool_warned=yes ;;
6037 esac
6038     DLLTOOL=$ac_ct_DLLTOOL
6039   fi
6040 else
6041   DLLTOOL="$ac_cv_prog_DLLTOOL"
6042 fi
6043
6044   if test -n "$ac_tool_prefix"; then
6045   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6046 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6049 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
6050   echo $ECHO_N "(cached) $ECHO_C" >&6
6051 else
6052   if test -n "$OBJDUMP"; then
6053   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6054 else
6055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6056 for as_dir in $PATH
6057 do
6058   IFS=$as_save_IFS
6059   test -z "$as_dir" && as_dir=.
6060   for ac_exec_ext in '' $ac_executable_extensions; do
6061   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6062     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6063     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6064     break 2
6065   fi
6066 done
6067 done
6068 IFS=$as_save_IFS
6069
6070 fi
6071 fi
6072 OBJDUMP=$ac_cv_prog_OBJDUMP
6073 if test -n "$OBJDUMP"; then
6074   { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
6075 echo "${ECHO_T}$OBJDUMP" >&6; }
6076 else
6077   { echo "$as_me:$LINENO: result: no" >&5
6078 echo "${ECHO_T}no" >&6; }
6079 fi
6080
6081
6082 fi
6083 if test -z "$ac_cv_prog_OBJDUMP"; then
6084   ac_ct_OBJDUMP=$OBJDUMP
6085   # Extract the first word of "objdump", so it can be a program name with args.
6086 set dummy objdump; ac_word=$2
6087 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6089 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
6090   echo $ECHO_N "(cached) $ECHO_C" >&6
6091 else
6092   if test -n "$ac_ct_OBJDUMP"; then
6093   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6094 else
6095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6096 for as_dir in $PATH
6097 do
6098   IFS=$as_save_IFS
6099   test -z "$as_dir" && as_dir=.
6100   for ac_exec_ext in '' $ac_executable_extensions; do
6101   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6102     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6103     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6104     break 2
6105   fi
6106 done
6107 done
6108 IFS=$as_save_IFS
6109
6110 fi
6111 fi
6112 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6113 if test -n "$ac_ct_OBJDUMP"; then
6114   { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
6115 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
6116 else
6117   { echo "$as_me:$LINENO: result: no" >&5
6118 echo "${ECHO_T}no" >&6; }
6119 fi
6120
6121   if test "x$ac_ct_OBJDUMP" = x; then
6122     OBJDUMP="false"
6123   else
6124     case $cross_compiling:$ac_tool_warned in
6125 yes:)
6126 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6127 whose name does not start with the host triplet.  If you think this
6128 configuration is useful to you, please write to autoconf@gnu.org." >&5
6129 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6130 whose name does not start with the host triplet.  If you think this
6131 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6132 ac_tool_warned=yes ;;
6133 esac
6134     OBJDUMP=$ac_ct_OBJDUMP
6135   fi
6136 else
6137   OBJDUMP="$ac_cv_prog_OBJDUMP"
6138 fi
6139
6140   ;;
6141 esac
6142
6143 test -z "$AS" && AS=as
6144
6145
6146
6147
6148
6149 test -z "$DLLTOOL" && DLLTOOL=dlltool
6150
6151
6152
6153
6154
6155 test -z "$OBJDUMP" && OBJDUMP=objdump
6156
6157
6158
6159
6160
6161
6162
6163 # Check whether --enable-static was given.
6164 if test "${enable_static+set}" = set; then
6165   enableval=$enable_static; p=${PACKAGE-default}
6166     case $enableval in
6167     yes) enable_static=yes ;;
6168     no) enable_static=no ;;
6169     *)
6170      enable_static=no
6171       # Look at the argument we got.  We use all the common list separators.
6172       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6173       for pkg in $enableval; do
6174         IFS="$lt_save_ifs"
6175         if test "X$pkg" = "X$p"; then
6176           enable_static=yes
6177         fi
6178       done
6179       IFS="$lt_save_ifs"
6180       ;;
6181     esac
6182 else
6183   enable_static=no
6184 fi
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195 if test "$pango_os_win32" = "yes"; then
6196   if test x$enable_static = xyes -o x$enable_static = x; then
6197     { echo "$as_me:$LINENO: WARNING: Disabling static library build, must build as DLL on Windows." >&5
6198 echo "$as_me: WARNING: Disabling static library build, must build as DLL on Windows." >&2;}
6199     enable_static=no
6200   fi
6201   if test x$enable_shared = xno; then
6202     { echo "$as_me:$LINENO: WARNING: Enabling shared library build, must build as DLL on Windows." >&5
6203 echo "$as_me: WARNING: Enabling shared library build, must build as DLL on Windows." >&2;}
6204   fi
6205   enable_shared=yes
6206 fi
6207
6208 case `pwd` in
6209   *\ * | *\     *)
6210     { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6211 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6212 esac
6213
6214
6215
6216 macro_version='2.2.4'
6217 macro_revision='1.2976'
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231 ltmain="$ac_aux_dir/ltmain.sh"
6232
6233 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
6234 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
6235 if test "${ac_cv_path_SED+set}" = set; then
6236   echo $ECHO_N "(cached) $ECHO_C" >&6
6237 else
6238             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6239      for ac_i in 1 2 3 4 5 6 7; do
6240        ac_script="$ac_script$as_nl$ac_script"
6241      done
6242      echo "$ac_script" | sed 99q >conftest.sed
6243      $as_unset ac_script || ac_script=
6244      # Extract the first word of "sed gsed" to use in msg output
6245 if test -z "$SED"; then
6246 set dummy sed gsed; ac_prog_name=$2
6247 if test "${ac_cv_path_SED+set}" = set; then
6248   echo $ECHO_N "(cached) $ECHO_C" >&6
6249 else
6250   ac_path_SED_found=false
6251 # Loop through the user's path and test for each of PROGNAME-LIST
6252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6253 for as_dir in $PATH
6254 do
6255   IFS=$as_save_IFS
6256   test -z "$as_dir" && as_dir=.
6257   for ac_prog in sed gsed; do
6258   for ac_exec_ext in '' $ac_executable_extensions; do
6259     ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6260     { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6261     # Check for GNU ac_path_SED and select it if it is found.
6262   # Check for GNU $ac_path_SED
6263 case `"$ac_path_SED" --version 2>&1` in
6264 *GNU*)
6265   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6266 *)
6267   ac_count=0
6268   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6269   while :
6270   do
6271     cat "conftest.in" "conftest.in" >"conftest.tmp"
6272     mv "conftest.tmp" "conftest.in"
6273     cp "conftest.in" "conftest.nl"
6274     echo '' >> "conftest.nl"
6275     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6276     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6277     ac_count=`expr $ac_count + 1`
6278     if test $ac_count -gt ${ac_path_SED_max-0}; then
6279       # Best one so far, save it but keep looking for a better one
6280       ac_cv_path_SED="$ac_path_SED"
6281       ac_path_SED_max=$ac_count
6282     fi
6283     # 10*(2^10) chars as input seems more than enough
6284     test $ac_count -gt 10 && break
6285   done
6286   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6287 esac
6288
6289
6290     $ac_path_SED_found && break 3
6291   done
6292 done
6293
6294 done
6295 IFS=$as_save_IFS
6296
6297
6298 fi
6299
6300 SED="$ac_cv_path_SED"
6301 if test -z "$SED"; then
6302   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
6303 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
6304    { (exit 1); exit 1; }; }
6305 fi
6306
6307 else
6308   ac_cv_path_SED=$SED
6309 fi
6310
6311 fi
6312 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
6313 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
6314  SED="$ac_cv_path_SED"
6315   rm -f conftest.sed
6316
6317 test -z "$SED" && SED=sed
6318 Xsed="$SED -e 1s/^X//"
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330 { echo "$as_me:$LINENO: checking for fgrep" >&5
6331 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
6332 if test "${ac_cv_path_FGREP+set}" = set; then
6333   echo $ECHO_N "(cached) $ECHO_C" >&6
6334 else
6335   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6336    then ac_cv_path_FGREP="$GREP -F"
6337    else
6338      # Extract the first word of "fgrep" to use in msg output
6339 if test -z "$FGREP"; then
6340 set dummy fgrep; ac_prog_name=$2
6341 if test "${ac_cv_path_FGREP+set}" = set; then
6342   echo $ECHO_N "(cached) $ECHO_C" >&6
6343 else
6344   ac_path_FGREP_found=false
6345 # Loop through the user's path and test for each of PROGNAME-LIST
6346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6347 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6348 do
6349   IFS=$as_save_IFS
6350   test -z "$as_dir" && as_dir=.
6351   for ac_prog in fgrep; do
6352   for ac_exec_ext in '' $ac_executable_extensions; do
6353     ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6354     { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6355     # Check for GNU ac_path_FGREP and select it if it is found.
6356   # Check for GNU $ac_path_FGREP
6357 case `"$ac_path_FGREP" --version 2>&1` in
6358 *GNU*)
6359   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6360 *)
6361   ac_count=0
6362   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6363   while :
6364   do
6365     cat "conftest.in" "conftest.in" >"conftest.tmp"
6366     mv "conftest.tmp" "conftest.in"
6367     cp "conftest.in" "conftest.nl"
6368     echo 'FGREP' >> "conftest.nl"
6369     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6370     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6371     ac_count=`expr $ac_count + 1`
6372     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6373       # Best one so far, save it but keep looking for a better one
6374       ac_cv_path_FGREP="$ac_path_FGREP"
6375       ac_path_FGREP_max=$ac_count
6376     fi
6377     # 10*(2^10) chars as input seems more than enough
6378     test $ac_count -gt 10 && break
6379   done
6380   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6381 esac
6382
6383
6384     $ac_path_FGREP_found && break 3
6385   done
6386 done
6387
6388 done
6389 IFS=$as_save_IFS
6390
6391
6392 fi
6393
6394 FGREP="$ac_cv_path_FGREP"
6395 if test -z "$FGREP"; then
6396   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6397 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6398    { (exit 1); exit 1; }; }
6399 fi
6400
6401 else
6402   ac_cv_path_FGREP=$FGREP
6403 fi
6404
6405
6406    fi
6407 fi
6408 { echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
6409 echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
6410  FGREP="$ac_cv_path_FGREP"
6411
6412
6413 test -z "$GREP" && GREP=grep
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433 # Check whether --with-gnu-ld was given.
6434 if test "${with_gnu_ld+set}" = set; then
6435   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6436 else
6437   with_gnu_ld=no
6438 fi
6439
6440 ac_prog=ld
6441 if test "$GCC" = yes; then
6442   # Check if gcc -print-prog-name=ld gives a path.
6443   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
6444 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
6445   case $host in
6446   *-*-mingw*)
6447     # gcc leaves a trailing carriage return which upsets mingw
6448     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6449   *)
6450     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6451   esac
6452   case $ac_prog in
6453     # Accept absolute paths.
6454     [\\/]* | ?:[\\/]*)
6455       re_direlt='/[^/][^/]*/\.\./'
6456       # Canonicalize the pathname of ld
6457       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6458       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6459         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6460       done
6461       test -z "$LD" && LD="$ac_prog"
6462       ;;
6463   "")
6464     # If it fails, then pretend we aren't using GCC.
6465     ac_prog=ld
6466     ;;
6467   *)
6468     # If it is relative, then search for the first ld in PATH.
6469     with_gnu_ld=unknown
6470     ;;
6471   esac
6472 elif test "$with_gnu_ld" = yes; then
6473   { echo "$as_me:$LINENO: checking for GNU ld" >&5
6474 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
6475 else
6476   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6477 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
6478 fi
6479 if test "${lt_cv_path_LD+set}" = set; then
6480   echo $ECHO_N "(cached) $ECHO_C" >&6
6481 else
6482   if test -z "$LD"; then
6483   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6484   for ac_dir in $PATH; do
6485     IFS="$lt_save_ifs"
6486     test -z "$ac_dir" && ac_dir=.
6487     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6488       lt_cv_path_LD="$ac_dir/$ac_prog"
6489       # Check to see if the program is GNU ld.  I'd rather use --version,
6490       # but apparently some variants of GNU ld only accept -v.
6491       # Break only if it was the GNU/non-GNU ld that we prefer.
6492       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6493       *GNU* | *'with BFD'*)
6494         test "$with_gnu_ld" != no && break
6495         ;;
6496       *)
6497         test "$with_gnu_ld" != yes && break
6498         ;;
6499       esac
6500     fi
6501   done
6502   IFS="$lt_save_ifs"
6503 else
6504   lt_cv_path_LD="$LD" # Let the user override the test with a path.
6505 fi
6506 fi
6507
6508 LD="$lt_cv_path_LD"
6509 if test -n "$LD"; then
6510   { echo "$as_me:$LINENO: result: $LD" >&5
6511 echo "${ECHO_T}$LD" >&6; }
6512 else
6513   { echo "$as_me:$LINENO: result: no" >&5
6514 echo "${ECHO_T}no" >&6; }
6515 fi
6516 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6517 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6518    { (exit 1); exit 1; }; }
6519 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6520 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
6521 if test "${lt_cv_prog_gnu_ld+set}" = set; then
6522   echo $ECHO_N "(cached) $ECHO_C" >&6
6523 else
6524   # I'd rather use --version here, but apparently some GNU lds only accept -v.
6525 case `$LD -v 2>&1 </dev/null` in
6526 *GNU* | *'with BFD'*)
6527   lt_cv_prog_gnu_ld=yes
6528   ;;
6529 *)
6530   lt_cv_prog_gnu_ld=no
6531   ;;
6532 esac
6533 fi
6534 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
6535 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
6536 with_gnu_ld=$lt_cv_prog_gnu_ld
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546 { echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
6547 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
6548 if test "${lt_cv_path_NM+set}" = set; then
6549   echo $ECHO_N "(cached) $ECHO_C" >&6
6550 else
6551   if test -n "$NM"; then
6552   # Let the user override the test.
6553   lt_cv_path_NM="$NM"
6554 else
6555   lt_nm_to_check="${ac_tool_prefix}nm"
6556   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6557     lt_nm_to_check="$lt_nm_to_check nm"
6558   fi
6559   for lt_tmp_nm in $lt_nm_to_check; do
6560     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6561     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6562       IFS="$lt_save_ifs"
6563       test -z "$ac_dir" && ac_dir=.
6564       tmp_nm="$ac_dir/$lt_tmp_nm"
6565       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6566         # Check to see if the nm accepts a BSD-compat flag.
6567         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6568         #   nm: unknown option "B" ignored
6569         # Tru64's nm complains that /dev/null is an invalid object file
6570         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6571         */dev/null* | *'Invalid file or object type'*)
6572           lt_cv_path_NM="$tmp_nm -B"
6573           break
6574           ;;
6575         *)
6576           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6577           */dev/null*)
6578             lt_cv_path_NM="$tmp_nm -p"
6579             break
6580             ;;
6581           *)
6582             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6583             continue # so that we can try to find one that supports BSD flags
6584             ;;
6585           esac
6586           ;;
6587         esac
6588       fi
6589     done
6590     IFS="$lt_save_ifs"
6591   done
6592   : ${lt_cv_path_NM=no}
6593 fi
6594 fi
6595 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6596 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
6597 if test "$lt_cv_path_NM" != "no"; then
6598   NM="$lt_cv_path_NM"
6599 else
6600   # Didn't find any BSD compatible name lister, look for dumpbin.
6601   if test -n "$ac_tool_prefix"; then
6602   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6603   do
6604     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6605 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6606 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6608 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
6609   echo $ECHO_N "(cached) $ECHO_C" >&6
6610 else
6611   if test -n "$DUMPBIN"; then
6612   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6613 else
6614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6615 for as_dir in $PATH
6616 do
6617   IFS=$as_save_IFS
6618   test -z "$as_dir" && as_dir=.
6619   for ac_exec_ext in '' $ac_executable_extensions; do
6620   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6621     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6622     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6623     break 2
6624   fi
6625 done
6626 done
6627 IFS=$as_save_IFS
6628
6629 fi
6630 fi
6631 DUMPBIN=$ac_cv_prog_DUMPBIN
6632 if test -n "$DUMPBIN"; then
6633   { echo "$as_me:$LINENO: result: $DUMPBIN" >&5
6634 echo "${ECHO_T}$DUMPBIN" >&6; }
6635 else
6636   { echo "$as_me:$LINENO: result: no" >&5
6637 echo "${ECHO_T}no" >&6; }
6638 fi
6639
6640
6641     test -n "$DUMPBIN" && break
6642   done
6643 fi
6644 if test -z "$DUMPBIN"; then
6645   ac_ct_DUMPBIN=$DUMPBIN
6646   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6647 do
6648   # Extract the first word of "$ac_prog", so it can be a program name with args.
6649 set dummy $ac_prog; ac_word=$2
6650 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6652 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
6653   echo $ECHO_N "(cached) $ECHO_C" >&6
6654 else
6655   if test -n "$ac_ct_DUMPBIN"; then
6656   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6657 else
6658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6659 for as_dir in $PATH
6660 do
6661   IFS=$as_save_IFS
6662   test -z "$as_dir" && as_dir=.
6663   for ac_exec_ext in '' $ac_executable_extensions; do
6664   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6665     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6666     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6667     break 2
6668   fi
6669 done
6670 done
6671 IFS=$as_save_IFS
6672
6673 fi
6674 fi
6675 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6676 if test -n "$ac_ct_DUMPBIN"; then
6677   { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
6678 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; }
6679 else
6680   { echo "$as_me:$LINENO: result: no" >&5
6681 echo "${ECHO_T}no" >&6; }
6682 fi
6683
6684
6685   test -n "$ac_ct_DUMPBIN" && break
6686 done
6687
6688   if test "x$ac_ct_DUMPBIN" = x; then
6689     DUMPBIN=":"
6690   else
6691     case $cross_compiling:$ac_tool_warned in
6692 yes:)
6693 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6694 whose name does not start with the host triplet.  If you think this
6695 configuration is useful to you, please write to autoconf@gnu.org." >&5
6696 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6697 whose name does not start with the host triplet.  If you think this
6698 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6699 ac_tool_warned=yes ;;
6700 esac
6701     DUMPBIN=$ac_ct_DUMPBIN
6702   fi
6703 fi
6704
6705
6706   if test "$DUMPBIN" != ":"; then
6707     NM="$DUMPBIN"
6708   fi
6709 fi
6710 test -z "$NM" && NM=nm
6711
6712
6713
6714
6715
6716
6717 { echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
6718 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; }
6719 if test "${lt_cv_nm_interface+set}" = set; then
6720   echo $ECHO_N "(cached) $ECHO_C" >&6
6721 else
6722   lt_cv_nm_interface="BSD nm"
6723   echo "int some_variable = 0;" > conftest.$ac_ext
6724   (eval echo "\"\$as_me:6724: $ac_compile\"" >&5)
6725   (eval "$ac_compile" 2>conftest.err)
6726   cat conftest.err >&5
6727   (eval echo "\"\$as_me:6727: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6728   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6729   cat conftest.err >&5
6730   (eval echo "\"\$as_me:6730: output\"" >&5)
6731   cat conftest.out >&5
6732   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6733     lt_cv_nm_interface="MS dumpbin"
6734   fi
6735   rm -f conftest*
6736 fi
6737 { echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
6738 echo "${ECHO_T}$lt_cv_nm_interface" >&6; }
6739
6740 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6741 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6742 LN_S=$as_ln_s
6743 if test "$LN_S" = "ln -s"; then
6744   { echo "$as_me:$LINENO: result: yes" >&5
6745 echo "${ECHO_T}yes" >&6; }
6746 else
6747   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6748 echo "${ECHO_T}no, using $LN_S" >&6; }
6749 fi
6750
6751 # find the maximum length of command line arguments
6752 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6753 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6754 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6755   echo $ECHO_N "(cached) $ECHO_C" >&6
6756 else
6757     i=0
6758   teststring="ABCD"
6759
6760   case $build_os in
6761   msdosdjgpp*)
6762     # On DJGPP, this test can blow up pretty badly due to problems in libc
6763     # (any single argument exceeding 2000 bytes causes a buffer overrun
6764     # during glob expansion).  Even if it were fixed, the result of this
6765     # check would be larger than it should be.
6766     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6767     ;;
6768
6769   gnu*)
6770     # Under GNU Hurd, this test is not required because there is
6771     # no limit to the length of command line arguments.
6772     # Libtool will interpret -1 as no limit whatsoever
6773     lt_cv_sys_max_cmd_len=-1;
6774     ;;
6775
6776   cygwin* | mingw*)
6777     # On Win9x/ME, this test blows up -- it succeeds, but takes
6778     # about 5 minutes as the teststring grows exponentially.
6779     # Worse, since 9x/ME are not pre-emptively multitasking,
6780     # you end up with a "frozen" computer, even though with patience
6781     # the test eventually succeeds (with a max line length of 256k).
6782     # Instead, let's just punt: use the minimum linelength reported by
6783     # all of the supported platforms: 8192 (on NT/2K/XP).
6784     lt_cv_sys_max_cmd_len=8192;
6785     ;;
6786
6787   amigaos*)
6788     # On AmigaOS with pdksh, this test takes hours, literally.
6789     # So we just punt and use a minimum line length of 8192.
6790     lt_cv_sys_max_cmd_len=8192;
6791     ;;
6792
6793   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6794     # This has been around since 386BSD, at least.  Likely further.
6795     if test -x /sbin/sysctl; then
6796       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6797     elif test -x /usr/sbin/sysctl; then
6798       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6799     else
6800       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6801     fi
6802     # And add a safety zone
6803     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6804     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6805     ;;
6806
6807   interix*)
6808     # We know the value 262144 and hardcode it with a safety zone (like BSD)
6809     lt_cv_sys_max_cmd_len=196608
6810     ;;
6811
6812   osf*)
6813     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6814     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6815     # nice to cause kernel panics so lets avoid the loop below.
6816     # First set a reasonable default.
6817     lt_cv_sys_max_cmd_len=16384
6818     #
6819     if test -x /sbin/sysconfig; then
6820       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6821         *1*) lt_cv_sys_max_cmd_len=-1 ;;
6822       esac
6823     fi
6824     ;;
6825   sco3.2v5*)
6826     lt_cv_sys_max_cmd_len=102400
6827     ;;
6828   sysv5* | sco5v6* | sysv4.2uw2*)
6829     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6830     if test -n "$kargmax"; then
6831       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
6832     else
6833       lt_cv_sys_max_cmd_len=32768
6834     fi
6835     ;;
6836   *)
6837     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6838     if test -n "$lt_cv_sys_max_cmd_len"; then
6839       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6840       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6841     else
6842       # Make teststring a little bigger before we do anything with it.
6843       # a 1K string should be a reasonable start.
6844       for i in 1 2 3 4 5 6 7 8 ; do
6845         teststring=$teststring$teststring
6846       done
6847       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6848       # If test is not a shell built-in, we'll probably end up computing a
6849       # maximum length that is only half of the actual maximum length, but
6850       # we can't tell.
6851       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6852                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
6853               test $i != 17 # 1/2 MB should be enough
6854       do
6855         i=`expr $i + 1`
6856         teststring=$teststring$teststring
6857       done
6858       # Only check the string length outside the loop.
6859       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6860       teststring=
6861       # Add a significant safety factor because C++ compilers can tack on
6862       # massive amounts of additional arguments before passing them to the
6863       # linker.  It appears as though 1/2 is a usable value.
6864       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6865     fi
6866     ;;
6867   esac
6868
6869 fi
6870
6871 if test -n $lt_cv_sys_max_cmd_len ; then
6872   { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6873 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6874 else
6875   { echo "$as_me:$LINENO: result: none" >&5
6876 echo "${ECHO_T}none" >&6; }
6877 fi
6878 max_cmd_len=$lt_cv_sys_max_cmd_len
6879
6880
6881
6882
6883
6884
6885 : ${CP="cp -f"}
6886 : ${MV="mv -f"}
6887 : ${RM="rm -f"}
6888
6889 { echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
6890 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; }
6891 # Try some XSI features
6892 xsi_shell=no
6893 ( _lt_dummy="a/b/c"
6894   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6895       = c,a/b,, \
6896     && eval 'test $(( 1 + 1 )) -eq 2 \
6897     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6898   && xsi_shell=yes
6899 { echo "$as_me:$LINENO: result: $xsi_shell" >&5
6900 echo "${ECHO_T}$xsi_shell" >&6; }
6901
6902
6903 { echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
6904 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; }
6905 lt_shell_append=no
6906 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6907     >/dev/null 2>&1 \
6908   && lt_shell_append=yes
6909 { echo "$as_me:$LINENO: result: $lt_shell_append" >&5
6910 echo "${ECHO_T}$lt_shell_append" >&6; }
6911
6912
6913 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6914   lt_unset=unset
6915 else
6916   lt_unset=false
6917 fi
6918
6919
6920
6921
6922
6923 # test EBCDIC or ASCII
6924 case `echo X|tr X '\101'` in
6925  A) # ASCII based system
6926     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6927   lt_SP2NL='tr \040 \012'
6928   lt_NL2SP='tr \015\012 \040\040'
6929   ;;
6930  *) # EBCDIC based system
6931   lt_SP2NL='tr \100 \n'
6932   lt_NL2SP='tr \r\n \100\100'
6933   ;;
6934 esac
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
6945 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
6946 if test "${lt_cv_ld_reload_flag+set}" = set; then
6947   echo $ECHO_N "(cached) $ECHO_C" >&6
6948 else
6949   lt_cv_ld_reload_flag='-r'
6950 fi
6951 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
6952 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
6953 reload_flag=$lt_cv_ld_reload_flag
6954 case $reload_flag in
6955 "" | " "*) ;;
6956 *) reload_flag=" $reload_flag" ;;
6957 esac
6958 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6959 case $host_os in
6960   darwin*)
6961     if test "$GCC" = yes; then
6962       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6963     else
6964       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6965     fi
6966     ;;
6967 esac
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
6979 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
6980 if test "${lt_cv_deplibs_check_method+set}" = set; then
6981   echo $ECHO_N "(cached) $ECHO_C" >&6
6982 else
6983   lt_cv_file_magic_cmd='$MAGIC_CMD'
6984 lt_cv_file_magic_test_file=
6985 lt_cv_deplibs_check_method='unknown'
6986 # Need to set the preceding variable on all platforms that support
6987 # interlibrary dependencies.
6988 # 'none' -- dependencies not supported.
6989 # `unknown' -- same as none, but documents that we really don't know.
6990 # 'pass_all' -- all dependencies passed with no checks.
6991 # 'test_compile' -- check by making test program.
6992 # 'file_magic [[regex]]' -- check by looking for files in library path
6993 # which responds to the $file_magic_cmd with a given extended regex.
6994 # If you have `file' or equivalent on your system and you're not sure
6995 # whether `pass_all' will *always* work, you probably want this one.
6996
6997 case $host_os in
6998 aix[4-9]*)
6999   lt_cv_deplibs_check_method=pass_all
7000   ;;
7001
7002 beos*)
7003   lt_cv_deplibs_check_method=pass_all
7004   ;;
7005
7006 bsdi[45]*)
7007   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7008   lt_cv_file_magic_cmd='/usr/bin/file -L'
7009   lt_cv_file_magic_test_file=/shlib/libc.so
7010   ;;
7011
7012 cygwin*)
7013   # func_win32_libid is a shell function defined in ltmain.sh
7014   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7015   lt_cv_file_magic_cmd='func_win32_libid'
7016   ;;
7017
7018 mingw* | pw32*)
7019   # Base MSYS/MinGW do not provide the 'file' command needed by
7020   # func_win32_libid shell function, so use a weaker test based on 'objdump',
7021   # unless we find 'file', for example because we are cross-compiling.
7022   if ( file / ) >/dev/null 2>&1; then
7023     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7024     lt_cv_file_magic_cmd='func_win32_libid'
7025   else
7026     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7027     lt_cv_file_magic_cmd='$OBJDUMP -f'
7028   fi
7029   ;;
7030
7031 darwin* | rhapsody*)
7032   lt_cv_deplibs_check_method=pass_all
7033   ;;
7034
7035 freebsd* | dragonfly*)
7036   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7037     case $host_cpu in
7038     i*86 )
7039       # Not sure whether the presence of OpenBSD here was a mistake.
7040       # Let's accept both of them until this is cleared up.
7041       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7042       lt_cv_file_magic_cmd=/usr/bin/file
7043       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7044       ;;
7045     esac
7046   else
7047     lt_cv_deplibs_check_method=pass_all
7048   fi
7049   ;;
7050
7051 gnu*)
7052   lt_cv_deplibs_check_method=pass_all
7053   ;;
7054
7055 hpux10.20* | hpux11*)
7056   lt_cv_file_magic_cmd=/usr/bin/file
7057   case $host_cpu in
7058   ia64*)
7059     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7060     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7061     ;;
7062   hppa*64*)
7063     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]'
7064     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7065     ;;
7066   *)
7067     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
7068     lt_cv_file_magic_test_file=/usr/lib/libc.sl
7069     ;;
7070   esac
7071   ;;
7072
7073 interix[3-9]*)
7074   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7075   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7076   ;;
7077
7078 irix5* | irix6* | nonstopux*)
7079   case $LD in
7080   *-32|*"-32 ") libmagic=32-bit;;
7081   *-n32|*"-n32 ") libmagic=N32;;
7082   *-64|*"-64 ") libmagic=64-bit;;
7083   *) libmagic=never-match;;
7084   esac
7085   lt_cv_deplibs_check_method=pass_all
7086   ;;
7087
7088 # This must be Linux ELF.
7089 linux* | k*bsd*-gnu)
7090   lt_cv_deplibs_check_method=pass_all
7091   ;;
7092
7093 netbsd*)
7094   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7095     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7096   else
7097     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7098   fi
7099   ;;
7100
7101 newos6*)
7102   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7103   lt_cv_file_magic_cmd=/usr/bin/file
7104   lt_cv_file_magic_test_file=/usr/lib/libnls.so
7105   ;;
7106
7107 *nto* | *qnx*)
7108   lt_cv_deplibs_check_method=pass_all
7109   ;;
7110
7111 openbsd*)
7112   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7113     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7114   else
7115     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7116   fi
7117   ;;
7118
7119 osf3* | osf4* | osf5*)
7120   lt_cv_deplibs_check_method=pass_all
7121   ;;
7122
7123 rdos*)
7124   lt_cv_deplibs_check_method=pass_all
7125   ;;
7126
7127 solaris*)
7128   lt_cv_deplibs_check_method=pass_all
7129   ;;
7130
7131 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7132   lt_cv_deplibs_check_method=pass_all
7133   ;;
7134
7135 sysv4 | sysv4.3*)
7136   case $host_vendor in
7137   motorola)
7138     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]'
7139     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7140     ;;
7141   ncr)
7142     lt_cv_deplibs_check_method=pass_all
7143     ;;
7144   sequent)
7145     lt_cv_file_magic_cmd='/bin/file'
7146     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7147     ;;
7148   sni)
7149     lt_cv_file_magic_cmd='/bin/file'
7150     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7151     lt_cv_file_magic_test_file=/lib/libc.so
7152     ;;
7153   siemens)
7154     lt_cv_deplibs_check_method=pass_all
7155     ;;
7156   pc)
7157     lt_cv_deplibs_check_method=pass_all
7158     ;;
7159   esac
7160   ;;
7161
7162 tpf*)
7163   lt_cv_deplibs_check_method=pass_all
7164   ;;
7165 esac
7166
7167 fi
7168 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
7169 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
7170 file_magic_cmd=$lt_cv_file_magic_cmd
7171 deplibs_check_method=$lt_cv_deplibs_check_method
7172 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185 if test -n "$ac_tool_prefix"; then
7186   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7187 set dummy ${ac_tool_prefix}ar; ac_word=$2
7188 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7190 if test "${ac_cv_prog_AR+set}" = set; then
7191   echo $ECHO_N "(cached) $ECHO_C" >&6
7192 else
7193   if test -n "$AR"; then
7194   ac_cv_prog_AR="$AR" # Let the user override the test.
7195 else
7196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7197 for as_dir in $PATH
7198 do
7199   IFS=$as_save_IFS
7200   test -z "$as_dir" && as_dir=.
7201   for ac_exec_ext in '' $ac_executable_extensions; do
7202   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7203     ac_cv_prog_AR="${ac_tool_prefix}ar"
7204     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7205     break 2
7206   fi
7207 done
7208 done
7209 IFS=$as_save_IFS
7210
7211 fi
7212 fi
7213 AR=$ac_cv_prog_AR
7214 if test -n "$AR"; then
7215   { echo "$as_me:$LINENO: result: $AR" >&5
7216 echo "${ECHO_T}$AR" >&6; }
7217 else
7218   { echo "$as_me:$LINENO: result: no" >&5
7219 echo "${ECHO_T}no" >&6; }
7220 fi
7221
7222
7223 fi
7224 if test -z "$ac_cv_prog_AR"; then
7225   ac_ct_AR=$AR
7226   # Extract the first word of "ar", so it can be a program name with args.
7227 set dummy ar; ac_word=$2
7228 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7230 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7231   echo $ECHO_N "(cached) $ECHO_C" >&6
7232 else
7233   if test -n "$ac_ct_AR"; then
7234   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7235 else
7236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7237 for as_dir in $PATH
7238 do
7239   IFS=$as_save_IFS
7240   test -z "$as_dir" && as_dir=.
7241   for ac_exec_ext in '' $ac_executable_extensions; do
7242   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7243     ac_cv_prog_ac_ct_AR="ar"
7244     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7245     break 2
7246   fi
7247 done
7248 done
7249 IFS=$as_save_IFS
7250
7251 fi
7252 fi
7253 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7254 if test -n "$ac_ct_AR"; then
7255   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7256 echo "${ECHO_T}$ac_ct_AR" >&6; }
7257 else
7258   { echo "$as_me:$LINENO: result: no" >&5
7259 echo "${ECHO_T}no" >&6; }
7260 fi
7261
7262   if test "x$ac_ct_AR" = x; then
7263     AR="false"
7264   else
7265     case $cross_compiling:$ac_tool_warned in
7266 yes:)
7267 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7268 whose name does not start with the host triplet.  If you think this
7269 configuration is useful to you, please write to autoconf@gnu.org." >&5
7270 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7271 whose name does not start with the host triplet.  If you think this
7272 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7273 ac_tool_warned=yes ;;
7274 esac
7275     AR=$ac_ct_AR
7276   fi
7277 else
7278   AR="$ac_cv_prog_AR"
7279 fi
7280
7281 test -z "$AR" && AR=ar
7282 test -z "$AR_FLAGS" && AR_FLAGS=cru
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294 if test -n "$ac_tool_prefix"; then
7295   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7296 set dummy ${ac_tool_prefix}strip; ac_word=$2
7297 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7299 if test "${ac_cv_prog_STRIP+set}" = set; then
7300   echo $ECHO_N "(cached) $ECHO_C" >&6
7301 else
7302   if test -n "$STRIP"; then
7303   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7304 else
7305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7306 for as_dir in $PATH
7307 do
7308   IFS=$as_save_IFS
7309   test -z "$as_dir" && as_dir=.
7310   for ac_exec_ext in '' $ac_executable_extensions; do
7311   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7312     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7313     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7314     break 2
7315   fi
7316 done
7317 done
7318 IFS=$as_save_IFS
7319
7320 fi
7321 fi
7322 STRIP=$ac_cv_prog_STRIP
7323 if test -n "$STRIP"; then
7324   { echo "$as_me:$LINENO: result: $STRIP" >&5
7325 echo "${ECHO_T}$STRIP" >&6; }
7326 else
7327   { echo "$as_me:$LINENO: result: no" >&5
7328 echo "${ECHO_T}no" >&6; }
7329 fi
7330
7331
7332 fi
7333 if test -z "$ac_cv_prog_STRIP"; then
7334   ac_ct_STRIP=$STRIP
7335   # Extract the first word of "strip", so it can be a program name with args.
7336 set dummy strip; ac_word=$2
7337 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7339 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7340   echo $ECHO_N "(cached) $ECHO_C" >&6
7341 else
7342   if test -n "$ac_ct_STRIP"; then
7343   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7344 else
7345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7346 for as_dir in $PATH
7347 do
7348   IFS=$as_save_IFS
7349   test -z "$as_dir" && as_dir=.
7350   for ac_exec_ext in '' $ac_executable_extensions; do
7351   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7352     ac_cv_prog_ac_ct_STRIP="strip"
7353     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7354     break 2
7355   fi
7356 done
7357 done
7358 IFS=$as_save_IFS
7359
7360 fi
7361 fi
7362 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7363 if test -n "$ac_ct_STRIP"; then
7364   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7365 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7366 else
7367   { echo "$as_me:$LINENO: result: no" >&5
7368 echo "${ECHO_T}no" >&6; }
7369 fi
7370
7371   if test "x$ac_ct_STRIP" = x; then
7372     STRIP=":"
7373   else
7374     case $cross_compiling:$ac_tool_warned in
7375 yes:)
7376 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7377 whose name does not start with the host triplet.  If you think this
7378 configuration is useful to you, please write to autoconf@gnu.org." >&5
7379 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7380 whose name does not start with the host triplet.  If you think this
7381 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7382 ac_tool_warned=yes ;;
7383 esac
7384     STRIP=$ac_ct_STRIP
7385   fi
7386 else
7387   STRIP="$ac_cv_prog_STRIP"
7388 fi
7389
7390 test -z "$STRIP" && STRIP=:
7391
7392
7393
7394
7395
7396
7397 if test -n "$ac_tool_prefix"; then
7398   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7399 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7400 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7402 if test "${ac_cv_prog_RANLIB+set}" = set; then
7403   echo $ECHO_N "(cached) $ECHO_C" >&6
7404 else
7405   if test -n "$RANLIB"; then
7406   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7407 else
7408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7409 for as_dir in $PATH
7410 do
7411   IFS=$as_save_IFS
7412   test -z "$as_dir" && as_dir=.
7413   for ac_exec_ext in '' $ac_executable_extensions; do
7414   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7415     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7416     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7417     break 2
7418   fi
7419 done
7420 done
7421 IFS=$as_save_IFS
7422
7423 fi
7424 fi
7425 RANLIB=$ac_cv_prog_RANLIB
7426 if test -n "$RANLIB"; then
7427   { echo "$as_me:$LINENO: result: $RANLIB" >&5
7428 echo "${ECHO_T}$RANLIB" >&6; }
7429 else
7430   { echo "$as_me:$LINENO: result: no" >&5
7431 echo "${ECHO_T}no" >&6; }
7432 fi
7433
7434
7435 fi
7436 if test -z "$ac_cv_prog_RANLIB"; then
7437   ac_ct_RANLIB=$RANLIB
7438   # Extract the first word of "ranlib", so it can be a program name with args.
7439 set dummy ranlib; ac_word=$2
7440 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7442 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7443   echo $ECHO_N "(cached) $ECHO_C" >&6
7444 else
7445   if test -n "$ac_ct_RANLIB"; then
7446   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7447 else
7448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7449 for as_dir in $PATH
7450 do
7451   IFS=$as_save_IFS
7452   test -z "$as_dir" && as_dir=.
7453   for ac_exec_ext in '' $ac_executable_extensions; do
7454   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7455     ac_cv_prog_ac_ct_RANLIB="ranlib"
7456     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7457     break 2
7458   fi
7459 done
7460 done
7461 IFS=$as_save_IFS
7462
7463 fi
7464 fi
7465 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7466 if test -n "$ac_ct_RANLIB"; then
7467   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7468 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7469 else
7470   { echo "$as_me:$LINENO: result: no" >&5
7471 echo "${ECHO_T}no" >&6; }
7472 fi
7473
7474   if test "x$ac_ct_RANLIB" = x; then
7475     RANLIB=":"
7476   else
7477     case $cross_compiling:$ac_tool_warned in
7478 yes:)
7479 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7480 whose name does not start with the host triplet.  If you think this
7481 configuration is useful to you, please write to autoconf@gnu.org." >&5
7482 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7483 whose name does not start with the host triplet.  If you think this
7484 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7485 ac_tool_warned=yes ;;
7486 esac
7487     RANLIB=$ac_ct_RANLIB
7488   fi
7489 else
7490   RANLIB="$ac_cv_prog_RANLIB"
7491 fi
7492
7493 test -z "$RANLIB" && RANLIB=:
7494
7495
7496
7497
7498
7499
7500 # Determine commands to create old-style static archives.
7501 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7502 old_postinstall_cmds='chmod 644 $oldlib'
7503 old_postuninstall_cmds=
7504
7505 if test -n "$RANLIB"; then
7506   case $host_os in
7507   openbsd*)
7508     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7509     ;;
7510   *)
7511     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7512     ;;
7513   esac
7514   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7515 fi
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550 # If no C compiler was specified, use CC.
7551 LTCC=${LTCC-"$CC"}
7552
7553 # If no C compiler flags were specified, use CFLAGS.
7554 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7555
7556 # Allow CC to be a program name with arguments.
7557 compiler=$CC
7558
7559
7560 # Check for command to grab the raw symbol name followed by C symbol from nm.
7561 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7562 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
7563 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7564   echo $ECHO_N "(cached) $ECHO_C" >&6
7565 else
7566
7567 # These are sane defaults that work on at least a few old systems.
7568 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7569
7570 # Character class describing NM global symbol codes.
7571 symcode='[BCDEGRST]'
7572
7573 # Regexp to match symbols that can be accessed directly from C.
7574 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7575
7576 # Define system-specific variables.
7577 case $host_os in
7578 aix*)
7579   symcode='[BCDT]'
7580   ;;
7581 cygwin* | mingw* | pw32*)
7582   symcode='[ABCDGISTW]'
7583   ;;
7584 hpux*)
7585   if test "$host_cpu" = ia64; then
7586     symcode='[ABCDEGRST]'
7587   fi
7588   ;;
7589 irix* | nonstopux*)
7590   symcode='[BCDEGRST]'
7591   ;;
7592 osf*)
7593   symcode='[BCDEGQRST]'
7594   ;;
7595 solaris*)
7596   symcode='[BDRT]'
7597   ;;
7598 sco3.2v5*)
7599   symcode='[DT]'
7600   ;;
7601 sysv4.2uw2*)
7602   symcode='[DT]'
7603   ;;
7604 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7605   symcode='[ABDT]'
7606   ;;
7607 sysv4)
7608   symcode='[DFNSTU]'
7609   ;;
7610 esac
7611
7612 # If we're using GNU nm, then use its standard symbol codes.
7613 case `$NM -V 2>&1` in
7614 *GNU* | *'with BFD'*)
7615   symcode='[ABCDGIRSTW]' ;;
7616 esac
7617
7618 # Transform an extracted symbol line into a proper C declaration.
7619 # Some systems (esp. on ia64) link data and code symbols differently,
7620 # so use this general approach.
7621 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7622
7623 # Transform an extracted symbol line into symbol name and symbol address
7624 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7625 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'"
7626
7627 # Handle CRLF in mingw tool chain
7628 opt_cr=
7629 case $build_os in
7630 mingw*)
7631   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7632   ;;
7633 esac
7634
7635 # Try without a prefix underscore, then with it.
7636 for ac_symprfx in "" "_"; do
7637
7638   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7639   symxfrm="\\1 $ac_symprfx\\2 \\2"
7640
7641   # Write the raw and C identifiers.
7642   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7643     # Fake it for dumpbin and say T for any non-static function
7644     # and D for any global variable.
7645     # Also find C++ and __fastcall symbols from MSVC++,
7646     # which start with @ or ?.
7647     lt_cv_sys_global_symbol_pipe="$AWK '"\
7648 "     {last_section=section; section=\$ 3};"\
7649 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7650 "     \$ 0!~/External *\|/{next};"\
7651 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7652 "     {if(hide[section]) next};"\
7653 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7654 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7655 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7656 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7657 "     ' prfx=^$ac_symprfx"
7658   else
7659     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7660   fi
7661
7662   # Check to see that the pipe works correctly.
7663   pipe_works=no
7664
7665   rm -f conftest*
7666   cat > conftest.$ac_ext <<_LT_EOF
7667 #ifdef __cplusplus
7668 extern "C" {
7669 #endif
7670 char nm_test_var;
7671 void nm_test_func(void);
7672 void nm_test_func(void){}
7673 #ifdef __cplusplus
7674 }
7675 #endif
7676 int main(){nm_test_var='a';nm_test_func();return(0);}
7677 _LT_EOF
7678
7679   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7680   (eval $ac_compile) 2>&5
7681   ac_status=$?
7682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7683   (exit $ac_status); }; then
7684     # Now try to grab the symbols.
7685     nlist=conftest.nm
7686     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
7687   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7688   ac_status=$?
7689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7690   (exit $ac_status); } && test -s "$nlist"; then
7691       # Try sorting and uniquifying the output.
7692       if sort "$nlist" | uniq > "$nlist"T; then
7693         mv -f "$nlist"T "$nlist"
7694       else
7695         rm -f "$nlist"T
7696       fi
7697
7698       # Make sure that we snagged all the symbols we need.
7699       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7700         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7701           cat <<_LT_EOF > conftest.$ac_ext
7702 #ifdef __cplusplus
7703 extern "C" {
7704 #endif
7705
7706 _LT_EOF
7707           # Now generate the symbol file.
7708           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7709
7710           cat <<_LT_EOF >> conftest.$ac_ext
7711
7712 /* The mapping between symbol names and symbols.  */
7713 const struct {
7714   const char *name;
7715   void       *address;
7716 }
7717 lt__PROGRAM__LTX_preloaded_symbols[] =
7718 {
7719   { "@PROGRAM@", (void *) 0 },
7720 _LT_EOF
7721           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7722           cat <<\_LT_EOF >> conftest.$ac_ext
7723   {0, (void *) 0}
7724 };
7725
7726 /* This works around a problem in FreeBSD linker */
7727 #ifdef FREEBSD_WORKAROUND
7728 static const void *lt_preloaded_setup() {
7729   return lt__PROGRAM__LTX_preloaded_symbols;
7730 }
7731 #endif
7732
7733 #ifdef __cplusplus
7734 }
7735 #endif
7736 _LT_EOF
7737           # Now try linking the two files.
7738           mv conftest.$ac_objext conftstm.$ac_objext
7739           lt_save_LIBS="$LIBS"
7740           lt_save_CFLAGS="$CFLAGS"
7741           LIBS="conftstm.$ac_objext"
7742           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7743           if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7744   (eval $ac_link) 2>&5
7745   ac_status=$?
7746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7747   (exit $ac_status); } && test -s conftest${ac_exeext}; then
7748             pipe_works=yes
7749           fi
7750           LIBS="$lt_save_LIBS"
7751           CFLAGS="$lt_save_CFLAGS"
7752         else
7753           echo "cannot find nm_test_func in $nlist" >&5
7754         fi
7755       else
7756         echo "cannot find nm_test_var in $nlist" >&5
7757       fi
7758     else
7759       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7760     fi
7761   else
7762     echo "$progname: failed program was:" >&5
7763     cat conftest.$ac_ext >&5
7764   fi
7765   rm -rf conftest* conftst*
7766
7767   # Do not use the global_symbol_pipe unless it works.
7768   if test "$pipe_works" = yes; then
7769     break
7770   else
7771     lt_cv_sys_global_symbol_pipe=
7772   fi
7773 done
7774
7775 fi
7776
7777 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7778   lt_cv_sys_global_symbol_to_cdecl=
7779 fi
7780 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7781   { echo "$as_me:$LINENO: result: failed" >&5
7782 echo "${ECHO_T}failed" >&6; }
7783 else
7784   { echo "$as_me:$LINENO: result: ok" >&5
7785 echo "${ECHO_T}ok" >&6; }
7786 fi
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809 # Check whether --enable-libtool-lock was given.
7810 if test "${enable_libtool_lock+set}" = set; then
7811   enableval=$enable_libtool_lock;
7812 fi
7813
7814 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7815
7816 # Some flags need to be propagated to the compiler or linker for good
7817 # libtool support.
7818 case $host in
7819 ia64-*-hpux*)
7820   # Find out which ABI we are using.
7821   echo 'int i;' > conftest.$ac_ext
7822   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7823   (eval $ac_compile) 2>&5
7824   ac_status=$?
7825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7826   (exit $ac_status); }; then
7827     case `/usr/bin/file conftest.$ac_objext` in
7828       *ELF-32*)
7829         HPUX_IA64_MODE="32"
7830         ;;
7831       *ELF-64*)
7832         HPUX_IA64_MODE="64"
7833         ;;
7834     esac
7835   fi
7836   rm -rf conftest*
7837   ;;
7838 *-*-irix6*)
7839   # Find out which ABI we are using.
7840   echo '#line 7840 "configure"' > conftest.$ac_ext
7841   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7842   (eval $ac_compile) 2>&5
7843   ac_status=$?
7844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7845   (exit $ac_status); }; then
7846     if test "$lt_cv_prog_gnu_ld" = yes; then
7847       case `/usr/bin/file conftest.$ac_objext` in
7848         *32-bit*)
7849           LD="${LD-ld} -melf32bsmip"
7850           ;;
7851         *N32*)
7852           LD="${LD-ld} -melf32bmipn32"
7853           ;;
7854         *64-bit*)
7855           LD="${LD-ld} -melf64bmip"
7856         ;;
7857       esac
7858     else
7859       case `/usr/bin/file conftest.$ac_objext` in
7860         *32-bit*)
7861           LD="${LD-ld} -32"
7862           ;;
7863         *N32*)
7864           LD="${LD-ld} -n32"
7865           ;;
7866         *64-bit*)
7867           LD="${LD-ld} -64"
7868           ;;
7869       esac
7870     fi
7871   fi
7872   rm -rf conftest*
7873   ;;
7874
7875 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7876 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7877   # Find out which ABI we are using.
7878   echo 'int i;' > conftest.$ac_ext
7879   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7880   (eval $ac_compile) 2>&5
7881   ac_status=$?
7882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7883   (exit $ac_status); }; then
7884     case `/usr/bin/file conftest.o` in
7885       *32-bit*)
7886         case $host in
7887           x86_64-*kfreebsd*-gnu)
7888             LD="${LD-ld} -m elf_i386_fbsd"
7889             ;;
7890           x86_64-*linux*)
7891             LD="${LD-ld} -m elf_i386"
7892             ;;
7893           ppc64-*linux*|powerpc64-*linux*)
7894             LD="${LD-ld} -m elf32ppclinux"
7895             ;;
7896           s390x-*linux*)
7897             LD="${LD-ld} -m elf_s390"
7898             ;;
7899           sparc64-*linux*)
7900             LD="${LD-ld} -m elf32_sparc"
7901             ;;
7902         esac
7903         ;;
7904       *64-bit*)
7905         case $host in
7906           x86_64-*kfreebsd*-gnu)
7907             LD="${LD-ld} -m elf_x86_64_fbsd"
7908             ;;
7909           x86_64-*linux*)
7910             LD="${LD-ld} -m elf_x86_64"
7911             ;;
7912           ppc*-*linux*|powerpc*-*linux*)
7913             LD="${LD-ld} -m elf64ppc"
7914             ;;
7915           s390*-*linux*|s390*-*tpf*)
7916             LD="${LD-ld} -m elf64_s390"
7917             ;;
7918           sparc*-*linux*)
7919             LD="${LD-ld} -m elf64_sparc"
7920             ;;
7921         esac
7922         ;;
7923     esac
7924   fi
7925   rm -rf conftest*
7926   ;;
7927
7928 *-*-sco3.2v5*)
7929   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7930   SAVE_CFLAGS="$CFLAGS"
7931   CFLAGS="$CFLAGS -belf"
7932   { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
7933 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
7934 if test "${lt_cv_cc_needs_belf+set}" = set; then
7935   echo $ECHO_N "(cached) $ECHO_C" >&6
7936 else
7937   ac_ext=c
7938 ac_cpp='$CPP $CPPFLAGS'
7939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7942
7943      cat >conftest.$ac_ext <<_ACEOF
7944 /* confdefs.h.  */
7945 _ACEOF
7946 cat confdefs.h >>conftest.$ac_ext
7947 cat >>conftest.$ac_ext <<_ACEOF
7948 /* end confdefs.h.  */
7949
7950 int
7951 main ()
7952 {
7953
7954   ;
7955   return 0;
7956 }
7957 _ACEOF
7958 rm -f conftest.$ac_objext conftest$ac_exeext
7959 if { (ac_try="$ac_link"
7960 case "(($ac_try" in
7961   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7962   *) ac_try_echo=$ac_try;;
7963 esac
7964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7965   (eval "$ac_link") 2>conftest.er1
7966   ac_status=$?
7967   grep -v '^ *+' conftest.er1 >conftest.err
7968   rm -f conftest.er1
7969   cat conftest.err >&5
7970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7971   (exit $ac_status); } && {
7972          test -z "$ac_c_werror_flag" ||
7973          test ! -s conftest.err
7974        } && test -s conftest$ac_exeext &&
7975        $as_test_x conftest$ac_exeext; then
7976   lt_cv_cc_needs_belf=yes
7977 else
7978   echo "$as_me: failed program was:" >&5
7979 sed 's/^/| /' conftest.$ac_ext >&5
7980
7981         lt_cv_cc_needs_belf=no
7982 fi
7983
7984 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7985       conftest$ac_exeext conftest.$ac_ext
7986      ac_ext=c
7987 ac_cpp='$CPP $CPPFLAGS'
7988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7991
7992 fi
7993 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
7994 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
7995   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7996     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7997     CFLAGS="$SAVE_CFLAGS"
7998   fi
7999   ;;
8000 sparc*-*solaris*)
8001   # Find out which ABI we are using.
8002   echo 'int i;' > conftest.$ac_ext
8003   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8004   (eval $ac_compile) 2>&5
8005   ac_status=$?
8006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8007   (exit $ac_status); }; then
8008     case `/usr/bin/file conftest.o` in
8009     *64-bit*)
8010       case $lt_cv_prog_gnu_ld in
8011       yes*) LD="${LD-ld} -m elf64_sparc" ;;
8012       *)
8013         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8014           LD="${LD-ld} -64"
8015         fi
8016         ;;
8017       esac
8018       ;;
8019     esac
8020   fi
8021   rm -rf conftest*
8022   ;;
8023 esac
8024
8025 need_locks="$enable_libtool_lock"
8026
8027
8028   case $host_os in
8029     rhapsody* | darwin*)
8030     if test -n "$ac_tool_prefix"; then
8031   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8032 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8033 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8035 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
8036   echo $ECHO_N "(cached) $ECHO_C" >&6
8037 else
8038   if test -n "$DSYMUTIL"; then
8039   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8040 else
8041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8042 for as_dir in $PATH
8043 do
8044   IFS=$as_save_IFS
8045   test -z "$as_dir" && as_dir=.
8046   for ac_exec_ext in '' $ac_executable_extensions; do
8047   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8048     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8049     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8050     break 2
8051   fi
8052 done
8053 done
8054 IFS=$as_save_IFS
8055
8056 fi
8057 fi
8058 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8059 if test -n "$DSYMUTIL"; then
8060   { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
8061 echo "${ECHO_T}$DSYMUTIL" >&6; }
8062 else
8063   { echo "$as_me:$LINENO: result: no" >&5
8064 echo "${ECHO_T}no" >&6; }
8065 fi
8066
8067
8068 fi
8069 if test -z "$ac_cv_prog_DSYMUTIL"; then
8070   ac_ct_DSYMUTIL=$DSYMUTIL
8071   # Extract the first word of "dsymutil", so it can be a program name with args.
8072 set dummy dsymutil; ac_word=$2
8073 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8075 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
8076   echo $ECHO_N "(cached) $ECHO_C" >&6
8077 else
8078   if test -n "$ac_ct_DSYMUTIL"; then
8079   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8080 else
8081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8082 for as_dir in $PATH
8083 do
8084   IFS=$as_save_IFS
8085   test -z "$as_dir" && as_dir=.
8086   for ac_exec_ext in '' $ac_executable_extensions; do
8087   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8088     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8089     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8090     break 2
8091   fi
8092 done
8093 done
8094 IFS=$as_save_IFS
8095
8096 fi
8097 fi
8098 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8099 if test -n "$ac_ct_DSYMUTIL"; then
8100   { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
8101 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
8102 else
8103   { echo "$as_me:$LINENO: result: no" >&5
8104 echo "${ECHO_T}no" >&6; }
8105 fi
8106
8107   if test "x$ac_ct_DSYMUTIL" = x; then
8108     DSYMUTIL=":"
8109   else
8110     case $cross_compiling:$ac_tool_warned in
8111 yes:)
8112 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8113 whose name does not start with the host triplet.  If you think this
8114 configuration is useful to you, please write to autoconf@gnu.org." >&5
8115 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8116 whose name does not start with the host triplet.  If you think this
8117 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8118 ac_tool_warned=yes ;;
8119 esac
8120     DSYMUTIL=$ac_ct_DSYMUTIL
8121   fi
8122 else
8123   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8124 fi
8125
8126     if test -n "$ac_tool_prefix"; then
8127   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8128 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8129 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8131 if test "${ac_cv_prog_NMEDIT+set}" = set; then
8132   echo $ECHO_N "(cached) $ECHO_C" >&6
8133 else
8134   if test -n "$NMEDIT"; then
8135   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8136 else
8137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8138 for as_dir in $PATH
8139 do
8140   IFS=$as_save_IFS
8141   test -z "$as_dir" && as_dir=.
8142   for ac_exec_ext in '' $ac_executable_extensions; do
8143   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8144     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8145     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8146     break 2
8147   fi
8148 done
8149 done
8150 IFS=$as_save_IFS
8151
8152 fi
8153 fi
8154 NMEDIT=$ac_cv_prog_NMEDIT
8155 if test -n "$NMEDIT"; then
8156   { echo "$as_me:$LINENO: result: $NMEDIT" >&5
8157 echo "${ECHO_T}$NMEDIT" >&6; }
8158 else
8159   { echo "$as_me:$LINENO: result: no" >&5
8160 echo "${ECHO_T}no" >&6; }
8161 fi
8162
8163
8164 fi
8165 if test -z "$ac_cv_prog_NMEDIT"; then
8166   ac_ct_NMEDIT=$NMEDIT
8167   # Extract the first word of "nmedit", so it can be a program name with args.
8168 set dummy nmedit; ac_word=$2
8169 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8171 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
8172   echo $ECHO_N "(cached) $ECHO_C" >&6
8173 else
8174   if test -n "$ac_ct_NMEDIT"; then
8175   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8176 else
8177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8178 for as_dir in $PATH
8179 do
8180   IFS=$as_save_IFS
8181   test -z "$as_dir" && as_dir=.
8182   for ac_exec_ext in '' $ac_executable_extensions; do
8183   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8184     ac_cv_prog_ac_ct_NMEDIT="nmedit"
8185     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8186     break 2
8187   fi
8188 done
8189 done
8190 IFS=$as_save_IFS
8191
8192 fi
8193 fi
8194 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8195 if test -n "$ac_ct_NMEDIT"; then
8196   { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
8197 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
8198 else
8199   { echo "$as_me:$LINENO: result: no" >&5
8200 echo "${ECHO_T}no" >&6; }
8201 fi
8202
8203   if test "x$ac_ct_NMEDIT" = x; then
8204     NMEDIT=":"
8205   else
8206     case $cross_compiling:$ac_tool_warned in
8207 yes:)
8208 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8209 whose name does not start with the host triplet.  If you think this
8210 configuration is useful to you, please write to autoconf@gnu.org." >&5
8211 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8212 whose name does not start with the host triplet.  If you think this
8213 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8214 ac_tool_warned=yes ;;
8215 esac
8216     NMEDIT=$ac_ct_NMEDIT
8217   fi
8218 else
8219   NMEDIT="$ac_cv_prog_NMEDIT"
8220 fi
8221
8222     if test -n "$ac_tool_prefix"; then
8223   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8224 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8225 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8227 if test "${ac_cv_prog_LIPO+set}" = set; then
8228   echo $ECHO_N "(cached) $ECHO_C" >&6
8229 else
8230   if test -n "$LIPO"; then
8231   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8232 else
8233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8234 for as_dir in $PATH
8235 do
8236   IFS=$as_save_IFS
8237   test -z "$as_dir" && as_dir=.
8238   for ac_exec_ext in '' $ac_executable_extensions; do
8239   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8240     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8241     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8242     break 2
8243   fi
8244 done
8245 done
8246 IFS=$as_save_IFS
8247
8248 fi
8249 fi
8250 LIPO=$ac_cv_prog_LIPO
8251 if test -n "$LIPO"; then
8252   { echo "$as_me:$LINENO: result: $LIPO" >&5
8253 echo "${ECHO_T}$LIPO" >&6; }
8254 else
8255   { echo "$as_me:$LINENO: result: no" >&5
8256 echo "${ECHO_T}no" >&6; }
8257 fi
8258
8259
8260 fi
8261 if test -z "$ac_cv_prog_LIPO"; then
8262   ac_ct_LIPO=$LIPO
8263   # Extract the first word of "lipo", so it can be a program name with args.
8264 set dummy lipo; ac_word=$2
8265 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8267 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
8268   echo $ECHO_N "(cached) $ECHO_C" >&6
8269 else
8270   if test -n "$ac_ct_LIPO"; then
8271   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8272 else
8273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8274 for as_dir in $PATH
8275 do
8276   IFS=$as_save_IFS
8277   test -z "$as_dir" && as_dir=.
8278   for ac_exec_ext in '' $ac_executable_extensions; do
8279   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8280     ac_cv_prog_ac_ct_LIPO="lipo"
8281     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8282     break 2
8283   fi
8284 done
8285 done
8286 IFS=$as_save_IFS
8287
8288 fi
8289 fi
8290 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8291 if test -n "$ac_ct_LIPO"; then
8292   { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
8293 echo "${ECHO_T}$ac_ct_LIPO" >&6; }
8294 else
8295   { echo "$as_me:$LINENO: result: no" >&5
8296 echo "${ECHO_T}no" >&6; }
8297 fi
8298
8299   if test "x$ac_ct_LIPO" = x; then
8300     LIPO=":"
8301   else
8302     case $cross_compiling:$ac_tool_warned in
8303 yes:)
8304 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8305 whose name does not start with the host triplet.  If you think this
8306 configuration is useful to you, please write to autoconf@gnu.org." >&5
8307 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8308 whose name does not start with the host triplet.  If you think this
8309 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8310 ac_tool_warned=yes ;;
8311 esac
8312     LIPO=$ac_ct_LIPO
8313   fi
8314 else
8315   LIPO="$ac_cv_prog_LIPO"
8316 fi
8317
8318     if test -n "$ac_tool_prefix"; then
8319   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8320 set dummy ${ac_tool_prefix}otool; ac_word=$2
8321 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8323 if test "${ac_cv_prog_OTOOL+set}" = set; then
8324   echo $ECHO_N "(cached) $ECHO_C" >&6
8325 else
8326   if test -n "$OTOOL"; then
8327   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8328 else
8329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8330 for as_dir in $PATH
8331 do
8332   IFS=$as_save_IFS
8333   test -z "$as_dir" && as_dir=.
8334   for ac_exec_ext in '' $ac_executable_extensions; do
8335   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8336     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8337     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8338     break 2
8339   fi
8340 done
8341 done
8342 IFS=$as_save_IFS
8343
8344 fi
8345 fi
8346 OTOOL=$ac_cv_prog_OTOOL
8347 if test -n "$OTOOL"; then
8348   { echo "$as_me:$LINENO: result: $OTOOL" >&5
8349 echo "${ECHO_T}$OTOOL" >&6; }
8350 else
8351   { echo "$as_me:$LINENO: result: no" >&5
8352 echo "${ECHO_T}no" >&6; }
8353 fi
8354
8355
8356 fi
8357 if test -z "$ac_cv_prog_OTOOL"; then
8358   ac_ct_OTOOL=$OTOOL
8359   # Extract the first word of "otool", so it can be a program name with args.
8360 set dummy otool; ac_word=$2
8361 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8363 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
8364   echo $ECHO_N "(cached) $ECHO_C" >&6
8365 else
8366   if test -n "$ac_ct_OTOOL"; then
8367   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8368 else
8369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8370 for as_dir in $PATH
8371 do
8372   IFS=$as_save_IFS
8373   test -z "$as_dir" && as_dir=.
8374   for ac_exec_ext in '' $ac_executable_extensions; do
8375   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8376     ac_cv_prog_ac_ct_OTOOL="otool"
8377     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8378     break 2
8379   fi
8380 done
8381 done
8382 IFS=$as_save_IFS
8383
8384 fi
8385 fi
8386 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8387 if test -n "$ac_ct_OTOOL"; then
8388   { echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
8389 echo "${ECHO_T}$ac_ct_OTOOL" >&6; }
8390 else
8391   { echo "$as_me:$LINENO: result: no" >&5
8392 echo "${ECHO_T}no" >&6; }
8393 fi
8394
8395   if test "x$ac_ct_OTOOL" = x; then
8396     OTOOL=":"
8397   else
8398     case $cross_compiling:$ac_tool_warned in
8399 yes:)
8400 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8401 whose name does not start with the host triplet.  If you think this
8402 configuration is useful to you, please write to autoconf@gnu.org." >&5
8403 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8404 whose name does not start with the host triplet.  If you think this
8405 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8406 ac_tool_warned=yes ;;
8407 esac
8408     OTOOL=$ac_ct_OTOOL
8409   fi
8410 else
8411   OTOOL="$ac_cv_prog_OTOOL"
8412 fi
8413
8414     if test -n "$ac_tool_prefix"; then
8415   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8416 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8417 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8419 if test "${ac_cv_prog_OTOOL64+set}" = set; then
8420   echo $ECHO_N "(cached) $ECHO_C" >&6
8421 else
8422   if test -n "$OTOOL64"; then
8423   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8424 else
8425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8426 for as_dir in $PATH
8427 do
8428   IFS=$as_save_IFS
8429   test -z "$as_dir" && as_dir=.
8430   for ac_exec_ext in '' $ac_executable_extensions; do
8431   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8432     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8433     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8434     break 2
8435   fi
8436 done
8437 done
8438 IFS=$as_save_IFS
8439
8440 fi
8441 fi
8442 OTOOL64=$ac_cv_prog_OTOOL64
8443 if test -n "$OTOOL64"; then
8444   { echo "$as_me:$LINENO: result: $OTOOL64" >&5
8445 echo "${ECHO_T}$OTOOL64" >&6; }
8446 else
8447   { echo "$as_me:$LINENO: result: no" >&5
8448 echo "${ECHO_T}no" >&6; }
8449 fi
8450
8451
8452 fi
8453 if test -z "$ac_cv_prog_OTOOL64"; then
8454   ac_ct_OTOOL64=$OTOOL64
8455   # Extract the first word of "otool64", so it can be a program name with args.
8456 set dummy otool64; ac_word=$2
8457 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8459 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
8460   echo $ECHO_N "(cached) $ECHO_C" >&6
8461 else
8462   if test -n "$ac_ct_OTOOL64"; then
8463   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8464 else
8465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8466 for as_dir in $PATH
8467 do
8468   IFS=$as_save_IFS
8469   test -z "$as_dir" && as_dir=.
8470   for ac_exec_ext in '' $ac_executable_extensions; do
8471   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8472     ac_cv_prog_ac_ct_OTOOL64="otool64"
8473     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8474     break 2
8475   fi
8476 done
8477 done
8478 IFS=$as_save_IFS
8479
8480 fi
8481 fi
8482 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8483 if test -n "$ac_ct_OTOOL64"; then
8484   { echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
8485 echo "${ECHO_T}$ac_ct_OTOOL64" >&6; }
8486 else
8487   { echo "$as_me:$LINENO: result: no" >&5
8488 echo "${ECHO_T}no" >&6; }
8489 fi
8490
8491   if test "x$ac_ct_OTOOL64" = x; then
8492     OTOOL64=":"
8493   else
8494     case $cross_compiling:$ac_tool_warned in
8495 yes:)
8496 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8497 whose name does not start with the host triplet.  If you think this
8498 configuration is useful to you, please write to autoconf@gnu.org." >&5
8499 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8500 whose name does not start with the host triplet.  If you think this
8501 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8502 ac_tool_warned=yes ;;
8503 esac
8504     OTOOL64=$ac_ct_OTOOL64
8505   fi
8506 else
8507   OTOOL64="$ac_cv_prog_OTOOL64"
8508 fi
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536     { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
8537 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
8538 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8539   echo $ECHO_N "(cached) $ECHO_C" >&6
8540 else
8541   lt_cv_apple_cc_single_mod=no
8542       if test -z "${LT_MULTI_MODULE}"; then
8543         # By default we will add the -single_module flag. You can override
8544         # by either setting the environment variable LT_MULTI_MODULE
8545         # non-empty at configure time, or by adding -multi_module to the
8546         # link flags.
8547         rm -rf libconftest.dylib*
8548         echo "int foo(void){return 1;}" > conftest.c
8549         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8550 -dynamiclib -Wl,-single_module conftest.c" >&5
8551         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8552           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8553         _lt_result=$?
8554         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8555           lt_cv_apple_cc_single_mod=yes
8556         else
8557           cat conftest.err >&5
8558         fi
8559         rm -rf libconftest.dylib*
8560         rm -f conftest.*
8561       fi
8562 fi
8563 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
8564 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
8565     { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
8566 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
8567 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
8568   echo $ECHO_N "(cached) $ECHO_C" >&6
8569 else
8570   lt_cv_ld_exported_symbols_list=no
8571       save_LDFLAGS=$LDFLAGS
8572       echo "_main" > conftest.sym
8573       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8574       cat >conftest.$ac_ext <<_ACEOF
8575 /* confdefs.h.  */
8576 _ACEOF
8577 cat confdefs.h >>conftest.$ac_ext
8578 cat >>conftest.$ac_ext <<_ACEOF
8579 /* end confdefs.h.  */
8580
8581 int
8582 main ()
8583 {
8584
8585   ;
8586   return 0;
8587 }
8588 _ACEOF
8589 rm -f conftest.$ac_objext conftest$ac_exeext
8590 if { (ac_try="$ac_link"
8591 case "(($ac_try" in
8592   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8593   *) ac_try_echo=$ac_try;;
8594 esac
8595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8596   (eval "$ac_link") 2>conftest.er1
8597   ac_status=$?
8598   grep -v '^ *+' conftest.er1 >conftest.err
8599   rm -f conftest.er1
8600   cat conftest.err >&5
8601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8602   (exit $ac_status); } && {
8603          test -z "$ac_c_werror_flag" ||
8604          test ! -s conftest.err
8605        } && test -s conftest$ac_exeext &&
8606        $as_test_x conftest$ac_exeext; then
8607   lt_cv_ld_exported_symbols_list=yes
8608 else
8609   echo "$as_me: failed program was:" >&5
8610 sed 's/^/| /' conftest.$ac_ext >&5
8611
8612         lt_cv_ld_exported_symbols_list=no
8613 fi
8614
8615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8616       conftest$ac_exeext conftest.$ac_ext
8617         LDFLAGS="$save_LDFLAGS"
8618
8619 fi
8620 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
8621 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
8622     case $host_os in
8623     rhapsody* | darwin1.[012])
8624       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8625     darwin1.*)
8626       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8627     darwin*) # darwin 5.x on
8628       # if running on 10.5 or later, the deployment target defaults
8629       # to the OS version, if on x86, and 10.4, the deployment
8630       # target defaults to 10.4. Don't you love it?
8631       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8632         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8633           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8634         10.[012]*)
8635           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8636         10.*)
8637           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8638       esac
8639     ;;
8640   esac
8641     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8642       _lt_dar_single_mod='$single_module'
8643     fi
8644     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8645       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8646     else
8647       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8648     fi
8649     if test "$DSYMUTIL" != ":"; then
8650       _lt_dsymutil='~$DSYMUTIL $lib || :'
8651     else
8652       _lt_dsymutil=
8653     fi
8654     ;;
8655   esac
8656
8657
8658 for ac_header in dlfcn.h
8659 do
8660 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8661 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8662 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8663 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8664   echo $ECHO_N "(cached) $ECHO_C" >&6
8665 else
8666   cat >conftest.$ac_ext <<_ACEOF
8667 /* confdefs.h.  */
8668 _ACEOF
8669 cat confdefs.h >>conftest.$ac_ext
8670 cat >>conftest.$ac_ext <<_ACEOF
8671 /* end confdefs.h.  */
8672 $ac_includes_default
8673
8674 #include <$ac_header>
8675 _ACEOF
8676 rm -f conftest.$ac_objext
8677 if { (ac_try="$ac_compile"
8678 case "(($ac_try" in
8679   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8680   *) ac_try_echo=$ac_try;;
8681 esac
8682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8683   (eval "$ac_compile") 2>conftest.er1
8684   ac_status=$?
8685   grep -v '^ *+' conftest.er1 >conftest.err
8686   rm -f conftest.er1
8687   cat conftest.err >&5
8688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8689   (exit $ac_status); } && {
8690          test -z "$ac_c_werror_flag" ||
8691          test ! -s conftest.err
8692        } && test -s conftest.$ac_objext; then
8693   eval "$as_ac_Header=yes"
8694 else
8695   echo "$as_me: failed program was:" >&5
8696 sed 's/^/| /' conftest.$ac_ext >&5
8697
8698         eval "$as_ac_Header=no"
8699 fi
8700
8701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8702 fi
8703 ac_res=`eval echo '${'$as_ac_Header'}'`
8704                { echo "$as_me:$LINENO: result: $ac_res" >&5
8705 echo "${ECHO_T}$ac_res" >&6; }
8706 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8707   cat >>confdefs.h <<_ACEOF
8708 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8709 _ACEOF
8710
8711 fi
8712
8713 done
8714
8715
8716
8717 ac_ext=cpp
8718 ac_cpp='$CXXCPP $CPPFLAGS'
8719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8722 if test -z "$CXX"; then
8723   if test -n "$CCC"; then
8724     CXX=$CCC
8725   else
8726     if test -n "$ac_tool_prefix"; then
8727   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
8728   do
8729     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8730 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8731 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8733 if test "${ac_cv_prog_CXX+set}" = set; then
8734   echo $ECHO_N "(cached) $ECHO_C" >&6
8735 else
8736   if test -n "$CXX"; then
8737   ac_cv_prog_CXX="$CXX" # Let the user override the test.
8738 else
8739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8740 for as_dir in $PATH
8741 do
8742   IFS=$as_save_IFS
8743   test -z "$as_dir" && as_dir=.
8744   for ac_exec_ext in '' $ac_executable_extensions; do
8745   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8746     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
8747     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8748     break 2
8749   fi
8750 done
8751 done
8752 IFS=$as_save_IFS
8753
8754 fi
8755 fi
8756 CXX=$ac_cv_prog_CXX
8757 if test -n "$CXX"; then
8758   { echo "$as_me:$LINENO: result: $CXX" >&5
8759 echo "${ECHO_T}$CXX" >&6; }
8760 else
8761   { echo "$as_me:$LINENO: result: no" >&5
8762 echo "${ECHO_T}no" >&6; }
8763 fi
8764
8765
8766     test -n "$CXX" && break
8767   done
8768 fi
8769 if test -z "$CXX"; then
8770   ac_ct_CXX=$CXX
8771   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
8772 do
8773   # Extract the first word of "$ac_prog", so it can be a program name with args.
8774 set dummy $ac_prog; ac_word=$2
8775 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8777 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
8778   echo $ECHO_N "(cached) $ECHO_C" >&6
8779 else
8780   if test -n "$ac_ct_CXX"; then
8781   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
8782 else
8783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8784 for as_dir in $PATH
8785 do
8786   IFS=$as_save_IFS
8787   test -z "$as_dir" && as_dir=.
8788   for ac_exec_ext in '' $ac_executable_extensions; do
8789   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8790     ac_cv_prog_ac_ct_CXX="$ac_prog"
8791     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8792     break 2
8793   fi
8794 done
8795 done
8796 IFS=$as_save_IFS
8797
8798 fi
8799 fi
8800 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
8801 if test -n "$ac_ct_CXX"; then
8802   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
8803 echo "${ECHO_T}$ac_ct_CXX" >&6; }
8804 else
8805   { echo "$as_me:$LINENO: result: no" >&5
8806 echo "${ECHO_T}no" >&6; }
8807 fi
8808
8809
8810   test -n "$ac_ct_CXX" && break
8811 done
8812
8813   if test "x$ac_ct_CXX" = x; then
8814     CXX="g++"
8815   else
8816     case $cross_compiling:$ac_tool_warned in
8817 yes:)
8818 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8819 whose name does not start with the host triplet.  If you think this
8820 configuration is useful to you, please write to autoconf@gnu.org." >&5
8821 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8822 whose name does not start with the host triplet.  If you think this
8823 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8824 ac_tool_warned=yes ;;
8825 esac
8826     CXX=$ac_ct_CXX
8827   fi
8828 fi
8829
8830   fi
8831 fi
8832 # Provide some information about the compiler.
8833 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
8834 ac_compiler=`set X $ac_compile; echo $2`
8835 { (ac_try="$ac_compiler --version >&5"
8836 case "(($ac_try" in
8837   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8838   *) ac_try_echo=$ac_try;;
8839 esac
8840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8841   (eval "$ac_compiler --version >&5") 2>&5
8842   ac_status=$?
8843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8844   (exit $ac_status); }
8845 { (ac_try="$ac_compiler -v >&5"
8846 case "(($ac_try" in
8847   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8848   *) ac_try_echo=$ac_try;;
8849 esac
8850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8851   (eval "$ac_compiler -v >&5") 2>&5
8852   ac_status=$?
8853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8854   (exit $ac_status); }
8855 { (ac_try="$ac_compiler -V >&5"
8856 case "(($ac_try" in
8857   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8858   *) ac_try_echo=$ac_try;;
8859 esac
8860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8861   (eval "$ac_compiler -V >&5") 2>&5
8862   ac_status=$?
8863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8864   (exit $ac_status); }
8865
8866 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
8867 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
8868 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
8869   echo $ECHO_N "(cached) $ECHO_C" >&6
8870 else
8871   cat >conftest.$ac_ext <<_ACEOF
8872 /* confdefs.h.  */
8873 _ACEOF
8874 cat confdefs.h >>conftest.$ac_ext
8875 cat >>conftest.$ac_ext <<_ACEOF
8876 /* end confdefs.h.  */
8877
8878 int
8879 main ()
8880 {
8881 #ifndef __GNUC__
8882        choke me
8883 #endif
8884
8885   ;
8886   return 0;
8887 }
8888 _ACEOF
8889 rm -f conftest.$ac_objext
8890 if { (ac_try="$ac_compile"
8891 case "(($ac_try" in
8892   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8893   *) ac_try_echo=$ac_try;;
8894 esac
8895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8896   (eval "$ac_compile") 2>conftest.er1
8897   ac_status=$?
8898   grep -v '^ *+' conftest.er1 >conftest.err
8899   rm -f conftest.er1
8900   cat conftest.err >&5
8901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8902   (exit $ac_status); } && {
8903          test -z "$ac_cxx_werror_flag" ||
8904          test ! -s conftest.err
8905        } && test -s conftest.$ac_objext; then
8906   ac_compiler_gnu=yes
8907 else
8908   echo "$as_me: failed program was:" >&5
8909 sed 's/^/| /' conftest.$ac_ext >&5
8910
8911         ac_compiler_gnu=no
8912 fi
8913
8914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8915 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
8916
8917 fi
8918 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
8919 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
8920 GXX=`test $ac_compiler_gnu = yes && echo yes`
8921 ac_test_CXXFLAGS=${CXXFLAGS+set}
8922 ac_save_CXXFLAGS=$CXXFLAGS
8923 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
8924 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
8925 if test "${ac_cv_prog_cxx_g+set}" = set; then
8926   echo $ECHO_N "(cached) $ECHO_C" >&6
8927 else
8928   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
8929    ac_cxx_werror_flag=yes
8930    ac_cv_prog_cxx_g=no
8931    CXXFLAGS="-g"
8932    cat >conftest.$ac_ext <<_ACEOF
8933 /* confdefs.h.  */
8934 _ACEOF
8935 cat confdefs.h >>conftest.$ac_ext
8936 cat >>conftest.$ac_ext <<_ACEOF
8937 /* end confdefs.h.  */
8938
8939 int
8940 main ()
8941 {
8942
8943   ;
8944   return 0;
8945 }
8946 _ACEOF
8947 rm -f conftest.$ac_objext
8948 if { (ac_try="$ac_compile"
8949 case "(($ac_try" in
8950   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8951   *) ac_try_echo=$ac_try;;
8952 esac
8953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8954   (eval "$ac_compile") 2>conftest.er1
8955   ac_status=$?
8956   grep -v '^ *+' conftest.er1 >conftest.err
8957   rm -f conftest.er1
8958   cat conftest.err >&5
8959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8960   (exit $ac_status); } && {
8961          test -z "$ac_cxx_werror_flag" ||
8962          test ! -s conftest.err
8963        } && test -s conftest.$ac_objext; then
8964   ac_cv_prog_cxx_g=yes
8965 else
8966   echo "$as_me: failed program was:" >&5
8967 sed 's/^/| /' conftest.$ac_ext >&5
8968
8969         CXXFLAGS=""
8970       cat >conftest.$ac_ext <<_ACEOF
8971 /* confdefs.h.  */
8972 _ACEOF
8973 cat confdefs.h >>conftest.$ac_ext
8974 cat >>conftest.$ac_ext <<_ACEOF
8975 /* end confdefs.h.  */
8976
8977 int
8978 main ()
8979 {
8980
8981   ;
8982   return 0;
8983 }
8984 _ACEOF
8985 rm -f conftest.$ac_objext
8986 if { (ac_try="$ac_compile"
8987 case "(($ac_try" in
8988   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8989   *) ac_try_echo=$ac_try;;
8990 esac
8991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8992   (eval "$ac_compile") 2>conftest.er1
8993   ac_status=$?
8994   grep -v '^ *+' conftest.er1 >conftest.err
8995   rm -f conftest.er1
8996   cat conftest.err >&5
8997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8998   (exit $ac_status); } && {
8999          test -z "$ac_cxx_werror_flag" ||
9000          test ! -s conftest.err
9001        } && test -s conftest.$ac_objext; then
9002   :
9003 else
9004   echo "$as_me: failed program was:" >&5
9005 sed 's/^/| /' conftest.$ac_ext >&5
9006
9007         ac_cxx_werror_flag=$ac_save_cxx_werror_flag
9008          CXXFLAGS="-g"
9009          cat >conftest.$ac_ext <<_ACEOF
9010 /* confdefs.h.  */
9011 _ACEOF
9012 cat confdefs.h >>conftest.$ac_ext
9013 cat >>conftest.$ac_ext <<_ACEOF
9014 /* end confdefs.h.  */
9015
9016 int
9017 main ()
9018 {
9019
9020   ;
9021   return 0;
9022 }
9023 _ACEOF
9024 rm -f conftest.$ac_objext
9025 if { (ac_try="$ac_compile"
9026 case "(($ac_try" in
9027   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9028   *) ac_try_echo=$ac_try;;
9029 esac
9030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9031   (eval "$ac_compile") 2>conftest.er1
9032   ac_status=$?
9033   grep -v '^ *+' conftest.er1 >conftest.err
9034   rm -f conftest.er1
9035   cat conftest.err >&5
9036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9037   (exit $ac_status); } && {
9038          test -z "$ac_cxx_werror_flag" ||
9039          test ! -s conftest.err
9040        } && test -s conftest.$ac_objext; then
9041   ac_cv_prog_cxx_g=yes
9042 else
9043   echo "$as_me: failed program was:" >&5
9044 sed 's/^/| /' conftest.$ac_ext >&5
9045
9046
9047 fi
9048
9049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9050 fi
9051
9052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9053 fi
9054
9055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9056    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
9057 fi
9058 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
9059 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
9060 if test "$ac_test_CXXFLAGS" = set; then
9061   CXXFLAGS=$ac_save_CXXFLAGS
9062 elif test $ac_cv_prog_cxx_g = yes; then
9063   if test "$GXX" = yes; then
9064     CXXFLAGS="-g -O2"
9065   else
9066     CXXFLAGS="-g"
9067   fi
9068 else
9069   if test "$GXX" = yes; then
9070     CXXFLAGS="-O2"
9071   else
9072     CXXFLAGS=
9073   fi
9074 fi
9075 ac_ext=c
9076 ac_cpp='$CPP $CPPFLAGS'
9077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9080
9081 depcc="$CXX"  am_compiler_list=
9082
9083 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
9084 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
9085 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
9086   echo $ECHO_N "(cached) $ECHO_C" >&6
9087 else
9088   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
9089   # We make a subdir and do the tests there.  Otherwise we can end up
9090   # making bogus files that we don't know about and never remove.  For
9091   # instance it was reported that on HP-UX the gcc test will end up
9092   # making a dummy file named `D' -- because `-MD' means `put the output
9093   # in D'.
9094   mkdir conftest.dir
9095   # Copy depcomp to subdir because otherwise we won't find it if we're
9096   # using a relative directory.
9097   cp "$am_depcomp" conftest.dir
9098   cd conftest.dir
9099   # We will build objects and dependencies in a subdirectory because
9100   # it helps to detect inapplicable dependency modes.  For instance
9101   # both Tru64's cc and ICC support -MD to output dependencies as a
9102   # side effect of compilation, but ICC will put the dependencies in
9103   # the current directory while Tru64 will put them in the object
9104   # directory.
9105   mkdir sub
9106
9107   am_cv_CXX_dependencies_compiler_type=none
9108   if test "$am_compiler_list" = ""; then
9109      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
9110   fi
9111   for depmode in $am_compiler_list; do
9112     # Setup a source with many dependencies, because some compilers
9113     # like to wrap large dependency lists on column 80 (with \), and
9114     # we should not choose a depcomp mode which is confused by this.
9115     #
9116     # We need to recreate these files for each test, as the compiler may
9117     # overwrite some of them when testing with obscure command lines.
9118     # This happens at least with the AIX C compiler.
9119     : > sub/conftest.c
9120     for i in 1 2 3 4 5 6; do
9121       echo '#include "conftst'$i'.h"' >> sub/conftest.c
9122       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
9123       # Solaris 8's {/usr,}/bin/sh.
9124       touch sub/conftst$i.h
9125     done
9126     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
9127
9128     case $depmode in
9129     nosideeffect)
9130       # after this tag, mechanisms are not by side-effect, so they'll
9131       # only be used when explicitly requested
9132       if test "x$enable_dependency_tracking" = xyes; then
9133         continue
9134       else
9135         break
9136       fi
9137       ;;
9138     none) break ;;
9139     esac
9140     # We check with `-c' and `-o' for the sake of the "dashmstdout"
9141     # mode.  It turns out that the SunPro C++ compiler does not properly
9142     # handle `-M -o', and we need to detect this.
9143     if depmode=$depmode \
9144        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
9145        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
9146        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
9147          >/dev/null 2>conftest.err &&
9148        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
9149        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
9150        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
9151       # icc doesn't choke on unknown options, it will just issue warnings
9152       # or remarks (even with -Werror).  So we grep stderr for any message
9153       # that says an option was ignored or not supported.
9154       # When given -MP, icc 7.0 and 7.1 complain thusly:
9155       #   icc: Command line warning: ignoring option '-M'; no argument required
9156       # The diagnosis changed in icc 8.0:
9157       #   icc: Command line remark: option '-MP' not supported
9158       if (grep 'ignoring option' conftest.err ||
9159           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
9160         am_cv_CXX_dependencies_compiler_type=$depmode
9161         break
9162       fi
9163     fi
9164   done
9165
9166   cd ..
9167   rm -rf conftest.dir
9168 else
9169   am_cv_CXX_dependencies_compiler_type=none
9170 fi
9171
9172 fi
9173 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
9174 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
9175 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
9176
9177
9178
9179 if
9180   test "x$enable_dependency_tracking" != xno \
9181   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
9182   am__fastdepCXX_TRUE=
9183   am__fastdepCXX_FALSE='#'
9184 else
9185   am__fastdepCXX_TRUE='#'
9186   am__fastdepCXX_FALSE=
9187 fi
9188
9189
9190 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9191     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9192     (test "X$CXX" != "Xg++"))) ; then
9193   ac_ext=cpp
9194 ac_cpp='$CXXCPP $CPPFLAGS'
9195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9198 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
9199 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
9200 if test -z "$CXXCPP"; then
9201   if test "${ac_cv_prog_CXXCPP+set}" = set; then
9202   echo $ECHO_N "(cached) $ECHO_C" >&6
9203 else
9204       # Double quotes because CXXCPP needs to be expanded
9205     for CXXCPP in "$CXX -E" "/lib/cpp"
9206     do
9207       ac_preproc_ok=false
9208 for ac_cxx_preproc_warn_flag in '' yes
9209 do
9210   # Use a header file that comes with gcc, so configuring glibc
9211   # with a fresh cross-compiler works.
9212   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9213   # <limits.h> exists even on freestanding compilers.
9214   # On the NeXT, cc -E runs the code through the compiler's parser,
9215   # not just through cpp. "Syntax error" is here to catch this case.
9216   cat >conftest.$ac_ext <<_ACEOF
9217 /* confdefs.h.  */
9218 _ACEOF
9219 cat confdefs.h >>conftest.$ac_ext
9220 cat >>conftest.$ac_ext <<_ACEOF
9221 /* end confdefs.h.  */
9222 #ifdef __STDC__
9223 # include <limits.h>
9224 #else
9225 # include <assert.h>
9226 #endif
9227                      Syntax error
9228 _ACEOF
9229 if { (ac_try="$ac_cpp conftest.$ac_ext"
9230 case "(($ac_try" in
9231   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9232   *) ac_try_echo=$ac_try;;
9233 esac
9234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9235   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9236   ac_status=$?
9237   grep -v '^ *+' conftest.er1 >conftest.err
9238   rm -f conftest.er1
9239   cat conftest.err >&5
9240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9241   (exit $ac_status); } >/dev/null && {
9242          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9243          test ! -s conftest.err
9244        }; then
9245   :
9246 else
9247   echo "$as_me: failed program was:" >&5
9248 sed 's/^/| /' conftest.$ac_ext >&5
9249
9250   # Broken: fails on valid input.
9251 continue
9252 fi
9253
9254 rm -f conftest.err conftest.$ac_ext
9255
9256   # OK, works on sane cases.  Now check whether nonexistent headers
9257   # can be detected and how.
9258   cat >conftest.$ac_ext <<_ACEOF
9259 /* confdefs.h.  */
9260 _ACEOF
9261 cat confdefs.h >>conftest.$ac_ext
9262 cat >>conftest.$ac_ext <<_ACEOF
9263 /* end confdefs.h.  */
9264 #include <ac_nonexistent.h>
9265 _ACEOF
9266 if { (ac_try="$ac_cpp conftest.$ac_ext"
9267 case "(($ac_try" in
9268   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9269   *) ac_try_echo=$ac_try;;
9270 esac
9271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9272   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9273   ac_status=$?
9274   grep -v '^ *+' conftest.er1 >conftest.err
9275   rm -f conftest.er1
9276   cat conftest.err >&5
9277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9278   (exit $ac_status); } >/dev/null && {
9279          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9280          test ! -s conftest.err
9281        }; then
9282   # Broken: success on invalid input.
9283 continue
9284 else
9285   echo "$as_me: failed program was:" >&5
9286 sed 's/^/| /' conftest.$ac_ext >&5
9287
9288   # Passes both tests.
9289 ac_preproc_ok=:
9290 break
9291 fi
9292
9293 rm -f conftest.err conftest.$ac_ext
9294
9295 done
9296 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9297 rm -f conftest.err conftest.$ac_ext
9298 if $ac_preproc_ok; then
9299   break
9300 fi
9301
9302     done
9303     ac_cv_prog_CXXCPP=$CXXCPP
9304
9305 fi
9306   CXXCPP=$ac_cv_prog_CXXCPP
9307 else
9308   ac_cv_prog_CXXCPP=$CXXCPP
9309 fi
9310 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
9311 echo "${ECHO_T}$CXXCPP" >&6; }
9312 ac_preproc_ok=false
9313 for ac_cxx_preproc_warn_flag in '' yes
9314 do
9315   # Use a header file that comes with gcc, so configuring glibc
9316   # with a fresh cross-compiler works.
9317   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9318   # <limits.h> exists even on freestanding compilers.
9319   # On the NeXT, cc -E runs the code through the compiler's parser,
9320   # not just through cpp. "Syntax error" is here to catch this case.
9321   cat >conftest.$ac_ext <<_ACEOF
9322 /* confdefs.h.  */
9323 _ACEOF
9324 cat confdefs.h >>conftest.$ac_ext
9325 cat >>conftest.$ac_ext <<_ACEOF
9326 /* end confdefs.h.  */
9327 #ifdef __STDC__
9328 # include <limits.h>
9329 #else
9330 # include <assert.h>
9331 #endif
9332                      Syntax error
9333 _ACEOF
9334 if { (ac_try="$ac_cpp conftest.$ac_ext"
9335 case "(($ac_try" in
9336   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9337   *) ac_try_echo=$ac_try;;
9338 esac
9339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9340   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9341   ac_status=$?
9342   grep -v '^ *+' conftest.er1 >conftest.err
9343   rm -f conftest.er1
9344   cat conftest.err >&5
9345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9346   (exit $ac_status); } >/dev/null && {
9347          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9348          test ! -s conftest.err
9349        }; then
9350   :
9351 else
9352   echo "$as_me: failed program was:" >&5
9353 sed 's/^/| /' conftest.$ac_ext >&5
9354
9355   # Broken: fails on valid input.
9356 continue
9357 fi
9358
9359 rm -f conftest.err conftest.$ac_ext
9360
9361   # OK, works on sane cases.  Now check whether nonexistent headers
9362   # can be detected and how.
9363   cat >conftest.$ac_ext <<_ACEOF
9364 /* confdefs.h.  */
9365 _ACEOF
9366 cat confdefs.h >>conftest.$ac_ext
9367 cat >>conftest.$ac_ext <<_ACEOF
9368 /* end confdefs.h.  */
9369 #include <ac_nonexistent.h>
9370 _ACEOF
9371 if { (ac_try="$ac_cpp conftest.$ac_ext"
9372 case "(($ac_try" in
9373   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9374   *) ac_try_echo=$ac_try;;
9375 esac
9376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9377   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9378   ac_status=$?
9379   grep -v '^ *+' conftest.er1 >conftest.err
9380   rm -f conftest.er1
9381   cat conftest.err >&5
9382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9383   (exit $ac_status); } >/dev/null && {
9384          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9385          test ! -s conftest.err
9386        }; then
9387   # Broken: success on invalid input.
9388 continue
9389 else
9390   echo "$as_me: failed program was:" >&5
9391 sed 's/^/| /' conftest.$ac_ext >&5
9392
9393   # Passes both tests.
9394 ac_preproc_ok=:
9395 break
9396 fi
9397
9398 rm -f conftest.err conftest.$ac_ext
9399
9400 done
9401 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9402 rm -f conftest.err conftest.$ac_ext
9403 if $ac_preproc_ok; then
9404   :
9405 else
9406   _lt_caught_CXX_error=yes
9407 fi
9408
9409 ac_ext=c
9410 ac_cpp='$CPP $CPPFLAGS'
9411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9414
9415 else
9416   _lt_caught_CXX_error=yes
9417 fi
9418
9419
9420
9421
9422 # Set options
9423
9424
9425
9426         enable_dlopen=no
9427
9428
9429
9430             # Check whether --enable-shared was given.
9431 if test "${enable_shared+set}" = set; then
9432   enableval=$enable_shared; p=${PACKAGE-default}
9433     case $enableval in
9434     yes) enable_shared=yes ;;
9435     no) enable_shared=no ;;
9436     *)
9437       enable_shared=no
9438       # Look at the argument we got.  We use all the common list separators.
9439       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9440       for pkg in $enableval; do
9441         IFS="$lt_save_ifs"
9442         if test "X$pkg" = "X$p"; then
9443           enable_shared=yes
9444         fi
9445       done
9446       IFS="$lt_save_ifs"
9447       ;;
9448     esac
9449 else
9450   enable_shared=yes
9451 fi
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463 # Check whether --with-pic was given.
9464 if test "${with_pic+set}" = set; then
9465   withval=$with_pic; pic_mode="$withval"
9466 else
9467   pic_mode=default
9468 fi
9469
9470
9471 test -z "$pic_mode" && pic_mode=default
9472
9473
9474
9475
9476
9477
9478
9479   # Check whether --enable-fast-install was given.
9480 if test "${enable_fast_install+set}" = set; then
9481   enableval=$enable_fast_install; p=${PACKAGE-default}
9482     case $enableval in
9483     yes) enable_fast_install=yes ;;
9484     no) enable_fast_install=no ;;
9485     *)
9486       enable_fast_install=no
9487       # Look at the argument we got.  We use all the common list separators.
9488       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9489       for pkg in $enableval; do
9490         IFS="$lt_save_ifs"
9491         if test "X$pkg" = "X$p"; then
9492           enable_fast_install=yes
9493         fi
9494       done
9495       IFS="$lt_save_ifs"
9496       ;;
9497     esac
9498 else
9499   enable_fast_install=yes
9500 fi
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512 # This can be used to rebuild libtool when needed
9513 LIBTOOL_DEPS="$ltmain"
9514
9515 # Always use our own libtool.
9516 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542 test -z "$LN_S" && LN_S="ln -s"
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557 if test -n "${ZSH_VERSION+set}" ; then
9558    setopt NO_GLOB_SUBST
9559 fi
9560
9561 { echo "$as_me:$LINENO: checking for objdir" >&5
9562 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
9563 if test "${lt_cv_objdir+set}" = set; then
9564   echo $ECHO_N "(cached) $ECHO_C" >&6
9565 else
9566   rm -f .libs 2>/dev/null
9567 mkdir .libs 2>/dev/null
9568 if test -d .libs; then
9569   lt_cv_objdir=.libs
9570 else
9571   # MS-DOS does not allow filenames that begin with a dot.
9572   lt_cv_objdir=_libs
9573 fi
9574 rmdir .libs 2>/dev/null
9575 fi
9576 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
9577 echo "${ECHO_T}$lt_cv_objdir" >&6; }
9578 objdir=$lt_cv_objdir
9579
9580
9581
9582
9583
9584 cat >>confdefs.h <<_ACEOF
9585 #define LT_OBJDIR "$lt_cv_objdir/"
9586 _ACEOF
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604 case $host_os in
9605 aix3*)
9606   # AIX sometimes has problems with the GCC collect2 program.  For some
9607   # reason, if we set the COLLECT_NAMES environment variable, the problems
9608   # vanish in a puff of smoke.
9609   if test "X${COLLECT_NAMES+set}" != Xset; then
9610     COLLECT_NAMES=
9611     export COLLECT_NAMES
9612   fi
9613   ;;
9614 esac
9615
9616 # Sed substitution that helps us do robust quoting.  It backslashifies
9617 # metacharacters that are still active within double-quoted strings.
9618 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
9619
9620 # Same as above, but do not quote variable references.
9621 double_quote_subst='s/\(["`\\]\)/\\\1/g'
9622
9623 # Sed substitution to delay expansion of an escaped shell variable in a
9624 # double_quote_subst'ed string.
9625 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
9626
9627 # Sed substitution to delay expansion of an escaped single quote.
9628 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
9629
9630 # Sed substitution to avoid accidental globbing in evaled expressions
9631 no_glob_subst='s/\*/\\\*/g'
9632
9633 # Global variables:
9634 ofile=libtool
9635 can_build_shared=yes
9636
9637 # All known linkers require a `.a' archive for static linking (except MSVC,
9638 # which needs '.lib').
9639 libext=a
9640
9641 with_gnu_ld="$lt_cv_prog_gnu_ld"
9642
9643 old_CC="$CC"
9644 old_CFLAGS="$CFLAGS"
9645
9646 # Set sane defaults for various variables
9647 test -z "$CC" && CC=cc
9648 test -z "$LTCC" && LTCC=$CC
9649 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9650 test -z "$LD" && LD=ld
9651 test -z "$ac_objext" && ac_objext=o
9652
9653 for cc_temp in $compiler""; do
9654   case $cc_temp in
9655     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9656     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9657     \-*) ;;
9658     *) break;;
9659   esac
9660 done
9661 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9662
9663
9664 # Only perform the check for file, if the check method requires it
9665 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9666 case $deplibs_check_method in
9667 file_magic*)
9668   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9669     { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
9670 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
9671 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9672   echo $ECHO_N "(cached) $ECHO_C" >&6
9673 else
9674   case $MAGIC_CMD in
9675 [\\/*] |  ?:[\\/]*)
9676   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9677   ;;
9678 *)
9679   lt_save_MAGIC_CMD="$MAGIC_CMD"
9680   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9681   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9682   for ac_dir in $ac_dummy; do
9683     IFS="$lt_save_ifs"
9684     test -z "$ac_dir" && ac_dir=.
9685     if test -f $ac_dir/${ac_tool_prefix}file; then
9686       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9687       if test -n "$file_magic_test_file"; then
9688         case $deplibs_check_method in
9689         "file_magic "*)
9690           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9691           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9692           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9693             $EGREP "$file_magic_regex" > /dev/null; then
9694             :
9695           else
9696             cat <<_LT_EOF 1>&2
9697
9698 *** Warning: the command libtool uses to detect shared libraries,
9699 *** $file_magic_cmd, produces output that libtool cannot recognize.
9700 *** The result is that libtool may fail to recognize shared libraries
9701 *** as such.  This will affect the creation of libtool libraries that
9702 *** depend on shared libraries, but programs linked with such libtool
9703 *** libraries will work regardless of this problem.  Nevertheless, you
9704 *** may want to report the problem to your system manager and/or to
9705 *** bug-libtool@gnu.org
9706
9707 _LT_EOF
9708           fi ;;
9709         esac
9710       fi
9711       break
9712     fi
9713   done
9714   IFS="$lt_save_ifs"
9715   MAGIC_CMD="$lt_save_MAGIC_CMD"
9716   ;;
9717 esac
9718 fi
9719
9720 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9721 if test -n "$MAGIC_CMD"; then
9722   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9723 echo "${ECHO_T}$MAGIC_CMD" >&6; }
9724 else
9725   { echo "$as_me:$LINENO: result: no" >&5
9726 echo "${ECHO_T}no" >&6; }
9727 fi
9728
9729
9730
9731
9732
9733 if test -z "$lt_cv_path_MAGIC_CMD"; then
9734   if test -n "$ac_tool_prefix"; then
9735     { echo "$as_me:$LINENO: checking for file" >&5
9736 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
9737 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9738   echo $ECHO_N "(cached) $ECHO_C" >&6
9739 else
9740   case $MAGIC_CMD in
9741 [\\/*] |  ?:[\\/]*)
9742   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9743   ;;
9744 *)
9745   lt_save_MAGIC_CMD="$MAGIC_CMD"
9746   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9747   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9748   for ac_dir in $ac_dummy; do
9749     IFS="$lt_save_ifs"
9750     test -z "$ac_dir" && ac_dir=.
9751     if test -f $ac_dir/file; then
9752       lt_cv_path_MAGIC_CMD="$ac_dir/file"
9753       if test -n "$file_magic_test_file"; then
9754         case $deplibs_check_method in
9755         "file_magic "*)
9756           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9757           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9758           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9759             $EGREP "$file_magic_regex" > /dev/null; then
9760             :
9761           else
9762             cat <<_LT_EOF 1>&2
9763
9764 *** Warning: the command libtool uses to detect shared libraries,
9765 *** $file_magic_cmd, produces output that libtool cannot recognize.
9766 *** The result is that libtool may fail to recognize shared libraries
9767 *** as such.  This will affect the creation of libtool libraries that
9768 *** depend on shared libraries, but programs linked with such libtool
9769 *** libraries will work regardless of this problem.  Nevertheless, you
9770 *** may want to report the problem to your system manager and/or to
9771 *** bug-libtool@gnu.org
9772
9773 _LT_EOF
9774           fi ;;
9775         esac
9776       fi
9777       break
9778     fi
9779   done
9780   IFS="$lt_save_ifs"
9781   MAGIC_CMD="$lt_save_MAGIC_CMD"
9782   ;;
9783 esac
9784 fi
9785
9786 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9787 if test -n "$MAGIC_CMD"; then
9788   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9789 echo "${ECHO_T}$MAGIC_CMD" >&6; }
9790 else
9791   { echo "$as_me:$LINENO: result: no" >&5
9792 echo "${ECHO_T}no" >&6; }
9793 fi
9794
9795
9796   else
9797     MAGIC_CMD=:
9798   fi
9799 fi
9800
9801   fi
9802   ;;
9803 esac
9804
9805 # Use C for the default configuration in the libtool script
9806
9807 lt_save_CC="$CC"
9808 ac_ext=c
9809 ac_cpp='$CPP $CPPFLAGS'
9810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9813
9814
9815 # Source file extension for C test sources.
9816 ac_ext=c
9817
9818 # Object file extension for compiled C test sources.
9819 objext=o
9820 objext=$objext
9821
9822 # Code to be used in simple compile tests
9823 lt_simple_compile_test_code="int some_variable = 0;"
9824
9825 # Code to be used in simple link tests
9826 lt_simple_link_test_code='int main(){return(0);}'
9827
9828
9829
9830
9831
9832
9833
9834 # If no C compiler was specified, use CC.
9835 LTCC=${LTCC-"$CC"}
9836
9837 # If no C compiler flags were specified, use CFLAGS.
9838 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9839
9840 # Allow CC to be a program name with arguments.
9841 compiler=$CC
9842
9843 # Save the default compiler, since it gets overwritten when the other
9844 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9845 compiler_DEFAULT=$CC
9846
9847 # save warnings/boilerplate of simple test code
9848 ac_outfile=conftest.$ac_objext
9849 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9850 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9851 _lt_compiler_boilerplate=`cat conftest.err`
9852 $RM conftest*
9853
9854 ac_outfile=conftest.$ac_objext
9855 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9856 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9857 _lt_linker_boilerplate=`cat conftest.err`
9858 $RM -r conftest*
9859
9860
9861 if test -n "$compiler"; then
9862
9863 lt_prog_compiler_no_builtin_flag=
9864
9865 if test "$GCC" = yes; then
9866   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9867
9868   { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9869 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
9870 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
9871   echo $ECHO_N "(cached) $ECHO_C" >&6
9872 else
9873   lt_cv_prog_compiler_rtti_exceptions=no
9874    ac_outfile=conftest.$ac_objext
9875    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9876    lt_compiler_flag="-fno-rtti -fno-exceptions"
9877    # Insert the option either (1) after the last *FLAGS variable, or
9878    # (2) before a word containing "conftest.", or (3) at the end.
9879    # Note that $ac_compile itself does not contain backslashes and begins
9880    # with a dollar sign (not a hyphen), so the echo should work correctly.
9881    # The option is referenced via a variable to avoid confusing sed.
9882    lt_compile=`echo "$ac_compile" | $SED \
9883    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9884    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9885    -e 's:$: $lt_compiler_flag:'`
9886    (eval echo "\"\$as_me:9886: $lt_compile\"" >&5)
9887    (eval "$lt_compile" 2>conftest.err)
9888    ac_status=$?
9889    cat conftest.err >&5
9890    echo "$as_me:9890: \$? = $ac_status" >&5
9891    if (exit $ac_status) && test -s "$ac_outfile"; then
9892      # The compiler can only warn and ignore the option if not recognized
9893      # So say no if there are warnings other than the usual output.
9894      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9895      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9896      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9897        lt_cv_prog_compiler_rtti_exceptions=yes
9898      fi
9899    fi
9900    $RM conftest*
9901
9902 fi
9903 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9904 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9905
9906 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9907     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9908 else
9909     :
9910 fi
9911
9912 fi
9913
9914
9915
9916
9917
9918
9919   lt_prog_compiler_wl=
9920 lt_prog_compiler_pic=
9921 lt_prog_compiler_static=
9922
9923 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
9924 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
9925
9926   if test "$GCC" = yes; then
9927     lt_prog_compiler_wl='-Wl,'
9928     lt_prog_compiler_static='-static'
9929
9930     case $host_os in
9931       aix*)
9932       # All AIX code is PIC.
9933       if test "$host_cpu" = ia64; then
9934         # AIX 5 now supports IA64 processor
9935         lt_prog_compiler_static='-Bstatic'
9936       fi
9937       ;;
9938
9939     amigaos*)
9940       case $host_cpu in
9941       powerpc)
9942             # see comment about AmigaOS4 .so support
9943             lt_prog_compiler_pic='-fPIC'
9944         ;;
9945       m68k)
9946             # FIXME: we need at least 68020 code to build shared libraries, but
9947             # adding the `-m68020' flag to GCC prevents building anything better,
9948             # like `-m68040'.
9949             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9950         ;;
9951       esac
9952       ;;
9953
9954     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9955       # PIC is the default for these OSes.
9956       ;;
9957
9958     mingw* | cygwin* | pw32* | os2*)
9959       # This hack is so that the source file can tell whether it is being
9960       # built for inclusion in a dll (and should export symbols for example).
9961       # Although the cygwin gcc ignores -fPIC, still need this for old-style
9962       # (--disable-auto-import) libraries
9963       lt_prog_compiler_pic='-DDLL_EXPORT'
9964       ;;
9965
9966     darwin* | rhapsody*)
9967       # PIC is the default on this platform
9968       # Common symbols not allowed in MH_DYLIB files
9969       lt_prog_compiler_pic='-fno-common'
9970       ;;
9971
9972     hpux*)
9973       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9974       # not for PA HP-UX.
9975       case $host_cpu in
9976       hppa*64*|ia64*)
9977         # +Z the default
9978         ;;
9979       *)
9980         lt_prog_compiler_pic='-fPIC'
9981         ;;
9982       esac
9983       ;;
9984
9985     interix[3-9]*)
9986       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9987       # Instead, we relocate shared libraries at runtime.
9988       ;;
9989
9990     msdosdjgpp*)
9991       # Just because we use GCC doesn't mean we suddenly get shared libraries
9992       # on systems that don't support them.
9993       lt_prog_compiler_can_build_shared=no
9994       enable_shared=no
9995       ;;
9996
9997     *nto* | *qnx*)
9998       # QNX uses GNU C++, but need to define -shared option too, otherwise
9999       # it will coredump.
10000       lt_prog_compiler_pic='-fPIC -shared'
10001       ;;
10002
10003     sysv4*MP*)
10004       if test -d /usr/nec; then
10005         lt_prog_compiler_pic=-Kconform_pic
10006       fi
10007       ;;
10008
10009     *)
10010       lt_prog_compiler_pic='-fPIC'
10011       ;;
10012     esac
10013   else
10014     # PORTME Check for flag to pass linker flags through the system compiler.
10015     case $host_os in
10016     aix*)
10017       lt_prog_compiler_wl='-Wl,'
10018       if test "$host_cpu" = ia64; then
10019         # AIX 5 now supports IA64 processor
10020         lt_prog_compiler_static='-Bstatic'
10021       else
10022         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10023       fi
10024       ;;
10025
10026     mingw* | cygwin* | pw32* | os2*)
10027       # This hack is so that the source file can tell whether it is being
10028       # built for inclusion in a dll (and should export symbols for example).
10029       lt_prog_compiler_pic='-DDLL_EXPORT'
10030       ;;
10031
10032     hpux9* | hpux10* | hpux11*)
10033       lt_prog_compiler_wl='-Wl,'
10034       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10035       # not for PA HP-UX.
10036       case $host_cpu in
10037       hppa*64*|ia64*)
10038         # +Z the default
10039         ;;
10040       *)
10041         lt_prog_compiler_pic='+Z'
10042         ;;
10043       esac
10044       # Is there a better lt_prog_compiler_static that works with the bundled CC?
10045       lt_prog_compiler_static='${wl}-a ${wl}archive'
10046       ;;
10047
10048     irix5* | irix6* | nonstopux*)
10049       lt_prog_compiler_wl='-Wl,'
10050       # PIC (with -KPIC) is the default.
10051       lt_prog_compiler_static='-non_shared'
10052       ;;
10053
10054     linux* | k*bsd*-gnu)
10055       case $cc_basename in
10056       icc* | ecc* | ifort*)
10057         lt_prog_compiler_wl='-Wl,'
10058         lt_prog_compiler_pic='-KPIC'
10059         lt_prog_compiler_static='-static'
10060         ;;
10061       pgcc* | pgf77* | pgf90* | pgf95*)
10062         # Portland Group compilers (*not* the Pentium gcc compiler,
10063         # which looks to be a dead project)
10064         lt_prog_compiler_wl='-Wl,'
10065         lt_prog_compiler_pic='-fpic'
10066         lt_prog_compiler_static='-Bstatic'
10067         ;;
10068       ccc*)
10069         lt_prog_compiler_wl='-Wl,'
10070         # All Alpha code is PIC.
10071         lt_prog_compiler_static='-non_shared'
10072         ;;
10073       xl*)
10074         # IBM XL C 8.0/Fortran 10.1 on PPC
10075         lt_prog_compiler_wl='-Wl,'
10076         lt_prog_compiler_pic='-qpic'
10077         lt_prog_compiler_static='-qstaticlink'
10078         ;;
10079       *)
10080         case `$CC -V 2>&1 | sed 5q` in
10081         *Sun\ C*)
10082           # Sun C 5.9
10083           lt_prog_compiler_pic='-KPIC'
10084           lt_prog_compiler_static='-Bstatic'
10085           lt_prog_compiler_wl='-Wl,'
10086           ;;
10087         *Sun\ F*)
10088           # Sun Fortran 8.3 passes all unrecognized flags to the linker
10089           lt_prog_compiler_pic='-KPIC'
10090           lt_prog_compiler_static='-Bstatic'
10091           lt_prog_compiler_wl=''
10092           ;;
10093         esac
10094         ;;
10095       esac
10096       ;;
10097
10098     newsos6)
10099       lt_prog_compiler_pic='-KPIC'
10100       lt_prog_compiler_static='-Bstatic'
10101       ;;
10102
10103     *nto* | *qnx*)
10104       # QNX uses GNU C++, but need to define -shared option too, otherwise
10105       # it will coredump.
10106       lt_prog_compiler_pic='-fPIC -shared'
10107       ;;
10108
10109     osf3* | osf4* | osf5*)
10110       lt_prog_compiler_wl='-Wl,'
10111       # All OSF/1 code is PIC.
10112       lt_prog_compiler_static='-non_shared'
10113       ;;
10114
10115     rdos*)
10116       lt_prog_compiler_static='-non_shared'
10117       ;;
10118
10119     solaris*)
10120       lt_prog_compiler_pic='-KPIC'
10121       lt_prog_compiler_static='-Bstatic'
10122       case $cc_basename in
10123       f77* | f90* | f95*)
10124         lt_prog_compiler_wl='-Qoption ld ';;
10125       *)
10126         lt_prog_compiler_wl='-Wl,';;
10127       esac
10128       ;;
10129
10130     sunos4*)
10131       lt_prog_compiler_wl='-Qoption ld '
10132       lt_prog_compiler_pic='-PIC'
10133       lt_prog_compiler_static='-Bstatic'
10134       ;;
10135
10136     sysv4 | sysv4.2uw2* | sysv4.3*)
10137       lt_prog_compiler_wl='-Wl,'
10138       lt_prog_compiler_pic='-KPIC'
10139       lt_prog_compiler_static='-Bstatic'
10140       ;;
10141
10142     sysv4*MP*)
10143       if test -d /usr/nec ;then
10144         lt_prog_compiler_pic='-Kconform_pic'
10145         lt_prog_compiler_static='-Bstatic'
10146       fi
10147       ;;
10148
10149     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10150       lt_prog_compiler_wl='-Wl,'
10151       lt_prog_compiler_pic='-KPIC'
10152       lt_prog_compiler_static='-Bstatic'
10153       ;;
10154
10155     unicos*)
10156       lt_prog_compiler_wl='-Wl,'
10157       lt_prog_compiler_can_build_shared=no
10158       ;;
10159
10160     uts4*)
10161       lt_prog_compiler_pic='-pic'
10162       lt_prog_compiler_static='-Bstatic'
10163       ;;
10164
10165     *)
10166       lt_prog_compiler_can_build_shared=no
10167       ;;
10168     esac
10169   fi
10170
10171 case $host_os in
10172   # For platforms which do not support PIC, -DPIC is meaningless:
10173   *djgpp*)
10174     lt_prog_compiler_pic=
10175     ;;
10176   *)
10177     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10178     ;;
10179 esac
10180 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
10181 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
10182
10183
10184
10185
10186
10187
10188 #
10189 # Check to make sure the PIC flag actually works.
10190 #
10191 if test -n "$lt_prog_compiler_pic"; then
10192   { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10193 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
10194 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
10195   echo $ECHO_N "(cached) $ECHO_C" >&6
10196 else
10197   lt_cv_prog_compiler_pic_works=no
10198    ac_outfile=conftest.$ac_objext
10199    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10200    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10201    # Insert the option either (1) after the last *FLAGS variable, or
10202    # (2) before a word containing "conftest.", or (3) at the end.
10203    # Note that $ac_compile itself does not contain backslashes and begins
10204    # with a dollar sign (not a hyphen), so the echo should work correctly.
10205    # The option is referenced via a variable to avoid confusing sed.
10206    lt_compile=`echo "$ac_compile" | $SED \
10207    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10208    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10209    -e 's:$: $lt_compiler_flag:'`
10210    (eval echo "\"\$as_me:10210: $lt_compile\"" >&5)
10211    (eval "$lt_compile" 2>conftest.err)
10212    ac_status=$?
10213    cat conftest.err >&5
10214    echo "$as_me:10214: \$? = $ac_status" >&5
10215    if (exit $ac_status) && test -s "$ac_outfile"; then
10216      # The compiler can only warn and ignore the option if not recognized
10217      # So say no if there are warnings other than the usual output.
10218      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
10219      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10220      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10221        lt_cv_prog_compiler_pic_works=yes
10222      fi
10223    fi
10224    $RM conftest*
10225
10226 fi
10227 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
10228 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
10229
10230 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10231     case $lt_prog_compiler_pic in
10232      "" | " "*) ;;
10233      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10234      esac
10235 else
10236     lt_prog_compiler_pic=
10237      lt_prog_compiler_can_build_shared=no
10238 fi
10239
10240 fi
10241
10242
10243
10244
10245
10246
10247 #
10248 # Check to make sure the static flag actually works.
10249 #
10250 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10251 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10252 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
10253 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
10254   echo $ECHO_N "(cached) $ECHO_C" >&6
10255 else
10256   lt_cv_prog_compiler_static_works=no
10257    save_LDFLAGS="$LDFLAGS"
10258    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10259    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10260    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10261      # The linker can only warn and ignore the option if not recognized
10262      # So say no if there are warnings
10263      if test -s conftest.err; then
10264        # Append any errors to the config.log.
10265        cat conftest.err 1>&5
10266        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
10267        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10268        if diff conftest.exp conftest.er2 >/dev/null; then
10269          lt_cv_prog_compiler_static_works=yes
10270        fi
10271      else
10272        lt_cv_prog_compiler_static_works=yes
10273      fi
10274    fi
10275    $RM -r conftest*
10276    LDFLAGS="$save_LDFLAGS"
10277
10278 fi
10279 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
10280 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
10281
10282 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10283     :
10284 else
10285     lt_prog_compiler_static=
10286 fi
10287
10288
10289
10290
10291
10292
10293
10294   { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10295 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
10296 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
10297   echo $ECHO_N "(cached) $ECHO_C" >&6
10298 else
10299   lt_cv_prog_compiler_c_o=no
10300    $RM -r conftest 2>/dev/null
10301    mkdir conftest
10302    cd conftest
10303    mkdir out
10304    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10305
10306    lt_compiler_flag="-o out/conftest2.$ac_objext"
10307    # Insert the option either (1) after the last *FLAGS variable, or
10308    # (2) before a word containing "conftest.", or (3) at the end.
10309    # Note that $ac_compile itself does not contain backslashes and begins
10310    # with a dollar sign (not a hyphen), so the echo should work correctly.
10311    lt_compile=`echo "$ac_compile" | $SED \
10312    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10313    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10314    -e 's:$: $lt_compiler_flag:'`
10315    (eval echo "\"\$as_me:10315: $lt_compile\"" >&5)
10316    (eval "$lt_compile" 2>out/conftest.err)
10317    ac_status=$?
10318    cat out/conftest.err >&5
10319    echo "$as_me:10319: \$? = $ac_status" >&5
10320    if (exit $ac_status) && test -s out/conftest2.$ac_objext
10321    then
10322      # The compiler can only warn and ignore the option if not recognized
10323      # So say no if there are warnings
10324      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
10325      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10326      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10327        lt_cv_prog_compiler_c_o=yes
10328      fi
10329    fi
10330    chmod u+w . 2>&5
10331    $RM conftest*
10332    # SGI C++ compiler will create directory out/ii_files/ for
10333    # template instantiation
10334    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10335    $RM out/* && rmdir out
10336    cd ..
10337    $RM -r conftest
10338    $RM conftest*
10339
10340 fi
10341 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
10342 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
10343
10344
10345
10346
10347
10348
10349   { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10350 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
10351 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
10352   echo $ECHO_N "(cached) $ECHO_C" >&6
10353 else
10354   lt_cv_prog_compiler_c_o=no
10355    $RM -r conftest 2>/dev/null
10356    mkdir conftest
10357    cd conftest
10358    mkdir out
10359    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10360
10361    lt_compiler_flag="-o out/conftest2.$ac_objext"
10362    # Insert the option either (1) after the last *FLAGS variable, or
10363    # (2) before a word containing "conftest.", or (3) at the end.
10364    # Note that $ac_compile itself does not contain backslashes and begins
10365    # with a dollar sign (not a hyphen), so the echo should work correctly.
10366    lt_compile=`echo "$ac_compile" | $SED \
10367    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10368    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10369    -e 's:$: $lt_compiler_flag:'`
10370    (eval echo "\"\$as_me:10370: $lt_compile\"" >&5)
10371    (eval "$lt_compile" 2>out/conftest.err)
10372    ac_status=$?
10373    cat out/conftest.err >&5
10374    echo "$as_me:10374: \$? = $ac_status" >&5
10375    if (exit $ac_status) && test -s out/conftest2.$ac_objext
10376    then
10377      # The compiler can only warn and ignore the option if not recognized
10378      # So say no if there are warnings
10379      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
10380      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10381      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10382        lt_cv_prog_compiler_c_o=yes
10383      fi
10384    fi
10385    chmod u+w . 2>&5
10386    $RM conftest*
10387    # SGI C++ compiler will create directory out/ii_files/ for
10388    # template instantiation
10389    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10390    $RM out/* && rmdir out
10391    cd ..
10392    $RM -r conftest
10393    $RM conftest*
10394
10395 fi
10396 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
10397 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
10398
10399
10400
10401
10402 hard_links="nottested"
10403 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10404   # do not overwrite the value of need_locks provided by the user
10405   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10406 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
10407   hard_links=yes
10408   $RM conftest*
10409   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10410   touch conftest.a
10411   ln conftest.a conftest.b 2>&5 || hard_links=no
10412   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10413   { echo "$as_me:$LINENO: result: $hard_links" >&5
10414 echo "${ECHO_T}$hard_links" >&6; }
10415   if test "$hard_links" = no; then
10416     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10417 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10418     need_locks=warn
10419   fi
10420 else
10421   need_locks=no
10422 fi
10423
10424
10425
10426
10427
10428
10429   { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10430 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10431
10432   runpath_var=
10433   allow_undefined_flag=
10434   always_export_symbols=no
10435   archive_cmds=
10436   archive_expsym_cmds=
10437   compiler_needs_object=no
10438   enable_shared_with_static_runtimes=no
10439   export_dynamic_flag_spec=
10440   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10441   hardcode_automatic=no
10442   hardcode_direct=no
10443   hardcode_direct_absolute=no
10444   hardcode_libdir_flag_spec=
10445   hardcode_libdir_flag_spec_ld=
10446   hardcode_libdir_separator=
10447   hardcode_minus_L=no
10448   hardcode_shlibpath_var=unsupported
10449   inherit_rpath=no
10450   link_all_deplibs=unknown
10451   module_cmds=
10452   module_expsym_cmds=
10453   old_archive_from_new_cmds=
10454   old_archive_from_expsyms_cmds=
10455   thread_safe_flag_spec=
10456   whole_archive_flag_spec=
10457   # include_expsyms should be a list of space-separated symbols to be *always*
10458   # included in the symbol list
10459   include_expsyms=
10460   # exclude_expsyms can be an extended regexp of symbols to exclude
10461   # it will be wrapped by ` (' and `)$', so one must not match beginning or
10462   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10463   # as well as any symbol that contains `d'.
10464   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10465   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10466   # platforms (ab)use it in PIC code, but their linkers get confused if
10467   # the symbol is explicitly referenced.  Since portable code cannot
10468   # rely on this symbol name, it's probably fine to never include it in
10469   # preloaded symbol tables.
10470   # Exclude shared library initialization/finalization symbols.
10471   extract_expsyms_cmds=
10472
10473   case $host_os in
10474   cygwin* | mingw* | pw32*)
10475     # FIXME: the MSVC++ port hasn't been tested in a loooong time
10476     # When not using gcc, we currently assume that we are using
10477     # Microsoft Visual C++.
10478     if test "$GCC" != yes; then
10479       with_gnu_ld=no
10480     fi
10481     ;;
10482   interix*)
10483     # we just hope/assume this is gcc and not c89 (= MSVC++)
10484     with_gnu_ld=yes
10485     ;;
10486   openbsd*)
10487     with_gnu_ld=no
10488     ;;
10489   esac
10490
10491   ld_shlibs=yes
10492   if test "$with_gnu_ld" = yes; then
10493     # If archive_cmds runs LD, not CC, wlarc should be empty
10494     wlarc='${wl}'
10495
10496     # Set some defaults for GNU ld with shared library support. These
10497     # are reset later if shared libraries are not supported. Putting them
10498     # here allows them to be overridden if necessary.
10499     runpath_var=LD_RUN_PATH
10500     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10501     export_dynamic_flag_spec='${wl}--export-dynamic'
10502     # ancient GNU ld didn't support --whole-archive et. al.
10503     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10504       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10505     else
10506       whole_archive_flag_spec=
10507     fi
10508     supports_anon_versioning=no
10509     case `$LD -v 2>&1` in
10510       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10511       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10512       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10513       *\ 2.11.*) ;; # other 2.11 versions
10514       *) supports_anon_versioning=yes ;;
10515     esac
10516
10517     # See if GNU ld supports shared libraries.
10518     case $host_os in
10519     aix[3-9]*)
10520       # On AIX/PPC, the GNU linker is very broken
10521       if test "$host_cpu" != ia64; then
10522         ld_shlibs=no
10523         cat <<_LT_EOF 1>&2
10524
10525 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
10526 *** to be unable to reliably create shared libraries on AIX.
10527 *** Therefore, libtool is disabling shared libraries support.  If you
10528 *** really care for shared libraries, you may want to modify your PATH
10529 *** so that a non-GNU linker is found, and then restart.
10530
10531 _LT_EOF
10532       fi
10533       ;;
10534
10535     amigaos*)
10536       case $host_cpu in
10537       powerpc)
10538             # see comment about AmigaOS4 .so support
10539             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10540             archive_expsym_cmds=''
10541         ;;
10542       m68k)
10543             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)'
10544             hardcode_libdir_flag_spec='-L$libdir'
10545             hardcode_minus_L=yes
10546         ;;
10547       esac
10548       ;;
10549
10550     beos*)
10551       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10552         allow_undefined_flag=unsupported
10553         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10554         # support --undefined.  This deserves some investigation.  FIXME
10555         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10556       else
10557         ld_shlibs=no
10558       fi
10559       ;;
10560
10561     cygwin* | mingw* | pw32*)
10562       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10563       # as there is no search path for DLLs.
10564       hardcode_libdir_flag_spec='-L$libdir'
10565       allow_undefined_flag=unsupported
10566       always_export_symbols=no
10567       enable_shared_with_static_runtimes=yes
10568       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10569
10570       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10571         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10572         # If the export-symbols file already is a .def file (1st line
10573         # is EXPORTS), use it as is; otherwise, prepend...
10574         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10575           cp $export_symbols $output_objdir/$soname.def;
10576         else
10577           echo EXPORTS > $output_objdir/$soname.def;
10578           cat $export_symbols >> $output_objdir/$soname.def;
10579         fi~
10580         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10581       else
10582         ld_shlibs=no
10583       fi
10584       ;;
10585
10586     interix[3-9]*)
10587       hardcode_direct=no
10588       hardcode_shlibpath_var=no
10589       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10590       export_dynamic_flag_spec='${wl}-E'
10591       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10592       # Instead, shared libraries are loaded at an image base (0x10000000 by
10593       # default) and relocated if they conflict, which is a slow very memory
10594       # consuming and fragmenting process.  To avoid this, we pick a random,
10595       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10596       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10597       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10598       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'
10599       ;;
10600
10601     gnu* | linux* | tpf* | k*bsd*-gnu)
10602       tmp_diet=no
10603       if test "$host_os" = linux-dietlibc; then
10604         case $cc_basename in
10605           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
10606         esac
10607       fi
10608       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10609          && test "$tmp_diet" = no
10610       then
10611         tmp_addflag=
10612         tmp_sharedflag='-shared'
10613         case $cc_basename,$host_cpu in
10614         pgcc*)                          # Portland Group C compiler
10615           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'
10616           tmp_addflag=' $pic_flag'
10617           ;;
10618         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
10619           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'
10620           tmp_addflag=' $pic_flag -Mnomain' ;;
10621         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
10622           tmp_addflag=' -i_dynamic' ;;
10623         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
10624           tmp_addflag=' -i_dynamic -nofor_main' ;;
10625         ifc* | ifort*)                  # Intel Fortran compiler
10626           tmp_addflag=' -nofor_main' ;;
10627         xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
10628           tmp_sharedflag='-qmkshrobj'
10629           tmp_addflag= ;;
10630         esac
10631         case `$CC -V 2>&1 | sed 5q` in
10632         *Sun\ C*)                       # Sun C 5.9
10633           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'
10634           compiler_needs_object=yes
10635           tmp_sharedflag='-G' ;;
10636         *Sun\ F*)                       # Sun Fortran 8.3
10637           tmp_sharedflag='-G' ;;
10638         esac
10639         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10640
10641         if test "x$supports_anon_versioning" = xyes; then
10642           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10643             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10644             echo "local: *; };" >> $output_objdir/$libname.ver~
10645             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10646         fi
10647
10648         case $cc_basename in
10649         xlf*)
10650           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10651           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10652           hardcode_libdir_flag_spec=
10653           hardcode_libdir_flag_spec_ld='-rpath $libdir'
10654           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10655           if test "x$supports_anon_versioning" = xyes; then
10656             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10657               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10658               echo "local: *; };" >> $output_objdir/$libname.ver~
10659               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10660           fi
10661           ;;
10662         esac
10663       else
10664         ld_shlibs=no
10665       fi
10666       ;;
10667
10668     netbsd*)
10669       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10670         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10671         wlarc=
10672       else
10673         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10674         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10675       fi
10676       ;;
10677
10678     solaris*)
10679       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10680         ld_shlibs=no
10681         cat <<_LT_EOF 1>&2
10682
10683 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10684 *** create shared libraries on Solaris systems.  Therefore, libtool
10685 *** is disabling shared libraries support.  We urge you to upgrade GNU
10686 *** binutils to release 2.9.1 or newer.  Another option is to modify
10687 *** your PATH or compiler configuration so that the native linker is
10688 *** used, and then restart.
10689
10690 _LT_EOF
10691       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10692         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10693         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10694       else
10695         ld_shlibs=no
10696       fi
10697       ;;
10698
10699     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10700       case `$LD -v 2>&1` in
10701         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10702         ld_shlibs=no
10703         cat <<_LT_EOF 1>&2
10704
10705 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10706 *** reliably create shared libraries on SCO systems.  Therefore, libtool
10707 *** is disabling shared libraries support.  We urge you to upgrade GNU
10708 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10709 *** your PATH or compiler configuration so that the native linker is
10710 *** used, and then restart.
10711
10712 _LT_EOF
10713         ;;
10714         *)
10715           # For security reasons, it is highly recommended that you always
10716           # use absolute paths for naming shared libraries, and exclude the
10717           # DT_RUNPATH tag from executables and libraries.  But doing so
10718           # requires that you compile everything twice, which is a pain.
10719           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10720             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10721             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10722             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10723           else
10724             ld_shlibs=no
10725           fi
10726         ;;
10727       esac
10728       ;;
10729
10730     sunos4*)
10731       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10732       wlarc=
10733       hardcode_direct=yes
10734       hardcode_shlibpath_var=no
10735       ;;
10736
10737     *)
10738       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10739         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10740         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10741       else
10742         ld_shlibs=no
10743       fi
10744       ;;
10745     esac
10746
10747     if test "$ld_shlibs" = no; then
10748       runpath_var=
10749       hardcode_libdir_flag_spec=
10750       export_dynamic_flag_spec=
10751       whole_archive_flag_spec=
10752     fi
10753   else
10754     # PORTME fill in a description of your system's linker (not GNU ld)
10755     case $host_os in
10756     aix3*)
10757       allow_undefined_flag=unsupported
10758       always_export_symbols=yes
10759       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'
10760       # Note: this linker hardcodes the directories in LIBPATH if there
10761       # are no directories specified by -L.
10762       hardcode_minus_L=yes
10763       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10764         # Neither direct hardcoding nor static linking is supported with a
10765         # broken collect2.
10766         hardcode_direct=unsupported
10767       fi
10768       ;;
10769
10770     aix[4-9]*)
10771       if test "$host_cpu" = ia64; then
10772         # On IA64, the linker does run time linking by default, so we don't
10773         # have to do anything special.
10774         aix_use_runtimelinking=no
10775         exp_sym_flag='-Bexport'
10776         no_entry_flag=""
10777       else
10778         # If we're using GNU nm, then we don't want the "-C" option.
10779         # -C means demangle to AIX nm, but means don't demangle with GNU nm
10780         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10781           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'
10782         else
10783           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'
10784         fi
10785         aix_use_runtimelinking=no
10786
10787         # Test if we are trying to use run time linking or normal
10788         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10789         # need to do runtime linking.
10790         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10791           for ld_flag in $LDFLAGS; do
10792           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10793             aix_use_runtimelinking=yes
10794             break
10795           fi
10796           done
10797           ;;
10798         esac
10799
10800         exp_sym_flag='-bexport'
10801         no_entry_flag='-bnoentry'
10802       fi
10803
10804       # When large executables or shared objects are built, AIX ld can
10805       # have problems creating the table of contents.  If linking a library
10806       # or program results in "error TOC overflow" add -mminimal-toc to
10807       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10808       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10809
10810       archive_cmds=''
10811       hardcode_direct=yes
10812       hardcode_direct_absolute=yes
10813       hardcode_libdir_separator=':'
10814       link_all_deplibs=yes
10815       file_list_spec='${wl}-f,'
10816
10817       if test "$GCC" = yes; then
10818         case $host_os in aix4.[012]|aix4.[012].*)
10819         # We only want to do this on AIX 4.2 and lower, the check
10820         # below for broken collect2 doesn't work under 4.3+
10821           collect2name=`${CC} -print-prog-name=collect2`
10822           if test -f "$collect2name" &&
10823            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10824           then
10825           # We have reworked collect2
10826           :
10827           else
10828           # We have old collect2
10829           hardcode_direct=unsupported
10830           # It fails to find uninstalled libraries when the uninstalled
10831           # path is not listed in the libpath.  Setting hardcode_minus_L
10832           # to unsupported forces relinking
10833           hardcode_minus_L=yes
10834           hardcode_libdir_flag_spec='-L$libdir'
10835           hardcode_libdir_separator=
10836           fi
10837           ;;
10838         esac
10839         shared_flag='-shared'
10840         if test "$aix_use_runtimelinking" = yes; then
10841           shared_flag="$shared_flag "'${wl}-G'
10842         fi
10843       else
10844         # not using gcc
10845         if test "$host_cpu" = ia64; then
10846         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10847         # chokes on -Wl,-G. The following line is correct:
10848           shared_flag='-G'
10849         else
10850           if test "$aix_use_runtimelinking" = yes; then
10851             shared_flag='${wl}-G'
10852           else
10853             shared_flag='${wl}-bM:SRE'
10854           fi
10855         fi
10856       fi
10857
10858       # It seems that -bexpall does not export symbols beginning with
10859       # underscore (_), so it is better to generate a list of symbols to export.
10860       always_export_symbols=yes
10861       if test "$aix_use_runtimelinking" = yes; then
10862         # Warning - without using the other runtime loading flags (-brtl),
10863         # -berok will link without error, but may produce a broken library.
10864         allow_undefined_flag='-berok'
10865         # Determine the default libpath from the value encoded in an
10866         # empty executable.
10867         cat >conftest.$ac_ext <<_ACEOF
10868 /* confdefs.h.  */
10869 _ACEOF
10870 cat confdefs.h >>conftest.$ac_ext
10871 cat >>conftest.$ac_ext <<_ACEOF
10872 /* end confdefs.h.  */
10873
10874 int
10875 main ()
10876 {
10877
10878   ;
10879   return 0;
10880 }
10881 _ACEOF
10882 rm -f conftest.$ac_objext conftest$ac_exeext
10883 if { (ac_try="$ac_link"
10884 case "(($ac_try" in
10885   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10886   *) ac_try_echo=$ac_try;;
10887 esac
10888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10889   (eval "$ac_link") 2>conftest.er1
10890   ac_status=$?
10891   grep -v '^ *+' conftest.er1 >conftest.err
10892   rm -f conftest.er1
10893   cat conftest.err >&5
10894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10895   (exit $ac_status); } && {
10896          test -z "$ac_c_werror_flag" ||
10897          test ! -s conftest.err
10898        } && test -s conftest$ac_exeext &&
10899        $as_test_x conftest$ac_exeext; then
10900
10901 lt_aix_libpath_sed='
10902     /Import File Strings/,/^$/ {
10903         /^0/ {
10904             s/^0  *\(.*\)$/\1/
10905             p
10906         }
10907     }'
10908 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10909 # Check for a 64-bit object if we didn't find anything.
10910 if test -z "$aix_libpath"; then
10911   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10912 fi
10913 else
10914   echo "$as_me: failed program was:" >&5
10915 sed 's/^/| /' conftest.$ac_ext >&5
10916
10917
10918 fi
10919
10920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10921       conftest$ac_exeext conftest.$ac_ext
10922 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10923
10924         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10925         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"
10926       else
10927         if test "$host_cpu" = ia64; then
10928           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10929           allow_undefined_flag="-z nodefs"
10930           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"
10931         else
10932          # Determine the default libpath from the value encoded in an
10933          # empty executable.
10934          cat >conftest.$ac_ext <<_ACEOF
10935 /* confdefs.h.  */
10936 _ACEOF
10937 cat confdefs.h >>conftest.$ac_ext
10938 cat >>conftest.$ac_ext <<_ACEOF
10939 /* end confdefs.h.  */
10940
10941 int
10942 main ()
10943 {
10944
10945   ;
10946   return 0;
10947 }
10948 _ACEOF
10949 rm -f conftest.$ac_objext conftest$ac_exeext
10950 if { (ac_try="$ac_link"
10951 case "(($ac_try" in
10952   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10953   *) ac_try_echo=$ac_try;;
10954 esac
10955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10956   (eval "$ac_link") 2>conftest.er1
10957   ac_status=$?
10958   grep -v '^ *+' conftest.er1 >conftest.err
10959   rm -f conftest.er1
10960   cat conftest.err >&5
10961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10962   (exit $ac_status); } && {
10963          test -z "$ac_c_werror_flag" ||
10964          test ! -s conftest.err
10965        } && test -s conftest$ac_exeext &&
10966        $as_test_x conftest$ac_exeext; then
10967
10968 lt_aix_libpath_sed='
10969     /Import File Strings/,/^$/ {
10970         /^0/ {
10971             s/^0  *\(.*\)$/\1/
10972             p
10973         }
10974     }'
10975 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10976 # Check for a 64-bit object if we didn't find anything.
10977 if test -z "$aix_libpath"; then
10978   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10979 fi
10980 else
10981   echo "$as_me: failed program was:" >&5
10982 sed 's/^/| /' conftest.$ac_ext >&5
10983
10984
10985 fi
10986
10987 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10988       conftest$ac_exeext conftest.$ac_ext
10989 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10990
10991          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10992           # Warning - without using the other run time loading flags,
10993           # -berok will link without error, but may produce a broken library.
10994           no_undefined_flag=' ${wl}-bernotok'
10995           allow_undefined_flag=' ${wl}-berok'
10996           # Exported symbols can be pulled into shared objects from archives
10997           whole_archive_flag_spec='$convenience'
10998           archive_cmds_need_lc=yes
10999           # This is similar to how AIX traditionally builds its shared libraries.
11000           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'
11001         fi
11002       fi
11003       ;;
11004
11005     amigaos*)
11006       case $host_cpu in
11007       powerpc)
11008             # see comment about AmigaOS4 .so support
11009             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11010             archive_expsym_cmds=''
11011         ;;
11012       m68k)
11013             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)'
11014             hardcode_libdir_flag_spec='-L$libdir'
11015             hardcode_minus_L=yes
11016         ;;
11017       esac
11018       ;;
11019
11020     bsdi[45]*)
11021       export_dynamic_flag_spec=-rdynamic
11022       ;;
11023
11024     cygwin* | mingw* | pw32*)
11025       # When not using gcc, we currently assume that we are using
11026       # Microsoft Visual C++.
11027       # hardcode_libdir_flag_spec is actually meaningless, as there is
11028       # no search path for DLLs.
11029       hardcode_libdir_flag_spec=' '
11030       allow_undefined_flag=unsupported
11031       # Tell ltmain to make .lib files, not .a files.
11032       libext=lib
11033       # Tell ltmain to make .dll files, not .so files.
11034       shrext_cmds=".dll"
11035       # FIXME: Setting linknames here is a bad hack.
11036       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
11037       # The linker will automatically build a .lib file if we build a DLL.
11038       old_archive_from_new_cmds='true'
11039       # FIXME: Should let the user specify the lib program.
11040       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11041       fix_srcfile_path='`cygpath -w "$srcfile"`'
11042       enable_shared_with_static_runtimes=yes
11043       ;;
11044
11045     darwin* | rhapsody*)
11046
11047
11048   archive_cmds_need_lc=no
11049   hardcode_direct=no
11050   hardcode_automatic=yes
11051   hardcode_shlibpath_var=unsupported
11052   whole_archive_flag_spec=''
11053   link_all_deplibs=yes
11054   allow_undefined_flag="$_lt_dar_allow_undefined"
11055   if test "$GCC" = "yes"; then
11056     output_verbose_link_cmd=echo
11057     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11058     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11059     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}"
11060     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}"
11061
11062   else
11063   ld_shlibs=no
11064   fi
11065
11066       ;;
11067
11068     dgux*)
11069       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11070       hardcode_libdir_flag_spec='-L$libdir'
11071       hardcode_shlibpath_var=no
11072       ;;
11073
11074     freebsd1*)
11075       ld_shlibs=no
11076       ;;
11077
11078     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11079     # support.  Future versions do this automatically, but an explicit c++rt0.o
11080     # does not break anything, and helps significantly (at the cost of a little
11081     # extra space).
11082     freebsd2.2*)
11083       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11084       hardcode_libdir_flag_spec='-R$libdir'
11085       hardcode_direct=yes
11086       hardcode_shlibpath_var=no
11087       ;;
11088
11089     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11090     freebsd2*)
11091       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11092       hardcode_direct=yes
11093       hardcode_minus_L=yes
11094       hardcode_shlibpath_var=no
11095       ;;
11096
11097     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11098     freebsd* | dragonfly*)
11099       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11100       hardcode_libdir_flag_spec='-R$libdir'
11101       hardcode_direct=yes
11102       hardcode_shlibpath_var=no
11103       ;;
11104
11105     hpux9*)
11106       if test "$GCC" = yes; then
11107         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'
11108       else
11109         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'
11110       fi
11111       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11112       hardcode_libdir_separator=:
11113       hardcode_direct=yes
11114
11115       # hardcode_minus_L: Not really in the search PATH,
11116       # but as the default location of the library.
11117       hardcode_minus_L=yes
11118       export_dynamic_flag_spec='${wl}-E'
11119       ;;
11120
11121     hpux10*)
11122       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
11123         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11124       else
11125         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11126       fi
11127       if test "$with_gnu_ld" = no; then
11128         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11129         hardcode_libdir_flag_spec_ld='+b $libdir'
11130         hardcode_libdir_separator=:
11131         hardcode_direct=yes
11132         hardcode_direct_absolute=yes
11133         export_dynamic_flag_spec='${wl}-E'
11134         # hardcode_minus_L: Not really in the search PATH,
11135         # but as the default location of the library.
11136         hardcode_minus_L=yes
11137       fi
11138       ;;
11139
11140     hpux11*)
11141       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
11142         case $host_cpu in
11143         hppa*64*)
11144           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11145           ;;
11146         ia64*)
11147           archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11148           ;;
11149         *)
11150           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11151           ;;
11152         esac
11153       else
11154         case $host_cpu in
11155         hppa*64*)
11156           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11157           ;;
11158         ia64*)
11159           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11160           ;;
11161         *)
11162           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11163           ;;
11164         esac
11165       fi
11166       if test "$with_gnu_ld" = no; then
11167         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11168         hardcode_libdir_separator=:
11169
11170         case $host_cpu in
11171         hppa*64*|ia64*)
11172           hardcode_direct=no
11173           hardcode_shlibpath_var=no
11174           ;;
11175         *)
11176           hardcode_direct=yes
11177           hardcode_direct_absolute=yes
11178           export_dynamic_flag_spec='${wl}-E'
11179
11180           # hardcode_minus_L: Not really in the search PATH,
11181           # but as the default location of the library.
11182           hardcode_minus_L=yes
11183           ;;
11184         esac
11185       fi
11186       ;;
11187
11188     irix5* | irix6* | nonstopux*)
11189       if test "$GCC" = yes; then
11190         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'
11191         # Try to use the -exported_symbol ld option, if it does not
11192         # work, assume that -exports_file does not work either and
11193         # implicitly export all symbols.
11194         save_LDFLAGS="$LDFLAGS"
11195         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11196         cat >conftest.$ac_ext <<_ACEOF
11197 int foo(void) {}
11198 _ACEOF
11199 rm -f conftest.$ac_objext conftest$ac_exeext
11200 if { (ac_try="$ac_link"
11201 case "(($ac_try" in
11202   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11203   *) ac_try_echo=$ac_try;;
11204 esac
11205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11206   (eval "$ac_link") 2>conftest.er1
11207   ac_status=$?
11208   grep -v '^ *+' conftest.er1 >conftest.err
11209   rm -f conftest.er1
11210   cat conftest.err >&5
11211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11212   (exit $ac_status); } && {
11213          test -z "$ac_c_werror_flag" ||
11214          test ! -s conftest.err
11215        } && test -s conftest$ac_exeext &&
11216        $as_test_x conftest$ac_exeext; then
11217   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'
11218
11219 else
11220   echo "$as_me: failed program was:" >&5
11221 sed 's/^/| /' conftest.$ac_ext >&5
11222
11223
11224 fi
11225
11226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11227       conftest$ac_exeext conftest.$ac_ext
11228         LDFLAGS="$save_LDFLAGS"
11229       else
11230         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'
11231         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'
11232       fi
11233       archive_cmds_need_lc='no'
11234       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11235       hardcode_libdir_separator=:
11236       inherit_rpath=yes
11237       link_all_deplibs=yes
11238       ;;
11239
11240     netbsd*)
11241       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11242         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11243       else
11244         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11245       fi
11246       hardcode_libdir_flag_spec='-R$libdir'
11247       hardcode_direct=yes
11248       hardcode_shlibpath_var=no
11249       ;;
11250
11251     newsos6)
11252       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11253       hardcode_direct=yes
11254       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11255       hardcode_libdir_separator=:
11256       hardcode_shlibpath_var=no
11257       ;;
11258
11259     *nto* | *qnx*)
11260       ;;
11261
11262     openbsd*)
11263       if test -f /usr/libexec/ld.so; then
11264         hardcode_direct=yes
11265         hardcode_shlibpath_var=no
11266         hardcode_direct_absolute=yes
11267         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11268           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11269           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11270           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11271           export_dynamic_flag_spec='${wl}-E'
11272         else
11273           case $host_os in
11274            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11275              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11276              hardcode_libdir_flag_spec='-R$libdir'
11277              ;;
11278            *)
11279              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11280              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11281              ;;
11282           esac
11283         fi
11284       else
11285         ld_shlibs=no
11286       fi
11287       ;;
11288
11289     os2*)
11290       hardcode_libdir_flag_spec='-L$libdir'
11291       hardcode_minus_L=yes
11292       allow_undefined_flag=unsupported
11293       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'
11294       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11295       ;;
11296
11297     osf3*)
11298       if test "$GCC" = yes; then
11299         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11300         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'
11301       else
11302         allow_undefined_flag=' -expect_unresolved \*'
11303         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'
11304       fi
11305       archive_cmds_need_lc='no'
11306       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11307       hardcode_libdir_separator=:
11308       ;;
11309
11310     osf4* | osf5*)      # as osf3* with the addition of -msym flag
11311       if test "$GCC" = yes; then
11312         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11313         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'
11314         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11315       else
11316         allow_undefined_flag=' -expect_unresolved \*'
11317         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'
11318         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~
11319         $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'
11320
11321         # Both c and cxx compiler support -rpath directly
11322         hardcode_libdir_flag_spec='-rpath $libdir'
11323       fi
11324       archive_cmds_need_lc='no'
11325       hardcode_libdir_separator=:
11326       ;;
11327
11328     solaris*)
11329       no_undefined_flag=' -z defs'
11330       if test "$GCC" = yes; then
11331         wlarc='${wl}'
11332         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11333         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11334           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11335       else
11336         case `$CC -V 2>&1` in
11337         *"Compilers 5.0"*)
11338           wlarc=''
11339           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11340           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11341           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11342           ;;
11343         *)
11344           wlarc='${wl}'
11345           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11346           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11347           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11348           ;;
11349         esac
11350       fi
11351       hardcode_libdir_flag_spec='-R$libdir'
11352       hardcode_shlibpath_var=no
11353       case $host_os in
11354       solaris2.[0-5] | solaris2.[0-5].*) ;;
11355       *)
11356         # The compiler driver will combine and reorder linker options,
11357         # but understands `-z linker_flag'.  GCC discards it without `$wl',
11358         # but is careful enough not to reorder.
11359         # Supported since Solaris 2.6 (maybe 2.5.1?)
11360         if test "$GCC" = yes; then
11361           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11362         else
11363           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11364         fi
11365         ;;
11366       esac
11367       link_all_deplibs=yes
11368       ;;
11369
11370     sunos4*)
11371       if test "x$host_vendor" = xsequent; then
11372         # Use $CC to link under sequent, because it throws in some extra .o
11373         # files that make .init and .fini sections work.
11374         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11375       else
11376         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11377       fi
11378       hardcode_libdir_flag_spec='-L$libdir'
11379       hardcode_direct=yes
11380       hardcode_minus_L=yes
11381       hardcode_shlibpath_var=no
11382       ;;
11383
11384     sysv4)
11385       case $host_vendor in
11386         sni)
11387           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11388           hardcode_direct=yes # is this really true???
11389         ;;
11390         siemens)
11391           ## LD is ld it makes a PLAMLIB
11392           ## CC just makes a GrossModule.
11393           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11394           reload_cmds='$CC -r -o $output$reload_objs'
11395           hardcode_direct=no
11396         ;;
11397         motorola)
11398           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11399           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11400         ;;
11401       esac
11402       runpath_var='LD_RUN_PATH'
11403       hardcode_shlibpath_var=no
11404       ;;
11405
11406     sysv4.3*)
11407       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11408       hardcode_shlibpath_var=no
11409       export_dynamic_flag_spec='-Bexport'
11410       ;;
11411
11412     sysv4*MP*)
11413       if test -d /usr/nec; then
11414         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11415         hardcode_shlibpath_var=no
11416         runpath_var=LD_RUN_PATH
11417         hardcode_runpath_var=yes
11418         ld_shlibs=yes
11419       fi
11420       ;;
11421
11422     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11423       no_undefined_flag='${wl}-z,text'
11424       archive_cmds_need_lc=no
11425       hardcode_shlibpath_var=no
11426       runpath_var='LD_RUN_PATH'
11427
11428       if test "$GCC" = yes; then
11429         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11430         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11431       else
11432         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11433         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11434       fi
11435       ;;
11436
11437     sysv5* | sco3.2v5* | sco5v6*)
11438       # Note: We can NOT use -z defs as we might desire, because we do not
11439       # link with -lc, and that would cause any symbols used from libc to
11440       # always be unresolved, which means just about no library would
11441       # ever link correctly.  If we're not using GNU ld we use -z text
11442       # though, which does catch some bad symbols but isn't as heavy-handed
11443       # as -z defs.
11444       no_undefined_flag='${wl}-z,text'
11445       allow_undefined_flag='${wl}-z,nodefs'
11446       archive_cmds_need_lc=no
11447       hardcode_shlibpath_var=no
11448       hardcode_libdir_flag_spec='${wl}-R,$libdir'
11449       hardcode_libdir_separator=':'
11450       link_all_deplibs=yes
11451       export_dynamic_flag_spec='${wl}-Bexport'
11452       runpath_var='LD_RUN_PATH'
11453
11454       if test "$GCC" = yes; then
11455         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11456         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11457       else
11458         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11459         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11460       fi
11461       ;;
11462
11463     uts4*)
11464       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11465       hardcode_libdir_flag_spec='-L$libdir'
11466       hardcode_shlibpath_var=no
11467       ;;
11468
11469     *)
11470       ld_shlibs=no
11471       ;;
11472     esac
11473
11474     if test x$host_vendor = xsni; then
11475       case $host in
11476       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11477         export_dynamic_flag_spec='${wl}-Blargedynsym'
11478         ;;
11479       esac
11480     fi
11481   fi
11482
11483 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
11484 echo "${ECHO_T}$ld_shlibs" >&6; }
11485 test "$ld_shlibs" = no && can_build_shared=no
11486
11487 with_gnu_ld=$with_gnu_ld
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503 #
11504 # Do we need to explicitly link libc?
11505 #
11506 case "x$archive_cmds_need_lc" in
11507 x|xyes)
11508   # Assume -lc should be added
11509   archive_cmds_need_lc=yes
11510
11511   if test "$enable_shared" = yes && test "$GCC" = yes; then
11512     case $archive_cmds in
11513     *'~'*)
11514       # FIXME: we may have to deal with multi-command sequences.
11515       ;;
11516     '$CC '*)
11517       # Test whether the compiler implicitly links with -lc since on some
11518       # systems, -lgcc has to come before -lc. If gcc already passes -lc
11519       # to ld, don't add -lc before -lgcc.
11520       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11521 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11522       $RM conftest*
11523       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11524
11525       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11526   (eval $ac_compile) 2>&5
11527   ac_status=$?
11528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11529   (exit $ac_status); } 2>conftest.err; then
11530         soname=conftest
11531         lib=conftest
11532         libobjs=conftest.$ac_objext
11533         deplibs=
11534         wl=$lt_prog_compiler_wl
11535         pic_flag=$lt_prog_compiler_pic
11536         compiler_flags=-v
11537         linker_flags=-v
11538         verstring=
11539         output_objdir=.
11540         libname=conftest
11541         lt_save_allow_undefined_flag=$allow_undefined_flag
11542         allow_undefined_flag=
11543         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
11544   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11545   ac_status=$?
11546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11547   (exit $ac_status); }
11548         then
11549           archive_cmds_need_lc=no
11550         else
11551           archive_cmds_need_lc=yes
11552         fi
11553         allow_undefined_flag=$lt_save_allow_undefined_flag
11554       else
11555         cat conftest.err 1>&5
11556       fi
11557       $RM conftest*
11558       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
11559 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
11560       ;;
11561     esac
11562   fi
11563   ;;
11564 esac
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722   { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11723 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11724
11725 if test "$GCC" = yes; then
11726   case $host_os in
11727     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11728     *) lt_awk_arg="/^libraries:/" ;;
11729   esac
11730   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11731   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
11732     # if the path contains ";" then we assume it to be the separator
11733     # otherwise default to the standard path separator (i.e. ":") - it is
11734     # assumed that no part of a normal pathname contains ";" but that should
11735     # okay in the real world where ";" in dirpaths is itself problematic.
11736     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
11737   else
11738     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11739   fi
11740   # Ok, now we have the path, separated by spaces, we can step through it
11741   # and add multilib dir if necessary.
11742   lt_tmp_lt_search_path_spec=
11743   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11744   for lt_sys_path in $lt_search_path_spec; do
11745     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11746       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11747     else
11748       test -d "$lt_sys_path" && \
11749         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11750     fi
11751   done
11752   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
11753 BEGIN {RS=" "; FS="/|\n";} {
11754   lt_foo="";
11755   lt_count=0;
11756   for (lt_i = NF; lt_i > 0; lt_i--) {
11757     if ($lt_i != "" && $lt_i != ".") {
11758       if ($lt_i == "..") {
11759         lt_count++;
11760       } else {
11761         if (lt_count == 0) {
11762           lt_foo="/" $lt_i lt_foo;
11763         } else {
11764           lt_count--;
11765         }
11766       }
11767     }
11768   }
11769   if (lt_foo != "") { lt_freq[lt_foo]++; }
11770   if (lt_freq[lt_foo] == 1) { print lt_foo; }
11771 }'`
11772   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
11773 else
11774   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11775 fi
11776 library_names_spec=
11777 libname_spec='lib$name'
11778 soname_spec=
11779 shrext_cmds=".so"
11780 postinstall_cmds=
11781 postuninstall_cmds=
11782 finish_cmds=
11783 finish_eval=
11784 shlibpath_var=
11785 shlibpath_overrides_runpath=unknown
11786 version_type=none
11787 dynamic_linker="$host_os ld.so"
11788 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11789 need_lib_prefix=unknown
11790 hardcode_into_libs=no
11791
11792 # when you set need_version to no, make sure it does not cause -set_version
11793 # flags to be left without arguments
11794 need_version=unknown
11795
11796 case $host_os in
11797 aix3*)
11798   version_type=linux
11799   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11800   shlibpath_var=LIBPATH
11801
11802   # AIX 3 has no versioning support, so we append a major version to the name.
11803   soname_spec='${libname}${release}${shared_ext}$major'
11804   ;;
11805
11806 aix[4-9]*)
11807   version_type=linux
11808   need_lib_prefix=no
11809   need_version=no
11810   hardcode_into_libs=yes
11811   if test "$host_cpu" = ia64; then
11812     # AIX 5 supports IA64
11813     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11814     shlibpath_var=LD_LIBRARY_PATH
11815   else
11816     # With GCC up to 2.95.x, collect2 would create an import file
11817     # for dependence libraries.  The import file would start with
11818     # the line `#! .'.  This would cause the generated library to
11819     # depend on `.', always an invalid library.  This was fixed in
11820     # development snapshots of GCC prior to 3.0.
11821     case $host_os in
11822       aix4 | aix4.[01] | aix4.[01].*)
11823       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11824            echo ' yes '
11825            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11826         :
11827       else
11828         can_build_shared=no
11829       fi
11830       ;;
11831     esac
11832     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11833     # soname into executable. Probably we can add versioning support to
11834     # collect2, so additional links can be useful in future.
11835     if test "$aix_use_runtimelinking" = yes; then
11836       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11837       # instead of lib<name>.a to let people know that these are not
11838       # typical AIX shared libraries.
11839       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11840     else
11841       # We preserve .a as extension for shared libraries through AIX4.2
11842       # and later when we are not doing run time linking.
11843       library_names_spec='${libname}${release}.a $libname.a'
11844       soname_spec='${libname}${release}${shared_ext}$major'
11845     fi
11846     shlibpath_var=LIBPATH
11847   fi
11848   ;;
11849
11850 amigaos*)
11851   case $host_cpu in
11852   powerpc)
11853     # Since July 2007 AmigaOS4 officially supports .so libraries.
11854     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11855     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11856     ;;
11857   m68k)
11858     library_names_spec='$libname.ixlibrary $libname.a'
11859     # Create ${libname}_ixlibrary.a entries in /sys/libs.
11860     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'
11861     ;;
11862   esac
11863   ;;
11864
11865 beos*)
11866   library_names_spec='${libname}${shared_ext}'
11867   dynamic_linker="$host_os ld.so"
11868   shlibpath_var=LIBRARY_PATH
11869   ;;
11870
11871 bsdi[45]*)
11872   version_type=linux
11873   need_version=no
11874   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11875   soname_spec='${libname}${release}${shared_ext}$major'
11876   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11877   shlibpath_var=LD_LIBRARY_PATH
11878   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11879   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11880   # the default ld.so.conf also contains /usr/contrib/lib and
11881   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11882   # libtool to hard-code these into programs
11883   ;;
11884
11885 cygwin* | mingw* | pw32*)
11886   version_type=windows
11887   shrext_cmds=".dll"
11888   need_version=no
11889   need_lib_prefix=no
11890
11891   case $GCC,$host_os in
11892   yes,cygwin* | yes,mingw* | yes,pw32*)
11893     library_names_spec='$libname.dll.a'
11894     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11895     postinstall_cmds='base_file=`basename \${file}`~
11896       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11897       dldir=$destdir/`dirname \$dlpath`~
11898       test -d \$dldir || mkdir -p \$dldir~
11899       $install_prog $dir/$dlname \$dldir/$dlname~
11900       chmod a+x \$dldir/$dlname~
11901       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11902         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11903       fi'
11904     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11905       dlpath=$dir/\$dldll~
11906        $RM \$dlpath'
11907     shlibpath_overrides_runpath=yes
11908
11909     case $host_os in
11910     cygwin*)
11911       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11912       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11913       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11914       ;;
11915     mingw*)
11916       # MinGW DLLs use traditional 'lib' prefix
11917       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11918       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11919       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11920         # It is most probably a Windows format PATH printed by
11921         # mingw gcc, but we are running on Cygwin. Gcc prints its search
11922         # path with ; separators, and with drive letters. We can handle the
11923         # drive letters (cygwin fileutils understands them), so leave them,
11924         # especially as we might pass files found there to a mingw objdump,
11925         # which wouldn't understand a cygwinified path. Ahh.
11926         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11927       else
11928         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11929       fi
11930       ;;
11931     pw32*)
11932       # pw32 DLLs use 'pw' prefix rather than 'lib'
11933       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11934       ;;
11935     esac
11936     ;;
11937
11938   *)
11939     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11940     ;;
11941   esac
11942   dynamic_linker='Win32 ld.exe'
11943   # FIXME: first we should search . and the directory the executable is in
11944   shlibpath_var=PATH
11945   ;;
11946
11947 darwin* | rhapsody*)
11948   dynamic_linker="$host_os dyld"
11949   version_type=darwin
11950   need_lib_prefix=no
11951   need_version=no
11952   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11953   soname_spec='${libname}${release}${major}$shared_ext'
11954   shlibpath_overrides_runpath=yes
11955   shlibpath_var=DYLD_LIBRARY_PATH
11956   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11957
11958   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11959   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11960   ;;
11961
11962 dgux*)
11963   version_type=linux
11964   need_lib_prefix=no
11965   need_version=no
11966   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11967   soname_spec='${libname}${release}${shared_ext}$major'
11968   shlibpath_var=LD_LIBRARY_PATH
11969   ;;
11970
11971 freebsd1*)
11972   dynamic_linker=no
11973   ;;
11974
11975 freebsd* | dragonfly*)
11976   # DragonFly does not have aout.  When/if they implement a new
11977   # versioning mechanism, adjust this.
11978   if test -x /usr/bin/objformat; then
11979     objformat=`/usr/bin/objformat`
11980   else
11981     case $host_os in
11982     freebsd[123]*) objformat=aout ;;
11983     *) objformat=elf ;;
11984     esac
11985   fi
11986   version_type=freebsd-$objformat
11987   case $version_type in
11988     freebsd-elf*)
11989       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11990       need_version=no
11991       need_lib_prefix=no
11992       ;;
11993     freebsd-*)
11994       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11995       need_version=yes
11996       ;;
11997   esac
11998   shlibpath_var=LD_LIBRARY_PATH
11999   case $host_os in
12000   freebsd2*)
12001     shlibpath_overrides_runpath=yes
12002     ;;
12003   freebsd3.[01]* | freebsdelf3.[01]*)
12004     shlibpath_overrides_runpath=yes
12005     hardcode_into_libs=yes
12006     ;;
12007   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12008   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12009     shlibpath_overrides_runpath=no
12010     hardcode_into_libs=yes
12011     ;;
12012   *) # from 4.6 on, and DragonFly
12013     shlibpath_overrides_runpath=yes
12014     hardcode_into_libs=yes
12015     ;;
12016   esac
12017   ;;
12018
12019 gnu*)
12020   version_type=linux
12021   need_lib_prefix=no
12022   need_version=no
12023   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12024   soname_spec='${libname}${release}${shared_ext}$major'
12025   shlibpath_var=LD_LIBRARY_PATH
12026   hardcode_into_libs=yes
12027   ;;
12028
12029 hpux9* | hpux10* | hpux11*)
12030   # Give a soname corresponding to the major version so that dld.sl refuses to
12031   # link against other versions.
12032   version_type=sunos
12033   need_lib_prefix=no
12034   need_version=no
12035   case $host_cpu in
12036   ia64*)
12037     shrext_cmds='.so'
12038     hardcode_into_libs=yes
12039     dynamic_linker="$host_os dld.so"
12040     shlibpath_var=LD_LIBRARY_PATH
12041     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12042     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12043     soname_spec='${libname}${release}${shared_ext}$major'
12044     if test "X$HPUX_IA64_MODE" = X32; then
12045       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12046     else
12047       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12048     fi
12049     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12050     ;;
12051   hppa*64*)
12052     shrext_cmds='.sl'
12053     hardcode_into_libs=yes
12054     dynamic_linker="$host_os dld.sl"
12055     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12056     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12057     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12058     soname_spec='${libname}${release}${shared_ext}$major'
12059     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12060     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12061     ;;
12062   *)
12063     shrext_cmds='.sl'
12064     dynamic_linker="$host_os dld.sl"
12065     shlibpath_var=SHLIB_PATH
12066     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12067     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12068     soname_spec='${libname}${release}${shared_ext}$major'
12069     ;;
12070   esac
12071   # HP-UX runs *really* slowly unless shared libraries are mode 555.
12072   postinstall_cmds='chmod 555 $lib'
12073   ;;
12074
12075 interix[3-9]*)
12076   version_type=linux
12077   need_lib_prefix=no
12078   need_version=no
12079   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12080   soname_spec='${libname}${release}${shared_ext}$major'
12081   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12082   shlibpath_var=LD_LIBRARY_PATH
12083   shlibpath_overrides_runpath=no
12084   hardcode_into_libs=yes
12085   ;;
12086
12087 irix5* | irix6* | nonstopux*)
12088   case $host_os in
12089     nonstopux*) version_type=nonstopux ;;
12090     *)
12091         if test "$lt_cv_prog_gnu_ld" = yes; then
12092                 version_type=linux
12093         else
12094                 version_type=irix
12095         fi ;;
12096   esac
12097   need_lib_prefix=no
12098   need_version=no
12099   soname_spec='${libname}${release}${shared_ext}$major'
12100   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12101   case $host_os in
12102   irix5* | nonstopux*)
12103     libsuff= shlibsuff=
12104     ;;
12105   *)
12106     case $LD in # libtool.m4 will add one of these switches to LD
12107     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12108       libsuff= shlibsuff= libmagic=32-bit;;
12109     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12110       libsuff=32 shlibsuff=N32 libmagic=N32;;
12111     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12112       libsuff=64 shlibsuff=64 libmagic=64-bit;;
12113     *) libsuff= shlibsuff= libmagic=never-match;;
12114     esac
12115     ;;
12116   esac
12117   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12118   shlibpath_overrides_runpath=no
12119   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12120   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12121   hardcode_into_libs=yes
12122   ;;
12123
12124 # No shared lib support for Linux oldld, aout, or coff.
12125 linux*oldld* | linux*aout* | linux*coff*)
12126   dynamic_linker=no
12127   ;;
12128
12129 # This must be Linux ELF.
12130 linux* | k*bsd*-gnu)
12131   version_type=linux
12132   need_lib_prefix=no
12133   need_version=no
12134   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12135   soname_spec='${libname}${release}${shared_ext}$major'
12136   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12137   shlibpath_var=LD_LIBRARY_PATH
12138   shlibpath_overrides_runpath=no
12139   # Some binutils ld are patched to set DT_RUNPATH
12140   save_LDFLAGS=$LDFLAGS
12141   save_libdir=$libdir
12142   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12143        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12144   cat >conftest.$ac_ext <<_ACEOF
12145 /* confdefs.h.  */
12146 _ACEOF
12147 cat confdefs.h >>conftest.$ac_ext
12148 cat >>conftest.$ac_ext <<_ACEOF
12149 /* end confdefs.h.  */
12150
12151 int
12152 main ()
12153 {
12154
12155   ;
12156   return 0;
12157 }
12158 _ACEOF
12159 rm -f conftest.$ac_objext conftest$ac_exeext
12160 if { (ac_try="$ac_link"
12161 case "(($ac_try" in
12162   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12163   *) ac_try_echo=$ac_try;;
12164 esac
12165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12166   (eval "$ac_link") 2>conftest.er1
12167   ac_status=$?
12168   grep -v '^ *+' conftest.er1 >conftest.err
12169   rm -f conftest.er1
12170   cat conftest.err >&5
12171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12172   (exit $ac_status); } && {
12173          test -z "$ac_c_werror_flag" ||
12174          test ! -s conftest.err
12175        } && test -s conftest$ac_exeext &&
12176        $as_test_x conftest$ac_exeext; then
12177   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
12178   shlibpath_overrides_runpath=yes
12179 fi
12180
12181 else
12182   echo "$as_me: failed program was:" >&5
12183 sed 's/^/| /' conftest.$ac_ext >&5
12184
12185
12186 fi
12187
12188 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12189       conftest$ac_exeext conftest.$ac_ext
12190   LDFLAGS=$save_LDFLAGS
12191   libdir=$save_libdir
12192
12193   # This implies no fast_install, which is unacceptable.
12194   # Some rework will be needed to allow for fast_install
12195   # before this can be enabled.
12196   hardcode_into_libs=yes
12197
12198   # Append ld.so.conf contents to the search path
12199   if test -f /etc/ld.so.conf; then
12200     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' ' '`
12201     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12202   fi
12203
12204   # We used to test for /lib/ld.so.1 and disable shared libraries on
12205   # powerpc, because MkLinux only supported shared libraries with the
12206   # GNU dynamic linker.  Since this was broken with cross compilers,
12207   # most powerpc-linux boxes support dynamic linking these days and
12208   # people can always --disable-shared, the test was removed, and we
12209   # assume the GNU/Linux dynamic linker is in use.
12210   dynamic_linker='GNU/Linux ld.so'
12211   ;;
12212
12213 netbsd*)
12214   version_type=sunos
12215   need_lib_prefix=no
12216   need_version=no
12217   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12218     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12219     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12220     dynamic_linker='NetBSD (a.out) ld.so'
12221   else
12222     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12223     soname_spec='${libname}${release}${shared_ext}$major'
12224     dynamic_linker='NetBSD ld.elf_so'
12225   fi
12226   shlibpath_var=LD_LIBRARY_PATH
12227   shlibpath_overrides_runpath=yes
12228   hardcode_into_libs=yes
12229   ;;
12230
12231 newsos6)
12232   version_type=linux
12233   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12234   shlibpath_var=LD_LIBRARY_PATH
12235   shlibpath_overrides_runpath=yes
12236   ;;
12237
12238 *nto* | *qnx*)
12239   version_type=qnx
12240   need_lib_prefix=no
12241   need_version=no
12242   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12243   soname_spec='${libname}${release}${shared_ext}$major'
12244   shlibpath_var=LD_LIBRARY_PATH
12245   shlibpath_overrides_runpath=no
12246   hardcode_into_libs=yes
12247   dynamic_linker='ldqnx.so'
12248   ;;
12249
12250 openbsd*)
12251   version_type=sunos
12252   sys_lib_dlsearch_path_spec="/usr/lib"
12253   need_lib_prefix=no
12254   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12255   case $host_os in
12256     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
12257     *)                          need_version=no  ;;
12258   esac
12259   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12260   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12261   shlibpath_var=LD_LIBRARY_PATH
12262   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12263     case $host_os in
12264       openbsd2.[89] | openbsd2.[89].*)
12265         shlibpath_overrides_runpath=no
12266         ;;
12267       *)
12268         shlibpath_overrides_runpath=yes
12269         ;;
12270       esac
12271   else
12272     shlibpath_overrides_runpath=yes
12273   fi
12274   ;;
12275
12276 os2*)
12277   libname_spec='$name'
12278   shrext_cmds=".dll"
12279   need_lib_prefix=no
12280   library_names_spec='$libname${shared_ext} $libname.a'
12281   dynamic_linker='OS/2 ld.exe'
12282   shlibpath_var=LIBPATH
12283   ;;
12284
12285 osf3* | osf4* | osf5*)
12286   version_type=osf
12287   need_lib_prefix=no
12288   need_version=no
12289   soname_spec='${libname}${release}${shared_ext}$major'
12290   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12291   shlibpath_var=LD_LIBRARY_PATH
12292   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12293   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12294   ;;
12295
12296 rdos*)
12297   dynamic_linker=no
12298   ;;
12299
12300 solaris*)
12301   version_type=linux
12302   need_lib_prefix=no
12303   need_version=no
12304   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12305   soname_spec='${libname}${release}${shared_ext}$major'
12306   shlibpath_var=LD_LIBRARY_PATH
12307   shlibpath_overrides_runpath=yes
12308   hardcode_into_libs=yes
12309   # ldd complains unless libraries are executable
12310   postinstall_cmds='chmod +x $lib'
12311   ;;
12312
12313 sunos4*)
12314   version_type=sunos
12315   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12316   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12317   shlibpath_var=LD_LIBRARY_PATH
12318   shlibpath_overrides_runpath=yes
12319   if test "$with_gnu_ld" = yes; then
12320     need_lib_prefix=no
12321   fi
12322   need_version=yes
12323   ;;
12324
12325 sysv4 | sysv4.3*)
12326   version_type=linux
12327   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12328   soname_spec='${libname}${release}${shared_ext}$major'
12329   shlibpath_var=LD_LIBRARY_PATH
12330   case $host_vendor in
12331     sni)
12332       shlibpath_overrides_runpath=no
12333       need_lib_prefix=no
12334       runpath_var=LD_RUN_PATH
12335       ;;
12336     siemens)
12337       need_lib_prefix=no
12338       ;;
12339     motorola)
12340       need_lib_prefix=no
12341       need_version=no
12342       shlibpath_overrides_runpath=no
12343       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12344       ;;
12345   esac
12346   ;;
12347
12348 sysv4*MP*)
12349   if test -d /usr/nec ;then
12350     version_type=linux
12351     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12352     soname_spec='$libname${shared_ext}.$major'
12353     shlibpath_var=LD_LIBRARY_PATH
12354   fi
12355   ;;
12356
12357 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12358   version_type=freebsd-elf
12359   need_lib_prefix=no
12360   need_version=no
12361   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12362   soname_spec='${libname}${release}${shared_ext}$major'
12363   shlibpath_var=LD_LIBRARY_PATH
12364   shlibpath_overrides_runpath=yes
12365   hardcode_into_libs=yes
12366   if test "$with_gnu_ld" = yes; then
12367     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12368   else
12369     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12370     case $host_os in
12371       sco3.2v5*)
12372         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12373         ;;
12374     esac
12375   fi
12376   sys_lib_dlsearch_path_spec='/usr/lib'
12377   ;;
12378
12379 tpf*)
12380   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12381   version_type=linux
12382   need_lib_prefix=no
12383   need_version=no
12384   library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12385   shlibpath_var=LD_LIBRARY_PATH
12386   shlibpath_overrides_runpath=no
12387   hardcode_into_libs=yes
12388   ;;
12389
12390 uts4*)
12391   version_type=linux
12392   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12393   soname_spec='${libname}${release}${shared_ext}$major'
12394   shlibpath_var=LD_LIBRARY_PATH
12395   ;;
12396
12397 *)
12398   dynamic_linker=no
12399   ;;
12400 esac
12401 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12402 echo "${ECHO_T}$dynamic_linker" >&6; }
12403 test "$dynamic_linker" = no && can_build_shared=no
12404
12405 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12406 if test "$GCC" = yes; then
12407   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12408 fi
12409
12410 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12411   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12412 fi
12413 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12414   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12415 fi
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503   { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12504 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12505 hardcode_action=
12506 if test -n "$hardcode_libdir_flag_spec" ||
12507    test -n "$runpath_var" ||
12508    test "X$hardcode_automatic" = "Xyes" ; then
12509
12510   # We can hardcode non-existent directories.
12511   if test "$hardcode_direct" != no &&
12512      # If the only mechanism to avoid hardcoding is shlibpath_var, we
12513      # have to relink, otherwise we might link with an installed library
12514      # when we should be linking with a yet-to-be-installed one
12515      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12516      test "$hardcode_minus_L" != no; then
12517     # Linking always hardcodes the temporary library directory.
12518     hardcode_action=relink
12519   else
12520     # We can link without hardcoding, and we can hardcode nonexisting dirs.
12521     hardcode_action=immediate
12522   fi
12523 else
12524   # We cannot hardcode anything, or else we can only hardcode existing
12525   # directories.
12526   hardcode_action=unsupported
12527 fi
12528 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
12529 echo "${ECHO_T}$hardcode_action" >&6; }
12530
12531 if test "$hardcode_action" = relink ||
12532    test "$inherit_rpath" = yes; then
12533   # Fast installation is not supported
12534   enable_fast_install=no
12535 elif test "$shlibpath_overrides_runpath" = yes ||
12536      test "$enable_shared" = no; then
12537   # Fast installation is not necessary
12538   enable_fast_install=needless
12539 fi
12540
12541
12542
12543
12544
12545
12546   if test "x$enable_dlopen" != xyes; then
12547   enable_dlopen=unknown
12548   enable_dlopen_self=unknown
12549   enable_dlopen_self_static=unknown
12550 else
12551   lt_cv_dlopen=no
12552   lt_cv_dlopen_libs=
12553
12554   case $host_os in
12555   beos*)
12556     lt_cv_dlopen="load_add_on"
12557     lt_cv_dlopen_libs=
12558     lt_cv_dlopen_self=yes
12559     ;;
12560
12561   mingw* | pw32*)
12562     lt_cv_dlopen="LoadLibrary"
12563     lt_cv_dlopen_libs=
12564     ;;
12565
12566   cygwin*)
12567     lt_cv_dlopen="dlopen"
12568     lt_cv_dlopen_libs=
12569     ;;
12570
12571   darwin*)
12572   # if libdl is installed we need to link against it
12573     { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12574 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12575 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12576   echo $ECHO_N "(cached) $ECHO_C" >&6
12577 else
12578   ac_check_lib_save_LIBS=$LIBS
12579 LIBS="-ldl  $LIBS"
12580 cat >conftest.$ac_ext <<_ACEOF
12581 /* confdefs.h.  */
12582 _ACEOF
12583 cat confdefs.h >>conftest.$ac_ext
12584 cat >>conftest.$ac_ext <<_ACEOF
12585 /* end confdefs.h.  */
12586
12587 /* Override any GCC internal prototype to avoid an error.
12588    Use char because int might match the return type of a GCC
12589    builtin and then its argument prototype would still apply.  */
12590 #ifdef __cplusplus
12591 extern "C"
12592 #endif
12593 char dlopen ();
12594 int
12595 main ()
12596 {
12597 return dlopen ();
12598   ;
12599   return 0;
12600 }
12601 _ACEOF
12602 rm -f conftest.$ac_objext conftest$ac_exeext
12603 if { (ac_try="$ac_link"
12604 case "(($ac_try" in
12605   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12606   *) ac_try_echo=$ac_try;;
12607 esac
12608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12609   (eval "$ac_link") 2>conftest.er1
12610   ac_status=$?
12611   grep -v '^ *+' conftest.er1 >conftest.err
12612   rm -f conftest.er1
12613   cat conftest.err >&5
12614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12615   (exit $ac_status); } && {
12616          test -z "$ac_c_werror_flag" ||
12617          test ! -s conftest.err
12618        } && test -s conftest$ac_exeext &&
12619        $as_test_x conftest$ac_exeext; then
12620   ac_cv_lib_dl_dlopen=yes
12621 else
12622   echo "$as_me: failed program was:" >&5
12623 sed 's/^/| /' conftest.$ac_ext >&5
12624
12625         ac_cv_lib_dl_dlopen=no
12626 fi
12627
12628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12629       conftest$ac_exeext conftest.$ac_ext
12630 LIBS=$ac_check_lib_save_LIBS
12631 fi
12632 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12633 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12634 if test $ac_cv_lib_dl_dlopen = yes; then
12635   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12636 else
12637
12638     lt_cv_dlopen="dyld"
12639     lt_cv_dlopen_libs=
12640     lt_cv_dlopen_self=yes
12641
12642 fi
12643
12644     ;;
12645
12646   *)
12647     { echo "$as_me:$LINENO: checking for shl_load" >&5
12648 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
12649 if test "${ac_cv_func_shl_load+set}" = set; then
12650   echo $ECHO_N "(cached) $ECHO_C" >&6
12651 else
12652   cat >conftest.$ac_ext <<_ACEOF
12653 /* confdefs.h.  */
12654 _ACEOF
12655 cat confdefs.h >>conftest.$ac_ext
12656 cat >>conftest.$ac_ext <<_ACEOF
12657 /* end confdefs.h.  */
12658 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12659    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12660 #define shl_load innocuous_shl_load
12661
12662 /* System header to define __stub macros and hopefully few prototypes,
12663     which can conflict with char shl_load (); below.
12664     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12665     <limits.h> exists even on freestanding compilers.  */
12666
12667 #ifdef __STDC__
12668 # include <limits.h>
12669 #else
12670 # include <assert.h>
12671 #endif
12672
12673 #undef shl_load
12674
12675 /* Override any GCC internal prototype to avoid an error.
12676    Use char because int might match the return type of a GCC
12677    builtin and then its argument prototype would still apply.  */
12678 #ifdef __cplusplus
12679 extern "C"
12680 #endif
12681 char shl_load ();
12682 /* The GNU C library defines this for functions which it implements
12683     to always fail with ENOSYS.  Some functions are actually named
12684     something starting with __ and the normal name is an alias.  */
12685 #if defined __stub_shl_load || defined __stub___shl_load
12686 choke me
12687 #endif
12688
12689 int
12690 main ()
12691 {
12692 return shl_load ();
12693   ;
12694   return 0;
12695 }
12696 _ACEOF
12697 rm -f conftest.$ac_objext conftest$ac_exeext
12698 if { (ac_try="$ac_link"
12699 case "(($ac_try" in
12700   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12701   *) ac_try_echo=$ac_try;;
12702 esac
12703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12704   (eval "$ac_link") 2>conftest.er1
12705   ac_status=$?
12706   grep -v '^ *+' conftest.er1 >conftest.err
12707   rm -f conftest.er1
12708   cat conftest.err >&5
12709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12710   (exit $ac_status); } && {
12711          test -z "$ac_c_werror_flag" ||
12712          test ! -s conftest.err
12713        } && test -s conftest$ac_exeext &&
12714        $as_test_x conftest$ac_exeext; then
12715   ac_cv_func_shl_load=yes
12716 else
12717   echo "$as_me: failed program was:" >&5
12718 sed 's/^/| /' conftest.$ac_ext >&5
12719
12720         ac_cv_func_shl_load=no
12721 fi
12722
12723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12724       conftest$ac_exeext conftest.$ac_ext
12725 fi
12726 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12727 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
12728 if test $ac_cv_func_shl_load = yes; then
12729   lt_cv_dlopen="shl_load"
12730 else
12731   { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12732 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
12733 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12734   echo $ECHO_N "(cached) $ECHO_C" >&6
12735 else
12736   ac_check_lib_save_LIBS=$LIBS
12737 LIBS="-ldld  $LIBS"
12738 cat >conftest.$ac_ext <<_ACEOF
12739 /* confdefs.h.  */
12740 _ACEOF
12741 cat confdefs.h >>conftest.$ac_ext
12742 cat >>conftest.$ac_ext <<_ACEOF
12743 /* end confdefs.h.  */
12744
12745 /* Override any GCC internal prototype to avoid an error.
12746    Use char because int might match the return type of a GCC
12747    builtin and then its argument prototype would still apply.  */
12748 #ifdef __cplusplus
12749 extern "C"
12750 #endif
12751 char shl_load ();
12752 int
12753 main ()
12754 {
12755 return shl_load ();
12756   ;
12757   return 0;
12758 }
12759 _ACEOF
12760 rm -f conftest.$ac_objext conftest$ac_exeext
12761 if { (ac_try="$ac_link"
12762 case "(($ac_try" in
12763   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12764   *) ac_try_echo=$ac_try;;
12765 esac
12766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12767   (eval "$ac_link") 2>conftest.er1
12768   ac_status=$?
12769   grep -v '^ *+' conftest.er1 >conftest.err
12770   rm -f conftest.er1
12771   cat conftest.err >&5
12772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12773   (exit $ac_status); } && {
12774          test -z "$ac_c_werror_flag" ||
12775          test ! -s conftest.err
12776        } && test -s conftest$ac_exeext &&
12777        $as_test_x conftest$ac_exeext; then
12778   ac_cv_lib_dld_shl_load=yes
12779 else
12780   echo "$as_me: failed program was:" >&5
12781 sed 's/^/| /' conftest.$ac_ext >&5
12782
12783         ac_cv_lib_dld_shl_load=no
12784 fi
12785
12786 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12787       conftest$ac_exeext conftest.$ac_ext
12788 LIBS=$ac_check_lib_save_LIBS
12789 fi
12790 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12791 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
12792 if test $ac_cv_lib_dld_shl_load = yes; then
12793   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12794 else
12795   { echo "$as_me:$LINENO: checking for dlopen" >&5
12796 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
12797 if test "${ac_cv_func_dlopen+set}" = set; then
12798   echo $ECHO_N "(cached) $ECHO_C" >&6
12799 else
12800   cat >conftest.$ac_ext <<_ACEOF
12801 /* confdefs.h.  */
12802 _ACEOF
12803 cat confdefs.h >>conftest.$ac_ext
12804 cat >>conftest.$ac_ext <<_ACEOF
12805 /* end confdefs.h.  */
12806 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12807    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12808 #define dlopen innocuous_dlopen
12809
12810 /* System header to define __stub macros and hopefully few prototypes,
12811     which can conflict with char dlopen (); below.
12812     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12813     <limits.h> exists even on freestanding compilers.  */
12814
12815 #ifdef __STDC__
12816 # include <limits.h>
12817 #else
12818 # include <assert.h>
12819 #endif
12820
12821 #undef dlopen
12822
12823 /* Override any GCC internal prototype to avoid an error.
12824    Use char because int might match the return type of a GCC
12825    builtin and then its argument prototype would still apply.  */
12826 #ifdef __cplusplus
12827 extern "C"
12828 #endif
12829 char dlopen ();
12830 /* The GNU C library defines this for functions which it implements
12831     to always fail with ENOSYS.  Some functions are actually named
12832     something starting with __ and the normal name is an alias.  */
12833 #if defined __stub_dlopen || defined __stub___dlopen
12834 choke me
12835 #endif
12836
12837 int
12838 main ()
12839 {
12840 return dlopen ();
12841   ;
12842   return 0;
12843 }
12844 _ACEOF
12845 rm -f conftest.$ac_objext conftest$ac_exeext
12846 if { (ac_try="$ac_link"
12847 case "(($ac_try" in
12848   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12849   *) ac_try_echo=$ac_try;;
12850 esac
12851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12852   (eval "$ac_link") 2>conftest.er1
12853   ac_status=$?
12854   grep -v '^ *+' conftest.er1 >conftest.err
12855   rm -f conftest.er1
12856   cat conftest.err >&5
12857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12858   (exit $ac_status); } && {
12859          test -z "$ac_c_werror_flag" ||
12860          test ! -s conftest.err
12861        } && test -s conftest$ac_exeext &&
12862        $as_test_x conftest$ac_exeext; then
12863   ac_cv_func_dlopen=yes
12864 else
12865   echo "$as_me: failed program was:" >&5
12866 sed 's/^/| /' conftest.$ac_ext >&5
12867
12868         ac_cv_func_dlopen=no
12869 fi
12870
12871 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12872       conftest$ac_exeext conftest.$ac_ext
12873 fi
12874 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12875 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
12876 if test $ac_cv_func_dlopen = yes; then
12877   lt_cv_dlopen="dlopen"
12878 else
12879   { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12880 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12881 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12882   echo $ECHO_N "(cached) $ECHO_C" >&6
12883 else
12884   ac_check_lib_save_LIBS=$LIBS
12885 LIBS="-ldl  $LIBS"
12886 cat >conftest.$ac_ext <<_ACEOF
12887 /* confdefs.h.  */
12888 _ACEOF
12889 cat confdefs.h >>conftest.$ac_ext
12890 cat >>conftest.$ac_ext <<_ACEOF
12891 /* end confdefs.h.  */
12892
12893 /* Override any GCC internal prototype to avoid an error.
12894    Use char because int might match the return type of a GCC
12895    builtin and then its argument prototype would still apply.  */
12896 #ifdef __cplusplus
12897 extern "C"
12898 #endif
12899 char dlopen ();
12900 int
12901 main ()
12902 {
12903 return dlopen ();
12904   ;
12905   return 0;
12906 }
12907 _ACEOF
12908 rm -f conftest.$ac_objext conftest$ac_exeext
12909 if { (ac_try="$ac_link"
12910 case "(($ac_try" in
12911   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12912   *) ac_try_echo=$ac_try;;
12913 esac
12914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12915   (eval "$ac_link") 2>conftest.er1
12916   ac_status=$?
12917   grep -v '^ *+' conftest.er1 >conftest.err
12918   rm -f conftest.er1
12919   cat conftest.err >&5
12920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12921   (exit $ac_status); } && {
12922          test -z "$ac_c_werror_flag" ||
12923          test ! -s conftest.err
12924        } && test -s conftest$ac_exeext &&
12925        $as_test_x conftest$ac_exeext; then
12926   ac_cv_lib_dl_dlopen=yes
12927 else
12928   echo "$as_me: failed program was:" >&5
12929 sed 's/^/| /' conftest.$ac_ext >&5
12930
12931         ac_cv_lib_dl_dlopen=no
12932 fi
12933
12934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12935       conftest$ac_exeext conftest.$ac_ext
12936 LIBS=$ac_check_lib_save_LIBS
12937 fi
12938 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12939 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12940 if test $ac_cv_lib_dl_dlopen = yes; then
12941   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12942 else
12943   { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12944 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
12945 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12946   echo $ECHO_N "(cached) $ECHO_C" >&6
12947 else
12948   ac_check_lib_save_LIBS=$LIBS
12949 LIBS="-lsvld  $LIBS"
12950 cat >conftest.$ac_ext <<_ACEOF
12951 /* confdefs.h.  */
12952 _ACEOF
12953 cat confdefs.h >>conftest.$ac_ext
12954 cat >>conftest.$ac_ext <<_ACEOF
12955 /* end confdefs.h.  */
12956
12957 /* Override any GCC internal prototype to avoid an error.
12958    Use char because int might match the return type of a GCC
12959    builtin and then its argument prototype would still apply.  */
12960 #ifdef __cplusplus
12961 extern "C"
12962 #endif
12963 char dlopen ();
12964 int
12965 main ()
12966 {
12967 return dlopen ();
12968   ;
12969   return 0;
12970 }
12971 _ACEOF
12972 rm -f conftest.$ac_objext conftest$ac_exeext
12973 if { (ac_try="$ac_link"
12974 case "(($ac_try" in
12975   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12976   *) ac_try_echo=$ac_try;;
12977 esac
12978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12979   (eval "$ac_link") 2>conftest.er1
12980   ac_status=$?
12981   grep -v '^ *+' conftest.er1 >conftest.err
12982   rm -f conftest.er1
12983   cat conftest.err >&5
12984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12985   (exit $ac_status); } && {
12986          test -z "$ac_c_werror_flag" ||
12987          test ! -s conftest.err
12988        } && test -s conftest$ac_exeext &&
12989        $as_test_x conftest$ac_exeext; then
12990   ac_cv_lib_svld_dlopen=yes
12991 else
12992   echo "$as_me: failed program was:" >&5
12993 sed 's/^/| /' conftest.$ac_ext >&5
12994
12995         ac_cv_lib_svld_dlopen=no
12996 fi
12997
12998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12999       conftest$ac_exeext conftest.$ac_ext
13000 LIBS=$ac_check_lib_save_LIBS
13001 fi
13002 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
13003 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
13004 if test $ac_cv_lib_svld_dlopen = yes; then
13005   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13006 else
13007   { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
13008 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
13009 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
13010   echo $ECHO_N "(cached) $ECHO_C" >&6
13011 else
13012   ac_check_lib_save_LIBS=$LIBS
13013 LIBS="-ldld  $LIBS"
13014 cat >conftest.$ac_ext <<_ACEOF
13015 /* confdefs.h.  */
13016 _ACEOF
13017 cat confdefs.h >>conftest.$ac_ext
13018 cat >>conftest.$ac_ext <<_ACEOF
13019 /* end confdefs.h.  */
13020
13021 /* Override any GCC internal prototype to avoid an error.
13022    Use char because int might match the return type of a GCC
13023    builtin and then its argument prototype would still apply.  */
13024 #ifdef __cplusplus
13025 extern "C"
13026 #endif
13027 char dld_link ();
13028 int
13029 main ()
13030 {
13031 return dld_link ();
13032   ;
13033   return 0;
13034 }
13035 _ACEOF
13036 rm -f conftest.$ac_objext conftest$ac_exeext
13037 if { (ac_try="$ac_link"
13038 case "(($ac_try" in
13039   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13040   *) ac_try_echo=$ac_try;;
13041 esac
13042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13043   (eval "$ac_link") 2>conftest.er1
13044   ac_status=$?
13045   grep -v '^ *+' conftest.er1 >conftest.err
13046   rm -f conftest.er1
13047   cat conftest.err >&5
13048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13049   (exit $ac_status); } && {
13050          test -z "$ac_c_werror_flag" ||
13051          test ! -s conftest.err
13052        } && test -s conftest$ac_exeext &&
13053        $as_test_x conftest$ac_exeext; then
13054   ac_cv_lib_dld_dld_link=yes
13055 else
13056   echo "$as_me: failed program was:" >&5
13057 sed 's/^/| /' conftest.$ac_ext >&5
13058
13059         ac_cv_lib_dld_dld_link=no
13060 fi
13061
13062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13063       conftest$ac_exeext conftest.$ac_ext
13064 LIBS=$ac_check_lib_save_LIBS
13065 fi
13066 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
13067 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
13068 if test $ac_cv_lib_dld_dld_link = yes; then
13069   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
13070 fi
13071
13072
13073 fi
13074
13075
13076 fi
13077
13078
13079 fi
13080
13081
13082 fi
13083
13084
13085 fi
13086
13087     ;;
13088   esac
13089
13090   if test "x$lt_cv_dlopen" != xno; then
13091     enable_dlopen=yes
13092   else
13093     enable_dlopen=no
13094   fi
13095
13096   case $lt_cv_dlopen in
13097   dlopen)
13098     save_CPPFLAGS="$CPPFLAGS"
13099     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13100
13101     save_LDFLAGS="$LDFLAGS"
13102     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13103
13104     save_LIBS="$LIBS"
13105     LIBS="$lt_cv_dlopen_libs $LIBS"
13106
13107     { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
13108 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
13109 if test "${lt_cv_dlopen_self+set}" = set; then
13110   echo $ECHO_N "(cached) $ECHO_C" >&6
13111 else
13112           if test "$cross_compiling" = yes; then :
13113   lt_cv_dlopen_self=cross
13114 else
13115   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13116   lt_status=$lt_dlunknown
13117   cat > conftest.$ac_ext <<_LT_EOF
13118 #line 13118 "configure"
13119 #include "confdefs.h"
13120
13121 #if HAVE_DLFCN_H
13122 #include <dlfcn.h>
13123 #endif
13124
13125 #include <stdio.h>
13126
13127 #ifdef RTLD_GLOBAL
13128 #  define LT_DLGLOBAL           RTLD_GLOBAL
13129 #else
13130 #  ifdef DL_GLOBAL
13131 #    define LT_DLGLOBAL         DL_GLOBAL
13132 #  else
13133 #    define LT_DLGLOBAL         0
13134 #  endif
13135 #endif
13136
13137 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13138    find out it does not work in some platform. */
13139 #ifndef LT_DLLAZY_OR_NOW
13140 #  ifdef RTLD_LAZY
13141 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
13142 #  else
13143 #    ifdef DL_LAZY
13144 #      define LT_DLLAZY_OR_NOW          DL_LAZY
13145 #    else
13146 #      ifdef RTLD_NOW
13147 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
13148 #      else
13149 #        ifdef DL_NOW
13150 #          define LT_DLLAZY_OR_NOW      DL_NOW
13151 #        else
13152 #          define LT_DLLAZY_OR_NOW      0
13153 #        endif
13154 #      endif
13155 #    endif
13156 #  endif
13157 #endif
13158
13159 #ifdef __cplusplus
13160 extern "C" void exit (int);
13161 #endif
13162
13163 void fnord() { int i=42;}
13164 int main ()
13165 {
13166   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13167   int status = $lt_dlunknown;
13168
13169   if (self)
13170     {
13171       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13172       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13173       /* dlclose (self); */
13174     }
13175   else
13176     puts (dlerror ());
13177
13178     exit (status);
13179 }
13180 _LT_EOF
13181   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13182   (eval $ac_link) 2>&5
13183   ac_status=$?
13184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13185   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13186     (./conftest; exit; ) >&5 2>/dev/null
13187     lt_status=$?
13188     case x$lt_status in
13189       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13190       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13191       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13192     esac
13193   else :
13194     # compilation failed
13195     lt_cv_dlopen_self=no
13196   fi
13197 fi
13198 rm -fr conftest*
13199
13200
13201 fi
13202 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
13203 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
13204
13205     if test "x$lt_cv_dlopen_self" = xyes; then
13206       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13207       { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
13208 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
13209 if test "${lt_cv_dlopen_self_static+set}" = set; then
13210   echo $ECHO_N "(cached) $ECHO_C" >&6
13211 else
13212           if test "$cross_compiling" = yes; then :
13213   lt_cv_dlopen_self_static=cross
13214 else
13215   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13216   lt_status=$lt_dlunknown
13217   cat > conftest.$ac_ext <<_LT_EOF
13218 #line 13218 "configure"
13219 #include "confdefs.h"
13220
13221 #if HAVE_DLFCN_H
13222 #include <dlfcn.h>
13223 #endif
13224
13225 #include <stdio.h>
13226
13227 #ifdef RTLD_GLOBAL
13228 #  define LT_DLGLOBAL           RTLD_GLOBAL
13229 #else
13230 #  ifdef DL_GLOBAL
13231 #    define LT_DLGLOBAL         DL_GLOBAL
13232 #  else
13233 #    define LT_DLGLOBAL         0
13234 #  endif
13235 #endif
13236
13237 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13238    find out it does not work in some platform. */
13239 #ifndef LT_DLLAZY_OR_NOW
13240 #  ifdef RTLD_LAZY
13241 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
13242 #  else
13243 #    ifdef DL_LAZY
13244 #      define LT_DLLAZY_OR_NOW          DL_LAZY
13245 #    else
13246 #      ifdef RTLD_NOW
13247 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
13248 #      else
13249 #        ifdef DL_NOW
13250 #          define LT_DLLAZY_OR_NOW      DL_NOW
13251 #        else
13252 #          define LT_DLLAZY_OR_NOW      0
13253 #        endif
13254 #      endif
13255 #    endif
13256 #  endif
13257 #endif
13258
13259 #ifdef __cplusplus
13260 extern "C" void exit (int);
13261 #endif
13262
13263 void fnord() { int i=42;}
13264 int main ()
13265 {
13266   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13267   int status = $lt_dlunknown;
13268
13269   if (self)
13270     {
13271       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13272       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13273       /* dlclose (self); */
13274     }
13275   else
13276     puts (dlerror ());
13277
13278     exit (status);
13279 }
13280 _LT_EOF
13281   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13282   (eval $ac_link) 2>&5
13283   ac_status=$?
13284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13285   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13286     (./conftest; exit; ) >&5 2>/dev/null
13287     lt_status=$?
13288     case x$lt_status in
13289       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13290       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13291       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13292     esac
13293   else :
13294     # compilation failed
13295     lt_cv_dlopen_self_static=no
13296   fi
13297 fi
13298 rm -fr conftest*
13299
13300
13301 fi
13302 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
13303 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
13304     fi
13305
13306     CPPFLAGS="$save_CPPFLAGS"
13307     LDFLAGS="$save_LDFLAGS"
13308     LIBS="$save_LIBS"
13309     ;;
13310   esac
13311
13312   case $lt_cv_dlopen_self in
13313   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13314   *) enable_dlopen_self=unknown ;;
13315   esac
13316
13317   case $lt_cv_dlopen_self_static in
13318   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13319   *) enable_dlopen_self_static=unknown ;;
13320   esac
13321 fi
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339 striplib=
13340 old_striplib=
13341 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
13342 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
13343 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13344   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13345   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13346   { echo "$as_me:$LINENO: result: yes" >&5
13347 echo "${ECHO_T}yes" >&6; }
13348 else
13349 # FIXME - insert some real tests, host_os isn't really good enough
13350   case $host_os in
13351   darwin*)
13352     if test -n "$STRIP" ; then
13353       striplib="$STRIP -x"
13354       old_striplib="$STRIP -S"
13355       { echo "$as_me:$LINENO: result: yes" >&5
13356 echo "${ECHO_T}yes" >&6; }
13357     else
13358       { echo "$as_me:$LINENO: result: no" >&5
13359 echo "${ECHO_T}no" >&6; }
13360     fi
13361     ;;
13362   *)
13363     { echo "$as_me:$LINENO: result: no" >&5
13364 echo "${ECHO_T}no" >&6; }
13365     ;;
13366   esac
13367 fi
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380   # Report which library types will actually be built
13381   { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13382 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13383   { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13384 echo "${ECHO_T}$can_build_shared" >&6; }
13385
13386   { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13387 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13388   test "$can_build_shared" = "no" && enable_shared=no
13389
13390   # On AIX, shared libraries and static libraries use the same namespace, and
13391   # are all built from PIC.
13392   case $host_os in
13393   aix3*)
13394     test "$enable_shared" = yes && enable_static=no
13395     if test -n "$RANLIB"; then
13396       archive_cmds="$archive_cmds~\$RANLIB \$lib"
13397       postinstall_cmds='$RANLIB $lib'
13398     fi
13399     ;;
13400
13401   aix[4-9]*)
13402     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13403       test "$enable_shared" = yes && enable_static=no
13404     fi
13405     ;;
13406   esac
13407   { echo "$as_me:$LINENO: result: $enable_shared" >&5
13408 echo "${ECHO_T}$enable_shared" >&6; }
13409
13410   { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13411 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13412   # Make sure either enable_shared or enable_static is yes.
13413   test "$enable_shared" = yes || enable_static=yes
13414   { echo "$as_me:$LINENO: result: $enable_static" >&5
13415 echo "${ECHO_T}$enable_static" >&6; }
13416
13417
13418
13419
13420 fi
13421 ac_ext=c
13422 ac_cpp='$CPP $CPPFLAGS'
13423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13426
13427 CC="$lt_save_CC"
13428
13429
13430 ac_ext=cpp
13431 ac_cpp='$CXXCPP $CPPFLAGS'
13432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13435
13436 archive_cmds_need_lc_CXX=no
13437 allow_undefined_flag_CXX=
13438 always_export_symbols_CXX=no
13439 archive_expsym_cmds_CXX=
13440 compiler_needs_object_CXX=no
13441 export_dynamic_flag_spec_CXX=
13442 hardcode_direct_CXX=no
13443 hardcode_direct_absolute_CXX=no
13444 hardcode_libdir_flag_spec_CXX=
13445 hardcode_libdir_flag_spec_ld_CXX=
13446 hardcode_libdir_separator_CXX=
13447 hardcode_minus_L_CXX=no
13448 hardcode_shlibpath_var_CXX=unsupported
13449 hardcode_automatic_CXX=no
13450 inherit_rpath_CXX=no
13451 module_cmds_CXX=
13452 module_expsym_cmds_CXX=
13453 link_all_deplibs_CXX=unknown
13454 old_archive_cmds_CXX=$old_archive_cmds
13455 no_undefined_flag_CXX=
13456 whole_archive_flag_spec_CXX=
13457 enable_shared_with_static_runtimes_CXX=no
13458
13459 # Source file extension for C++ test sources.
13460 ac_ext=cpp
13461
13462 # Object file extension for compiled C++ test sources.
13463 objext=o
13464 objext_CXX=$objext
13465
13466 # No sense in running all these tests if we already determined that
13467 # the CXX compiler isn't working.  Some variables (like enable_shared)
13468 # are currently assumed to apply to all compilers on this platform,
13469 # and will be corrupted by setting them based on a non-working compiler.
13470 if test "$_lt_caught_CXX_error" != yes; then
13471   # Code to be used in simple compile tests
13472   lt_simple_compile_test_code="int some_variable = 0;"
13473
13474   # Code to be used in simple link tests
13475   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13476
13477   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13478
13479
13480
13481
13482
13483
13484 # If no C compiler was specified, use CC.
13485 LTCC=${LTCC-"$CC"}
13486
13487 # If no C compiler flags were specified, use CFLAGS.
13488 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13489
13490 # Allow CC to be a program name with arguments.
13491 compiler=$CC
13492
13493
13494   # save warnings/boilerplate of simple test code
13495   ac_outfile=conftest.$ac_objext
13496 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13497 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13498 _lt_compiler_boilerplate=`cat conftest.err`
13499 $RM conftest*
13500
13501   ac_outfile=conftest.$ac_objext
13502 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13503 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13504 _lt_linker_boilerplate=`cat conftest.err`
13505 $RM -r conftest*
13506
13507
13508   # Allow CC to be a program name with arguments.
13509   lt_save_CC=$CC
13510   lt_save_LD=$LD
13511   lt_save_GCC=$GCC
13512   GCC=$GXX
13513   lt_save_with_gnu_ld=$with_gnu_ld
13514   lt_save_path_LD=$lt_cv_path_LD
13515   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13516     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13517   else
13518     $as_unset lt_cv_prog_gnu_ld
13519   fi
13520   if test -n "${lt_cv_path_LDCXX+set}"; then
13521     lt_cv_path_LD=$lt_cv_path_LDCXX
13522   else
13523     $as_unset lt_cv_path_LD
13524   fi
13525   test -z "${LDCXX+set}" || LD=$LDCXX
13526   CC=${CXX-"c++"}
13527   compiler=$CC
13528   compiler_CXX=$CC
13529   for cc_temp in $compiler""; do
13530   case $cc_temp in
13531     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13532     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13533     \-*) ;;
13534     *) break;;
13535   esac
13536 done
13537 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13538
13539
13540   if test -n "$compiler"; then
13541     # We don't want -fno-exception when compiling C++ code, so set the
13542     # no_builtin_flag separately
13543     if test "$GXX" = yes; then
13544       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13545     else
13546       lt_prog_compiler_no_builtin_flag_CXX=
13547     fi
13548
13549     if test "$GXX" = yes; then
13550       # Set up default GNU C++ configuration
13551
13552
13553
13554 # Check whether --with-gnu-ld was given.
13555 if test "${with_gnu_ld+set}" = set; then
13556   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13557 else
13558   with_gnu_ld=no
13559 fi
13560
13561 ac_prog=ld
13562 if test "$GCC" = yes; then
13563   # Check if gcc -print-prog-name=ld gives a path.
13564   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13565 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
13566   case $host in
13567   *-*-mingw*)
13568     # gcc leaves a trailing carriage return which upsets mingw
13569     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13570   *)
13571     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13572   esac
13573   case $ac_prog in
13574     # Accept absolute paths.
13575     [\\/]* | ?:[\\/]*)
13576       re_direlt='/[^/][^/]*/\.\./'
13577       # Canonicalize the pathname of ld
13578       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13579       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13580         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13581       done
13582       test -z "$LD" && LD="$ac_prog"
13583       ;;
13584   "")
13585     # If it fails, then pretend we aren't using GCC.
13586     ac_prog=ld
13587     ;;
13588   *)
13589     # If it is relative, then search for the first ld in PATH.
13590     with_gnu_ld=unknown
13591     ;;
13592   esac
13593 elif test "$with_gnu_ld" = yes; then
13594   { echo "$as_me:$LINENO: checking for GNU ld" >&5
13595 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
13596 else
13597   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13598 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
13599 fi
13600 if test "${lt_cv_path_LD+set}" = set; then
13601   echo $ECHO_N "(cached) $ECHO_C" >&6
13602 else
13603   if test -z "$LD"; then
13604   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13605   for ac_dir in $PATH; do
13606     IFS="$lt_save_ifs"
13607     test -z "$ac_dir" && ac_dir=.
13608     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13609       lt_cv_path_LD="$ac_dir/$ac_prog"
13610       # Check to see if the program is GNU ld.  I'd rather use --version,
13611       # but apparently some variants of GNU ld only accept -v.
13612       # Break only if it was the GNU/non-GNU ld that we prefer.
13613       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13614       *GNU* | *'with BFD'*)
13615         test "$with_gnu_ld" != no && break
13616         ;;
13617       *)
13618         test "$with_gnu_ld" != yes && break
13619         ;;
13620       esac
13621     fi
13622   done
13623   IFS="$lt_save_ifs"
13624 else
13625   lt_cv_path_LD="$LD" # Let the user override the test with a path.
13626 fi
13627 fi
13628
13629 LD="$lt_cv_path_LD"
13630 if test -n "$LD"; then
13631   { echo "$as_me:$LINENO: result: $LD" >&5
13632 echo "${ECHO_T}$LD" >&6; }
13633 else
13634   { echo "$as_me:$LINENO: result: no" >&5
13635 echo "${ECHO_T}no" >&6; }
13636 fi
13637 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13638 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13639    { (exit 1); exit 1; }; }
13640 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13641 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
13642 if test "${lt_cv_prog_gnu_ld+set}" = set; then
13643   echo $ECHO_N "(cached) $ECHO_C" >&6
13644 else
13645   # I'd rather use --version here, but apparently some GNU lds only accept -v.
13646 case `$LD -v 2>&1 </dev/null` in
13647 *GNU* | *'with BFD'*)
13648   lt_cv_prog_gnu_ld=yes
13649   ;;
13650 *)
13651   lt_cv_prog_gnu_ld=no
13652   ;;
13653 esac
13654 fi
13655 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13656 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
13657 with_gnu_ld=$lt_cv_prog_gnu_ld
13658
13659
13660
13661
13662
13663
13664
13665       # Check if GNU C++ uses GNU ld as the underlying linker, since the
13666       # archiving commands below assume that GNU ld is being used.
13667       if test "$with_gnu_ld" = yes; then
13668         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13669         archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13670
13671         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13672         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13673
13674         # If archive_cmds runs LD, not CC, wlarc should be empty
13675         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13676         #     investigate it a little bit more. (MM)
13677         wlarc='${wl}'
13678
13679         # ancient GNU ld didn't support --whole-archive et. al.
13680         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13681           $GREP 'no-whole-archive' > /dev/null; then
13682           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13683         else
13684           whole_archive_flag_spec_CXX=
13685         fi
13686       else
13687         with_gnu_ld=no
13688         wlarc=
13689
13690         # A generic and very simple default shared library creation
13691         # command for GNU C++ for the case where it uses the native
13692         # linker, instead of GNU ld.  If possible, this setting should
13693         # overridden to take advantage of the native linker features on
13694         # the platform it is being used on.
13695         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13696       fi
13697
13698       # Commands to make compiler produce verbose output that lists
13699       # what "hidden" libraries, object files and flags are used when
13700       # linking a shared library.
13701       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13702
13703     else
13704       GXX=no
13705       with_gnu_ld=no
13706       wlarc=
13707     fi
13708
13709     # PORTME: fill in a description of your system's C++ link characteristics
13710     { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13711 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13712     ld_shlibs_CXX=yes
13713     case $host_os in
13714       aix3*)
13715         # FIXME: insert proper C++ library support
13716         ld_shlibs_CXX=no
13717         ;;
13718       aix[4-9]*)
13719         if test "$host_cpu" = ia64; then
13720           # On IA64, the linker does run time linking by default, so we don't
13721           # have to do anything special.
13722           aix_use_runtimelinking=no
13723           exp_sym_flag='-Bexport'
13724           no_entry_flag=""
13725         else
13726           aix_use_runtimelinking=no
13727
13728           # Test if we are trying to use run time linking or normal
13729           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13730           # need to do runtime linking.
13731           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13732             for ld_flag in $LDFLAGS; do
13733               case $ld_flag in
13734               *-brtl*)
13735                 aix_use_runtimelinking=yes
13736                 break
13737                 ;;
13738               esac
13739             done
13740             ;;
13741           esac
13742
13743           exp_sym_flag='-bexport'
13744           no_entry_flag='-bnoentry'
13745         fi
13746
13747         # When large executables or shared objects are built, AIX ld can
13748         # have problems creating the table of contents.  If linking a library
13749         # or program results in "error TOC overflow" add -mminimal-toc to
13750         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
13751         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13752
13753         archive_cmds_CXX=''
13754         hardcode_direct_CXX=yes
13755         hardcode_direct_absolute_CXX=yes
13756         hardcode_libdir_separator_CXX=':'
13757         link_all_deplibs_CXX=yes
13758         file_list_spec_CXX='${wl}-f,'
13759
13760         if test "$GXX" = yes; then
13761           case $host_os in aix4.[012]|aix4.[012].*)
13762           # We only want to do this on AIX 4.2 and lower, the check
13763           # below for broken collect2 doesn't work under 4.3+
13764           collect2name=`${CC} -print-prog-name=collect2`
13765           if test -f "$collect2name" &&
13766              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13767           then
13768             # We have reworked collect2
13769             :
13770           else
13771             # We have old collect2
13772             hardcode_direct_CXX=unsupported
13773             # It fails to find uninstalled libraries when the uninstalled
13774             # path is not listed in the libpath.  Setting hardcode_minus_L
13775             # to unsupported forces relinking
13776             hardcode_minus_L_CXX=yes
13777             hardcode_libdir_flag_spec_CXX='-L$libdir'
13778             hardcode_libdir_separator_CXX=
13779           fi
13780           esac
13781           shared_flag='-shared'
13782           if test "$aix_use_runtimelinking" = yes; then
13783             shared_flag="$shared_flag "'${wl}-G'
13784           fi
13785         else
13786           # not using gcc
13787           if test "$host_cpu" = ia64; then
13788           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13789           # chokes on -Wl,-G. The following line is correct:
13790           shared_flag='-G'
13791           else
13792             if test "$aix_use_runtimelinking" = yes; then
13793               shared_flag='${wl}-G'
13794             else
13795               shared_flag='${wl}-bM:SRE'
13796             fi
13797           fi
13798         fi
13799
13800         # It seems that -bexpall does not export symbols beginning with
13801         # underscore (_), so it is better to generate a list of symbols to
13802         # export.
13803         always_export_symbols_CXX=yes
13804         if test "$aix_use_runtimelinking" = yes; then
13805           # Warning - without using the other runtime loading flags (-brtl),
13806           # -berok will link without error, but may produce a broken library.
13807           allow_undefined_flag_CXX='-berok'
13808           # Determine the default libpath from the value encoded in an empty
13809           # executable.
13810           cat >conftest.$ac_ext <<_ACEOF
13811 /* confdefs.h.  */
13812 _ACEOF
13813 cat confdefs.h >>conftest.$ac_ext
13814 cat >>conftest.$ac_ext <<_ACEOF
13815 /* end confdefs.h.  */
13816
13817 int
13818 main ()
13819 {
13820
13821   ;
13822   return 0;
13823 }
13824 _ACEOF
13825 rm -f conftest.$ac_objext conftest$ac_exeext
13826 if { (ac_try="$ac_link"
13827 case "(($ac_try" in
13828   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13829   *) ac_try_echo=$ac_try;;
13830 esac
13831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13832   (eval "$ac_link") 2>conftest.er1
13833   ac_status=$?
13834   grep -v '^ *+' conftest.er1 >conftest.err
13835   rm -f conftest.er1
13836   cat conftest.err >&5
13837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13838   (exit $ac_status); } && {
13839          test -z "$ac_cxx_werror_flag" ||
13840          test ! -s conftest.err
13841        } && test -s conftest$ac_exeext &&
13842        $as_test_x conftest$ac_exeext; then
13843
13844 lt_aix_libpath_sed='
13845     /Import File Strings/,/^$/ {
13846         /^0/ {
13847             s/^0  *\(.*\)$/\1/
13848             p
13849         }
13850     }'
13851 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13852 # Check for a 64-bit object if we didn't find anything.
13853 if test -z "$aix_libpath"; then
13854   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13855 fi
13856 else
13857   echo "$as_me: failed program was:" >&5
13858 sed 's/^/| /' conftest.$ac_ext >&5
13859
13860
13861 fi
13862
13863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13864       conftest$ac_exeext conftest.$ac_ext
13865 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13866
13867           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13868
13869           archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13870         else
13871           if test "$host_cpu" = ia64; then
13872             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13873             allow_undefined_flag_CXX="-z nodefs"
13874             archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
13875           else
13876             # Determine the default libpath from the value encoded in an
13877             # empty executable.
13878             cat >conftest.$ac_ext <<_ACEOF
13879 /* confdefs.h.  */
13880 _ACEOF
13881 cat confdefs.h >>conftest.$ac_ext
13882 cat >>conftest.$ac_ext <<_ACEOF
13883 /* end confdefs.h.  */
13884
13885 int
13886 main ()
13887 {
13888
13889   ;
13890   return 0;
13891 }
13892 _ACEOF
13893 rm -f conftest.$ac_objext conftest$ac_exeext
13894 if { (ac_try="$ac_link"
13895 case "(($ac_try" in
13896   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13897   *) ac_try_echo=$ac_try;;
13898 esac
13899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13900   (eval "$ac_link") 2>conftest.er1
13901   ac_status=$?
13902   grep -v '^ *+' conftest.er1 >conftest.err
13903   rm -f conftest.er1
13904   cat conftest.err >&5
13905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13906   (exit $ac_status); } && {
13907          test -z "$ac_cxx_werror_flag" ||
13908          test ! -s conftest.err
13909        } && test -s conftest$ac_exeext &&
13910        $as_test_x conftest$ac_exeext; then
13911
13912 lt_aix_libpath_sed='
13913     /Import File Strings/,/^$/ {
13914         /^0/ {
13915             s/^0  *\(.*\)$/\1/
13916             p
13917         }
13918     }'
13919 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13920 # Check for a 64-bit object if we didn't find anything.
13921 if test -z "$aix_libpath"; then
13922   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13923 fi
13924 else
13925   echo "$as_me: failed program was:" >&5
13926 sed 's/^/| /' conftest.$ac_ext >&5
13927
13928
13929 fi
13930
13931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13932       conftest$ac_exeext conftest.$ac_ext
13933 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13934
13935             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13936             # Warning - without using the other run time loading flags,
13937             # -berok will link without error, but may produce a broken library.
13938             no_undefined_flag_CXX=' ${wl}-bernotok'
13939             allow_undefined_flag_CXX=' ${wl}-berok'
13940             # Exported symbols can be pulled into shared objects from archives
13941             whole_archive_flag_spec_CXX='$convenience'
13942             archive_cmds_need_lc_CXX=yes
13943             # This is similar to how AIX traditionally builds its shared
13944             # libraries.
13945             archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13946           fi
13947         fi
13948         ;;
13949
13950       beos*)
13951         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13952           allow_undefined_flag_CXX=unsupported
13953           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13954           # support --undefined.  This deserves some investigation.  FIXME
13955           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13956         else
13957           ld_shlibs_CXX=no
13958         fi
13959         ;;
13960
13961       chorus*)
13962         case $cc_basename in
13963           *)
13964           # FIXME: insert proper C++ library support
13965           ld_shlibs_CXX=no
13966           ;;
13967         esac
13968         ;;
13969
13970       cygwin* | mingw* | pw32*)
13971         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13972         # as there is no search path for DLLs.
13973         hardcode_libdir_flag_spec_CXX='-L$libdir'
13974         allow_undefined_flag_CXX=unsupported
13975         always_export_symbols_CXX=no
13976         enable_shared_with_static_runtimes_CXX=yes
13977
13978         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13979           archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13980           # If the export-symbols file already is a .def file (1st line
13981           # is EXPORTS), use it as is; otherwise, prepend...
13982           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13983             cp $export_symbols $output_objdir/$soname.def;
13984           else
13985             echo EXPORTS > $output_objdir/$soname.def;
13986             cat $export_symbols >> $output_objdir/$soname.def;
13987           fi~
13988           $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13989         else
13990           ld_shlibs_CXX=no
13991         fi
13992         ;;
13993       darwin* | rhapsody*)
13994
13995
13996   archive_cmds_need_lc_CXX=no
13997   hardcode_direct_CXX=no
13998   hardcode_automatic_CXX=yes
13999   hardcode_shlibpath_var_CXX=unsupported
14000   whole_archive_flag_spec_CXX=''
14001   link_all_deplibs_CXX=yes
14002   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14003   if test "$GCC" = "yes"; then
14004     output_verbose_link_cmd=echo
14005     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
14006     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14007     archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
14008     module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
14009        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14010       archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
14011       archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
14012     fi
14013
14014   else
14015   ld_shlibs_CXX=no
14016   fi
14017
14018         ;;
14019
14020       dgux*)
14021         case $cc_basename in
14022           ec++*)
14023             # FIXME: insert proper C++ library support
14024             ld_shlibs_CXX=no
14025             ;;
14026           ghcx*)
14027             # Green Hills C++ Compiler
14028             # FIXME: insert proper C++ library support
14029             ld_shlibs_CXX=no
14030             ;;
14031           *)
14032             # FIXME: insert proper C++ library support
14033             ld_shlibs_CXX=no
14034             ;;
14035         esac
14036         ;;
14037
14038       freebsd[12]*)
14039         # C++ shared libraries reported to be fairly broken before
14040         # switch to ELF
14041         ld_shlibs_CXX=no
14042         ;;
14043
14044       freebsd-elf*)
14045         archive_cmds_need_lc_CXX=no
14046         ;;
14047
14048       freebsd* | dragonfly*)
14049         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14050         # conventions
14051         ld_shlibs_CXX=yes
14052         ;;
14053
14054       gnu*)
14055         ;;
14056
14057       hpux9*)
14058         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14059         hardcode_libdir_separator_CXX=:
14060         export_dynamic_flag_spec_CXX='${wl}-E'
14061         hardcode_direct_CXX=yes
14062         hardcode_minus_L_CXX=yes # Not in the search PATH,
14063                                              # but as the default
14064                                              # location of the library.
14065
14066         case $cc_basename in
14067           CC*)
14068             # FIXME: insert proper C++ library support
14069             ld_shlibs_CXX=no
14070             ;;
14071           aCC*)
14072             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14073             # Commands to make compiler produce verbose output that lists
14074             # what "hidden" libraries, object files and flags are used when
14075             # linking a shared library.
14076             #
14077             # There doesn't appear to be a way to prevent this compiler from
14078             # explicitly linking system object files so we need to strip them
14079             # from the output so that they don't get included in the library
14080             # dependencies.
14081             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
14082             ;;
14083           *)
14084             if test "$GXX" = yes; then
14085               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14086             else
14087               # FIXME: insert proper C++ library support
14088               ld_shlibs_CXX=no
14089             fi
14090             ;;
14091         esac
14092         ;;
14093
14094       hpux10*|hpux11*)
14095         if test $with_gnu_ld = no; then
14096           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14097           hardcode_libdir_separator_CXX=:
14098
14099           case $host_cpu in
14100             hppa*64*|ia64*)
14101               ;;
14102             *)
14103               export_dynamic_flag_spec_CXX='${wl}-E'
14104               ;;
14105           esac
14106         fi
14107         case $host_cpu in
14108           hppa*64*|ia64*)
14109             hardcode_direct_CXX=no
14110             hardcode_shlibpath_var_CXX=no
14111             ;;
14112           *)
14113             hardcode_direct_CXX=yes
14114             hardcode_direct_absolute_CXX=yes
14115             hardcode_minus_L_CXX=yes # Not in the search PATH,
14116                                                  # but as the default
14117                                                  # location of the library.
14118             ;;
14119         esac
14120
14121         case $cc_basename in
14122           CC*)
14123             # FIXME: insert proper C++ library support
14124             ld_shlibs_CXX=no
14125             ;;
14126           aCC*)
14127             case $host_cpu in
14128               hppa*64*)
14129                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14130                 ;;
14131               ia64*)
14132                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14133                 ;;
14134               *)
14135                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14136                 ;;
14137             esac
14138             # Commands to make compiler produce verbose output that lists
14139             # what "hidden" libraries, object files and flags are used when
14140             # linking a shared library.
14141             #
14142             # There doesn't appear to be a way to prevent this compiler from
14143             # explicitly linking system object files so we need to strip them
14144             # from the output so that they don't get included in the library
14145             # dependencies.
14146             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
14147             ;;
14148           *)
14149             if test "$GXX" = yes; then
14150               if test $with_gnu_ld = no; then
14151                 case $host_cpu in
14152                   hppa*64*)
14153                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14154                     ;;
14155                   ia64*)
14156                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14157                     ;;
14158                   *)
14159                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14160                     ;;
14161                 esac
14162               fi
14163             else
14164               # FIXME: insert proper C++ library support
14165               ld_shlibs_CXX=no
14166             fi
14167             ;;
14168         esac
14169         ;;
14170
14171       interix[3-9]*)
14172         hardcode_direct_CXX=no
14173         hardcode_shlibpath_var_CXX=no
14174         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14175         export_dynamic_flag_spec_CXX='${wl}-E'
14176         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14177         # Instead, shared libraries are loaded at an image base (0x10000000 by
14178         # default) and relocated if they conflict, which is a slow very memory
14179         # consuming and fragmenting process.  To avoid this, we pick a random,
14180         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14181         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14182         archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14183         archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14184         ;;
14185       irix5* | irix6*)
14186         case $cc_basename in
14187           CC*)
14188             # SGI C++
14189             archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
14190
14191             # Archives containing C++ object files must be created using
14192             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
14193             # necessary to make sure instantiated templates are included
14194             # in the archive.
14195             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14196             ;;
14197           *)
14198             if test "$GXX" = yes; then
14199               if test "$with_gnu_ld" = no; then
14200                 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
14201               else
14202                 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
14203               fi
14204             fi
14205             link_all_deplibs_CXX=yes
14206             ;;
14207         esac
14208         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14209         hardcode_libdir_separator_CXX=:
14210         inherit_rpath_CXX=yes
14211         ;;
14212
14213       linux* | k*bsd*-gnu)
14214         case $cc_basename in
14215           KCC*)
14216             # Kuck and Associates, Inc. (KAI) C++ Compiler
14217
14218             # KCC will only create a shared library if the output file
14219             # ends with ".so" (or ".sl" for HP-UX), so rename the library
14220             # to its proper name (with version) after linking.
14221             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14222             archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
14223             # Commands to make compiler produce verbose output that lists
14224             # what "hidden" libraries, object files and flags are used when
14225             # linking a shared library.
14226             #
14227             # There doesn't appear to be a way to prevent this compiler from
14228             # explicitly linking system object files so we need to strip them
14229             # from the output so that they don't get included in the library
14230             # dependencies.
14231             output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
14232
14233             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14234             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14235
14236             # Archives containing C++ object files must be created using
14237             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14238             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14239             ;;
14240           icpc* | ecpc* )
14241             # Intel C++
14242             with_gnu_ld=yes
14243             # version 8.0 and above of icpc choke on multiply defined symbols
14244             # if we add $predep_objects and $postdep_objects, however 7.1 and
14245             # earlier do not add the objects themselves.
14246             case `$CC -V 2>&1` in
14247               *"Version 7."*)
14248                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14249                 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14250                 ;;
14251               *)  # Version 8.0 or newer
14252                 tmp_idyn=
14253                 case $host_cpu in
14254                   ia64*) tmp_idyn=' -i_dynamic';;
14255                 esac
14256                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14257                 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14258                 ;;
14259             esac
14260             archive_cmds_need_lc_CXX=no
14261             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14262             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14263             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14264             ;;
14265           pgCC* | pgcpp*)
14266             # Portland Group C++ compiler
14267             case `$CC -V` in
14268             *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
14269               prelink_cmds_CXX='tpldir=Template.dir~
14270                 rm -rf $tpldir~
14271                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14272                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
14273               old_archive_cmds_CXX='tpldir=Template.dir~
14274                 rm -rf $tpldir~
14275                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14276                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
14277                 $RANLIB $oldlib'
14278               archive_cmds_CXX='tpldir=Template.dir~
14279                 rm -rf $tpldir~
14280                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14281                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14282               archive_expsym_cmds_CXX='tpldir=Template.dir~
14283                 rm -rf $tpldir~
14284                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14285                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
14286               ;;
14287             *) # Version 6 will use weak symbols
14288               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14289               archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
14290               ;;
14291             esac
14292
14293             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
14294             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14295             whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
14296             ;;
14297           cxx*)
14298             # Compaq C++
14299             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14300             archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
14301
14302             runpath_var=LD_RUN_PATH
14303             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14304             hardcode_libdir_separator_CXX=:
14305
14306             # Commands to make compiler produce verbose output that lists
14307             # what "hidden" libraries, object files and flags are used when
14308             # linking a shared library.
14309             #
14310             # There doesn't appear to be a way to prevent this compiler from
14311             # explicitly linking system object files so we need to strip them
14312             # from the output so that they don't get included in the library
14313             # dependencies.
14314             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
14315             ;;
14316           xl*)
14317             # IBM XL 8.0 on PPC, with GNU ld
14318             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14319             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14320             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14321             if test "x$supports_anon_versioning" = xyes; then
14322               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14323                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14324                 echo "local: *; };" >> $output_objdir/$libname.ver~
14325                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14326             fi
14327             ;;
14328           *)
14329             case `$CC -V 2>&1 | sed 5q` in
14330             *Sun\ C*)
14331               # Sun C++ 5.9
14332               no_undefined_flag_CXX=' -zdefs'
14333               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14334               archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
14335               hardcode_libdir_flag_spec_CXX='-R$libdir'
14336               whole_archive_flag_spec_CXX='${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'
14337               compiler_needs_object_CXX=yes
14338
14339               # Not sure whether something based on
14340               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14341               # would be better.
14342               output_verbose_link_cmd='echo'
14343
14344               # Archives containing C++ object files must be created using
14345               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14346               # necessary to make sure instantiated templates are included
14347               # in the archive.
14348               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14349               ;;
14350             esac
14351             ;;
14352         esac
14353         ;;
14354
14355       lynxos*)
14356         # FIXME: insert proper C++ library support
14357         ld_shlibs_CXX=no
14358         ;;
14359
14360       m88k*)
14361         # FIXME: insert proper C++ library support
14362         ld_shlibs_CXX=no
14363         ;;
14364
14365       mvs*)
14366         case $cc_basename in
14367           cxx*)
14368             # FIXME: insert proper C++ library support
14369             ld_shlibs_CXX=no
14370             ;;
14371           *)
14372             # FIXME: insert proper C++ library support
14373             ld_shlibs_CXX=no
14374             ;;
14375         esac
14376         ;;
14377
14378       netbsd*)
14379         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14380           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14381           wlarc=
14382           hardcode_libdir_flag_spec_CXX='-R$libdir'
14383           hardcode_direct_CXX=yes
14384           hardcode_shlibpath_var_CXX=no
14385         fi
14386         # Workaround some broken pre-1.5 toolchains
14387         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14388         ;;
14389
14390       *nto* | *qnx*)
14391         ld_shlibs_CXX=yes
14392         ;;
14393
14394       openbsd2*)
14395         # C++ shared libraries are fairly broken
14396         ld_shlibs_CXX=no
14397         ;;
14398
14399       openbsd*)
14400         if test -f /usr/libexec/ld.so; then
14401           hardcode_direct_CXX=yes
14402           hardcode_shlibpath_var_CXX=no
14403           hardcode_direct_absolute_CXX=yes
14404           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14405           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14406           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14407             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14408             export_dynamic_flag_spec_CXX='${wl}-E'
14409             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14410           fi
14411           output_verbose_link_cmd=echo
14412         else
14413           ld_shlibs_CXX=no
14414         fi
14415         ;;
14416
14417       osf3* | osf4* | osf5*)
14418         case $cc_basename in
14419           KCC*)
14420             # Kuck and Associates, Inc. (KAI) C++ Compiler
14421
14422             # KCC will only create a shared library if the output file
14423             # ends with ".so" (or ".sl" for HP-UX), so rename the library
14424             # to its proper name (with version) after linking.
14425             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14426
14427             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14428             hardcode_libdir_separator_CXX=:
14429
14430             # Archives containing C++ object files must be created using
14431             # the KAI C++ compiler.
14432             case $host in
14433               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14434               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14435             esac
14436             ;;
14437           RCC*)
14438             # Rational C++ 2.4.1
14439             # FIXME: insert proper C++ library support
14440             ld_shlibs_CXX=no
14441             ;;
14442           cxx*)
14443             case $host in
14444               osf3*)
14445                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14446                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
14447                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14448                 ;;
14449               *)
14450                 allow_undefined_flag_CXX=' -expect_unresolved \*'
14451                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
14452                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14453                   echo "-hidden">> $lib.exp~
14454                   $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
14455                   $RM $lib.exp'
14456                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14457                 ;;
14458             esac
14459
14460             hardcode_libdir_separator_CXX=:
14461
14462             # Commands to make compiler produce verbose output that lists
14463             # what "hidden" libraries, object files and flags are used when
14464             # linking a shared library.
14465             #
14466             # There doesn't appear to be a way to prevent this compiler from
14467             # explicitly linking system object files so we need to strip them
14468             # from the output so that they don't get included in the library
14469             # dependencies.
14470             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
14471             ;;
14472           *)
14473             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14474               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14475               case $host in
14476                 osf3*)
14477                   archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
14478                   ;;
14479                 *)
14480                   archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14481                   ;;
14482               esac
14483
14484               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14485               hardcode_libdir_separator_CXX=:
14486
14487               # Commands to make compiler produce verbose output that lists
14488               # what "hidden" libraries, object files and flags are used when
14489               # linking a shared library.
14490               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14491
14492             else
14493               # FIXME: insert proper C++ library support
14494               ld_shlibs_CXX=no
14495             fi
14496             ;;
14497         esac
14498         ;;
14499
14500       psos*)
14501         # FIXME: insert proper C++ library support
14502         ld_shlibs_CXX=no
14503         ;;
14504
14505       sunos4*)
14506         case $cc_basename in
14507           CC*)
14508             # Sun C++ 4.x
14509             # FIXME: insert proper C++ library support
14510             ld_shlibs_CXX=no
14511             ;;
14512           lcc*)
14513             # Lucid
14514             # FIXME: insert proper C++ library support
14515             ld_shlibs_CXX=no
14516             ;;
14517           *)
14518             # FIXME: insert proper C++ library support
14519             ld_shlibs_CXX=no
14520             ;;
14521         esac
14522         ;;
14523
14524       solaris*)
14525         case $cc_basename in
14526           CC*)
14527             # Sun C++ 4.2, 5.x and Centerline C++
14528             archive_cmds_need_lc_CXX=yes
14529             no_undefined_flag_CXX=' -zdefs'
14530             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14531             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14532               $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14533
14534             hardcode_libdir_flag_spec_CXX='-R$libdir'
14535             hardcode_shlibpath_var_CXX=no
14536             case $host_os in
14537               solaris2.[0-5] | solaris2.[0-5].*) ;;
14538               *)
14539                 # The compiler driver will combine and reorder linker options,
14540                 # but understands `-z linker_flag'.
14541                 # Supported since Solaris 2.6 (maybe 2.5.1?)
14542                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14543                 ;;
14544             esac
14545             link_all_deplibs_CXX=yes
14546
14547             output_verbose_link_cmd='echo'
14548
14549             # Archives containing C++ object files must be created using
14550             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14551             # necessary to make sure instantiated templates are included
14552             # in the archive.
14553             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14554             ;;
14555           gcx*)
14556             # Green Hills C++ Compiler
14557             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14558
14559             # The C++ compiler must be used to create the archive.
14560             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14561             ;;
14562           *)
14563             # GNU C++ compiler with Solaris linker
14564             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14565               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14566               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14567                 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14568                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14569                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14570
14571                 # Commands to make compiler produce verbose output that lists
14572                 # what "hidden" libraries, object files and flags are used when
14573                 # linking a shared library.
14574                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14575               else
14576                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14577                 # platform.
14578                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14579                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14580                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14581
14582                 # Commands to make compiler produce verbose output that lists
14583                 # what "hidden" libraries, object files and flags are used when
14584                 # linking a shared library.
14585                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14586               fi
14587
14588               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14589               case $host_os in
14590                 solaris2.[0-5] | solaris2.[0-5].*) ;;
14591                 *)
14592                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14593                   ;;
14594               esac
14595             fi
14596             ;;
14597         esac
14598         ;;
14599
14600     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14601       no_undefined_flag_CXX='${wl}-z,text'
14602       archive_cmds_need_lc_CXX=no
14603       hardcode_shlibpath_var_CXX=no
14604       runpath_var='LD_RUN_PATH'
14605
14606       case $cc_basename in
14607         CC*)
14608           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14609           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14610           ;;
14611         *)
14612           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14613           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14614           ;;
14615       esac
14616       ;;
14617
14618       sysv5* | sco3.2v5* | sco5v6*)
14619         # Note: We can NOT use -z defs as we might desire, because we do not
14620         # link with -lc, and that would cause any symbols used from libc to
14621         # always be unresolved, which means just about no library would
14622         # ever link correctly.  If we're not using GNU ld we use -z text
14623         # though, which does catch some bad symbols but isn't as heavy-handed
14624         # as -z defs.
14625         no_undefined_flag_CXX='${wl}-z,text'
14626         allow_undefined_flag_CXX='${wl}-z,nodefs'
14627         archive_cmds_need_lc_CXX=no
14628         hardcode_shlibpath_var_CXX=no
14629         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14630         hardcode_libdir_separator_CXX=':'
14631         link_all_deplibs_CXX=yes
14632         export_dynamic_flag_spec_CXX='${wl}-Bexport'
14633         runpath_var='LD_RUN_PATH'
14634
14635         case $cc_basename in
14636           CC*)
14637             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14638             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14639             ;;
14640           *)
14641             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14642             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14643             ;;
14644         esac
14645       ;;
14646
14647       tandem*)
14648         case $cc_basename in
14649           NCC*)
14650             # NonStop-UX NCC 3.20
14651             # FIXME: insert proper C++ library support
14652             ld_shlibs_CXX=no
14653             ;;
14654           *)
14655             # FIXME: insert proper C++ library support
14656             ld_shlibs_CXX=no
14657             ;;
14658         esac
14659         ;;
14660
14661       vxworks*)
14662         # FIXME: insert proper C++ library support
14663         ld_shlibs_CXX=no
14664         ;;
14665
14666       *)
14667         # FIXME: insert proper C++ library support
14668         ld_shlibs_CXX=no
14669         ;;
14670     esac
14671
14672     { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14673 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14674     test "$ld_shlibs_CXX" = no && can_build_shared=no
14675
14676     GCC_CXX="$GXX"
14677     LD_CXX="$LD"
14678
14679     ## CAVEAT EMPTOR:
14680     ## There is no encapsulation within the following macros, do not change
14681     ## the running order or otherwise move them around unless you know exactly
14682     ## what you are doing...
14683     # Dependencies to place before and after the object being linked:
14684 predep_objects_CXX=
14685 postdep_objects_CXX=
14686 predeps_CXX=
14687 postdeps_CXX=
14688 compiler_lib_search_path_CXX=
14689
14690 cat > conftest.$ac_ext <<_LT_EOF
14691 class Foo
14692 {
14693 public:
14694   Foo (void) { a = 0; }
14695 private:
14696   int a;
14697 };
14698 _LT_EOF
14699
14700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14701   (eval $ac_compile) 2>&5
14702   ac_status=$?
14703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14704   (exit $ac_status); }; then
14705   # Parse the compiler output and extract the necessary
14706   # objects, libraries and library flags.
14707
14708   # Sentinel used to keep track of whether or not we are before
14709   # the conftest object file.
14710   pre_test_object_deps_done=no
14711
14712   for p in `eval "$output_verbose_link_cmd"`; do
14713     case $p in
14714
14715     -L* | -R* | -l*)
14716        # Some compilers place space between "-{L,R}" and the path.
14717        # Remove the space.
14718        if test $p = "-L" ||
14719           test $p = "-R"; then
14720          prev=$p
14721          continue
14722        else
14723          prev=
14724        fi
14725
14726        if test "$pre_test_object_deps_done" = no; then
14727          case $p in
14728          -L* | -R*)
14729            # Internal compiler library paths should come after those
14730            # provided the user.  The postdeps already come after the
14731            # user supplied libs so there is no need to process them.
14732            if test -z "$compiler_lib_search_path_CXX"; then
14733              compiler_lib_search_path_CXX="${prev}${p}"
14734            else
14735              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14736            fi
14737            ;;
14738          # The "-l" case would never come before the object being
14739          # linked, so don't bother handling this case.
14740          esac
14741        else
14742          if test -z "$postdeps_CXX"; then
14743            postdeps_CXX="${prev}${p}"
14744          else
14745            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14746          fi
14747        fi
14748        ;;
14749
14750     *.$objext)
14751        # This assumes that the test object file only shows up
14752        # once in the compiler output.
14753        if test "$p" = "conftest.$objext"; then
14754          pre_test_object_deps_done=yes
14755          continue
14756        fi
14757
14758        if test "$pre_test_object_deps_done" = no; then
14759          if test -z "$predep_objects_CXX"; then
14760            predep_objects_CXX="$p"
14761          else
14762            predep_objects_CXX="$predep_objects_CXX $p"
14763          fi
14764        else
14765          if test -z "$postdep_objects_CXX"; then
14766            postdep_objects_CXX="$p"
14767          else
14768            postdep_objects_CXX="$postdep_objects_CXX $p"
14769          fi
14770        fi
14771        ;;
14772
14773     *) ;; # Ignore the rest.
14774
14775     esac
14776   done
14777
14778   # Clean up.
14779   rm -f a.out a.exe
14780 else
14781   echo "libtool.m4: error: problem compiling CXX test program"
14782 fi
14783
14784 $RM -f confest.$objext
14785
14786 # PORTME: override above test on systems where it is broken
14787 case $host_os in
14788 interix[3-9]*)
14789   # Interix 3.5 installs completely hosed .la files for C++, so rather than
14790   # hack all around it, let's just trust "g++" to DTRT.
14791   predep_objects_CXX=
14792   postdep_objects_CXX=
14793   postdeps_CXX=
14794   ;;
14795
14796 linux*)
14797   case `$CC -V 2>&1 | sed 5q` in
14798   *Sun\ C*)
14799     # Sun C++ 5.9
14800
14801     # The more standards-conforming stlport4 library is
14802     # incompatible with the Cstd library. Avoid specifying
14803     # it if it's in CXXFLAGS. Ignore libCrun as
14804     # -library=stlport4 depends on it.
14805     case " $CXX $CXXFLAGS " in
14806     *" -library=stlport4 "*)
14807       solaris_use_stlport4=yes
14808       ;;
14809     esac
14810
14811     if test "$solaris_use_stlport4" != yes; then
14812       postdeps_CXX='-library=Cstd -library=Crun'
14813     fi
14814     ;;
14815   esac
14816   ;;
14817
14818 solaris*)
14819   case $cc_basename in
14820   CC*)
14821     # The more standards-conforming stlport4 library is
14822     # incompatible with the Cstd library. Avoid specifying
14823     # it if it's in CXXFLAGS. Ignore libCrun as
14824     # -library=stlport4 depends on it.
14825     case " $CXX $CXXFLAGS " in
14826     *" -library=stlport4 "*)
14827       solaris_use_stlport4=yes
14828       ;;
14829     esac
14830
14831     # Adding this requires a known-good setup of shared libraries for
14832     # Sun compiler versions before 5.6, else PIC objects from an old
14833     # archive will be linked into the output, leading to subtle bugs.
14834     if test "$solaris_use_stlport4" != yes; then
14835       postdeps_CXX='-library=Cstd -library=Crun'
14836     fi
14837     ;;
14838   esac
14839   ;;
14840 esac
14841
14842
14843 case " $postdeps_CXX " in
14844 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14845 esac
14846  compiler_lib_search_dirs_CXX=
14847 if test -n "${compiler_lib_search_path_CXX}"; then
14848  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14849 fi
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881     lt_prog_compiler_wl_CXX=
14882 lt_prog_compiler_pic_CXX=
14883 lt_prog_compiler_static_CXX=
14884
14885 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14886 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14887
14888   # C++ specific cases for pic, static, wl, etc.
14889   if test "$GXX" = yes; then
14890     lt_prog_compiler_wl_CXX='-Wl,'
14891     lt_prog_compiler_static_CXX='-static'
14892
14893     case $host_os in
14894     aix*)
14895       # All AIX code is PIC.
14896       if test "$host_cpu" = ia64; then
14897         # AIX 5 now supports IA64 processor
14898         lt_prog_compiler_static_CXX='-Bstatic'
14899       fi
14900       ;;
14901
14902     amigaos*)
14903       case $host_cpu in
14904       powerpc)
14905             # see comment about AmigaOS4 .so support
14906             lt_prog_compiler_pic_CXX='-fPIC'
14907         ;;
14908       m68k)
14909             # FIXME: we need at least 68020 code to build shared libraries, but
14910             # adding the `-m68020' flag to GCC prevents building anything better,
14911             # like `-m68040'.
14912             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14913         ;;
14914       esac
14915       ;;
14916
14917     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14918       # PIC is the default for these OSes.
14919       ;;
14920     mingw* | cygwin* | os2* | pw32*)
14921       # This hack is so that the source file can tell whether it is being
14922       # built for inclusion in a dll (and should export symbols for example).
14923       # Although the cygwin gcc ignores -fPIC, still need this for old-style
14924       # (--disable-auto-import) libraries
14925       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14926       ;;
14927     darwin* | rhapsody*)
14928       # PIC is the default on this platform
14929       # Common symbols not allowed in MH_DYLIB files
14930       lt_prog_compiler_pic_CXX='-fno-common'
14931       ;;
14932     *djgpp*)
14933       # DJGPP does not support shared libraries at all
14934       lt_prog_compiler_pic_CXX=
14935       ;;
14936     interix[3-9]*)
14937       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14938       # Instead, we relocate shared libraries at runtime.
14939       ;;
14940     sysv4*MP*)
14941       if test -d /usr/nec; then
14942         lt_prog_compiler_pic_CXX=-Kconform_pic
14943       fi
14944       ;;
14945     hpux*)
14946       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14947       # not for PA HP-UX.
14948       case $host_cpu in
14949       hppa*64*|ia64*)
14950         ;;
14951       *)
14952         lt_prog_compiler_pic_CXX='-fPIC'
14953         ;;
14954       esac
14955       ;;
14956     *qnx* | *nto*)
14957       # QNX uses GNU C++, but need to define -shared option too, otherwise
14958       # it will coredump.
14959       lt_prog_compiler_pic_CXX='-fPIC -shared'
14960       ;;
14961     *)
14962       lt_prog_compiler_pic_CXX='-fPIC'
14963       ;;
14964     esac
14965   else
14966     case $host_os in
14967       aix[4-9]*)
14968         # All AIX code is PIC.
14969         if test "$host_cpu" = ia64; then
14970           # AIX 5 now supports IA64 processor
14971           lt_prog_compiler_static_CXX='-Bstatic'
14972         else
14973           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14974         fi
14975         ;;
14976       chorus*)
14977         case $cc_basename in
14978         cxch68*)
14979           # Green Hills C++ Compiler
14980           # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
14981           ;;
14982         esac
14983         ;;
14984       dgux*)
14985         case $cc_basename in
14986           ec++*)
14987             lt_prog_compiler_pic_CXX='-KPIC'
14988             ;;
14989           ghcx*)
14990             # Green Hills C++ Compiler
14991             lt_prog_compiler_pic_CXX='-pic'
14992             ;;
14993           *)
14994             ;;
14995         esac
14996         ;;
14997       freebsd* | dragonfly*)
14998         # FreeBSD uses GNU C++
14999         ;;
15000       hpux9* | hpux10* | hpux11*)
15001         case $cc_basename in
15002           CC*)
15003             lt_prog_compiler_wl_CXX='-Wl,'
15004             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15005             if test "$host_cpu" != ia64; then
15006               lt_prog_compiler_pic_CXX='+Z'
15007             fi
15008             ;;
15009           aCC*)
15010             lt_prog_compiler_wl_CXX='-Wl,'
15011             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15012             case $host_cpu in
15013             hppa*64*|ia64*)
15014               # +Z the default
15015               ;;
15016             *)
15017               lt_prog_compiler_pic_CXX='+Z'
15018               ;;
15019             esac
15020             ;;
15021           *)
15022             ;;
15023         esac
15024         ;;
15025       interix*)
15026         # This is c89, which is MS Visual C++ (no shared libs)
15027         # Anyone wants to do a port?
15028         ;;
15029       irix5* | irix6* | nonstopux*)
15030         case $cc_basename in
15031           CC*)
15032             lt_prog_compiler_wl_CXX='-Wl,'
15033             lt_prog_compiler_static_CXX='-non_shared'
15034             # CC pic flag -KPIC is the default.
15035             ;;
15036           *)
15037             ;;
15038         esac
15039         ;;
15040       linux* | k*bsd*-gnu)
15041         case $cc_basename in
15042           KCC*)
15043             # KAI C++ Compiler
15044             lt_prog_compiler_wl_CXX='--backend -Wl,'
15045             lt_prog_compiler_pic_CXX='-fPIC'
15046             ;;
15047           icpc* | ecpc* )
15048             # Intel C++
15049             lt_prog_compiler_wl_CXX='-Wl,'
15050             lt_prog_compiler_pic_CXX='-KPIC'
15051             lt_prog_compiler_static_CXX='-static'
15052             ;;
15053           pgCC* | pgcpp*)
15054             # Portland Group C++ compiler
15055             lt_prog_compiler_wl_CXX='-Wl,'
15056             lt_prog_compiler_pic_CXX='-fpic'
15057             lt_prog_compiler_static_CXX='-Bstatic'
15058             ;;
15059           cxx*)
15060             # Compaq C++
15061             # Make sure the PIC flag is empty.  It appears that all Alpha
15062             # Linux and Compaq Tru64 Unix objects are PIC.
15063             lt_prog_compiler_pic_CXX=
15064             lt_prog_compiler_static_CXX='-non_shared'
15065             ;;
15066           xlc* | xlC*)
15067             # IBM XL 8.0 on PPC
15068             lt_prog_compiler_wl_CXX='-Wl,'
15069             lt_prog_compiler_pic_CXX='-qpic'
15070             lt_prog_compiler_static_CXX='-qstaticlink'
15071             ;;
15072           *)
15073             case `$CC -V 2>&1 | sed 5q` in
15074             *Sun\ C*)
15075               # Sun C++ 5.9
15076               lt_prog_compiler_pic_CXX='-KPIC'
15077               lt_prog_compiler_static_CXX='-Bstatic'
15078               lt_prog_compiler_wl_CXX='-Qoption ld '
15079               ;;
15080             esac
15081             ;;
15082         esac
15083         ;;
15084       lynxos*)
15085         ;;
15086       m88k*)
15087         ;;
15088       mvs*)
15089         case $cc_basename in
15090           cxx*)
15091             lt_prog_compiler_pic_CXX='-W c,exportall'
15092             ;;
15093           *)
15094             ;;
15095         esac
15096         ;;
15097       netbsd*)
15098         ;;
15099       *qnx* | *nto*)
15100         # QNX uses GNU C++, but need to define -shared option too, otherwise
15101         # it will coredump.
15102         lt_prog_compiler_pic_CXX='-fPIC -shared'
15103         ;;
15104       osf3* | osf4* | osf5*)
15105         case $cc_basename in
15106           KCC*)
15107             lt_prog_compiler_wl_CXX='--backend -Wl,'
15108             ;;
15109           RCC*)
15110             # Rational C++ 2.4.1
15111             lt_prog_compiler_pic_CXX='-pic'
15112             ;;
15113           cxx*)
15114             # Digital/Compaq C++
15115             lt_prog_compiler_wl_CXX='-Wl,'
15116             # Make sure the PIC flag is empty.  It appears that all Alpha
15117             # Linux and Compaq Tru64 Unix objects are PIC.
15118             lt_prog_compiler_pic_CXX=
15119             lt_prog_compiler_static_CXX='-non_shared'
15120             ;;
15121           *)
15122             ;;
15123         esac
15124         ;;
15125       psos*)
15126         ;;
15127       solaris*)
15128         case $cc_basename in
15129           CC*)
15130             # Sun C++ 4.2, 5.x and Centerline C++
15131             lt_prog_compiler_pic_CXX='-KPIC'
15132             lt_prog_compiler_static_CXX='-Bstatic'
15133             lt_prog_compiler_wl_CXX='-Qoption ld '
15134             ;;
15135           gcx*)
15136             # Green Hills C++ Compiler
15137             lt_prog_compiler_pic_CXX='-PIC'
15138             ;;
15139           *)
15140             ;;
15141         esac
15142         ;;
15143       sunos4*)
15144         case $cc_basename in
15145           CC*)
15146             # Sun C++ 4.x
15147             lt_prog_compiler_pic_CXX='-pic'
15148             lt_prog_compiler_static_CXX='-Bstatic'
15149             ;;
15150           lcc*)
15151             # Lucid
15152             lt_prog_compiler_pic_CXX='-pic'
15153             ;;
15154           *)
15155             ;;
15156         esac
15157         ;;
15158       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15159         case $cc_basename in
15160           CC*)
15161             lt_prog_compiler_wl_CXX='-Wl,'
15162             lt_prog_compiler_pic_CXX='-KPIC'
15163             lt_prog_compiler_static_CXX='-Bstatic'
15164             ;;
15165         esac
15166         ;;
15167       tandem*)
15168         case $cc_basename in
15169           NCC*)
15170             # NonStop-UX NCC 3.20
15171             lt_prog_compiler_pic_CXX='-KPIC'
15172             ;;
15173           *)
15174             ;;
15175         esac
15176         ;;
15177       vxworks*)
15178         ;;
15179       *)
15180         lt_prog_compiler_can_build_shared_CXX=no
15181         ;;
15182     esac
15183   fi
15184
15185 case $host_os in
15186   # For platforms which do not support PIC, -DPIC is meaningless:
15187   *djgpp*)
15188     lt_prog_compiler_pic_CXX=
15189     ;;
15190   *)
15191     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15192     ;;
15193 esac
15194 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
15195 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
15196
15197
15198
15199 #
15200 # Check to make sure the PIC flag actually works.
15201 #
15202 if test -n "$lt_prog_compiler_pic_CXX"; then
15203   { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15204 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
15205 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
15206   echo $ECHO_N "(cached) $ECHO_C" >&6
15207 else
15208   lt_cv_prog_compiler_pic_works_CXX=no
15209    ac_outfile=conftest.$ac_objext
15210    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15211    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
15212    # Insert the option either (1) after the last *FLAGS variable, or
15213    # (2) before a word containing "conftest.", or (3) at the end.
15214    # Note that $ac_compile itself does not contain backslashes and begins
15215    # with a dollar sign (not a hyphen), so the echo should work correctly.
15216    # The option is referenced via a variable to avoid confusing sed.
15217    lt_compile=`echo "$ac_compile" | $SED \
15218    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15219    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15220    -e 's:$: $lt_compiler_flag:'`
15221    (eval echo "\"\$as_me:15221: $lt_compile\"" >&5)
15222    (eval "$lt_compile" 2>conftest.err)
15223    ac_status=$?
15224    cat conftest.err >&5
15225    echo "$as_me:15225: \$? = $ac_status" >&5
15226    if (exit $ac_status) && test -s "$ac_outfile"; then
15227      # The compiler can only warn and ignore the option if not recognized
15228      # So say no if there are warnings other than the usual output.
15229      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15230      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15231      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15232        lt_cv_prog_compiler_pic_works_CXX=yes
15233      fi
15234    fi
15235    $RM conftest*
15236
15237 fi
15238 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15239 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15240
15241 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
15242     case $lt_prog_compiler_pic_CXX in
15243      "" | " "*) ;;
15244      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15245      esac
15246 else
15247     lt_prog_compiler_pic_CXX=
15248      lt_prog_compiler_can_build_shared_CXX=no
15249 fi
15250
15251 fi
15252
15253
15254
15255 #
15256 # Check to make sure the static flag actually works.
15257 #
15258 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15259 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15260 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15261 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
15262   echo $ECHO_N "(cached) $ECHO_C" >&6
15263 else
15264   lt_cv_prog_compiler_static_works_CXX=no
15265    save_LDFLAGS="$LDFLAGS"
15266    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15267    echo "$lt_simple_link_test_code" > conftest.$ac_ext
15268    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15269      # The linker can only warn and ignore the option if not recognized
15270      # So say no if there are warnings
15271      if test -s conftest.err; then
15272        # Append any errors to the config.log.
15273        cat conftest.err 1>&5
15274        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15275        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15276        if diff conftest.exp conftest.er2 >/dev/null; then
15277          lt_cv_prog_compiler_static_works_CXX=yes
15278        fi
15279      else
15280        lt_cv_prog_compiler_static_works_CXX=yes
15281      fi
15282    fi
15283    $RM -r conftest*
15284    LDFLAGS="$save_LDFLAGS"
15285
15286 fi
15287 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15288 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
15289
15290 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
15291     :
15292 else
15293     lt_prog_compiler_static_CXX=
15294 fi
15295
15296
15297
15298
15299     { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15300 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15301 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
15302   echo $ECHO_N "(cached) $ECHO_C" >&6
15303 else
15304   lt_cv_prog_compiler_c_o_CXX=no
15305    $RM -r conftest 2>/dev/null
15306    mkdir conftest
15307    cd conftest
15308    mkdir out
15309    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15310
15311    lt_compiler_flag="-o out/conftest2.$ac_objext"
15312    # Insert the option either (1) after the last *FLAGS variable, or
15313    # (2) before a word containing "conftest.", or (3) at the end.
15314    # Note that $ac_compile itself does not contain backslashes and begins
15315    # with a dollar sign (not a hyphen), so the echo should work correctly.
15316    lt_compile=`echo "$ac_compile" | $SED \
15317    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15318    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15319    -e 's:$: $lt_compiler_flag:'`
15320    (eval echo "\"\$as_me:15320: $lt_compile\"" >&5)
15321    (eval "$lt_compile" 2>out/conftest.err)
15322    ac_status=$?
15323    cat out/conftest.err >&5
15324    echo "$as_me:15324: \$? = $ac_status" >&5
15325    if (exit $ac_status) && test -s out/conftest2.$ac_objext
15326    then
15327      # The compiler can only warn and ignore the option if not recognized
15328      # So say no if there are warnings
15329      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15330      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15331      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15332        lt_cv_prog_compiler_c_o_CXX=yes
15333      fi
15334    fi
15335    chmod u+w . 2>&5
15336    $RM conftest*
15337    # SGI C++ compiler will create directory out/ii_files/ for
15338    # template instantiation
15339    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15340    $RM out/* && rmdir out
15341    cd ..
15342    $RM -r conftest
15343    $RM conftest*
15344
15345 fi
15346 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15347 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
15348
15349
15350
15351     { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15352 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15353 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
15354   echo $ECHO_N "(cached) $ECHO_C" >&6
15355 else
15356   lt_cv_prog_compiler_c_o_CXX=no
15357    $RM -r conftest 2>/dev/null
15358    mkdir conftest
15359    cd conftest
15360    mkdir out
15361    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15362
15363    lt_compiler_flag="-o out/conftest2.$ac_objext"
15364    # Insert the option either (1) after the last *FLAGS variable, or
15365    # (2) before a word containing "conftest.", or (3) at the end.
15366    # Note that $ac_compile itself does not contain backslashes and begins
15367    # with a dollar sign (not a hyphen), so the echo should work correctly.
15368    lt_compile=`echo "$ac_compile" | $SED \
15369    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15370    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15371    -e 's:$: $lt_compiler_flag:'`
15372    (eval echo "\"\$as_me:15372: $lt_compile\"" >&5)
15373    (eval "$lt_compile" 2>out/conftest.err)
15374    ac_status=$?
15375    cat out/conftest.err >&5
15376    echo "$as_me:15376: \$? = $ac_status" >&5
15377    if (exit $ac_status) && test -s out/conftest2.$ac_objext
15378    then
15379      # The compiler can only warn and ignore the option if not recognized
15380      # So say no if there are warnings
15381      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15382      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15383      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15384        lt_cv_prog_compiler_c_o_CXX=yes
15385      fi
15386    fi
15387    chmod u+w . 2>&5
15388    $RM conftest*
15389    # SGI C++ compiler will create directory out/ii_files/ for
15390    # template instantiation
15391    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15392    $RM out/* && rmdir out
15393    cd ..
15394    $RM -r conftest
15395    $RM conftest*
15396
15397 fi
15398 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15399 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
15400
15401
15402
15403
15404 hard_links="nottested"
15405 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
15406   # do not overwrite the value of need_locks provided by the user
15407   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15408 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15409   hard_links=yes
15410   $RM conftest*
15411   ln conftest.a conftest.b 2>/dev/null && hard_links=no
15412   touch conftest.a
15413   ln conftest.a conftest.b 2>&5 || hard_links=no
15414   ln conftest.a conftest.b 2>/dev/null && hard_links=no
15415   { echo "$as_me:$LINENO: result: $hard_links" >&5
15416 echo "${ECHO_T}$hard_links" >&6; }
15417   if test "$hard_links" = no; then
15418     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15419 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15420     need_locks=warn
15421   fi
15422 else
15423   need_locks=no
15424 fi
15425
15426
15427
15428     { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15429 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15430
15431   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15432   case $host_os in
15433   aix[4-9]*)
15434     # If we're using GNU nm, then we don't want the "-C" option.
15435     # -C means demangle to AIX nm, but means don't demangle with GNU nm
15436     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15437       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
15438     else
15439       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
15440     fi
15441     ;;
15442   pw32*)
15443     export_symbols_cmds_CXX="$ltdll_cmds"
15444   ;;
15445   cygwin* | mingw*)
15446     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
15447   ;;
15448   *)
15449     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15450   ;;
15451   esac
15452   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15453
15454 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
15455 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
15456 test "$ld_shlibs_CXX" = no && can_build_shared=no
15457
15458 with_gnu_ld_CXX=$with_gnu_ld
15459
15460
15461
15462
15463
15464
15465 #
15466 # Do we need to explicitly link libc?
15467 #
15468 case "x$archive_cmds_need_lc_CXX" in
15469 x|xyes)
15470   # Assume -lc should be added
15471   archive_cmds_need_lc_CXX=yes
15472
15473   if test "$enable_shared" = yes && test "$GCC" = yes; then
15474     case $archive_cmds_CXX in
15475     *'~'*)
15476       # FIXME: we may have to deal with multi-command sequences.
15477       ;;
15478     '$CC '*)
15479       # Test whether the compiler implicitly links with -lc since on some
15480       # systems, -lgcc has to come before -lc. If gcc already passes -lc
15481       # to ld, don't add -lc before -lgcc.
15482       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15483 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15484       $RM conftest*
15485       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15486
15487       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15488   (eval $ac_compile) 2>&5
15489   ac_status=$?
15490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15491   (exit $ac_status); } 2>conftest.err; then
15492         soname=conftest
15493         lib=conftest
15494         libobjs=conftest.$ac_objext
15495         deplibs=
15496         wl=$lt_prog_compiler_wl_CXX
15497         pic_flag=$lt_prog_compiler_pic_CXX
15498         compiler_flags=-v
15499         linker_flags=-v
15500         verstring=
15501         output_objdir=.
15502         libname=conftest
15503         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15504         allow_undefined_flag_CXX=
15505         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
15506   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15507   ac_status=$?
15508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15509   (exit $ac_status); }
15510         then
15511           archive_cmds_need_lc_CXX=no
15512         else
15513           archive_cmds_need_lc_CXX=yes
15514         fi
15515         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15516       else
15517         cat conftest.err 1>&5
15518       fi
15519       $RM conftest*
15520       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
15521 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
15522       ;;
15523     esac
15524   fi
15525   ;;
15526 esac
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538
15539
15540
15541
15542
15543
15544
15545
15546
15547
15548
15549
15550
15551
15552
15553
15554
15555
15556
15557
15558
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591     { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15592 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15593
15594 library_names_spec=
15595 libname_spec='lib$name'
15596 soname_spec=
15597 shrext_cmds=".so"
15598 postinstall_cmds=
15599 postuninstall_cmds=
15600 finish_cmds=
15601 finish_eval=
15602 shlibpath_var=
15603 shlibpath_overrides_runpath=unknown
15604 version_type=none
15605 dynamic_linker="$host_os ld.so"
15606 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15607 need_lib_prefix=unknown
15608 hardcode_into_libs=no
15609
15610 # when you set need_version to no, make sure it does not cause -set_version
15611 # flags to be left without arguments
15612 need_version=unknown
15613
15614 case $host_os in
15615 aix3*)
15616   version_type=linux
15617   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15618   shlibpath_var=LIBPATH
15619
15620   # AIX 3 has no versioning support, so we append a major version to the name.
15621   soname_spec='${libname}${release}${shared_ext}$major'
15622   ;;
15623
15624 aix[4-9]*)
15625   version_type=linux
15626   need_lib_prefix=no
15627   need_version=no
15628   hardcode_into_libs=yes
15629   if test "$host_cpu" = ia64; then
15630     # AIX 5 supports IA64
15631     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15632     shlibpath_var=LD_LIBRARY_PATH
15633   else
15634     # With GCC up to 2.95.x, collect2 would create an import file
15635     # for dependence libraries.  The import file would start with
15636     # the line `#! .'.  This would cause the generated library to
15637     # depend on `.', always an invalid library.  This was fixed in
15638     # development snapshots of GCC prior to 3.0.
15639     case $host_os in
15640       aix4 | aix4.[01] | aix4.[01].*)
15641       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15642            echo ' yes '
15643            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15644         :
15645       else
15646         can_build_shared=no
15647       fi
15648       ;;
15649     esac
15650     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15651     # soname into executable. Probably we can add versioning support to
15652     # collect2, so additional links can be useful in future.
15653     if test "$aix_use_runtimelinking" = yes; then
15654       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15655       # instead of lib<name>.a to let people know that these are not
15656       # typical AIX shared libraries.
15657       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15658     else
15659       # We preserve .a as extension for shared libraries through AIX4.2
15660       # and later when we are not doing run time linking.
15661       library_names_spec='${libname}${release}.a $libname.a'
15662       soname_spec='${libname}${release}${shared_ext}$major'
15663     fi
15664     shlibpath_var=LIBPATH
15665   fi
15666   ;;
15667
15668 amigaos*)
15669   case $host_cpu in
15670   powerpc)
15671     # Since July 2007 AmigaOS4 officially supports .so libraries.
15672     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15673     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15674     ;;
15675   m68k)
15676     library_names_spec='$libname.ixlibrary $libname.a'
15677     # Create ${libname}_ixlibrary.a entries in /sys/libs.
15678     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'
15679     ;;
15680   esac
15681   ;;
15682
15683 beos*)
15684   library_names_spec='${libname}${shared_ext}'
15685   dynamic_linker="$host_os ld.so"
15686   shlibpath_var=LIBRARY_PATH
15687   ;;
15688
15689 bsdi[45]*)
15690   version_type=linux
15691   need_version=no
15692   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15693   soname_spec='${libname}${release}${shared_ext}$major'
15694   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15695   shlibpath_var=LD_LIBRARY_PATH
15696   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15697   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15698   # the default ld.so.conf also contains /usr/contrib/lib and
15699   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15700   # libtool to hard-code these into programs
15701   ;;
15702
15703 cygwin* | mingw* | pw32*)
15704   version_type=windows
15705   shrext_cmds=".dll"
15706   need_version=no
15707   need_lib_prefix=no
15708
15709   case $GCC,$host_os in
15710   yes,cygwin* | yes,mingw* | yes,pw32*)
15711     library_names_spec='$libname.dll.a'
15712     # DLL is installed to $(libdir)/../bin by postinstall_cmds
15713     postinstall_cmds='base_file=`basename \${file}`~
15714       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15715       dldir=$destdir/`dirname \$dlpath`~
15716       test -d \$dldir || mkdir -p \$dldir~
15717       $install_prog $dir/$dlname \$dldir/$dlname~
15718       chmod a+x \$dldir/$dlname~
15719       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15720         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15721       fi'
15722     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15723       dlpath=$dir/\$dldll~
15724        $RM \$dlpath'
15725     shlibpath_overrides_runpath=yes
15726
15727     case $host_os in
15728     cygwin*)
15729       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15730       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15731       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15732       ;;
15733     mingw*)
15734       # MinGW DLLs use traditional 'lib' prefix
15735       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15736       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15737       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15738         # It is most probably a Windows format PATH printed by
15739         # mingw gcc, but we are running on Cygwin. Gcc prints its search
15740         # path with ; separators, and with drive letters. We can handle the
15741         # drive letters (cygwin fileutils understands them), so leave them,
15742         # especially as we might pass files found there to a mingw objdump,
15743         # which wouldn't understand a cygwinified path. Ahh.
15744         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15745       else
15746         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15747       fi
15748       ;;
15749     pw32*)
15750       # pw32 DLLs use 'pw' prefix rather than 'lib'
15751       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15752       ;;
15753     esac
15754     ;;
15755
15756   *)
15757     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15758     ;;
15759   esac
15760   dynamic_linker='Win32 ld.exe'
15761   # FIXME: first we should search . and the directory the executable is in
15762   shlibpath_var=PATH
15763   ;;
15764
15765 darwin* | rhapsody*)
15766   dynamic_linker="$host_os dyld"
15767   version_type=darwin
15768   need_lib_prefix=no
15769   need_version=no
15770   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15771   soname_spec='${libname}${release}${major}$shared_ext'
15772   shlibpath_overrides_runpath=yes
15773   shlibpath_var=DYLD_LIBRARY_PATH
15774   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15775
15776   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15777   ;;
15778
15779 dgux*)
15780   version_type=linux
15781   need_lib_prefix=no
15782   need_version=no
15783   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15784   soname_spec='${libname}${release}${shared_ext}$major'
15785   shlibpath_var=LD_LIBRARY_PATH
15786   ;;
15787
15788 freebsd1*)
15789   dynamic_linker=no
15790   ;;
15791
15792 freebsd* | dragonfly*)
15793   # DragonFly does not have aout.  When/if they implement a new
15794   # versioning mechanism, adjust this.
15795   if test -x /usr/bin/objformat; then
15796     objformat=`/usr/bin/objformat`
15797   else
15798     case $host_os in
15799     freebsd[123]*) objformat=aout ;;
15800     *) objformat=elf ;;
15801     esac
15802   fi
15803   version_type=freebsd-$objformat
15804   case $version_type in
15805     freebsd-elf*)
15806       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15807       need_version=no
15808       need_lib_prefix=no
15809       ;;
15810     freebsd-*)
15811       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15812       need_version=yes
15813       ;;
15814   esac
15815   shlibpath_var=LD_LIBRARY_PATH
15816   case $host_os in
15817   freebsd2*)
15818     shlibpath_overrides_runpath=yes
15819     ;;
15820   freebsd3.[01]* | freebsdelf3.[01]*)
15821     shlibpath_overrides_runpath=yes
15822     hardcode_into_libs=yes
15823     ;;
15824   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15825   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15826     shlibpath_overrides_runpath=no
15827     hardcode_into_libs=yes
15828     ;;
15829   *) # from 4.6 on, and DragonFly
15830     shlibpath_overrides_runpath=yes
15831     hardcode_into_libs=yes
15832     ;;
15833   esac
15834   ;;
15835
15836 gnu*)
15837   version_type=linux
15838   need_lib_prefix=no
15839   need_version=no
15840   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15841   soname_spec='${libname}${release}${shared_ext}$major'
15842   shlibpath_var=LD_LIBRARY_PATH
15843   hardcode_into_libs=yes
15844   ;;
15845
15846 hpux9* | hpux10* | hpux11*)
15847   # Give a soname corresponding to the major version so that dld.sl refuses to
15848   # link against other versions.
15849   version_type=sunos
15850   need_lib_prefix=no
15851   need_version=no
15852   case $host_cpu in
15853   ia64*)
15854     shrext_cmds='.so'
15855     hardcode_into_libs=yes
15856     dynamic_linker="$host_os dld.so"
15857     shlibpath_var=LD_LIBRARY_PATH
15858     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15859     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15860     soname_spec='${libname}${release}${shared_ext}$major'
15861     if test "X$HPUX_IA64_MODE" = X32; then
15862       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15863     else
15864       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15865     fi
15866     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15867     ;;
15868   hppa*64*)
15869     shrext_cmds='.sl'
15870     hardcode_into_libs=yes
15871     dynamic_linker="$host_os dld.sl"
15872     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15873     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15874     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15875     soname_spec='${libname}${release}${shared_ext}$major'
15876     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15877     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15878     ;;
15879   *)
15880     shrext_cmds='.sl'
15881     dynamic_linker="$host_os dld.sl"
15882     shlibpath_var=SHLIB_PATH
15883     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15884     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15885     soname_spec='${libname}${release}${shared_ext}$major'
15886     ;;
15887   esac
15888   # HP-UX runs *really* slowly unless shared libraries are mode 555.
15889   postinstall_cmds='chmod 555 $lib'
15890   ;;
15891
15892 interix[3-9]*)
15893   version_type=linux
15894   need_lib_prefix=no
15895   need_version=no
15896   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15897   soname_spec='${libname}${release}${shared_ext}$major'
15898   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15899   shlibpath_var=LD_LIBRARY_PATH
15900   shlibpath_overrides_runpath=no
15901   hardcode_into_libs=yes
15902   ;;
15903
15904 irix5* | irix6* | nonstopux*)
15905   case $host_os in
15906     nonstopux*) version_type=nonstopux ;;
15907     *)
15908         if test "$lt_cv_prog_gnu_ld" = yes; then
15909                 version_type=linux
15910         else
15911                 version_type=irix
15912         fi ;;
15913   esac
15914   need_lib_prefix=no
15915   need_version=no
15916   soname_spec='${libname}${release}${shared_ext}$major'
15917   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15918   case $host_os in
15919   irix5* | nonstopux*)
15920     libsuff= shlibsuff=
15921     ;;
15922   *)
15923     case $LD in # libtool.m4 will add one of these switches to LD
15924     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15925       libsuff= shlibsuff= libmagic=32-bit;;
15926     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15927       libsuff=32 shlibsuff=N32 libmagic=N32;;
15928     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15929       libsuff=64 shlibsuff=64 libmagic=64-bit;;
15930     *) libsuff= shlibsuff= libmagic=never-match;;
15931     esac
15932     ;;
15933   esac
15934   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15935   shlibpath_overrides_runpath=no
15936   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15937   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15938   hardcode_into_libs=yes
15939   ;;
15940
15941 # No shared lib support for Linux oldld, aout, or coff.
15942 linux*oldld* | linux*aout* | linux*coff*)
15943   dynamic_linker=no
15944   ;;
15945
15946 # This must be Linux ELF.
15947 linux* | k*bsd*-gnu)
15948   version_type=linux
15949   need_lib_prefix=no
15950   need_version=no
15951   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15952   soname_spec='${libname}${release}${shared_ext}$major'
15953   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15954   shlibpath_var=LD_LIBRARY_PATH
15955   shlibpath_overrides_runpath=no
15956   # Some binutils ld are patched to set DT_RUNPATH
15957   save_LDFLAGS=$LDFLAGS
15958   save_libdir=$libdir
15959   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15960        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15961   cat >conftest.$ac_ext <<_ACEOF
15962 /* confdefs.h.  */
15963 _ACEOF
15964 cat confdefs.h >>conftest.$ac_ext
15965 cat >>conftest.$ac_ext <<_ACEOF
15966 /* end confdefs.h.  */
15967
15968 int
15969 main ()
15970 {
15971
15972   ;
15973   return 0;
15974 }
15975 _ACEOF
15976 rm -f conftest.$ac_objext conftest$ac_exeext
15977 if { (ac_try="$ac_link"
15978 case "(($ac_try" in
15979   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15980   *) ac_try_echo=$ac_try;;
15981 esac
15982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15983   (eval "$ac_link") 2>conftest.er1
15984   ac_status=$?
15985   grep -v '^ *+' conftest.er1 >conftest.err
15986   rm -f conftest.er1
15987   cat conftest.err >&5
15988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15989   (exit $ac_status); } && {
15990          test -z "$ac_cxx_werror_flag" ||
15991          test ! -s conftest.err
15992        } && test -s conftest$ac_exeext &&
15993        $as_test_x conftest$ac_exeext; then
15994   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
15995   shlibpath_overrides_runpath=yes
15996 fi
15997
15998 else
15999   echo "$as_me: failed program was:" >&5
16000 sed 's/^/| /' conftest.$ac_ext >&5
16001
16002
16003 fi
16004
16005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16006       conftest$ac_exeext conftest.$ac_ext
16007   LDFLAGS=$save_LDFLAGS
16008   libdir=$save_libdir
16009
16010   # This implies no fast_install, which is unacceptable.
16011   # Some rework will be needed to allow for fast_install
16012   # before this can be enabled.
16013   hardcode_into_libs=yes
16014
16015   # Append ld.so.conf contents to the search path
16016   if test -f /etc/ld.so.conf; then
16017     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' ' '`
16018     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16019   fi
16020
16021   # We used to test for /lib/ld.so.1 and disable shared libraries on
16022   # powerpc, because MkLinux only supported shared libraries with the
16023   # GNU dynamic linker.  Since this was broken with cross compilers,
16024   # most powerpc-linux boxes support dynamic linking these days and
16025   # people can always --disable-shared, the test was removed, and we
16026   # assume the GNU/Linux dynamic linker is in use.
16027   dynamic_linker='GNU/Linux ld.so'
16028   ;;
16029
16030 netbsd*)
16031   version_type=sunos
16032   need_lib_prefix=no
16033   need_version=no
16034   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16035     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16036     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16037     dynamic_linker='NetBSD (a.out) ld.so'
16038   else
16039     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16040     soname_spec='${libname}${release}${shared_ext}$major'
16041     dynamic_linker='NetBSD ld.elf_so'
16042   fi
16043   shlibpath_var=LD_LIBRARY_PATH
16044   shlibpath_overrides_runpath=yes
16045   hardcode_into_libs=yes
16046   ;;
16047
16048 newsos6)
16049   version_type=linux
16050   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16051   shlibpath_var=LD_LIBRARY_PATH
16052   shlibpath_overrides_runpath=yes
16053   ;;
16054
16055 *nto* | *qnx*)
16056   version_type=qnx
16057   need_lib_prefix=no
16058   need_version=no
16059   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16060   soname_spec='${libname}${release}${shared_ext}$major'
16061   shlibpath_var=LD_LIBRARY_PATH
16062   shlibpath_overrides_runpath=no
16063   hardcode_into_libs=yes
16064   dynamic_linker='ldqnx.so'
16065   ;;
16066
16067 openbsd*)
16068   version_type=sunos
16069   sys_lib_dlsearch_path_spec="/usr/lib"
16070   need_lib_prefix=no
16071   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16072   case $host_os in
16073     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
16074     *)                          need_version=no  ;;
16075   esac
16076   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16077   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16078   shlibpath_var=LD_LIBRARY_PATH
16079   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16080     case $host_os in
16081       openbsd2.[89] | openbsd2.[89].*)
16082         shlibpath_overrides_runpath=no
16083         ;;
16084       *)
16085         shlibpath_overrides_runpath=yes
16086         ;;
16087       esac
16088   else
16089     shlibpath_overrides_runpath=yes
16090   fi
16091   ;;
16092
16093 os2*)
16094   libname_spec='$name'
16095   shrext_cmds=".dll"
16096   need_lib_prefix=no
16097   library_names_spec='$libname${shared_ext} $libname.a'
16098   dynamic_linker='OS/2 ld.exe'
16099   shlibpath_var=LIBPATH
16100   ;;
16101
16102 osf3* | osf4* | osf5*)
16103   version_type=osf
16104   need_lib_prefix=no
16105   need_version=no
16106   soname_spec='${libname}${release}${shared_ext}$major'
16107   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16108   shlibpath_var=LD_LIBRARY_PATH
16109   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16110   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16111   ;;
16112
16113 rdos*)
16114   dynamic_linker=no
16115   ;;
16116
16117 solaris*)
16118   version_type=linux
16119   need_lib_prefix=no
16120   need_version=no
16121   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16122   soname_spec='${libname}${release}${shared_ext}$major'
16123   shlibpath_var=LD_LIBRARY_PATH
16124   shlibpath_overrides_runpath=yes
16125   hardcode_into_libs=yes
16126   # ldd complains unless libraries are executable
16127   postinstall_cmds='chmod +x $lib'
16128   ;;
16129
16130 sunos4*)
16131   version_type=sunos
16132   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16133   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16134   shlibpath_var=LD_LIBRARY_PATH
16135   shlibpath_overrides_runpath=yes
16136   if test "$with_gnu_ld" = yes; then
16137     need_lib_prefix=no
16138   fi
16139   need_version=yes
16140   ;;
16141
16142 sysv4 | sysv4.3*)
16143   version_type=linux
16144   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16145   soname_spec='${libname}${release}${shared_ext}$major'
16146   shlibpath_var=LD_LIBRARY_PATH
16147   case $host_vendor in
16148     sni)
16149       shlibpath_overrides_runpath=no
16150       need_lib_prefix=no
16151       runpath_var=LD_RUN_PATH
16152       ;;
16153     siemens)
16154       need_lib_prefix=no
16155       ;;
16156     motorola)
16157       need_lib_prefix=no
16158       need_version=no
16159       shlibpath_overrides_runpath=no
16160       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16161       ;;
16162   esac
16163   ;;
16164
16165 sysv4*MP*)
16166   if test -d /usr/nec ;then
16167     version_type=linux
16168     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16169     soname_spec='$libname${shared_ext}.$major'
16170     shlibpath_var=LD_LIBRARY_PATH
16171   fi
16172   ;;
16173
16174 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16175   version_type=freebsd-elf
16176   need_lib_prefix=no
16177   need_version=no
16178   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16179   soname_spec='${libname}${release}${shared_ext}$major'
16180   shlibpath_var=LD_LIBRARY_PATH
16181   shlibpath_overrides_runpath=yes
16182   hardcode_into_libs=yes
16183   if test "$with_gnu_ld" = yes; then
16184     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16185   else
16186     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16187     case $host_os in
16188       sco3.2v5*)
16189         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16190         ;;
16191     esac
16192   fi
16193   sys_lib_dlsearch_path_spec='/usr/lib'
16194   ;;
16195
16196 tpf*)
16197   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
16198   version_type=linux
16199   need_lib_prefix=no
16200   need_version=no
16201   library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16202   shlibpath_var=LD_LIBRARY_PATH
16203   shlibpath_overrides_runpath=no
16204   hardcode_into_libs=yes
16205   ;;
16206
16207 uts4*)
16208   version_type=linux
16209   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16210   soname_spec='${libname}${release}${shared_ext}$major'
16211   shlibpath_var=LD_LIBRARY_PATH
16212   ;;
16213
16214 *)
16215   dynamic_linker=no
16216   ;;
16217 esac
16218 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16219 echo "${ECHO_T}$dynamic_linker" >&6; }
16220 test "$dynamic_linker" = no && can_build_shared=no
16221
16222 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16223 if test "$GCC" = yes; then
16224   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16225 fi
16226
16227 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16228   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16229 fi
16230 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16231   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16232 fi
16233
16234
16235
16236
16237
16238
16239
16240
16241
16242
16243
16244
16245
16246
16247
16248
16249
16250
16251
16252
16253
16254
16255
16256
16257
16258
16259
16260
16261
16262
16263
16264
16265
16266
16267
16268
16269     { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16270 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16271 hardcode_action_CXX=
16272 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16273    test -n "$runpath_var_CXX" ||
16274    test "X$hardcode_automatic_CXX" = "Xyes" ; then
16275
16276   # We can hardcode non-existent directories.
16277   if test "$hardcode_direct_CXX" != no &&
16278      # If the only mechanism to avoid hardcoding is shlibpath_var, we
16279      # have to relink, otherwise we might link with an installed library
16280      # when we should be linking with a yet-to-be-installed one
16281      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16282      test "$hardcode_minus_L_CXX" != no; then
16283     # Linking always hardcodes the temporary library directory.
16284     hardcode_action_CXX=relink
16285   else
16286     # We can link without hardcoding, and we can hardcode nonexisting dirs.
16287     hardcode_action_CXX=immediate
16288   fi
16289 else
16290   # We cannot hardcode anything, or else we can only hardcode existing
16291   # directories.
16292   hardcode_action_CXX=unsupported
16293 fi
16294 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
16295 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
16296
16297 if test "$hardcode_action_CXX" = relink ||
16298    test "$inherit_rpath_CXX" = yes; then
16299   # Fast installation is not supported
16300   enable_fast_install=no
16301 elif test "$shlibpath_overrides_runpath" = yes ||
16302      test "$enable_shared" = no; then
16303   # Fast installation is not necessary
16304   enable_fast_install=needless
16305 fi
16306
16307
16308
16309
16310
16311
16312
16313   fi # test -n "$compiler"
16314
16315   CC=$lt_save_CC
16316   LDCXX=$LD
16317   LD=$lt_save_LD
16318   GCC=$lt_save_GCC
16319   with_gnu_ld=$lt_save_with_gnu_ld
16320   lt_cv_path_LDCXX=$lt_cv_path_LD
16321   lt_cv_path_LD=$lt_save_path_LD
16322   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16323   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16324 fi # test "$_lt_caught_CXX_error" != yes
16325
16326 ac_ext=c
16327 ac_cpp='$CPP $CPPFLAGS'
16328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16331
16332
16333
16334
16335
16336
16337
16338
16339
16340
16341
16342
16343
16344         ac_config_commands="$ac_config_commands libtool"
16345
16346
16347
16348
16349 # Only expand once:
16350
16351
16352 : ${CONFIG_LT=./config.lt}
16353 { echo "$as_me:$LINENO: creating $CONFIG_LT" >&5
16354 echo "$as_me: creating $CONFIG_LT" >&6;}
16355 cat >"$CONFIG_LT" <<_LTEOF
16356 #! $SHELL
16357 # Generated by $as_me.
16358 # Run this file to recreate a libtool stub with the current configuration.
16359
16360 lt_cl_silent=false
16361 SHELL=\${CONFIG_SHELL-$SHELL}
16362 _LTEOF
16363
16364 cat >>"$CONFIG_LT" <<\_LTEOF
16365 ## --------------------- ##
16366 ## M4sh Initialization.  ##
16367 ## --------------------- ##
16368
16369 # Be more Bourne compatible
16370 DUALCASE=1; export DUALCASE # for MKS sh
16371 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16372   emulate sh
16373   NULLCMD=:
16374   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
16375   # is contrary to our usage.  Disable this feature.
16376   alias -g '${1+"$@"}'='"$@"'
16377   setopt NO_GLOB_SUBST
16378 else
16379   case `(set -o) 2>/dev/null` in
16380   *posix*) set -o posix ;;
16381 esac
16382
16383 fi
16384
16385
16386
16387
16388 # PATH needs CR
16389 # Avoid depending upon Character Ranges.
16390 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16391 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16392 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16393 as_cr_digits='0123456789'
16394 as_cr_alnum=$as_cr_Letters$as_cr_digits
16395
16396 # The user is always right.
16397 if test "${PATH_SEPARATOR+set}" != set; then
16398   echo "#! /bin/sh" >conf$$.sh
16399   echo  "exit 0"   >>conf$$.sh
16400   chmod +x conf$$.sh
16401   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
16402     PATH_SEPARATOR=';'
16403   else
16404     PATH_SEPARATOR=:
16405   fi
16406   rm -f conf$$.sh
16407 fi
16408
16409 # Support unset when possible.
16410 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
16411   as_unset=unset
16412 else
16413   as_unset=false
16414 fi
16415
16416
16417 # IFS
16418 # We need space, tab and new line, in precisely that order.  Quoting is
16419 # there to prevent editors from complaining about space-tab.
16420 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16421 # splitting by setting IFS to empty value.)
16422 as_nl='
16423 '
16424 IFS=" ""        $as_nl"
16425
16426 # Find who we are.  Look in the path if we contain no directory separator.
16427 case $0 in
16428   *[\\/]* ) as_myself=$0 ;;
16429   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16430 for as_dir in $PATH
16431 do
16432   IFS=$as_save_IFS
16433   test -z "$as_dir" && as_dir=.
16434   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16435 done
16436 IFS=$as_save_IFS
16437
16438      ;;
16439 esac
16440 # We did not find ourselves, most probably we were run as `sh COMMAND'
16441 # in which case we are not to be found in the path.
16442 if test "x$as_myself" = x; then
16443   as_myself=$0
16444 fi
16445 if test ! -f "$as_myself"; then
16446   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16447   { (exit 1); exit 1; }
16448 fi
16449
16450 # Work around bugs in pre-3.0 UWIN ksh.
16451 for as_var in ENV MAIL MAILPATH
16452 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
16453 done
16454 PS1='$ '
16455 PS2='> '
16456 PS4='+ '
16457
16458 # NLS nuisances.
16459 for as_var in \
16460   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
16461   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
16462   LC_TELEPHONE LC_TIME
16463 do
16464   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
16465     eval $as_var=C; export $as_var
16466   else
16467     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
16468   fi
16469 done
16470
16471 # Required to use basename.
16472 if expr a : '\(a\)' >/dev/null 2>&1 &&
16473    test "X`expr 00001 : '.*\(...\)'`" = X001; then
16474   as_expr=expr
16475 else
16476   as_expr=false
16477 fi
16478
16479 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16480   as_basename=basename
16481 else
16482   as_basename=false
16483 fi
16484
16485
16486 # Name of the executable.
16487 as_me=`$as_basename -- "$0" ||
16488 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16489          X"$0" : 'X\(//\)$' \| \
16490          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16491 echo X/"$0" |
16492     sed '/^.*\/\([^/][^/]*\)\/*$/{
16493             s//\1/
16494             q
16495           }
16496           /^X\/\(\/\/\)$/{
16497             s//\1/
16498             q
16499           }
16500           /^X\/\(\/\).*/{
16501             s//\1/
16502             q
16503           }
16504           s/.*/./; q'`
16505
16506 # CDPATH.
16507 $as_unset CDPATH
16508
16509
16510
16511   as_lineno_1=$LINENO
16512   as_lineno_2=$LINENO
16513   test "x$as_lineno_1" != "x$as_lineno_2" &&
16514   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
16515
16516   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
16517   # uniformly replaced by the line number.  The first 'sed' inserts a
16518   # line-number line after each line using $LINENO; the second 'sed'
16519   # does the real work.  The second script uses 'N' to pair each
16520   # line-number line with the line containing $LINENO, and appends
16521   # trailing '-' during substitution so that $LINENO is not a special
16522   # case at line end.
16523   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
16524   # scripts with optimization help from Paolo Bonzini.  Blame Lee
16525   # E. McMahon (1931-1989) for sed's syntax.  :-)
16526   sed -n '
16527     p
16528     /[$]LINENO/=
16529   ' <$as_myself |
16530     sed '
16531       s/[$]LINENO.*/&-/
16532       t lineno
16533       b
16534       :lineno
16535       N
16536       :loop
16537       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
16538       t loop
16539       s/-\n.*//
16540     ' >$as_me.lineno &&
16541   chmod +x "$as_me.lineno" ||
16542     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
16543 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
16544    { (exit 1); exit 1; }; }
16545
16546   # Don't try to exec as it changes $[0], causing all sort of problems
16547   # (the dirname of $[0] is not the place where we might find the
16548   # original and so on.  Autoconf is especially sensitive to this).
16549   . "./$as_me.lineno"
16550   # Exit status is that of the last command.
16551   exit
16552 }
16553
16554
16555 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16556   as_dirname=dirname
16557 else
16558   as_dirname=false
16559 fi
16560
16561 ECHO_C= ECHO_N= ECHO_T=
16562 case `echo -n x` in
16563 -n*)
16564   case `echo 'x\c'` in
16565   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
16566   *)   ECHO_C='\c';;
16567   esac;;
16568 *)
16569   ECHO_N='-n';;
16570 esac
16571
16572 if expr a : '\(a\)' >/dev/null 2>&1 &&
16573    test "X`expr 00001 : '.*\(...\)'`" = X001; then
16574   as_expr=expr
16575 else
16576   as_expr=false
16577 fi
16578
16579 rm -f conf$$ conf$$.exe conf$$.file
16580 if test -d conf$$.dir; then
16581   rm -f conf$$.dir/conf$$.file
16582 else
16583   rm -f conf$$.dir
16584   mkdir conf$$.dir
16585 fi
16586 echo >conf$$.file
16587 if ln -s conf$$.file conf$$ 2>/dev/null; then
16588   as_ln_s='ln -s'
16589   # ... but there are two gotchas:
16590   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16591   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16592   # In both cases, we have to default to `cp -p'.
16593   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16594     as_ln_s='cp -p'
16595 elif ln conf$$.file conf$$ 2>/dev/null; then
16596   as_ln_s=ln
16597 else
16598   as_ln_s='cp -p'
16599 fi
16600 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16601 rmdir conf$$.dir 2>/dev/null
16602
16603 if mkdir -p . 2>/dev/null; then
16604   as_mkdir_p=:
16605 else
16606   test -d ./-p && rmdir ./-p
16607   as_mkdir_p=false
16608 fi
16609
16610 if test -x / >/dev/null 2>&1; then
16611   as_test_x='test -x'
16612 else
16613   if ls -dL / >/dev/null 2>&1; then
16614     as_ls_L_option=L
16615   else
16616     as_ls_L_option=
16617   fi
16618   as_test_x='
16619     eval sh -c '\''
16620       if test -d "$1"; then
16621         test -d "$1/.";
16622       else
16623         case $1 in
16624         -*)set "./$1";;
16625         esac;
16626         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
16627         ???[sx]*):;;*)false;;esac;fi
16628     '\'' sh
16629   '
16630 fi
16631 as_executable_p=$as_test_x
16632
16633 # Sed expression to map a string onto a valid CPP name.
16634 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16635
16636 # Sed expression to map a string onto a valid variable name.
16637 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16638
16639
16640
16641 exec 6>&1
16642 exec 5>>config.log
16643 {
16644   echo
16645   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16646 ## Running $as_me. ##
16647 _ASBOX
16648 } >&5
16649
16650 lt_cl_help="\
16651 \`$as_me' creates a local libtool stub from the current configuration,
16652 for use in further configure time tests before the real libtool is
16653 generated.
16654
16655 Usage: $0 [OPTIONS]
16656
16657   -h, --help      print this help, then exit
16658   -V, --version   print version number, then exit
16659   -q, --quiet     do not print progress messages
16660   -d, --debug     don't remove temporary files
16661
16662 Report bugs to <bug-libtool@gnu.org>."
16663
16664 lt_cl_version="\
16665 pango config.lt 1.26.1
16666 configured by $0, generated by GNU Autoconf 2.61.
16667
16668 Copyright (C) 2008 Free Software Foundation, Inc.
16669 This config.lt script is free software; the Free Software Foundation
16670 gives unlimited permision to copy, distribute and modify it."
16671
16672 while test $# != 0
16673 do
16674   case $1 in
16675     --version | --v* | -V )
16676       echo "$lt_cl_version"; exit 0 ;;
16677     --help | --h* | -h )
16678       echo "$lt_cl_help"; exit 0 ;;
16679     --debug | --d* | -d )
16680       debug=: ;;
16681     --quiet | --q* | --silent | --s* | -q )
16682       lt_cl_silent=: ;;
16683
16684     -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
16685 Try \`$0 --help' for more information." >&5
16686 echo "$as_me: error: unrecognized option: $1
16687 Try \`$0 --help' for more information." >&2;}
16688    { (exit 1); exit 1; }; } ;;
16689
16690     *) { { echo "$as_me:$LINENO: error: unrecognized argument: $1
16691 Try \`$0 --help' for more information." >&5
16692 echo "$as_me: error: unrecognized argument: $1
16693 Try \`$0 --help' for more information." >&2;}
16694    { (exit 1); exit 1; }; } ;;
16695   esac
16696   shift
16697 done
16698
16699 if $lt_cl_silent; then
16700   exec 6>/dev/null
16701 fi
16702 _LTEOF
16703
16704 cat >>"$CONFIG_LT" <<_LTEOF
16705
16706
16707 # The HP-UX ksh and POSIX shell print the target directory to stdout
16708 # if CDPATH is set.
16709 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16710
16711 sed_quote_subst='$sed_quote_subst'
16712 double_quote_subst='$double_quote_subst'
16713 delay_variable_subst='$delay_variable_subst'
16714 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
16715 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16716 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16717 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16718 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16719 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16720 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16721 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16722 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16723 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16724 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16725 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16726 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16727 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16728 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16729 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16730 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16731 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16732 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16733 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16734 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16735 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16736 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16737 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16738 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16739 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16740 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16741 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16742 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16743 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16744 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16745 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16746 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16747 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16748 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16749 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16750 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16751 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16752 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16753 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16754 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16755 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16756 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16757 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16758 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16759 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16760 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"`'
16761 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"`'
16762 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16763 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16764 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16765 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16766 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16767 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16768 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16769 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16770 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16771 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16772 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16773 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16774 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16775 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16776 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16777 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16778 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16779 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16780 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16781 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16782 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16783 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16784 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16785 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16786 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16787 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16788 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16789 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16790 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16791 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16792 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16793 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16794 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16795 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16796 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16797 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16798 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16799 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16800 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16801 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16802 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16803 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16804 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16805 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16806 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16807 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16808 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16809 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16810 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16811 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16812 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16813 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16814 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16815 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16816 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16817 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16818 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16819 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16820 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16821 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16822 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16823 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16824 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16825 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16826 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16827 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16828 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16829 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16830 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16831 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16832 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16833 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16834 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
16835 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16836 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16837 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
16838 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
16839 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
16840 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16841 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16842 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16843 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16844 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16845 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16846 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16847 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16848 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16849 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16850 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16851 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16852 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16853 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16854 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16855 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16856 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16857 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16858 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16859 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16860 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16861 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16862 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16863 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16864 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16865 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16866 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16867 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16868 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16869 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16870 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16871 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16872 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16873 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16874 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16875 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16876 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16877 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16878 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16879 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16880 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16881 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16882 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16883 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16884 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16885 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16886 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16887
16888 LTCC='$LTCC'
16889 LTCFLAGS='$LTCFLAGS'
16890 compiler='$compiler_DEFAULT'
16891
16892 # Quote evaled strings.
16893 for var in SED \
16894 GREP \
16895 EGREP \
16896 FGREP \
16897 LD \
16898 NM \
16899 LN_S \
16900 lt_SP2NL \
16901 lt_NL2SP \
16902 reload_flag \
16903 deplibs_check_method \
16904 file_magic_cmd \
16905 AR \
16906 AR_FLAGS \
16907 STRIP \
16908 RANLIB \
16909 CC \
16910 CFLAGS \
16911 compiler \
16912 lt_cv_sys_global_symbol_pipe \
16913 lt_cv_sys_global_symbol_to_cdecl \
16914 lt_cv_sys_global_symbol_to_c_name_address \
16915 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16916 SHELL \
16917 ECHO \
16918 lt_prog_compiler_no_builtin_flag \
16919 lt_prog_compiler_wl \
16920 lt_prog_compiler_pic \
16921 lt_prog_compiler_static \
16922 lt_cv_prog_compiler_c_o \
16923 need_locks \
16924 DSYMUTIL \
16925 NMEDIT \
16926 LIPO \
16927 OTOOL \
16928 OTOOL64 \
16929 shrext_cmds \
16930 export_dynamic_flag_spec \
16931 whole_archive_flag_spec \
16932 compiler_needs_object \
16933 with_gnu_ld \
16934 allow_undefined_flag \
16935 no_undefined_flag \
16936 hardcode_libdir_flag_spec \
16937 hardcode_libdir_flag_spec_ld \
16938 hardcode_libdir_separator \
16939 fix_srcfile_path \
16940 exclude_expsyms \
16941 include_expsyms \
16942 file_list_spec \
16943 variables_saved_for_relink \
16944 libname_spec \
16945 library_names_spec \
16946 soname_spec \
16947 finish_eval \
16948 old_striplib \
16949 striplib \
16950 compiler_lib_search_dirs \
16951 predep_objects \
16952 postdep_objects \
16953 predeps \
16954 postdeps \
16955 compiler_lib_search_path \
16956 LD_CXX \
16957 compiler_CXX \
16958 lt_prog_compiler_no_builtin_flag_CXX \
16959 lt_prog_compiler_wl_CXX \
16960 lt_prog_compiler_pic_CXX \
16961 lt_prog_compiler_static_CXX \
16962 lt_cv_prog_compiler_c_o_CXX \
16963 export_dynamic_flag_spec_CXX \
16964 whole_archive_flag_spec_CXX \
16965 compiler_needs_object_CXX \
16966 with_gnu_ld_CXX \
16967 allow_undefined_flag_CXX \
16968 no_undefined_flag_CXX \
16969 hardcode_libdir_flag_spec_CXX \
16970 hardcode_libdir_flag_spec_ld_CXX \
16971 hardcode_libdir_separator_CXX \
16972 fix_srcfile_path_CXX \
16973 exclude_expsyms_CXX \
16974 include_expsyms_CXX \
16975 file_list_spec_CXX \
16976 compiler_lib_search_dirs_CXX \
16977 predep_objects_CXX \
16978 postdep_objects_CXX \
16979 predeps_CXX \
16980 postdeps_CXX \
16981 compiler_lib_search_path_CXX; do
16982     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16983     *[\\\\\\\`\\"\\\$]*)
16984       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16985       ;;
16986     *)
16987       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16988       ;;
16989     esac
16990 done
16991
16992 # Double-quote double-evaled strings.
16993 for var in reload_cmds \
16994 old_postinstall_cmds \
16995 old_postuninstall_cmds \
16996 old_archive_cmds \
16997 extract_expsyms_cmds \
16998 old_archive_from_new_cmds \
16999 old_archive_from_expsyms_cmds \
17000 archive_cmds \
17001 archive_expsym_cmds \
17002 module_cmds \
17003 module_expsym_cmds \
17004 export_symbols_cmds \
17005 prelink_cmds \
17006 postinstall_cmds \
17007 postuninstall_cmds \
17008 finish_cmds \
17009 sys_lib_search_path_spec \
17010 sys_lib_dlsearch_path_spec \
17011 old_archive_cmds_CXX \
17012 old_archive_from_new_cmds_CXX \
17013 old_archive_from_expsyms_cmds_CXX \
17014 archive_cmds_CXX \
17015 archive_expsym_cmds_CXX \
17016 module_cmds_CXX \
17017 module_expsym_cmds_CXX \
17018 export_symbols_cmds_CXX \
17019 prelink_cmds_CXX; do
17020     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17021     *[\\\\\\\`\\"\\\$]*)
17022       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17023       ;;
17024     *)
17025       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17026       ;;
17027     esac
17028 done
17029
17030 # Fix-up fallback echo if it was mangled by the above quoting rules.
17031 case \$lt_ECHO in
17032 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
17033   ;;
17034 esac
17035
17036 ac_aux_dir='$ac_aux_dir'
17037 xsi_shell='$xsi_shell'
17038 lt_shell_append='$lt_shell_append'
17039
17040 # See if we are running on zsh, and set the options which allow our
17041 # commands through without removal of \ escapes INIT.
17042 if test -n "\${ZSH_VERSION+set}" ; then
17043    setopt NO_GLOB_SUBST
17044 fi
17045
17046
17047     PACKAGE='$PACKAGE'
17048     VERSION='$VERSION'
17049     TIMESTAMP='$TIMESTAMP'
17050     RM='$RM'
17051     ofile='$ofile'
17052
17053
17054
17055
17056
17057 _LTEOF
17058
17059 cat >>"$CONFIG_LT" <<\_LTEOF
17060 { echo "$as_me:$LINENO: creating $ofile" >&5
17061 echo "$as_me: creating $ofile" >&6;}
17062
17063
17064     # See if we are running on zsh, and set the options which allow our
17065     # commands through without removal of \ escapes.
17066     if test -n "${ZSH_VERSION+set}" ; then
17067       setopt NO_GLOB_SUBST
17068     fi
17069
17070     cfgfile="${ofile}T"
17071     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17072     $RM "$cfgfile"
17073
17074     cat <<_LT_EOF >> "$cfgfile"
17075 #! $SHELL
17076
17077 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17078 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17079 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17080 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17081 #
17082 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17083 #                 2006, 2007, 2008 Free Software Foundation, Inc.
17084 #   Written by Gordon Matzigkeit, 1996
17085 #
17086 #   This file is part of GNU Libtool.
17087 #
17088 # GNU Libtool is free software; you can redistribute it and/or
17089 # modify it under the terms of the GNU General Public License as
17090 # published by the Free Software Foundation; either version 2 of
17091 # the License, or (at your option) any later version.
17092 #
17093 # As a special exception to the GNU General Public License,
17094 # if you distribute this file as part of a program or library that
17095 # is built using GNU Libtool, you may include this file under the
17096 # same distribution terms that you use for the rest of that program.
17097 #
17098 # GNU Libtool is distributed in the hope that it will be useful,
17099 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17100 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17101 # GNU General Public License for more details.
17102 #
17103 # You should have received a copy of the GNU General Public License
17104 # along with GNU Libtool; see the file COPYING.  If not, a copy
17105 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17106 # obtained by writing to the Free Software Foundation, Inc.,
17107 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17108
17109
17110 # The names of the tagged configurations supported by this script.
17111 available_tags="CXX "
17112
17113 # ### BEGIN LIBTOOL CONFIG
17114
17115 # Assembler program.
17116 AS=$AS
17117
17118 # DLL creation program.
17119 DLLTOOL=$DLLTOOL
17120
17121 # Object dumper program.
17122 OBJDUMP=$OBJDUMP
17123
17124 # Whether or not to build static libraries.
17125 build_old_libs=$enable_static
17126
17127 # Which release of libtool.m4 was used?
17128 macro_version=$macro_version
17129 macro_revision=$macro_revision
17130
17131 # Whether or not to build shared libraries.
17132 build_libtool_libs=$enable_shared
17133
17134 # What type of objects to build.
17135 pic_mode=$pic_mode
17136
17137 # Whether or not to optimize for fast installation.
17138 fast_install=$enable_fast_install
17139
17140 # The host system.
17141 host_alias=$host_alias
17142 host=$host
17143 host_os=$host_os
17144
17145 # The build system.
17146 build_alias=$build_alias
17147 build=$build
17148 build_os=$build_os
17149
17150 # A sed program that does not truncate output.
17151 SED=$lt_SED
17152
17153 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17154 Xsed="\$SED -e 1s/^X//"
17155
17156 # A grep program that handles long lines.
17157 GREP=$lt_GREP
17158
17159 # An ERE matcher.
17160 EGREP=$lt_EGREP
17161
17162 # A literal string matcher.
17163 FGREP=$lt_FGREP
17164
17165 # A BSD- or MS-compatible name lister.
17166 NM=$lt_NM
17167
17168 # Whether we need soft or hard links.
17169 LN_S=$lt_LN_S
17170
17171 # What is the maximum length of a command?
17172 max_cmd_len=$max_cmd_len
17173
17174 # Object file suffix (normally "o").
17175 objext=$ac_objext
17176
17177 # Executable file suffix (normally "").
17178 exeext=$exeext
17179
17180 # whether the shell understands "unset".
17181 lt_unset=$lt_unset
17182
17183 # turn spaces into newlines.
17184 SP2NL=$lt_lt_SP2NL
17185
17186 # turn newlines into spaces.
17187 NL2SP=$lt_lt_NL2SP
17188
17189 # How to create reloadable object files.
17190 reload_flag=$lt_reload_flag
17191 reload_cmds=$lt_reload_cmds
17192
17193 # Method to check whether dependent libraries are shared objects.
17194 deplibs_check_method=$lt_deplibs_check_method
17195
17196 # Command to use when deplibs_check_method == "file_magic".
17197 file_magic_cmd=$lt_file_magic_cmd
17198
17199 # The archiver.
17200 AR=$lt_AR
17201 AR_FLAGS=$lt_AR_FLAGS
17202
17203 # A symbol stripping program.
17204 STRIP=$lt_STRIP
17205
17206 # Commands used to install an old-style archive.
17207 RANLIB=$lt_RANLIB
17208 old_postinstall_cmds=$lt_old_postinstall_cmds
17209 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17210
17211 # A C compiler.
17212 LTCC=$lt_CC
17213
17214 # LTCC compiler flags.
17215 LTCFLAGS=$lt_CFLAGS
17216
17217 # Take the output of nm and produce a listing of raw symbols and C names.
17218 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17219
17220 # Transform the output of nm in a proper C declaration.
17221 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17222
17223 # Transform the output of nm in a C name address pair.
17224 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17225
17226 # Transform the output of nm in a C name address pair when lib prefix is needed.
17227 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17228
17229 # The name of the directory that contains temporary libtool files.
17230 objdir=$objdir
17231
17232 # Shell to use when invoking shell scripts.
17233 SHELL=$lt_SHELL
17234
17235 # An echo program that does not interpret backslashes.
17236 ECHO=$lt_ECHO
17237
17238 # Used to examine libraries when file_magic_cmd begins with "file".
17239 MAGIC_CMD=$MAGIC_CMD
17240
17241 # Must we lock files when doing compilation?
17242 need_locks=$lt_need_locks
17243
17244 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17245 DSYMUTIL=$lt_DSYMUTIL
17246
17247 # Tool to change global to local symbols on Mac OS X.
17248 NMEDIT=$lt_NMEDIT
17249
17250 # Tool to manipulate fat objects and archives on Mac OS X.
17251 LIPO=$lt_LIPO
17252
17253 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17254 OTOOL=$lt_OTOOL
17255
17256 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17257 OTOOL64=$lt_OTOOL64
17258
17259 # Old archive suffix (normally "a").
17260 libext=$libext
17261
17262 # Shared library suffix (normally ".so").
17263 shrext_cmds=$lt_shrext_cmds
17264
17265 # The commands to extract the exported symbol list from a shared archive.
17266 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17267
17268 # Variables whose values should be saved in libtool wrapper scripts and
17269 # restored at link time.
17270 variables_saved_for_relink=$lt_variables_saved_for_relink
17271
17272 # Do we need the "lib" prefix for modules?
17273 need_lib_prefix=$need_lib_prefix
17274
17275 # Do we need a version for libraries?
17276 need_version=$need_version
17277
17278 # Library versioning type.
17279 version_type=$version_type
17280
17281 # Shared library runtime path variable.
17282 runpath_var=$runpath_var
17283
17284 # Shared library path variable.
17285 shlibpath_var=$shlibpath_var
17286
17287 # Is shlibpath searched before the hard-coded library search path?
17288 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17289
17290 # Format of library name prefix.
17291 libname_spec=$lt_libname_spec
17292
17293 # List of archive names.  First name is the real one, the rest are links.
17294 # The last name is the one that the linker finds with -lNAME
17295 library_names_spec=$lt_library_names_spec
17296
17297 # The coded name of the library, if different from the real name.
17298 soname_spec=$lt_soname_spec
17299
17300 # Command to use after installation of a shared archive.
17301 postinstall_cmds=$lt_postinstall_cmds
17302
17303 # Command to use after uninstallation of a shared archive.
17304 postuninstall_cmds=$lt_postuninstall_cmds
17305
17306 # Commands used to finish a libtool library installation in a directory.
17307 finish_cmds=$lt_finish_cmds
17308
17309 # As "finish_cmds", except a single script fragment to be evaled but
17310 # not shown.
17311 finish_eval=$lt_finish_eval
17312
17313 # Whether we should hardcode library paths into libraries.
17314 hardcode_into_libs=$hardcode_into_libs
17315
17316 # Compile-time system search path for libraries.
17317 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17318
17319 # Run-time system search path for libraries.
17320 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17321
17322 # Whether dlopen is supported.
17323 dlopen_support=$enable_dlopen
17324
17325 # Whether dlopen of programs is supported.
17326 dlopen_self=$enable_dlopen_self
17327
17328 # Whether dlopen of statically linked programs is supported.
17329 dlopen_self_static=$enable_dlopen_self_static
17330
17331 # Commands to strip libraries.
17332 old_striplib=$lt_old_striplib
17333 striplib=$lt_striplib
17334
17335
17336 # The linker used to build libraries.
17337 LD=$lt_LD
17338
17339 # Commands used to build an old-style archive.
17340 old_archive_cmds=$lt_old_archive_cmds
17341
17342 # A language specific compiler.
17343 CC=$lt_compiler
17344
17345 # Is the compiler the GNU compiler?
17346 with_gcc=$GCC
17347
17348 # Compiler flag to turn off builtin functions.
17349 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17350
17351 # How to pass a linker flag through the compiler.
17352 wl=$lt_lt_prog_compiler_wl
17353
17354 # Additional compiler flags for building library objects.
17355 pic_flag=$lt_lt_prog_compiler_pic
17356
17357 # Compiler flag to prevent dynamic linking.
17358 link_static_flag=$lt_lt_prog_compiler_static
17359
17360 # Does compiler simultaneously support -c and -o options?
17361 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17362
17363 # Whether or not to add -lc for building shared libraries.
17364 build_libtool_need_lc=$archive_cmds_need_lc
17365
17366 # Whether or not to disallow shared libs when runtime libs are static.
17367 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17368
17369 # Compiler flag to allow reflexive dlopens.
17370 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17371
17372 # Compiler flag to generate shared objects directly from archives.
17373 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17374
17375 # Whether the compiler copes with passing no objects directly.
17376 compiler_needs_object=$lt_compiler_needs_object
17377
17378 # Create an old-style archive from a shared archive.
17379 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17380
17381 # Create a temporary old-style archive to link instead of a shared archive.
17382 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17383
17384 # Commands used to build a shared archive.
17385 archive_cmds=$lt_archive_cmds
17386 archive_expsym_cmds=$lt_archive_expsym_cmds
17387
17388 # Commands used to build a loadable module if different from building
17389 # a shared archive.
17390 module_cmds=$lt_module_cmds
17391 module_expsym_cmds=$lt_module_expsym_cmds
17392
17393 # Whether we are building with GNU ld or not.
17394 with_gnu_ld=$lt_with_gnu_ld
17395
17396 # Flag that allows shared libraries with undefined symbols to be built.
17397 allow_undefined_flag=$lt_allow_undefined_flag
17398
17399 # Flag that enforces no undefined symbols.
17400 no_undefined_flag=$lt_no_undefined_flag
17401
17402 # Flag to hardcode \$libdir into a binary during linking.
17403 # This must work even if \$libdir does not exist
17404 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17405
17406 # If ld is used when linking, flag to hardcode \$libdir into a binary
17407 # during linking.  This must work even if \$libdir does not exist.
17408 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17409
17410 # Whether we need a single "-rpath" flag with a separated argument.
17411 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17412
17413 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17414 # DIR into the resulting binary.
17415 hardcode_direct=$hardcode_direct
17416
17417 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17418 # DIR into the resulting binary and the resulting library dependency is
17419 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17420 # library is relocated.
17421 hardcode_direct_absolute=$hardcode_direct_absolute
17422
17423 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17424 # into the resulting binary.
17425 hardcode_minus_L=$hardcode_minus_L
17426
17427 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17428 # into the resulting binary.
17429 hardcode_shlibpath_var=$hardcode_shlibpath_var
17430
17431 # Set to "yes" if building a shared library automatically hardcodes DIR
17432 # into the library and all subsequent libraries and executables linked
17433 # against it.
17434 hardcode_automatic=$hardcode_automatic
17435
17436 # Set to yes if linker adds runtime paths of dependent libraries
17437 # to runtime path list.
17438 inherit_rpath=$inherit_rpath
17439
17440 # Whether libtool must link a program against all its dependency libraries.
17441 link_all_deplibs=$link_all_deplibs
17442
17443 # Fix the shell variable \$srcfile for the compiler.
17444 fix_srcfile_path=$lt_fix_srcfile_path
17445
17446 # Set to "yes" if exported symbols are required.
17447 always_export_symbols=$always_export_symbols
17448
17449 # The commands to list exported symbols.
17450 export_symbols_cmds=$lt_export_symbols_cmds
17451
17452 # Symbols that should not be listed in the preloaded symbols.
17453 exclude_expsyms=$lt_exclude_expsyms
17454
17455 # Symbols that must always be exported.
17456 include_expsyms=$lt_include_expsyms
17457
17458 # Commands necessary for linking programs (against libraries) with templates.
17459 prelink_cmds=$lt_prelink_cmds
17460
17461 # Specify filename containing input files.
17462 file_list_spec=$lt_file_list_spec
17463
17464 # How to hardcode a shared library path into an executable.
17465 hardcode_action=$hardcode_action
17466
17467 # The directories searched by this compiler when creating a shared library.
17468 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17469
17470 # Dependencies to place before and after the objects being linked to
17471 # create a shared library.
17472 predep_objects=$lt_predep_objects
17473 postdep_objects=$lt_postdep_objects
17474 predeps=$lt_predeps
17475 postdeps=$lt_postdeps
17476
17477 # The library search path used internally by the compiler when linking
17478 # a shared library.
17479 compiler_lib_search_path=$lt_compiler_lib_search_path
17480
17481 # ### END LIBTOOL CONFIG
17482
17483 _LT_EOF
17484
17485   case $host_os in
17486   aix3*)
17487     cat <<\_LT_EOF >> "$cfgfile"
17488 # AIX sometimes has problems with the GCC collect2 program.  For some
17489 # reason, if we set the COLLECT_NAMES environment variable, the problems
17490 # vanish in a puff of smoke.
17491 if test "X${COLLECT_NAMES+set}" != Xset; then
17492   COLLECT_NAMES=
17493   export COLLECT_NAMES
17494 fi
17495 _LT_EOF
17496     ;;
17497   esac
17498
17499
17500 ltmain="$ac_aux_dir/ltmain.sh"
17501
17502
17503   # We use sed instead of cat because bash on DJGPP gets confused if
17504   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17505   # text mode, it properly converts lines to CR/LF.  This bash problem
17506   # is reportedly fixed, but why not run on old versions too?
17507   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17508     || (rm -f "$cfgfile"; exit 1)
17509
17510   case $xsi_shell in
17511   yes)
17512     cat << \_LT_EOF >> "$cfgfile"
17513
17514 # func_dirname file append nondir_replacement
17515 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
17516 # otherwise set result to NONDIR_REPLACEMENT.
17517 func_dirname ()
17518 {
17519   case ${1} in
17520     */*) func_dirname_result="${1%/*}${2}" ;;
17521     *  ) func_dirname_result="${3}" ;;
17522   esac
17523 }
17524
17525 # func_basename file
17526 func_basename ()
17527 {
17528   func_basename_result="${1##*/}"
17529 }
17530
17531 # func_dirname_and_basename file append nondir_replacement
17532 # perform func_basename and func_dirname in a single function
17533 # call:
17534 #   dirname:  Compute the dirname of FILE.  If nonempty,
17535 #             add APPEND to the result, otherwise set result
17536 #             to NONDIR_REPLACEMENT.
17537 #             value returned in "$func_dirname_result"
17538 #   basename: Compute filename of FILE.
17539 #             value retuned in "$func_basename_result"
17540 # Implementation must be kept synchronized with func_dirname
17541 # and func_basename. For efficiency, we do not delegate to
17542 # those functions but instead duplicate the functionality here.
17543 func_dirname_and_basename ()
17544 {
17545   case ${1} in
17546     */*) func_dirname_result="${1%/*}${2}" ;;
17547     *  ) func_dirname_result="${3}" ;;
17548   esac
17549   func_basename_result="${1##*/}"
17550 }
17551
17552 # func_stripname prefix suffix name
17553 # strip PREFIX and SUFFIX off of NAME.
17554 # PREFIX and SUFFIX must not contain globbing or regex special
17555 # characters, hashes, percent signs, but SUFFIX may contain a leading
17556 # dot (in which case that matches only a dot).
17557 func_stripname ()
17558 {
17559   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17560   # positional parameters, so assign one to ordinary parameter first.
17561   func_stripname_result=${3}
17562   func_stripname_result=${func_stripname_result#"${1}"}
17563   func_stripname_result=${func_stripname_result%"${2}"}
17564 }
17565
17566 # func_opt_split
17567 func_opt_split ()
17568 {
17569   func_opt_split_opt=${1%%=*}
17570   func_opt_split_arg=${1#*=}
17571 }
17572
17573 # func_lo2o object
17574 func_lo2o ()
17575 {
17576   case ${1} in
17577     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
17578     *)    func_lo2o_result=${1} ;;
17579   esac
17580 }
17581
17582 # func_xform libobj-or-source
17583 func_xform ()
17584 {
17585   func_xform_result=${1%.*}.lo
17586 }
17587
17588 # func_arith arithmetic-term...
17589 func_arith ()
17590 {
17591   func_arith_result=$(( $* ))
17592 }
17593
17594 # func_len string
17595 # STRING may not start with a hyphen.
17596 func_len ()
17597 {
17598   func_len_result=${#1}
17599 }
17600
17601 _LT_EOF
17602     ;;
17603   *) # Bourne compatible functions.
17604     cat << \_LT_EOF >> "$cfgfile"
17605
17606 # func_dirname file append nondir_replacement
17607 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
17608 # otherwise set result to NONDIR_REPLACEMENT.
17609 func_dirname ()
17610 {
17611   # Extract subdirectory from the argument.
17612   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17613   if test "X$func_dirname_result" = "X${1}"; then
17614     func_dirname_result="${3}"
17615   else
17616     func_dirname_result="$func_dirname_result${2}"
17617   fi
17618 }
17619
17620 # func_basename file
17621 func_basename ()
17622 {
17623   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
17624 }
17625
17626
17627 # func_stripname prefix suffix name
17628 # strip PREFIX and SUFFIX off of NAME.
17629 # PREFIX and SUFFIX must not contain globbing or regex special
17630 # characters, hashes, percent signs, but SUFFIX may contain a leading
17631 # dot (in which case that matches only a dot).
17632 # func_strip_suffix prefix name
17633 func_stripname ()
17634 {
17635   case ${2} in
17636     .*) func_stripname_result=`$ECHO "X${3}" \
17637            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17638     *)  func_stripname_result=`$ECHO "X${3}" \
17639            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17640   esac
17641 }
17642
17643 # sed scripts:
17644 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
17645 my_sed_long_arg='1s/^-[^=]*=//'
17646
17647 # func_opt_split
17648 func_opt_split ()
17649 {
17650   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17651   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17652 }
17653
17654 # func_lo2o object
17655 func_lo2o ()
17656 {
17657   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17658 }
17659
17660 # func_xform libobj-or-source
17661 func_xform ()
17662 {
17663   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
17664 }
17665
17666 # func_arith arithmetic-term...
17667 func_arith ()
17668 {
17669   func_arith_result=`expr "$@"`
17670 }
17671
17672 # func_len string
17673 # STRING may not start with a hyphen.
17674 func_len ()
17675 {
17676   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17677 }
17678
17679 _LT_EOF
17680 esac
17681
17682 case $lt_shell_append in
17683   yes)
17684     cat << \_LT_EOF >> "$cfgfile"
17685
17686 # func_append var value
17687 # Append VALUE to the end of shell variable VAR.
17688 func_append ()
17689 {
17690   eval "$1+=\$2"
17691 }
17692 _LT_EOF
17693     ;;
17694   *)
17695     cat << \_LT_EOF >> "$cfgfile"
17696
17697 # func_append var value
17698 # Append VALUE to the end of shell variable VAR.
17699 func_append ()
17700 {
17701   eval "$1=\$$1\$2"
17702 }
17703
17704 _LT_EOF
17705     ;;
17706   esac
17707
17708
17709   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17710     || (rm -f "$cfgfile"; exit 1)
17711
17712   mv -f "$cfgfile" "$ofile" ||
17713     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17714   chmod +x "$ofile"
17715
17716
17717     cat <<_LT_EOF >> "$ofile"
17718
17719 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17720
17721 # The linker used to build libraries.
17722 LD=$lt_LD_CXX
17723
17724 # Commands used to build an old-style archive.
17725 old_archive_cmds=$lt_old_archive_cmds_CXX
17726
17727 # A language specific compiler.
17728 CC=$lt_compiler_CXX
17729
17730 # Is the compiler the GNU compiler?
17731 with_gcc=$GCC_CXX
17732
17733 # Compiler flag to turn off builtin functions.
17734 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17735
17736 # How to pass a linker flag through the compiler.
17737 wl=$lt_lt_prog_compiler_wl_CXX
17738
17739 # Additional compiler flags for building library objects.
17740 pic_flag=$lt_lt_prog_compiler_pic_CXX
17741
17742 # Compiler flag to prevent dynamic linking.
17743 link_static_flag=$lt_lt_prog_compiler_static_CXX
17744
17745 # Does compiler simultaneously support -c and -o options?
17746 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17747
17748 # Whether or not to add -lc for building shared libraries.
17749 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17750
17751 # Whether or not to disallow shared libs when runtime libs are static.
17752 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17753
17754 # Compiler flag to allow reflexive dlopens.
17755 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17756
17757 # Compiler flag to generate shared objects directly from archives.
17758 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17759
17760 # Whether the compiler copes with passing no objects directly.
17761 compiler_needs_object=$lt_compiler_needs_object_CXX
17762
17763 # Create an old-style archive from a shared archive.
17764 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17765
17766 # Create a temporary old-style archive to link instead of a shared archive.
17767 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17768
17769 # Commands used to build a shared archive.
17770 archive_cmds=$lt_archive_cmds_CXX
17771 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17772
17773 # Commands used to build a loadable module if different from building
17774 # a shared archive.
17775 module_cmds=$lt_module_cmds_CXX
17776 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17777
17778 # Whether we are building with GNU ld or not.
17779 with_gnu_ld=$lt_with_gnu_ld_CXX
17780
17781 # Flag that allows shared libraries with undefined symbols to be built.
17782 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17783
17784 # Flag that enforces no undefined symbols.
17785 no_undefined_flag=$lt_no_undefined_flag_CXX
17786
17787 # Flag to hardcode \$libdir into a binary during linking.
17788 # This must work even if \$libdir does not exist
17789 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17790
17791 # If ld is used when linking, flag to hardcode \$libdir into a binary
17792 # during linking.  This must work even if \$libdir does not exist.
17793 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17794
17795 # Whether we need a single "-rpath" flag with a separated argument.
17796 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17797
17798 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17799 # DIR into the resulting binary.
17800 hardcode_direct=$hardcode_direct_CXX
17801
17802 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17803 # DIR into the resulting binary and the resulting library dependency is
17804 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17805 # library is relocated.
17806 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17807
17808 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17809 # into the resulting binary.
17810 hardcode_minus_L=$hardcode_minus_L_CXX
17811
17812 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17813 # into the resulting binary.
17814 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17815
17816 # Set to "yes" if building a shared library automatically hardcodes DIR
17817 # into the library and all subsequent libraries and executables linked
17818 # against it.
17819 hardcode_automatic=$hardcode_automatic_CXX
17820
17821 # Set to yes if linker adds runtime paths of dependent libraries
17822 # to runtime path list.
17823 inherit_rpath=$inherit_rpath_CXX
17824
17825 # Whether libtool must link a program against all its dependency libraries.
17826 link_all_deplibs=$link_all_deplibs_CXX
17827
17828 # Fix the shell variable \$srcfile for the compiler.
17829 fix_srcfile_path=$lt_fix_srcfile_path_CXX
17830
17831 # Set to "yes" if exported symbols are required.
17832 always_export_symbols=$always_export_symbols_CXX
17833
17834 # The commands to list exported symbols.
17835 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17836
17837 # Symbols that should not be listed in the preloaded symbols.
17838 exclude_expsyms=$lt_exclude_expsyms_CXX
17839
17840 # Symbols that must always be exported.
17841 include_expsyms=$lt_include_expsyms_CXX
17842
17843 # Commands necessary for linking programs (against libraries) with templates.
17844 prelink_cmds=$lt_prelink_cmds_CXX
17845
17846 # Specify filename containing input files.
17847 file_list_spec=$lt_file_list_spec_CXX
17848
17849 # How to hardcode a shared library path into an executable.
17850 hardcode_action=$hardcode_action_CXX
17851
17852 # The directories searched by this compiler when creating a shared library.
17853 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17854
17855 # Dependencies to place before and after the objects being linked to
17856 # create a shared library.
17857 predep_objects=$lt_predep_objects_CXX
17858 postdep_objects=$lt_postdep_objects_CXX
17859 predeps=$lt_predeps_CXX
17860 postdeps=$lt_postdeps_CXX
17861
17862 # The library search path used internally by the compiler when linking
17863 # a shared library.
17864 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17865
17866 # ### END LIBTOOL TAG CONFIG: CXX
17867 _LT_EOF
17868
17869
17870 { (exit 0); exit 0; }
17871 _LTEOF
17872 chmod +x "$CONFIG_LT"
17873
17874 # configure is writing to config.log, but config.lt does its own redirection,
17875 # appending to config.log, which fails on DOS, as config.log is still kept
17876 # open by configure.  Here we exec the FD to /dev/null, effectively closing
17877 # config.log, so it can be properly (re)opened and appended to by config.lt.
17878 if test "$no_create" != yes; then
17879   lt_cl_success=:
17880   test "$silent" = yes &&
17881     lt_config_lt_args="$lt_config_lt_args --quiet"
17882   exec 5>/dev/null
17883   $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
17884   exec 5>>config.log
17885   $lt_cl_success || { (exit 1); exit 1; }
17886 fi
17887
17888
17889 { echo "$as_me:$LINENO: checking for some Win32 platform" >&5
17890 echo $ECHO_N "checking for some Win32 platform... $ECHO_C" >&6; }
17891 case "$host" in
17892   *-*-mingw*|*-*-cygwin*)
17893     pango_platform_win32=yes
17894     ;;
17895   *)
17896     pango_platform_win32=no
17897     ;;
17898 esac
17899 { echo "$as_me:$LINENO: result: $pango_platform_win32" >&5
17900 echo "${ECHO_T}$pango_platform_win32" >&6; }
17901
17902
17903 if test "$pango_platform_win32" = "yes"; then
17904   PLATFORM_WIN32_TRUE=
17905   PLATFORM_WIN32_FALSE='#'
17906 else
17907   PLATFORM_WIN32_TRUE='#'
17908   PLATFORM_WIN32_FALSE=
17909 fi
17910
17911
17912 if test "$pango_platform_win32" = "yes"; then
17913   if test -n "$ac_tool_prefix"; then
17914   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
17915 set dummy ${ac_tool_prefix}windres; ac_word=$2
17916 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17918 if test "${ac_cv_prog_WINDRES+set}" = set; then
17919   echo $ECHO_N "(cached) $ECHO_C" >&6
17920 else
17921   if test -n "$WINDRES"; then
17922   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
17923 else
17924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17925 for as_dir in $PATH
17926 do
17927   IFS=$as_save_IFS
17928   test -z "$as_dir" && as_dir=.
17929   for ac_exec_ext in '' $ac_executable_extensions; do
17930   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17931     ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
17932     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17933     break 2
17934   fi
17935 done
17936 done
17937 IFS=$as_save_IFS
17938
17939 fi
17940 fi
17941 WINDRES=$ac_cv_prog_WINDRES
17942 if test -n "$WINDRES"; then
17943   { echo "$as_me:$LINENO: result: $WINDRES" >&5
17944 echo "${ECHO_T}$WINDRES" >&6; }
17945 else
17946   { echo "$as_me:$LINENO: result: no" >&5
17947 echo "${ECHO_T}no" >&6; }
17948 fi
17949
17950
17951 fi
17952 if test -z "$ac_cv_prog_WINDRES"; then
17953   ac_ct_WINDRES=$WINDRES
17954   # Extract the first word of "windres", so it can be a program name with args.
17955 set dummy windres; ac_word=$2
17956 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17958 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
17959   echo $ECHO_N "(cached) $ECHO_C" >&6
17960 else
17961   if test -n "$ac_ct_WINDRES"; then
17962   ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
17963 else
17964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17965 for as_dir in $PATH
17966 do
17967   IFS=$as_save_IFS
17968   test -z "$as_dir" && as_dir=.
17969   for ac_exec_ext in '' $ac_executable_extensions; do
17970   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17971     ac_cv_prog_ac_ct_WINDRES="windres"
17972     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17973     break 2
17974   fi
17975 done
17976 done
17977 IFS=$as_save_IFS
17978
17979 fi
17980 fi
17981 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
17982 if test -n "$ac_ct_WINDRES"; then
17983   { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
17984 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
17985 else
17986   { echo "$as_me:$LINENO: result: no" >&5
17987 echo "${ECHO_T}no" >&6; }
17988 fi
17989
17990   if test "x$ac_ct_WINDRES" = x; then
17991     WINDRES="no"
17992   else
17993     case $cross_compiling:$ac_tool_warned in
17994 yes:)
17995 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17996 whose name does not start with the host triplet.  If you think this
17997 configuration is useful to you, please write to autoconf@gnu.org." >&5
17998 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17999 whose name does not start with the host triplet.  If you think this
18000 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18001 ac_tool_warned=yes ;;
18002 esac
18003     WINDRES=$ac_ct_WINDRES
18004   fi
18005 else
18006   WINDRES="$ac_cv_prog_WINDRES"
18007 fi
18008
18009   if test "$WINDRES" = no; then
18010     { { echo "$as_me:$LINENO: error: *** Could not find an implementation of windres in your PATH." >&5
18011 echo "$as_me: error: *** Could not find an implementation of windres in your PATH." >&2;}
18012    { (exit 1); exit 1; }; }
18013   fi
18014   # Extract the first word of "lib.exe", so it can be a program name with args.
18015 set dummy lib.exe; ac_word=$2
18016 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18018 if test "${ac_cv_prog_ms_librarian+set}" = set; then
18019   echo $ECHO_N "(cached) $ECHO_C" >&6
18020 else
18021   if test -n "$ms_librarian"; then
18022   ac_cv_prog_ms_librarian="$ms_librarian" # Let the user override the test.
18023 else
18024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18025 for as_dir in $PATH
18026 do
18027   IFS=$as_save_IFS
18028   test -z "$as_dir" && as_dir=.
18029   for ac_exec_ext in '' $ac_executable_extensions; do
18030   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18031     ac_cv_prog_ms_librarian="yes"
18032     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18033     break 2
18034   fi
18035 done
18036 done
18037 IFS=$as_save_IFS
18038
18039   test -z "$ac_cv_prog_ms_librarian" && ac_cv_prog_ms_librarian="no"
18040 fi
18041 fi
18042 ms_librarian=$ac_cv_prog_ms_librarian
18043 if test -n "$ms_librarian"; then
18044   { echo "$as_me:$LINENO: result: $ms_librarian" >&5
18045 echo "${ECHO_T}$ms_librarian" >&6; }
18046 else
18047   { echo "$as_me:$LINENO: result: no" >&5
18048 echo "${ECHO_T}no" >&6; }
18049 fi
18050
18051
18052 fi
18053
18054
18055 if test x$ms_librarian = xyes; then
18056   MS_LIB_AVAILABLE_TRUE=
18057   MS_LIB_AVAILABLE_FALSE='#'
18058 else
18059   MS_LIB_AVAILABLE_TRUE='#'
18060   MS_LIB_AVAILABLE_FALSE=
18061 fi
18062
18063
18064 if test "x$GCC" = "xyes"; then
18065   case " $CFLAGS " in
18066   *[\ \ ]-Wall[\ \      ]*) ;;
18067   *) CFLAGS="$CFLAGS -Wall" ;;
18068   esac
18069 fi
18070
18071
18072
18073
18074 # Check whether --enable-debug was given.
18075 if test "${enable_debug+set}" = set; then
18076   enableval=$enable_debug;
18077 else
18078   enable_debug=minimum
18079 fi
18080
18081
18082 if test "x$enable_debug" = "xyes"; then
18083   PANGO_DEBUG_FLAGS="-DPANGO_ENABLE_DEBUG"
18084 else
18085   PANGO_DEBUG_FLAGS="-DG_DISABLE_CAST_CHECKS"
18086
18087   if test "x$enable_debug" = "xno"; then
18088     PANGO_DEBUG_FLAGS="$GLIB_DEBUG_FLAGS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS $PANGO_DEBUG_FLAGS"
18089   fi
18090 fi
18091
18092
18093
18094 # Check whether --enable-rebuilds was given.
18095 if test "${enable_rebuilds+set}" = set; then
18096   enableval=$enable_rebuilds;
18097 else
18098   enable_rebuilds=yes
18099 fi
18100
18101
18102
18103
18104 if test $cross_compiling = yes; then
18105   CROSS_COMPILING_TRUE=
18106   CROSS_COMPILING_FALSE='#'
18107 else
18108   CROSS_COMPILING_TRUE='#'
18109   CROSS_COMPILING_FALSE=
18110 fi
18111
18112
18113 have_x=false
18114 if test "x$pango_os_win32" != xyes; then
18115   { echo "$as_me:$LINENO: checking for X" >&5
18116 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
18117
18118
18119 # Check whether --with-x was given.
18120 if test "${with_x+set}" = set; then
18121   withval=$with_x;
18122 fi
18123
18124 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
18125 if test "x$with_x" = xno; then
18126   # The user explicitly disabled X.
18127   have_x=disabled
18128 else
18129   case $x_includes,$x_libraries in #(
18130     *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
18131 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
18132    { (exit 1); exit 1; }; };; #(
18133     *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
18134   echo $ECHO_N "(cached) $ECHO_C" >&6
18135 else
18136   # One or both of the vars are not set, and there is no cached value.
18137 ac_x_includes=no ac_x_libraries=no
18138 rm -f -r conftest.dir
18139 if mkdir conftest.dir; then
18140   cd conftest.dir
18141   cat >Imakefile <<'_ACEOF'
18142 incroot:
18143         @echo incroot='${INCROOT}'
18144 usrlibdir:
18145         @echo usrlibdir='${USRLIBDIR}'
18146 libdir:
18147         @echo libdir='${LIBDIR}'
18148 _ACEOF
18149   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
18150     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
18151     for ac_var in incroot usrlibdir libdir; do
18152       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
18153     done
18154     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
18155     for ac_extension in a so sl; do
18156       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
18157          test -f "$ac_im_libdir/libX11.$ac_extension"; then
18158         ac_im_usrlibdir=$ac_im_libdir; break
18159       fi
18160     done
18161     # Screen out bogus values from the imake configuration.  They are
18162     # bogus both because they are the default anyway, and because
18163     # using them would break gcc on systems where it needs fixed includes.
18164     case $ac_im_incroot in
18165         /usr/include) ac_x_includes= ;;
18166         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
18167     esac
18168     case $ac_im_usrlibdir in
18169         /usr/lib | /lib) ;;
18170         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
18171     esac
18172   fi
18173   cd ..
18174   rm -f -r conftest.dir
18175 fi
18176
18177 # Standard set of common directories for X headers.
18178 # Check X11 before X11Rn because it is often a symlink to the current release.
18179 ac_x_header_dirs='
18180 /usr/X11/include
18181 /usr/X11R6/include
18182 /usr/X11R5/include
18183 /usr/X11R4/include
18184
18185 /usr/include/X11
18186 /usr/include/X11R6
18187 /usr/include/X11R5
18188 /usr/include/X11R4
18189
18190 /usr/local/X11/include
18191 /usr/local/X11R6/include
18192 /usr/local/X11R5/include
18193 /usr/local/X11R4/include
18194
18195 /usr/local/include/X11
18196 /usr/local/include/X11R6
18197 /usr/local/include/X11R5
18198 /usr/local/include/X11R4
18199
18200 /usr/X386/include
18201 /usr/x386/include
18202 /usr/XFree86/include/X11
18203
18204 /usr/include
18205 /usr/local/include
18206 /usr/unsupported/include
18207 /usr/athena/include
18208 /usr/local/x11r5/include
18209 /usr/lpp/Xamples/include
18210
18211 /usr/openwin/include
18212 /usr/openwin/share/include'
18213
18214 if test "$ac_x_includes" = no; then
18215   # Guess where to find include files, by looking for Xlib.h.
18216   # First, try using that file with no special directory specified.
18217   cat >conftest.$ac_ext <<_ACEOF
18218 /* confdefs.h.  */
18219 _ACEOF
18220 cat confdefs.h >>conftest.$ac_ext
18221 cat >>conftest.$ac_ext <<_ACEOF
18222 /* end confdefs.h.  */
18223 #include <X11/Xlib.h>
18224 _ACEOF
18225 if { (ac_try="$ac_cpp conftest.$ac_ext"
18226 case "(($ac_try" in
18227   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18228   *) ac_try_echo=$ac_try;;
18229 esac
18230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18231   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18232   ac_status=$?
18233   grep -v '^ *+' conftest.er1 >conftest.err
18234   rm -f conftest.er1
18235   cat conftest.err >&5
18236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18237   (exit $ac_status); } >/dev/null && {
18238          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18239          test ! -s conftest.err
18240        }; then
18241   # We can compile using X headers with no special include directory.
18242 ac_x_includes=
18243 else
18244   echo "$as_me: failed program was:" >&5
18245 sed 's/^/| /' conftest.$ac_ext >&5
18246
18247   for ac_dir in $ac_x_header_dirs; do
18248   if test -r "$ac_dir/X11/Xlib.h"; then
18249     ac_x_includes=$ac_dir
18250     break
18251   fi
18252 done
18253 fi
18254
18255 rm -f conftest.err conftest.$ac_ext
18256 fi # $ac_x_includes = no
18257
18258 if test "$ac_x_libraries" = no; then
18259   # Check for the libraries.
18260   # See if we find them without any special options.
18261   # Don't add to $LIBS permanently.
18262   ac_save_LIBS=$LIBS
18263   LIBS="-lX11 $LIBS"
18264   cat >conftest.$ac_ext <<_ACEOF
18265 /* confdefs.h.  */
18266 _ACEOF
18267 cat confdefs.h >>conftest.$ac_ext
18268 cat >>conftest.$ac_ext <<_ACEOF
18269 /* end confdefs.h.  */
18270 #include <X11/Xlib.h>
18271 int
18272 main ()
18273 {
18274 XrmInitialize ()
18275   ;
18276   return 0;
18277 }
18278 _ACEOF
18279 rm -f conftest.$ac_objext conftest$ac_exeext
18280 if { (ac_try="$ac_link"
18281 case "(($ac_try" in
18282   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18283   *) ac_try_echo=$ac_try;;
18284 esac
18285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18286   (eval "$ac_link") 2>conftest.er1
18287   ac_status=$?
18288   grep -v '^ *+' conftest.er1 >conftest.err
18289   rm -f conftest.er1
18290   cat conftest.err >&5
18291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292   (exit $ac_status); } && {
18293          test -z "$ac_c_werror_flag" ||
18294          test ! -s conftest.err
18295        } && test -s conftest$ac_exeext &&
18296        $as_test_x conftest$ac_exeext; then
18297   LIBS=$ac_save_LIBS
18298 # We can link X programs with no special library path.
18299 ac_x_libraries=
18300 else
18301   echo "$as_me: failed program was:" >&5
18302 sed 's/^/| /' conftest.$ac_ext >&5
18303
18304         LIBS=$ac_save_LIBS
18305 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
18306 do
18307   # Don't even attempt the hair of trying to link an X program!
18308   for ac_extension in a so sl; do
18309     if test -r "$ac_dir/libX11.$ac_extension"; then
18310       ac_x_libraries=$ac_dir
18311       break 2
18312     fi
18313   done
18314 done
18315 fi
18316
18317 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18318       conftest$ac_exeext conftest.$ac_ext
18319 fi # $ac_x_libraries = no
18320
18321 case $ac_x_includes,$ac_x_libraries in #(
18322   no,* | *,no | *\'*)
18323     # Didn't find X, or a directory has "'" in its name.
18324     ac_cv_have_x="have_x=no";; #(
18325   *)
18326     # Record where we found X for the cache.
18327     ac_cv_have_x="have_x=yes\
18328         ac_x_includes='$ac_x_includes'\
18329         ac_x_libraries='$ac_x_libraries'"
18330 esac
18331 fi
18332 ;; #(
18333     *) have_x=yes;;
18334   esac
18335   eval "$ac_cv_have_x"
18336 fi # $with_x != no
18337
18338 if test "$have_x" != yes; then
18339   { echo "$as_me:$LINENO: result: $have_x" >&5
18340 echo "${ECHO_T}$have_x" >&6; }
18341   no_x=yes
18342 else
18343   # If each of the values was on the command line, it overrides each guess.
18344   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
18345   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
18346   # Update the cache value to reflect the command line values.
18347   ac_cv_have_x="have_x=yes\
18348         ac_x_includes='$x_includes'\
18349         ac_x_libraries='$x_libraries'"
18350   { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
18351 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
18352 fi
18353
18354 if test "$no_x" = yes; then
18355   # Not all programs may use this symbol, but it does not hurt to define it.
18356
18357 cat >>confdefs.h <<\_ACEOF
18358 #define X_DISPLAY_MISSING 1
18359 _ACEOF
18360
18361   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
18362 else
18363   if test -n "$x_includes"; then
18364     X_CFLAGS="$X_CFLAGS -I$x_includes"
18365   fi
18366
18367   # It would also be nice to do this for all -L options, not just this one.
18368   if test -n "$x_libraries"; then
18369     X_LIBS="$X_LIBS -L$x_libraries"
18370     # For Solaris; some versions of Sun CC require a space after -R and
18371     # others require no space.  Words are not sufficient . . . .
18372     { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
18373 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
18374     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
18375     ac_xsave_c_werror_flag=$ac_c_werror_flag
18376     ac_c_werror_flag=yes
18377     cat >conftest.$ac_ext <<_ACEOF
18378 /* confdefs.h.  */
18379 _ACEOF
18380 cat confdefs.h >>conftest.$ac_ext
18381 cat >>conftest.$ac_ext <<_ACEOF
18382 /* end confdefs.h.  */
18383
18384 int
18385 main ()
18386 {
18387
18388   ;
18389   return 0;
18390 }
18391 _ACEOF
18392 rm -f conftest.$ac_objext conftest$ac_exeext
18393 if { (ac_try="$ac_link"
18394 case "(($ac_try" in
18395   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18396   *) ac_try_echo=$ac_try;;
18397 esac
18398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18399   (eval "$ac_link") 2>conftest.er1
18400   ac_status=$?
18401   grep -v '^ *+' conftest.er1 >conftest.err
18402   rm -f conftest.er1
18403   cat conftest.err >&5
18404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18405   (exit $ac_status); } && {
18406          test -z "$ac_c_werror_flag" ||
18407          test ! -s conftest.err
18408        } && test -s conftest$ac_exeext &&
18409        $as_test_x conftest$ac_exeext; then
18410   { echo "$as_me:$LINENO: result: no" >&5
18411 echo "${ECHO_T}no" >&6; }
18412        X_LIBS="$X_LIBS -R$x_libraries"
18413 else
18414   echo "$as_me: failed program was:" >&5
18415 sed 's/^/| /' conftest.$ac_ext >&5
18416
18417         LIBS="$ac_xsave_LIBS -R $x_libraries"
18418        cat >conftest.$ac_ext <<_ACEOF
18419 /* confdefs.h.  */
18420 _ACEOF
18421 cat confdefs.h >>conftest.$ac_ext
18422 cat >>conftest.$ac_ext <<_ACEOF
18423 /* end confdefs.h.  */
18424
18425 int
18426 main ()
18427 {
18428
18429   ;
18430   return 0;
18431 }
18432 _ACEOF
18433 rm -f conftest.$ac_objext conftest$ac_exeext
18434 if { (ac_try="$ac_link"
18435 case "(($ac_try" in
18436   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18437   *) ac_try_echo=$ac_try;;
18438 esac
18439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18440   (eval "$ac_link") 2>conftest.er1
18441   ac_status=$?
18442   grep -v '^ *+' conftest.er1 >conftest.err
18443   rm -f conftest.er1
18444   cat conftest.err >&5
18445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18446   (exit $ac_status); } && {
18447          test -z "$ac_c_werror_flag" ||
18448          test ! -s conftest.err
18449        } && test -s conftest$ac_exeext &&
18450        $as_test_x conftest$ac_exeext; then
18451   { echo "$as_me:$LINENO: result: yes" >&5
18452 echo "${ECHO_T}yes" >&6; }
18453           X_LIBS="$X_LIBS -R $x_libraries"
18454 else
18455   echo "$as_me: failed program was:" >&5
18456 sed 's/^/| /' conftest.$ac_ext >&5
18457
18458         { echo "$as_me:$LINENO: result: neither works" >&5
18459 echo "${ECHO_T}neither works" >&6; }
18460 fi
18461
18462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18463       conftest$ac_exeext conftest.$ac_ext
18464 fi
18465
18466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18467       conftest$ac_exeext conftest.$ac_ext
18468     ac_c_werror_flag=$ac_xsave_c_werror_flag
18469     LIBS=$ac_xsave_LIBS
18470   fi
18471
18472   # Check for system-dependent libraries X programs must link with.
18473   # Do this before checking for the system-independent R6 libraries
18474   # (-lICE), since we may need -lsocket or whatever for X linking.
18475
18476   if test "$ISC" = yes; then
18477     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
18478   else
18479     # Martyn Johnson says this is needed for Ultrix, if the X
18480     # libraries were built with DECnet support.  And Karl Berry says
18481     # the Alpha needs dnet_stub (dnet does not exist).
18482     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
18483     cat >conftest.$ac_ext <<_ACEOF
18484 /* confdefs.h.  */
18485 _ACEOF
18486 cat confdefs.h >>conftest.$ac_ext
18487 cat >>conftest.$ac_ext <<_ACEOF
18488 /* end confdefs.h.  */
18489
18490 /* Override any GCC internal prototype to avoid an error.
18491    Use char because int might match the return type of a GCC
18492    builtin and then its argument prototype would still apply.  */
18493 #ifdef __cplusplus
18494 extern "C"
18495 #endif
18496 char XOpenDisplay ();
18497 int
18498 main ()
18499 {
18500 return XOpenDisplay ();
18501   ;
18502   return 0;
18503 }
18504 _ACEOF
18505 rm -f conftest.$ac_objext conftest$ac_exeext
18506 if { (ac_try="$ac_link"
18507 case "(($ac_try" in
18508   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18509   *) ac_try_echo=$ac_try;;
18510 esac
18511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18512   (eval "$ac_link") 2>conftest.er1
18513   ac_status=$?
18514   grep -v '^ *+' conftest.er1 >conftest.err
18515   rm -f conftest.er1
18516   cat conftest.err >&5
18517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18518   (exit $ac_status); } && {
18519          test -z "$ac_c_werror_flag" ||
18520          test ! -s conftest.err
18521        } && test -s conftest$ac_exeext &&
18522        $as_test_x conftest$ac_exeext; then
18523   :
18524 else
18525   echo "$as_me: failed program was:" >&5
18526 sed 's/^/| /' conftest.$ac_ext >&5
18527
18528         { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
18529 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
18530 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
18531   echo $ECHO_N "(cached) $ECHO_C" >&6
18532 else
18533   ac_check_lib_save_LIBS=$LIBS
18534 LIBS="-ldnet  $LIBS"
18535 cat >conftest.$ac_ext <<_ACEOF
18536 /* confdefs.h.  */
18537 _ACEOF
18538 cat confdefs.h >>conftest.$ac_ext
18539 cat >>conftest.$ac_ext <<_ACEOF
18540 /* end confdefs.h.  */
18541
18542 /* Override any GCC internal prototype to avoid an error.
18543    Use char because int might match the return type of a GCC
18544    builtin and then its argument prototype would still apply.  */
18545 #ifdef __cplusplus
18546 extern "C"
18547 #endif
18548 char dnet_ntoa ();
18549 int
18550 main ()
18551 {
18552 return dnet_ntoa ();
18553   ;
18554   return 0;
18555 }
18556 _ACEOF
18557 rm -f conftest.$ac_objext conftest$ac_exeext
18558 if { (ac_try="$ac_link"
18559 case "(($ac_try" in
18560   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18561   *) ac_try_echo=$ac_try;;
18562 esac
18563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18564   (eval "$ac_link") 2>conftest.er1
18565   ac_status=$?
18566   grep -v '^ *+' conftest.er1 >conftest.err
18567   rm -f conftest.er1
18568   cat conftest.err >&5
18569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18570   (exit $ac_status); } && {
18571          test -z "$ac_c_werror_flag" ||
18572          test ! -s conftest.err
18573        } && test -s conftest$ac_exeext &&
18574        $as_test_x conftest$ac_exeext; then
18575   ac_cv_lib_dnet_dnet_ntoa=yes
18576 else
18577   echo "$as_me: failed program was:" >&5
18578 sed 's/^/| /' conftest.$ac_ext >&5
18579
18580         ac_cv_lib_dnet_dnet_ntoa=no
18581 fi
18582
18583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18584       conftest$ac_exeext conftest.$ac_ext
18585 LIBS=$ac_check_lib_save_LIBS
18586 fi
18587 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
18588 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
18589 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
18590   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
18591 fi
18592
18593     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
18594       { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
18595 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
18596 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
18597   echo $ECHO_N "(cached) $ECHO_C" >&6
18598 else
18599   ac_check_lib_save_LIBS=$LIBS
18600 LIBS="-ldnet_stub  $LIBS"
18601 cat >conftest.$ac_ext <<_ACEOF
18602 /* confdefs.h.  */
18603 _ACEOF
18604 cat confdefs.h >>conftest.$ac_ext
18605 cat >>conftest.$ac_ext <<_ACEOF
18606 /* end confdefs.h.  */
18607
18608 /* Override any GCC internal prototype to avoid an error.
18609    Use char because int might match the return type of a GCC
18610    builtin and then its argument prototype would still apply.  */
18611 #ifdef __cplusplus
18612 extern "C"
18613 #endif
18614 char dnet_ntoa ();
18615 int
18616 main ()
18617 {
18618 return dnet_ntoa ();
18619   ;
18620   return 0;
18621 }
18622 _ACEOF
18623 rm -f conftest.$ac_objext conftest$ac_exeext
18624 if { (ac_try="$ac_link"
18625 case "(($ac_try" in
18626   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18627   *) ac_try_echo=$ac_try;;
18628 esac
18629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18630   (eval "$ac_link") 2>conftest.er1
18631   ac_status=$?
18632   grep -v '^ *+' conftest.er1 >conftest.err
18633   rm -f conftest.er1
18634   cat conftest.err >&5
18635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18636   (exit $ac_status); } && {
18637          test -z "$ac_c_werror_flag" ||
18638          test ! -s conftest.err
18639        } && test -s conftest$ac_exeext &&
18640        $as_test_x conftest$ac_exeext; then
18641   ac_cv_lib_dnet_stub_dnet_ntoa=yes
18642 else
18643   echo "$as_me: failed program was:" >&5
18644 sed 's/^/| /' conftest.$ac_ext >&5
18645
18646         ac_cv_lib_dnet_stub_dnet_ntoa=no
18647 fi
18648
18649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18650       conftest$ac_exeext conftest.$ac_ext
18651 LIBS=$ac_check_lib_save_LIBS
18652 fi
18653 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
18654 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
18655 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
18656   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
18657 fi
18658
18659     fi
18660 fi
18661
18662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18663       conftest$ac_exeext conftest.$ac_ext
18664     LIBS="$ac_xsave_LIBS"
18665
18666     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
18667     # to get the SysV transport functions.
18668     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
18669     # needs -lnsl.
18670     # The nsl library prevents programs from opening the X display
18671     # on Irix 5.2, according to T.E. Dickey.
18672     # The functions gethostbyname, getservbyname, and inet_addr are
18673     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
18674     { echo "$as_me:$LINENO: checking for gethostbyname" >&5
18675 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
18676 if test "${ac_cv_func_gethostbyname+set}" = set; then
18677   echo $ECHO_N "(cached) $ECHO_C" >&6
18678 else
18679   cat >conftest.$ac_ext <<_ACEOF
18680 /* confdefs.h.  */
18681 _ACEOF
18682 cat confdefs.h >>conftest.$ac_ext
18683 cat >>conftest.$ac_ext <<_ACEOF
18684 /* end confdefs.h.  */
18685 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
18686    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18687 #define gethostbyname innocuous_gethostbyname
18688
18689 /* System header to define __stub macros and hopefully few prototypes,
18690     which can conflict with char gethostbyname (); below.
18691     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18692     <limits.h> exists even on freestanding compilers.  */
18693
18694 #ifdef __STDC__
18695 # include <limits.h>
18696 #else
18697 # include <assert.h>
18698 #endif
18699
18700 #undef gethostbyname
18701
18702 /* Override any GCC internal prototype to avoid an error.
18703    Use char because int might match the return type of a GCC
18704    builtin and then its argument prototype would still apply.  */
18705 #ifdef __cplusplus
18706 extern "C"
18707 #endif
18708 char gethostbyname ();
18709 /* The GNU C library defines this for functions which it implements
18710     to always fail with ENOSYS.  Some functions are actually named
18711     something starting with __ and the normal name is an alias.  */
18712 #if defined __stub_gethostbyname || defined __stub___gethostbyname
18713 choke me
18714 #endif
18715
18716 int
18717 main ()
18718 {
18719 return gethostbyname ();
18720   ;
18721   return 0;
18722 }
18723 _ACEOF
18724 rm -f conftest.$ac_objext conftest$ac_exeext
18725 if { (ac_try="$ac_link"
18726 case "(($ac_try" in
18727   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18728   *) ac_try_echo=$ac_try;;
18729 esac
18730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18731   (eval "$ac_link") 2>conftest.er1
18732   ac_status=$?
18733   grep -v '^ *+' conftest.er1 >conftest.err
18734   rm -f conftest.er1
18735   cat conftest.err >&5
18736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18737   (exit $ac_status); } && {
18738          test -z "$ac_c_werror_flag" ||
18739          test ! -s conftest.err
18740        } && test -s conftest$ac_exeext &&
18741        $as_test_x conftest$ac_exeext; then
18742   ac_cv_func_gethostbyname=yes
18743 else
18744   echo "$as_me: failed program was:" >&5
18745 sed 's/^/| /' conftest.$ac_ext >&5
18746
18747         ac_cv_func_gethostbyname=no
18748 fi
18749
18750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18751       conftest$ac_exeext conftest.$ac_ext
18752 fi
18753 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
18754 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
18755
18756     if test $ac_cv_func_gethostbyname = no; then
18757       { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
18758 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
18759 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
18760   echo $ECHO_N "(cached) $ECHO_C" >&6
18761 else
18762   ac_check_lib_save_LIBS=$LIBS
18763 LIBS="-lnsl  $LIBS"
18764 cat >conftest.$ac_ext <<_ACEOF
18765 /* confdefs.h.  */
18766 _ACEOF
18767 cat confdefs.h >>conftest.$ac_ext
18768 cat >>conftest.$ac_ext <<_ACEOF
18769 /* end confdefs.h.  */
18770
18771 /* Override any GCC internal prototype to avoid an error.
18772    Use char because int might match the return type of a GCC
18773    builtin and then its argument prototype would still apply.  */
18774 #ifdef __cplusplus
18775 extern "C"
18776 #endif
18777 char gethostbyname ();
18778 int
18779 main ()
18780 {
18781 return gethostbyname ();
18782   ;
18783   return 0;
18784 }
18785 _ACEOF
18786 rm -f conftest.$ac_objext conftest$ac_exeext
18787 if { (ac_try="$ac_link"
18788 case "(($ac_try" in
18789   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18790   *) ac_try_echo=$ac_try;;
18791 esac
18792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18793   (eval "$ac_link") 2>conftest.er1
18794   ac_status=$?
18795   grep -v '^ *+' conftest.er1 >conftest.err
18796   rm -f conftest.er1
18797   cat conftest.err >&5
18798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799   (exit $ac_status); } && {
18800          test -z "$ac_c_werror_flag" ||
18801          test ! -s conftest.err
18802        } && test -s conftest$ac_exeext &&
18803        $as_test_x conftest$ac_exeext; then
18804   ac_cv_lib_nsl_gethostbyname=yes
18805 else
18806   echo "$as_me: failed program was:" >&5
18807 sed 's/^/| /' conftest.$ac_ext >&5
18808
18809         ac_cv_lib_nsl_gethostbyname=no
18810 fi
18811
18812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18813       conftest$ac_exeext conftest.$ac_ext
18814 LIBS=$ac_check_lib_save_LIBS
18815 fi
18816 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
18817 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
18818 if test $ac_cv_lib_nsl_gethostbyname = yes; then
18819   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
18820 fi
18821
18822       if test $ac_cv_lib_nsl_gethostbyname = no; then
18823         { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
18824 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
18825 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
18826   echo $ECHO_N "(cached) $ECHO_C" >&6
18827 else
18828   ac_check_lib_save_LIBS=$LIBS
18829 LIBS="-lbsd  $LIBS"
18830 cat >conftest.$ac_ext <<_ACEOF
18831 /* confdefs.h.  */
18832 _ACEOF
18833 cat confdefs.h >>conftest.$ac_ext
18834 cat >>conftest.$ac_ext <<_ACEOF
18835 /* end confdefs.h.  */
18836
18837 /* Override any GCC internal prototype to avoid an error.
18838    Use char because int might match the return type of a GCC
18839    builtin and then its argument prototype would still apply.  */
18840 #ifdef __cplusplus
18841 extern "C"
18842 #endif
18843 char gethostbyname ();
18844 int
18845 main ()
18846 {
18847 return gethostbyname ();
18848   ;
18849   return 0;
18850 }
18851 _ACEOF
18852 rm -f conftest.$ac_objext conftest$ac_exeext
18853 if { (ac_try="$ac_link"
18854 case "(($ac_try" in
18855   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18856   *) ac_try_echo=$ac_try;;
18857 esac
18858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18859   (eval "$ac_link") 2>conftest.er1
18860   ac_status=$?
18861   grep -v '^ *+' conftest.er1 >conftest.err
18862   rm -f conftest.er1
18863   cat conftest.err >&5
18864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18865   (exit $ac_status); } && {
18866          test -z "$ac_c_werror_flag" ||
18867          test ! -s conftest.err
18868        } && test -s conftest$ac_exeext &&
18869        $as_test_x conftest$ac_exeext; then
18870   ac_cv_lib_bsd_gethostbyname=yes
18871 else
18872   echo "$as_me: failed program was:" >&5
18873 sed 's/^/| /' conftest.$ac_ext >&5
18874
18875         ac_cv_lib_bsd_gethostbyname=no
18876 fi
18877
18878 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18879       conftest$ac_exeext conftest.$ac_ext
18880 LIBS=$ac_check_lib_save_LIBS
18881 fi
18882 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
18883 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
18884 if test $ac_cv_lib_bsd_gethostbyname = yes; then
18885   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
18886 fi
18887
18888       fi
18889     fi
18890
18891     # lieder@skyler.mavd.honeywell.com says without -lsocket,
18892     # socket/setsockopt and other routines are undefined under SCO ODT
18893     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
18894     # on later versions), says Simon Leinen: it contains gethostby*
18895     # variants that don't use the name server (or something).  -lsocket
18896     # must be given before -lnsl if both are needed.  We assume that
18897     # if connect needs -lnsl, so does gethostbyname.
18898     { echo "$as_me:$LINENO: checking for connect" >&5
18899 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
18900 if test "${ac_cv_func_connect+set}" = set; then
18901   echo $ECHO_N "(cached) $ECHO_C" >&6
18902 else
18903   cat >conftest.$ac_ext <<_ACEOF
18904 /* confdefs.h.  */
18905 _ACEOF
18906 cat confdefs.h >>conftest.$ac_ext
18907 cat >>conftest.$ac_ext <<_ACEOF
18908 /* end confdefs.h.  */
18909 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
18910    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18911 #define connect innocuous_connect
18912
18913 /* System header to define __stub macros and hopefully few prototypes,
18914     which can conflict with char connect (); below.
18915     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18916     <limits.h> exists even on freestanding compilers.  */
18917
18918 #ifdef __STDC__
18919 # include <limits.h>
18920 #else
18921 # include <assert.h>
18922 #endif
18923
18924 #undef connect
18925
18926 /* Override any GCC internal prototype to avoid an error.
18927    Use char because int might match the return type of a GCC
18928    builtin and then its argument prototype would still apply.  */
18929 #ifdef __cplusplus
18930 extern "C"
18931 #endif
18932 char connect ();
18933 /* The GNU C library defines this for functions which it implements
18934     to always fail with ENOSYS.  Some functions are actually named
18935     something starting with __ and the normal name is an alias.  */
18936 #if defined __stub_connect || defined __stub___connect
18937 choke me
18938 #endif
18939
18940 int
18941 main ()
18942 {
18943 return connect ();
18944   ;
18945   return 0;
18946 }
18947 _ACEOF
18948 rm -f conftest.$ac_objext conftest$ac_exeext
18949 if { (ac_try="$ac_link"
18950 case "(($ac_try" in
18951   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18952   *) ac_try_echo=$ac_try;;
18953 esac
18954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18955   (eval "$ac_link") 2>conftest.er1
18956   ac_status=$?
18957   grep -v '^ *+' conftest.er1 >conftest.err
18958   rm -f conftest.er1
18959   cat conftest.err >&5
18960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18961   (exit $ac_status); } && {
18962          test -z "$ac_c_werror_flag" ||
18963          test ! -s conftest.err
18964        } && test -s conftest$ac_exeext &&
18965        $as_test_x conftest$ac_exeext; then
18966   ac_cv_func_connect=yes
18967 else
18968   echo "$as_me: failed program was:" >&5
18969 sed 's/^/| /' conftest.$ac_ext >&5
18970
18971         ac_cv_func_connect=no
18972 fi
18973
18974 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18975       conftest$ac_exeext conftest.$ac_ext
18976 fi
18977 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
18978 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
18979
18980     if test $ac_cv_func_connect = no; then
18981       { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
18982 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
18983 if test "${ac_cv_lib_socket_connect+set}" = set; then
18984   echo $ECHO_N "(cached) $ECHO_C" >&6
18985 else
18986   ac_check_lib_save_LIBS=$LIBS
18987 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
18988 cat >conftest.$ac_ext <<_ACEOF
18989 /* confdefs.h.  */
18990 _ACEOF
18991 cat confdefs.h >>conftest.$ac_ext
18992 cat >>conftest.$ac_ext <<_ACEOF
18993 /* end confdefs.h.  */
18994
18995 /* Override any GCC internal prototype to avoid an error.
18996    Use char because int might match the return type of a GCC
18997    builtin and then its argument prototype would still apply.  */
18998 #ifdef __cplusplus
18999 extern "C"
19000 #endif
19001 char connect ();
19002 int
19003 main ()
19004 {
19005 return connect ();
19006   ;
19007   return 0;
19008 }
19009 _ACEOF
19010 rm -f conftest.$ac_objext conftest$ac_exeext
19011 if { (ac_try="$ac_link"
19012 case "(($ac_try" in
19013   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19014   *) ac_try_echo=$ac_try;;
19015 esac
19016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19017   (eval "$ac_link") 2>conftest.er1
19018   ac_status=$?
19019   grep -v '^ *+' conftest.er1 >conftest.err
19020   rm -f conftest.er1
19021   cat conftest.err >&5
19022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19023   (exit $ac_status); } && {
19024          test -z "$ac_c_werror_flag" ||
19025          test ! -s conftest.err
19026        } && test -s conftest$ac_exeext &&
19027        $as_test_x conftest$ac_exeext; then
19028   ac_cv_lib_socket_connect=yes
19029 else
19030   echo "$as_me: failed program was:" >&5
19031 sed 's/^/| /' conftest.$ac_ext >&5
19032
19033         ac_cv_lib_socket_connect=no
19034 fi
19035
19036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19037       conftest$ac_exeext conftest.$ac_ext
19038 LIBS=$ac_check_lib_save_LIBS
19039 fi
19040 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
19041 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
19042 if test $ac_cv_lib_socket_connect = yes; then
19043   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
19044 fi
19045
19046     fi
19047
19048     # Guillermo Gomez says -lposix is necessary on A/UX.
19049     { echo "$as_me:$LINENO: checking for remove" >&5
19050 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
19051 if test "${ac_cv_func_remove+set}" = set; then
19052   echo $ECHO_N "(cached) $ECHO_C" >&6
19053 else
19054   cat >conftest.$ac_ext <<_ACEOF
19055 /* confdefs.h.  */
19056 _ACEOF
19057 cat confdefs.h >>conftest.$ac_ext
19058 cat >>conftest.$ac_ext <<_ACEOF
19059 /* end confdefs.h.  */
19060 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
19061    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19062 #define remove innocuous_remove
19063
19064 /* System header to define __stub macros and hopefully few prototypes,
19065     which can conflict with char remove (); below.
19066     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19067     <limits.h> exists even on freestanding compilers.  */
19068
19069 #ifdef __STDC__
19070 # include <limits.h>
19071 #else
19072 # include <assert.h>
19073 #endif
19074
19075 #undef remove
19076
19077 /* Override any GCC internal prototype to avoid an error.
19078    Use char because int might match the return type of a GCC
19079    builtin and then its argument prototype would still apply.  */
19080 #ifdef __cplusplus
19081 extern "C"
19082 #endif
19083 char remove ();
19084 /* The GNU C library defines this for functions which it implements
19085     to always fail with ENOSYS.  Some functions are actually named
19086     something starting with __ and the normal name is an alias.  */
19087 #if defined __stub_remove || defined __stub___remove
19088 choke me
19089 #endif
19090
19091 int
19092 main ()
19093 {
19094 return remove ();
19095   ;
19096   return 0;
19097 }
19098 _ACEOF
19099 rm -f conftest.$ac_objext conftest$ac_exeext
19100 if { (ac_try="$ac_link"
19101 case "(($ac_try" in
19102   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19103   *) ac_try_echo=$ac_try;;
19104 esac
19105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19106   (eval "$ac_link") 2>conftest.er1
19107   ac_status=$?
19108   grep -v '^ *+' conftest.er1 >conftest.err
19109   rm -f conftest.er1
19110   cat conftest.err >&5
19111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112   (exit $ac_status); } && {
19113          test -z "$ac_c_werror_flag" ||
19114          test ! -s conftest.err
19115        } && test -s conftest$ac_exeext &&
19116        $as_test_x conftest$ac_exeext; then
19117   ac_cv_func_remove=yes
19118 else
19119   echo "$as_me: failed program was:" >&5
19120 sed 's/^/| /' conftest.$ac_ext >&5
19121
19122         ac_cv_func_remove=no
19123 fi
19124
19125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19126       conftest$ac_exeext conftest.$ac_ext
19127 fi
19128 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
19129 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
19130
19131     if test $ac_cv_func_remove = no; then
19132       { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
19133 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
19134 if test "${ac_cv_lib_posix_remove+set}" = set; then
19135   echo $ECHO_N "(cached) $ECHO_C" >&6
19136 else
19137   ac_check_lib_save_LIBS=$LIBS
19138 LIBS="-lposix  $LIBS"
19139 cat >conftest.$ac_ext <<_ACEOF
19140 /* confdefs.h.  */
19141 _ACEOF
19142 cat confdefs.h >>conftest.$ac_ext
19143 cat >>conftest.$ac_ext <<_ACEOF
19144 /* end confdefs.h.  */
19145
19146 /* Override any GCC internal prototype to avoid an error.
19147    Use char because int might match the return type of a GCC
19148    builtin and then its argument prototype would still apply.  */
19149 #ifdef __cplusplus
19150 extern "C"
19151 #endif
19152 char remove ();
19153 int
19154 main ()
19155 {
19156 return remove ();
19157   ;
19158   return 0;
19159 }
19160 _ACEOF
19161 rm -f conftest.$ac_objext conftest$ac_exeext
19162 if { (ac_try="$ac_link"
19163 case "(($ac_try" in
19164   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19165   *) ac_try_echo=$ac_try;;
19166 esac
19167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19168   (eval "$ac_link") 2>conftest.er1
19169   ac_status=$?
19170   grep -v '^ *+' conftest.er1 >conftest.err
19171   rm -f conftest.er1
19172   cat conftest.err >&5
19173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19174   (exit $ac_status); } && {
19175          test -z "$ac_c_werror_flag" ||
19176          test ! -s conftest.err
19177        } && test -s conftest$ac_exeext &&
19178        $as_test_x conftest$ac_exeext; then
19179   ac_cv_lib_posix_remove=yes
19180 else
19181   echo "$as_me: failed program was:" >&5
19182 sed 's/^/| /' conftest.$ac_ext >&5
19183
19184         ac_cv_lib_posix_remove=no
19185 fi
19186
19187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19188       conftest$ac_exeext conftest.$ac_ext
19189 LIBS=$ac_check_lib_save_LIBS
19190 fi
19191 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
19192 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
19193 if test $ac_cv_lib_posix_remove = yes; then
19194   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
19195 fi
19196
19197     fi
19198
19199     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
19200     { echo "$as_me:$LINENO: checking for shmat" >&5
19201 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
19202 if test "${ac_cv_func_shmat+set}" = set; then
19203   echo $ECHO_N "(cached) $ECHO_C" >&6
19204 else
19205   cat >conftest.$ac_ext <<_ACEOF
19206 /* confdefs.h.  */
19207 _ACEOF
19208 cat confdefs.h >>conftest.$ac_ext
19209 cat >>conftest.$ac_ext <<_ACEOF
19210 /* end confdefs.h.  */
19211 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
19212    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19213 #define shmat innocuous_shmat
19214
19215 /* System header to define __stub macros and hopefully few prototypes,
19216     which can conflict with char shmat (); below.
19217     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19218     <limits.h> exists even on freestanding compilers.  */
19219
19220 #ifdef __STDC__
19221 # include <limits.h>
19222 #else
19223 # include <assert.h>
19224 #endif
19225
19226 #undef shmat
19227
19228 /* Override any GCC internal prototype to avoid an error.
19229    Use char because int might match the return type of a GCC
19230    builtin and then its argument prototype would still apply.  */
19231 #ifdef __cplusplus
19232 extern "C"
19233 #endif
19234 char shmat ();
19235 /* The GNU C library defines this for functions which it implements
19236     to always fail with ENOSYS.  Some functions are actually named
19237     something starting with __ and the normal name is an alias.  */
19238 #if defined __stub_shmat || defined __stub___shmat
19239 choke me
19240 #endif
19241
19242 int
19243 main ()
19244 {
19245 return shmat ();
19246   ;
19247   return 0;
19248 }
19249 _ACEOF
19250 rm -f conftest.$ac_objext conftest$ac_exeext
19251 if { (ac_try="$ac_link"
19252 case "(($ac_try" in
19253   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19254   *) ac_try_echo=$ac_try;;
19255 esac
19256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19257   (eval "$ac_link") 2>conftest.er1
19258   ac_status=$?
19259   grep -v '^ *+' conftest.er1 >conftest.err
19260   rm -f conftest.er1
19261   cat conftest.err >&5
19262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19263   (exit $ac_status); } && {
19264          test -z "$ac_c_werror_flag" ||
19265          test ! -s conftest.err
19266        } && test -s conftest$ac_exeext &&
19267        $as_test_x conftest$ac_exeext; then
19268   ac_cv_func_shmat=yes
19269 else
19270   echo "$as_me: failed program was:" >&5
19271 sed 's/^/| /' conftest.$ac_ext >&5
19272
19273         ac_cv_func_shmat=no
19274 fi
19275
19276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19277       conftest$ac_exeext conftest.$ac_ext
19278 fi
19279 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
19280 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
19281
19282     if test $ac_cv_func_shmat = no; then
19283       { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
19284 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
19285 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
19286   echo $ECHO_N "(cached) $ECHO_C" >&6
19287 else
19288   ac_check_lib_save_LIBS=$LIBS
19289 LIBS="-lipc  $LIBS"
19290 cat >conftest.$ac_ext <<_ACEOF
19291 /* confdefs.h.  */
19292 _ACEOF
19293 cat confdefs.h >>conftest.$ac_ext
19294 cat >>conftest.$ac_ext <<_ACEOF
19295 /* end confdefs.h.  */
19296
19297 /* Override any GCC internal prototype to avoid an error.
19298    Use char because int might match the return type of a GCC
19299    builtin and then its argument prototype would still apply.  */
19300 #ifdef __cplusplus
19301 extern "C"
19302 #endif
19303 char shmat ();
19304 int
19305 main ()
19306 {
19307 return shmat ();
19308   ;
19309   return 0;
19310 }
19311 _ACEOF
19312 rm -f conftest.$ac_objext conftest$ac_exeext
19313 if { (ac_try="$ac_link"
19314 case "(($ac_try" in
19315   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19316   *) ac_try_echo=$ac_try;;
19317 esac
19318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19319   (eval "$ac_link") 2>conftest.er1
19320   ac_status=$?
19321   grep -v '^ *+' conftest.er1 >conftest.err
19322   rm -f conftest.er1
19323   cat conftest.err >&5
19324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19325   (exit $ac_status); } && {
19326          test -z "$ac_c_werror_flag" ||
19327          test ! -s conftest.err
19328        } && test -s conftest$ac_exeext &&
19329        $as_test_x conftest$ac_exeext; then
19330   ac_cv_lib_ipc_shmat=yes
19331 else
19332   echo "$as_me: failed program was:" >&5
19333 sed 's/^/| /' conftest.$ac_ext >&5
19334
19335         ac_cv_lib_ipc_shmat=no
19336 fi
19337
19338 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19339       conftest$ac_exeext conftest.$ac_ext
19340 LIBS=$ac_check_lib_save_LIBS
19341 fi
19342 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
19343 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
19344 if test $ac_cv_lib_ipc_shmat = yes; then
19345   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
19346 fi
19347
19348     fi
19349   fi
19350
19351   # Check for libraries that X11R6 Xt/Xaw programs need.
19352   ac_save_LDFLAGS=$LDFLAGS
19353   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
19354   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
19355   # check for ICE first), but we must link in the order -lSM -lICE or
19356   # we get undefined symbols.  So assume we have SM if we have ICE.
19357   # These have to be linked with before -lX11, unlike the other
19358   # libraries we check for below, so use a different variable.
19359   # John Interrante, Karl Berry
19360   { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
19361 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
19362 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
19363   echo $ECHO_N "(cached) $ECHO_C" >&6
19364 else
19365   ac_check_lib_save_LIBS=$LIBS
19366 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
19367 cat >conftest.$ac_ext <<_ACEOF
19368 /* confdefs.h.  */
19369 _ACEOF
19370 cat confdefs.h >>conftest.$ac_ext
19371 cat >>conftest.$ac_ext <<_ACEOF
19372 /* end confdefs.h.  */
19373
19374 /* Override any GCC internal prototype to avoid an error.
19375    Use char because int might match the return type of a GCC
19376    builtin and then its argument prototype would still apply.  */
19377 #ifdef __cplusplus
19378 extern "C"
19379 #endif
19380 char IceConnectionNumber ();
19381 int
19382 main ()
19383 {
19384 return IceConnectionNumber ();
19385   ;
19386   return 0;
19387 }
19388 _ACEOF
19389 rm -f conftest.$ac_objext conftest$ac_exeext
19390 if { (ac_try="$ac_link"
19391 case "(($ac_try" in
19392   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19393   *) ac_try_echo=$ac_try;;
19394 esac
19395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19396   (eval "$ac_link") 2>conftest.er1
19397   ac_status=$?
19398   grep -v '^ *+' conftest.er1 >conftest.err
19399   rm -f conftest.er1
19400   cat conftest.err >&5
19401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402   (exit $ac_status); } && {
19403          test -z "$ac_c_werror_flag" ||
19404          test ! -s conftest.err
19405        } && test -s conftest$ac_exeext &&
19406        $as_test_x conftest$ac_exeext; then
19407   ac_cv_lib_ICE_IceConnectionNumber=yes
19408 else
19409   echo "$as_me: failed program was:" >&5
19410 sed 's/^/| /' conftest.$ac_ext >&5
19411
19412         ac_cv_lib_ICE_IceConnectionNumber=no
19413 fi
19414
19415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19416       conftest$ac_exeext conftest.$ac_ext
19417 LIBS=$ac_check_lib_save_LIBS
19418 fi
19419 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
19420 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
19421 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
19422   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
19423 fi
19424
19425   LDFLAGS=$ac_save_LDFLAGS
19426
19427 fi
19428
19429
19430   if test x$no_x = xyes ; then
19431     { echo "$as_me:$LINENO: WARNING: X development libraries not found" >&5
19432 echo "$as_me: WARNING: X development libraries not found" >&2;}
19433     have_x=false
19434   else
19435     X_LIBS="$X_LIBS -lX11"
19436     have_x=true
19437
19438 cat >>confdefs.h <<\_ACEOF
19439 #define HAVE_X 1
19440 _ACEOF
19441
19442   fi
19443 fi
19444
19445
19446 if $have_x; then
19447   HAVE_X_TRUE=
19448   HAVE_X_FALSE='#'
19449 else
19450   HAVE_X_TRUE='#'
19451   HAVE_X_FALSE=
19452 fi
19453
19454
19455 have_fontconfig=false
19456 have_freetype=false
19457 have_xft=false
19458
19459 #
19460 # Check for fontconfig
19461 #
19462
19463
19464 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
19465         if test -n "$ac_tool_prefix"; then
19466   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
19467 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
19468 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19470 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19471   echo $ECHO_N "(cached) $ECHO_C" >&6
19472 else
19473   case $PKG_CONFIG in
19474   [\\/]* | ?:[\\/]*)
19475   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19476   ;;
19477   *)
19478   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19479 for as_dir in $PATH
19480 do
19481   IFS=$as_save_IFS
19482   test -z "$as_dir" && as_dir=.
19483   for ac_exec_ext in '' $ac_executable_extensions; do
19484   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19485     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19486     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19487     break 2
19488   fi
19489 done
19490 done
19491 IFS=$as_save_IFS
19492
19493   ;;
19494 esac
19495 fi
19496 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19497 if test -n "$PKG_CONFIG"; then
19498   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19499 echo "${ECHO_T}$PKG_CONFIG" >&6; }
19500 else
19501   { echo "$as_me:$LINENO: result: no" >&5
19502 echo "${ECHO_T}no" >&6; }
19503 fi
19504
19505
19506 fi
19507 if test -z "$ac_cv_path_PKG_CONFIG"; then
19508   ac_pt_PKG_CONFIG=$PKG_CONFIG
19509   # Extract the first word of "pkg-config", so it can be a program name with args.
19510 set dummy pkg-config; ac_word=$2
19511 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19513 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
19514   echo $ECHO_N "(cached) $ECHO_C" >&6
19515 else
19516   case $ac_pt_PKG_CONFIG in
19517   [\\/]* | ?:[\\/]*)
19518   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
19519   ;;
19520   *)
19521   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19522 for as_dir in $PATH
19523 do
19524   IFS=$as_save_IFS
19525   test -z "$as_dir" && as_dir=.
19526   for ac_exec_ext in '' $ac_executable_extensions; do
19527   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19528     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19529     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19530     break 2
19531   fi
19532 done
19533 done
19534 IFS=$as_save_IFS
19535
19536   ;;
19537 esac
19538 fi
19539 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
19540 if test -n "$ac_pt_PKG_CONFIG"; then
19541   { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
19542 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
19543 else
19544   { echo "$as_me:$LINENO: result: no" >&5
19545 echo "${ECHO_T}no" >&6; }
19546 fi
19547
19548   if test "x$ac_pt_PKG_CONFIG" = x; then
19549     PKG_CONFIG=""
19550   else
19551     case $cross_compiling:$ac_tool_warned in
19552 yes:)
19553 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19554 whose name does not start with the host triplet.  If you think this
19555 configuration is useful to you, please write to autoconf@gnu.org." >&5
19556 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19557 whose name does not start with the host triplet.  If you think this
19558 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19559 ac_tool_warned=yes ;;
19560 esac
19561     PKG_CONFIG=$ac_pt_PKG_CONFIG
19562   fi
19563 else
19564   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
19565 fi
19566
19567 fi
19568 if test -n "$PKG_CONFIG"; then
19569         _pkg_min_version=0.9.0
19570         { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
19571 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
19572         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
19573                 { echo "$as_me:$LINENO: result: yes" >&5
19574 echo "${ECHO_T}yes" >&6; }
19575         else
19576                 { echo "$as_me:$LINENO: result: no" >&5
19577 echo "${ECHO_T}no" >&6; }
19578                 PKG_CONFIG=""
19579         fi
19580
19581 fi
19582
19583 pkg_failed=no
19584 { echo "$as_me:$LINENO: checking for FONTCONFIG" >&5
19585 echo $ECHO_N "checking for FONTCONFIG... $ECHO_C" >&6; }
19586
19587 if test -n "$PKG_CONFIG"; then
19588     if test -n "$FONTCONFIG_CFLAGS"; then
19589         pkg_cv_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS"
19590     else
19591         if test -n "$PKG_CONFIG" && \
19592     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.5.0\"") >&5
19593   ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.0") 2>&5
19594   ac_status=$?
19595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19596   (exit $ac_status); }; then
19597   pkg_cv_FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.5.0" 2>/dev/null`
19598 else
19599   pkg_failed=yes
19600 fi
19601     fi
19602 else
19603         pkg_failed=untried
19604 fi
19605 if test -n "$PKG_CONFIG"; then
19606     if test -n "$FONTCONFIG_LIBS"; then
19607         pkg_cv_FONTCONFIG_LIBS="$FONTCONFIG_LIBS"
19608     else
19609         if test -n "$PKG_CONFIG" && \
19610     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.5.0\"") >&5
19611   ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.0") 2>&5
19612   ac_status=$?
19613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19614   (exit $ac_status); }; then
19615   pkg_cv_FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.5.0" 2>/dev/null`
19616 else
19617   pkg_failed=yes
19618 fi
19619     fi
19620 else
19621         pkg_failed=untried
19622 fi
19623
19624
19625
19626 if test $pkg_failed = yes; then
19627
19628 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19629         _pkg_short_errors_supported=yes
19630 else
19631         _pkg_short_errors_supported=no
19632 fi
19633         if test $_pkg_short_errors_supported = yes; then
19634                 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "fontconfig >= 2.5.0"`
19635         else
19636                 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "fontconfig >= 2.5.0"`
19637         fi
19638         # Put the nasty error message in config.log where it belongs
19639         echo "$FONTCONFIG_PKG_ERRORS" >&5
19640
19641         { echo "$as_me:$LINENO: result: no" >&5
19642 echo "${ECHO_T}no" >&6; }
19643                 { echo "$as_me:$LINENO: result: no" >&5
19644 echo "${ECHO_T}no" >&6; }
19645 elif test $pkg_failed = untried; then
19646         { echo "$as_me:$LINENO: result: no" >&5
19647 echo "${ECHO_T}no" >&6; }
19648 else
19649         FONTCONFIG_CFLAGS=$pkg_cv_FONTCONFIG_CFLAGS
19650         FONTCONFIG_LIBS=$pkg_cv_FONTCONFIG_LIBS
19651         { echo "$as_me:$LINENO: result: yes" >&5
19652 echo "${ECHO_T}yes" >&6; }
19653         have_fontconfig=true
19654 fi
19655
19656 #
19657 # Checks for FreeType
19658 #
19659 if $have_fontconfig ; then
19660   # The first version of freetype with a .pc file is 2.1.5.  That's recent
19661   # enough for all the functions we use I guess.  No version check needed.
19662
19663 pkg_failed=no
19664 { echo "$as_me:$LINENO: checking for FREETYPE" >&5
19665 echo $ECHO_N "checking for FREETYPE... $ECHO_C" >&6; }
19666
19667 if test -n "$PKG_CONFIG"; then
19668     if test -n "$FREETYPE_CFLAGS"; then
19669         pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
19670     else
19671         if test -n "$PKG_CONFIG" && \
19672     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"freetype2\"") >&5
19673   ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
19674   ac_status=$?
19675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19676   (exit $ac_status); }; then
19677   pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2" 2>/dev/null`
19678 else
19679   pkg_failed=yes
19680 fi
19681     fi
19682 else
19683         pkg_failed=untried
19684 fi
19685 if test -n "$PKG_CONFIG"; then
19686     if test -n "$FREETYPE_LIBS"; then
19687         pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
19688     else
19689         if test -n "$PKG_CONFIG" && \
19690     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"freetype2\"") >&5
19691   ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
19692   ac_status=$?
19693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19694   (exit $ac_status); }; then
19695   pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2" 2>/dev/null`
19696 else
19697   pkg_failed=yes
19698 fi
19699     fi
19700 else
19701         pkg_failed=untried
19702 fi
19703
19704
19705
19706 if test $pkg_failed = yes; then
19707
19708 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19709         _pkg_short_errors_supported=yes
19710 else
19711         _pkg_short_errors_supported=no
19712 fi
19713         if test $_pkg_short_errors_supported = yes; then
19714                 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "freetype2"`
19715         else
19716                 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
19717         fi
19718         # Put the nasty error message in config.log where it belongs
19719         echo "$FREETYPE_PKG_ERRORS" >&5
19720
19721         { echo "$as_me:$LINENO: result: no" >&5
19722 echo "${ECHO_T}no" >&6; }
19723                 { echo "$as_me:$LINENO: result: no" >&5
19724 echo "${ECHO_T}no" >&6; }
19725 elif test $pkg_failed = untried; then
19726         { echo "$as_me:$LINENO: result: no" >&5
19727 echo "${ECHO_T}no" >&6; }
19728 else
19729         FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
19730         FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
19731         { echo "$as_me:$LINENO: result: yes" >&5
19732 echo "${ECHO_T}yes" >&6; }
19733         have_freetype=true
19734 fi
19735 fi
19736 if $have_freetype ; then
19737
19738 cat >>confdefs.h <<\_ACEOF
19739 #define HAVE_FREETYPE 1
19740 _ACEOF
19741
19742   # By freetype, we really always mean freetype+fontconfig
19743   FREETYPE_CFLAGS="$FREETYPE_CFLAGS $FONTCONFIG_CFLAGS"
19744   FREETYPE_LIBS="$FREETYPE_LIBS $FONTCONFIG_LIBS"
19745 fi
19746
19747
19748 if $have_freetype; then
19749   HAVE_FREETYPE_TRUE=
19750   HAVE_FREETYPE_FALSE='#'
19751 else
19752   HAVE_FREETYPE_TRUE='#'
19753   HAVE_FREETYPE_FALSE=
19754 fi
19755
19756
19757 #
19758 # Checks for Xft/XRender
19759 #
19760 if $have_x && $have_freetype ; then
19761
19762 pkg_failed=no
19763 { echo "$as_me:$LINENO: checking for XFT" >&5
19764 echo $ECHO_N "checking for XFT... $ECHO_C" >&6; }
19765
19766 if test -n "$PKG_CONFIG"; then
19767     if test -n "$XFT_CFLAGS"; then
19768         pkg_cv_XFT_CFLAGS="$XFT_CFLAGS"
19769     else
19770         if test -n "$PKG_CONFIG" && \
19771     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xft >= 2.0.0 xrender\"") >&5
19772   ($PKG_CONFIG --exists --print-errors "xft >= 2.0.0 xrender") 2>&5
19773   ac_status=$?
19774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19775   (exit $ac_status); }; then
19776   pkg_cv_XFT_CFLAGS=`$PKG_CONFIG --cflags "xft >= 2.0.0 xrender" 2>/dev/null`
19777 else
19778   pkg_failed=yes
19779 fi
19780     fi
19781 else
19782         pkg_failed=untried
19783 fi
19784 if test -n "$PKG_CONFIG"; then
19785     if test -n "$XFT_LIBS"; then
19786         pkg_cv_XFT_LIBS="$XFT_LIBS"
19787     else
19788         if test -n "$PKG_CONFIG" && \
19789     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xft >= 2.0.0 xrender\"") >&5
19790   ($PKG_CONFIG --exists --print-errors "xft >= 2.0.0 xrender") 2>&5
19791   ac_status=$?
19792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19793   (exit $ac_status); }; then
19794   pkg_cv_XFT_LIBS=`$PKG_CONFIG --libs "xft >= 2.0.0 xrender" 2>/dev/null`
19795 else
19796   pkg_failed=yes
19797 fi
19798     fi
19799 else
19800         pkg_failed=untried
19801 fi
19802
19803
19804
19805 if test $pkg_failed = yes; then
19806
19807 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19808         _pkg_short_errors_supported=yes
19809 else
19810         _pkg_short_errors_supported=no
19811 fi
19812         if test $_pkg_short_errors_supported = yes; then
19813                 XFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xft >= 2.0.0 xrender"`
19814         else
19815                 XFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xft >= 2.0.0 xrender"`
19816         fi
19817         # Put the nasty error message in config.log where it belongs
19818         echo "$XFT_PKG_ERRORS" >&5
19819
19820         { echo "$as_me:$LINENO: result: no" >&5
19821 echo "${ECHO_T}no" >&6; }
19822                 { echo "$as_me:$LINENO: result: no" >&5
19823 echo "${ECHO_T}no" >&6; }
19824 elif test $pkg_failed = untried; then
19825         { echo "$as_me:$LINENO: result: no" >&5
19826 echo "${ECHO_T}no" >&6; }
19827 else
19828         XFT_CFLAGS=$pkg_cv_XFT_CFLAGS
19829         XFT_LIBS=$pkg_cv_XFT_LIBS
19830         { echo "$as_me:$LINENO: result: yes" >&5
19831 echo "${ECHO_T}yes" >&6; }
19832         have_xft=true
19833 fi
19834 fi
19835 if $have_xft ; then
19836
19837 cat >>confdefs.h <<\_ACEOF
19838 #define HAVE_XFT 1
19839 _ACEOF
19840
19841 fi
19842
19843
19844 if $have_xft; then
19845   HAVE_XFT_TRUE=
19846   HAVE_XFT_FALSE='#'
19847 else
19848   HAVE_XFT_TRUE='#'
19849   HAVE_XFT_FALSE=
19850 fi
19851
19852
19853 #
19854 # Checks for Win32 GDI
19855 #
19856 have_win32=false
19857 WIN32_LIBS=""
19858 WIN32_CFLAGS=""
19859 # The following doesn't work with autoconf-2.13, so we check $host instead
19860 # AC_CHECK_LIB(gdi32, GetTextMetricsA@8, have_win32=true, : )
19861 case "$host" in
19862   *-*-mingw*|*-*-cygwin*) have_win32=true ;;
19863 esac
19864
19865
19866 if test $have_win32 = true; then
19867   WIN32_LIBS="-lgdi32"
19868 fi
19869
19870
19871
19872
19873 if $have_win32; then
19874   HAVE_WIN32_TRUE=
19875   HAVE_WIN32_FALSE='#'
19876 else
19877   HAVE_WIN32_TRUE='#'
19878   HAVE_WIN32_FALSE=
19879 fi
19880
19881
19882 # Ensure MSVC-compatible struct packing convention is used when
19883 # compiling for Win32 with gcc.
19884 # What flag to depends on gcc version: gcc3 uses "-mms-bitfields", while
19885 # gcc2 uses "-fnative-struct".
19886 if test "$pango_os_win32" = "yes"; then
19887   if test x"$GCC" = xyes; then
19888     msnative_struct=''
19889     { echo "$as_me:$LINENO: checking how to get MSVC-compatible struct packing" >&5
19890 echo $ECHO_N "checking how to get MSVC-compatible struct packing... $ECHO_C" >&6; }
19891     if test -z "$ac_cv_prog_CC"; then
19892       our_gcc="$CC"
19893     else
19894       our_gcc="$ac_cv_prog_CC"
19895     fi
19896     case `$our_gcc --version | sed -e 's,\..*,.,' -e q` in
19897       2.)
19898         if $our_gcc -v --help 2>/dev/null | grep fnative-struct >/dev/null; then
19899           msnative_struct='-fnative-struct'
19900         fi
19901         ;;
19902       *)
19903         if $our_gcc -v --help 2>/dev/null | grep ms-bitfields >/dev/null; then
19904           msnative_struct='-mms-bitfields'
19905         fi
19906         ;;
19907     esac
19908     if test x"$msnative_struct" = x ; then
19909       { echo "$as_me:$LINENO: result: no way" >&5
19910 echo "${ECHO_T}no way" >&6; }
19911       { echo "$as_me:$LINENO: WARNING: produced libraries might be incompatible with MSVC-compiled code" >&5
19912 echo "$as_me: WARNING: produced libraries might be incompatible with MSVC-compiled code" >&2;}
19913     else
19914       CFLAGS="$CFLAGS $msnative_struct"
19915       { echo "$as_me:$LINENO: result: ${msnative_struct}" >&5
19916 echo "${ECHO_T}${msnative_struct}" >&6; }
19917     fi
19918   fi
19919 fi
19920
19921 #
19922 # Checks for ATSUI
19923 #
19924 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
19925   { echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
19926 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6; }
19927 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
19928   echo $ECHO_N "(cached) $ECHO_C" >&6
19929 fi
19930 { echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
19931 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6; }
19932 else
19933   # Is the header compilable?
19934 { echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5
19935 echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6; }
19936 cat >conftest.$ac_ext <<_ACEOF
19937 /* confdefs.h.  */
19938 _ACEOF
19939 cat confdefs.h >>conftest.$ac_ext
19940 cat >>conftest.$ac_ext <<_ACEOF
19941 /* end confdefs.h.  */
19942 $ac_includes_default
19943 #include <Carbon/Carbon.h>
19944 _ACEOF
19945 rm -f conftest.$ac_objext
19946 if { (ac_try="$ac_compile"
19947 case "(($ac_try" in
19948   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19949   *) ac_try_echo=$ac_try;;
19950 esac
19951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19952   (eval "$ac_compile") 2>conftest.er1
19953   ac_status=$?
19954   grep -v '^ *+' conftest.er1 >conftest.err
19955   rm -f conftest.er1
19956   cat conftest.err >&5
19957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19958   (exit $ac_status); } && {
19959          test -z "$ac_c_werror_flag" ||
19960          test ! -s conftest.err
19961        } && test -s conftest.$ac_objext; then
19962   ac_header_compiler=yes
19963 else
19964   echo "$as_me: failed program was:" >&5
19965 sed 's/^/| /' conftest.$ac_ext >&5
19966
19967         ac_header_compiler=no
19968 fi
19969
19970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19971 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19972 echo "${ECHO_T}$ac_header_compiler" >&6; }
19973
19974 # Is the header present?
19975 { echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5
19976 echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6; }
19977 cat >conftest.$ac_ext <<_ACEOF
19978 /* confdefs.h.  */
19979 _ACEOF
19980 cat confdefs.h >>conftest.$ac_ext
19981 cat >>conftest.$ac_ext <<_ACEOF
19982 /* end confdefs.h.  */
19983 #include <Carbon/Carbon.h>
19984 _ACEOF
19985 if { (ac_try="$ac_cpp conftest.$ac_ext"
19986 case "(($ac_try" in
19987   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19988   *) ac_try_echo=$ac_try;;
19989 esac
19990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19991   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19992   ac_status=$?
19993   grep -v '^ *+' conftest.er1 >conftest.err
19994   rm -f conftest.er1
19995   cat conftest.err >&5
19996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19997   (exit $ac_status); } >/dev/null && {
19998          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19999          test ! -s conftest.err
20000        }; then
20001   ac_header_preproc=yes
20002 else
20003   echo "$as_me: failed program was:" >&5
20004 sed 's/^/| /' conftest.$ac_ext >&5
20005
20006   ac_header_preproc=no
20007 fi
20008
20009 rm -f conftest.err conftest.$ac_ext
20010 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20011 echo "${ECHO_T}$ac_header_preproc" >&6; }
20012
20013 # So?  What about this header?
20014 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20015   yes:no: )
20016     { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&5
20017 echo "$as_me: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20018     { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&5
20019 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&2;}
20020     ac_header_preproc=yes
20021     ;;
20022   no:yes:* )
20023     { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&5
20024 echo "$as_me: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&2;}
20025     { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h:     check for missing prerequisite headers?" >&5
20026 echo "$as_me: WARNING: Carbon/Carbon.h:     check for missing prerequisite headers?" >&2;}
20027     { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&5
20028 echo "$as_me: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&2;}
20029     { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h:     section \"Present But Cannot Be Compiled\"" >&5
20030 echo "$as_me: WARNING: Carbon/Carbon.h:     section \"Present But Cannot Be Compiled\"" >&2;}
20031     { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&5
20032 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;}
20033     { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&5
20034 echo "$as_me: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&2;}
20035     ( cat <<\_ASBOX
20036 ## -------------------------------------------------------------------- ##
20037 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=pango ##
20038 ## -------------------------------------------------------------------- ##
20039 _ASBOX
20040      ) | sed "s/^/$as_me: WARNING:     /" >&2
20041     ;;
20042 esac
20043 { echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
20044 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6; }
20045 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
20046   echo $ECHO_N "(cached) $ECHO_C" >&6
20047 else
20048   ac_cv_header_Carbon_Carbon_h=$ac_header_preproc
20049 fi
20050 { echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
20051 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6; }
20052
20053 fi
20054 if test $ac_cv_header_Carbon_Carbon_h = yes; then
20055   have_atsui=true
20056 else
20057   have_atsui=false
20058 fi
20059
20060
20061
20062 #
20063 # Checks for Cairo
20064 #
20065 have_cairo=false
20066 have_cairo_png=false
20067 have_cairo_ps=false
20068 have_cairo_pdf=false
20069 have_cairo_xlib=false
20070 have_cairo_freetype=false
20071 have_cairo_win32=false
20072 have_cairo_atsui=false
20073 cairo_required=1.7.6
20074
20075
20076 pkg_failed=no
20077 { echo "$as_me:$LINENO: checking for CAIRO" >&5
20078 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
20079
20080 if test -n "$PKG_CONFIG"; then
20081     if test -n "$CAIRO_CFLAGS"; then
20082         pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
20083     else
20084         if test -n "$PKG_CONFIG" && \
20085     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo >= \$cairo_required\"") >&5
20086   ($PKG_CONFIG --exists --print-errors "cairo >= $cairo_required") 2>&5
20087   ac_status=$?
20088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20089   (exit $ac_status); }; then
20090   pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= $cairo_required" 2>/dev/null`
20091 else
20092   pkg_failed=yes
20093 fi
20094     fi
20095 else
20096         pkg_failed=untried
20097 fi
20098 if test -n "$PKG_CONFIG"; then
20099     if test -n "$CAIRO_LIBS"; then
20100         pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
20101     else
20102         if test -n "$PKG_CONFIG" && \
20103     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo >= \$cairo_required\"") >&5
20104   ($PKG_CONFIG --exists --print-errors "cairo >= $cairo_required") 2>&5
20105   ac_status=$?
20106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20107   (exit $ac_status); }; then
20108   pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= $cairo_required" 2>/dev/null`
20109 else
20110   pkg_failed=yes
20111 fi
20112     fi
20113 else
20114         pkg_failed=untried
20115 fi
20116
20117
20118
20119 if test $pkg_failed = yes; then
20120
20121 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20122         _pkg_short_errors_supported=yes
20123 else
20124         _pkg_short_errors_supported=no
20125 fi
20126         if test $_pkg_short_errors_supported = yes; then
20127                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo >= $cairo_required"`
20128         else
20129                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= $cairo_required"`
20130         fi
20131         # Put the nasty error message in config.log where it belongs
20132         echo "$CAIRO_PKG_ERRORS" >&5
20133
20134         { echo "$as_me:$LINENO: result: no" >&5
20135 echo "${ECHO_T}no" >&6; }
20136                 { echo "$as_me:$LINENO: result: no" >&5
20137 echo "${ECHO_T}no" >&6; }
20138 elif test $pkg_failed = untried; then
20139         { echo "$as_me:$LINENO: result: no" >&5
20140 echo "${ECHO_T}no" >&6; }
20141 else
20142         CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
20143         CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
20144         { echo "$as_me:$LINENO: result: yes" >&5
20145 echo "${ECHO_T}yes" >&6; }
20146         have_cairo=true
20147 fi
20148
20149 if $have_cairo ; then
20150   pango_save_libs=$LIBS
20151   LIBS="$LIBS $CAIRO_LIBS"
20152   pango_save_ldflags=$LDFLAGS
20153   LDFLAGS="$LDFLAGS $CAIRO_LIBS"
20154
20155   have_cairo=false
20156   cairo_font_backends=""
20157
20158   if $have_freetype; then
20159     if test -n "$PKG_CONFIG" && \
20160     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo-ft >= \$cairo_required\"") >&5
20161   ($PKG_CONFIG --exists --print-errors "cairo-ft >= $cairo_required") 2>&5
20162   ac_status=$?
20163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20164   (exit $ac_status); }; then
20165   have_cairo_freetype=true
20166 else
20167   :
20168 fi
20169   fi
20170   if $have_cairo_freetype; then
20171
20172 cat >>confdefs.h <<\_ACEOF
20173 #define HAVE_CAIRO_FREETYPE 1
20174 _ACEOF
20175
20176     cairo_font_backends="freetype $cairo_font_backends"
20177     have_cairo=true
20178   fi
20179
20180   if $have_win32; then
20181     if test -n "$PKG_CONFIG" && \
20182     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo-win32 >= \$cairo_required\"") >&5
20183   ($PKG_CONFIG --exists --print-errors "cairo-win32 >= $cairo_required") 2>&5
20184   ac_status=$?
20185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20186   (exit $ac_status); }; then
20187   have_cairo_win32=true
20188 else
20189   :
20190 fi
20191   fi
20192   if $have_cairo_win32; then
20193
20194 cat >>confdefs.h <<\_ACEOF
20195 #define HAVE_CAIRO_WIN32 1
20196 _ACEOF
20197
20198     cairo_font_backends="win32 $cairo_font_backends"
20199     have_cairo=true
20200   fi
20201
20202   if $have_atsui; then
20203     if test -n "$PKG_CONFIG" && \
20204     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo-quartz-font >= \$cairo_required\"") >&5
20205   ($PKG_CONFIG --exists --print-errors "cairo-quartz-font >= $cairo_required") 2>&5
20206   ac_status=$?
20207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20208   (exit $ac_status); }; then
20209   have_cairo_atsui=true
20210 else
20211   :
20212 fi
20213   fi
20214   if $have_cairo_atsui; then
20215
20216 cat >>confdefs.h <<\_ACEOF
20217 #define HAVE_CAIRO_ATSUI 1
20218 _ACEOF
20219
20220     cairo_font_backends="quartz $cairo_font_backends"
20221     have_cairo=true
20222   fi
20223
20224   { echo "$as_me:$LINENO: checking which cairo font backends could be used" >&5
20225 echo $ECHO_N "checking which cairo font backends could be used... $ECHO_C" >&6; }
20226   if $have_cairo ; then
20227     { echo "$as_me:$LINENO: result: $cairo_font_backends" >&5
20228 echo "${ECHO_T}$cairo_font_backends" >&6; }
20229   else
20230     { echo "$as_me:$LINENO: result: none" >&5
20231 echo "${ECHO_T}none" >&6; }
20232     { echo "$as_me:$LINENO: Disabling cairo support" >&5
20233 echo "$as_me: Disabling cairo support" >&6;}
20234   fi
20235
20236   if $have_cairo ; then
20237
20238 cat >>confdefs.h <<\_ACEOF
20239 #define HAVE_CAIRO 1
20240 _ACEOF
20241
20242
20243     if test -n "$PKG_CONFIG" && \
20244     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo-png >= \$cairo_required\"") >&5
20245   ($PKG_CONFIG --exists --print-errors "cairo-png >= $cairo_required") 2>&5
20246   ac_status=$?
20247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248   (exit $ac_status); }; then
20249   have_cairo_png=true
20250 else
20251   :
20252 fi
20253     if $have_cairo_png; then
20254
20255 cat >>confdefs.h <<\_ACEOF
20256 #define HAVE_CAIRO_PNG 1
20257 _ACEOF
20258
20259     fi
20260
20261     if test -n "$PKG_CONFIG" && \
20262     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo-ps >= \$cairo_required\"") >&5
20263   ($PKG_CONFIG --exists --print-errors "cairo-ps >= $cairo_required") 2>&5
20264   ac_status=$?
20265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20266   (exit $ac_status); }; then
20267   have_cairo_ps=true
20268 else
20269   :
20270 fi
20271     if $have_cairo_ps; then
20272
20273 cat >>confdefs.h <<\_ACEOF
20274 #define HAVE_CAIRO_PS 1
20275 _ACEOF
20276
20277     fi
20278
20279     if test -n "$PKG_CONFIG" && \
20280     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo-pdf >= \$cairo_required\"") >&5
20281   ($PKG_CONFIG --exists --print-errors "cairo-pdf >= $cairo_required") 2>&5
20282   ac_status=$?
20283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20284   (exit $ac_status); }; then
20285   have_cairo_pdf=true
20286 else
20287   :
20288 fi
20289     if $have_cairo_pdf; then
20290
20291 cat >>confdefs.h <<\_ACEOF
20292 #define HAVE_CAIRO_PDF 1
20293 _ACEOF
20294
20295     fi
20296
20297     if test -n "$PKG_CONFIG" && \
20298     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo-xlib >= \$cairo_required\"") >&5
20299   ($PKG_CONFIG --exists --print-errors "cairo-xlib >= $cairo_required") 2>&5
20300   ac_status=$?
20301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20302   (exit $ac_status); }; then
20303   have_cairo_xlib=true
20304 else
20305   :
20306 fi
20307     if $have_cairo_xlib; then
20308
20309 cat >>confdefs.h <<\_ACEOF
20310 #define HAVE_CAIRO_XLIB 1
20311 _ACEOF
20312
20313     fi
20314   fi
20315
20316   LIBS=$pango_save_libs
20317   LDFLAGS=$pango_save_ldflags
20318 fi
20319
20320
20321
20322 if $have_cairo; then
20323   HAVE_CAIRO_TRUE=
20324   HAVE_CAIRO_FALSE='#'
20325 else
20326   HAVE_CAIRO_TRUE='#'
20327   HAVE_CAIRO_FALSE=
20328 fi
20329
20330
20331
20332 if $have_cairo_png; then
20333   HAVE_CAIRO_PNG_TRUE=
20334   HAVE_CAIRO_PNG_FALSE='#'
20335 else
20336   HAVE_CAIRO_PNG_TRUE='#'
20337   HAVE_CAIRO_PNG_FALSE=
20338 fi
20339
20340
20341
20342 if $have_cairo_ps; then
20343   HAVE_CAIRO_PS_TRUE=
20344   HAVE_CAIRO_PS_FALSE='#'
20345 else
20346   HAVE_CAIRO_PS_TRUE='#'
20347   HAVE_CAIRO_PS_FALSE=
20348 fi
20349
20350
20351
20352 if $have_cairo_pdf; then
20353   HAVE_CAIRO_PDF_TRUE=
20354   HAVE_CAIRO_PDF_FALSE='#'
20355 else
20356   HAVE_CAIRO_PDF_TRUE='#'
20357   HAVE_CAIRO_PDF_FALSE=
20358 fi
20359
20360
20361
20362 if $have_cairo_xlib; then
20363   HAVE_CAIRO_XLIB_TRUE=
20364   HAVE_CAIRO_XLIB_FALSE='#'
20365 else
20366   HAVE_CAIRO_XLIB_TRUE='#'
20367   HAVE_CAIRO_XLIB_FALSE=
20368 fi
20369
20370
20371
20372 if $have_cairo_win32; then
20373   HAVE_CAIRO_WIN32_TRUE=
20374   HAVE_CAIRO_WIN32_FALSE='#'
20375 else
20376   HAVE_CAIRO_WIN32_TRUE='#'
20377   HAVE_CAIRO_WIN32_FALSE=
20378 fi
20379
20380
20381
20382 if $have_cairo_freetype; then
20383   HAVE_CAIRO_FREETYPE_TRUE=
20384   HAVE_CAIRO_FREETYPE_FALSE='#'
20385 else
20386   HAVE_CAIRO_FREETYPE_TRUE='#'
20387   HAVE_CAIRO_FREETYPE_FALSE=
20388 fi
20389
20390
20391
20392 if $have_cairo_atsui; then
20393   HAVE_CAIRO_ATSUI_TRUE=
20394   HAVE_CAIRO_ATSUI_FALSE='#'
20395 else
20396   HAVE_CAIRO_ATSUI_TRUE='#'
20397   HAVE_CAIRO_ATSUI_FALSE=
20398 fi
20399
20400
20401 #
20402 # We must have some backend defined, in order for the pango-querymodules
20403 # rule in pango/Makefile.am to work correctly. If you are up to writing
20404 # a new Pango backend outside of Pango, you are up to sending the necessary
20405 # patch to fix that rule. :-)
20406 #
20407 if $have_freetype || $have_x || $have_xft || $have_cairo || $have_win32 ; then : ; else
20408   { { echo "$as_me:$LINENO: error: *** Could not enable any of FreeType, X11, Cairo, or Win32 backends.
20409 *** Must have at least one backend to build Pango." >&5
20410 echo "$as_me: error: *** Could not enable any of FreeType, X11, Cairo, or Win32 backends.
20411 *** Must have at least one backend to build Pango." >&2;}
20412    { (exit 1); exit 1; }; }
20413 fi
20414
20415 #
20416 # Checks for GLib
20417 #
20418 GLIB_REQUIRED_VERSION=2.17.3
20419 GLIB_MODULES="glib-2.0 >= $GLIB_REQUIRED_VERSION gobject-2.0 gmodule-no-export-2.0"
20420
20421
20422 pkg_failed=no
20423 { echo "$as_me:$LINENO: checking for GLIB" >&5
20424 echo $ECHO_N "checking for GLIB... $ECHO_C" >&6; }
20425
20426 if test -n "$PKG_CONFIG"; then
20427     if test -n "$GLIB_CFLAGS"; then
20428         pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
20429     else
20430         if test -n "$PKG_CONFIG" && \
20431     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$GLIB_MODULES\"") >&5
20432   ($PKG_CONFIG --exists --print-errors "$GLIB_MODULES") 2>&5
20433   ac_status=$?
20434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20435   (exit $ac_status); }; then
20436   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$GLIB_MODULES" 2>/dev/null`
20437 else
20438   pkg_failed=yes
20439 fi
20440     fi
20441 else
20442         pkg_failed=untried
20443 fi
20444 if test -n "$PKG_CONFIG"; then
20445     if test -n "$GLIB_LIBS"; then
20446         pkg_cv_GLIB_LIBS="$GLIB_LIBS"
20447     else
20448         if test -n "$PKG_CONFIG" && \
20449     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$GLIB_MODULES\"") >&5
20450   ($PKG_CONFIG --exists --print-errors "$GLIB_MODULES") 2>&5
20451   ac_status=$?
20452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20453   (exit $ac_status); }; then
20454   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$GLIB_MODULES" 2>/dev/null`
20455 else
20456   pkg_failed=yes
20457 fi
20458     fi
20459 else
20460         pkg_failed=untried
20461 fi
20462
20463
20464
20465 if test $pkg_failed = yes; then
20466
20467 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20468         _pkg_short_errors_supported=yes
20469 else
20470         _pkg_short_errors_supported=no
20471 fi
20472         if test $_pkg_short_errors_supported = yes; then
20473                 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$GLIB_MODULES"`
20474         else
20475                 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$GLIB_MODULES"`
20476         fi
20477         # Put the nasty error message in config.log where it belongs
20478         echo "$GLIB_PKG_ERRORS" >&5
20479
20480         { echo "$as_me:$LINENO: result: no" >&5
20481 echo "${ECHO_T}no" >&6; }
20482                 { { echo "$as_me:$LINENO: error:
20483 *** Glib $GLIB_REQUIRED_VERSION or better is required. The latest version of
20484 *** Glib is always available from ftp://ftp.gtk.org/." >&5
20485 echo "$as_me: error:
20486 *** Glib $GLIB_REQUIRED_VERSION or better is required. The latest version of
20487 *** Glib is always available from ftp://ftp.gtk.org/." >&2;}
20488    { (exit 1); exit 1; }; }
20489 elif test $pkg_failed = untried; then
20490         { { echo "$as_me:$LINENO: error:
20491 *** Glib $GLIB_REQUIRED_VERSION or better is required. The latest version of
20492 *** Glib is always available from ftp://ftp.gtk.org/." >&5
20493 echo "$as_me: error:
20494 *** Glib $GLIB_REQUIRED_VERSION or better is required. The latest version of
20495 *** Glib is always available from ftp://ftp.gtk.org/." >&2;}
20496    { (exit 1); exit 1; }; }
20497 else
20498         GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
20499         GLIB_LIBS=$pkg_cv_GLIB_LIBS
20500         { echo "$as_me:$LINENO: result: yes" >&5
20501 echo "${ECHO_T}yes" >&6; }
20502         :
20503 fi
20504
20505 # Setup GLIB_MKENUMS to use glib-mkenums even if GLib is uninstalled.
20506 GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
20507
20508
20509
20510 # Add in gthread-2.0 to CFLAGS but not to LIBS so we get any
20511 # necesary defines for thread-safety.
20512 GLIB_CFLAGS=`$PKG_CONFIG --cflags $GLIB_MODULES gthread-2.0`
20513
20514 # See if it's safe to turn G_DISABLE_DEPRECATED on.
20515 GLIB_VERSION_MAJOR_MINOR=`$PKG_CONFIG --modversion glib-2.0 | sed "s/\.[^.]*\$//"`
20516 GLIB_REQUIRED_VERSION_MAJOR_MINOR=`echo $GLIB_REQUIRED_VERSION | sed "s/\.[^.]*\$//"`
20517 if test "x$GLIB_VERSION_MAJOR_MINOR" = "x$GLIB_REQUIRED_VERSION_MAJOR_MINOR"; then
20518   GLIB_CFLAGS="-DG_DISABLE_DEPRECATED $GLIB_CFLAGS"
20519 fi
20520
20521 #
20522 # Checks for LibThai
20523 #
20524 have_libthai=false
20525 LIBTHAI_REQUIRED_VERSION=0.1.9
20526
20527 pkg_failed=no
20528 { echo "$as_me:$LINENO: checking for LIBTHAI" >&5
20529 echo $ECHO_N "checking for LIBTHAI... $ECHO_C" >&6; }
20530
20531 if test -n "$PKG_CONFIG"; then
20532     if test -n "$LIBTHAI_CFLAGS"; then
20533         pkg_cv_LIBTHAI_CFLAGS="$LIBTHAI_CFLAGS"
20534     else
20535         if test -n "$PKG_CONFIG" && \
20536     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libthai >= \$LIBTHAI_REQUIRED_VERSION\"") >&5
20537   ($PKG_CONFIG --exists --print-errors "libthai >= $LIBTHAI_REQUIRED_VERSION") 2>&5
20538   ac_status=$?
20539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20540   (exit $ac_status); }; then
20541   pkg_cv_LIBTHAI_CFLAGS=`$PKG_CONFIG --cflags "libthai >= $LIBTHAI_REQUIRED_VERSION" 2>/dev/null`
20542 else
20543   pkg_failed=yes
20544 fi
20545     fi
20546 else
20547         pkg_failed=untried
20548 fi
20549 if test -n "$PKG_CONFIG"; then
20550     if test -n "$LIBTHAI_LIBS"; then
20551         pkg_cv_LIBTHAI_LIBS="$LIBTHAI_LIBS"
20552     else
20553         if test -n "$PKG_CONFIG" && \
20554     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libthai >= \$LIBTHAI_REQUIRED_VERSION\"") >&5
20555   ($PKG_CONFIG --exists --print-errors "libthai >= $LIBTHAI_REQUIRED_VERSION") 2>&5
20556   ac_status=$?
20557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20558   (exit $ac_status); }; then
20559   pkg_cv_LIBTHAI_LIBS=`$PKG_CONFIG --libs "libthai >= $LIBTHAI_REQUIRED_VERSION" 2>/dev/null`
20560 else
20561   pkg_failed=yes
20562 fi
20563     fi
20564 else
20565         pkg_failed=untried
20566 fi
20567
20568
20569
20570 if test $pkg_failed = yes; then
20571
20572 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20573         _pkg_short_errors_supported=yes
20574 else
20575         _pkg_short_errors_supported=no
20576 fi
20577         if test $_pkg_short_errors_supported = yes; then
20578                 LIBTHAI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libthai >= $LIBTHAI_REQUIRED_VERSION"`
20579         else
20580                 LIBTHAI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libthai >= $LIBTHAI_REQUIRED_VERSION"`
20581         fi
20582         # Put the nasty error message in config.log where it belongs
20583         echo "$LIBTHAI_PKG_ERRORS" >&5
20584
20585         { echo "$as_me:$LINENO: result: no" >&5
20586 echo "${ECHO_T}no" >&6; }
20587                 { echo "$as_me:$LINENO: result: no" >&5
20588 echo "${ECHO_T}no" >&6; }
20589 elif test $pkg_failed = untried; then
20590         { echo "$as_me:$LINENO: result: no" >&5
20591 echo "${ECHO_T}no" >&6; }
20592 else
20593         LIBTHAI_CFLAGS=$pkg_cv_LIBTHAI_CFLAGS
20594         LIBTHAI_LIBS=$pkg_cv_LIBTHAI_LIBS
20595         { echo "$as_me:$LINENO: result: yes" >&5
20596 echo "${ECHO_T}yes" >&6; }
20597         have_libthai=true
20598 fi
20599
20600 #
20601 # Checks for GObject Introspection
20602 #
20603 have_introspection=false
20604
20605 pkg_failed=no
20606 { echo "$as_me:$LINENO: checking for INTROSPECTION" >&5
20607 echo $ECHO_N "checking for INTROSPECTION... $ECHO_C" >&6; }
20608
20609 if test -n "$PKG_CONFIG"; then
20610     if test -n "$INTROSPECTION_CFLAGS"; then
20611         pkg_cv_INTROSPECTION_CFLAGS="$INTROSPECTION_CFLAGS"
20612     else
20613         if test -n "$PKG_CONFIG" && \
20614     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.4\"") >&5
20615   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.4") 2>&5
20616   ac_status=$?
20617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20618   (exit $ac_status); }; then
20619   pkg_cv_INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags "gobject-introspection-1.0 >= 0.6.4" 2>/dev/null`
20620 else
20621   pkg_failed=yes
20622 fi
20623     fi
20624 else
20625         pkg_failed=untried
20626 fi
20627 if test -n "$PKG_CONFIG"; then
20628     if test -n "$INTROSPECTION_LIBS"; then
20629         pkg_cv_INTROSPECTION_LIBS="$INTROSPECTION_LIBS"
20630     else
20631         if test -n "$PKG_CONFIG" && \
20632     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.4\"") >&5
20633   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.4") 2>&5
20634   ac_status=$?
20635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20636   (exit $ac_status); }; then
20637   pkg_cv_INTROSPECTION_LIBS=`$PKG_CONFIG --libs "gobject-introspection-1.0 >= 0.6.4" 2>/dev/null`
20638 else
20639   pkg_failed=yes
20640 fi
20641     fi
20642 else
20643         pkg_failed=untried
20644 fi
20645
20646
20647
20648 if test $pkg_failed = yes; then
20649
20650 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20651         _pkg_short_errors_supported=yes
20652 else
20653         _pkg_short_errors_supported=no
20654 fi
20655         if test $_pkg_short_errors_supported = yes; then
20656                 INTROSPECTION_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gobject-introspection-1.0 >= 0.6.4"`
20657         else
20658                 INTROSPECTION_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gobject-introspection-1.0 >= 0.6.4"`
20659         fi
20660         # Put the nasty error message in config.log where it belongs
20661         echo "$INTROSPECTION_PKG_ERRORS" >&5
20662
20663         { echo "$as_me:$LINENO: result: no" >&5
20664 echo "${ECHO_T}no" >&6; }
20665                 have_introspection=false
20666 elif test $pkg_failed = untried; then
20667         have_introspection=false
20668 else
20669         INTROSPECTION_CFLAGS=$pkg_cv_INTROSPECTION_CFLAGS
20670         INTROSPECTION_LIBS=$pkg_cv_INTROSPECTION_LIBS
20671         { echo "$as_me:$LINENO: result: yes" >&5
20672 echo "${ECHO_T}yes" >&6; }
20673         have_introspection=true
20674 fi
20675
20676
20677 if $have_introspection; then
20678   HAVE_INTROSPECTION_TRUE=
20679   HAVE_INTROSPECTION_FALSE='#'
20680 else
20681   HAVE_INTROSPECTION_TRUE='#'
20682   HAVE_INTROSPECTION_FALSE=
20683 fi
20684
20685
20686 G_IR_SCANNER=
20687 G_IR_COMPILER=
20688 G_IR_GENERATE=
20689 GIRDIR=
20690 TYPELIBDIR=
20691 if $have_introspection; then
20692    G_IR_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
20693    G_IR_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
20694    G_IR_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
20695    GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
20696    TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
20697 fi
20698
20699
20700
20701
20702
20703
20704 #
20705 # Modules to build
20706 #
20707 arabic_modules="arabic-fc,arabic-lang"
20708 basic_modules="basic-fc,basic-win32,basic-x,basic-atsui"
20709 hangul_modules="hangul-fc"
20710 hebrew_modules="hebrew-fc"
20711 indic_modules="indic-fc,indic-lang"
20712 khmer_modules="khmer-fc"
20713 syriac_modules="syriac-fc"
20714 thai_modules="thai-fc"
20715 tibetan_modules="tibetan-fc"
20716
20717 if $have_libthai ; then
20718   thai_modules="$thai_modules,thai-lang"
20719 fi
20720
20721 all_modules="$arabic_modules,$basic_modules,$hangul_modules,$hebrew_modules,$indic_modules,$khmer_modules,$syriac_modules,$thai_modules,$tibetan_modules"
20722
20723 #
20724 # Allow building some or all modules included
20725 #
20726 { echo "$as_me:$LINENO: checking modules to link statically" >&5
20727 echo $ECHO_N "checking modules to link statically... $ECHO_C" >&6; }
20728
20729
20730 # Check whether --with-included_modules was given.
20731 if test "${with_included_modules+set}" = set; then
20732   withval=$with_included_modules;
20733 fi
20734
20735
20736 included_modules=""
20737 case x$with_included_modules in
20738         xyes)   included_modules=$all_modules ;;
20739         xno|x)  included_modules="" ;;
20740         *)      included_modules=$with_included_modules ;;
20741 esac
20742 { echo "$as_me:$LINENO: result: $included_modules" >&5
20743 echo "${ECHO_T}$included_modules" >&6; }
20744
20745
20746 if test "x$included_modules" != x; then
20747   HAVE_INCLUDED_MODULES_TRUE=
20748   HAVE_INCLUDED_MODULES_FALSE='#'
20749 else
20750   HAVE_INCLUDED_MODULES_TRUE='#'
20751   HAVE_INCLUDED_MODULES_FALSE=
20752 fi
20753
20754
20755 #
20756 # Allow building only some or none of modules dynamic
20757 #
20758 { echo "$as_me:$LINENO: checking dynamic modules to build" >&5
20759 echo $ECHO_N "checking dynamic modules to build... $ECHO_C" >&6; }
20760
20761
20762 # Check whether --with-dynamic_modules was given.
20763 if test "${with_dynamic_modules+set}" = set; then
20764   withval=$with_dynamic_modules;
20765 fi
20766
20767
20768 dynamic_modules=""
20769 case x$with_dynamic_modules in
20770         xyes|x) dynamic_modules=$all_modules ;;
20771         xno)    dynamic_modules="" ;;
20772         *)      dynamic_modules=$with_dynamic_modules ;;
20773 esac
20774 { echo "$as_me:$LINENO: result: $dynamic_modules (those built into Pango will be excluded)" >&5
20775 echo "${ECHO_T}$dynamic_modules (those built into Pango will be excluded)" >&6; }
20776
20777
20778 if test "x$dynamic_modules" != x; then
20779   HAVE_DYNAMIC_MODULES_TRUE=
20780   HAVE_DYNAMIC_MODULES_FALSE='#'
20781 else
20782   HAVE_DYNAMIC_MODULES_TRUE='#'
20783   HAVE_DYNAMIC_MODULES_FALSE=
20784 fi
20785
20786
20787
20788 INCLUDED_X_MODULES=
20789 INCLUDED_FC_MODULES=
20790 INCLUDED_WIN32_MODULES=
20791 INCLUDED_ATSUI_MODULES=
20792 INCLUDED_LANG_MODULES=
20793
20794
20795
20796
20797
20798
20799
20800 IFS="${IFS=     }"; pango_save_ifs="$IFS"; IFS=", "
20801 for module in $included_modules; do
20802   case $indic_modules in
20803     *$module*)  dir=indic ;;
20804     *)          dir=`echo $module | sed "s/-.*//"` ;;
20805   esac
20806   included_path="\$(top_builddir)/modules/$dir/libpango-$module.la"
20807
20808   case $module in
20809     *-x)        INCLUDED_X_MODULES="$INCLUDED_X_MODULES $included_path" ;;
20810     *-fc)       INCLUDED_FC_MODULES="$INCLUDED_FC_MODULES $included_path" ;;
20811     *-win32)    INCLUDED_WIN32_MODULES="$INCLUDED_WIN32_MODULES $included_path" ;;
20812     *-atsui)    INCLUDED_ATSUI_MODULES="$INCLUDED_ATSUI_MODULES $included_path" ;;
20813     *-lang)     INCLUDED_LANG_MODULES="$INCLUDED_LANG_MODULES $included_path" ;;
20814     *)          { { echo "$as_me:$LINENO: error: specified module $module not recognized" >&5
20815 echo "$as_me: error: specified module $module not recognized" >&2;}
20816    { (exit 1); exit 1; }; } ;;
20817   esac
20818 done
20819 IFS="$pango_save_ifs"
20820
20821
20822
20823 if echo $included_modules | egrep '(^|,)arabic-fc($|,)'         > /dev/null; then
20824   INCLUDE_ARABIC_FC_TRUE=
20825   INCLUDE_ARABIC_FC_FALSE='#'
20826 else
20827   INCLUDE_ARABIC_FC_TRUE='#'
20828   INCLUDE_ARABIC_FC_FALSE=
20829 fi
20830
20831
20832
20833 if echo $included_modules | egrep '(^|,)arabic-lang($|,)'       > /dev/null; then
20834   INCLUDE_ARABIC_LANG_TRUE=
20835   INCLUDE_ARABIC_LANG_FALSE='#'
20836 else
20837   INCLUDE_ARABIC_LANG_TRUE='#'
20838   INCLUDE_ARABIC_LANG_FALSE=
20839 fi
20840
20841
20842
20843 if echo $included_modules | egrep '(^|,)basic-fc($|,)'  > /dev/null; then
20844   INCLUDE_BASIC_FC_TRUE=
20845   INCLUDE_BASIC_FC_FALSE='#'
20846 else
20847   INCLUDE_BASIC_FC_TRUE='#'
20848   INCLUDE_BASIC_FC_FALSE=
20849 fi
20850
20851
20852
20853 if echo $included_modules | egrep '(^|,)basic-win32($|,)'       > /dev/null; then
20854   INCLUDE_BASIC_WIN32_TRUE=
20855   INCLUDE_BASIC_WIN32_FALSE='#'
20856 else
20857   INCLUDE_BASIC_WIN32_TRUE='#'
20858   INCLUDE_BASIC_WIN32_FALSE=
20859 fi
20860
20861
20862
20863 if echo $included_modules | egrep '(^|,)basic-x($|,)'   > /dev/null; then
20864   INCLUDE_BASIC_X_TRUE=
20865   INCLUDE_BASIC_X_FALSE='#'
20866 else
20867   INCLUDE_BASIC_X_TRUE='#'
20868   INCLUDE_BASIC_X_FALSE=
20869 fi
20870
20871
20872
20873 if echo $included_modules | egrep '(^|,)basic-atsui($|,)'       > /dev/null; then
20874   INCLUDE_BASIC_ATSUI_TRUE=
20875   INCLUDE_BASIC_ATSUI_FALSE='#'
20876 else
20877   INCLUDE_BASIC_ATSUI_TRUE='#'
20878   INCLUDE_BASIC_ATSUI_FALSE=
20879 fi
20880
20881
20882
20883 if echo $included_modules | egrep '(^|,)hangul-fc($|,)'         > /dev/null; then
20884   INCLUDE_HANGUL_FC_TRUE=
20885   INCLUDE_HANGUL_FC_FALSE='#'
20886 else
20887   INCLUDE_HANGUL_FC_TRUE='#'
20888   INCLUDE_HANGUL_FC_FALSE=
20889 fi
20890
20891
20892
20893 if echo $included_modules | egrep '(^|,)hebrew-fc($|,)'         > /dev/null; then
20894   INCLUDE_HEBREW_FC_TRUE=
20895   INCLUDE_HEBREW_FC_FALSE='#'
20896 else
20897   INCLUDE_HEBREW_FC_TRUE='#'
20898   INCLUDE_HEBREW_FC_FALSE=
20899 fi
20900
20901
20902
20903 if echo $included_modules | egrep '(^|,)indic-fc($|,)'  > /dev/null; then
20904   INCLUDE_INDIC_FC_TRUE=
20905   INCLUDE_INDIC_FC_FALSE='#'
20906 else
20907   INCLUDE_INDIC_FC_TRUE='#'
20908   INCLUDE_INDIC_FC_FALSE=
20909 fi
20910
20911
20912
20913 if echo $included_modules | egrep '(^|,)indic-lang($|,)'        > /dev/null; then
20914   INCLUDE_INDIC_LANG_TRUE=
20915   INCLUDE_INDIC_LANG_FALSE='#'
20916 else
20917   INCLUDE_INDIC_LANG_TRUE='#'
20918   INCLUDE_INDIC_LANG_FALSE=
20919 fi
20920
20921
20922
20923 if echo $included_modules | egrep '(^|,)khmer-fc($|,)'  > /dev/null; then
20924   INCLUDE_KHMER_FC_TRUE=
20925   INCLUDE_KHMER_FC_FALSE='#'
20926 else
20927   INCLUDE_KHMER_FC_TRUE='#'
20928   INCLUDE_KHMER_FC_FALSE=
20929 fi
20930
20931
20932
20933 if echo $included_modules | egrep '(^|,)syriac-fc($|,)'         > /dev/null; then
20934   INCLUDE_SYRIAC_FC_TRUE=
20935   INCLUDE_SYRIAC_FC_FALSE='#'
20936 else
20937   INCLUDE_SYRIAC_FC_TRUE='#'
20938   INCLUDE_SYRIAC_FC_FALSE=
20939 fi
20940
20941
20942
20943 if echo $included_modules | egrep '(^|,)thai-fc($|,)'   > /dev/null; then
20944   INCLUDE_THAI_FC_TRUE=
20945   INCLUDE_THAI_FC_FALSE='#'
20946 else
20947   INCLUDE_THAI_FC_TRUE='#'
20948   INCLUDE_THAI_FC_FALSE=
20949 fi
20950
20951
20952
20953 if echo $included_modules | egrep '(^|,)thai-lang($|,)'         > /dev/null; then
20954   INCLUDE_THAI_LANG_TRUE=
20955   INCLUDE_THAI_LANG_FALSE='#'
20956 else
20957   INCLUDE_THAI_LANG_TRUE='#'
20958   INCLUDE_THAI_LANG_FALSE=
20959 fi
20960
20961
20962
20963 if echo $included_modules | egrep '(^|,)tibetan-fc($|,)'        > /dev/null; then
20964   INCLUDE_TIBETAN_FC_TRUE=
20965   INCLUDE_TIBETAN_FC_FALSE='#'
20966 else
20967   INCLUDE_TIBETAN_FC_TRUE='#'
20968   INCLUDE_TIBETAN_FC_FALSE=
20969 fi
20970
20971
20972
20973
20974 if echo $dynamic_modules | egrep '(^|,)arabic-fc($|,)'  > /dev/null; then
20975   DYNAMIC_ARABIC_FC_TRUE=
20976   DYNAMIC_ARABIC_FC_FALSE='#'
20977 else
20978   DYNAMIC_ARABIC_FC_TRUE='#'
20979   DYNAMIC_ARABIC_FC_FALSE=
20980 fi
20981
20982
20983
20984 if echo $dynamic_modules | egrep '(^|,)arabic-lang($|,)'        > /dev/null; then
20985   DYNAMIC_ARABIC_LANG_TRUE=
20986   DYNAMIC_ARABIC_LANG_FALSE='#'
20987 else
20988   DYNAMIC_ARABIC_LANG_TRUE='#'
20989   DYNAMIC_ARABIC_LANG_FALSE=
20990 fi
20991
20992
20993
20994 if echo $dynamic_modules | egrep '(^|,)basic-fc($|,)'   > /dev/null; then
20995   DYNAMIC_BASIC_FC_TRUE=
20996   DYNAMIC_BASIC_FC_FALSE='#'
20997 else
20998   DYNAMIC_BASIC_FC_TRUE='#'
20999   DYNAMIC_BASIC_FC_FALSE=
21000 fi
21001
21002
21003
21004 if echo $dynamic_modules | egrep '(^|,)basic-win32($|,)'        > /dev/null; then
21005   DYNAMIC_BASIC_WIN32_TRUE=
21006   DYNAMIC_BASIC_WIN32_FALSE='#'
21007 else
21008   DYNAMIC_BASIC_WIN32_TRUE='#'
21009   DYNAMIC_BASIC_WIN32_FALSE=
21010 fi
21011
21012
21013
21014 if echo $dynamic_modules | egrep '(^|,)basic-x($|,)'    > /dev/null; then
21015   DYNAMIC_BASIC_X_TRUE=
21016   DYNAMIC_BASIC_X_FALSE='#'
21017 else
21018   DYNAMIC_BASIC_X_TRUE='#'
21019   DYNAMIC_BASIC_X_FALSE=
21020 fi
21021
21022
21023
21024 if echo $dynamic_modules | egrep '(^|,)basic-atsui($|,)'        > /dev/null; then
21025   DYNAMIC_BASIC_ATSUI_TRUE=
21026   DYNAMIC_BASIC_ATSUI_FALSE='#'
21027 else
21028   DYNAMIC_BASIC_ATSUI_TRUE='#'
21029   DYNAMIC_BASIC_ATSUI_FALSE=
21030 fi
21031
21032
21033
21034 if echo $dynamic_modules | egrep '(^|,)hangul-fc($|,)'  > /dev/null; then
21035   DYNAMIC_HANGUL_FC_TRUE=
21036   DYNAMIC_HANGUL_FC_FALSE='#'
21037 else
21038   DYNAMIC_HANGUL_FC_TRUE='#'
21039   DYNAMIC_HANGUL_FC_FALSE=
21040 fi
21041
21042
21043
21044 if echo $dynamic_modules | egrep '(^|,)hebrew-fc($|,)'  > /dev/null; then
21045   DYNAMIC_HEBREW_FC_TRUE=
21046   DYNAMIC_HEBREW_FC_FALSE='#'
21047 else
21048   DYNAMIC_HEBREW_FC_TRUE='#'
21049   DYNAMIC_HEBREW_FC_FALSE=
21050 fi
21051
21052
21053
21054 if echo $dynamic_modules | egrep '(^|,)indic-fc($|,)'   > /dev/null; then
21055   DYNAMIC_INDIC_FC_TRUE=
21056   DYNAMIC_INDIC_FC_FALSE='#'
21057 else
21058   DYNAMIC_INDIC_FC_TRUE='#'
21059   DYNAMIC_INDIC_FC_FALSE=
21060 fi
21061
21062
21063
21064 if echo $dynamic_modules | egrep '(^|,)indic-lang($|,)' > /dev/null; then
21065   DYNAMIC_INDIC_LANG_TRUE=
21066   DYNAMIC_INDIC_LANG_FALSE='#'
21067 else
21068   DYNAMIC_INDIC_LANG_TRUE='#'
21069   DYNAMIC_INDIC_LANG_FALSE=
21070 fi
21071
21072
21073
21074 if echo $dynamic_modules | egrep '(^|,)khmer-fc($|,)'   > /dev/null; then
21075   DYNAMIC_KHMER_FC_TRUE=
21076   DYNAMIC_KHMER_FC_FALSE='#'
21077 else
21078   DYNAMIC_KHMER_FC_TRUE='#'
21079   DYNAMIC_KHMER_FC_FALSE=
21080 fi
21081
21082
21083
21084 if echo $dynamic_modules | egrep '(^|,)syriac-fc($|,)'  > /dev/null; then
21085   DYNAMIC_SYRIAC_FC_TRUE=
21086   DYNAMIC_SYRIAC_FC_FALSE='#'
21087 else
21088   DYNAMIC_SYRIAC_FC_TRUE='#'
21089   DYNAMIC_SYRIAC_FC_FALSE=
21090 fi
21091
21092
21093
21094 if echo $dynamic_modules | egrep '(^|,)thai-fc($|,)'    > /dev/null; then
21095   DYNAMIC_THAI_FC_TRUE=
21096   DYNAMIC_THAI_FC_FALSE='#'
21097 else
21098   DYNAMIC_THAI_FC_TRUE='#'
21099   DYNAMIC_THAI_FC_FALSE=
21100 fi
21101
21102
21103
21104 if echo $dynamic_modules | egrep '(^|,)thai-lang($|,)'  > /dev/null; then
21105   DYNAMIC_THAI_LANG_TRUE=
21106   DYNAMIC_THAI_LANG_FALSE='#'
21107 else
21108   DYNAMIC_THAI_LANG_TRUE='#'
21109   DYNAMIC_THAI_LANG_FALSE=
21110 fi
21111
21112
21113
21114 if echo $dynamic_modules | egrep '(^|,)tibetan-fc($|,)'         > /dev/null; then
21115   DYNAMIC_TIBETAN_FC_TRUE=
21116   DYNAMIC_TIBETAN_FC_FALSE='#'
21117 else
21118   DYNAMIC_TIBETAN_FC_TRUE='#'
21119   DYNAMIC_TIBETAN_FC_FALSE=
21120 fi
21121
21122
21123 #
21124 # We use flockfile to implement pango_getline() - should be moved to GLib
21125 # strtok_r isn't present on some systems
21126 #
21127
21128
21129 for ac_func in flockfile strtok_r
21130 do
21131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21132 { echo "$as_me:$LINENO: checking for $ac_func" >&5
21133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21134 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21135   echo $ECHO_N "(cached) $ECHO_C" >&6
21136 else
21137   cat >conftest.$ac_ext <<_ACEOF
21138 /* confdefs.h.  */
21139 _ACEOF
21140 cat confdefs.h >>conftest.$ac_ext
21141 cat >>conftest.$ac_ext <<_ACEOF
21142 /* end confdefs.h.  */
21143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21144    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21145 #define $ac_func innocuous_$ac_func
21146
21147 /* System header to define __stub macros and hopefully few prototypes,
21148     which can conflict with char $ac_func (); below.
21149     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21150     <limits.h> exists even on freestanding compilers.  */
21151
21152 #ifdef __STDC__
21153 # include <limits.h>
21154 #else
21155 # include <assert.h>
21156 #endif
21157
21158 #undef $ac_func
21159
21160 /* Override any GCC internal prototype to avoid an error.
21161    Use char because int might match the return type of a GCC
21162    builtin and then its argument prototype would still apply.  */
21163 #ifdef __cplusplus
21164 extern "C"
21165 #endif
21166 char $ac_func ();
21167 /* The GNU C library defines this for functions which it implements
21168     to always fail with ENOSYS.  Some functions are actually named
21169     something starting with __ and the normal name is an alias.  */
21170 #if defined __stub_$ac_func || defined __stub___$ac_func
21171 choke me
21172 #endif
21173
21174 int
21175 main ()
21176 {
21177 return $ac_func ();
21178   ;
21179   return 0;
21180 }
21181 _ACEOF
21182 rm -f conftest.$ac_objext conftest$ac_exeext
21183 if { (ac_try="$ac_link"
21184 case "(($ac_try" in
21185   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21186   *) ac_try_echo=$ac_try;;
21187 esac
21188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21189   (eval "$ac_link") 2>conftest.er1
21190   ac_status=$?
21191   grep -v '^ *+' conftest.er1 >conftest.err
21192   rm -f conftest.er1
21193   cat conftest.err >&5
21194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21195   (exit $ac_status); } && {
21196          test -z "$ac_c_werror_flag" ||
21197          test ! -s conftest.err
21198        } && test -s conftest$ac_exeext &&
21199        $as_test_x conftest$ac_exeext; then
21200   eval "$as_ac_var=yes"
21201 else
21202   echo "$as_me: failed program was:" >&5
21203 sed 's/^/| /' conftest.$ac_ext >&5
21204
21205         eval "$as_ac_var=no"
21206 fi
21207
21208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21209       conftest$ac_exeext conftest.$ac_ext
21210 fi
21211 ac_res=`eval echo '${'$as_ac_var'}'`
21212                { echo "$as_me:$LINENO: result: $ac_res" >&5
21213 echo "${ECHO_T}$ac_res" >&6; }
21214 if test `eval echo '${'$as_ac_var'}'` = yes; then
21215   cat >>confdefs.h <<_ACEOF
21216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21217 _ACEOF
21218
21219 fi
21220 done
21221
21222
21223
21224 if $have_cairo ; then : ; else
21225    if  test x$enable_gtk_doc = xyes ; then
21226       { echo "$as_me:$LINENO: WARNING: Cairo not present, disabling doc building" >&5
21227 echo "$as_me: WARNING: Cairo not present, disabling doc building" >&2;}
21228       enable_gtk_doc=no
21229    fi
21230 fi
21231
21232
21233
21234 # Check whether --with-html-dir was given.
21235 if test "${with_html_dir+set}" = set; then
21236   withval=$with_html_dir;
21237 else
21238   with_html_dir='${datadir}/gtk-doc/html'
21239 fi
21240
21241   HTML_DIR="$with_html_dir"
21242
21243
21244     # Check whether --enable-gtk-doc was given.
21245 if test "${enable_gtk_doc+set}" = set; then
21246   enableval=$enable_gtk_doc;
21247 else
21248   enable_gtk_doc=no
21249 fi
21250
21251
21252   have_gtk_doc=no
21253   if test x$enable_gtk_doc = xyes; then
21254     if test -z "$PKG_CONFIG"; then
21255       # Extract the first word of "pkg-config", so it can be a program name with args.
21256 set dummy pkg-config; ac_word=$2
21257 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21259 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21260   echo $ECHO_N "(cached) $ECHO_C" >&6
21261 else
21262   case $PKG_CONFIG in
21263   [\\/]* | ?:[\\/]*)
21264   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21265   ;;
21266   *)
21267   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21268 for as_dir in $PATH
21269 do
21270   IFS=$as_save_IFS
21271   test -z "$as_dir" && as_dir=.
21272   for ac_exec_ext in '' $ac_executable_extensions; do
21273   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21274     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21275     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21276     break 2
21277   fi
21278 done
21279 done
21280 IFS=$as_save_IFS
21281
21282   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21283   ;;
21284 esac
21285 fi
21286 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21287 if test -n "$PKG_CONFIG"; then
21288   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21289 echo "${ECHO_T}$PKG_CONFIG" >&6; }
21290 else
21291   { echo "$as_me:$LINENO: result: no" >&5
21292 echo "${ECHO_T}no" >&6; }
21293 fi
21294
21295
21296     fi
21297     if test "$PKG_CONFIG" != "no" && $PKG_CONFIG --exists gtk-doc; then
21298       have_gtk_doc=yes
21299     fi
21300
21301   gtk_doc_min_version=1.0
21302     if test "$have_gtk_doc" = yes; then
21303       { echo "$as_me:$LINENO: checking gtk-doc version >= $gtk_doc_min_version" >&5
21304 echo $ECHO_N "checking gtk-doc version >= $gtk_doc_min_version... $ECHO_C" >&6; }
21305       if $PKG_CONFIG --atleast-version $gtk_doc_min_version gtk-doc; then
21306         { echo "$as_me:$LINENO: result: yes" >&5
21307 echo "${ECHO_T}yes" >&6; }
21308       else
21309         { echo "$as_me:$LINENO: result: no" >&5
21310 echo "${ECHO_T}no" >&6; }
21311         have_gtk_doc=no
21312       fi
21313     fi
21314
21315     if test "$have_gtk_doc" != yes; then
21316       enable_gtk_doc=no
21317     fi
21318   fi
21319
21320
21321
21322 if test x$enable_gtk_doc = xyes; then
21323   ENABLE_GTK_DOC_TRUE=
21324   ENABLE_GTK_DOC_FALSE='#'
21325 else
21326   ENABLE_GTK_DOC_TRUE='#'
21327   ENABLE_GTK_DOC_FALSE=
21328 fi
21329
21330
21331
21332 if test -n "$LIBTOOL"; then
21333   GTK_DOC_USE_LIBTOOL_TRUE=
21334   GTK_DOC_USE_LIBTOOL_FALSE='#'
21335 else
21336   GTK_DOC_USE_LIBTOOL_TRUE='#'
21337   GTK_DOC_USE_LIBTOOL_FALSE=
21338 fi
21339
21340
21341
21342 # Check whether --enable-man was given.
21343 if test "${enable_man+set}" = set; then
21344   enableval=$enable_man; enable_man=yes
21345 else
21346   enable_man=no
21347 fi
21348
21349
21350 if test "x$enable_man" != xno ; then
21351         # Extract the first word of "xsltproc", so it can be a program name with args.
21352 set dummy xsltproc; ac_word=$2
21353 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21355 if test "${ac_cv_path_XSLTPROC+set}" = set; then
21356   echo $ECHO_N "(cached) $ECHO_C" >&6
21357 else
21358   case $XSLTPROC in
21359   [\\/]* | ?:[\\/]*)
21360   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
21361   ;;
21362   *)
21363   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21364 for as_dir in $PATH
21365 do
21366   IFS=$as_save_IFS
21367   test -z "$as_dir" && as_dir=.
21368   for ac_exec_ext in '' $ac_executable_extensions; do
21369   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21370     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
21371     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21372     break 2
21373   fi
21374 done
21375 done
21376 IFS=$as_save_IFS
21377
21378   ;;
21379 esac
21380 fi
21381 XSLTPROC=$ac_cv_path_XSLTPROC
21382 if test -n "$XSLTPROC"; then
21383   { echo "$as_me:$LINENO: result: $XSLTPROC" >&5
21384 echo "${ECHO_T}$XSLTPROC" >&6; }
21385 else
21386   { echo "$as_me:$LINENO: result: no" >&5
21387 echo "${ECHO_T}no" >&6; }
21388 fi
21389
21390
21391   if test -z "$XSLTPROC"; then
21392     enable_man=no
21393   fi
21394 fi
21395
21396 if test "x$enable_man" != xno ; then
21397
21398   # check for the presence of the XML catalog
21399
21400 # Check whether --with-xml-catalog was given.
21401 if test "${with_xml_catalog+set}" = set; then
21402   withval=$with_xml_catalog;
21403 else
21404   with_xml_catalog=/etc/xml/catalog
21405 fi
21406
21407   jh_found_xmlcatalog=true
21408   XML_CATALOG_FILE="$with_xml_catalog"
21409
21410   { echo "$as_me:$LINENO: checking for XML catalog ($XML_CATALOG_FILE)" >&5
21411 echo $ECHO_N "checking for XML catalog ($XML_CATALOG_FILE)... $ECHO_C" >&6; }
21412   if test -f "$XML_CATALOG_FILE"; then
21413     { echo "$as_me:$LINENO: result: found" >&5
21414 echo "${ECHO_T}found" >&6; }
21415   else
21416     jh_found_xmlcatalog=false
21417     { echo "$as_me:$LINENO: result: not found" >&5
21418 echo "${ECHO_T}not found" >&6; }
21419   fi
21420
21421   # check for the xmlcatalog program
21422   # Extract the first word of "xmlcatalog", so it can be a program name with args.
21423 set dummy xmlcatalog; ac_word=$2
21424 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21426 if test "${ac_cv_path_XMLCATALOG+set}" = set; then
21427   echo $ECHO_N "(cached) $ECHO_C" >&6
21428 else
21429   case $XMLCATALOG in
21430   [\\/]* | ?:[\\/]*)
21431   ac_cv_path_XMLCATALOG="$XMLCATALOG" # Let the user override the test with a path.
21432   ;;
21433   *)
21434   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21435 for as_dir in $PATH
21436 do
21437   IFS=$as_save_IFS
21438   test -z "$as_dir" && as_dir=.
21439   for ac_exec_ext in '' $ac_executable_extensions; do
21440   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21441     ac_cv_path_XMLCATALOG="$as_dir/$ac_word$ac_exec_ext"
21442     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21443     break 2
21444   fi
21445 done
21446 done
21447 IFS=$as_save_IFS
21448
21449   test -z "$ac_cv_path_XMLCATALOG" && ac_cv_path_XMLCATALOG="no"
21450   ;;
21451 esac
21452 fi
21453 XMLCATALOG=$ac_cv_path_XMLCATALOG
21454 if test -n "$XMLCATALOG"; then
21455   { echo "$as_me:$LINENO: result: $XMLCATALOG" >&5
21456 echo "${ECHO_T}$XMLCATALOG" >&6; }
21457 else
21458   { echo "$as_me:$LINENO: result: no" >&5
21459 echo "${ECHO_T}no" >&6; }
21460 fi
21461
21462
21463   if test "x$XMLCATALOG" = xno; then
21464     jh_found_xmlcatalog=false
21465   fi
21466
21467   if $jh_found_xmlcatalog; then
21468     :
21469   else
21470     :
21471   fi
21472
21473
21474     { echo "$as_me:$LINENO: checking for DocBook XML DTD V4.1.2 in XML catalog" >&5
21475 echo $ECHO_N "checking for DocBook XML DTD V4.1.2 in XML catalog... $ECHO_C" >&6; }
21476   if $jh_found_xmlcatalog && \
21477      { (echo "$as_me:$LINENO: \$XMLCATALOG --noout \"\$XML_CATALOG_FILE\" \"-//OASIS//DTD DocBook XML V4.1.2//EN\" >&2") >&5
21478   ($XMLCATALOG --noout "$XML_CATALOG_FILE" "-//OASIS//DTD DocBook XML V4.1.2//EN" >&2) 2>&5
21479   ac_status=$?
21480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21481   (exit $ac_status); }; then
21482     { echo "$as_me:$LINENO: result: found" >&5
21483 echo "${ECHO_T}found" >&6; }
21484       else
21485     { echo "$as_me:$LINENO: result: not found" >&5
21486 echo "${ECHO_T}not found" >&6; }
21487     enable_man=no
21488   fi
21489
21490
21491     { echo "$as_me:$LINENO: checking for DocBook XSL Stylesheets in XML catalog" >&5
21492 echo $ECHO_N "checking for DocBook XSL Stylesheets in XML catalog... $ECHO_C" >&6; }
21493   if $jh_found_xmlcatalog && \
21494      { (echo "$as_me:$LINENO: \$XMLCATALOG --noout \"\$XML_CATALOG_FILE\" \"http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl\" >&2") >&5
21495   ($XMLCATALOG --noout "$XML_CATALOG_FILE" "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl" >&2) 2>&5
21496   ac_status=$?
21497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21498   (exit $ac_status); }; then
21499     { echo "$as_me:$LINENO: result: found" >&5
21500 echo "${ECHO_T}found" >&6; }
21501       else
21502     { echo "$as_me:$LINENO: result: not found" >&5
21503 echo "${ECHO_T}not found" >&6; }
21504     enable_man=no
21505   fi
21506
21507 fi
21508
21509
21510
21511 if test x$enable_man != xno; then
21512   ENABLE_MAN_TRUE=
21513   ENABLE_MAN_FALSE='#'
21514 else
21515   ENABLE_MAN_TRUE='#'
21516   ENABLE_MAN_FALSE=
21517 fi
21518
21519
21520 # Check whether --enable-doc-cross-references was given.
21521 if test "${enable_doc_cross_references+set}" = set; then
21522   enableval=$enable_doc_cross_references; enable_doc_cross_references=$enableval
21523 else
21524   enable_doc_cross_references=yes
21525 fi
21526
21527
21528 if test "x$enable_doc_cross_references" != xno ; then
21529         GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
21530         CAIRO_PREFIX="`pkg-config --variable=prefix cairo`"
21531
21532
21533 fi
21534
21535
21536 if test x$enable_doc_cross_references != xno; then
21537   ENABLE_DOC_CROSS_REFERENCES_TRUE=
21538   ENABLE_DOC_CROSS_REFERENCES_FALSE='#'
21539 else
21540   ENABLE_DOC_CROSS_REFERENCES_TRUE='#'
21541   ENABLE_DOC_CROSS_REFERENCES_FALSE=
21542 fi
21543
21544
21545
21546 # Note that -module isn't included here since automake needs to see it to know
21547 # that something like pango-arabic-fc.la is a valid libtool archive
21548 #
21549 LIBRARY_LIBTOOL_OPTIONS="-version-info $VERSION_INFO"
21550 MODULE_LIBTOOL_OPTIONS="-export-dynamic -avoid-version"
21551 if test "$pango_platform_win32" = yes; then
21552     # We currently use .def files on Windows
21553     true
21554     LIBRARY_LIBTOOL_OPTIONS="$LIBRARY_LIBTOOL_OPTIONS -no-undefined"
21555     MODULE_LIBTOOL_OPTIONS="$MODULE_LIBTOOL_OPTIONS -no-undefined"
21556 else
21557     # libtool option to control which symbols are exported
21558     # right now, symbols starting with '_' are not exported
21559     LIBRARY_LIBTOOL_OPTIONS="$LIBRARY_LIBTOOL_OPTIONS "'-export-symbols-regex "^pango_.*"'
21560     MODULE_LIBTOOL_OPTIONS="$MODULE_LIBTOOL_OPTIONS "'-export-symbols-regex "^script_engine_.*"'
21561 fi
21562
21563
21564
21565
21566 use_la_modules=false
21567
21568 # is there any platform that we have to use .la files?
21569
21570 if $use_la_modules ; then
21571
21572 cat >>confdefs.h <<\_ACEOF
21573 #define USE_LA_MODULES 1
21574 _ACEOF
21575
21576 fi
21577
21578
21579 # Check whether --enable-explicit-deps was given.
21580 if test "${enable_explicit_deps+set}" = set; then
21581   enableval=$enable_explicit_deps; enable_explicit_deps="$enableval"
21582 else
21583   enable_explicit_deps=auto
21584 fi
21585
21586
21587 { echo "$as_me:$LINENO: checking Whether to write dependencies into .pc files" >&5
21588 echo $ECHO_N "checking Whether to write dependencies into .pc files... $ECHO_C" >&6; }
21589 case $enable_explicit_deps in
21590   auto)
21591     export SED
21592     deplibs_check_method=`(./libtool --config; echo 'eval echo \"$deplibs_check_method\"') | sh`
21593     if test "x$deplibs_check_method" '!=' xpass_all || test "x$enable_static" = xyes ; then
21594       enable_explicit_deps=yes
21595     else
21596       enable_explicit_deps=no
21597     fi
21598   ;;
21599   yes|no)
21600   ;;
21601   *) { { echo "$as_me:$LINENO: error: Value given to --enable-explicit-deps must be one of yes, no or auto" >&5
21602 echo "$as_me: error: Value given to --enable-explicit-deps must be one of yes, no or auto" >&2;}
21603    { (exit 1); exit 1; }; }
21604   ;;
21605 esac
21606 { echo "$as_me:$LINENO: result: $enable_explicit_deps" >&5
21607 echo "${ECHO_T}$enable_explicit_deps" >&6; }
21608
21609 PKGCONFIG_MATH_LIBS=
21610 PKGCONFIG_CAIRO_REQUIRES=
21611
21612 if test $enable_explicit_deps = yes ; then
21613   PKGCONFIG_MATH_LIBS=-lm
21614
21615   X_LIBS="$X_LIBS $X_EXTRA_LIBS"
21616
21617   if $have_cairo_freetype;  then
21618     PKGCONFIG_CAIRO_REQUIRES="$PKGCONFIG_CAIRO_REQUIRES pangoft2"
21619   fi
21620   if $have_cairo_win32;  then
21621     PKGCONFIG_CAIRO_REQUIRES="$PKGCONFIG_CAIRO_REQUIRES pangowin32"
21622   fi
21623 fi
21624
21625
21626
21627
21628
21629 if test $enable_explicit_deps = no; then
21630   DISABLE_EXPLICIT_DEPS_TRUE=
21631   DISABLE_EXPLICIT_DEPS_FALSE='#'
21632 else
21633   DISABLE_EXPLICIT_DEPS_TRUE='#'
21634   DISABLE_EXPLICIT_DEPS_FALSE=
21635 fi
21636
21637
21638 ac_config_commands="$ac_config_commands pango/module-defs.h"
21639
21640
21641 ac_config_commands="$ac_config_commands pango/module-defs-x.c"
21642
21643
21644 ac_config_commands="$ac_config_commands pango/module-defs-fc.c"
21645
21646
21647 ac_config_commands="$ac_config_commands pango/module-defs-win32.c"
21648
21649
21650 ac_config_commands="$ac_config_commands pango/module-defs-atsui.c"
21651
21652
21653 ac_config_commands="$ac_config_commands pango/module-defs-lang.c"
21654
21655
21656
21657
21658
21659
21660
21661
21662 ac_header_dirent=no
21663 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
21664   as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
21665 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
21666 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
21667 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21668   echo $ECHO_N "(cached) $ECHO_C" >&6
21669 else
21670   cat >conftest.$ac_ext <<_ACEOF
21671 /* confdefs.h.  */
21672 _ACEOF
21673 cat confdefs.h >>conftest.$ac_ext
21674 cat >>conftest.$ac_ext <<_ACEOF
21675 /* end confdefs.h.  */
21676 #include <sys/types.h>
21677 #include <$ac_hdr>
21678
21679 int
21680 main ()
21681 {
21682 if ((DIR *) 0)
21683 return 0;
21684   ;
21685   return 0;
21686 }
21687 _ACEOF
21688 rm -f conftest.$ac_objext
21689 if { (ac_try="$ac_compile"
21690 case "(($ac_try" in
21691   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21692   *) ac_try_echo=$ac_try;;
21693 esac
21694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21695   (eval "$ac_compile") 2>conftest.er1
21696   ac_status=$?
21697   grep -v '^ *+' conftest.er1 >conftest.err
21698   rm -f conftest.er1
21699   cat conftest.err >&5
21700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21701   (exit $ac_status); } && {
21702          test -z "$ac_c_werror_flag" ||
21703          test ! -s conftest.err
21704        } && test -s conftest.$ac_objext; then
21705   eval "$as_ac_Header=yes"
21706 else
21707   echo "$as_me: failed program was:" >&5
21708 sed 's/^/| /' conftest.$ac_ext >&5
21709
21710         eval "$as_ac_Header=no"
21711 fi
21712
21713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21714 fi
21715 ac_res=`eval echo '${'$as_ac_Header'}'`
21716                { echo "$as_me:$LINENO: result: $ac_res" >&5
21717 echo "${ECHO_T}$ac_res" >&6; }
21718 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21719   cat >>confdefs.h <<_ACEOF
21720 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
21721 _ACEOF
21722
21723 ac_header_dirent=$ac_hdr; break
21724 fi
21725
21726 done
21727 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
21728 if test $ac_header_dirent = dirent.h; then
21729   { echo "$as_me:$LINENO: checking for library containing opendir" >&5
21730 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
21731 if test "${ac_cv_search_opendir+set}" = set; then
21732   echo $ECHO_N "(cached) $ECHO_C" >&6
21733 else
21734   ac_func_search_save_LIBS=$LIBS
21735 cat >conftest.$ac_ext <<_ACEOF
21736 /* confdefs.h.  */
21737 _ACEOF
21738 cat confdefs.h >>conftest.$ac_ext
21739 cat >>conftest.$ac_ext <<_ACEOF
21740 /* end confdefs.h.  */
21741
21742 /* Override any GCC internal prototype to avoid an error.
21743    Use char because int might match the return type of a GCC
21744    builtin and then its argument prototype would still apply.  */
21745 #ifdef __cplusplus
21746 extern "C"
21747 #endif
21748 char opendir ();
21749 int
21750 main ()
21751 {
21752 return opendir ();
21753   ;
21754   return 0;
21755 }
21756 _ACEOF
21757 for ac_lib in '' dir; do
21758   if test -z "$ac_lib"; then
21759     ac_res="none required"
21760   else
21761     ac_res=-l$ac_lib
21762     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
21763   fi
21764   rm -f conftest.$ac_objext conftest$ac_exeext
21765 if { (ac_try="$ac_link"
21766 case "(($ac_try" in
21767   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21768   *) ac_try_echo=$ac_try;;
21769 esac
21770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21771   (eval "$ac_link") 2>conftest.er1
21772   ac_status=$?
21773   grep -v '^ *+' conftest.er1 >conftest.err
21774   rm -f conftest.er1
21775   cat conftest.err >&5
21776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21777   (exit $ac_status); } && {
21778          test -z "$ac_c_werror_flag" ||
21779          test ! -s conftest.err
21780        } && test -s conftest$ac_exeext &&
21781        $as_test_x conftest$ac_exeext; then
21782   ac_cv_search_opendir=$ac_res
21783 else
21784   echo "$as_me: failed program was:" >&5
21785 sed 's/^/| /' conftest.$ac_ext >&5
21786
21787
21788 fi
21789
21790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21791       conftest$ac_exeext
21792   if test "${ac_cv_search_opendir+set}" = set; then
21793   break
21794 fi
21795 done
21796 if test "${ac_cv_search_opendir+set}" = set; then
21797   :
21798 else
21799   ac_cv_search_opendir=no
21800 fi
21801 rm conftest.$ac_ext
21802 LIBS=$ac_func_search_save_LIBS
21803 fi
21804 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
21805 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
21806 ac_res=$ac_cv_search_opendir
21807 if test "$ac_res" != no; then
21808   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21809
21810 fi
21811
21812 else
21813   { echo "$as_me:$LINENO: checking for library containing opendir" >&5
21814 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
21815 if test "${ac_cv_search_opendir+set}" = set; then
21816   echo $ECHO_N "(cached) $ECHO_C" >&6
21817 else
21818   ac_func_search_save_LIBS=$LIBS
21819 cat >conftest.$ac_ext <<_ACEOF
21820 /* confdefs.h.  */
21821 _ACEOF
21822 cat confdefs.h >>conftest.$ac_ext
21823 cat >>conftest.$ac_ext <<_ACEOF
21824 /* end confdefs.h.  */
21825
21826 /* Override any GCC internal prototype to avoid an error.
21827    Use char because int might match the return type of a GCC
21828    builtin and then its argument prototype would still apply.  */
21829 #ifdef __cplusplus
21830 extern "C"
21831 #endif
21832 char opendir ();
21833 int
21834 main ()
21835 {
21836 return opendir ();
21837   ;
21838   return 0;
21839 }
21840 _ACEOF
21841 for ac_lib in '' x; do
21842   if test -z "$ac_lib"; then
21843     ac_res="none required"
21844   else
21845     ac_res=-l$ac_lib
21846     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
21847   fi
21848   rm -f conftest.$ac_objext conftest$ac_exeext
21849 if { (ac_try="$ac_link"
21850 case "(($ac_try" in
21851   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21852   *) ac_try_echo=$ac_try;;
21853 esac
21854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21855   (eval "$ac_link") 2>conftest.er1
21856   ac_status=$?
21857   grep -v '^ *+' conftest.er1 >conftest.err
21858   rm -f conftest.er1
21859   cat conftest.err >&5
21860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21861   (exit $ac_status); } && {
21862          test -z "$ac_c_werror_flag" ||
21863          test ! -s conftest.err
21864        } && test -s conftest$ac_exeext &&
21865        $as_test_x conftest$ac_exeext; then
21866   ac_cv_search_opendir=$ac_res
21867 else
21868   echo "$as_me: failed program was:" >&5
21869 sed 's/^/| /' conftest.$ac_ext >&5
21870
21871
21872 fi
21873
21874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21875       conftest$ac_exeext
21876   if test "${ac_cv_search_opendir+set}" = set; then
21877   break
21878 fi
21879 done
21880 if test "${ac_cv_search_opendir+set}" = set; then
21881   :
21882 else
21883   ac_cv_search_opendir=no
21884 fi
21885 rm conftest.$ac_ext
21886 LIBS=$ac_func_search_save_LIBS
21887 fi
21888 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
21889 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
21890 ac_res=$ac_cv_search_opendir
21891 if test "$ac_res" != no; then
21892   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21893
21894 fi
21895
21896 fi
21897
21898
21899 for ac_header in unistd.h
21900 do
21901 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21902 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21903   { echo "$as_me:$LINENO: checking for $ac_header" >&5
21904 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21905 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21906   echo $ECHO_N "(cached) $ECHO_C" >&6
21907 fi
21908 ac_res=`eval echo '${'$as_ac_Header'}'`
21909                { echo "$as_me:$LINENO: result: $ac_res" >&5
21910 echo "${ECHO_T}$ac_res" >&6; }
21911 else
21912   # Is the header compilable?
21913 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
21914 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21915 cat >conftest.$ac_ext <<_ACEOF
21916 /* confdefs.h.  */
21917 _ACEOF
21918 cat confdefs.h >>conftest.$ac_ext
21919 cat >>conftest.$ac_ext <<_ACEOF
21920 /* end confdefs.h.  */
21921 $ac_includes_default
21922 #include <$ac_header>
21923 _ACEOF
21924 rm -f conftest.$ac_objext
21925 if { (ac_try="$ac_compile"
21926 case "(($ac_try" in
21927   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21928   *) ac_try_echo=$ac_try;;
21929 esac
21930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21931   (eval "$ac_compile") 2>conftest.er1
21932   ac_status=$?
21933   grep -v '^ *+' conftest.er1 >conftest.err
21934   rm -f conftest.er1
21935   cat conftest.err >&5
21936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21937   (exit $ac_status); } && {
21938          test -z "$ac_c_werror_flag" ||
21939          test ! -s conftest.err
21940        } && test -s conftest.$ac_objext; then
21941   ac_header_compiler=yes
21942 else
21943   echo "$as_me: failed program was:" >&5
21944 sed 's/^/| /' conftest.$ac_ext >&5
21945
21946         ac_header_compiler=no
21947 fi
21948
21949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21950 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21951 echo "${ECHO_T}$ac_header_compiler" >&6; }
21952
21953 # Is the header present?
21954 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
21955 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21956 cat >conftest.$ac_ext <<_ACEOF
21957 /* confdefs.h.  */
21958 _ACEOF
21959 cat confdefs.h >>conftest.$ac_ext
21960 cat >>conftest.$ac_ext <<_ACEOF
21961 /* end confdefs.h.  */
21962 #include <$ac_header>
21963 _ACEOF
21964 if { (ac_try="$ac_cpp conftest.$ac_ext"
21965 case "(($ac_try" in
21966   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21967   *) ac_try_echo=$ac_try;;
21968 esac
21969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21970   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21971   ac_status=$?
21972   grep -v '^ *+' conftest.er1 >conftest.err
21973   rm -f conftest.er1
21974   cat conftest.err >&5
21975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21976   (exit $ac_status); } >/dev/null && {
21977          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21978          test ! -s conftest.err
21979        }; then
21980   ac_header_preproc=yes
21981 else
21982   echo "$as_me: failed program was:" >&5
21983 sed 's/^/| /' conftest.$ac_ext >&5
21984
21985   ac_header_preproc=no
21986 fi
21987
21988 rm -f conftest.err conftest.$ac_ext
21989 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21990 echo "${ECHO_T}$ac_header_preproc" >&6; }
21991
21992 # So?  What about this header?
21993 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21994   yes:no: )
21995     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21996 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21997     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21998 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21999     ac_header_preproc=yes
22000     ;;
22001   no:yes:* )
22002     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22003 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22004     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
22005 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
22006     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22007 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22008     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
22009 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
22010     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22011 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22012     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22013 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22014     ( cat <<\_ASBOX
22015 ## -------------------------------------------------------------------- ##
22016 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=pango ##
22017 ## -------------------------------------------------------------------- ##
22018 _ASBOX
22019      ) | sed "s/^/$as_me: WARNING:     /" >&2
22020     ;;
22021 esac
22022 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22024 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22025   echo $ECHO_N "(cached) $ECHO_C" >&6
22026 else
22027   eval "$as_ac_Header=\$ac_header_preproc"
22028 fi
22029 ac_res=`eval echo '${'$as_ac_Header'}'`
22030                { echo "$as_me:$LINENO: result: $ac_res" >&5
22031 echo "${ECHO_T}$ac_res" >&6; }
22032
22033 fi
22034 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22035   cat >>confdefs.h <<_ACEOF
22036 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22037 _ACEOF
22038
22039 fi
22040
22041 done
22042
22043
22044 # Honor aclocal flags
22045 ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
22046 ac_config_commands="$ac_config_commands pango/pango-features.h"
22047
22048
22049 ac_config_files="$ac_config_files Makefile pango/Makefile pango/mini-fribidi/Makefile pango/opentype/Makefile pango/pango.rc pango/pangoft2.rc pango/pangowin32.rc pango/pangox.rc pango/pangoxft.rc pango-view/Makefile modules/Makefile modules/arabic/Makefile modules/basic/Makefile modules/hangul/Makefile modules/hebrew/Makefile modules/indic/Makefile modules/khmer/Makefile modules/syriac/Makefile modules/thai/Makefile modules/tibetan/Makefile examples/Makefile docs/Makefile docs/version.xml tools/Makefile tests/Makefile pango.pc pangox.pc pangowin32.pc pangoft2.pc pangoxft.pc pangocairo.pc pango-uninstalled.pc pangox-uninstalled.pc pangowin32-uninstalled.pc pangoft2-uninstalled.pc pangoxft-uninstalled.pc pangocairo-uninstalled.pc pango-zip.sh"
22050
22051
22052 ac_config_files="$ac_config_files tests/runtests.sh"
22053
22054
22055 cat >confcache <<\_ACEOF
22056 # This file is a shell script that caches the results of configure
22057 # tests run on this system so they can be shared between configure
22058 # scripts and configure runs, see configure's option --config-cache.
22059 # It is not useful on other systems.  If it contains results you don't
22060 # want to keep, you may remove or edit it.
22061 #
22062 # config.status only pays attention to the cache file if you give it
22063 # the --recheck option to rerun configure.
22064 #
22065 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22066 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22067 # following values.
22068
22069 _ACEOF
22070
22071 # The following way of writing the cache mishandles newlines in values,
22072 # but we know of no workaround that is simple, portable, and efficient.
22073 # So, we kill variables containing newlines.
22074 # Ultrix sh set writes to stderr and can't be redirected directly,
22075 # and sets the high bit in the cache file unless we assign to the vars.
22076 (
22077   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22078     eval ac_val=\$$ac_var
22079     case $ac_val in #(
22080     *${as_nl}*)
22081       case $ac_var in #(
22082       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22083 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22084       esac
22085       case $ac_var in #(
22086       _ | IFS | as_nl) ;; #(
22087       *) $as_unset $ac_var ;;
22088       esac ;;
22089     esac
22090   done
22091
22092   (set) 2>&1 |
22093     case $as_nl`(ac_space=' '; set) 2>&1` in #(
22094     *${as_nl}ac_space=\ *)
22095       # `set' does not quote correctly, so add quotes (double-quote
22096       # substitution turns \\\\ into \\, and sed turns \\ into \).
22097       sed -n \
22098         "s/'/'\\\\''/g;
22099           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22100       ;; #(
22101     *)
22102       # `set' quotes correctly as required by POSIX, so do not add quotes.
22103       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22104       ;;
22105     esac |
22106     sort
22107 ) |
22108   sed '
22109      /^ac_cv_env_/b end
22110      t clear
22111      :clear
22112      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22113      t end
22114      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22115      :end' >>confcache
22116 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22117   if test -w "$cache_file"; then
22118     test "x$cache_file" != "x/dev/null" &&
22119       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22120 echo "$as_me: updating cache $cache_file" >&6;}
22121     cat confcache >$cache_file
22122   else
22123     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22124 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22125   fi
22126 fi
22127 rm -f confcache
22128
22129 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22130 # Let make expand exec_prefix.
22131 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22132
22133 DEFS=-DHAVE_CONFIG_H
22134
22135 ac_libobjs=
22136 ac_ltlibobjs=
22137 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22138   # 1. Remove the extension, and $U if already installed.
22139   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22140   ac_i=`echo "$ac_i" | sed "$ac_script"`
22141   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
22142   #    will be set to the directory where LIBOBJS objects are built.
22143   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22144   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22145 done
22146 LIBOBJS=$ac_libobjs
22147
22148 LTLIBOBJS=$ac_ltlibobjs
22149
22150
22151 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
22152   { { echo "$as_me:$LINENO: error: conditional \"OS_WIN32\" was never defined.
22153 Usually this means the macro was only invoked conditionally." >&5
22154 echo "$as_me: error: conditional \"OS_WIN32\" was never defined.
22155 Usually this means the macro was only invoked conditionally." >&2;}
22156    { (exit 1); exit 1; }; }
22157 fi
22158 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22159   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
22160 Usually this means the macro was only invoked conditionally." >&5
22161 echo "$as_me: error: conditional \"AMDEP\" was never defined.
22162 Usually this means the macro was only invoked conditionally." >&2;}
22163    { (exit 1); exit 1; }; }
22164 fi
22165 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22166   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22167 Usually this means the macro was only invoked conditionally." >&5
22168 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22169 Usually this means the macro was only invoked conditionally." >&2;}
22170    { (exit 1); exit 1; }; }
22171 fi
22172 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22173   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
22174 Usually this means the macro was only invoked conditionally." >&5
22175 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
22176 Usually this means the macro was only invoked conditionally." >&2;}
22177    { (exit 1); exit 1; }; }
22178 fi
22179 if test -z "${HAVE_CXX_TRUE}" && test -z "${HAVE_CXX_FALSE}"; then
22180   { { echo "$as_me:$LINENO: error: conditional \"HAVE_CXX\" was never defined.
22181 Usually this means the macro was only invoked conditionally." >&5
22182 echo "$as_me: error: conditional \"HAVE_CXX\" was never defined.
22183 Usually this means the macro was only invoked conditionally." >&2;}
22184    { (exit 1); exit 1; }; }
22185 fi
22186 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22187   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
22188 Usually this means the macro was only invoked conditionally." >&5
22189 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
22190 Usually this means the macro was only invoked conditionally." >&2;}
22191    { (exit 1); exit 1; }; }
22192 fi
22193 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22194   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
22195 Usually this means the macro was only invoked conditionally." >&5
22196 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
22197 Usually this means the macro was only invoked conditionally." >&2;}
22198    { (exit 1); exit 1; }; }
22199 fi
22200 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
22201   { { echo "$as_me:$LINENO: error: conditional \"PLATFORM_WIN32\" was never defined.
22202 Usually this means the macro was only invoked conditionally." >&5
22203 echo "$as_me: error: conditional \"PLATFORM_WIN32\" was never defined.
22204 Usually this means the macro was only invoked conditionally." >&2;}
22205    { (exit 1); exit 1; }; }
22206 fi
22207 if test -z "${MS_LIB_AVAILABLE_TRUE}" && test -z "${MS_LIB_AVAILABLE_FALSE}"; then
22208   { { echo "$as_me:$LINENO: error: conditional \"MS_LIB_AVAILABLE\" was never defined.
22209 Usually this means the macro was only invoked conditionally." >&5
22210 echo "$as_me: error: conditional \"MS_LIB_AVAILABLE\" was never defined.
22211 Usually this means the macro was only invoked conditionally." >&2;}
22212    { (exit 1); exit 1; }; }
22213 fi
22214 if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then
22215   { { echo "$as_me:$LINENO: error: conditional \"CROSS_COMPILING\" was never defined.
22216 Usually this means the macro was only invoked conditionally." >&5
22217 echo "$as_me: error: conditional \"CROSS_COMPILING\" was never defined.
22218 Usually this means the macro was only invoked conditionally." >&2;}
22219    { (exit 1); exit 1; }; }
22220 fi
22221 if test -z "${HAVE_X_TRUE}" && test -z "${HAVE_X_FALSE}"; then
22222   { { echo "$as_me:$LINENO: error: conditional \"HAVE_X\" was never defined.
22223 Usually this means the macro was only invoked conditionally." >&5
22224 echo "$as_me: error: conditional \"HAVE_X\" was never defined.
22225 Usually this means the macro was only invoked conditionally." >&2;}
22226    { (exit 1); exit 1; }; }
22227 fi
22228 if test -z "${HAVE_FREETYPE_TRUE}" && test -z "${HAVE_FREETYPE_FALSE}"; then
22229   { { echo "$as_me:$LINENO: error: conditional \"HAVE_FREETYPE\" was never defined.
22230 Usually this means the macro was only invoked conditionally." >&5
22231 echo "$as_me: error: conditional \"HAVE_FREETYPE\" was never defined.
22232 Usually this means the macro was only invoked conditionally." >&2;}
22233    { (exit 1); exit 1; }; }
22234 fi
22235 if test -z "${HAVE_XFT_TRUE}" && test -z "${HAVE_XFT_FALSE}"; then
22236   { { echo "$as_me:$LINENO: error: conditional \"HAVE_XFT\" was never defined.
22237 Usually this means the macro was only invoked conditionally." >&5
22238 echo "$as_me: error: conditional \"HAVE_XFT\" was never defined.
22239 Usually this means the macro was only invoked conditionally." >&2;}
22240    { (exit 1); exit 1; }; }
22241 fi
22242 if test -z "${HAVE_WIN32_TRUE}" && test -z "${HAVE_WIN32_FALSE}"; then
22243   { { echo "$as_me:$LINENO: error: conditional \"HAVE_WIN32\" was never defined.
22244 Usually this means the macro was only invoked conditionally." >&5
22245 echo "$as_me: error: conditional \"HAVE_WIN32\" was never defined.
22246 Usually this means the macro was only invoked conditionally." >&2;}
22247    { (exit 1); exit 1; }; }
22248 fi
22249 if test -z "${HAVE_CAIRO_TRUE}" && test -z "${HAVE_CAIRO_FALSE}"; then
22250   { { echo "$as_me:$LINENO: error: conditional \"HAVE_CAIRO\" was never defined.
22251 Usually this means the macro was only invoked conditionally." >&5
22252 echo "$as_me: error: conditional \"HAVE_CAIRO\" was never defined.
22253 Usually this means the macro was only invoked conditionally." >&2;}
22254    { (exit 1); exit 1; }; }
22255 fi
22256 if test -z "${HAVE_CAIRO_PNG_TRUE}" && test -z "${HAVE_CAIRO_PNG_FALSE}"; then
22257   { { echo "$as_me:$LINENO: error: conditional \"HAVE_CAIRO_PNG\" was never defined.
22258 Usually this means the macro was only invoked conditionally." >&5
22259 echo "$as_me: error: conditional \"HAVE_CAIRO_PNG\" was never defined.
22260 Usually this means the macro was only invoked conditionally." >&2;}
22261    { (exit 1); exit 1; }; }
22262 fi
22263 if test -z "${HAVE_CAIRO_PS_TRUE}" && test -z "${HAVE_CAIRO_PS_FALSE}"; then
22264   { { echo "$as_me:$LINENO: error: conditional \"HAVE_CAIRO_PS\" was never defined.
22265 Usually this means the macro was only invoked conditionally." >&5
22266 echo "$as_me: error: conditional \"HAVE_CAIRO_PS\" was never defined.
22267 Usually this means the macro was only invoked conditionally." >&2;}
22268    { (exit 1); exit 1; }; }
22269 fi
22270 if test -z "${HAVE_CAIRO_PDF_TRUE}" && test -z "${HAVE_CAIRO_PDF_FALSE}"; then
22271   { { echo "$as_me:$LINENO: error: conditional \"HAVE_CAIRO_PDF\" was never defined.
22272 Usually this means the macro was only invoked conditionally." >&5
22273 echo "$as_me: error: conditional \"HAVE_CAIRO_PDF\" was never defined.
22274 Usually this means the macro was only invoked conditionally." >&2;}
22275    { (exit 1); exit 1; }; }
22276 fi
22277 if test -z "${HAVE_CAIRO_XLIB_TRUE}" && test -z "${HAVE_CAIRO_XLIB_FALSE}"; then
22278   { { echo "$as_me:$LINENO: error: conditional \"HAVE_CAIRO_XLIB\" was never defined.
22279 Usually this means the macro was only invoked conditionally." >&5
22280 echo "$as_me: error: conditional \"HAVE_CAIRO_XLIB\" was never defined.
22281 Usually this means the macro was only invoked conditionally." >&2;}
22282    { (exit 1); exit 1; }; }
22283 fi
22284 if test -z "${HAVE_CAIRO_WIN32_TRUE}" && test -z "${HAVE_CAIRO_WIN32_FALSE}"; then
22285   { { echo "$as_me:$LINENO: error: conditional \"HAVE_CAIRO_WIN32\" was never defined.
22286 Usually this means the macro was only invoked conditionally." >&5
22287 echo "$as_me: error: conditional \"HAVE_CAIRO_WIN32\" was never defined.
22288 Usually this means the macro was only invoked conditionally." >&2;}
22289    { (exit 1); exit 1; }; }
22290 fi
22291 if test -z "${HAVE_CAIRO_FREETYPE_TRUE}" && test -z "${HAVE_CAIRO_FREETYPE_FALSE}"; then
22292   { { echo "$as_me:$LINENO: error: conditional \"HAVE_CAIRO_FREETYPE\" was never defined.
22293 Usually this means the macro was only invoked conditionally." >&5
22294 echo "$as_me: error: conditional \"HAVE_CAIRO_FREETYPE\" was never defined.
22295 Usually this means the macro was only invoked conditionally." >&2;}
22296    { (exit 1); exit 1; }; }
22297 fi
22298 if test -z "${HAVE_CAIRO_ATSUI_TRUE}" && test -z "${HAVE_CAIRO_ATSUI_FALSE}"; then
22299   { { echo "$as_me:$LINENO: error: conditional \"HAVE_CAIRO_ATSUI\" was never defined.
22300 Usually this means the macro was only invoked conditionally." >&5
22301 echo "$as_me: error: conditional \"HAVE_CAIRO_ATSUI\" was never defined.
22302 Usually this means the macro was only invoked conditionally." >&2;}
22303    { (exit 1); exit 1; }; }
22304 fi
22305 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
22306   { { echo "$as_me:$LINENO: error: conditional \"HAVE_INTROSPECTION\" was never defined.
22307 Usually this means the macro was only invoked conditionally." >&5
22308 echo "$as_me: error: conditional \"HAVE_INTROSPECTION\" was never defined.
22309 Usually this means the macro was only invoked conditionally." >&2;}
22310    { (exit 1); exit 1; }; }
22311 fi
22312 if test -z "${HAVE_INCLUDED_MODULES_TRUE}" && test -z "${HAVE_INCLUDED_MODULES_FALSE}"; then
22313   { { echo "$as_me:$LINENO: error: conditional \"HAVE_INCLUDED_MODULES\" was never defined.
22314 Usually this means the macro was only invoked conditionally." >&5
22315 echo "$as_me: error: conditional \"HAVE_INCLUDED_MODULES\" was never defined.
22316 Usually this means the macro was only invoked conditionally." >&2;}
22317    { (exit 1); exit 1; }; }
22318 fi
22319 if test -z "${HAVE_DYNAMIC_MODULES_TRUE}" && test -z "${HAVE_DYNAMIC_MODULES_FALSE}"; then
22320   { { echo "$as_me:$LINENO: error: conditional \"HAVE_DYNAMIC_MODULES\" was never defined.
22321 Usually this means the macro was only invoked conditionally." >&5
22322 echo "$as_me: error: conditional \"HAVE_DYNAMIC_MODULES\" was never defined.
22323 Usually this means the macro was only invoked conditionally." >&2;}
22324    { (exit 1); exit 1; }; }
22325 fi
22326 if test -z "${INCLUDE_ARABIC_FC_TRUE}" && test -z "${INCLUDE_ARABIC_FC_FALSE}"; then
22327   { { echo "$as_me:$LINENO: error: conditional \"INCLUDE_ARABIC_FC\" was never defined.
22328 Usually this means the macro was only invoked conditionally." >&5
22329 echo "$as_me: error: conditional \"INCLUDE_ARABIC_FC\" was never defined.
22330 Usually this means the macro was only invoked conditionally." >&2;}
22331    { (exit 1); exit 1; }; }
22332 fi
22333 if test -z "${INCLUDE_ARABIC_LANG_TRUE}" && test -z "${INCLUDE_ARABIC_LANG_FALSE}"; then
22334   { { echo "$as_me:$LINENO: error: conditional \"INCLUDE_ARABIC_LANG\" was never defined.
22335 Usually this means the macro was only invoked conditionally." >&5
22336 echo "$as_me: error: conditional \"INCLUDE_ARABIC_LANG\" was never defined.
22337 Usually this means the macro was only invoked conditionally." >&2;}
22338    { (exit 1); exit 1; }; }
22339 fi
22340 if test -z "${INCLUDE_BASIC_FC_TRUE}" && test -z "${INCLUDE_BASIC_FC_FALSE}"; then
22341   { { echo "$as_me:$LINENO: error: conditional \"INCLUDE_BASIC_FC\" was never defined.
22342 Usually this means the macro was only invoked conditionally." >&5
22343 echo "$as_me: error: conditional \"INCLUDE_BASIC_FC\" was never defined.
22344 Usually this means the macro was only invoked conditionally." >&2;}
22345    { (exit 1); exit 1; }; }
22346 fi
22347 if test -z "${INCLUDE_BASIC_WIN32_TRUE}" && test -z "${INCLUDE_BASIC_WIN32_FALSE}"; then
22348   { { echo "$as_me:$LINENO: error: conditional \"INCLUDE_BASIC_WIN32\" was never defined.
22349 Usually this means the macro was only invoked conditionally." >&5
22350 echo "$as_me: error: conditional \"INCLUDE_BASIC_WIN32\" was never defined.
22351 Usually this means the macro was only invoked conditionally." >&2;}
22352    { (exit 1); exit 1; }; }
22353 fi
22354 if test -z "${INCLUDE_BASIC_X_TRUE}" && test -z "${INCLUDE_BASIC_X_FALSE}"; then
22355   { { echo "$as_me:$LINENO: error: conditional \"INCLUDE_BASIC_X\" was never defined.
22356 Usually this means the macro was only invoked conditionally." >&5
22357 echo "$as_me: error: conditional \"INCLUDE_BASIC_X\" was never defined.
22358 Usually this means the macro was only invoked conditionally." >&2;}
22359    { (exit 1); exit 1; }; }
22360 fi
22361 if test -z "${INCLUDE_BASIC_ATSUI_TRUE}" && test -z "${INCLUDE_BASIC_ATSUI_FALSE}"; then
22362   { { echo "$as_me:$LINENO: error: conditional \"INCLUDE_BASIC_ATSUI\" was never defined.
22363 Usually this means the macro was only invoked conditionally." >&5
22364 echo "$as_me: error: conditional \"INCLUDE_BASIC_ATSUI\" was never defined.
22365 Usually this means the macro was only invoked conditionally." >&2;}
22366    { (exit 1); exit 1; }; }
22367 fi
22368 if test -z "${INCLUDE_HANGUL_FC_TRUE}" && test -z "${INCLUDE_HANGUL_FC_FALSE}"; then
22369   { { echo "$as_me:$LINENO: error: conditional \"INCLUDE_HANGUL_FC\" was never defined.
22370 Usually this means the macro was only invoked conditionally." >&5
22371 echo "$as_me: error: conditional \"INCLUDE_HANGUL_FC\" was never defined.
22372 Usually this means the macro was only invoked conditionally." >&2;}
22373    { (exit 1); exit 1; }; }
22374 fi
22375 if test -z "${INCLUDE_HEBREW_FC_TRUE}" && test -z "${INCLUDE_HEBREW_FC_FALSE}"; then
22376   { { echo "$as_me:$LINENO: error: conditional \"INCLUDE_HEBREW_FC\" was never defined.
22377 Usually this means the macro was only invoked conditionally." >&5
22378 echo "$as_me: error: conditional \"INCLUDE_HEBREW_FC\" was never defined.
22379 Usually this means the macro was only invoked conditionally." >&2;}
22380    { (exit 1); exit 1; }; }
22381 fi
22382 if test -z "${INCLUDE_INDIC_FC_TRUE}" && test -z "${INCLUDE_INDIC_FC_FALSE}"; then
22383   { { echo "$as_me:$LINENO: error: conditional \"INCLUDE_INDIC_FC\" was never defined.
22384 Usually this means the macro was only invoked conditionally." >&5
22385 echo "$as_me: error: conditional \"INCLUDE_INDIC_FC\" was never defined.
22386 Usually this means the macro was only invoked conditionally." >&2;}
22387    { (exit 1); exit 1; }; }
22388 fi
22389 if test -z "${INCLUDE_INDIC_LANG_TRUE}" && test -z "${INCLUDE_INDIC_LANG_FALSE}"; then
22390   { { echo "$as_me:$LINENO: error: conditional \"INCLUDE_INDIC_LANG\" was never defined.
22391 Usually this means the macro was only invoked conditionally." >&5
22392 echo "$as_me: error: conditional \"INCLUDE_INDIC_LANG\" was never defined.
22393 Usually this means the macro was only invoked conditionally." >&2;}
22394    { (exit 1); exit 1; }; }
22395 fi
22396 if test -z "${INCLUDE_KHMER_FC_TRUE}" && test -z "${INCLUDE_KHMER_FC_FALSE}"; then
22397   { { echo "$as_me:$LINENO: error: conditional \"INCLUDE_KHMER_FC\" was never defined.
22398 Usually this means the macro was only invoked conditionally." >&5
22399 echo "$as_me: error: conditional \"INCLUDE_KHMER_FC\" was never defined.
22400 Usually this means the macro was only invoked conditionally." >&2;}
22401    { (exit 1); exit 1; }; }
22402 fi
22403 if test -z "${INCLUDE_SYRIAC_FC_TRUE}" && test -z "${INCLUDE_SYRIAC_FC_FALSE}"; then
22404   { { echo "$as_me:$LINENO: error: conditional \"INCLUDE_SYRIAC_FC\" was never defined.
22405 Usually this means the macro was only invoked conditionally." >&5
22406 echo "$as_me: error: conditional \"INCLUDE_SYRIAC_FC\" was never defined.
22407 Usually this means the macro was only invoked conditionally." >&2;}
22408    { (exit 1); exit 1; }; }
22409 fi
22410 if test -z "${INCLUDE_THAI_FC_TRUE}" && test -z "${INCLUDE_THAI_FC_FALSE}"; then
22411   { { echo "$as_me:$LINENO: error: conditional \"INCLUDE_THAI_FC\" was never defined.
22412 Usually this means the macro was only invoked conditionally." >&5
22413 echo "$as_me: error: conditional \"INCLUDE_THAI_FC\" was never defined.
22414 Usually this means the macro was only invoked conditionally." >&2;}
22415    { (exit 1); exit 1; }; }
22416 fi
22417 if test -z "${INCLUDE_THAI_LANG_TRUE}" && test -z "${INCLUDE_THAI_LANG_FALSE}"; then
22418   { { echo "$as_me:$LINENO: error: conditional \"INCLUDE_THAI_LANG\" was never defined.
22419 Usually this means the macro was only invoked conditionally." >&5
22420 echo "$as_me: error: conditional \"INCLUDE_THAI_LANG\" was never defined.
22421 Usually this means the macro was only invoked conditionally." >&2;}
22422    { (exit 1); exit 1; }; }
22423 fi
22424 if test -z "${INCLUDE_TIBETAN_FC_TRUE}" && test -z "${INCLUDE_TIBETAN_FC_FALSE}"; then
22425   { { echo "$as_me:$LINENO: error: conditional \"INCLUDE_TIBETAN_FC\" was never defined.
22426 Usually this means the macro was only invoked conditionally." >&5
22427 echo "$as_me: error: conditional \"INCLUDE_TIBETAN_FC\" was never defined.
22428 Usually this means the macro was only invoked conditionally." >&2;}
22429    { (exit 1); exit 1; }; }
22430 fi
22431 if test -z "${DYNAMIC_ARABIC_FC_TRUE}" && test -z "${DYNAMIC_ARABIC_FC_FALSE}"; then
22432   { { echo "$as_me:$LINENO: error: conditional \"DYNAMIC_ARABIC_FC\" was never defined.
22433 Usually this means the macro was only invoked conditionally." >&5
22434 echo "$as_me: error: conditional \"DYNAMIC_ARABIC_FC\" was never defined.
22435 Usually this means the macro was only invoked conditionally." >&2;}
22436    { (exit 1); exit 1; }; }
22437 fi
22438 if test -z "${DYNAMIC_ARABIC_LANG_TRUE}" && test -z "${DYNAMIC_ARABIC_LANG_FALSE}"; then
22439   { { echo "$as_me:$LINENO: error: conditional \"DYNAMIC_ARABIC_LANG\" was never defined.
22440 Usually this means the macro was only invoked conditionally." >&5
22441 echo "$as_me: error: conditional \"DYNAMIC_ARABIC_LANG\" was never defined.
22442 Usually this means the macro was only invoked conditionally." >&2;}
22443    { (exit 1); exit 1; }; }
22444 fi
22445 if test -z "${DYNAMIC_BASIC_FC_TRUE}" && test -z "${DYNAMIC_BASIC_FC_FALSE}"; then
22446   { { echo "$as_me:$LINENO: error: conditional \"DYNAMIC_BASIC_FC\" was never defined.
22447 Usually this means the macro was only invoked conditionally." >&5
22448 echo "$as_me: error: conditional \"DYNAMIC_BASIC_FC\" was never defined.
22449 Usually this means the macro was only invoked conditionally." >&2;}
22450    { (exit 1); exit 1; }; }
22451 fi
22452 if test -z "${DYNAMIC_BASIC_WIN32_TRUE}" && test -z "${DYNAMIC_BASIC_WIN32_FALSE}"; then
22453   { { echo "$as_me:$LINENO: error: conditional \"DYNAMIC_BASIC_WIN32\" was never defined.
22454 Usually this means the macro was only invoked conditionally." >&5
22455 echo "$as_me: error: conditional \"DYNAMIC_BASIC_WIN32\" was never defined.
22456 Usually this means the macro was only invoked conditionally." >&2;}
22457    { (exit 1); exit 1; }; }
22458 fi
22459 if test -z "${DYNAMIC_BASIC_X_TRUE}" && test -z "${DYNAMIC_BASIC_X_FALSE}"; then
22460   { { echo "$as_me:$LINENO: error: conditional \"DYNAMIC_BASIC_X\" was never defined.
22461 Usually this means the macro was only invoked conditionally." >&5
22462 echo "$as_me: error: conditional \"DYNAMIC_BASIC_X\" was never defined.
22463 Usually this means the macro was only invoked conditionally." >&2;}
22464    { (exit 1); exit 1; }; }
22465 fi
22466 if test -z "${DYNAMIC_BASIC_ATSUI_TRUE}" && test -z "${DYNAMIC_BASIC_ATSUI_FALSE}"; then
22467   { { echo "$as_me:$LINENO: error: conditional \"DYNAMIC_BASIC_ATSUI\" was never defined.
22468 Usually this means the macro was only invoked conditionally." >&5
22469 echo "$as_me: error: conditional \"DYNAMIC_BASIC_ATSUI\" was never defined.
22470 Usually this means the macro was only invoked conditionally." >&2;}
22471    { (exit 1); exit 1; }; }
22472 fi
22473 if test -z "${DYNAMIC_HANGUL_FC_TRUE}" && test -z "${DYNAMIC_HANGUL_FC_FALSE}"; then
22474   { { echo "$as_me:$LINENO: error: conditional \"DYNAMIC_HANGUL_FC\" was never defined.
22475 Usually this means the macro was only invoked conditionally." >&5
22476 echo "$as_me: error: conditional \"DYNAMIC_HANGUL_FC\" was never defined.
22477 Usually this means the macro was only invoked conditionally." >&2;}
22478    { (exit 1); exit 1; }; }
22479 fi
22480 if test -z "${DYNAMIC_HEBREW_FC_TRUE}" && test -z "${DYNAMIC_HEBREW_FC_FALSE}"; then
22481   { { echo "$as_me:$LINENO: error: conditional \"DYNAMIC_HEBREW_FC\" was never defined.
22482 Usually this means the macro was only invoked conditionally." >&5
22483 echo "$as_me: error: conditional \"DYNAMIC_HEBREW_FC\" was never defined.
22484 Usually this means the macro was only invoked conditionally." >&2;}
22485    { (exit 1); exit 1; }; }
22486 fi
22487 if test -z "${DYNAMIC_INDIC_FC_TRUE}" && test -z "${DYNAMIC_INDIC_FC_FALSE}"; then
22488   { { echo "$as_me:$LINENO: error: conditional \"DYNAMIC_INDIC_FC\" was never defined.
22489 Usually this means the macro was only invoked conditionally." >&5
22490 echo "$as_me: error: conditional \"DYNAMIC_INDIC_FC\" was never defined.
22491 Usually this means the macro was only invoked conditionally." >&2;}
22492    { (exit 1); exit 1; }; }
22493 fi
22494 if test -z "${DYNAMIC_INDIC_LANG_TRUE}" && test -z "${DYNAMIC_INDIC_LANG_FALSE}"; then
22495   { { echo "$as_me:$LINENO: error: conditional \"DYNAMIC_INDIC_LANG\" was never defined.
22496 Usually this means the macro was only invoked conditionally." >&5
22497 echo "$as_me: error: conditional \"DYNAMIC_INDIC_LANG\" was never defined.
22498 Usually this means the macro was only invoked conditionally." >&2;}
22499    { (exit 1); exit 1; }; }
22500 fi
22501 if test -z "${DYNAMIC_KHMER_FC_TRUE}" && test -z "${DYNAMIC_KHMER_FC_FALSE}"; then
22502   { { echo "$as_me:$LINENO: error: conditional \"DYNAMIC_KHMER_FC\" was never defined.
22503 Usually this means the macro was only invoked conditionally." >&5
22504 echo "$as_me: error: conditional \"DYNAMIC_KHMER_FC\" was never defined.
22505 Usually this means the macro was only invoked conditionally." >&2;}
22506    { (exit 1); exit 1; }; }
22507 fi
22508 if test -z "${DYNAMIC_SYRIAC_FC_TRUE}" && test -z "${DYNAMIC_SYRIAC_FC_FALSE}"; then
22509   { { echo "$as_me:$LINENO: error: conditional \"DYNAMIC_SYRIAC_FC\" was never defined.
22510 Usually this means the macro was only invoked conditionally." >&5
22511 echo "$as_me: error: conditional \"DYNAMIC_SYRIAC_FC\" was never defined.
22512 Usually this means the macro was only invoked conditionally." >&2;}
22513    { (exit 1); exit 1; }; }
22514 fi
22515 if test -z "${DYNAMIC_THAI_FC_TRUE}" && test -z "${DYNAMIC_THAI_FC_FALSE}"; then
22516   { { echo "$as_me:$LINENO: error: conditional \"DYNAMIC_THAI_FC\" was never defined.
22517 Usually this means the macro was only invoked conditionally." >&5
22518 echo "$as_me: error: conditional \"DYNAMIC_THAI_FC\" was never defined.
22519 Usually this means the macro was only invoked conditionally." >&2;}
22520    { (exit 1); exit 1; }; }
22521 fi
22522 if test -z "${DYNAMIC_THAI_LANG_TRUE}" && test -z "${DYNAMIC_THAI_LANG_FALSE}"; then
22523   { { echo "$as_me:$LINENO: error: conditional \"DYNAMIC_THAI_LANG\" was never defined.
22524 Usually this means the macro was only invoked conditionally." >&5
22525 echo "$as_me: error: conditional \"DYNAMIC_THAI_LANG\" was never defined.
22526 Usually this means the macro was only invoked conditionally." >&2;}
22527    { (exit 1); exit 1; }; }
22528 fi
22529 if test -z "${DYNAMIC_TIBETAN_FC_TRUE}" && test -z "${DYNAMIC_TIBETAN_FC_FALSE}"; then
22530   { { echo "$as_me:$LINENO: error: conditional \"DYNAMIC_TIBETAN_FC\" was never defined.
22531 Usually this means the macro was only invoked conditionally." >&5
22532 echo "$as_me: error: conditional \"DYNAMIC_TIBETAN_FC\" was never defined.
22533 Usually this means the macro was only invoked conditionally." >&2;}
22534    { (exit 1); exit 1; }; }
22535 fi
22536 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
22537   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_GTK_DOC\" was never defined.
22538 Usually this means the macro was only invoked conditionally." >&5
22539 echo "$as_me: error: conditional \"ENABLE_GTK_DOC\" was never defined.
22540 Usually this means the macro was only invoked conditionally." >&2;}
22541    { (exit 1); exit 1; }; }
22542 fi
22543 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
22544   { { echo "$as_me:$LINENO: error: conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
22545 Usually this means the macro was only invoked conditionally." >&5
22546 echo "$as_me: error: conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
22547 Usually this means the macro was only invoked conditionally." >&2;}
22548    { (exit 1); exit 1; }; }
22549 fi
22550 if test -z "${ENABLE_MAN_TRUE}" && test -z "${ENABLE_MAN_FALSE}"; then
22551   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_MAN\" was never defined.
22552 Usually this means the macro was only invoked conditionally." >&5
22553 echo "$as_me: error: conditional \"ENABLE_MAN\" was never defined.
22554 Usually this means the macro was only invoked conditionally." >&2;}
22555    { (exit 1); exit 1; }; }
22556 fi
22557 if test -z "${ENABLE_DOC_CROSS_REFERENCES_TRUE}" && test -z "${ENABLE_DOC_CROSS_REFERENCES_FALSE}"; then
22558   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_DOC_CROSS_REFERENCES\" was never defined.
22559 Usually this means the macro was only invoked conditionally." >&5
22560 echo "$as_me: error: conditional \"ENABLE_DOC_CROSS_REFERENCES\" was never defined.
22561 Usually this means the macro was only invoked conditionally." >&2;}
22562    { (exit 1); exit 1; }; }
22563 fi
22564 if test -z "${DISABLE_EXPLICIT_DEPS_TRUE}" && test -z "${DISABLE_EXPLICIT_DEPS_FALSE}"; then
22565   { { echo "$as_me:$LINENO: error: conditional \"DISABLE_EXPLICIT_DEPS\" was never defined.
22566 Usually this means the macro was only invoked conditionally." >&5
22567 echo "$as_me: error: conditional \"DISABLE_EXPLICIT_DEPS\" was never defined.
22568 Usually this means the macro was only invoked conditionally." >&2;}
22569    { (exit 1); exit 1; }; }
22570 fi
22571
22572 : ${CONFIG_STATUS=./config.status}
22573 ac_clean_files_save=$ac_clean_files
22574 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22575 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22576 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22577 cat >$CONFIG_STATUS <<_ACEOF
22578 #! $SHELL
22579 # Generated by $as_me.
22580 # Run this file to recreate the current configuration.
22581 # Compiler output produced by configure, useful for debugging
22582 # configure, is in config.log if it exists.
22583
22584 debug=false
22585 ac_cs_recheck=false
22586 ac_cs_silent=false
22587 SHELL=\${CONFIG_SHELL-$SHELL}
22588 _ACEOF
22589
22590 cat >>$CONFIG_STATUS <<\_ACEOF
22591 ## --------------------- ##
22592 ## M4sh Initialization.  ##
22593 ## --------------------- ##
22594
22595 # Be more Bourne compatible
22596 DUALCASE=1; export DUALCASE # for MKS sh
22597 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22598   emulate sh
22599   NULLCMD=:
22600   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22601   # is contrary to our usage.  Disable this feature.
22602   alias -g '${1+"$@"}'='"$@"'
22603   setopt NO_GLOB_SUBST
22604 else
22605   case `(set -o) 2>/dev/null` in
22606   *posix*) set -o posix ;;
22607 esac
22608
22609 fi
22610
22611
22612
22613
22614 # PATH needs CR
22615 # Avoid depending upon Character Ranges.
22616 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22617 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22618 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22619 as_cr_digits='0123456789'
22620 as_cr_alnum=$as_cr_Letters$as_cr_digits
22621
22622 # The user is always right.
22623 if test "${PATH_SEPARATOR+set}" != set; then
22624   echo "#! /bin/sh" >conf$$.sh
22625   echo  "exit 0"   >>conf$$.sh
22626   chmod +x conf$$.sh
22627   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22628     PATH_SEPARATOR=';'
22629   else
22630     PATH_SEPARATOR=:
22631   fi
22632   rm -f conf$$.sh
22633 fi
22634
22635 # Support unset when possible.
22636 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22637   as_unset=unset
22638 else
22639   as_unset=false
22640 fi
22641
22642
22643 # IFS
22644 # We need space, tab and new line, in precisely that order.  Quoting is
22645 # there to prevent editors from complaining about space-tab.
22646 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22647 # splitting by setting IFS to empty value.)
22648 as_nl='
22649 '
22650 IFS=" ""        $as_nl"
22651
22652 # Find who we are.  Look in the path if we contain no directory separator.
22653 case $0 in
22654   *[\\/]* ) as_myself=$0 ;;
22655   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22656 for as_dir in $PATH
22657 do
22658   IFS=$as_save_IFS
22659   test -z "$as_dir" && as_dir=.
22660   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22661 done
22662 IFS=$as_save_IFS
22663
22664      ;;
22665 esac
22666 # We did not find ourselves, most probably we were run as `sh COMMAND'
22667 # in which case we are not to be found in the path.
22668 if test "x$as_myself" = x; then
22669   as_myself=$0
22670 fi
22671 if test ! -f "$as_myself"; then
22672   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22673   { (exit 1); exit 1; }
22674 fi
22675
22676 # Work around bugs in pre-3.0 UWIN ksh.
22677 for as_var in ENV MAIL MAILPATH
22678 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22679 done
22680 PS1='$ '
22681 PS2='> '
22682 PS4='+ '
22683
22684 # NLS nuisances.
22685 for as_var in \
22686   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22687   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22688   LC_TELEPHONE LC_TIME
22689 do
22690   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22691     eval $as_var=C; export $as_var
22692   else
22693     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22694   fi
22695 done
22696
22697 # Required to use basename.
22698 if expr a : '\(a\)' >/dev/null 2>&1 &&
22699    test "X`expr 00001 : '.*\(...\)'`" = X001; then
22700   as_expr=expr
22701 else
22702   as_expr=false
22703 fi
22704
22705 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22706   as_basename=basename
22707 else
22708   as_basename=false
22709 fi
22710
22711
22712 # Name of the executable.
22713 as_me=`$as_basename -- "$0" ||
22714 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22715          X"$0" : 'X\(//\)$' \| \
22716          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22717 echo X/"$0" |
22718     sed '/^.*\/\([^/][^/]*\)\/*$/{
22719             s//\1/
22720             q
22721           }
22722           /^X\/\(\/\/\)$/{
22723             s//\1/
22724             q
22725           }
22726           /^X\/\(\/\).*/{
22727             s//\1/
22728             q
22729           }
22730           s/.*/./; q'`
22731
22732 # CDPATH.
22733 $as_unset CDPATH
22734
22735
22736
22737   as_lineno_1=$LINENO
22738   as_lineno_2=$LINENO
22739   test "x$as_lineno_1" != "x$as_lineno_2" &&
22740   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22741
22742   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22743   # uniformly replaced by the line number.  The first 'sed' inserts a
22744   # line-number line after each line using $LINENO; the second 'sed'
22745   # does the real work.  The second script uses 'N' to pair each
22746   # line-number line with the line containing $LINENO, and appends
22747   # trailing '-' during substitution so that $LINENO is not a special
22748   # case at line end.
22749   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22750   # scripts with optimization help from Paolo Bonzini.  Blame Lee
22751   # E. McMahon (1931-1989) for sed's syntax.  :-)
22752   sed -n '
22753     p
22754     /[$]LINENO/=
22755   ' <$as_myself |
22756     sed '
22757       s/[$]LINENO.*/&-/
22758       t lineno
22759       b
22760       :lineno
22761       N
22762       :loop
22763       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22764       t loop
22765       s/-\n.*//
22766     ' >$as_me.lineno &&
22767   chmod +x "$as_me.lineno" ||
22768     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22769    { (exit 1); exit 1; }; }
22770
22771   # Don't try to exec as it changes $[0], causing all sort of problems
22772   # (the dirname of $[0] is not the place where we might find the
22773   # original and so on.  Autoconf is especially sensitive to this).
22774   . "./$as_me.lineno"
22775   # Exit status is that of the last command.
22776   exit
22777 }
22778
22779
22780 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22781   as_dirname=dirname
22782 else
22783   as_dirname=false
22784 fi
22785
22786 ECHO_C= ECHO_N= ECHO_T=
22787 case `echo -n x` in
22788 -n*)
22789   case `echo 'x\c'` in
22790   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
22791   *)   ECHO_C='\c';;
22792   esac;;
22793 *)
22794   ECHO_N='-n';;
22795 esac
22796
22797 if expr a : '\(a\)' >/dev/null 2>&1 &&
22798    test "X`expr 00001 : '.*\(...\)'`" = X001; then
22799   as_expr=expr
22800 else
22801   as_expr=false
22802 fi
22803
22804 rm -f conf$$ conf$$.exe conf$$.file
22805 if test -d conf$$.dir; then
22806   rm -f conf$$.dir/conf$$.file
22807 else
22808   rm -f conf$$.dir
22809   mkdir conf$$.dir
22810 fi
22811 echo >conf$$.file
22812 if ln -s conf$$.file conf$$ 2>/dev/null; then
22813   as_ln_s='ln -s'
22814   # ... but there are two gotchas:
22815   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22816   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22817   # In both cases, we have to default to `cp -p'.
22818   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22819     as_ln_s='cp -p'
22820 elif ln conf$$.file conf$$ 2>/dev/null; then
22821   as_ln_s=ln
22822 else
22823   as_ln_s='cp -p'
22824 fi
22825 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22826 rmdir conf$$.dir 2>/dev/null
22827
22828 if mkdir -p . 2>/dev/null; then
22829   as_mkdir_p=:
22830 else
22831   test -d ./-p && rmdir ./-p
22832   as_mkdir_p=false
22833 fi
22834
22835 if test -x / >/dev/null 2>&1; then
22836   as_test_x='test -x'
22837 else
22838   if ls -dL / >/dev/null 2>&1; then
22839     as_ls_L_option=L
22840   else
22841     as_ls_L_option=
22842   fi
22843   as_test_x='
22844     eval sh -c '\''
22845       if test -d "$1"; then
22846         test -d "$1/.";
22847       else
22848         case $1 in
22849         -*)set "./$1";;
22850         esac;
22851         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22852         ???[sx]*):;;*)false;;esac;fi
22853     '\'' sh
22854   '
22855 fi
22856 as_executable_p=$as_test_x
22857
22858 # Sed expression to map a string onto a valid CPP name.
22859 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22860
22861 # Sed expression to map a string onto a valid variable name.
22862 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22863
22864
22865 exec 6>&1
22866
22867 # Save the log message, to keep $[0] and so on meaningful, and to
22868 # report actual input values of CONFIG_FILES etc. instead of their
22869 # values after options handling.
22870 ac_log="
22871 This file was extended by pango $as_me 1.26.1, which was
22872 generated by GNU Autoconf 2.61.  Invocation command line was
22873
22874   CONFIG_FILES    = $CONFIG_FILES
22875   CONFIG_HEADERS  = $CONFIG_HEADERS
22876   CONFIG_LINKS    = $CONFIG_LINKS
22877   CONFIG_COMMANDS = $CONFIG_COMMANDS
22878   $ $0 $@
22879
22880 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22881 "
22882
22883 _ACEOF
22884
22885 cat >>$CONFIG_STATUS <<_ACEOF
22886 # Files that config.status was made for.
22887 config_files="$ac_config_files"
22888 config_headers="$ac_config_headers"
22889 config_commands="$ac_config_commands"
22890
22891 _ACEOF
22892
22893 cat >>$CONFIG_STATUS <<\_ACEOF
22894 ac_cs_usage="\
22895 \`$as_me' instantiates files from templates according to the
22896 current configuration.
22897
22898 Usage: $0 [OPTIONS] [FILE]...
22899
22900   -h, --help       print this help, then exit
22901   -V, --version    print version number and configuration settings, then exit
22902   -q, --quiet      do not print progress messages
22903   -d, --debug      don't remove temporary files
22904       --recheck    update $as_me by reconfiguring in the same conditions
22905   --file=FILE[:TEMPLATE]
22906                    instantiate the configuration file FILE
22907   --header=FILE[:TEMPLATE]
22908                    instantiate the configuration header FILE
22909
22910 Configuration files:
22911 $config_files
22912
22913 Configuration headers:
22914 $config_headers
22915
22916 Configuration commands:
22917 $config_commands
22918
22919 Report bugs to <bug-autoconf@gnu.org>."
22920
22921 _ACEOF
22922 cat >>$CONFIG_STATUS <<_ACEOF
22923 ac_cs_version="\\
22924 pango config.status 1.26.1
22925 configured by $0, generated by GNU Autoconf 2.61,
22926   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22927
22928 Copyright (C) 2006 Free Software Foundation, Inc.
22929 This config.status script is free software; the Free Software Foundation
22930 gives unlimited permission to copy, distribute and modify it."
22931
22932 ac_pwd='$ac_pwd'
22933 srcdir='$srcdir'
22934 INSTALL='$INSTALL'
22935 _ACEOF
22936
22937 cat >>$CONFIG_STATUS <<\_ACEOF
22938 # If no file are specified by the user, then we need to provide default
22939 # value.  By we need to know if files were specified by the user.
22940 ac_need_defaults=:
22941 while test $# != 0
22942 do
22943   case $1 in
22944   --*=*)
22945     ac_option=`expr "X$1" : 'X\([^=]*\)='`
22946     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22947     ac_shift=:
22948     ;;
22949   *)
22950     ac_option=$1
22951     ac_optarg=$2
22952     ac_shift=shift
22953     ;;
22954   esac
22955
22956   case $ac_option in
22957   # Handling of the options.
22958   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22959     ac_cs_recheck=: ;;
22960   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22961     echo "$ac_cs_version"; exit ;;
22962   --debug | --debu | --deb | --de | --d | -d )
22963     debug=: ;;
22964   --file | --fil | --fi | --f )
22965     $ac_shift
22966     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
22967     ac_need_defaults=false;;
22968   --header | --heade | --head | --hea )
22969     $ac_shift
22970     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22971     ac_need_defaults=false;;
22972   --he | --h)
22973     # Conflict between --help and --header
22974     { echo "$as_me: error: ambiguous option: $1
22975 Try \`$0 --help' for more information." >&2
22976    { (exit 1); exit 1; }; };;
22977   --help | --hel | -h )
22978     echo "$ac_cs_usage"; exit ;;
22979   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22980   | -silent | --silent | --silen | --sile | --sil | --si | --s)
22981     ac_cs_silent=: ;;
22982
22983   # This is an error.
22984   -*) { echo "$as_me: error: unrecognized option: $1
22985 Try \`$0 --help' for more information." >&2
22986    { (exit 1); exit 1; }; } ;;
22987
22988   *) ac_config_targets="$ac_config_targets $1"
22989      ac_need_defaults=false ;;
22990
22991   esac
22992   shift
22993 done
22994
22995 ac_configure_extra_args=
22996
22997 if $ac_cs_silent; then
22998   exec 6>/dev/null
22999   ac_configure_extra_args="$ac_configure_extra_args --silent"
23000 fi
23001
23002 _ACEOF
23003 cat >>$CONFIG_STATUS <<_ACEOF
23004 if \$ac_cs_recheck; then
23005   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23006   CONFIG_SHELL=$SHELL
23007   export CONFIG_SHELL
23008   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23009 fi
23010
23011 _ACEOF
23012 cat >>$CONFIG_STATUS <<\_ACEOF
23013 exec 5>>config.log
23014 {
23015   echo
23016   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23017 ## Running $as_me. ##
23018 _ASBOX
23019   echo "$ac_log"
23020 } >&5
23021
23022 _ACEOF
23023 cat >>$CONFIG_STATUS <<_ACEOF
23024 #
23025 # INIT-COMMANDS
23026 #
23027 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23028
23029
23030 # The HP-UX ksh and POSIX shell print the target directory to stdout
23031 # if CDPATH is set.
23032 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
23033
23034 sed_quote_subst='$sed_quote_subst'
23035 double_quote_subst='$double_quote_subst'
23036 delay_variable_subst='$delay_variable_subst'
23037 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
23038 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
23039 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
23040 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
23041 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
23042 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
23043 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
23044 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
23045 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
23046 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
23047 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
23048 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
23049 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
23050 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
23051 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
23052 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
23053 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
23054 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
23055 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
23056 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
23057 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
23058 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
23059 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
23060 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
23061 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
23062 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
23063 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
23064 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
23065 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
23066 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
23067 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23068 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
23069 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
23070 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
23071 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
23072 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
23073 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
23074 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23075 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23076 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23077 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
23078 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
23079 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
23080 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
23081 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
23082 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
23083 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"`'
23084 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"`'
23085 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
23086 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
23087 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
23088 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
23089 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
23090 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
23091 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
23092 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
23093 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
23094 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
23095 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
23096 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
23097 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
23098 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
23099 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
23100 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
23101 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23102 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23103 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
23104 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
23105 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
23106 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
23107 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
23108 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23109 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23110 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23111 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23112 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23113 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23114 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
23115 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
23116 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
23117 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
23118 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
23119 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
23120 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
23121 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
23122 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
23123 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
23124 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
23125 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
23126 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
23127 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
23128 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
23129 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23130 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
23131 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
23132 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23133 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
23134 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
23135 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
23136 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
23137 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
23138 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
23139 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
23140 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
23141 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
23142 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
23143 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
23144 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23145 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23146 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23147 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
23148 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
23149 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
23150 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
23151 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
23152 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
23153 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
23154 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
23155 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
23156 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
23157 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
23158 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
23159 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
23160 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
23161 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
23162 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
23163 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23164 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23165 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23166 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23167 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23168 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23169 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23170 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23171 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23172 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23173 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23174 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23175 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23176 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23177 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23178 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23179 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23180 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23181 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23182 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23183 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23184 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23185 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23186 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23187 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23188 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23189 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23190 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23191 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23192 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23193 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23194 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23195 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23196 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23197 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23198 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23199 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23200 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23201 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23202 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23203 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23204 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23205 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23206 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23207 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23208 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23209 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23210
23211 LTCC='$LTCC'
23212 LTCFLAGS='$LTCFLAGS'
23213 compiler='$compiler_DEFAULT'
23214
23215 # Quote evaled strings.
23216 for var in SED \
23217 GREP \
23218 EGREP \
23219 FGREP \
23220 LD \
23221 NM \
23222 LN_S \
23223 lt_SP2NL \
23224 lt_NL2SP \
23225 reload_flag \
23226 deplibs_check_method \
23227 file_magic_cmd \
23228 AR \
23229 AR_FLAGS \
23230 STRIP \
23231 RANLIB \
23232 CC \
23233 CFLAGS \
23234 compiler \
23235 lt_cv_sys_global_symbol_pipe \
23236 lt_cv_sys_global_symbol_to_cdecl \
23237 lt_cv_sys_global_symbol_to_c_name_address \
23238 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
23239 SHELL \
23240 ECHO \
23241 lt_prog_compiler_no_builtin_flag \
23242 lt_prog_compiler_wl \
23243 lt_prog_compiler_pic \
23244 lt_prog_compiler_static \
23245 lt_cv_prog_compiler_c_o \
23246 need_locks \
23247 DSYMUTIL \
23248 NMEDIT \
23249 LIPO \
23250 OTOOL \
23251 OTOOL64 \
23252 shrext_cmds \
23253 export_dynamic_flag_spec \
23254 whole_archive_flag_spec \
23255 compiler_needs_object \
23256 with_gnu_ld \
23257 allow_undefined_flag \
23258 no_undefined_flag \
23259 hardcode_libdir_flag_spec \
23260 hardcode_libdir_flag_spec_ld \
23261 hardcode_libdir_separator \
23262 fix_srcfile_path \
23263 exclude_expsyms \
23264 include_expsyms \
23265 file_list_spec \
23266 variables_saved_for_relink \
23267 libname_spec \
23268 library_names_spec \
23269 soname_spec \
23270 finish_eval \
23271 old_striplib \
23272 striplib \
23273 compiler_lib_search_dirs \
23274 predep_objects \
23275 postdep_objects \
23276 predeps \
23277 postdeps \
23278 compiler_lib_search_path \
23279 LD_CXX \
23280 compiler_CXX \
23281 lt_prog_compiler_no_builtin_flag_CXX \
23282 lt_prog_compiler_wl_CXX \
23283 lt_prog_compiler_pic_CXX \
23284 lt_prog_compiler_static_CXX \
23285 lt_cv_prog_compiler_c_o_CXX \
23286 export_dynamic_flag_spec_CXX \
23287 whole_archive_flag_spec_CXX \
23288 compiler_needs_object_CXX \
23289 with_gnu_ld_CXX \
23290 allow_undefined_flag_CXX \
23291 no_undefined_flag_CXX \
23292 hardcode_libdir_flag_spec_CXX \
23293 hardcode_libdir_flag_spec_ld_CXX \
23294 hardcode_libdir_separator_CXX \
23295 fix_srcfile_path_CXX \
23296 exclude_expsyms_CXX \
23297 include_expsyms_CXX \
23298 file_list_spec_CXX \
23299 compiler_lib_search_dirs_CXX \
23300 predep_objects_CXX \
23301 postdep_objects_CXX \
23302 predeps_CXX \
23303 postdeps_CXX \
23304 compiler_lib_search_path_CXX; do
23305     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
23306     *[\\\\\\\`\\"\\\$]*)
23307       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
23308       ;;
23309     *)
23310       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23311       ;;
23312     esac
23313 done
23314
23315 # Double-quote double-evaled strings.
23316 for var in reload_cmds \
23317 old_postinstall_cmds \
23318 old_postuninstall_cmds \
23319 old_archive_cmds \
23320 extract_expsyms_cmds \
23321 old_archive_from_new_cmds \
23322 old_archive_from_expsyms_cmds \
23323 archive_cmds \
23324 archive_expsym_cmds \
23325 module_cmds \
23326 module_expsym_cmds \
23327 export_symbols_cmds \
23328 prelink_cmds \
23329 postinstall_cmds \
23330 postuninstall_cmds \
23331 finish_cmds \
23332 sys_lib_search_path_spec \
23333 sys_lib_dlsearch_path_spec \
23334 old_archive_cmds_CXX \
23335 old_archive_from_new_cmds_CXX \
23336 old_archive_from_expsyms_cmds_CXX \
23337 archive_cmds_CXX \
23338 archive_expsym_cmds_CXX \
23339 module_cmds_CXX \
23340 module_expsym_cmds_CXX \
23341 export_symbols_cmds_CXX \
23342 prelink_cmds_CXX; do
23343     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
23344     *[\\\\\\\`\\"\\\$]*)
23345       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
23346       ;;
23347     *)
23348       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23349       ;;
23350     esac
23351 done
23352
23353 # Fix-up fallback echo if it was mangled by the above quoting rules.
23354 case \$lt_ECHO in
23355 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
23356   ;;
23357 esac
23358
23359 ac_aux_dir='$ac_aux_dir'
23360 xsi_shell='$xsi_shell'
23361 lt_shell_append='$lt_shell_append'
23362
23363 # See if we are running on zsh, and set the options which allow our
23364 # commands through without removal of \ escapes INIT.
23365 if test -n "\${ZSH_VERSION+set}" ; then
23366    setopt NO_GLOB_SUBST
23367 fi
23368
23369
23370     PACKAGE='$PACKAGE'
23371     VERSION='$VERSION'
23372     TIMESTAMP='$TIMESTAMP'
23373     RM='$RM'
23374     ofile='$ofile'
23375
23376
23377
23378 ac_aux_dir='$ac_aux_dir'
23379
23380
23381
23382 included_modules=$included_modules
23383
23384
23385         PANGO_VERSION_MAJOR=$PANGO_VERSION_MAJOR
23386         PANGO_VERSION_MINOR=$PANGO_VERSION_MINOR
23387         PANGO_VERSION_MICRO=$PANGO_VERSION_MICRO
23388
23389
23390 _ACEOF
23391
23392 cat >>$CONFIG_STATUS <<\_ACEOF
23393
23394 # Handling of arguments.
23395 for ac_config_target in $ac_config_targets
23396 do
23397   case $ac_config_target in
23398     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
23399     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
23400     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
23401     "pango/module-defs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS pango/module-defs.h" ;;
23402     "pango/module-defs-x.c") CONFIG_COMMANDS="$CONFIG_COMMANDS pango/module-defs-x.c" ;;
23403     "pango/module-defs-fc.c") CONFIG_COMMANDS="$CONFIG_COMMANDS pango/module-defs-fc.c" ;;
23404     "pango/module-defs-win32.c") CONFIG_COMMANDS="$CONFIG_COMMANDS pango/module-defs-win32.c" ;;
23405     "pango/module-defs-atsui.c") CONFIG_COMMANDS="$CONFIG_COMMANDS pango/module-defs-atsui.c" ;;
23406     "pango/module-defs-lang.c") CONFIG_COMMANDS="$CONFIG_COMMANDS pango/module-defs-lang.c" ;;
23407     "pango/pango-features.h") CONFIG_COMMANDS="$CONFIG_COMMANDS pango/pango-features.h" ;;
23408     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
23409     "pango/Makefile") CONFIG_FILES="$CONFIG_FILES pango/Makefile" ;;
23410     "pango/mini-fribidi/Makefile") CONFIG_FILES="$CONFIG_FILES pango/mini-fribidi/Makefile" ;;
23411     "pango/opentype/Makefile") CONFIG_FILES="$CONFIG_FILES pango/opentype/Makefile" ;;
23412     "pango/pango.rc") CONFIG_FILES="$CONFIG_FILES pango/pango.rc" ;;
23413     "pango/pangoft2.rc") CONFIG_FILES="$CONFIG_FILES pango/pangoft2.rc" ;;
23414     "pango/pangowin32.rc") CONFIG_FILES="$CONFIG_FILES pango/pangowin32.rc" ;;
23415     "pango/pangox.rc") CONFIG_FILES="$CONFIG_FILES pango/pangox.rc" ;;
23416     "pango/pangoxft.rc") CONFIG_FILES="$CONFIG_FILES pango/pangoxft.rc" ;;
23417     "pango-view/Makefile") CONFIG_FILES="$CONFIG_FILES pango-view/Makefile" ;;
23418     "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
23419     "modules/arabic/Makefile") CONFIG_FILES="$CONFIG_FILES modules/arabic/Makefile" ;;
23420     "modules/basic/Makefile") CONFIG_FILES="$CONFIG_FILES modules/basic/Makefile" ;;
23421     "modules/hangul/Makefile") CONFIG_FILES="$CONFIG_FILES modules/hangul/Makefile" ;;
23422     "modules/hebrew/Makefile") CONFIG_FILES="$CONFIG_FILES modules/hebrew/Makefile" ;;
23423     "modules/indic/Makefile") CONFIG_FILES="$CONFIG_FILES modules/indic/Makefile" ;;
23424     "modules/khmer/Makefile") CONFIG_FILES="$CONFIG_FILES modules/khmer/Makefile" ;;
23425     "modules/syriac/Makefile") CONFIG_FILES="$CONFIG_FILES modules/syriac/Makefile" ;;
23426     "modules/thai/Makefile") CONFIG_FILES="$CONFIG_FILES modules/thai/Makefile" ;;
23427     "modules/tibetan/Makefile") CONFIG_FILES="$CONFIG_FILES modules/tibetan/Makefile" ;;
23428     "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
23429     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
23430     "docs/version.xml") CONFIG_FILES="$CONFIG_FILES docs/version.xml" ;;
23431     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
23432     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
23433     "pango.pc") CONFIG_FILES="$CONFIG_FILES pango.pc" ;;
23434     "pangox.pc") CONFIG_FILES="$CONFIG_FILES pangox.pc" ;;
23435     "pangowin32.pc") CONFIG_FILES="$CONFIG_FILES pangowin32.pc" ;;
23436     "pangoft2.pc") CONFIG_FILES="$CONFIG_FILES pangoft2.pc" ;;
23437     "pangoxft.pc") CONFIG_FILES="$CONFIG_FILES pangoxft.pc" ;;
23438     "pangocairo.pc") CONFIG_FILES="$CONFIG_FILES pangocairo.pc" ;;
23439     "pango-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pango-uninstalled.pc" ;;
23440     "pangox-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pangox-uninstalled.pc" ;;
23441     "pangowin32-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pangowin32-uninstalled.pc" ;;
23442     "pangoft2-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pangoft2-uninstalled.pc" ;;
23443     "pangoxft-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pangoxft-uninstalled.pc" ;;
23444     "pangocairo-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pangocairo-uninstalled.pc" ;;
23445     "pango-zip.sh") CONFIG_FILES="$CONFIG_FILES pango-zip.sh" ;;
23446     "tests/runtests.sh") CONFIG_FILES="$CONFIG_FILES tests/runtests.sh" ;;
23447
23448   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23449 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23450    { (exit 1); exit 1; }; };;
23451   esac
23452 done
23453
23454
23455 # If the user did not use the arguments to specify the items to instantiate,
23456 # then the envvar interface is used.  Set only those that are not.
23457 # We use the long form for the default assignment because of an extremely
23458 # bizarre bug on SunOS 4.1.3.
23459 if $ac_need_defaults; then
23460   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23461   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23462   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23463 fi
23464
23465 # Have a temporary directory for convenience.  Make it in the build tree
23466 # simply because there is no reason against having it here, and in addition,
23467 # creating and moving files from /tmp can sometimes cause problems.
23468 # Hook for its removal unless debugging.
23469 # Note that there is a small window in which the directory will not be cleaned:
23470 # after its creation but before its name has been assigned to `$tmp'.
23471 $debug ||
23472 {
23473   tmp=
23474   trap 'exit_status=$?
23475   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23476 ' 0
23477   trap '{ (exit 1); exit 1; }' 1 2 13 15
23478 }
23479 # Create a (secure) tmp directory for tmp files.
23480
23481 {
23482   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23483   test -n "$tmp" && test -d "$tmp"
23484 }  ||
23485 {
23486   tmp=./conf$$-$RANDOM
23487   (umask 077 && mkdir "$tmp")
23488 } ||
23489 {
23490    echo "$me: cannot create a temporary directory in ." >&2
23491    { (exit 1); exit 1; }
23492 }
23493
23494 #
23495 # Set up the sed scripts for CONFIG_FILES section.
23496 #
23497
23498 # No need to generate the scripts if there are no CONFIG_FILES.
23499 # This happens for instance when ./config.status config.h
23500 if test -n "$CONFIG_FILES"; then
23501
23502 _ACEOF
23503
23504
23505
23506 ac_delim='%!_!# '
23507 for ac_last_try in false false false false false :; do
23508   cat >conf$$subs.sed <<_ACEOF
23509 SHELL!$SHELL$ac_delim
23510 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23511 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23512 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23513 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23514 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23515 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23516 exec_prefix!$exec_prefix$ac_delim
23517 prefix!$prefix$ac_delim
23518 program_transform_name!$program_transform_name$ac_delim
23519 bindir!$bindir$ac_delim
23520 sbindir!$sbindir$ac_delim
23521 libexecdir!$libexecdir$ac_delim
23522 datarootdir!$datarootdir$ac_delim
23523 datadir!$datadir$ac_delim
23524 sysconfdir!$sysconfdir$ac_delim
23525 sharedstatedir!$sharedstatedir$ac_delim
23526 localstatedir!$localstatedir$ac_delim
23527 includedir!$includedir$ac_delim
23528 oldincludedir!$oldincludedir$ac_delim
23529 docdir!$docdir$ac_delim
23530 infodir!$infodir$ac_delim
23531 htmldir!$htmldir$ac_delim
23532 dvidir!$dvidir$ac_delim
23533 pdfdir!$pdfdir$ac_delim
23534 psdir!$psdir$ac_delim
23535 libdir!$libdir$ac_delim
23536 localedir!$localedir$ac_delim
23537 mandir!$mandir$ac_delim
23538 DEFS!$DEFS$ac_delim
23539 ECHO_C!$ECHO_C$ac_delim
23540 ECHO_N!$ECHO_N$ac_delim
23541 ECHO_T!$ECHO_T$ac_delim
23542 LIBS!$LIBS$ac_delim
23543 build_alias!$build_alias$ac_delim
23544 host_alias!$host_alias$ac_delim
23545 target_alias!$target_alias$ac_delim
23546 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23547 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23548 INSTALL_DATA!$INSTALL_DATA$ac_delim
23549 CYGPATH_W!$CYGPATH_W$ac_delim
23550 PACKAGE!$PACKAGE$ac_delim
23551 VERSION!$VERSION$ac_delim
23552 ACLOCAL!$ACLOCAL$ac_delim
23553 AUTOCONF!$AUTOCONF$ac_delim
23554 AUTOMAKE!$AUTOMAKE$ac_delim
23555 AUTOHEADER!$AUTOHEADER$ac_delim
23556 MAKEINFO!$MAKEINFO$ac_delim
23557 install_sh!$install_sh$ac_delim
23558 STRIP!$STRIP$ac_delim
23559 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
23560 mkdir_p!$mkdir_p$ac_delim
23561 AWK!$AWK$ac_delim
23562 SET_MAKE!$SET_MAKE$ac_delim
23563 am__leading_dot!$am__leading_dot$ac_delim
23564 AMTAR!$AMTAR$ac_delim
23565 am__tar!$am__tar$ac_delim
23566 am__untar!$am__untar$ac_delim
23567 PANGO_VERSION_MAJOR!$PANGO_VERSION_MAJOR$ac_delim
23568 PANGO_VERSION_MINOR!$PANGO_VERSION_MINOR$ac_delim
23569 PANGO_VERSION_MICRO!$PANGO_VERSION_MICRO$ac_delim
23570 PANGO_VERSION!$PANGO_VERSION$ac_delim
23571 PANGO_API_VERSION!$PANGO_API_VERSION$ac_delim
23572 PANGO_INTERFACE_AGE!$PANGO_INTERFACE_AGE$ac_delim
23573 PANGO_BINARY_AGE!$PANGO_BINARY_AGE$ac_delim
23574 PANGO_MODULE_VERSION!$PANGO_MODULE_VERSION$ac_delim
23575 PANGO_CURRENT_MINUS_AGE!$PANGO_CURRENT_MINUS_AGE$ac_delim
23576 build!$build$ac_delim
23577 build_cpu!$build_cpu$ac_delim
23578 build_vendor!$build_vendor$ac_delim
23579 build_os!$build_os$ac_delim
23580 host!$host$ac_delim
23581 host_cpu!$host_cpu$ac_delim
23582 host_vendor!$host_vendor$ac_delim
23583 host_os!$host_os$ac_delim
23584 LIB_EXE_MACHINE_FLAG!$LIB_EXE_MACHINE_FLAG$ac_delim
23585 OS_WIN32_TRUE!$OS_WIN32_TRUE$ac_delim
23586 OS_WIN32_FALSE!$OS_WIN32_FALSE$ac_delim
23587 CC!$CC$ac_delim
23588 CFLAGS!$CFLAGS$ac_delim
23589 LDFLAGS!$LDFLAGS$ac_delim
23590 CPPFLAGS!$CPPFLAGS$ac_delim
23591 ac_ct_CC!$ac_ct_CC$ac_delim
23592 EXEEXT!$EXEEXT$ac_delim
23593 OBJEXT!$OBJEXT$ac_delim
23594 DEPDIR!$DEPDIR$ac_delim
23595 am__include!$am__include$ac_delim
23596 am__quote!$am__quote$ac_delim
23597 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
23598 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
23599 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
23600 CCDEPMODE!$CCDEPMODE$ac_delim
23601 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
23602 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
23603 CXX!$CXX$ac_delim
23604 CXXFLAGS!$CXXFLAGS$ac_delim
23605 ac_ct_CXX!$ac_ct_CXX$ac_delim
23606 _ACEOF
23607
23608   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
23609     break
23610   elif $ac_last_try; then
23611     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23612 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23613    { (exit 1); exit 1; }; }
23614   else
23615     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23616   fi
23617 done
23618
23619 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23620 if test -n "$ac_eof"; then
23621   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23622   ac_eof=`expr $ac_eof + 1`
23623 fi
23624
23625 cat >>$CONFIG_STATUS <<_ACEOF
23626 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23627 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23628 _ACEOF
23629 sed '
23630 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23631 s/^/s,@/; s/!/@,|#_!!_#|/
23632 :n
23633 t n
23634 s/'"$ac_delim"'$/,g/; t
23635 s/$/\\/; p
23636 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23637 ' >>$CONFIG_STATUS <conf$$subs.sed
23638 rm -f conf$$subs.sed
23639 cat >>$CONFIG_STATUS <<_ACEOF
23640 CEOF$ac_eof
23641 _ACEOF
23642
23643
23644 ac_delim='%!_!# '
23645 for ac_last_try in false false false false false :; do
23646   cat >conf$$subs.sed <<_ACEOF
23647 CXXDEPMODE!$CXXDEPMODE$ac_delim
23648 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
23649 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
23650 HAVE_CXX_TRUE!$HAVE_CXX_TRUE$ac_delim
23651 HAVE_CXX_FALSE!$HAVE_CXX_FALSE$ac_delim
23652 CPP!$CPP$ac_delim
23653 GREP!$GREP$ac_delim
23654 EGREP!$EGREP$ac_delim
23655 AS!$AS$ac_delim
23656 DLLTOOL!$DLLTOOL$ac_delim
23657 OBJDUMP!$OBJDUMP$ac_delim
23658 LIBTOOL!$LIBTOOL$ac_delim
23659 SED!$SED$ac_delim
23660 FGREP!$FGREP$ac_delim
23661 LD!$LD$ac_delim
23662 DUMPBIN!$DUMPBIN$ac_delim
23663 ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim
23664 NM!$NM$ac_delim
23665 LN_S!$LN_S$ac_delim
23666 AR!$AR$ac_delim
23667 RANLIB!$RANLIB$ac_delim
23668 lt_ECHO!$lt_ECHO$ac_delim
23669 DSYMUTIL!$DSYMUTIL$ac_delim
23670 NMEDIT!$NMEDIT$ac_delim
23671 LIPO!$LIPO$ac_delim
23672 OTOOL!$OTOOL$ac_delim
23673 OTOOL64!$OTOOL64$ac_delim
23674 CXXCPP!$CXXCPP$ac_delim
23675 PLATFORM_WIN32_TRUE!$PLATFORM_WIN32_TRUE$ac_delim
23676 PLATFORM_WIN32_FALSE!$PLATFORM_WIN32_FALSE$ac_delim
23677 WINDRES!$WINDRES$ac_delim
23678 ms_librarian!$ms_librarian$ac_delim
23679 MS_LIB_AVAILABLE_TRUE!$MS_LIB_AVAILABLE_TRUE$ac_delim
23680 MS_LIB_AVAILABLE_FALSE!$MS_LIB_AVAILABLE_FALSE$ac_delim
23681 PANGO_DEBUG_FLAGS!$PANGO_DEBUG_FLAGS$ac_delim
23682 CROSS_COMPILING_TRUE!$CROSS_COMPILING_TRUE$ac_delim
23683 CROSS_COMPILING_FALSE!$CROSS_COMPILING_FALSE$ac_delim
23684 XMKMF!$XMKMF$ac_delim
23685 X_CFLAGS!$X_CFLAGS$ac_delim
23686 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23687 X_LIBS!$X_LIBS$ac_delim
23688 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23689 HAVE_X_TRUE!$HAVE_X_TRUE$ac_delim
23690 HAVE_X_FALSE!$HAVE_X_FALSE$ac_delim
23691 PKG_CONFIG!$PKG_CONFIG$ac_delim
23692 FONTCONFIG_CFLAGS!$FONTCONFIG_CFLAGS$ac_delim
23693 FONTCONFIG_LIBS!$FONTCONFIG_LIBS$ac_delim
23694 FREETYPE_CFLAGS!$FREETYPE_CFLAGS$ac_delim
23695 FREETYPE_LIBS!$FREETYPE_LIBS$ac_delim
23696 HAVE_FREETYPE_TRUE!$HAVE_FREETYPE_TRUE$ac_delim
23697 HAVE_FREETYPE_FALSE!$HAVE_FREETYPE_FALSE$ac_delim
23698 XFT_CFLAGS!$XFT_CFLAGS$ac_delim
23699 XFT_LIBS!$XFT_LIBS$ac_delim
23700 HAVE_XFT_TRUE!$HAVE_XFT_TRUE$ac_delim
23701 HAVE_XFT_FALSE!$HAVE_XFT_FALSE$ac_delim
23702 WIN32_LIBS!$WIN32_LIBS$ac_delim
23703 HAVE_WIN32_TRUE!$HAVE_WIN32_TRUE$ac_delim
23704 HAVE_WIN32_FALSE!$HAVE_WIN32_FALSE$ac_delim
23705 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
23706 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
23707 HAVE_CAIRO_TRUE!$HAVE_CAIRO_TRUE$ac_delim
23708 HAVE_CAIRO_FALSE!$HAVE_CAIRO_FALSE$ac_delim
23709 HAVE_CAIRO_PNG_TRUE!$HAVE_CAIRO_PNG_TRUE$ac_delim
23710 HAVE_CAIRO_PNG_FALSE!$HAVE_CAIRO_PNG_FALSE$ac_delim
23711 HAVE_CAIRO_PS_TRUE!$HAVE_CAIRO_PS_TRUE$ac_delim
23712 HAVE_CAIRO_PS_FALSE!$HAVE_CAIRO_PS_FALSE$ac_delim
23713 HAVE_CAIRO_PDF_TRUE!$HAVE_CAIRO_PDF_TRUE$ac_delim
23714 HAVE_CAIRO_PDF_FALSE!$HAVE_CAIRO_PDF_FALSE$ac_delim
23715 HAVE_CAIRO_XLIB_TRUE!$HAVE_CAIRO_XLIB_TRUE$ac_delim
23716 HAVE_CAIRO_XLIB_FALSE!$HAVE_CAIRO_XLIB_FALSE$ac_delim
23717 HAVE_CAIRO_WIN32_TRUE!$HAVE_CAIRO_WIN32_TRUE$ac_delim
23718 HAVE_CAIRO_WIN32_FALSE!$HAVE_CAIRO_WIN32_FALSE$ac_delim
23719 HAVE_CAIRO_FREETYPE_TRUE!$HAVE_CAIRO_FREETYPE_TRUE$ac_delim
23720 HAVE_CAIRO_FREETYPE_FALSE!$HAVE_CAIRO_FREETYPE_FALSE$ac_delim
23721 HAVE_CAIRO_ATSUI_TRUE!$HAVE_CAIRO_ATSUI_TRUE$ac_delim
23722 HAVE_CAIRO_ATSUI_FALSE!$HAVE_CAIRO_ATSUI_FALSE$ac_delim
23723 GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim
23724 GLIB_LIBS!$GLIB_LIBS$ac_delim
23725 GLIB_MKENUMS!$GLIB_MKENUMS$ac_delim
23726 LIBTHAI_CFLAGS!$LIBTHAI_CFLAGS$ac_delim
23727 LIBTHAI_LIBS!$LIBTHAI_LIBS$ac_delim
23728 INTROSPECTION_CFLAGS!$INTROSPECTION_CFLAGS$ac_delim
23729 INTROSPECTION_LIBS!$INTROSPECTION_LIBS$ac_delim
23730 HAVE_INTROSPECTION_TRUE!$HAVE_INTROSPECTION_TRUE$ac_delim
23731 HAVE_INTROSPECTION_FALSE!$HAVE_INTROSPECTION_FALSE$ac_delim
23732 G_IR_SCANNER!$G_IR_SCANNER$ac_delim
23733 G_IR_COMPILER!$G_IR_COMPILER$ac_delim
23734 G_IR_GENERATE!$G_IR_GENERATE$ac_delim
23735 GIRDIR!$GIRDIR$ac_delim
23736 TYPELIBDIR!$TYPELIBDIR$ac_delim
23737 HAVE_INCLUDED_MODULES_TRUE!$HAVE_INCLUDED_MODULES_TRUE$ac_delim
23738 HAVE_INCLUDED_MODULES_FALSE!$HAVE_INCLUDED_MODULES_FALSE$ac_delim
23739 HAVE_DYNAMIC_MODULES_TRUE!$HAVE_DYNAMIC_MODULES_TRUE$ac_delim
23740 HAVE_DYNAMIC_MODULES_FALSE!$HAVE_DYNAMIC_MODULES_FALSE$ac_delim
23741 INCLUDED_X_MODULES!$INCLUDED_X_MODULES$ac_delim
23742 INCLUDED_FC_MODULES!$INCLUDED_FC_MODULES$ac_delim
23743 INCLUDED_WIN32_MODULES!$INCLUDED_WIN32_MODULES$ac_delim
23744 _ACEOF
23745
23746   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
23747     break
23748   elif $ac_last_try; then
23749     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23750 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23751    { (exit 1); exit 1; }; }
23752   else
23753     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23754   fi
23755 done
23756
23757 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23758 if test -n "$ac_eof"; then
23759   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23760   ac_eof=`expr $ac_eof + 1`
23761 fi
23762
23763 cat >>$CONFIG_STATUS <<_ACEOF
23764 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23765 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23766 _ACEOF
23767 sed '
23768 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23769 s/^/s,@/; s/!/@,|#_!!_#|/
23770 :n
23771 t n
23772 s/'"$ac_delim"'$/,g/; t
23773 s/$/\\/; p
23774 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23775 ' >>$CONFIG_STATUS <conf$$subs.sed
23776 rm -f conf$$subs.sed
23777 cat >>$CONFIG_STATUS <<_ACEOF
23778 CEOF$ac_eof
23779 _ACEOF
23780
23781
23782 ac_delim='%!_!# '
23783 for ac_last_try in false false false false false :; do
23784   cat >conf$$subs.sed <<_ACEOF
23785 INCLUDED_ATSUI_MODULES!$INCLUDED_ATSUI_MODULES$ac_delim
23786 INCLUDED_LANG_MODULES!$INCLUDED_LANG_MODULES$ac_delim
23787 INCLUDE_ARABIC_FC_TRUE!$INCLUDE_ARABIC_FC_TRUE$ac_delim
23788 INCLUDE_ARABIC_FC_FALSE!$INCLUDE_ARABIC_FC_FALSE$ac_delim
23789 INCLUDE_ARABIC_LANG_TRUE!$INCLUDE_ARABIC_LANG_TRUE$ac_delim
23790 INCLUDE_ARABIC_LANG_FALSE!$INCLUDE_ARABIC_LANG_FALSE$ac_delim
23791 INCLUDE_BASIC_FC_TRUE!$INCLUDE_BASIC_FC_TRUE$ac_delim
23792 INCLUDE_BASIC_FC_FALSE!$INCLUDE_BASIC_FC_FALSE$ac_delim
23793 INCLUDE_BASIC_WIN32_TRUE!$INCLUDE_BASIC_WIN32_TRUE$ac_delim
23794 INCLUDE_BASIC_WIN32_FALSE!$INCLUDE_BASIC_WIN32_FALSE$ac_delim
23795 INCLUDE_BASIC_X_TRUE!$INCLUDE_BASIC_X_TRUE$ac_delim
23796 INCLUDE_BASIC_X_FALSE!$INCLUDE_BASIC_X_FALSE$ac_delim
23797 INCLUDE_BASIC_ATSUI_TRUE!$INCLUDE_BASIC_ATSUI_TRUE$ac_delim
23798 INCLUDE_BASIC_ATSUI_FALSE!$INCLUDE_BASIC_ATSUI_FALSE$ac_delim
23799 INCLUDE_HANGUL_FC_TRUE!$INCLUDE_HANGUL_FC_TRUE$ac_delim
23800 INCLUDE_HANGUL_FC_FALSE!$INCLUDE_HANGUL_FC_FALSE$ac_delim
23801 INCLUDE_HEBREW_FC_TRUE!$INCLUDE_HEBREW_FC_TRUE$ac_delim
23802 INCLUDE_HEBREW_FC_FALSE!$INCLUDE_HEBREW_FC_FALSE$ac_delim
23803 INCLUDE_INDIC_FC_TRUE!$INCLUDE_INDIC_FC_TRUE$ac_delim
23804 INCLUDE_INDIC_FC_FALSE!$INCLUDE_INDIC_FC_FALSE$ac_delim
23805 INCLUDE_INDIC_LANG_TRUE!$INCLUDE_INDIC_LANG_TRUE$ac_delim
23806 INCLUDE_INDIC_LANG_FALSE!$INCLUDE_INDIC_LANG_FALSE$ac_delim
23807 INCLUDE_KHMER_FC_TRUE!$INCLUDE_KHMER_FC_TRUE$ac_delim
23808 INCLUDE_KHMER_FC_FALSE!$INCLUDE_KHMER_FC_FALSE$ac_delim
23809 INCLUDE_SYRIAC_FC_TRUE!$INCLUDE_SYRIAC_FC_TRUE$ac_delim
23810 INCLUDE_SYRIAC_FC_FALSE!$INCLUDE_SYRIAC_FC_FALSE$ac_delim
23811 INCLUDE_THAI_FC_TRUE!$INCLUDE_THAI_FC_TRUE$ac_delim
23812 INCLUDE_THAI_FC_FALSE!$INCLUDE_THAI_FC_FALSE$ac_delim
23813 INCLUDE_THAI_LANG_TRUE!$INCLUDE_THAI_LANG_TRUE$ac_delim
23814 INCLUDE_THAI_LANG_FALSE!$INCLUDE_THAI_LANG_FALSE$ac_delim
23815 INCLUDE_TIBETAN_FC_TRUE!$INCLUDE_TIBETAN_FC_TRUE$ac_delim
23816 INCLUDE_TIBETAN_FC_FALSE!$INCLUDE_TIBETAN_FC_FALSE$ac_delim
23817 DYNAMIC_ARABIC_FC_TRUE!$DYNAMIC_ARABIC_FC_TRUE$ac_delim
23818 DYNAMIC_ARABIC_FC_FALSE!$DYNAMIC_ARABIC_FC_FALSE$ac_delim
23819 DYNAMIC_ARABIC_LANG_TRUE!$DYNAMIC_ARABIC_LANG_TRUE$ac_delim
23820 DYNAMIC_ARABIC_LANG_FALSE!$DYNAMIC_ARABIC_LANG_FALSE$ac_delim
23821 DYNAMIC_BASIC_FC_TRUE!$DYNAMIC_BASIC_FC_TRUE$ac_delim
23822 DYNAMIC_BASIC_FC_FALSE!$DYNAMIC_BASIC_FC_FALSE$ac_delim
23823 DYNAMIC_BASIC_WIN32_TRUE!$DYNAMIC_BASIC_WIN32_TRUE$ac_delim
23824 DYNAMIC_BASIC_WIN32_FALSE!$DYNAMIC_BASIC_WIN32_FALSE$ac_delim
23825 DYNAMIC_BASIC_X_TRUE!$DYNAMIC_BASIC_X_TRUE$ac_delim
23826 DYNAMIC_BASIC_X_FALSE!$DYNAMIC_BASIC_X_FALSE$ac_delim
23827 DYNAMIC_BASIC_ATSUI_TRUE!$DYNAMIC_BASIC_ATSUI_TRUE$ac_delim
23828 DYNAMIC_BASIC_ATSUI_FALSE!$DYNAMIC_BASIC_ATSUI_FALSE$ac_delim
23829 DYNAMIC_HANGUL_FC_TRUE!$DYNAMIC_HANGUL_FC_TRUE$ac_delim
23830 DYNAMIC_HANGUL_FC_FALSE!$DYNAMIC_HANGUL_FC_FALSE$ac_delim
23831 DYNAMIC_HEBREW_FC_TRUE!$DYNAMIC_HEBREW_FC_TRUE$ac_delim
23832 DYNAMIC_HEBREW_FC_FALSE!$DYNAMIC_HEBREW_FC_FALSE$ac_delim
23833 DYNAMIC_INDIC_FC_TRUE!$DYNAMIC_INDIC_FC_TRUE$ac_delim
23834 DYNAMIC_INDIC_FC_FALSE!$DYNAMIC_INDIC_FC_FALSE$ac_delim
23835 DYNAMIC_INDIC_LANG_TRUE!$DYNAMIC_INDIC_LANG_TRUE$ac_delim
23836 DYNAMIC_INDIC_LANG_FALSE!$DYNAMIC_INDIC_LANG_FALSE$ac_delim
23837 DYNAMIC_KHMER_FC_TRUE!$DYNAMIC_KHMER_FC_TRUE$ac_delim
23838 DYNAMIC_KHMER_FC_FALSE!$DYNAMIC_KHMER_FC_FALSE$ac_delim
23839 DYNAMIC_SYRIAC_FC_TRUE!$DYNAMIC_SYRIAC_FC_TRUE$ac_delim
23840 DYNAMIC_SYRIAC_FC_FALSE!$DYNAMIC_SYRIAC_FC_FALSE$ac_delim
23841 DYNAMIC_THAI_FC_TRUE!$DYNAMIC_THAI_FC_TRUE$ac_delim
23842 DYNAMIC_THAI_FC_FALSE!$DYNAMIC_THAI_FC_FALSE$ac_delim
23843 DYNAMIC_THAI_LANG_TRUE!$DYNAMIC_THAI_LANG_TRUE$ac_delim
23844 DYNAMIC_THAI_LANG_FALSE!$DYNAMIC_THAI_LANG_FALSE$ac_delim
23845 DYNAMIC_TIBETAN_FC_TRUE!$DYNAMIC_TIBETAN_FC_TRUE$ac_delim
23846 DYNAMIC_TIBETAN_FC_FALSE!$DYNAMIC_TIBETAN_FC_FALSE$ac_delim
23847 HTML_DIR!$HTML_DIR$ac_delim
23848 ENABLE_GTK_DOC_TRUE!$ENABLE_GTK_DOC_TRUE$ac_delim
23849 ENABLE_GTK_DOC_FALSE!$ENABLE_GTK_DOC_FALSE$ac_delim
23850 GTK_DOC_USE_LIBTOOL_TRUE!$GTK_DOC_USE_LIBTOOL_TRUE$ac_delim
23851 GTK_DOC_USE_LIBTOOL_FALSE!$GTK_DOC_USE_LIBTOOL_FALSE$ac_delim
23852 XSLTPROC!$XSLTPROC$ac_delim
23853 XML_CATALOG_FILE!$XML_CATALOG_FILE$ac_delim
23854 XMLCATALOG!$XMLCATALOG$ac_delim
23855 ENABLE_MAN_TRUE!$ENABLE_MAN_TRUE$ac_delim
23856 ENABLE_MAN_FALSE!$ENABLE_MAN_FALSE$ac_delim
23857 GLIB_PREFIX!$GLIB_PREFIX$ac_delim
23858 CAIRO_PREFIX!$CAIRO_PREFIX$ac_delim
23859 ENABLE_DOC_CROSS_REFERENCES_TRUE!$ENABLE_DOC_CROSS_REFERENCES_TRUE$ac_delim
23860 ENABLE_DOC_CROSS_REFERENCES_FALSE!$ENABLE_DOC_CROSS_REFERENCES_FALSE$ac_delim
23861 LIBRARY_LIBTOOL_OPTIONS!$LIBRARY_LIBTOOL_OPTIONS$ac_delim
23862 MODULE_LIBTOOL_OPTIONS!$MODULE_LIBTOOL_OPTIONS$ac_delim
23863 PKGCONFIG_MATH_LIBS!$PKGCONFIG_MATH_LIBS$ac_delim
23864 PKGCONFIG_CAIRO_REQUIRES!$PKGCONFIG_CAIRO_REQUIRES$ac_delim
23865 DISABLE_EXPLICIT_DEPS_TRUE!$DISABLE_EXPLICIT_DEPS_TRUE$ac_delim
23866 DISABLE_EXPLICIT_DEPS_FALSE!$DISABLE_EXPLICIT_DEPS_FALSE$ac_delim
23867 LIBOBJS!$LIBOBJS$ac_delim
23868 LTLIBOBJS!$LTLIBOBJS$ac_delim
23869 _ACEOF
23870
23871   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 84; then
23872     break
23873   elif $ac_last_try; then
23874     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23875 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23876    { (exit 1); exit 1; }; }
23877   else
23878     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23879   fi
23880 done
23881
23882 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23883 if test -n "$ac_eof"; then
23884   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23885   ac_eof=`expr $ac_eof + 1`
23886 fi
23887
23888 cat >>$CONFIG_STATUS <<_ACEOF
23889 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
23890 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23891 _ACEOF
23892 sed '
23893 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23894 s/^/s,@/; s/!/@,|#_!!_#|/
23895 :n
23896 t n
23897 s/'"$ac_delim"'$/,g/; t
23898 s/$/\\/; p
23899 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23900 ' >>$CONFIG_STATUS <conf$$subs.sed
23901 rm -f conf$$subs.sed
23902 cat >>$CONFIG_STATUS <<_ACEOF
23903 :end
23904 s/|#_!!_#|//g
23905 CEOF$ac_eof
23906 _ACEOF
23907
23908
23909 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23910 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23911 # trailing colons and then remove the whole line if VPATH becomes empty
23912 # (actually we leave an empty line to preserve line numbers).
23913 if test "x$srcdir" = x.; then
23914   ac_vpsub='/^[  ]*VPATH[        ]*=/{
23915 s/:*\$(srcdir):*/:/
23916 s/:*\${srcdir}:*/:/
23917 s/:*@srcdir@:*/:/
23918 s/^\([^=]*=[     ]*\):*/\1/
23919 s/:*$//
23920 s/^[^=]*=[       ]*$//
23921 }'
23922 fi
23923
23924 cat >>$CONFIG_STATUS <<\_ACEOF
23925 fi # test -n "$CONFIG_FILES"
23926
23927
23928 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
23929 do
23930   case $ac_tag in
23931   :[FHLC]) ac_mode=$ac_tag; continue;;
23932   esac
23933   case $ac_mode$ac_tag in
23934   :[FHL]*:*);;
23935   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23936 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23937    { (exit 1); exit 1; }; };;
23938   :[FH]-) ac_tag=-:-;;
23939   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23940   esac
23941   ac_save_IFS=$IFS
23942   IFS=:
23943   set x $ac_tag
23944   IFS=$ac_save_IFS
23945   shift
23946   ac_file=$1
23947   shift
23948
23949   case $ac_mode in
23950   :L) ac_source=$1;;
23951   :[FH])
23952     ac_file_inputs=
23953     for ac_f
23954     do
23955       case $ac_f in
23956       -) ac_f="$tmp/stdin";;
23957       *) # Look for the file first in the build tree, then in the source tree
23958          # (if the path is not absolute).  The absolute path cannot be DOS-style,
23959          # because $ac_f cannot contain `:'.
23960          test -f "$ac_f" ||
23961            case $ac_f in
23962            [\\/$]*) false;;
23963            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23964            esac ||
23965            { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23966 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23967    { (exit 1); exit 1; }; };;
23968       esac
23969       ac_file_inputs="$ac_file_inputs $ac_f"
23970     done
23971
23972     # Let's still pretend it is `configure' which instantiates (i.e., don't
23973     # use $as_me), people would be surprised to read:
23974     #    /* config.h.  Generated by config.status.  */
23975     configure_input="Generated from "`IFS=:
23976           echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23977     if test x"$ac_file" != x-; then
23978       configure_input="$ac_file.  $configure_input"
23979       { echo "$as_me:$LINENO: creating $ac_file" >&5
23980 echo "$as_me: creating $ac_file" >&6;}
23981     fi
23982
23983     case $ac_tag in
23984     *:-:* | *:-) cat >"$tmp/stdin";;
23985     esac
23986     ;;
23987   esac
23988
23989   ac_dir=`$as_dirname -- "$ac_file" ||
23990 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23991          X"$ac_file" : 'X\(//\)[^/]' \| \
23992          X"$ac_file" : 'X\(//\)$' \| \
23993          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23994 echo X"$ac_file" |
23995     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23996             s//\1/
23997             q
23998           }
23999           /^X\(\/\/\)[^/].*/{
24000             s//\1/
24001             q
24002           }
24003           /^X\(\/\/\)$/{
24004             s//\1/
24005             q
24006           }
24007           /^X\(\/\).*/{
24008             s//\1/
24009             q
24010           }
24011           s/.*/./; q'`
24012   { as_dir="$ac_dir"
24013   case $as_dir in #(
24014   -*) as_dir=./$as_dir;;
24015   esac
24016   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
24017     as_dirs=
24018     while :; do
24019       case $as_dir in #(
24020       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
24021       *) as_qdir=$as_dir;;
24022       esac
24023       as_dirs="'$as_qdir' $as_dirs"
24024       as_dir=`$as_dirname -- "$as_dir" ||
24025 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24026          X"$as_dir" : 'X\(//\)[^/]' \| \
24027          X"$as_dir" : 'X\(//\)$' \| \
24028          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24029 echo X"$as_dir" |
24030     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24031             s//\1/
24032             q
24033           }
24034           /^X\(\/\/\)[^/].*/{
24035             s//\1/
24036             q
24037           }
24038           /^X\(\/\/\)$/{
24039             s//\1/
24040             q
24041           }
24042           /^X\(\/\).*/{
24043             s//\1/
24044             q
24045           }
24046           s/.*/./; q'`
24047       test -d "$as_dir" && break
24048     done
24049     test -z "$as_dirs" || eval "mkdir $as_dirs"
24050   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24051 echo "$as_me: error: cannot create directory $as_dir" >&2;}
24052    { (exit 1); exit 1; }; }; }
24053   ac_builddir=.
24054
24055 case "$ac_dir" in
24056 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24057 *)
24058   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24059   # A ".." for each directory in $ac_dir_suffix.
24060   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
24061   case $ac_top_builddir_sub in
24062   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24063   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24064   esac ;;
24065 esac
24066 ac_abs_top_builddir=$ac_pwd
24067 ac_abs_builddir=$ac_pwd$ac_dir_suffix
24068 # for backward compatibility:
24069 ac_top_builddir=$ac_top_build_prefix
24070
24071 case $srcdir in
24072   .)  # We are building in place.
24073     ac_srcdir=.
24074     ac_top_srcdir=$ac_top_builddir_sub
24075     ac_abs_top_srcdir=$ac_pwd ;;
24076   [\\/]* | ?:[\\/]* )  # Absolute name.
24077     ac_srcdir=$srcdir$ac_dir_suffix;
24078     ac_top_srcdir=$srcdir
24079     ac_abs_top_srcdir=$srcdir ;;
24080   *) # Relative name.
24081     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24082     ac_top_srcdir=$ac_top_build_prefix$srcdir
24083     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24084 esac
24085 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
24086
24087
24088   case $ac_mode in
24089   :F)
24090   #
24091   # CONFIG_FILE
24092   #
24093
24094   case $INSTALL in
24095   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24096   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
24097   esac
24098 _ACEOF
24099
24100 cat >>$CONFIG_STATUS <<\_ACEOF
24101 # If the template does not know about datarootdir, expand it.
24102 # FIXME: This hack should be removed a few years after 2.60.
24103 ac_datarootdir_hack=; ac_datarootdir_seen=
24104
24105 case `sed -n '/datarootdir/ {
24106   p
24107   q
24108 }
24109 /@datadir@/p
24110 /@docdir@/p
24111 /@infodir@/p
24112 /@localedir@/p
24113 /@mandir@/p
24114 ' $ac_file_inputs` in
24115 *datarootdir*) ac_datarootdir_seen=yes;;
24116 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
24117   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24118 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24119 _ACEOF
24120 cat >>$CONFIG_STATUS <<_ACEOF
24121   ac_datarootdir_hack='
24122   s&@datadir@&$datadir&g
24123   s&@docdir@&$docdir&g
24124   s&@infodir@&$infodir&g
24125   s&@localedir@&$localedir&g
24126   s&@mandir@&$mandir&g
24127     s&\\\${datarootdir}&$datarootdir&g' ;;
24128 esac
24129 _ACEOF
24130
24131 # Neutralize VPATH when `$srcdir' = `.'.
24132 # Shell code in configure.ac might set extrasub.
24133 # FIXME: do we really want to maintain this feature?
24134 cat >>$CONFIG_STATUS <<_ACEOF
24135   sed "$ac_vpsub
24136 $extrasub
24137 _ACEOF
24138 cat >>$CONFIG_STATUS <<\_ACEOF
24139 :t
24140 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24141 s&@configure_input@&$configure_input&;t t
24142 s&@top_builddir@&$ac_top_builddir_sub&;t t
24143 s&@srcdir@&$ac_srcdir&;t t
24144 s&@abs_srcdir@&$ac_abs_srcdir&;t t
24145 s&@top_srcdir@&$ac_top_srcdir&;t t
24146 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
24147 s&@builddir@&$ac_builddir&;t t
24148 s&@abs_builddir@&$ac_abs_builddir&;t t
24149 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
24150 s&@INSTALL@&$ac_INSTALL&;t t
24151 $ac_datarootdir_hack
24152 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
24153
24154 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24155   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
24156   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
24157   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24158 which seems to be undefined.  Please make sure it is defined." >&5
24159 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24160 which seems to be undefined.  Please make sure it is defined." >&2;}
24161
24162   rm -f "$tmp/stdin"
24163   case $ac_file in
24164   -) cat "$tmp/out"; rm -f "$tmp/out";;
24165   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
24166   esac
24167  ;;
24168   :H)
24169   #
24170   # CONFIG_HEADER
24171   #
24172 _ACEOF
24173
24174 # Transform confdefs.h into a sed script `conftest.defines', that
24175 # substitutes the proper values into config.h.in to produce config.h.
24176 rm -f conftest.defines conftest.tail
24177 # First, append a space to every undef/define line, to ease matching.
24178 echo 's/$/ /' >conftest.defines
24179 # Then, protect against being on the right side of a sed subst, or in
24180 # an unquoted here document, in config.status.  If some macros were
24181 # called several times there might be several #defines for the same
24182 # symbol, which is useless.  But do not sort them, since the last
24183 # AC_DEFINE must be honored.
24184 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24185 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
24186 # NAME is the cpp macro being defined, VALUE is the value it is being given.
24187 # PARAMS is the parameter list in the macro definition--in most cases, it's
24188 # just an empty string.
24189 ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
24190 ac_dB='\\)[      (].*,\\1define\\2'
24191 ac_dC=' '
24192 ac_dD=' ,'
24193
24194 uniq confdefs.h |
24195   sed -n '
24196         t rset
24197         :rset
24198         s/^[     ]*#[    ]*define[       ][      ]*//
24199         t ok
24200         d
24201         :ok
24202         s/[\\&,]/\\&/g
24203         s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
24204         s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
24205   ' >>conftest.defines
24206
24207 # Remove the space that was appended to ease matching.
24208 # Then replace #undef with comments.  This is necessary, for
24209 # example, in the case of _POSIX_SOURCE, which is predefined and required
24210 # on some systems where configure will not decide to define it.
24211 # (The regexp can be short, since the line contains either #define or #undef.)
24212 echo 's/ $//
24213 s,^[     #]*u.*,/* & */,' >>conftest.defines
24214
24215 # Break up conftest.defines:
24216 ac_max_sed_lines=50
24217
24218 # First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
24219 # Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
24220 # Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
24221 # et cetera.
24222 ac_in='$ac_file_inputs'
24223 ac_out='"$tmp/out1"'
24224 ac_nxt='"$tmp/out2"'
24225
24226 while :
24227 do
24228   # Write a here document:
24229     cat >>$CONFIG_STATUS <<_ACEOF
24230     # First, check the format of the line:
24231     cat >"\$tmp/defines.sed" <<\\CEOF
24232 /^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
24233 /^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
24234 b
24235 :def
24236 _ACEOF
24237   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
24238   echo 'CEOF
24239     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
24240   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
24241   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
24242   grep . conftest.tail >/dev/null || break
24243   rm -f conftest.defines
24244   mv conftest.tail conftest.defines
24245 done
24246 rm -f conftest.defines conftest.tail
24247
24248 echo "ac_result=$ac_in" >>$CONFIG_STATUS
24249 cat >>$CONFIG_STATUS <<\_ACEOF
24250   if test x"$ac_file" != x-; then
24251     echo "/* $configure_input  */" >"$tmp/config.h"
24252     cat "$ac_result" >>"$tmp/config.h"
24253     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
24254       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24255 echo "$as_me: $ac_file is unchanged" >&6;}
24256     else
24257       rm -f $ac_file
24258       mv "$tmp/config.h" $ac_file
24259     fi
24260   else
24261     echo "/* $configure_input  */"
24262     cat "$ac_result"
24263   fi
24264   rm -f "$tmp/out12"
24265 # Compute $ac_file's index in $config_headers.
24266 _am_stamp_count=1
24267 for _am_header in $config_headers :; do
24268   case $_am_header in
24269     $ac_file | $ac_file:* )
24270       break ;;
24271     * )
24272       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
24273   esac
24274 done
24275 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
24276 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24277          X$ac_file : 'X\(//\)[^/]' \| \
24278          X$ac_file : 'X\(//\)$' \| \
24279          X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
24280 echo X$ac_file |
24281     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24282             s//\1/
24283             q
24284           }
24285           /^X\(\/\/\)[^/].*/{
24286             s//\1/
24287             q
24288           }
24289           /^X\(\/\/\)$/{
24290             s//\1/
24291             q
24292           }
24293           /^X\(\/\).*/{
24294             s//\1/
24295             q
24296           }
24297           s/.*/./; q'`/stamp-h$_am_stamp_count
24298  ;;
24299
24300   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
24301 echo "$as_me: executing $ac_file commands" >&6;}
24302  ;;
24303   esac
24304
24305
24306   case $ac_file$ac_mode in
24307     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
24308   # Strip MF so we end up with the name of the file.
24309   mf=`echo "$mf" | sed -e 's/:.*$//'`
24310   # Check whether this is an Automake generated Makefile or not.
24311   # We used to match only the files named `Makefile.in', but
24312   # some people rename them; so instead we look at the file content.
24313   # Grep'ing the first line is not enough: some people post-process
24314   # each Makefile.in and add a new line on top of each file to say so.
24315   # So let's grep whole file.
24316   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
24317     dirpart=`$as_dirname -- "$mf" ||
24318 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24319          X"$mf" : 'X\(//\)[^/]' \| \
24320          X"$mf" : 'X\(//\)$' \| \
24321          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
24322 echo X"$mf" |
24323     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24324             s//\1/
24325             q
24326           }
24327           /^X\(\/\/\)[^/].*/{
24328             s//\1/
24329             q
24330           }
24331           /^X\(\/\/\)$/{
24332             s//\1/
24333             q
24334           }
24335           /^X\(\/\).*/{
24336             s//\1/
24337             q
24338           }
24339           s/.*/./; q'`
24340   else
24341     continue
24342   fi
24343   # Extract the definition of DEPDIR, am__include, and am__quote
24344   # from the Makefile without running `make'.
24345   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
24346   test -z "$DEPDIR" && continue
24347   am__include=`sed -n 's/^am__include = //p' < "$mf"`
24348   test -z "am__include" && continue
24349   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
24350   # When using ansi2knr, U may be empty or an underscore; expand it
24351   U=`sed -n 's/^U = //p' < "$mf"`
24352   # Find all dependency output files, they are included files with
24353   # $(DEPDIR) in their names.  We invoke sed twice because it is the
24354   # simplest approach to changing $(DEPDIR) to its actual value in the
24355   # expansion.
24356   for file in `sed -n "
24357     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
24358        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
24359     # Make sure the directory exists.
24360     test -f "$dirpart/$file" && continue
24361     fdir=`$as_dirname -- "$file" ||
24362 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24363          X"$file" : 'X\(//\)[^/]' \| \
24364          X"$file" : 'X\(//\)$' \| \
24365          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
24366 echo X"$file" |
24367     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24368             s//\1/
24369             q
24370           }
24371           /^X\(\/\/\)[^/].*/{
24372             s//\1/
24373             q
24374           }
24375           /^X\(\/\/\)$/{
24376             s//\1/
24377             q
24378           }
24379           /^X\(\/\).*/{
24380             s//\1/
24381             q
24382           }
24383           s/.*/./; q'`
24384     { as_dir=$dirpart/$fdir
24385   case $as_dir in #(
24386   -*) as_dir=./$as_dir;;
24387   esac
24388   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
24389     as_dirs=
24390     while :; do
24391       case $as_dir in #(
24392       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
24393       *) as_qdir=$as_dir;;
24394       esac
24395       as_dirs="'$as_qdir' $as_dirs"
24396       as_dir=`$as_dirname -- "$as_dir" ||
24397 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24398          X"$as_dir" : 'X\(//\)[^/]' \| \
24399          X"$as_dir" : 'X\(//\)$' \| \
24400          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24401 echo X"$as_dir" |
24402     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24403             s//\1/
24404             q
24405           }
24406           /^X\(\/\/\)[^/].*/{
24407             s//\1/
24408             q
24409           }
24410           /^X\(\/\/\)$/{
24411             s//\1/
24412             q
24413           }
24414           /^X\(\/\).*/{
24415             s//\1/
24416             q
24417           }
24418           s/.*/./; q'`
24419       test -d "$as_dir" && break
24420     done
24421     test -z "$as_dirs" || eval "mkdir $as_dirs"
24422   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24423 echo "$as_me: error: cannot create directory $as_dir" >&2;}
24424    { (exit 1); exit 1; }; }; }
24425     # echo "creating $dirpart/$file"
24426     echo '# dummy' > "$dirpart/$file"
24427   done
24428 done
24429  ;;
24430     "libtool":C)
24431
24432     # See if we are running on zsh, and set the options which allow our
24433     # commands through without removal of \ escapes.
24434     if test -n "${ZSH_VERSION+set}" ; then
24435       setopt NO_GLOB_SUBST
24436     fi
24437
24438     cfgfile="${ofile}T"
24439     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
24440     $RM "$cfgfile"
24441
24442     cat <<_LT_EOF >> "$cfgfile"
24443 #! $SHELL
24444
24445 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
24446 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
24447 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
24448 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
24449 #
24450 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
24451 #                 2006, 2007, 2008 Free Software Foundation, Inc.
24452 #   Written by Gordon Matzigkeit, 1996
24453 #
24454 #   This file is part of GNU Libtool.
24455 #
24456 # GNU Libtool is free software; you can redistribute it and/or
24457 # modify it under the terms of the GNU General Public License as
24458 # published by the Free Software Foundation; either version 2 of
24459 # the License, or (at your option) any later version.
24460 #
24461 # As a special exception to the GNU General Public License,
24462 # if you distribute this file as part of a program or library that
24463 # is built using GNU Libtool, you may include this file under the
24464 # same distribution terms that you use for the rest of that program.
24465 #
24466 # GNU Libtool is distributed in the hope that it will be useful,
24467 # but WITHOUT ANY WARRANTY; without even the implied warranty of
24468 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
24469 # GNU General Public License for more details.
24470 #
24471 # You should have received a copy of the GNU General Public License
24472 # along with GNU Libtool; see the file COPYING.  If not, a copy
24473 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
24474 # obtained by writing to the Free Software Foundation, Inc.,
24475 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24476
24477
24478 # The names of the tagged configurations supported by this script.
24479 available_tags="CXX "
24480
24481 # ### BEGIN LIBTOOL CONFIG
24482
24483 # Assembler program.
24484 AS=$AS
24485
24486 # DLL creation program.
24487 DLLTOOL=$DLLTOOL
24488
24489 # Object dumper program.
24490 OBJDUMP=$OBJDUMP
24491
24492 # Whether or not to build static libraries.
24493 build_old_libs=$enable_static
24494
24495 # Which release of libtool.m4 was used?
24496 macro_version=$macro_version
24497 macro_revision=$macro_revision
24498
24499 # Whether or not to build shared libraries.
24500 build_libtool_libs=$enable_shared
24501
24502 # What type of objects to build.
24503 pic_mode=$pic_mode
24504
24505 # Whether or not to optimize for fast installation.
24506 fast_install=$enable_fast_install
24507
24508 # The host system.
24509 host_alias=$host_alias
24510 host=$host
24511 host_os=$host_os
24512
24513 # The build system.
24514 build_alias=$build_alias
24515 build=$build
24516 build_os=$build_os
24517
24518 # A sed program that does not truncate output.
24519 SED=$lt_SED
24520
24521 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
24522 Xsed="\$SED -e 1s/^X//"
24523
24524 # A grep program that handles long lines.
24525 GREP=$lt_GREP
24526
24527 # An ERE matcher.
24528 EGREP=$lt_EGREP
24529
24530 # A literal string matcher.
24531 FGREP=$lt_FGREP
24532
24533 # A BSD- or MS-compatible name lister.
24534 NM=$lt_NM
24535
24536 # Whether we need soft or hard links.
24537 LN_S=$lt_LN_S
24538
24539 # What is the maximum length of a command?
24540 max_cmd_len=$max_cmd_len
24541
24542 # Object file suffix (normally "o").
24543 objext=$ac_objext
24544
24545 # Executable file suffix (normally "").
24546 exeext=$exeext
24547
24548 # whether the shell understands "unset".
24549 lt_unset=$lt_unset
24550
24551 # turn spaces into newlines.
24552 SP2NL=$lt_lt_SP2NL
24553
24554 # turn newlines into spaces.
24555 NL2SP=$lt_lt_NL2SP
24556
24557 # How to create reloadable object files.
24558 reload_flag=$lt_reload_flag
24559 reload_cmds=$lt_reload_cmds
24560
24561 # Method to check whether dependent libraries are shared objects.
24562 deplibs_check_method=$lt_deplibs_check_method
24563
24564 # Command to use when deplibs_check_method == "file_magic".
24565 file_magic_cmd=$lt_file_magic_cmd
24566
24567 # The archiver.
24568 AR=$lt_AR
24569 AR_FLAGS=$lt_AR_FLAGS
24570
24571 # A symbol stripping program.
24572 STRIP=$lt_STRIP
24573
24574 # Commands used to install an old-style archive.
24575 RANLIB=$lt_RANLIB
24576 old_postinstall_cmds=$lt_old_postinstall_cmds
24577 old_postuninstall_cmds=$lt_old_postuninstall_cmds
24578
24579 # A C compiler.
24580 LTCC=$lt_CC
24581
24582 # LTCC compiler flags.
24583 LTCFLAGS=$lt_CFLAGS
24584
24585 # Take the output of nm and produce a listing of raw symbols and C names.
24586 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
24587
24588 # Transform the output of nm in a proper C declaration.
24589 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
24590
24591 # Transform the output of nm in a C name address pair.
24592 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
24593
24594 # Transform the output of nm in a C name address pair when lib prefix is needed.
24595 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
24596
24597 # The name of the directory that contains temporary libtool files.
24598 objdir=$objdir
24599
24600 # Shell to use when invoking shell scripts.
24601 SHELL=$lt_SHELL
24602
24603 # An echo program that does not interpret backslashes.
24604 ECHO=$lt_ECHO
24605
24606 # Used to examine libraries when file_magic_cmd begins with "file".
24607 MAGIC_CMD=$MAGIC_CMD
24608
24609 # Must we lock files when doing compilation?
24610 need_locks=$lt_need_locks
24611
24612 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
24613 DSYMUTIL=$lt_DSYMUTIL
24614
24615 # Tool to change global to local symbols on Mac OS X.
24616 NMEDIT=$lt_NMEDIT
24617
24618 # Tool to manipulate fat objects and archives on Mac OS X.
24619 LIPO=$lt_LIPO
24620
24621 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
24622 OTOOL=$lt_OTOOL
24623
24624 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
24625 OTOOL64=$lt_OTOOL64
24626
24627 # Old archive suffix (normally "a").
24628 libext=$libext
24629
24630 # Shared library suffix (normally ".so").
24631 shrext_cmds=$lt_shrext_cmds
24632
24633 # The commands to extract the exported symbol list from a shared archive.
24634 extract_expsyms_cmds=$lt_extract_expsyms_cmds
24635
24636 # Variables whose values should be saved in libtool wrapper scripts and
24637 # restored at link time.
24638 variables_saved_for_relink=$lt_variables_saved_for_relink
24639
24640 # Do we need the "lib" prefix for modules?
24641 need_lib_prefix=$need_lib_prefix
24642
24643 # Do we need a version for libraries?
24644 need_version=$need_version
24645
24646 # Library versioning type.
24647 version_type=$version_type
24648
24649 # Shared library runtime path variable.
24650 runpath_var=$runpath_var
24651
24652 # Shared library path variable.
24653 shlibpath_var=$shlibpath_var
24654
24655 # Is shlibpath searched before the hard-coded library search path?
24656 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
24657
24658 # Format of library name prefix.
24659 libname_spec=$lt_libname_spec
24660
24661 # List of archive names.  First name is the real one, the rest are links.
24662 # The last name is the one that the linker finds with -lNAME
24663 library_names_spec=$lt_library_names_spec
24664
24665 # The coded name of the library, if different from the real name.
24666 soname_spec=$lt_soname_spec
24667
24668 # Command to use after installation of a shared archive.
24669 postinstall_cmds=$lt_postinstall_cmds
24670
24671 # Command to use after uninstallation of a shared archive.
24672 postuninstall_cmds=$lt_postuninstall_cmds
24673
24674 # Commands used to finish a libtool library installation in a directory.
24675 finish_cmds=$lt_finish_cmds
24676
24677 # As "finish_cmds", except a single script fragment to be evaled but
24678 # not shown.
24679 finish_eval=$lt_finish_eval
24680
24681 # Whether we should hardcode library paths into libraries.
24682 hardcode_into_libs=$hardcode_into_libs
24683
24684 # Compile-time system search path for libraries.
24685 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
24686
24687 # Run-time system search path for libraries.
24688 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
24689
24690 # Whether dlopen is supported.
24691 dlopen_support=$enable_dlopen
24692
24693 # Whether dlopen of programs is supported.
24694 dlopen_self=$enable_dlopen_self
24695
24696 # Whether dlopen of statically linked programs is supported.
24697 dlopen_self_static=$enable_dlopen_self_static
24698
24699 # Commands to strip libraries.
24700 old_striplib=$lt_old_striplib
24701 striplib=$lt_striplib
24702
24703
24704 # The linker used to build libraries.
24705 LD=$lt_LD
24706
24707 # Commands used to build an old-style archive.
24708 old_archive_cmds=$lt_old_archive_cmds
24709
24710 # A language specific compiler.
24711 CC=$lt_compiler
24712
24713 # Is the compiler the GNU compiler?
24714 with_gcc=$GCC
24715
24716 # Compiler flag to turn off builtin functions.
24717 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
24718
24719 # How to pass a linker flag through the compiler.
24720 wl=$lt_lt_prog_compiler_wl
24721
24722 # Additional compiler flags for building library objects.
24723 pic_flag=$lt_lt_prog_compiler_pic
24724
24725 # Compiler flag to prevent dynamic linking.
24726 link_static_flag=$lt_lt_prog_compiler_static
24727
24728 # Does compiler simultaneously support -c and -o options?
24729 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
24730
24731 # Whether or not to add -lc for building shared libraries.
24732 build_libtool_need_lc=$archive_cmds_need_lc
24733
24734 # Whether or not to disallow shared libs when runtime libs are static.
24735 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
24736
24737 # Compiler flag to allow reflexive dlopens.
24738 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
24739
24740 # Compiler flag to generate shared objects directly from archives.
24741 whole_archive_flag_spec=$lt_whole_archive_flag_spec
24742
24743 # Whether the compiler copes with passing no objects directly.
24744 compiler_needs_object=$lt_compiler_needs_object
24745
24746 # Create an old-style archive from a shared archive.
24747 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
24748
24749 # Create a temporary old-style archive to link instead of a shared archive.
24750 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
24751
24752 # Commands used to build a shared archive.
24753 archive_cmds=$lt_archive_cmds
24754 archive_expsym_cmds=$lt_archive_expsym_cmds
24755
24756 # Commands used to build a loadable module if different from building
24757 # a shared archive.
24758 module_cmds=$lt_module_cmds
24759 module_expsym_cmds=$lt_module_expsym_cmds
24760
24761 # Whether we are building with GNU ld or not.
24762 with_gnu_ld=$lt_with_gnu_ld
24763
24764 # Flag that allows shared libraries with undefined symbols to be built.
24765 allow_undefined_flag=$lt_allow_undefined_flag
24766
24767 # Flag that enforces no undefined symbols.
24768 no_undefined_flag=$lt_no_undefined_flag
24769
24770 # Flag to hardcode \$libdir into a binary during linking.
24771 # This must work even if \$libdir does not exist
24772 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
24773
24774 # If ld is used when linking, flag to hardcode \$libdir into a binary
24775 # during linking.  This must work even if \$libdir does not exist.
24776 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
24777
24778 # Whether we need a single "-rpath" flag with a separated argument.
24779 hardcode_libdir_separator=$lt_hardcode_libdir_separator
24780
24781 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24782 # DIR into the resulting binary.
24783 hardcode_direct=$hardcode_direct
24784
24785 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24786 # DIR into the resulting binary and the resulting library dependency is
24787 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
24788 # library is relocated.
24789 hardcode_direct_absolute=$hardcode_direct_absolute
24790
24791 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24792 # into the resulting binary.
24793 hardcode_minus_L=$hardcode_minus_L
24794
24795 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24796 # into the resulting binary.
24797 hardcode_shlibpath_var=$hardcode_shlibpath_var
24798
24799 # Set to "yes" if building a shared library automatically hardcodes DIR
24800 # into the library and all subsequent libraries and executables linked
24801 # against it.
24802 hardcode_automatic=$hardcode_automatic
24803
24804 # Set to yes if linker adds runtime paths of dependent libraries
24805 # to runtime path list.
24806 inherit_rpath=$inherit_rpath
24807
24808 # Whether libtool must link a program against all its dependency libraries.
24809 link_all_deplibs=$link_all_deplibs
24810
24811 # Fix the shell variable \$srcfile for the compiler.
24812 fix_srcfile_path=$lt_fix_srcfile_path
24813
24814 # Set to "yes" if exported symbols are required.
24815 always_export_symbols=$always_export_symbols
24816
24817 # The commands to list exported symbols.
24818 export_symbols_cmds=$lt_export_symbols_cmds
24819
24820 # Symbols that should not be listed in the preloaded symbols.
24821 exclude_expsyms=$lt_exclude_expsyms
24822
24823 # Symbols that must always be exported.
24824 include_expsyms=$lt_include_expsyms
24825
24826 # Commands necessary for linking programs (against libraries) with templates.
24827 prelink_cmds=$lt_prelink_cmds
24828
24829 # Specify filename containing input files.
24830 file_list_spec=$lt_file_list_spec
24831
24832 # How to hardcode a shared library path into an executable.
24833 hardcode_action=$hardcode_action
24834
24835 # The directories searched by this compiler when creating a shared library.
24836 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
24837
24838 # Dependencies to place before and after the objects being linked to
24839 # create a shared library.
24840 predep_objects=$lt_predep_objects
24841 postdep_objects=$lt_postdep_objects
24842 predeps=$lt_predeps
24843 postdeps=$lt_postdeps
24844
24845 # The library search path used internally by the compiler when linking
24846 # a shared library.
24847 compiler_lib_search_path=$lt_compiler_lib_search_path
24848
24849 # ### END LIBTOOL CONFIG
24850
24851 _LT_EOF
24852
24853   case $host_os in
24854   aix3*)
24855     cat <<\_LT_EOF >> "$cfgfile"
24856 # AIX sometimes has problems with the GCC collect2 program.  For some
24857 # reason, if we set the COLLECT_NAMES environment variable, the problems
24858 # vanish in a puff of smoke.
24859 if test "X${COLLECT_NAMES+set}" != Xset; then
24860   COLLECT_NAMES=
24861   export COLLECT_NAMES
24862 fi
24863 _LT_EOF
24864     ;;
24865   esac
24866
24867
24868 ltmain="$ac_aux_dir/ltmain.sh"
24869
24870
24871   # We use sed instead of cat because bash on DJGPP gets confused if
24872   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
24873   # text mode, it properly converts lines to CR/LF.  This bash problem
24874   # is reportedly fixed, but why not run on old versions too?
24875   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
24876     || (rm -f "$cfgfile"; exit 1)
24877
24878   case $xsi_shell in
24879   yes)
24880     cat << \_LT_EOF >> "$cfgfile"
24881
24882 # func_dirname file append nondir_replacement
24883 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
24884 # otherwise set result to NONDIR_REPLACEMENT.
24885 func_dirname ()
24886 {
24887   case ${1} in
24888     */*) func_dirname_result="${1%/*}${2}" ;;
24889     *  ) func_dirname_result="${3}" ;;
24890   esac
24891 }
24892
24893 # func_basename file
24894 func_basename ()
24895 {
24896   func_basename_result="${1##*/}"
24897 }
24898
24899 # func_dirname_and_basename file append nondir_replacement
24900 # perform func_basename and func_dirname in a single function
24901 # call:
24902 #   dirname:  Compute the dirname of FILE.  If nonempty,
24903 #             add APPEND to the result, otherwise set result
24904 #             to NONDIR_REPLACEMENT.
24905 #             value returned in "$func_dirname_result"
24906 #   basename: Compute filename of FILE.
24907 #             value retuned in "$func_basename_result"
24908 # Implementation must be kept synchronized with func_dirname
24909 # and func_basename. For efficiency, we do not delegate to
24910 # those functions but instead duplicate the functionality here.
24911 func_dirname_and_basename ()
24912 {
24913   case ${1} in
24914     */*) func_dirname_result="${1%/*}${2}" ;;
24915     *  ) func_dirname_result="${3}" ;;
24916   esac
24917   func_basename_result="${1##*/}"
24918 }
24919
24920 # func_stripname prefix suffix name
24921 # strip PREFIX and SUFFIX off of NAME.
24922 # PREFIX and SUFFIX must not contain globbing or regex special
24923 # characters, hashes, percent signs, but SUFFIX may contain a leading
24924 # dot (in which case that matches only a dot).
24925 func_stripname ()
24926 {
24927   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
24928   # positional parameters, so assign one to ordinary parameter first.
24929   func_stripname_result=${3}
24930   func_stripname_result=${func_stripname_result#"${1}"}
24931   func_stripname_result=${func_stripname_result%"${2}"}
24932 }
24933
24934 # func_opt_split
24935 func_opt_split ()
24936 {
24937   func_opt_split_opt=${1%%=*}
24938   func_opt_split_arg=${1#*=}
24939 }
24940
24941 # func_lo2o object
24942 func_lo2o ()
24943 {
24944   case ${1} in
24945     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
24946     *)    func_lo2o_result=${1} ;;
24947   esac
24948 }
24949
24950 # func_xform libobj-or-source
24951 func_xform ()
24952 {
24953   func_xform_result=${1%.*}.lo
24954 }
24955
24956 # func_arith arithmetic-term...
24957 func_arith ()
24958 {
24959   func_arith_result=$(( $* ))
24960 }
24961
24962 # func_len string
24963 # STRING may not start with a hyphen.
24964 func_len ()
24965 {
24966   func_len_result=${#1}
24967 }
24968
24969 _LT_EOF
24970     ;;
24971   *) # Bourne compatible functions.
24972     cat << \_LT_EOF >> "$cfgfile"
24973
24974 # func_dirname file append nondir_replacement
24975 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
24976 # otherwise set result to NONDIR_REPLACEMENT.
24977 func_dirname ()
24978 {
24979   # Extract subdirectory from the argument.
24980   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
24981   if test "X$func_dirname_result" = "X${1}"; then
24982     func_dirname_result="${3}"
24983   else
24984     func_dirname_result="$func_dirname_result${2}"
24985   fi
24986 }
24987
24988 # func_basename file
24989 func_basename ()
24990 {
24991   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
24992 }
24993
24994
24995 # func_stripname prefix suffix name
24996 # strip PREFIX and SUFFIX off of NAME.
24997 # PREFIX and SUFFIX must not contain globbing or regex special
24998 # characters, hashes, percent signs, but SUFFIX may contain a leading
24999 # dot (in which case that matches only a dot).
25000 # func_strip_suffix prefix name
25001 func_stripname ()
25002 {
25003   case ${2} in
25004     .*) func_stripname_result=`$ECHO "X${3}" \
25005            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
25006     *)  func_stripname_result=`$ECHO "X${3}" \
25007            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
25008   esac
25009 }
25010
25011 # sed scripts:
25012 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
25013 my_sed_long_arg='1s/^-[^=]*=//'
25014
25015 # func_opt_split
25016 func_opt_split ()
25017 {
25018   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
25019   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
25020 }
25021
25022 # func_lo2o object
25023 func_lo2o ()
25024 {
25025   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
25026 }
25027
25028 # func_xform libobj-or-source
25029 func_xform ()
25030 {
25031   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
25032 }
25033
25034 # func_arith arithmetic-term...
25035 func_arith ()
25036 {
25037   func_arith_result=`expr "$@"`
25038 }
25039
25040 # func_len string
25041 # STRING may not start with a hyphen.
25042 func_len ()
25043 {
25044   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
25045 }
25046
25047 _LT_EOF
25048 esac
25049
25050 case $lt_shell_append in
25051   yes)
25052     cat << \_LT_EOF >> "$cfgfile"
25053
25054 # func_append var value
25055 # Append VALUE to the end of shell variable VAR.
25056 func_append ()
25057 {
25058   eval "$1+=\$2"
25059 }
25060 _LT_EOF
25061     ;;
25062   *)
25063     cat << \_LT_EOF >> "$cfgfile"
25064
25065 # func_append var value
25066 # Append VALUE to the end of shell variable VAR.
25067 func_append ()
25068 {
25069   eval "$1=\$$1\$2"
25070 }
25071
25072 _LT_EOF
25073     ;;
25074   esac
25075
25076
25077   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
25078     || (rm -f "$cfgfile"; exit 1)
25079
25080   mv -f "$cfgfile" "$ofile" ||
25081     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
25082   chmod +x "$ofile"
25083
25084
25085     cat <<_LT_EOF >> "$ofile"
25086
25087 # ### BEGIN LIBTOOL TAG CONFIG: CXX
25088
25089 # The linker used to build libraries.
25090 LD=$lt_LD_CXX
25091
25092 # Commands used to build an old-style archive.
25093 old_archive_cmds=$lt_old_archive_cmds_CXX
25094
25095 # A language specific compiler.
25096 CC=$lt_compiler_CXX
25097
25098 # Is the compiler the GNU compiler?
25099 with_gcc=$GCC_CXX
25100
25101 # Compiler flag to turn off builtin functions.
25102 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
25103
25104 # How to pass a linker flag through the compiler.
25105 wl=$lt_lt_prog_compiler_wl_CXX
25106
25107 # Additional compiler flags for building library objects.
25108 pic_flag=$lt_lt_prog_compiler_pic_CXX
25109
25110 # Compiler flag to prevent dynamic linking.
25111 link_static_flag=$lt_lt_prog_compiler_static_CXX
25112
25113 # Does compiler simultaneously support -c and -o options?
25114 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
25115
25116 # Whether or not to add -lc for building shared libraries.
25117 build_libtool_need_lc=$archive_cmds_need_lc_CXX
25118
25119 # Whether or not to disallow shared libs when runtime libs are static.
25120 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
25121
25122 # Compiler flag to allow reflexive dlopens.
25123 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
25124
25125 # Compiler flag to generate shared objects directly from archives.
25126 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
25127
25128 # Whether the compiler copes with passing no objects directly.
25129 compiler_needs_object=$lt_compiler_needs_object_CXX
25130
25131 # Create an old-style archive from a shared archive.
25132 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
25133
25134 # Create a temporary old-style archive to link instead of a shared archive.
25135 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
25136
25137 # Commands used to build a shared archive.
25138 archive_cmds=$lt_archive_cmds_CXX
25139 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
25140
25141 # Commands used to build a loadable module if different from building
25142 # a shared archive.
25143 module_cmds=$lt_module_cmds_CXX
25144 module_expsym_cmds=$lt_module_expsym_cmds_CXX
25145
25146 # Whether we are building with GNU ld or not.
25147 with_gnu_ld=$lt_with_gnu_ld_CXX
25148
25149 # Flag that allows shared libraries with undefined symbols to be built.
25150 allow_undefined_flag=$lt_allow_undefined_flag_CXX
25151
25152 # Flag that enforces no undefined symbols.
25153 no_undefined_flag=$lt_no_undefined_flag_CXX
25154
25155 # Flag to hardcode \$libdir into a binary during linking.
25156 # This must work even if \$libdir does not exist
25157 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
25158
25159 # If ld is used when linking, flag to hardcode \$libdir into a binary
25160 # during linking.  This must work even if \$libdir does not exist.
25161 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
25162
25163 # Whether we need a single "-rpath" flag with a separated argument.
25164 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
25165
25166 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25167 # DIR into the resulting binary.
25168 hardcode_direct=$hardcode_direct_CXX
25169
25170 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25171 # DIR into the resulting binary and the resulting library dependency is
25172 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
25173 # library is relocated.
25174 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
25175
25176 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
25177 # into the resulting binary.
25178 hardcode_minus_L=$hardcode_minus_L_CXX
25179
25180 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
25181 # into the resulting binary.
25182 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
25183
25184 # Set to "yes" if building a shared library automatically hardcodes DIR
25185 # into the library and all subsequent libraries and executables linked
25186 # against it.
25187 hardcode_automatic=$hardcode_automatic_CXX
25188
25189 # Set to yes if linker adds runtime paths of dependent libraries
25190 # to runtime path list.
25191 inherit_rpath=$inherit_rpath_CXX
25192
25193 # Whether libtool must link a program against all its dependency libraries.
25194 link_all_deplibs=$link_all_deplibs_CXX
25195
25196 # Fix the shell variable \$srcfile for the compiler.
25197 fix_srcfile_path=$lt_fix_srcfile_path_CXX
25198
25199 # Set to "yes" if exported symbols are required.
25200 always_export_symbols=$always_export_symbols_CXX
25201
25202 # The commands to list exported symbols.
25203 export_symbols_cmds=$lt_export_symbols_cmds_CXX
25204
25205 # Symbols that should not be listed in the preloaded symbols.
25206 exclude_expsyms=$lt_exclude_expsyms_CXX
25207
25208 # Symbols that must always be exported.
25209 include_expsyms=$lt_include_expsyms_CXX
25210
25211 # Commands necessary for linking programs (against libraries) with templates.
25212 prelink_cmds=$lt_prelink_cmds_CXX
25213
25214 # Specify filename containing input files.
25215 file_list_spec=$lt_file_list_spec_CXX
25216
25217 # How to hardcode a shared library path into an executable.
25218 hardcode_action=$hardcode_action_CXX
25219
25220 # The directories searched by this compiler when creating a shared library.
25221 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
25222
25223 # Dependencies to place before and after the objects being linked to
25224 # create a shared library.
25225 predep_objects=$lt_predep_objects_CXX
25226 postdep_objects=$lt_postdep_objects_CXX
25227 predeps=$lt_predeps_CXX
25228 postdeps=$lt_postdeps_CXX
25229
25230 # The library search path used internally by the compiler when linking
25231 # a shared library.
25232 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
25233
25234 # ### END LIBTOOL TAG CONFIG: CXX
25235 _LT_EOF
25236
25237  ;;
25238     "pango/module-defs.h":C)
25239 cat > pango/module-defs.h <<EOTEXT
25240 /* Autogenerated by configure. Do not edit */
25241
25242 #include "modules.h"
25243
25244 EOTEXT
25245
25246 IFS="${IFS=     }"; pango_save_ifs="$IFS"; IFS=","
25247 for module in $included_modules; do
25248   module_c=`echo $module | sed s/-/_/`
25249   cat >> pango/module-defs.h <<EOTEXT
25250 extern void         _pango_${module_c}_script_engine_list (PangoEngineInfo **engines, int *n_engines);
25251 extern PangoEngine *_pango_${module_c}_script_engine_init (GTypeModule *module);
25252 extern void         _pango_${module_c}_script_engine_exit (void);
25253 extern void         _pango_${module_c}_script_engine_create (const char *id);
25254
25255 EOTEXT
25256 done
25257
25258 IFS="$pango_save_ifs"
25259  ;;
25260     "pango/module-defs-x.c":C)
25261 ### X modules
25262 cat > pango/module-defs-x.c <<EOTEXT
25263 /* Autogenerated by configure. Do not edit */
25264
25265 #include "module-defs.h"
25266
25267 PangoIncludedModule _pango_included_x_modules[] = {
25268 EOTEXT
25269
25270 IFS="${IFS=     }"; pango_save_ifs="$IFS"; IFS=","
25271 for module in $included_modules; do
25272   if echo $module | egrep -- "-x($|,)" > /dev/null; then
25273     module_c=`echo $module | sed s/-/_/`
25274     cat >> pango/module-defs-x.c <<EOTEXT
25275  { _pango_${module_c}_script_engine_list, _pango_${module_c}_script_engine_init, _pango_${module_c}_script_engine_exit, _pango_${module_c}_script_engine_create },
25276 EOTEXT
25277  fi
25278 done
25279
25280 IFS="$pango_save_ifs"
25281
25282 cat >> pango/module-defs-x.c <<EOTEXT
25283  { NULL, NULL, NULL, NULL },
25284 };
25285 EOTEXT
25286  ;;
25287     "pango/module-defs-fc.c":C)
25288 ### FC modules
25289 cat > pango/module-defs-fc.c <<EOTEXT
25290 /* Autogenerated by configure. Do not edit */
25291
25292 #include "module-defs.h"
25293
25294 PangoIncludedModule _pango_included_fc_modules[] = {
25295 EOTEXT
25296
25297 IFS="${IFS=     }"; pango_save_ifs="$IFS"; IFS=","
25298 for module in $included_modules; do
25299   if echo $module | egrep -- "-fc($|,)" > /dev/null; then
25300     module_c=`echo $module | sed s/-/_/`
25301     cat >> pango/module-defs-fc.c <<EOTEXT
25302  { _pango_${module_c}_script_engine_list, _pango_${module_c}_script_engine_init, _pango_${module_c}_script_engine_exit, _pango_${module_c}_script_engine_create },
25303 EOTEXT
25304   fi
25305 done
25306
25307 IFS="$pango_save_ifs"
25308
25309 cat >> pango/module-defs-fc.c <<EOTEXT
25310  { NULL, NULL, NULL, NULL },
25311 };
25312 EOTEXT
25313  ;;
25314     "pango/module-defs-win32.c":C)
25315 ### Win32 modules
25316 cat > pango/module-defs-win32.c <<EOTEXT
25317 /* Autogenerated by configure. Do not edit */
25318
25319 #include "module-defs.h"
25320
25321 PangoIncludedModule _pango_included_win32_modules[] = {
25322 EOTEXT
25323
25324 IFS="${IFS=     }"; pango_save_ifs="$IFS"; IFS=","
25325 for module in $included_modules; do
25326   if echo $module | egrep -- "-win32($|,)" > /dev/null; then
25327     module_c=`echo $module | sed s/-/_/`
25328     cat >> pango/module-defs-win32.c <<EOTEXT
25329  { _pango_${module_c}_script_engine_list, _pango_${module_c}_script_engine_init, _pango_${module_c}_script_engine_exit, _pango_${module_c}_script_engine_create },
25330 EOTEXT
25331   fi
25332 done
25333
25334 IFS="$pango_save_ifs"
25335
25336 cat >> pango/module-defs-win32.c <<EOTEXT
25337  { NULL, NULL, NULL, NULL },
25338 };
25339 EOTEXT
25340  ;;
25341     "pango/module-defs-atsui.c":C)
25342 ### ATSUI modules
25343 cat > pango/module-defs-atsui.c <<EOTEXT
25344 /* Autogenerated by configure. Do not edit */
25345
25346 #include "module-defs.h"
25347
25348 PangoIncludedModule _pango_included_atsui_modules[] = {
25349 EOTEXT
25350
25351 IFS="${IFS=     }"; pango_save_ifs="$IFS"; IFS=","
25352 for module in $included_modules; do
25353   if echo $module | egrep -- "-atsui($|,)" > /dev/null; then
25354     module_c=`echo $module | sed s/-/_/`
25355     cat >> pango/module-defs-atsui.c <<EOTEXT
25356  { _pango_${module_c}_script_engine_list, _pango_${module_c}_script_engine_init, _pango_${module_c}_script_engine_exit, _pango_${module_c}_script_engine_create },
25357 EOTEXT
25358   fi
25359 done
25360
25361 IFS="$pango_save_ifs"
25362
25363 cat >> pango/module-defs-atsui.c <<EOTEXT
25364  { NULL, NULL, NULL, NULL },
25365 };
25366 EOTEXT
25367  ;;
25368     "pango/module-defs-lang.c":C)
25369 ### lang modules
25370 cat > pango/module-defs-lang.c <<EOTEXT
25371 /* Autogenerated by configure. Do not edit */
25372
25373 #include "module-defs.h"
25374
25375 PangoIncludedModule _pango_included_lang_modules[] = {
25376 EOTEXT
25377
25378 IFS="${IFS=     }"; pango_save_ifs="$IFS"; IFS=","
25379 for module in $included_modules; do
25380   if echo $module | egrep -- "-lang($|,)" > /dev/null; then
25381     module_c=`echo $module | sed s/-/_/`
25382     cat >> pango/module-defs-lang.c <<EOTEXT
25383  { _pango_${module_c}_script_engine_list, _pango_${module_c}_script_engine_init, _pango_${module_c}_script_engine_exit, _pango_${module_c}_script_engine_create },
25384 EOTEXT
25385   fi
25386 done
25387
25388 IFS="$pango_save_ifs"
25389
25390 cat >> pango/module-defs-lang.c <<EOTEXT
25391  { NULL, NULL, NULL, NULL },
25392 };
25393 EOTEXT
25394  ;;
25395     "pango/pango-features.h":C) featuresfile=pango/pango-features.h
25396            outfile=$featuresfile.tmp
25397            { echo "$as_me:$LINENO: creating $featuresfile" >&5
25398 echo "$as_me: creating $featuresfile" >&6;}
25399            cat >$outfile <<_EOF
25400 /* Generated by configure. Do not edit */
25401 #ifndef PANGO_FEATURES_H
25402 #define PANGO_FEATURES_H
25403
25404 #define PANGO_VERSION_MAJOR $PANGO_VERSION_MAJOR
25405 #define PANGO_VERSION_MINOR $PANGO_VERSION_MINOR
25406 #define PANGO_VERSION_MICRO $PANGO_VERSION_MICRO
25407
25408 #define PANGO_VERSION_STRING "$PANGO_VERSION_MAJOR.$PANGO_VERSION_MINOR.$PANGO_VERSION_MICRO"
25409
25410 _EOF
25411         # TODO: define macros for enabled features/backends here
25412
25413         echo '' >>$outfile
25414         echo '#endif' >>$outfile
25415
25416         if cmp -s $outfile $featuresfile; then
25417           { echo "$as_me:$LINENO: $featuresfile is unchanged" >&5
25418 echo "$as_me: $featuresfile is unchanged" >&6;}
25419           rm -f $outfile
25420         else
25421           mv $outfile $featuresfile
25422         fi
25423  ;;
25424     "tests/runtests.sh":F) chmod +x tests/runtests.sh ;;
25425
25426   esac
25427 done # for ac_tag
25428
25429
25430 { (exit 0); exit 0; }
25431 _ACEOF
25432 chmod +x $CONFIG_STATUS
25433 ac_clean_files=$ac_clean_files_save
25434
25435
25436 # configure is writing to config.log, and then calls config.status.
25437 # config.status does its own redirection, appending to config.log.
25438 # Unfortunately, on DOS this fails, as config.log is still kept open
25439 # by configure, so config.status won't be able to write to it; its
25440 # output is simply discarded.  So we exec the FD to /dev/null,
25441 # effectively closing config.log, so it can be properly (re)opened and
25442 # appended to by config.status.  When coming back to configure, we
25443 # need to make the FD available again.
25444 if test "$no_create" != yes; then
25445   ac_cs_success=:
25446   ac_config_status_args=
25447   test "$silent" = yes &&
25448     ac_config_status_args="$ac_config_status_args --quiet"
25449   exec 5>/dev/null
25450   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25451   exec 5>>config.log
25452   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25453   # would make configure fail if this is the last instruction.
25454   $ac_cs_success || { (exit 1); exit 1; }
25455 fi
25456
25457
25458 backends=""
25459 if $have_cairo ; then backends="$backends Cairo"; fi
25460 if $have_win32 ; then backends="$backends Win32"; fi
25461 if $have_xft ; then backends="$backends Xft"; fi
25462 if $have_freetype && $have_fontconfig ; then backends="$backends FreeType"; fi
25463 if $have_x ; then backends="$backends X"; fi
25464
25465 echo "configuration:
25466         backends:$backends"