add new sigc++2 directory
[ardour.git] / libs / gtkmm2 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for gtkmm 2.12.3.
4 #
5 # Report bugs to <gtkmm-list@gnome.org>.
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$ECHO in
559 X*--fallback-echo)
560   # Remove one level of quotation (which was required for Make).
561   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
562   ;;
563 esac
564
565 echo=${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 <<EOF
584 $*
585 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 "$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        echo_test_string=`eval $cmd` &&
600        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
601     then
602       break
603     fi
604   done
605 fi
606
607 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
608    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
609    test "X$echo_testing_string" = "X$echo_test_string"; then
610   :
611 else
612   # The Solaris, AIX, and Digital Unix default echo programs unquote
613   # backslashes.  This makes it impossible to quote backslashes using
614   #   echo "$something" | sed 's/\\/\\\\/g'
615   #
616   # So, first we look for a working echo in the user's PATH.
617
618   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
619   for dir in $PATH /usr/ucb; do
620     IFS="$lt_save_ifs"
621     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
622        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
623        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
624        test "X$echo_testing_string" = "X$echo_test_string"; then
625       echo="$dir/echo"
626       break
627     fi
628   done
629   IFS="$lt_save_ifs"
630
631   if test "X$echo" = Xecho; then
632     # We didn't find a better echo, so look for alternatives.
633     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
634        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
635        test "X$echo_testing_string" = "X$echo_test_string"; then
636       # This shell has a builtin print -r that does the trick.
637       echo='print -r'
638     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
639          test "X$CONFIG_SHELL" != X/bin/ksh; then
640       # If we have ksh, try running configure again with it.
641       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
642       export ORIGINAL_CONFIG_SHELL
643       CONFIG_SHELL=/bin/ksh
644       export CONFIG_SHELL
645       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
646     else
647       # Try using printf.
648       echo='printf %s\n'
649       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
650          echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
651          test "X$echo_testing_string" = "X$echo_test_string"; then
652         # Cool, printf works
653         :
654       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
655            test "X$echo_testing_string" = 'X\t' &&
656            echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
657            test "X$echo_testing_string" = "X$echo_test_string"; then
658         CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
659         export CONFIG_SHELL
660         SHELL="$CONFIG_SHELL"
661         export SHELL
662         echo="$CONFIG_SHELL $0 --fallback-echo"
663       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
664            test "X$echo_testing_string" = 'X\t' &&
665            echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
666            test "X$echo_testing_string" = "X$echo_test_string"; then
667         echo="$CONFIG_SHELL $0 --fallback-echo"
668       else
669         # maybe with a smaller string...
670         prev=:
671
672         for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
673           if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
674           then
675             break
676           fi
677           prev="$cmd"
678         done
679
680         if test "$prev" != 'sed 50q "$0"'; then
681           echo_test_string=`eval $prev`
682           export echo_test_string
683           exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
684         else
685           # Oops.  We lost completely, so just stick with echo.
686           echo=echo
687         fi
688       fi
689     fi
690   fi
691 fi
692 fi
693
694 # Copy echo and quote the copy suitably for passing to libtool from
695 # the Makefile, instead of quoting the original, which is used later.
696 ECHO=$echo
697 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
698    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
699 fi
700
701
702
703
704 tagnames=${tagnames+${tagnames},}CXX
705
706 tagnames=${tagnames+${tagnames},}F77
707
708 exec 7<&0 </dev/null 6>&1
709
710 # Name of the host.
711 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
712 # so uname gets run too.
713 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
714
715 #
716 # Initializations.
717 #
718 ac_default_prefix=/usr/local
719 ac_clean_files=
720 ac_config_libobj_dir=.
721 LIBOBJS=
722 cross_compiling=no
723 subdirs=
724 MFLAGS=
725 MAKEFLAGS=
726 SHELL=${CONFIG_SHELL-/bin/sh}
727
728 # Identity of this package.
729 PACKAGE_NAME='gtkmm'
730 PACKAGE_TARNAME='gtkmm'
731 PACKAGE_VERSION='2.12.3'
732 PACKAGE_STRING='gtkmm 2.12.3'
733 PACKAGE_BUGREPORT='gtkmm-list@gnome.org'
734
735 ac_unique_file="gtk/gtkmmconfig.h.in"
736 # Factoring default headers for most tests.
737 ac_includes_default="\
738 #include <stdio.h>
739 #ifdef HAVE_SYS_TYPES_H
740 # include <sys/types.h>
741 #endif
742 #ifdef HAVE_SYS_STAT_H
743 # include <sys/stat.h>
744 #endif
745 #ifdef STDC_HEADERS
746 # include <stdlib.h>
747 # include <stddef.h>
748 #else
749 # ifdef HAVE_STDLIB_H
750 #  include <stdlib.h>
751 # endif
752 #endif
753 #ifdef HAVE_STRING_H
754 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
755 #  include <memory.h>
756 # endif
757 # include <string.h>
758 #endif
759 #ifdef HAVE_STRINGS_H
760 # include <strings.h>
761 #endif
762 #ifdef HAVE_INTTYPES_H
763 # include <inttypes.h>
764 #endif
765 #ifdef HAVE_STDINT_H
766 # include <stdint.h>
767 #endif
768 #ifdef HAVE_UNISTD_H
769 # include <unistd.h>
770 #endif"
771
772 ac_subst_vars='SHELL
773 PATH_SEPARATOR
774 PACKAGE_NAME
775 PACKAGE_TARNAME
776 PACKAGE_VERSION
777 PACKAGE_STRING
778 PACKAGE_BUGREPORT
779 exec_prefix
780 prefix
781 program_transform_name
782 bindir
783 sbindir
784 libexecdir
785 datarootdir
786 datadir
787 sysconfdir
788 sharedstatedir
789 localstatedir
790 includedir
791 oldincludedir
792 docdir
793 infodir
794 htmldir
795 dvidir
796 pdfdir
797 psdir
798 libdir
799 localedir
800 mandir
801 DEFS
802 ECHO_C
803 ECHO_N
804 ECHO_T
805 LIBS
806 build_alias
807 host_alias
808 target_alias
809 GTKMM_MAJOR_VERSION
810 GTKMM_MINOR_VERSION
811 GTKMM_MICRO_VERSION
812 GTKMM_VERSION
813 GTKMM_RELEASE
814 LIBGTKMM_SO_VERSION
815 INSTALL_PROGRAM
816 INSTALL_SCRIPT
817 INSTALL_DATA
818 am__isrc
819 CYGPATH_W
820 PACKAGE
821 VERSION
822 ACLOCAL
823 AUTOCONF
824 AUTOMAKE
825 AUTOHEADER
826 MAKEINFO
827 install_sh
828 STRIP
829 INSTALL_STRIP_PROGRAM
830 mkdir_p
831 AWK
832 SET_MAKE
833 am__leading_dot
834 AMTAR
835 am__tar
836 am__untar
837 MAINTAINER_MODE_TRUE
838 MAINTAINER_MODE_FALSE
839 MAINT
840 CC
841 CFLAGS
842 LDFLAGS
843 CPPFLAGS
844 ac_ct_CC
845 EXEEXT
846 OBJEXT
847 DEPDIR
848 am__include
849 am__quote
850 AMDEP_TRUE
851 AMDEP_FALSE
852 AMDEPBACKSLASH
853 CCDEPMODE
854 am__fastdepCC_TRUE
855 am__fastdepCC_FALSE
856 CPP
857 build
858 build_cpu
859 build_vendor
860 build_os
861 host
862 host_cpu
863 host_vendor
864 host_os
865 PLATFORM_WIN32_TRUE
866 PLATFORM_WIN32_FALSE
867 OS_WIN32_TRUE
868 OS_WIN32_FALSE
869 GREP
870 EGREP
871 LN_S
872 ECHO
873 AR
874 RANLIB
875 DLLTOOL
876 AS
877 OBJDUMP
878 CXX
879 CXXFLAGS
880 ac_ct_CXX
881 CXXDEPMODE
882 am__fastdepCXX_TRUE
883 am__fastdepCXX_FALSE
884 CXXCPP
885 F77
886 FFLAGS
887 ac_ct_F77
888 LIBTOOL
889 M4
890 PERL_PATH
891 GMMPROC_DIR
892 GMMPROC
893 PKG_CONFIG
894 ATKMM_CFLAGS
895 ATKMM_LIBS
896 PANGOMM_CFLAGS
897 PANGOMM_LIBS
898 GDKMM_CFLAGS
899 GDKMM_LIBS
900 GTKMM_CFLAGS
901 GTKMM_LIBS
902 GTHREAD_CFLAGS
903 GTHREAD_LIBS
904 GTKMM_DOXYGEN_INPUT
905 DISABLE_DEPRECATED_CFLAGS
906 DISABLE_DEPRECATED_API_CFLAGS
907 EXAMPLE_SUBDIR
908 DEMO_SUBDIR
909 GTKMM_PC_ATKMM_DEP
910 GTKMM_ATKMM_ENABLED_TRUE
911 GTKMM_ATKMM_ENABLED_FALSE
912 DOCS_SUBDIR
913 GTKMM_FALSE_TRUE
914 GTKMM_FALSE_FALSE
915 LIBOBJS
916 LTLIBOBJS'
917 ac_subst_files=''
918       ac_precious_vars='build_alias
919 host_alias
920 target_alias
921 CC
922 CFLAGS
923 LDFLAGS
924 LIBS
925 CPPFLAGS
926 CPP
927 CXX
928 CXXFLAGS
929 CCC
930 CXXCPP
931 F77
932 FFLAGS
933 PKG_CONFIG
934 ATKMM_CFLAGS
935 ATKMM_LIBS
936 PANGOMM_CFLAGS
937 PANGOMM_LIBS
938 GDKMM_CFLAGS
939 GDKMM_LIBS
940 GTKMM_CFLAGS
941 GTKMM_LIBS
942 GTHREAD_CFLAGS
943 GTHREAD_LIBS'
944
945
946 # Initialize some variables set by options.
947 ac_init_help=
948 ac_init_version=false
949 # The variables have the same names as the options, with
950 # dashes changed to underlines.
951 cache_file=/dev/null
952 exec_prefix=NONE
953 no_create=
954 no_recursion=
955 prefix=NONE
956 program_prefix=NONE
957 program_suffix=NONE
958 program_transform_name=s,x,x,
959 silent=
960 site=
961 srcdir=
962 verbose=
963 x_includes=NONE
964 x_libraries=NONE
965
966 # Installation directory options.
967 # These are left unexpanded so users can "make install exec_prefix=/foo"
968 # and all the variables that are supposed to be based on exec_prefix
969 # by default will actually change.
970 # Use braces instead of parens because sh, perl, etc. also accept them.
971 # (The list follows the same order as the GNU Coding Standards.)
972 bindir='${exec_prefix}/bin'
973 sbindir='${exec_prefix}/sbin'
974 libexecdir='${exec_prefix}/libexec'
975 datarootdir='${prefix}/share'
976 datadir='${datarootdir}'
977 sysconfdir='${prefix}/etc'
978 sharedstatedir='${prefix}/com'
979 localstatedir='${prefix}/var'
980 includedir='${prefix}/include'
981 oldincludedir='/usr/include'
982 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
983 infodir='${datarootdir}/info'
984 htmldir='${docdir}'
985 dvidir='${docdir}'
986 pdfdir='${docdir}'
987 psdir='${docdir}'
988 libdir='${exec_prefix}/lib'
989 localedir='${datarootdir}/locale'
990 mandir='${datarootdir}/man'
991
992 ac_prev=
993 ac_dashdash=
994 for ac_option
995 do
996   # If the previous option needs an argument, assign it.
997   if test -n "$ac_prev"; then
998     eval $ac_prev=\$ac_option
999     ac_prev=
1000     continue
1001   fi
1002
1003   case $ac_option in
1004   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1005   *)    ac_optarg=yes ;;
1006   esac
1007
1008   # Accept the important Cygnus configure options, so we can diagnose typos.
1009
1010   case $ac_dashdash$ac_option in
1011   --)
1012     ac_dashdash=yes ;;
1013
1014   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1015     ac_prev=bindir ;;
1016   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1017     bindir=$ac_optarg ;;
1018
1019   -build | --build | --buil | --bui | --bu)
1020     ac_prev=build_alias ;;
1021   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1022     build_alias=$ac_optarg ;;
1023
1024   -cache-file | --cache-file | --cache-fil | --cache-fi \
1025   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1026     ac_prev=cache_file ;;
1027   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1028   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1029     cache_file=$ac_optarg ;;
1030
1031   --config-cache | -C)
1032     cache_file=config.cache ;;
1033
1034   -datadir | --datadir | --datadi | --datad)
1035     ac_prev=datadir ;;
1036   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1037     datadir=$ac_optarg ;;
1038
1039   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1040   | --dataroo | --dataro | --datar)
1041     ac_prev=datarootdir ;;
1042   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1043   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1044     datarootdir=$ac_optarg ;;
1045
1046   -disable-* | --disable-*)
1047     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1048     # Reject names that are not valid shell variable names.
1049     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1050       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1051    { (exit 1); exit 1; }; }
1052     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1053     eval enable_$ac_feature=no ;;
1054
1055   -docdir | --docdir | --docdi | --doc | --do)
1056     ac_prev=docdir ;;
1057   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1058     docdir=$ac_optarg ;;
1059
1060   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1061     ac_prev=dvidir ;;
1062   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1063     dvidir=$ac_optarg ;;
1064
1065   -enable-* | --enable-*)
1066     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1067     # Reject names that are not valid shell variable names.
1068     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1069       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1070    { (exit 1); exit 1; }; }
1071     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1072     eval enable_$ac_feature=\$ac_optarg ;;
1073
1074   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1075   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1076   | --exec | --exe | --ex)
1077     ac_prev=exec_prefix ;;
1078   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1079   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1080   | --exec=* | --exe=* | --ex=*)
1081     exec_prefix=$ac_optarg ;;
1082
1083   -gas | --gas | --ga | --g)
1084     # Obsolete; use --with-gas.
1085     with_gas=yes ;;
1086
1087   -help | --help | --hel | --he | -h)
1088     ac_init_help=long ;;
1089   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1090     ac_init_help=recursive ;;
1091   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1092     ac_init_help=short ;;
1093
1094   -host | --host | --hos | --ho)
1095     ac_prev=host_alias ;;
1096   -host=* | --host=* | --hos=* | --ho=*)
1097     host_alias=$ac_optarg ;;
1098
1099   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1100     ac_prev=htmldir ;;
1101   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1102   | --ht=*)
1103     htmldir=$ac_optarg ;;
1104
1105   -includedir | --includedir | --includedi | --included | --include \
1106   | --includ | --inclu | --incl | --inc)
1107     ac_prev=includedir ;;
1108   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1109   | --includ=* | --inclu=* | --incl=* | --inc=*)
1110     includedir=$ac_optarg ;;
1111
1112   -infodir | --infodir | --infodi | --infod | --info | --inf)
1113     ac_prev=infodir ;;
1114   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1115     infodir=$ac_optarg ;;
1116
1117   -libdir | --libdir | --libdi | --libd)
1118     ac_prev=libdir ;;
1119   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1120     libdir=$ac_optarg ;;
1121
1122   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1123   | --libexe | --libex | --libe)
1124     ac_prev=libexecdir ;;
1125   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1126   | --libexe=* | --libex=* | --libe=*)
1127     libexecdir=$ac_optarg ;;
1128
1129   -localedir | --localedir | --localedi | --localed | --locale)
1130     ac_prev=localedir ;;
1131   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1132     localedir=$ac_optarg ;;
1133
1134   -localstatedir | --localstatedir | --localstatedi | --localstated \
1135   | --localstate | --localstat | --localsta | --localst | --locals)
1136     ac_prev=localstatedir ;;
1137   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1138   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1139     localstatedir=$ac_optarg ;;
1140
1141   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1142     ac_prev=mandir ;;
1143   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1144     mandir=$ac_optarg ;;
1145
1146   -nfp | --nfp | --nf)
1147     # Obsolete; use --without-fp.
1148     with_fp=no ;;
1149
1150   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1151   | --no-cr | --no-c | -n)
1152     no_create=yes ;;
1153
1154   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1155   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1156     no_recursion=yes ;;
1157
1158   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1159   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1160   | --oldin | --oldi | --old | --ol | --o)
1161     ac_prev=oldincludedir ;;
1162   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1163   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1164   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1165     oldincludedir=$ac_optarg ;;
1166
1167   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1168     ac_prev=prefix ;;
1169   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1170     prefix=$ac_optarg ;;
1171
1172   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1173   | --program-pre | --program-pr | --program-p)
1174     ac_prev=program_prefix ;;
1175   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1176   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1177     program_prefix=$ac_optarg ;;
1178
1179   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1180   | --program-suf | --program-su | --program-s)
1181     ac_prev=program_suffix ;;
1182   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1183   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1184     program_suffix=$ac_optarg ;;
1185
1186   -program-transform-name | --program-transform-name \
1187   | --program-transform-nam | --program-transform-na \
1188   | --program-transform-n | --program-transform- \
1189   | --program-transform | --program-transfor \
1190   | --program-transfo | --program-transf \
1191   | --program-trans | --program-tran \
1192   | --progr-tra | --program-tr | --program-t)
1193     ac_prev=program_transform_name ;;
1194   -program-transform-name=* | --program-transform-name=* \
1195   | --program-transform-nam=* | --program-transform-na=* \
1196   | --program-transform-n=* | --program-transform-=* \
1197   | --program-transform=* | --program-transfor=* \
1198   | --program-transfo=* | --program-transf=* \
1199   | --program-trans=* | --program-tran=* \
1200   | --progr-tra=* | --program-tr=* | --program-t=*)
1201     program_transform_name=$ac_optarg ;;
1202
1203   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1204     ac_prev=pdfdir ;;
1205   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1206     pdfdir=$ac_optarg ;;
1207
1208   -psdir | --psdir | --psdi | --psd | --ps)
1209     ac_prev=psdir ;;
1210   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1211     psdir=$ac_optarg ;;
1212
1213   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1214   | -silent | --silent | --silen | --sile | --sil)
1215     silent=yes ;;
1216
1217   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1218     ac_prev=sbindir ;;
1219   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1220   | --sbi=* | --sb=*)
1221     sbindir=$ac_optarg ;;
1222
1223   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1224   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1225   | --sharedst | --shareds | --shared | --share | --shar \
1226   | --sha | --sh)
1227     ac_prev=sharedstatedir ;;
1228   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1229   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1230   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1231   | --sha=* | --sh=*)
1232     sharedstatedir=$ac_optarg ;;
1233
1234   -site | --site | --sit)
1235     ac_prev=site ;;
1236   -site=* | --site=* | --sit=*)
1237     site=$ac_optarg ;;
1238
1239   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1240     ac_prev=srcdir ;;
1241   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1242     srcdir=$ac_optarg ;;
1243
1244   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1245   | --syscon | --sysco | --sysc | --sys | --sy)
1246     ac_prev=sysconfdir ;;
1247   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1248   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1249     sysconfdir=$ac_optarg ;;
1250
1251   -target | --target | --targe | --targ | --tar | --ta | --t)
1252     ac_prev=target_alias ;;
1253   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1254     target_alias=$ac_optarg ;;
1255
1256   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1257     verbose=yes ;;
1258
1259   -version | --version | --versio | --versi | --vers | -V)
1260     ac_init_version=: ;;
1261
1262   -with-* | --with-*)
1263     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1264     # Reject names that are not valid shell variable names.
1265     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1266       { echo "$as_me: error: invalid package name: $ac_package" >&2
1267    { (exit 1); exit 1; }; }
1268     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1269     eval with_$ac_package=\$ac_optarg ;;
1270
1271   -without-* | --without-*)
1272     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1273     # Reject names that are not valid shell variable names.
1274     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1275       { echo "$as_me: error: invalid package name: $ac_package" >&2
1276    { (exit 1); exit 1; }; }
1277     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1278     eval with_$ac_package=no ;;
1279
1280   --x)
1281     # Obsolete; use --with-x.
1282     with_x=yes ;;
1283
1284   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1285   | --x-incl | --x-inc | --x-in | --x-i)
1286     ac_prev=x_includes ;;
1287   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1288   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1289     x_includes=$ac_optarg ;;
1290
1291   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1292   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1293     ac_prev=x_libraries ;;
1294   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1295   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1296     x_libraries=$ac_optarg ;;
1297
1298   -*) { echo "$as_me: error: unrecognized option: $ac_option
1299 Try \`$0 --help' for more information." >&2
1300    { (exit 1); exit 1; }; }
1301     ;;
1302
1303   *=*)
1304     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1305     # Reject names that are not valid shell variable names.
1306     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1307       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1308    { (exit 1); exit 1; }; }
1309     eval $ac_envvar=\$ac_optarg
1310     export $ac_envvar ;;
1311
1312   *)
1313     # FIXME: should be removed in autoconf 3.0.
1314     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1315     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1316       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1317     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1318     ;;
1319
1320   esac
1321 done
1322
1323 if test -n "$ac_prev"; then
1324   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1325   { echo "$as_me: error: missing argument to $ac_option" >&2
1326    { (exit 1); exit 1; }; }
1327 fi
1328
1329 # Be sure to have absolute directory names.
1330 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1331                 datadir sysconfdir sharedstatedir localstatedir includedir \
1332                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1333                 libdir localedir mandir
1334 do
1335   eval ac_val=\$$ac_var
1336   case $ac_val in
1337     [\\/$]* | ?:[\\/]* )  continue;;
1338     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1339   esac
1340   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1341    { (exit 1); exit 1; }; }
1342 done
1343
1344 # There might be people who depend on the old broken behavior: `$host'
1345 # used to hold the argument of --host etc.
1346 # FIXME: To remove some day.
1347 build=$build_alias
1348 host=$host_alias
1349 target=$target_alias
1350
1351 # FIXME: To remove some day.
1352 if test "x$host_alias" != x; then
1353   if test "x$build_alias" = x; then
1354     cross_compiling=maybe
1355     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1356     If a cross compiler is detected then cross compile mode will be used." >&2
1357   elif test "x$build_alias" != "x$host_alias"; then
1358     cross_compiling=yes
1359   fi
1360 fi
1361
1362 ac_tool_prefix=
1363 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1364
1365 test "$silent" = yes && exec 6>/dev/null
1366
1367
1368 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1369 ac_ls_di=`ls -di .` &&
1370 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1371   { echo "$as_me: error: Working directory cannot be determined" >&2
1372    { (exit 1); exit 1; }; }
1373 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1374   { echo "$as_me: error: pwd does not report name of working directory" >&2
1375    { (exit 1); exit 1; }; }
1376
1377
1378 # Find the source files, if location was not specified.
1379 if test -z "$srcdir"; then
1380   ac_srcdir_defaulted=yes
1381   # Try the directory containing this script, then the parent directory.
1382   ac_confdir=`$as_dirname -- "$0" ||
1383 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1384          X"$0" : 'X\(//\)[^/]' \| \
1385          X"$0" : 'X\(//\)$' \| \
1386          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1387 echo X"$0" |
1388     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1389             s//\1/
1390             q
1391           }
1392           /^X\(\/\/\)[^/].*/{
1393             s//\1/
1394             q
1395           }
1396           /^X\(\/\/\)$/{
1397             s//\1/
1398             q
1399           }
1400           /^X\(\/\).*/{
1401             s//\1/
1402             q
1403           }
1404           s/.*/./; q'`
1405   srcdir=$ac_confdir
1406   if test ! -r "$srcdir/$ac_unique_file"; then
1407     srcdir=..
1408   fi
1409 else
1410   ac_srcdir_defaulted=no
1411 fi
1412 if test ! -r "$srcdir/$ac_unique_file"; then
1413   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1414   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1415    { (exit 1); exit 1; }; }
1416 fi
1417 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1418 ac_abs_confdir=`(
1419         cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1420    { (exit 1); exit 1; }; }
1421         pwd)`
1422 # When building in place, set srcdir=.
1423 if test "$ac_abs_confdir" = "$ac_pwd"; then
1424   srcdir=.
1425 fi
1426 # Remove unnecessary trailing slashes from srcdir.
1427 # Double slashes in file names in object file debugging info
1428 # mess up M-x gdb in Emacs.
1429 case $srcdir in
1430 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1431 esac
1432 for ac_var in $ac_precious_vars; do
1433   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1434   eval ac_env_${ac_var}_value=\$${ac_var}
1435   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1436   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1437 done
1438
1439 #
1440 # Report the --help message.
1441 #
1442 if test "$ac_init_help" = "long"; then
1443   # Omit some internal or obsolete options to make the list less imposing.
1444   # This message is too long to be a string in the A/UX 3.1 sh.
1445   cat <<_ACEOF
1446 \`configure' configures gtkmm 2.12.3 to adapt to many kinds of systems.
1447
1448 Usage: $0 [OPTION]... [VAR=VALUE]...
1449
1450 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1451 VAR=VALUE.  See below for descriptions of some of the useful variables.
1452
1453 Defaults for the options are specified in brackets.
1454
1455 Configuration:
1456   -h, --help              display this help and exit
1457       --help=short        display options specific to this package
1458       --help=recursive    display the short help of all the included packages
1459   -V, --version           display version information and exit
1460   -q, --quiet, --silent   do not print \`checking...' messages
1461       --cache-file=FILE   cache test results in FILE [disabled]
1462   -C, --config-cache      alias for \`--cache-file=config.cache'
1463   -n, --no-create         do not create output files
1464       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1465
1466 Installation directories:
1467   --prefix=PREFIX         install architecture-independent files in PREFIX
1468                           [$ac_default_prefix]
1469   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1470                           [PREFIX]
1471
1472 By default, \`make install' will install all the files in
1473 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1474 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1475 for instance \`--prefix=\$HOME'.
1476
1477 For better control, use the options below.
1478
1479 Fine tuning of the installation directories:
1480   --bindir=DIR           user executables [EPREFIX/bin]
1481   --sbindir=DIR          system admin executables [EPREFIX/sbin]
1482   --libexecdir=DIR       program executables [EPREFIX/libexec]
1483   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1484   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1485   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1486   --libdir=DIR           object code libraries [EPREFIX/lib]
1487   --includedir=DIR       C header files [PREFIX/include]
1488   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1489   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1490   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1491   --infodir=DIR          info documentation [DATAROOTDIR/info]
1492   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1493   --mandir=DIR           man documentation [DATAROOTDIR/man]
1494   --docdir=DIR           documentation root [DATAROOTDIR/doc/gtkmm]
1495   --htmldir=DIR          html documentation [DOCDIR]
1496   --dvidir=DIR           dvi documentation [DOCDIR]
1497   --pdfdir=DIR           pdf documentation [DOCDIR]
1498   --psdir=DIR            ps documentation [DOCDIR]
1499 _ACEOF
1500
1501   cat <<\_ACEOF
1502
1503 Program names:
1504   --program-prefix=PREFIX            prepend PREFIX to installed program names
1505   --program-suffix=SUFFIX            append SUFFIX to installed program names
1506   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1507
1508 System types:
1509   --build=BUILD     configure for building on BUILD [guessed]
1510   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1511 _ACEOF
1512 fi
1513
1514 if test -n "$ac_init_help"; then
1515   case $ac_init_help in
1516      short | recursive ) echo "Configuration of gtkmm 2.12.3:";;
1517    esac
1518   cat <<\_ACEOF
1519
1520 Optional Features:
1521   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1522   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1523   --enable-maintainer-mode  enable make rules and dependencies not useful
1524                           (and sometimes confusing) to the casual installer
1525   --disable-dependency-tracking  speeds up one-time build
1526   --enable-dependency-tracking   do not reject slow dependency extractors
1527   --enable-static[=PKGS]  build static libraries [default=no]
1528   --enable-shared[=PKGS]  build shared libraries [default=yes]
1529   --enable-fast-install[=PKGS]
1530                           optimize for fast installation [default=yes]
1531   --disable-libtool-lock  avoid locking (might break parallel builds)
1532   --enable-warnings=[none|minimum|maximum|hardcore]
1533                           Control compiler pickyness.  [default=minimum]
1534   --enable-use-deprecations
1535                           warn about deprecated usages [default=no]
1536   --enable-deprecated-api include (build) deprecated API in the libraries
1537                           [default=yes]
1538   --enable-examples       build the included examples [default=yes]
1539   --enable-demos          build the included demos [default=yes]
1540   --enable-api-atkmm  Build atkmm API.
1541                               [default=yes]
1542   --enable-api-maemo-extensions  Build Maemo Extensions API.
1543                               [default=no]
1544   --enable-docs           build the included docs [default=yes]
1545
1546 Optional Packages:
1547   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1548   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1549   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1550   --with-pic              try to use only PIC/non-PIC objects [default=use
1551                           both]
1552   --with-tags[=TAGS]      include additional configurations [automatic]
1553
1554 Some influential environment variables:
1555   CC          C compiler command
1556   CFLAGS      C compiler flags
1557   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1558               nonstandard directory <lib dir>
1559   LIBS        libraries to pass to the linker, e.g. -l<library>
1560   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1561               you have headers in a nonstandard directory <include dir>
1562   CPP         C preprocessor
1563   CXX         C++ compiler command
1564   CXXFLAGS    C++ compiler flags
1565   CXXCPP      C++ preprocessor
1566   F77         Fortran 77 compiler command
1567   FFLAGS      Fortran 77 compiler flags
1568   PKG_CONFIG  path to pkg-config utility
1569   ATKMM_CFLAGS
1570               C compiler flags for ATKMM, overriding pkg-config
1571   ATKMM_LIBS  linker flags for ATKMM, overriding pkg-config
1572   PANGOMM_CFLAGS
1573               C compiler flags for PANGOMM, overriding pkg-config
1574   PANGOMM_LIBS
1575               linker flags for PANGOMM, overriding pkg-config
1576   GDKMM_CFLAGS
1577               C compiler flags for GDKMM, overriding pkg-config
1578   GDKMM_LIBS  linker flags for GDKMM, overriding pkg-config
1579   GTKMM_CFLAGS
1580               C compiler flags for GTKMM, overriding pkg-config
1581   GTKMM_LIBS  linker flags for GTKMM, overriding pkg-config
1582   GTHREAD_CFLAGS
1583               C compiler flags for GTHREAD, overriding pkg-config
1584   GTHREAD_LIBS
1585               linker flags for GTHREAD, overriding pkg-config
1586
1587 Use these variables to override the choices made by `configure' or to help
1588 it to find libraries and programs with nonstandard names/locations.
1589
1590 Report bugs to <gtkmm-list@gnome.org>.
1591 _ACEOF
1592 ac_status=$?
1593 fi
1594
1595 if test "$ac_init_help" = "recursive"; then
1596   # If there are subdirs, report their specific --help.
1597   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1598     test -d "$ac_dir" || continue
1599     ac_builddir=.
1600
1601 case "$ac_dir" in
1602 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1603 *)
1604   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1605   # A ".." for each directory in $ac_dir_suffix.
1606   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1607   case $ac_top_builddir_sub in
1608   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1609   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1610   esac ;;
1611 esac
1612 ac_abs_top_builddir=$ac_pwd
1613 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1614 # for backward compatibility:
1615 ac_top_builddir=$ac_top_build_prefix
1616
1617 case $srcdir in
1618   .)  # We are building in place.
1619     ac_srcdir=.
1620     ac_top_srcdir=$ac_top_builddir_sub
1621     ac_abs_top_srcdir=$ac_pwd ;;
1622   [\\/]* | ?:[\\/]* )  # Absolute name.
1623     ac_srcdir=$srcdir$ac_dir_suffix;
1624     ac_top_srcdir=$srcdir
1625     ac_abs_top_srcdir=$srcdir ;;
1626   *) # Relative name.
1627     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1628     ac_top_srcdir=$ac_top_build_prefix$srcdir
1629     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1630 esac
1631 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1632
1633     cd "$ac_dir" || { ac_status=$?; continue; }
1634     # Check for guested configure.
1635     if test -f "$ac_srcdir/configure.gnu"; then
1636       echo &&
1637       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1638     elif test -f "$ac_srcdir/configure"; then
1639       echo &&
1640       $SHELL "$ac_srcdir/configure" --help=recursive
1641     else
1642       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1643     fi || ac_status=$?
1644     cd "$ac_pwd" || { ac_status=$?; break; }
1645   done
1646 fi
1647
1648 test -n "$ac_init_help" && exit $ac_status
1649 if $ac_init_version; then
1650   cat <<\_ACEOF
1651 gtkmm configure 2.12.3
1652 generated by GNU Autoconf 2.61
1653
1654 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1655 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1656 This configure script is free software; the Free Software Foundation
1657 gives unlimited permission to copy, distribute and modify it.
1658 _ACEOF
1659   exit
1660 fi
1661 cat >config.log <<_ACEOF
1662 This file contains any messages produced by compilers while
1663 running configure, to aid debugging if configure makes a mistake.
1664
1665 It was created by gtkmm $as_me 2.12.3, which was
1666 generated by GNU Autoconf 2.61.  Invocation command line was
1667
1668   $ $0 $@
1669
1670 _ACEOF
1671 exec 5>>config.log
1672 {
1673 cat <<_ASUNAME
1674 ## --------- ##
1675 ## Platform. ##
1676 ## --------- ##
1677
1678 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1679 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1680 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1681 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1682 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1683
1684 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1685 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1686
1687 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1688 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1689 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1690 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1691 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1692 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1693 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1694
1695 _ASUNAME
1696
1697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1698 for as_dir in $PATH
1699 do
1700   IFS=$as_save_IFS
1701   test -z "$as_dir" && as_dir=.
1702   echo "PATH: $as_dir"
1703 done
1704 IFS=$as_save_IFS
1705
1706 } >&5
1707
1708 cat >&5 <<_ACEOF
1709
1710
1711 ## ----------- ##
1712 ## Core tests. ##
1713 ## ----------- ##
1714
1715 _ACEOF
1716
1717
1718 # Keep a trace of the command line.
1719 # Strip out --no-create and --no-recursion so they do not pile up.
1720 # Strip out --silent because we don't want to record it for future runs.
1721 # Also quote any args containing shell meta-characters.
1722 # Make two passes to allow for proper duplicate-argument suppression.
1723 ac_configure_args=
1724 ac_configure_args0=
1725 ac_configure_args1=
1726 ac_must_keep_next=false
1727 for ac_pass in 1 2
1728 do
1729   for ac_arg
1730   do
1731     case $ac_arg in
1732     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1733     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1734     | -silent | --silent | --silen | --sile | --sil)
1735       continue ;;
1736     *\'*)
1737       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1738     esac
1739     case $ac_pass in
1740     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1741     2)
1742       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1743       if test $ac_must_keep_next = true; then
1744         ac_must_keep_next=false # Got value, back to normal.
1745       else
1746         case $ac_arg in
1747           *=* | --config-cache | -C | -disable-* | --disable-* \
1748           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1749           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1750           | -with-* | --with-* | -without-* | --without-* | --x)
1751             case "$ac_configure_args0 " in
1752               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1753             esac
1754             ;;
1755           -* ) ac_must_keep_next=true ;;
1756         esac
1757       fi
1758       ac_configure_args="$ac_configure_args '$ac_arg'"
1759       ;;
1760     esac
1761   done
1762 done
1763 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1764 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1765
1766 # When interrupted or exit'd, cleanup temporary files, and complete
1767 # config.log.  We remove comments because anyway the quotes in there
1768 # would cause problems or look ugly.
1769 # WARNING: Use '\'' to represent an apostrophe within the trap.
1770 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1771 trap 'exit_status=$?
1772   # Save into config.log some information that might help in debugging.
1773   {
1774     echo
1775
1776     cat <<\_ASBOX
1777 ## ---------------- ##
1778 ## Cache variables. ##
1779 ## ---------------- ##
1780 _ASBOX
1781     echo
1782     # The following way of writing the cache mishandles newlines in values,
1783 (
1784   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1785     eval ac_val=\$$ac_var
1786     case $ac_val in #(
1787     *${as_nl}*)
1788       case $ac_var in #(
1789       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1790 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1791       esac
1792       case $ac_var in #(
1793       _ | IFS | as_nl) ;; #(
1794       *) $as_unset $ac_var ;;
1795       esac ;;
1796     esac
1797   done
1798   (set) 2>&1 |
1799     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1800     *${as_nl}ac_space=\ *)
1801       sed -n \
1802         "s/'\''/'\''\\\\'\'''\''/g;
1803           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1804       ;; #(
1805     *)
1806       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1807       ;;
1808     esac |
1809     sort
1810 )
1811     echo
1812
1813     cat <<\_ASBOX
1814 ## ----------------- ##
1815 ## Output variables. ##
1816 ## ----------------- ##
1817 _ASBOX
1818     echo
1819     for ac_var in $ac_subst_vars
1820     do
1821       eval ac_val=\$$ac_var
1822       case $ac_val in
1823       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1824       esac
1825       echo "$ac_var='\''$ac_val'\''"
1826     done | sort
1827     echo
1828
1829     if test -n "$ac_subst_files"; then
1830       cat <<\_ASBOX
1831 ## ------------------- ##
1832 ## File substitutions. ##
1833 ## ------------------- ##
1834 _ASBOX
1835       echo
1836       for ac_var in $ac_subst_files
1837       do
1838         eval ac_val=\$$ac_var
1839         case $ac_val in
1840         *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1841         esac
1842         echo "$ac_var='\''$ac_val'\''"
1843       done | sort
1844       echo
1845     fi
1846
1847     if test -s confdefs.h; then
1848       cat <<\_ASBOX
1849 ## ----------- ##
1850 ## confdefs.h. ##
1851 ## ----------- ##
1852 _ASBOX
1853       echo
1854       cat confdefs.h
1855       echo
1856     fi
1857     test "$ac_signal" != 0 &&
1858       echo "$as_me: caught signal $ac_signal"
1859     echo "$as_me: exit $exit_status"
1860   } >&5
1861   rm -f core *.core core.conftest.* &&
1862     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1863     exit $exit_status
1864 ' 0
1865 for ac_signal in 1 2 13 15; do
1866   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1867 done
1868 ac_signal=0
1869
1870 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1871 rm -f -r conftest* confdefs.h
1872
1873 # Predefined preprocessor variables.
1874
1875 cat >>confdefs.h <<_ACEOF
1876 #define PACKAGE_NAME "$PACKAGE_NAME"
1877 _ACEOF
1878
1879
1880 cat >>confdefs.h <<_ACEOF
1881 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1882 _ACEOF
1883
1884
1885 cat >>confdefs.h <<_ACEOF
1886 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1887 _ACEOF
1888
1889
1890 cat >>confdefs.h <<_ACEOF
1891 #define PACKAGE_STRING "$PACKAGE_STRING"
1892 _ACEOF
1893
1894
1895 cat >>confdefs.h <<_ACEOF
1896 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1897 _ACEOF
1898
1899
1900 # Let the site file select an alternate cache file if it wants to.
1901 # Prefer explicitly selected file to automatically selected ones.
1902 if test -n "$CONFIG_SITE"; then
1903   set x "$CONFIG_SITE"
1904 elif test "x$prefix" != xNONE; then
1905   set x "$prefix/share/config.site" "$prefix/etc/config.site"
1906 else
1907   set x "$ac_default_prefix/share/config.site" \
1908         "$ac_default_prefix/etc/config.site"
1909 fi
1910 shift
1911 for ac_site_file
1912 do
1913   if test -r "$ac_site_file"; then
1914     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1915 echo "$as_me: loading site script $ac_site_file" >&6;}
1916     sed 's/^/| /' "$ac_site_file" >&5
1917     . "$ac_site_file"
1918   fi
1919 done
1920
1921 if test -r "$cache_file"; then
1922   # Some versions of bash will fail to source /dev/null (special
1923   # files actually), so we avoid doing that.
1924   if test -f "$cache_file"; then
1925     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1926 echo "$as_me: loading cache $cache_file" >&6;}
1927     case $cache_file in
1928       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1929       *)                      . "./$cache_file";;
1930     esac
1931   fi
1932 else
1933   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1934 echo "$as_me: creating cache $cache_file" >&6;}
1935   >$cache_file
1936 fi
1937
1938 # Check that the precious variables saved in the cache have kept the same
1939 # value.
1940 ac_cache_corrupted=false
1941 for ac_var in $ac_precious_vars; do
1942   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1943   eval ac_new_set=\$ac_env_${ac_var}_set
1944   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1945   eval ac_new_val=\$ac_env_${ac_var}_value
1946   case $ac_old_set,$ac_new_set in
1947     set,)
1948       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1949 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1950       ac_cache_corrupted=: ;;
1951     ,set)
1952       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1953 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1954       ac_cache_corrupted=: ;;
1955     ,);;
1956     *)
1957       if test "x$ac_old_val" != "x$ac_new_val"; then
1958         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1959 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1960         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1961 echo "$as_me:   former value:  $ac_old_val" >&2;}
1962         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1963 echo "$as_me:   current value: $ac_new_val" >&2;}
1964         ac_cache_corrupted=:
1965       fi;;
1966   esac
1967   # Pass precious variables to config.status.
1968   if test "$ac_new_set" = set; then
1969     case $ac_new_val in
1970     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1971     *) ac_arg=$ac_var=$ac_new_val ;;
1972     esac
1973     case " $ac_configure_args " in
1974       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1975       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1976     esac
1977   fi
1978 done
1979 if $ac_cache_corrupted; then
1980   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1981 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1982   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1983 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1984    { (exit 1); exit 1; }; }
1985 fi
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011 ac_ext=c
2012 ac_cpp='$CPP $CPPFLAGS'
2013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2016
2017
2018
2019
2020
2021 #########################################################################
2022 #  Version and initialization
2023 #########################################################################
2024 GTKMM_MAJOR_VERSION=2
2025 GTKMM_MINOR_VERSION=12
2026 GTKMM_MICRO_VERSION=3
2027 GTKMM_EXTRA_VERSION=
2028 GTKMM_VERSION=2.12.3
2029
2030
2031
2032
2033
2034 GTKMM_RELEASE=$GTKMM_MAJOR_VERSION.$GTKMM_MINOR_VERSION
2035
2036 cat >>confdefs.h <<_ACEOF
2037 #define GTKMM_MAJOR_VERSION $GTKMM_MAJOR_VERSION
2038 _ACEOF
2039
2040
2041 cat >>confdefs.h <<_ACEOF
2042 #define GTKMM_MINOR_VERSION $GTKMM_MINOR_VERSION
2043 _ACEOF
2044
2045
2046 cat >>confdefs.h <<_ACEOF
2047 #define GTKMM_MICRO_VERSION $GTKMM_MICRO_VERSION
2048 _ACEOF
2049
2050
2051
2052
2053
2054
2055
2056 #
2057 # +1 : ? : +1  == new interface that does not break old one
2058 # +1 : ? : 0   == new interface that breaks old one
2059 #  ? : ? : 0   == no new interfaces, but breaks apps
2060 #  ? :+1 : ?   == just some internal changes, nothing breaks but might work
2061 #                 better
2062 # CURRENT : REVISION : AGE
2063 LIBGTKMM_SO_VERSION=1:30:0
2064
2065
2066 ac_aux_dir=
2067 for ac_dir in scripts "$srcdir"/scripts; do
2068   if test -f "$ac_dir/install-sh"; then
2069     ac_aux_dir=$ac_dir
2070     ac_install_sh="$ac_aux_dir/install-sh -c"
2071     break
2072   elif test -f "$ac_dir/install.sh"; then
2073     ac_aux_dir=$ac_dir
2074     ac_install_sh="$ac_aux_dir/install.sh -c"
2075     break
2076   elif test -f "$ac_dir/shtool"; then
2077     ac_aux_dir=$ac_dir
2078     ac_install_sh="$ac_aux_dir/shtool install -c"
2079     break
2080   fi
2081 done
2082 if test -z "$ac_aux_dir"; then
2083   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&5
2084 echo "$as_me: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&2;}
2085    { (exit 1); exit 1; }; }
2086 fi
2087
2088 # These three variables are undocumented and unsupported,
2089 # and are intended to be withdrawn in a future Autoconf release.
2090 # They can cause serious problems if a builder's source tree is in a directory
2091 # whose full name contains unusual characters.
2092 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2093 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2094 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2095
2096
2097
2098 # Initialize automake stuff
2099 # tar-ustar asks it to use a sensible tar format that can handle long filenames.
2100 am__api_version='1.10'
2101
2102 # Find a good install program.  We prefer a C program (faster),
2103 # so one script is as good as another.  But avoid the broken or
2104 # incompatible versions:
2105 # SysV /etc/install, /usr/sbin/install
2106 # SunOS /usr/etc/install
2107 # IRIX /sbin/install
2108 # AIX /bin/install
2109 # AmigaOS /C/install, which installs bootblocks on floppy discs
2110 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2111 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2112 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2113 # OS/2's system install, which has a completely different semantic
2114 # ./install, which can be erroneously created by make from ./install.sh.
2115 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2116 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2117 if test -z "$INSTALL"; then
2118 if test "${ac_cv_path_install+set}" = set; then
2119   echo $ECHO_N "(cached) $ECHO_C" >&6
2120 else
2121   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2122 for as_dir in $PATH
2123 do
2124   IFS=$as_save_IFS
2125   test -z "$as_dir" && as_dir=.
2126   # Account for people who put trailing slashes in PATH elements.
2127 case $as_dir/ in
2128   ./ | .// | /cC/* | \
2129   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2130   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2131   /usr/ucb/* ) ;;
2132   *)
2133     # OSF1 and SCO ODT 3.0 have their own names for install.
2134     # Don't use installbsd from OSF since it installs stuff as root
2135     # by default.
2136     for ac_prog in ginstall scoinst install; do
2137       for ac_exec_ext in '' $ac_executable_extensions; do
2138         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2139           if test $ac_prog = install &&
2140             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2141             # AIX install.  It has an incompatible calling convention.
2142             :
2143           elif test $ac_prog = install &&
2144             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2145             # program-specific install script used by HP pwplus--don't use.
2146             :
2147           else
2148             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2149             break 3
2150           fi
2151         fi
2152       done
2153     done
2154     ;;
2155 esac
2156 done
2157 IFS=$as_save_IFS
2158
2159
2160 fi
2161   if test "${ac_cv_path_install+set}" = set; then
2162     INSTALL=$ac_cv_path_install
2163   else
2164     # As a last resort, use the slow shell script.  Don't cache a
2165     # value for INSTALL within a source directory, because that will
2166     # break other packages using the cache if that directory is
2167     # removed, or if the value is a relative name.
2168     INSTALL=$ac_install_sh
2169   fi
2170 fi
2171 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2172 echo "${ECHO_T}$INSTALL" >&6; }
2173
2174 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2175 # It thinks the first close brace ends the variable substitution.
2176 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2177
2178 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2179
2180 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2181
2182 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2183 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2184 # Just in case
2185 sleep 1
2186 echo timestamp > conftest.file
2187 # Do `set' in a subshell so we don't clobber the current shell's
2188 # arguments.  Must try -L first in case configure is actually a
2189 # symlink; some systems play weird games with the mod time of symlinks
2190 # (eg FreeBSD returns the mod time of the symlink's containing
2191 # directory).
2192 if (
2193    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2194    if test "$*" = "X"; then
2195       # -L didn't work.
2196       set X `ls -t $srcdir/configure conftest.file`
2197    fi
2198    rm -f conftest.file
2199    if test "$*" != "X $srcdir/configure conftest.file" \
2200       && test "$*" != "X conftest.file $srcdir/configure"; then
2201
2202       # If neither matched, then we have a broken ls.  This can happen
2203       # if, for instance, CONFIG_SHELL is bash and it inherits a
2204       # broken ls alias from the environment.  This has actually
2205       # happened.  Such a system could not be considered "sane".
2206       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2207 alias in your environment" >&5
2208 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2209 alias in your environment" >&2;}
2210    { (exit 1); exit 1; }; }
2211    fi
2212
2213    test "$2" = conftest.file
2214    )
2215 then
2216    # Ok.
2217    :
2218 else
2219    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2220 Check your system clock" >&5
2221 echo "$as_me: error: newly created file is older than distributed files!
2222 Check your system clock" >&2;}
2223    { (exit 1); exit 1; }; }
2224 fi
2225 { echo "$as_me:$LINENO: result: yes" >&5
2226 echo "${ECHO_T}yes" >&6; }
2227 test "$program_prefix" != NONE &&
2228   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2229 # Use a double $ so make ignores it.
2230 test "$program_suffix" != NONE &&
2231   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2232 # Double any \ or $.  echo might interpret backslashes.
2233 # By default was `s,x,x', remove it if useless.
2234 cat <<\_ACEOF >conftest.sed
2235 s/[\\$]/&&/g;s/;s,x,x,$//
2236 _ACEOF
2237 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2238 rm -f conftest.sed
2239
2240 # expand $ac_aux_dir to an absolute path
2241 am_aux_dir=`cd $ac_aux_dir && pwd`
2242
2243 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2244 # Use eval to expand $SHELL
2245 if eval "$MISSING --run true"; then
2246   am_missing_run="$MISSING --run "
2247 else
2248   am_missing_run=
2249   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2250 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2251 fi
2252
2253 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2254 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2255 if test -z "$MKDIR_P"; then
2256   if test "${ac_cv_path_mkdir+set}" = set; then
2257   echo $ECHO_N "(cached) $ECHO_C" >&6
2258 else
2259   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2260 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2261 do
2262   IFS=$as_save_IFS
2263   test -z "$as_dir" && as_dir=.
2264   for ac_prog in mkdir gmkdir; do
2265          for ac_exec_ext in '' $ac_executable_extensions; do
2266            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2267            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2268              'mkdir (GNU coreutils) '* | \
2269              'mkdir (coreutils) '* | \
2270              'mkdir (fileutils) '4.1*)
2271                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2272                break 3;;
2273            esac
2274          done
2275        done
2276 done
2277 IFS=$as_save_IFS
2278
2279 fi
2280
2281   if test "${ac_cv_path_mkdir+set}" = set; then
2282     MKDIR_P="$ac_cv_path_mkdir -p"
2283   else
2284     # As a last resort, use the slow shell script.  Don't cache a
2285     # value for MKDIR_P within a source directory, because that will
2286     # break other packages using the cache if that directory is
2287     # removed, or if the value is a relative name.
2288     test -d ./--version && rmdir ./--version
2289     MKDIR_P="$ac_install_sh -d"
2290   fi
2291 fi
2292 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2293 echo "${ECHO_T}$MKDIR_P" >&6; }
2294
2295 mkdir_p="$MKDIR_P"
2296 case $mkdir_p in
2297   [\\/$]* | ?:[\\/]*) ;;
2298   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2299 esac
2300
2301 for ac_prog in gawk mawk nawk awk
2302 do
2303   # Extract the first word of "$ac_prog", so it can be a program name with args.
2304 set dummy $ac_prog; ac_word=$2
2305 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2307 if test "${ac_cv_prog_AWK+set}" = set; then
2308   echo $ECHO_N "(cached) $ECHO_C" >&6
2309 else
2310   if test -n "$AWK"; then
2311   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2312 else
2313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2314 for as_dir in $PATH
2315 do
2316   IFS=$as_save_IFS
2317   test -z "$as_dir" && as_dir=.
2318   for ac_exec_ext in '' $ac_executable_extensions; do
2319   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2320     ac_cv_prog_AWK="$ac_prog"
2321     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2322     break 2
2323   fi
2324 done
2325 done
2326 IFS=$as_save_IFS
2327
2328 fi
2329 fi
2330 AWK=$ac_cv_prog_AWK
2331 if test -n "$AWK"; then
2332   { echo "$as_me:$LINENO: result: $AWK" >&5
2333 echo "${ECHO_T}$AWK" >&6; }
2334 else
2335   { echo "$as_me:$LINENO: result: no" >&5
2336 echo "${ECHO_T}no" >&6; }
2337 fi
2338
2339
2340   test -n "$AWK" && break
2341 done
2342
2343 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2344 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2345 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2346 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2347   echo $ECHO_N "(cached) $ECHO_C" >&6
2348 else
2349   cat >conftest.make <<\_ACEOF
2350 SHELL = /bin/sh
2351 all:
2352         @echo '@@@%%%=$(MAKE)=@@@%%%'
2353 _ACEOF
2354 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2355 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2356   *@@@%%%=?*=@@@%%%*)
2357     eval ac_cv_prog_make_${ac_make}_set=yes;;
2358   *)
2359     eval ac_cv_prog_make_${ac_make}_set=no;;
2360 esac
2361 rm -f conftest.make
2362 fi
2363 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2364   { echo "$as_me:$LINENO: result: yes" >&5
2365 echo "${ECHO_T}yes" >&6; }
2366   SET_MAKE=
2367 else
2368   { echo "$as_me:$LINENO: result: no" >&5
2369 echo "${ECHO_T}no" >&6; }
2370   SET_MAKE="MAKE=${MAKE-make}"
2371 fi
2372
2373 rm -rf .tst 2>/dev/null
2374 mkdir .tst 2>/dev/null
2375 if test -d .tst; then
2376   am__leading_dot=.
2377 else
2378   am__leading_dot=_
2379 fi
2380 rmdir .tst 2>/dev/null
2381
2382 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2383   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2384   # is not polluted with repeated "-I."
2385   am__isrc=' -I$(srcdir)'
2386   # test to see if srcdir already configured
2387   if test -f $srcdir/config.status; then
2388     { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2389 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2390    { (exit 1); exit 1; }; }
2391   fi
2392 fi
2393
2394 # test whether we have cygpath
2395 if test -z "$CYGPATH_W"; then
2396   if (cygpath --version) >/dev/null 2>/dev/null; then
2397     CYGPATH_W='cygpath -w'
2398   else
2399     CYGPATH_W=echo
2400   fi
2401 fi
2402
2403
2404 # Define the identity of the package.
2405  PACKAGE='gtkmm'
2406  VERSION='2.12.3'
2407
2408
2409 cat >>confdefs.h <<_ACEOF
2410 #define PACKAGE "$PACKAGE"
2411 _ACEOF
2412
2413
2414 cat >>confdefs.h <<_ACEOF
2415 #define VERSION "$VERSION"
2416 _ACEOF
2417
2418 # Some tools Automake needs.
2419
2420 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2421
2422
2423 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2424
2425
2426 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2427
2428
2429 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2430
2431
2432 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2433
2434 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2435
2436 # Installed binaries are usually stripped using `strip' when the user
2437 # run `make install-strip'.  However `strip' might not be the right
2438 # tool to use in cross-compilation environments, therefore Automake
2439 # will honor the `STRIP' environment variable to overrule this program.
2440 if test "$cross_compiling" != no; then
2441   if test -n "$ac_tool_prefix"; then
2442   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2443 set dummy ${ac_tool_prefix}strip; ac_word=$2
2444 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2446 if test "${ac_cv_prog_STRIP+set}" = set; then
2447   echo $ECHO_N "(cached) $ECHO_C" >&6
2448 else
2449   if test -n "$STRIP"; then
2450   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2451 else
2452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2453 for as_dir in $PATH
2454 do
2455   IFS=$as_save_IFS
2456   test -z "$as_dir" && as_dir=.
2457   for ac_exec_ext in '' $ac_executable_extensions; do
2458   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2459     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2460     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2461     break 2
2462   fi
2463 done
2464 done
2465 IFS=$as_save_IFS
2466
2467 fi
2468 fi
2469 STRIP=$ac_cv_prog_STRIP
2470 if test -n "$STRIP"; then
2471   { echo "$as_me:$LINENO: result: $STRIP" >&5
2472 echo "${ECHO_T}$STRIP" >&6; }
2473 else
2474   { echo "$as_me:$LINENO: result: no" >&5
2475 echo "${ECHO_T}no" >&6; }
2476 fi
2477
2478
2479 fi
2480 if test -z "$ac_cv_prog_STRIP"; then
2481   ac_ct_STRIP=$STRIP
2482   # Extract the first word of "strip", so it can be a program name with args.
2483 set dummy strip; ac_word=$2
2484 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2486 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2487   echo $ECHO_N "(cached) $ECHO_C" >&6
2488 else
2489   if test -n "$ac_ct_STRIP"; then
2490   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2491 else
2492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2493 for as_dir in $PATH
2494 do
2495   IFS=$as_save_IFS
2496   test -z "$as_dir" && as_dir=.
2497   for ac_exec_ext in '' $ac_executable_extensions; do
2498   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2499     ac_cv_prog_ac_ct_STRIP="strip"
2500     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2501     break 2
2502   fi
2503 done
2504 done
2505 IFS=$as_save_IFS
2506
2507 fi
2508 fi
2509 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2510 if test -n "$ac_ct_STRIP"; then
2511   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2512 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2513 else
2514   { echo "$as_me:$LINENO: result: no" >&5
2515 echo "${ECHO_T}no" >&6; }
2516 fi
2517
2518   if test "x$ac_ct_STRIP" = x; then
2519     STRIP=":"
2520   else
2521     case $cross_compiling:$ac_tool_warned in
2522 yes:)
2523 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2524 whose name does not start with the host triplet.  If you think this
2525 configuration is useful to you, please write to autoconf@gnu.org." >&5
2526 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2527 whose name does not start with the host triplet.  If you think this
2528 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2529 ac_tool_warned=yes ;;
2530 esac
2531     STRIP=$ac_ct_STRIP
2532   fi
2533 else
2534   STRIP="$ac_cv_prog_STRIP"
2535 fi
2536
2537 fi
2538 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2539
2540 # We need awk for the "check" target.  The system "awk" is bad on
2541 # some platforms.
2542 # Always define AMTAR for backward compatibility.
2543
2544 AMTAR=${AMTAR-"${am_missing_run}tar"}
2545
2546
2547 { echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
2548 echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6; }
2549 # Loop over all known methods to create a tar archive until one works.
2550 _am_tools='gnutar plaintar pax cpio none'
2551 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2552 # Do not fold the above two line into one, because Tru64 sh and
2553 # Solaris sh will not grok spaces in the rhs of `-'.
2554 for _am_tool in $_am_tools
2555 do
2556   case $_am_tool in
2557   gnutar)
2558     for _am_tar in tar gnutar gtar;
2559     do
2560       { echo "$as_me:$LINENO: $_am_tar --version" >&5
2561    ($_am_tar --version) >&5 2>&5
2562    ac_status=$?
2563    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564    (exit $ac_status); } && break
2565     done
2566     am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2567     am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2568     am__untar="$_am_tar -xf -"
2569     ;;
2570   plaintar)
2571     # Must skip GNU tar: if it does not support --format= it doesn't create
2572     # ustar tarball either.
2573     (tar --version) >/dev/null 2>&1 && continue
2574     am__tar='tar chf - "$$tardir"'
2575     am__tar_='tar chf - "$tardir"'
2576     am__untar='tar xf -'
2577     ;;
2578   pax)
2579     am__tar='pax -L -x ustar -w "$$tardir"'
2580     am__tar_='pax -L -x ustar -w "$tardir"'
2581     am__untar='pax -r'
2582     ;;
2583   cpio)
2584     am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2585     am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2586     am__untar='cpio -i -H ustar -d'
2587     ;;
2588   none)
2589     am__tar=false
2590     am__tar_=false
2591     am__untar=false
2592     ;;
2593   esac
2594
2595   # If the value was cached, stop now.  We just wanted to have am__tar
2596   # and am__untar set.
2597   test -n "${am_cv_prog_tar_ustar}" && break
2598
2599   # tar/untar a dummy directory, and stop if the command works
2600   rm -rf conftest.dir
2601   mkdir conftest.dir
2602   echo GrepMe > conftest.dir/file
2603   { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2604    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2605    ac_status=$?
2606    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607    (exit $ac_status); }
2608   rm -rf conftest.dir
2609   if test -s conftest.tar; then
2610     { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2611    ($am__untar <conftest.tar) >&5 2>&5
2612    ac_status=$?
2613    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2614    (exit $ac_status); }
2615     grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2616   fi
2617 done
2618 rm -rf conftest.dir
2619
2620 if test "${am_cv_prog_tar_ustar+set}" = set; then
2621   echo $ECHO_N "(cached) $ECHO_C" >&6
2622 else
2623   am_cv_prog_tar_ustar=$_am_tool
2624 fi
2625
2626 { echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2627 echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6; }
2628
2629
2630
2631
2632
2633
2634 ac_config_headers="$ac_config_headers config.h gdk/gdkmmconfig.h gtk/gtkmmconfig.h"
2635
2636 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2637 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2638     # Check whether --enable-maintainer-mode was given.
2639 if test "${enable_maintainer_mode+set}" = set; then
2640   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2641 else
2642   USE_MAINTAINER_MODE=no
2643 fi
2644
2645   { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2646 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2647    if test $USE_MAINTAINER_MODE = yes; then
2648   MAINTAINER_MODE_TRUE=
2649   MAINTAINER_MODE_FALSE='#'
2650 else
2651   MAINTAINER_MODE_TRUE='#'
2652   MAINTAINER_MODE_FALSE=
2653 fi
2654
2655   MAINT=$MAINTAINER_MODE_TRUE
2656
2657
2658
2659   test "x$ACLOCAL_FLAGS" = "x" || ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
2660   for dir in scripts
2661   do
2662     ACLOCAL="$ACLOCAL -I $srcdir/$dir"
2663   done
2664
2665
2666
2667 #########################################################################
2668 #  Configure arguments
2669 #########################################################################
2670
2671 #########################################################################
2672 #  Environment Checks
2673 #########################################################################
2674 ac_ext=c
2675 ac_cpp='$CPP $CPPFLAGS'
2676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2679 if test -n "$ac_tool_prefix"; then
2680   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2681 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2682 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2684 if test "${ac_cv_prog_CC+set}" = set; then
2685   echo $ECHO_N "(cached) $ECHO_C" >&6
2686 else
2687   if test -n "$CC"; then
2688   ac_cv_prog_CC="$CC" # Let the user override the test.
2689 else
2690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2691 for as_dir in $PATH
2692 do
2693   IFS=$as_save_IFS
2694   test -z "$as_dir" && as_dir=.
2695   for ac_exec_ext in '' $ac_executable_extensions; do
2696   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2697     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2698     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2699     break 2
2700   fi
2701 done
2702 done
2703 IFS=$as_save_IFS
2704
2705 fi
2706 fi
2707 CC=$ac_cv_prog_CC
2708 if test -n "$CC"; then
2709   { echo "$as_me:$LINENO: result: $CC" >&5
2710 echo "${ECHO_T}$CC" >&6; }
2711 else
2712   { echo "$as_me:$LINENO: result: no" >&5
2713 echo "${ECHO_T}no" >&6; }
2714 fi
2715
2716
2717 fi
2718 if test -z "$ac_cv_prog_CC"; then
2719   ac_ct_CC=$CC
2720   # Extract the first word of "gcc", so it can be a program name with args.
2721 set dummy gcc; ac_word=$2
2722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2724 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2725   echo $ECHO_N "(cached) $ECHO_C" >&6
2726 else
2727   if test -n "$ac_ct_CC"; then
2728   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2729 else
2730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2731 for as_dir in $PATH
2732 do
2733   IFS=$as_save_IFS
2734   test -z "$as_dir" && as_dir=.
2735   for ac_exec_ext in '' $ac_executable_extensions; do
2736   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2737     ac_cv_prog_ac_ct_CC="gcc"
2738     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2739     break 2
2740   fi
2741 done
2742 done
2743 IFS=$as_save_IFS
2744
2745 fi
2746 fi
2747 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2748 if test -n "$ac_ct_CC"; then
2749   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2750 echo "${ECHO_T}$ac_ct_CC" >&6; }
2751 else
2752   { echo "$as_me:$LINENO: result: no" >&5
2753 echo "${ECHO_T}no" >&6; }
2754 fi
2755
2756   if test "x$ac_ct_CC" = x; then
2757     CC=""
2758   else
2759     case $cross_compiling:$ac_tool_warned in
2760 yes:)
2761 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2762 whose name does not start with the host triplet.  If you think this
2763 configuration is useful to you, please write to autoconf@gnu.org." >&5
2764 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2765 whose name does not start with the host triplet.  If you think this
2766 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2767 ac_tool_warned=yes ;;
2768 esac
2769     CC=$ac_ct_CC
2770   fi
2771 else
2772   CC="$ac_cv_prog_CC"
2773 fi
2774
2775 if test -z "$CC"; then
2776           if test -n "$ac_tool_prefix"; then
2777     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2778 set dummy ${ac_tool_prefix}cc; ac_word=$2
2779 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2781 if test "${ac_cv_prog_CC+set}" = set; then
2782   echo $ECHO_N "(cached) $ECHO_C" >&6
2783 else
2784   if test -n "$CC"; then
2785   ac_cv_prog_CC="$CC" # Let the user override the test.
2786 else
2787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2788 for as_dir in $PATH
2789 do
2790   IFS=$as_save_IFS
2791   test -z "$as_dir" && as_dir=.
2792   for ac_exec_ext in '' $ac_executable_extensions; do
2793   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2794     ac_cv_prog_CC="${ac_tool_prefix}cc"
2795     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2796     break 2
2797   fi
2798 done
2799 done
2800 IFS=$as_save_IFS
2801
2802 fi
2803 fi
2804 CC=$ac_cv_prog_CC
2805 if test -n "$CC"; then
2806   { echo "$as_me:$LINENO: result: $CC" >&5
2807 echo "${ECHO_T}$CC" >&6; }
2808 else
2809   { echo "$as_me:$LINENO: result: no" >&5
2810 echo "${ECHO_T}no" >&6; }
2811 fi
2812
2813
2814   fi
2815 fi
2816 if test -z "$CC"; then
2817   # Extract the first word of "cc", so it can be a program name with args.
2818 set dummy cc; ac_word=$2
2819 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2821 if test "${ac_cv_prog_CC+set}" = set; then
2822   echo $ECHO_N "(cached) $ECHO_C" >&6
2823 else
2824   if test -n "$CC"; then
2825   ac_cv_prog_CC="$CC" # Let the user override the test.
2826 else
2827   ac_prog_rejected=no
2828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2829 for as_dir in $PATH
2830 do
2831   IFS=$as_save_IFS
2832   test -z "$as_dir" && as_dir=.
2833   for ac_exec_ext in '' $ac_executable_extensions; do
2834   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2835     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2836        ac_prog_rejected=yes
2837        continue
2838      fi
2839     ac_cv_prog_CC="cc"
2840     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2841     break 2
2842   fi
2843 done
2844 done
2845 IFS=$as_save_IFS
2846
2847 if test $ac_prog_rejected = yes; then
2848   # We found a bogon in the path, so make sure we never use it.
2849   set dummy $ac_cv_prog_CC
2850   shift
2851   if test $# != 0; then
2852     # We chose a different compiler from the bogus one.
2853     # However, it has the same basename, so the bogon will be chosen
2854     # first if we set CC to just the basename; use the full file name.
2855     shift
2856     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2857   fi
2858 fi
2859 fi
2860 fi
2861 CC=$ac_cv_prog_CC
2862 if test -n "$CC"; then
2863   { echo "$as_me:$LINENO: result: $CC" >&5
2864 echo "${ECHO_T}$CC" >&6; }
2865 else
2866   { echo "$as_me:$LINENO: result: no" >&5
2867 echo "${ECHO_T}no" >&6; }
2868 fi
2869
2870
2871 fi
2872 if test -z "$CC"; then
2873   if test -n "$ac_tool_prefix"; then
2874   for ac_prog in cl.exe
2875   do
2876     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2877 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2878 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2880 if test "${ac_cv_prog_CC+set}" = set; then
2881   echo $ECHO_N "(cached) $ECHO_C" >&6
2882 else
2883   if test -n "$CC"; then
2884   ac_cv_prog_CC="$CC" # Let the user override the test.
2885 else
2886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2887 for as_dir in $PATH
2888 do
2889   IFS=$as_save_IFS
2890   test -z "$as_dir" && as_dir=.
2891   for ac_exec_ext in '' $ac_executable_extensions; do
2892   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2893     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2894     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2895     break 2
2896   fi
2897 done
2898 done
2899 IFS=$as_save_IFS
2900
2901 fi
2902 fi
2903 CC=$ac_cv_prog_CC
2904 if test -n "$CC"; then
2905   { echo "$as_me:$LINENO: result: $CC" >&5
2906 echo "${ECHO_T}$CC" >&6; }
2907 else
2908   { echo "$as_me:$LINENO: result: no" >&5
2909 echo "${ECHO_T}no" >&6; }
2910 fi
2911
2912
2913     test -n "$CC" && break
2914   done
2915 fi
2916 if test -z "$CC"; then
2917   ac_ct_CC=$CC
2918   for ac_prog in cl.exe
2919 do
2920   # Extract the first word of "$ac_prog", so it can be a program name with args.
2921 set dummy $ac_prog; ac_word=$2
2922 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2924 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2925   echo $ECHO_N "(cached) $ECHO_C" >&6
2926 else
2927   if test -n "$ac_ct_CC"; then
2928   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2929 else
2930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2931 for as_dir in $PATH
2932 do
2933   IFS=$as_save_IFS
2934   test -z "$as_dir" && as_dir=.
2935   for ac_exec_ext in '' $ac_executable_extensions; do
2936   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2937     ac_cv_prog_ac_ct_CC="$ac_prog"
2938     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2939     break 2
2940   fi
2941 done
2942 done
2943 IFS=$as_save_IFS
2944
2945 fi
2946 fi
2947 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2948 if test -n "$ac_ct_CC"; then
2949   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2950 echo "${ECHO_T}$ac_ct_CC" >&6; }
2951 else
2952   { echo "$as_me:$LINENO: result: no" >&5
2953 echo "${ECHO_T}no" >&6; }
2954 fi
2955
2956
2957   test -n "$ac_ct_CC" && break
2958 done
2959
2960   if test "x$ac_ct_CC" = x; then
2961     CC=""
2962   else
2963     case $cross_compiling:$ac_tool_warned in
2964 yes:)
2965 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2966 whose name does not start with the host triplet.  If you think this
2967 configuration is useful to you, please write to autoconf@gnu.org." >&5
2968 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2969 whose name does not start with the host triplet.  If you think this
2970 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2971 ac_tool_warned=yes ;;
2972 esac
2973     CC=$ac_ct_CC
2974   fi
2975 fi
2976
2977 fi
2978
2979
2980 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2981 See \`config.log' for more details." >&5
2982 echo "$as_me: error: no acceptable C compiler found in \$PATH
2983 See \`config.log' for more details." >&2;}
2984    { (exit 1); exit 1; }; }
2985
2986 # Provide some information about the compiler.
2987 echo "$as_me:$LINENO: checking for C compiler version" >&5
2988 ac_compiler=`set X $ac_compile; echo $2`
2989 { (ac_try="$ac_compiler --version >&5"
2990 case "(($ac_try" in
2991   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2992   *) ac_try_echo=$ac_try;;
2993 esac
2994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2995   (eval "$ac_compiler --version >&5") 2>&5
2996   ac_status=$?
2997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2998   (exit $ac_status); }
2999 { (ac_try="$ac_compiler -v >&5"
3000 case "(($ac_try" in
3001   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3002   *) ac_try_echo=$ac_try;;
3003 esac
3004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3005   (eval "$ac_compiler -v >&5") 2>&5
3006   ac_status=$?
3007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3008   (exit $ac_status); }
3009 { (ac_try="$ac_compiler -V >&5"
3010 case "(($ac_try" in
3011   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3012   *) ac_try_echo=$ac_try;;
3013 esac
3014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3015   (eval "$ac_compiler -V >&5") 2>&5
3016   ac_status=$?
3017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3018   (exit $ac_status); }
3019
3020 cat >conftest.$ac_ext <<_ACEOF
3021 /* confdefs.h.  */
3022 _ACEOF
3023 cat confdefs.h >>conftest.$ac_ext
3024 cat >>conftest.$ac_ext <<_ACEOF
3025 /* end confdefs.h.  */
3026
3027 int
3028 main ()
3029 {
3030
3031   ;
3032   return 0;
3033 }
3034 _ACEOF
3035 ac_clean_files_save=$ac_clean_files
3036 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3037 # Try to create an executable without -o first, disregard a.out.
3038 # It will help us diagnose broken compilers, and finding out an intuition
3039 # of exeext.
3040 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3041 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3042 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3043 #
3044 # List of possible output files, starting from the most likely.
3045 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3046 # only as a last resort.  b.out is created by i960 compilers.
3047 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3048 #
3049 # The IRIX 6 linker writes into existing files which may not be
3050 # executable, retaining their permissions.  Remove them first so a
3051 # subsequent execution test works.
3052 ac_rmfiles=
3053 for ac_file in $ac_files
3054 do
3055   case $ac_file in
3056     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3057     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3058   esac
3059 done
3060 rm -f $ac_rmfiles
3061
3062 if { (ac_try="$ac_link_default"
3063 case "(($ac_try" in
3064   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3065   *) ac_try_echo=$ac_try;;
3066 esac
3067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3068   (eval "$ac_link_default") 2>&5
3069   ac_status=$?
3070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3071   (exit $ac_status); }; then
3072   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3073 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3074 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3075 # so that the user can short-circuit this test for compilers unknown to
3076 # Autoconf.
3077 for ac_file in $ac_files ''
3078 do
3079   test -f "$ac_file" || continue
3080   case $ac_file in
3081     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3082         ;;
3083     [ab].out )
3084         # We found the default executable, but exeext='' is most
3085         # certainly right.
3086         break;;
3087     *.* )
3088         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3089         then :; else
3090            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3091         fi
3092         # We set ac_cv_exeext here because the later test for it is not
3093         # safe: cross compilers may not add the suffix if given an `-o'
3094         # argument, so we may need to know it at that point already.
3095         # Even if this section looks crufty: it has the advantage of
3096         # actually working.
3097         break;;
3098     * )
3099         break;;
3100   esac
3101 done
3102 test "$ac_cv_exeext" = no && ac_cv_exeext=
3103
3104 else
3105   ac_file=''
3106 fi
3107
3108 { echo "$as_me:$LINENO: result: $ac_file" >&5
3109 echo "${ECHO_T}$ac_file" >&6; }
3110 if test -z "$ac_file"; then
3111   echo "$as_me: failed program was:" >&5
3112 sed 's/^/| /' conftest.$ac_ext >&5
3113
3114 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3115 See \`config.log' for more details." >&5
3116 echo "$as_me: error: C compiler cannot create executables
3117 See \`config.log' for more details." >&2;}
3118    { (exit 77); exit 77; }; }
3119 fi
3120
3121 ac_exeext=$ac_cv_exeext
3122
3123 # Check that the compiler produces executables we can run.  If not, either
3124 # the compiler is broken, or we cross compile.
3125 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3126 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3127 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3128 # If not cross compiling, check that we can run a simple program.
3129 if test "$cross_compiling" != yes; then
3130   if { ac_try='./$ac_file'
3131   { (case "(($ac_try" in
3132   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3133   *) ac_try_echo=$ac_try;;
3134 esac
3135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3136   (eval "$ac_try") 2>&5
3137   ac_status=$?
3138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139   (exit $ac_status); }; }; then
3140     cross_compiling=no
3141   else
3142     if test "$cross_compiling" = maybe; then
3143         cross_compiling=yes
3144     else
3145         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3146 If you meant to cross compile, use \`--host'.
3147 See \`config.log' for more details." >&5
3148 echo "$as_me: error: cannot run C compiled programs.
3149 If you meant to cross compile, use \`--host'.
3150 See \`config.log' for more details." >&2;}
3151    { (exit 1); exit 1; }; }
3152     fi
3153   fi
3154 fi
3155 { echo "$as_me:$LINENO: result: yes" >&5
3156 echo "${ECHO_T}yes" >&6; }
3157
3158 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3159 ac_clean_files=$ac_clean_files_save
3160 # Check that the compiler produces executables we can run.  If not, either
3161 # the compiler is broken, or we cross compile.
3162 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3163 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3164 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3165 echo "${ECHO_T}$cross_compiling" >&6; }
3166
3167 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3168 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3169 if { (ac_try="$ac_link"
3170 case "(($ac_try" in
3171   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3172   *) ac_try_echo=$ac_try;;
3173 esac
3174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3175   (eval "$ac_link") 2>&5
3176   ac_status=$?
3177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3178   (exit $ac_status); }; then
3179   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3180 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3181 # work properly (i.e., refer to `conftest.exe'), while it won't with
3182 # `rm'.
3183 for ac_file in conftest.exe conftest conftest.*; do
3184   test -f "$ac_file" || continue
3185   case $ac_file in
3186     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3187     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3188           break;;
3189     * ) break;;
3190   esac
3191 done
3192 else
3193   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3194 See \`config.log' for more details." >&5
3195 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3196 See \`config.log' for more details." >&2;}
3197    { (exit 1); exit 1; }; }
3198 fi
3199
3200 rm -f conftest$ac_cv_exeext
3201 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3202 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3203
3204 rm -f conftest.$ac_ext
3205 EXEEXT=$ac_cv_exeext
3206 ac_exeext=$EXEEXT
3207 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3208 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3209 if test "${ac_cv_objext+set}" = set; then
3210   echo $ECHO_N "(cached) $ECHO_C" >&6
3211 else
3212   cat >conftest.$ac_ext <<_ACEOF
3213 /* confdefs.h.  */
3214 _ACEOF
3215 cat confdefs.h >>conftest.$ac_ext
3216 cat >>conftest.$ac_ext <<_ACEOF
3217 /* end confdefs.h.  */
3218
3219 int
3220 main ()
3221 {
3222
3223   ;
3224   return 0;
3225 }
3226 _ACEOF
3227 rm -f conftest.o conftest.obj
3228 if { (ac_try="$ac_compile"
3229 case "(($ac_try" in
3230   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3231   *) ac_try_echo=$ac_try;;
3232 esac
3233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3234   (eval "$ac_compile") 2>&5
3235   ac_status=$?
3236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3237   (exit $ac_status); }; then
3238   for ac_file in conftest.o conftest.obj conftest.*; do
3239   test -f "$ac_file" || continue;
3240   case $ac_file in
3241     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3242     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3243        break;;
3244   esac
3245 done
3246 else
3247   echo "$as_me: failed program was:" >&5
3248 sed 's/^/| /' conftest.$ac_ext >&5
3249
3250 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3251 See \`config.log' for more details." >&5
3252 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3253 See \`config.log' for more details." >&2;}
3254    { (exit 1); exit 1; }; }
3255 fi
3256
3257 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3258 fi
3259 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3260 echo "${ECHO_T}$ac_cv_objext" >&6; }
3261 OBJEXT=$ac_cv_objext
3262 ac_objext=$OBJEXT
3263 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3264 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3265 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3266   echo $ECHO_N "(cached) $ECHO_C" >&6
3267 else
3268   cat >conftest.$ac_ext <<_ACEOF
3269 /* confdefs.h.  */
3270 _ACEOF
3271 cat confdefs.h >>conftest.$ac_ext
3272 cat >>conftest.$ac_ext <<_ACEOF
3273 /* end confdefs.h.  */
3274
3275 int
3276 main ()
3277 {
3278 #ifndef __GNUC__
3279        choke me
3280 #endif
3281
3282   ;
3283   return 0;
3284 }
3285 _ACEOF
3286 rm -f conftest.$ac_objext
3287 if { (ac_try="$ac_compile"
3288 case "(($ac_try" in
3289   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3290   *) ac_try_echo=$ac_try;;
3291 esac
3292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3293   (eval "$ac_compile") 2>conftest.er1
3294   ac_status=$?
3295   grep -v '^ *+' conftest.er1 >conftest.err
3296   rm -f conftest.er1
3297   cat conftest.err >&5
3298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299   (exit $ac_status); } && {
3300          test -z "$ac_c_werror_flag" ||
3301          test ! -s conftest.err
3302        } && test -s conftest.$ac_objext; then
3303   ac_compiler_gnu=yes
3304 else
3305   echo "$as_me: failed program was:" >&5
3306 sed 's/^/| /' conftest.$ac_ext >&5
3307
3308         ac_compiler_gnu=no
3309 fi
3310
3311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3312 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3313
3314 fi
3315 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3316 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3317 GCC=`test $ac_compiler_gnu = yes && echo yes`
3318 ac_test_CFLAGS=${CFLAGS+set}
3319 ac_save_CFLAGS=$CFLAGS
3320 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3321 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3322 if test "${ac_cv_prog_cc_g+set}" = set; then
3323   echo $ECHO_N "(cached) $ECHO_C" >&6
3324 else
3325   ac_save_c_werror_flag=$ac_c_werror_flag
3326    ac_c_werror_flag=yes
3327    ac_cv_prog_cc_g=no
3328    CFLAGS="-g"
3329    cat >conftest.$ac_ext <<_ACEOF
3330 /* confdefs.h.  */
3331 _ACEOF
3332 cat confdefs.h >>conftest.$ac_ext
3333 cat >>conftest.$ac_ext <<_ACEOF
3334 /* end confdefs.h.  */
3335
3336 int
3337 main ()
3338 {
3339
3340   ;
3341   return 0;
3342 }
3343 _ACEOF
3344 rm -f conftest.$ac_objext
3345 if { (ac_try="$ac_compile"
3346 case "(($ac_try" in
3347   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3348   *) ac_try_echo=$ac_try;;
3349 esac
3350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3351   (eval "$ac_compile") 2>conftest.er1
3352   ac_status=$?
3353   grep -v '^ *+' conftest.er1 >conftest.err
3354   rm -f conftest.er1
3355   cat conftest.err >&5
3356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3357   (exit $ac_status); } && {
3358          test -z "$ac_c_werror_flag" ||
3359          test ! -s conftest.err
3360        } && test -s conftest.$ac_objext; then
3361   ac_cv_prog_cc_g=yes
3362 else
3363   echo "$as_me: failed program was:" >&5
3364 sed 's/^/| /' conftest.$ac_ext >&5
3365
3366         CFLAGS=""
3367       cat >conftest.$ac_ext <<_ACEOF
3368 /* confdefs.h.  */
3369 _ACEOF
3370 cat confdefs.h >>conftest.$ac_ext
3371 cat >>conftest.$ac_ext <<_ACEOF
3372 /* end confdefs.h.  */
3373
3374 int
3375 main ()
3376 {
3377
3378   ;
3379   return 0;
3380 }
3381 _ACEOF
3382 rm -f conftest.$ac_objext
3383 if { (ac_try="$ac_compile"
3384 case "(($ac_try" in
3385   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3386   *) ac_try_echo=$ac_try;;
3387 esac
3388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3389   (eval "$ac_compile") 2>conftest.er1
3390   ac_status=$?
3391   grep -v '^ *+' conftest.er1 >conftest.err
3392   rm -f conftest.er1
3393   cat conftest.err >&5
3394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3395   (exit $ac_status); } && {
3396          test -z "$ac_c_werror_flag" ||
3397          test ! -s conftest.err
3398        } && test -s conftest.$ac_objext; then
3399   :
3400 else
3401   echo "$as_me: failed program was:" >&5
3402 sed 's/^/| /' conftest.$ac_ext >&5
3403
3404         ac_c_werror_flag=$ac_save_c_werror_flag
3405          CFLAGS="-g"
3406          cat >conftest.$ac_ext <<_ACEOF
3407 /* confdefs.h.  */
3408 _ACEOF
3409 cat confdefs.h >>conftest.$ac_ext
3410 cat >>conftest.$ac_ext <<_ACEOF
3411 /* end confdefs.h.  */
3412
3413 int
3414 main ()
3415 {
3416
3417   ;
3418   return 0;
3419 }
3420 _ACEOF
3421 rm -f conftest.$ac_objext
3422 if { (ac_try="$ac_compile"
3423 case "(($ac_try" in
3424   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3425   *) ac_try_echo=$ac_try;;
3426 esac
3427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3428   (eval "$ac_compile") 2>conftest.er1
3429   ac_status=$?
3430   grep -v '^ *+' conftest.er1 >conftest.err
3431   rm -f conftest.er1
3432   cat conftest.err >&5
3433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3434   (exit $ac_status); } && {
3435          test -z "$ac_c_werror_flag" ||
3436          test ! -s conftest.err
3437        } && test -s conftest.$ac_objext; then
3438   ac_cv_prog_cc_g=yes
3439 else
3440   echo "$as_me: failed program was:" >&5
3441 sed 's/^/| /' conftest.$ac_ext >&5
3442
3443
3444 fi
3445
3446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3447 fi
3448
3449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3450 fi
3451
3452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3453    ac_c_werror_flag=$ac_save_c_werror_flag
3454 fi
3455 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3456 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3457 if test "$ac_test_CFLAGS" = set; then
3458   CFLAGS=$ac_save_CFLAGS
3459 elif test $ac_cv_prog_cc_g = yes; then
3460   if test "$GCC" = yes; then
3461     CFLAGS="-g -O2"
3462   else
3463     CFLAGS="-g"
3464   fi
3465 else
3466   if test "$GCC" = yes; then
3467     CFLAGS="-O2"
3468   else
3469     CFLAGS=
3470   fi
3471 fi
3472 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3473 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3474 if test "${ac_cv_prog_cc_c89+set}" = set; then
3475   echo $ECHO_N "(cached) $ECHO_C" >&6
3476 else
3477   ac_cv_prog_cc_c89=no
3478 ac_save_CC=$CC
3479 cat >conftest.$ac_ext <<_ACEOF
3480 /* confdefs.h.  */
3481 _ACEOF
3482 cat confdefs.h >>conftest.$ac_ext
3483 cat >>conftest.$ac_ext <<_ACEOF
3484 /* end confdefs.h.  */
3485 #include <stdarg.h>
3486 #include <stdio.h>
3487 #include <sys/types.h>
3488 #include <sys/stat.h>
3489 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3490 struct buf { int x; };
3491 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3492 static char *e (p, i)
3493      char **p;
3494      int i;
3495 {
3496   return p[i];
3497 }
3498 static char *f (char * (*g) (char **, int), char **p, ...)
3499 {
3500   char *s;
3501   va_list v;
3502   va_start (v,p);
3503   s = g (p, va_arg (v,int));
3504   va_end (v);
3505   return s;
3506 }
3507
3508 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3509    function prototypes and stuff, but not '\xHH' hex character constants.
3510    These don't provoke an error unfortunately, instead are silently treated
3511    as 'x'.  The following induces an error, until -std is added to get
3512    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3513    array size at least.  It's necessary to write '\x00'==0 to get something
3514    that's true only with -std.  */
3515 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3516
3517 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3518    inside strings and character constants.  */
3519 #define FOO(x) 'x'
3520 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3521
3522 int test (int i, double x);
3523 struct s1 {int (*f) (int a);};
3524 struct s2 {int (*f) (double a);};
3525 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3526 int argc;
3527 char **argv;
3528 int
3529 main ()
3530 {
3531 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3532   ;
3533   return 0;
3534 }
3535 _ACEOF
3536 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3537         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3538 do
3539   CC="$ac_save_CC $ac_arg"
3540   rm -f conftest.$ac_objext
3541 if { (ac_try="$ac_compile"
3542 case "(($ac_try" in
3543   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3544   *) ac_try_echo=$ac_try;;
3545 esac
3546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3547   (eval "$ac_compile") 2>conftest.er1
3548   ac_status=$?
3549   grep -v '^ *+' conftest.er1 >conftest.err
3550   rm -f conftest.er1
3551   cat conftest.err >&5
3552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3553   (exit $ac_status); } && {
3554          test -z "$ac_c_werror_flag" ||
3555          test ! -s conftest.err
3556        } && test -s conftest.$ac_objext; then
3557   ac_cv_prog_cc_c89=$ac_arg
3558 else
3559   echo "$as_me: failed program was:" >&5
3560 sed 's/^/| /' conftest.$ac_ext >&5
3561
3562
3563 fi
3564
3565 rm -f core conftest.err conftest.$ac_objext
3566   test "x$ac_cv_prog_cc_c89" != "xno" && break
3567 done
3568 rm -f conftest.$ac_ext
3569 CC=$ac_save_CC
3570
3571 fi
3572 # AC_CACHE_VAL
3573 case "x$ac_cv_prog_cc_c89" in
3574   x)
3575     { echo "$as_me:$LINENO: result: none needed" >&5
3576 echo "${ECHO_T}none needed" >&6; } ;;
3577   xno)
3578     { echo "$as_me:$LINENO: result: unsupported" >&5
3579 echo "${ECHO_T}unsupported" >&6; } ;;
3580   *)
3581     CC="$CC $ac_cv_prog_cc_c89"
3582     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3583 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3584 esac
3585
3586
3587 ac_ext=c
3588 ac_cpp='$CPP $CPPFLAGS'
3589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3592 DEPDIR="${am__leading_dot}deps"
3593
3594 ac_config_commands="$ac_config_commands depfiles"
3595
3596
3597 am_make=${MAKE-make}
3598 cat > confinc << 'END'
3599 am__doit:
3600         @echo done
3601 .PHONY: am__doit
3602 END
3603 # If we don't find an include directive, just comment out the code.
3604 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3605 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3606 am__include="#"
3607 am__quote=
3608 _am_result=none
3609 # First try GNU make style include.
3610 echo "include confinc" > confmf
3611 # We grep out `Entering directory' and `Leaving directory'
3612 # messages which can occur if `w' ends up in MAKEFLAGS.
3613 # In particular we don't look at `^make:' because GNU make might
3614 # be invoked under some other name (usually "gmake"), in which
3615 # case it prints its new name instead of `make'.
3616 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3617    am__include=include
3618    am__quote=
3619    _am_result=GNU
3620 fi
3621 # Now try BSD make style include.
3622 if test "$am__include" = "#"; then
3623    echo '.include "confinc"' > confmf
3624    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3625       am__include=.include
3626       am__quote="\""
3627       _am_result=BSD
3628    fi
3629 fi
3630
3631
3632 { echo "$as_me:$LINENO: result: $_am_result" >&5
3633 echo "${ECHO_T}$_am_result" >&6; }
3634 rm -f confinc confmf
3635
3636 # Check whether --enable-dependency-tracking was given.
3637 if test "${enable_dependency_tracking+set}" = set; then
3638   enableval=$enable_dependency_tracking;
3639 fi
3640
3641 if test "x$enable_dependency_tracking" != xno; then
3642   am_depcomp="$ac_aux_dir/depcomp"
3643   AMDEPBACKSLASH='\'
3644 fi
3645  if test "x$enable_dependency_tracking" != xno; then
3646   AMDEP_TRUE=
3647   AMDEP_FALSE='#'
3648 else
3649   AMDEP_TRUE='#'
3650   AMDEP_FALSE=
3651 fi
3652
3653
3654
3655 depcc="$CC"   am_compiler_list=
3656
3657 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3658 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3659 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3660   echo $ECHO_N "(cached) $ECHO_C" >&6
3661 else
3662   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3663   # We make a subdir and do the tests there.  Otherwise we can end up
3664   # making bogus files that we don't know about and never remove.  For
3665   # instance it was reported that on HP-UX the gcc test will end up
3666   # making a dummy file named `D' -- because `-MD' means `put the output
3667   # in D'.
3668   mkdir conftest.dir
3669   # Copy depcomp to subdir because otherwise we won't find it if we're
3670   # using a relative directory.
3671   cp "$am_depcomp" conftest.dir
3672   cd conftest.dir
3673   # We will build objects and dependencies in a subdirectory because
3674   # it helps to detect inapplicable dependency modes.  For instance
3675   # both Tru64's cc and ICC support -MD to output dependencies as a
3676   # side effect of compilation, but ICC will put the dependencies in
3677   # the current directory while Tru64 will put them in the object
3678   # directory.
3679   mkdir sub
3680
3681   am_cv_CC_dependencies_compiler_type=none
3682   if test "$am_compiler_list" = ""; then
3683      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3684   fi
3685   for depmode in $am_compiler_list; do
3686     # Setup a source with many dependencies, because some compilers
3687     # like to wrap large dependency lists on column 80 (with \), and
3688     # we should not choose a depcomp mode which is confused by this.
3689     #
3690     # We need to recreate these files for each test, as the compiler may
3691     # overwrite some of them when testing with obscure command lines.
3692     # This happens at least with the AIX C compiler.
3693     : > sub/conftest.c
3694     for i in 1 2 3 4 5 6; do
3695       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3696       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3697       # Solaris 8's {/usr,}/bin/sh.
3698       touch sub/conftst$i.h
3699     done
3700     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3701
3702     case $depmode in
3703     nosideeffect)
3704       # after this tag, mechanisms are not by side-effect, so they'll
3705       # only be used when explicitly requested
3706       if test "x$enable_dependency_tracking" = xyes; then
3707         continue
3708       else
3709         break
3710       fi
3711       ;;
3712     none) break ;;
3713     esac
3714     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3715     # mode.  It turns out that the SunPro C++ compiler does not properly
3716     # handle `-M -o', and we need to detect this.
3717     if depmode=$depmode \
3718        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3719        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3720        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3721          >/dev/null 2>conftest.err &&
3722        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3723        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3724        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3725        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3726       # icc doesn't choke on unknown options, it will just issue warnings
3727       # or remarks (even with -Werror).  So we grep stderr for any message
3728       # that says an option was ignored or not supported.
3729       # When given -MP, icc 7.0 and 7.1 complain thusly:
3730       #   icc: Command line warning: ignoring option '-M'; no argument required
3731       # The diagnosis changed in icc 8.0:
3732       #   icc: Command line remark: option '-MP' not supported
3733       if (grep 'ignoring option' conftest.err ||
3734           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3735         am_cv_CC_dependencies_compiler_type=$depmode
3736         break
3737       fi
3738     fi
3739   done
3740
3741   cd ..
3742   rm -rf conftest.dir
3743 else
3744   am_cv_CC_dependencies_compiler_type=none
3745 fi
3746
3747 fi
3748 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3749 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3750 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3751
3752  if
3753   test "x$enable_dependency_tracking" != xno \
3754   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3755   am__fastdepCC_TRUE=
3756   am__fastdepCC_FALSE='#'
3757 else
3758   am__fastdepCC_TRUE='#'
3759   am__fastdepCC_FALSE=
3760 fi
3761
3762
3763 ac_ext=c
3764 ac_cpp='$CPP $CPPFLAGS'
3765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3768 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3769 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3770 # On Suns, sometimes $CPP names a directory.
3771 if test -n "$CPP" && test -d "$CPP"; then
3772   CPP=
3773 fi
3774 if test -z "$CPP"; then
3775   if test "${ac_cv_prog_CPP+set}" = set; then
3776   echo $ECHO_N "(cached) $ECHO_C" >&6
3777 else
3778       # Double quotes because CPP needs to be expanded
3779     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3780     do
3781       ac_preproc_ok=false
3782 for ac_c_preproc_warn_flag in '' yes
3783 do
3784   # Use a header file that comes with gcc, so configuring glibc
3785   # with a fresh cross-compiler works.
3786   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3787   # <limits.h> exists even on freestanding compilers.
3788   # On the NeXT, cc -E runs the code through the compiler's parser,
3789   # not just through cpp. "Syntax error" is here to catch this case.
3790   cat >conftest.$ac_ext <<_ACEOF
3791 /* confdefs.h.  */
3792 _ACEOF
3793 cat confdefs.h >>conftest.$ac_ext
3794 cat >>conftest.$ac_ext <<_ACEOF
3795 /* end confdefs.h.  */
3796 #ifdef __STDC__
3797 # include <limits.h>
3798 #else
3799 # include <assert.h>
3800 #endif
3801                      Syntax error
3802 _ACEOF
3803 if { (ac_try="$ac_cpp conftest.$ac_ext"
3804 case "(($ac_try" in
3805   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3806   *) ac_try_echo=$ac_try;;
3807 esac
3808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3809   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3810   ac_status=$?
3811   grep -v '^ *+' conftest.er1 >conftest.err
3812   rm -f conftest.er1
3813   cat conftest.err >&5
3814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3815   (exit $ac_status); } >/dev/null && {
3816          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3817          test ! -s conftest.err
3818        }; then
3819   :
3820 else
3821   echo "$as_me: failed program was:" >&5
3822 sed 's/^/| /' conftest.$ac_ext >&5
3823
3824   # Broken: fails on valid input.
3825 continue
3826 fi
3827
3828 rm -f conftest.err conftest.$ac_ext
3829
3830   # OK, works on sane cases.  Now check whether nonexistent headers
3831   # can be detected and how.
3832   cat >conftest.$ac_ext <<_ACEOF
3833 /* confdefs.h.  */
3834 _ACEOF
3835 cat confdefs.h >>conftest.$ac_ext
3836 cat >>conftest.$ac_ext <<_ACEOF
3837 /* end confdefs.h.  */
3838 #include <ac_nonexistent.h>
3839 _ACEOF
3840 if { (ac_try="$ac_cpp conftest.$ac_ext"
3841 case "(($ac_try" in
3842   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3843   *) ac_try_echo=$ac_try;;
3844 esac
3845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3846   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3847   ac_status=$?
3848   grep -v '^ *+' conftest.er1 >conftest.err
3849   rm -f conftest.er1
3850   cat conftest.err >&5
3851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3852   (exit $ac_status); } >/dev/null && {
3853          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3854          test ! -s conftest.err
3855        }; then
3856   # Broken: success on invalid input.
3857 continue
3858 else
3859   echo "$as_me: failed program was:" >&5
3860 sed 's/^/| /' conftest.$ac_ext >&5
3861
3862   # Passes both tests.
3863 ac_preproc_ok=:
3864 break
3865 fi
3866
3867 rm -f conftest.err conftest.$ac_ext
3868
3869 done
3870 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3871 rm -f conftest.err conftest.$ac_ext
3872 if $ac_preproc_ok; then
3873   break
3874 fi
3875
3876     done
3877     ac_cv_prog_CPP=$CPP
3878
3879 fi
3880   CPP=$ac_cv_prog_CPP
3881 else
3882   ac_cv_prog_CPP=$CPP
3883 fi
3884 { echo "$as_me:$LINENO: result: $CPP" >&5
3885 echo "${ECHO_T}$CPP" >&6; }
3886 ac_preproc_ok=false
3887 for ac_c_preproc_warn_flag in '' yes
3888 do
3889   # Use a header file that comes with gcc, so configuring glibc
3890   # with a fresh cross-compiler works.
3891   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3892   # <limits.h> exists even on freestanding compilers.
3893   # On the NeXT, cc -E runs the code through the compiler's parser,
3894   # not just through cpp. "Syntax error" is here to catch this case.
3895   cat >conftest.$ac_ext <<_ACEOF
3896 /* confdefs.h.  */
3897 _ACEOF
3898 cat confdefs.h >>conftest.$ac_ext
3899 cat >>conftest.$ac_ext <<_ACEOF
3900 /* end confdefs.h.  */
3901 #ifdef __STDC__
3902 # include <limits.h>
3903 #else
3904 # include <assert.h>
3905 #endif
3906                      Syntax error
3907 _ACEOF
3908 if { (ac_try="$ac_cpp conftest.$ac_ext"
3909 case "(($ac_try" in
3910   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3911   *) ac_try_echo=$ac_try;;
3912 esac
3913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3914   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3915   ac_status=$?
3916   grep -v '^ *+' conftest.er1 >conftest.err
3917   rm -f conftest.er1
3918   cat conftest.err >&5
3919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920   (exit $ac_status); } >/dev/null && {
3921          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3922          test ! -s conftest.err
3923        }; then
3924   :
3925 else
3926   echo "$as_me: failed program was:" >&5
3927 sed 's/^/| /' conftest.$ac_ext >&5
3928
3929   # Broken: fails on valid input.
3930 continue
3931 fi
3932
3933 rm -f conftest.err conftest.$ac_ext
3934
3935   # OK, works on sane cases.  Now check whether nonexistent headers
3936   # can be detected and how.
3937   cat >conftest.$ac_ext <<_ACEOF
3938 /* confdefs.h.  */
3939 _ACEOF
3940 cat confdefs.h >>conftest.$ac_ext
3941 cat >>conftest.$ac_ext <<_ACEOF
3942 /* end confdefs.h.  */
3943 #include <ac_nonexistent.h>
3944 _ACEOF
3945 if { (ac_try="$ac_cpp conftest.$ac_ext"
3946 case "(($ac_try" in
3947   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3948   *) ac_try_echo=$ac_try;;
3949 esac
3950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3951   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3952   ac_status=$?
3953   grep -v '^ *+' conftest.er1 >conftest.err
3954   rm -f conftest.er1
3955   cat conftest.err >&5
3956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3957   (exit $ac_status); } >/dev/null && {
3958          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3959          test ! -s conftest.err
3960        }; then
3961   # Broken: success on invalid input.
3962 continue
3963 else
3964   echo "$as_me: failed program was:" >&5
3965 sed 's/^/| /' conftest.$ac_ext >&5
3966
3967   # Passes both tests.
3968 ac_preproc_ok=:
3969 break
3970 fi
3971
3972 rm -f conftest.err conftest.$ac_ext
3973
3974 done
3975 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3976 rm -f conftest.err conftest.$ac_ext
3977 if $ac_preproc_ok; then
3978   :
3979 else
3980   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3981 See \`config.log' for more details." >&5
3982 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3983 See \`config.log' for more details." >&2;}
3984    { (exit 1); exit 1; }; }
3985 fi
3986
3987 ac_ext=c
3988 ac_cpp='$CPP $CPPFLAGS'
3989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3992
3993 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3994 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3995 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3996 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3997   echo $ECHO_N "(cached) $ECHO_C" >&6
3998 else
3999   cat >conftest.make <<\_ACEOF
4000 SHELL = /bin/sh
4001 all:
4002         @echo '@@@%%%=$(MAKE)=@@@%%%'
4003 _ACEOF
4004 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4005 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4006   *@@@%%%=?*=@@@%%%*)
4007     eval ac_cv_prog_make_${ac_make}_set=yes;;
4008   *)
4009     eval ac_cv_prog_make_${ac_make}_set=no;;
4010 esac
4011 rm -f conftest.make
4012 fi
4013 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4014   { echo "$as_me:$LINENO: result: yes" >&5
4015 echo "${ECHO_T}yes" >&6; }
4016   SET_MAKE=
4017 else
4018   { echo "$as_me:$LINENO: result: no" >&5
4019 echo "${ECHO_T}no" >&6; }
4020   SET_MAKE="MAKE=${MAKE-make}"
4021 fi
4022
4023 # Make sure we can run config.sub.
4024 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4025   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4026 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4027    { (exit 1); exit 1; }; }
4028
4029 { echo "$as_me:$LINENO: checking build system type" >&5
4030 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
4031 if test "${ac_cv_build+set}" = set; then
4032   echo $ECHO_N "(cached) $ECHO_C" >&6
4033 else
4034   ac_build_alias=$build_alias
4035 test "x$ac_build_alias" = x &&
4036   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4037 test "x$ac_build_alias" = x &&
4038   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4039 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4040    { (exit 1); exit 1; }; }
4041 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4042   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4043 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4044    { (exit 1); exit 1; }; }
4045
4046 fi
4047 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4048 echo "${ECHO_T}$ac_cv_build" >&6; }
4049 case $ac_cv_build in
4050 *-*-*) ;;
4051 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4052 echo "$as_me: error: invalid value of canonical build" >&2;}
4053    { (exit 1); exit 1; }; };;
4054 esac
4055 build=$ac_cv_build
4056 ac_save_IFS=$IFS; IFS='-'
4057 set x $ac_cv_build
4058 shift
4059 build_cpu=$1
4060 build_vendor=$2
4061 shift; shift
4062 # Remember, the first character of IFS is used to create $*,
4063 # except with old shells:
4064 build_os=$*
4065 IFS=$ac_save_IFS
4066 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4067
4068
4069 { echo "$as_me:$LINENO: checking host system type" >&5
4070 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4071 if test "${ac_cv_host+set}" = set; then
4072   echo $ECHO_N "(cached) $ECHO_C" >&6
4073 else
4074   if test "x$host_alias" = x; then
4075   ac_cv_host=$ac_cv_build
4076 else
4077   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4078     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4079 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4080    { (exit 1); exit 1; }; }
4081 fi
4082
4083 fi
4084 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4085 echo "${ECHO_T}$ac_cv_host" >&6; }
4086 case $ac_cv_host in
4087 *-*-*) ;;
4088 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4089 echo "$as_me: error: invalid value of canonical host" >&2;}
4090    { (exit 1); exit 1; }; };;
4091 esac
4092 host=$ac_cv_host
4093 ac_save_IFS=$IFS; IFS='-'
4094 set x $ac_cv_host
4095 shift
4096 host_cpu=$1
4097 host_vendor=$2
4098 shift; shift
4099 # Remember, the first character of IFS is used to create $*,
4100 # except with old shells:
4101 host_os=$*
4102 IFS=$ac_save_IFS
4103 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4104
4105
4106
4107 { echo "$as_me:$LINENO: checking for some Win32 platform" >&5
4108 echo $ECHO_N "checking for some Win32 platform... $ECHO_C" >&6; }
4109 case "$host" in
4110   *-*-mingw*|*-*-cygwin*)
4111     platform_win32=yes
4112     ;;
4113   *)
4114     platform_win32=no
4115     ;;
4116 esac
4117 { echo "$as_me:$LINENO: result: $platform_win32" >&5
4118 echo "${ECHO_T}$platform_win32" >&6; }
4119  if test "$platform_win32" = "yes"; then
4120   PLATFORM_WIN32_TRUE=
4121   PLATFORM_WIN32_FALSE='#'
4122 else
4123   PLATFORM_WIN32_TRUE='#'
4124   PLATFORM_WIN32_FALSE=
4125 fi
4126
4127
4128 { echo "$as_me:$LINENO: checking for native Win32" >&5
4129 echo $ECHO_N "checking for native Win32... $ECHO_C" >&6; }
4130 case "$host" in
4131   *-*-mingw*)
4132     os_win32=yes
4133     ;;
4134   *)
4135     os_win32=no
4136     ;;
4137 esac
4138 { echo "$as_me:$LINENO: result: $os_win32" >&5
4139 echo "${ECHO_T}$os_win32" >&6; }
4140  if test "$os_win32" = "yes"; then
4141   OS_WIN32_TRUE=
4142   OS_WIN32_FALSE='#'
4143 else
4144   OS_WIN32_TRUE='#'
4145   OS_WIN32_FALSE=
4146 fi
4147
4148
4149 # Check whether --enable-static was given.
4150 if test "${enable_static+set}" = set; then
4151   enableval=$enable_static; p=${PACKAGE-default}
4152     case $enableval in
4153     yes) enable_static=yes ;;
4154     no) enable_static=no ;;
4155     *)
4156      enable_static=no
4157       # Look at the argument we got.  We use all the common list separators.
4158       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4159       for pkg in $enableval; do
4160         IFS="$lt_save_ifs"
4161         if test "X$pkg" = "X$p"; then
4162           enable_static=yes
4163         fi
4164       done
4165       IFS="$lt_save_ifs"
4166       ;;
4167     esac
4168 else
4169   enable_static=no
4170 fi
4171
4172
4173
4174
4175
4176 # Check whether --enable-shared was given.
4177 if test "${enable_shared+set}" = set; then
4178   enableval=$enable_shared; p=${PACKAGE-default}
4179     case $enableval in
4180     yes) enable_shared=yes ;;
4181     no) enable_shared=no ;;
4182     *)
4183       enable_shared=no
4184       # Look at the argument we got.  We use all the common list separators.
4185       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4186       for pkg in $enableval; do
4187         IFS="$lt_save_ifs"
4188         if test "X$pkg" = "X$p"; then
4189           enable_shared=yes
4190         fi
4191       done
4192       IFS="$lt_save_ifs"
4193       ;;
4194     esac
4195 else
4196   enable_shared=yes
4197 fi
4198
4199
4200 # Check whether --enable-fast-install was given.
4201 if test "${enable_fast_install+set}" = set; then
4202   enableval=$enable_fast_install; p=${PACKAGE-default}
4203     case $enableval in
4204     yes) enable_fast_install=yes ;;
4205     no) enable_fast_install=no ;;
4206     *)
4207       enable_fast_install=no
4208       # Look at the argument we got.  We use all the common list separators.
4209       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4210       for pkg in $enableval; do
4211         IFS="$lt_save_ifs"
4212         if test "X$pkg" = "X$p"; then
4213           enable_fast_install=yes
4214         fi
4215       done
4216       IFS="$lt_save_ifs"
4217       ;;
4218     esac
4219 else
4220   enable_fast_install=yes
4221 fi
4222
4223
4224 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4225 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4226 if test "${lt_cv_path_SED+set}" = set; then
4227   echo $ECHO_N "(cached) $ECHO_C" >&6
4228 else
4229   # Loop through the user's path and test for sed and gsed.
4230 # Then use that list of sed's as ones to test for truncation.
4231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4232 for as_dir in $PATH
4233 do
4234   IFS=$as_save_IFS
4235   test -z "$as_dir" && as_dir=.
4236   for lt_ac_prog in sed gsed; do
4237     for ac_exec_ext in '' $ac_executable_extensions; do
4238       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4239         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4240       fi
4241     done
4242   done
4243 done
4244 lt_ac_max=0
4245 lt_ac_count=0
4246 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4247 # along with /bin/sed that truncates output.
4248 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4249   test ! -f $lt_ac_sed && continue
4250   cat /dev/null > conftest.in
4251   lt_ac_count=0
4252   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4253   # Check for GNU sed and select it if it is found.
4254   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4255     lt_cv_path_SED=$lt_ac_sed
4256     break
4257   fi
4258   while true; do
4259     cat conftest.in conftest.in >conftest.tmp
4260     mv conftest.tmp conftest.in
4261     cp conftest.in conftest.nl
4262     echo >>conftest.nl
4263     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4264     cmp -s conftest.out conftest.nl || break
4265     # 10000 chars as input seems more than enough
4266     test $lt_ac_count -gt 10 && break
4267     lt_ac_count=`expr $lt_ac_count + 1`
4268     if test $lt_ac_count -gt $lt_ac_max; then
4269       lt_ac_max=$lt_ac_count
4270       lt_cv_path_SED=$lt_ac_sed
4271     fi
4272   done
4273 done
4274
4275 fi
4276
4277 SED=$lt_cv_path_SED
4278 { echo "$as_me:$LINENO: result: $SED" >&5
4279 echo "${ECHO_T}$SED" >&6; }
4280
4281 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4282 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4283 if test "${ac_cv_path_GREP+set}" = set; then
4284   echo $ECHO_N "(cached) $ECHO_C" >&6
4285 else
4286   # Extract the first word of "grep ggrep" to use in msg output
4287 if test -z "$GREP"; then
4288 set dummy grep ggrep; ac_prog_name=$2
4289 if test "${ac_cv_path_GREP+set}" = set; then
4290   echo $ECHO_N "(cached) $ECHO_C" >&6
4291 else
4292   ac_path_GREP_found=false
4293 # Loop through the user's path and test for each of PROGNAME-LIST
4294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4295 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4296 do
4297   IFS=$as_save_IFS
4298   test -z "$as_dir" && as_dir=.
4299   for ac_prog in grep ggrep; do
4300   for ac_exec_ext in '' $ac_executable_extensions; do
4301     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4302     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4303     # Check for GNU ac_path_GREP and select it if it is found.
4304   # Check for GNU $ac_path_GREP
4305 case `"$ac_path_GREP" --version 2>&1` in
4306 *GNU*)
4307   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4308 *)
4309   ac_count=0
4310   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4311   while :
4312   do
4313     cat "conftest.in" "conftest.in" >"conftest.tmp"
4314     mv "conftest.tmp" "conftest.in"
4315     cp "conftest.in" "conftest.nl"
4316     echo 'GREP' >> "conftest.nl"
4317     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4318     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4319     ac_count=`expr $ac_count + 1`
4320     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4321       # Best one so far, save it but keep looking for a better one
4322       ac_cv_path_GREP="$ac_path_GREP"
4323       ac_path_GREP_max=$ac_count
4324     fi
4325     # 10*(2^10) chars as input seems more than enough
4326     test $ac_count -gt 10 && break
4327   done
4328   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4329 esac
4330
4331
4332     $ac_path_GREP_found && break 3
4333   done
4334 done
4335
4336 done
4337 IFS=$as_save_IFS
4338
4339
4340 fi
4341
4342 GREP="$ac_cv_path_GREP"
4343 if test -z "$GREP"; then
4344   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4345 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4346    { (exit 1); exit 1; }; }
4347 fi
4348
4349 else
4350   ac_cv_path_GREP=$GREP
4351 fi
4352
4353
4354 fi
4355 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4356 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4357  GREP="$ac_cv_path_GREP"
4358
4359
4360 { echo "$as_me:$LINENO: checking for egrep" >&5
4361 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4362 if test "${ac_cv_path_EGREP+set}" = set; then
4363   echo $ECHO_N "(cached) $ECHO_C" >&6
4364 else
4365   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4366    then ac_cv_path_EGREP="$GREP -E"
4367    else
4368      # Extract the first word of "egrep" to use in msg output
4369 if test -z "$EGREP"; then
4370 set dummy egrep; ac_prog_name=$2
4371 if test "${ac_cv_path_EGREP+set}" = set; then
4372   echo $ECHO_N "(cached) $ECHO_C" >&6
4373 else
4374   ac_path_EGREP_found=false
4375 # Loop through the user's path and test for each of PROGNAME-LIST
4376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4377 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4378 do
4379   IFS=$as_save_IFS
4380   test -z "$as_dir" && as_dir=.
4381   for ac_prog in egrep; do
4382   for ac_exec_ext in '' $ac_executable_extensions; do
4383     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4384     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4385     # Check for GNU ac_path_EGREP and select it if it is found.
4386   # Check for GNU $ac_path_EGREP
4387 case `"$ac_path_EGREP" --version 2>&1` in
4388 *GNU*)
4389   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4390 *)
4391   ac_count=0
4392   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4393   while :
4394   do
4395     cat "conftest.in" "conftest.in" >"conftest.tmp"
4396     mv "conftest.tmp" "conftest.in"
4397     cp "conftest.in" "conftest.nl"
4398     echo 'EGREP' >> "conftest.nl"
4399     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4400     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4401     ac_count=`expr $ac_count + 1`
4402     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4403       # Best one so far, save it but keep looking for a better one
4404       ac_cv_path_EGREP="$ac_path_EGREP"
4405       ac_path_EGREP_max=$ac_count
4406     fi
4407     # 10*(2^10) chars as input seems more than enough
4408     test $ac_count -gt 10 && break
4409   done
4410   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4411 esac
4412
4413
4414     $ac_path_EGREP_found && break 3
4415   done
4416 done
4417
4418 done
4419 IFS=$as_save_IFS
4420
4421
4422 fi
4423
4424 EGREP="$ac_cv_path_EGREP"
4425 if test -z "$EGREP"; then
4426   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4427 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4428    { (exit 1); exit 1; }; }
4429 fi
4430
4431 else
4432   ac_cv_path_EGREP=$EGREP
4433 fi
4434
4435
4436    fi
4437 fi
4438 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4439 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4440  EGREP="$ac_cv_path_EGREP"
4441
4442
4443
4444 # Check whether --with-gnu-ld was given.
4445 if test "${with_gnu_ld+set}" = set; then
4446   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4447 else
4448   with_gnu_ld=no
4449 fi
4450
4451 ac_prog=ld
4452 if test "$GCC" = yes; then
4453   # Check if gcc -print-prog-name=ld gives a path.
4454   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4455 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4456   case $host in
4457   *-*-mingw*)
4458     # gcc leaves a trailing carriage return which upsets mingw
4459     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4460   *)
4461     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4462   esac
4463   case $ac_prog in
4464     # Accept absolute paths.
4465     [\\/]* | ?:[\\/]*)
4466       re_direlt='/[^/][^/]*/\.\./'
4467       # Canonicalize the pathname of ld
4468       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4469       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4470         ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4471       done
4472       test -z "$LD" && LD="$ac_prog"
4473       ;;
4474   "")
4475     # If it fails, then pretend we aren't using GCC.
4476     ac_prog=ld
4477     ;;
4478   *)
4479     # If it is relative, then search for the first ld in PATH.
4480     with_gnu_ld=unknown
4481     ;;
4482   esac
4483 elif test "$with_gnu_ld" = yes; then
4484   { echo "$as_me:$LINENO: checking for GNU ld" >&5
4485 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4486 else
4487   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4488 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4489 fi
4490 if test "${lt_cv_path_LD+set}" = set; then
4491   echo $ECHO_N "(cached) $ECHO_C" >&6
4492 else
4493   if test -z "$LD"; then
4494   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4495   for ac_dir in $PATH; do
4496     IFS="$lt_save_ifs"
4497     test -z "$ac_dir" && ac_dir=.
4498     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4499       lt_cv_path_LD="$ac_dir/$ac_prog"
4500       # Check to see if the program is GNU ld.  I'd rather use --version,
4501       # but apparently some variants of GNU ld only accept -v.
4502       # Break only if it was the GNU/non-GNU ld that we prefer.
4503       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4504       *GNU* | *'with BFD'*)
4505         test "$with_gnu_ld" != no && break
4506         ;;
4507       *)
4508         test "$with_gnu_ld" != yes && break
4509         ;;
4510       esac
4511     fi
4512   done
4513   IFS="$lt_save_ifs"
4514 else
4515   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4516 fi
4517 fi
4518
4519 LD="$lt_cv_path_LD"
4520 if test -n "$LD"; then
4521   { echo "$as_me:$LINENO: result: $LD" >&5
4522 echo "${ECHO_T}$LD" >&6; }
4523 else
4524   { echo "$as_me:$LINENO: result: no" >&5
4525 echo "${ECHO_T}no" >&6; }
4526 fi
4527 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4528 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4529    { (exit 1); exit 1; }; }
4530 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4531 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4532 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4533   echo $ECHO_N "(cached) $ECHO_C" >&6
4534 else
4535   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4536 case `$LD -v 2>&1 </dev/null` in
4537 *GNU* | *'with BFD'*)
4538   lt_cv_prog_gnu_ld=yes
4539   ;;
4540 *)
4541   lt_cv_prog_gnu_ld=no
4542   ;;
4543 esac
4544 fi
4545 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4546 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4547 with_gnu_ld=$lt_cv_prog_gnu_ld
4548
4549
4550 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4551 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4552 if test "${lt_cv_ld_reload_flag+set}" = set; then
4553   echo $ECHO_N "(cached) $ECHO_C" >&6
4554 else
4555   lt_cv_ld_reload_flag='-r'
4556 fi
4557 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4558 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4559 reload_flag=$lt_cv_ld_reload_flag
4560 case $reload_flag in
4561 "" | " "*) ;;
4562 *) reload_flag=" $reload_flag" ;;
4563 esac
4564 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4565 case $host_os in
4566   darwin*)
4567     if test "$GCC" = yes; then
4568       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4569     else
4570       reload_cmds='$LD$reload_flag -o $output$reload_objs'
4571     fi
4572     ;;
4573 esac
4574
4575 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4576 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4577 if test "${lt_cv_path_NM+set}" = set; then
4578   echo $ECHO_N "(cached) $ECHO_C" >&6
4579 else
4580   if test -n "$NM"; then
4581   # Let the user override the test.
4582   lt_cv_path_NM="$NM"
4583 else
4584   lt_nm_to_check="${ac_tool_prefix}nm"
4585   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4586     lt_nm_to_check="$lt_nm_to_check nm"
4587   fi
4588   for lt_tmp_nm in $lt_nm_to_check; do
4589     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4590     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4591       IFS="$lt_save_ifs"
4592       test -z "$ac_dir" && ac_dir=.
4593       tmp_nm="$ac_dir/$lt_tmp_nm"
4594       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4595         # Check to see if the nm accepts a BSD-compat flag.
4596         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4597         #   nm: unknown option "B" ignored
4598         # Tru64's nm complains that /dev/null is an invalid object file
4599         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4600         */dev/null* | *'Invalid file or object type'*)
4601           lt_cv_path_NM="$tmp_nm -B"
4602           break
4603           ;;
4604         *)
4605           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4606           */dev/null*)
4607             lt_cv_path_NM="$tmp_nm -p"
4608             break
4609             ;;
4610           *)
4611             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4612             continue # so that we can try to find one that supports BSD flags
4613             ;;
4614           esac
4615           ;;
4616         esac
4617       fi
4618     done
4619     IFS="$lt_save_ifs"
4620   done
4621   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4622 fi
4623 fi
4624 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4625 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4626 NM="$lt_cv_path_NM"
4627
4628 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4629 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4630 LN_S=$as_ln_s
4631 if test "$LN_S" = "ln -s"; then
4632   { echo "$as_me:$LINENO: result: yes" >&5
4633 echo "${ECHO_T}yes" >&6; }
4634 else
4635   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4636 echo "${ECHO_T}no, using $LN_S" >&6; }
4637 fi
4638
4639 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4640 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4641 if test "${lt_cv_deplibs_check_method+set}" = set; then
4642   echo $ECHO_N "(cached) $ECHO_C" >&6
4643 else
4644   lt_cv_file_magic_cmd='$MAGIC_CMD'
4645 lt_cv_file_magic_test_file=
4646 lt_cv_deplibs_check_method='unknown'
4647 # Need to set the preceding variable on all platforms that support
4648 # interlibrary dependencies.
4649 # 'none' -- dependencies not supported.
4650 # `unknown' -- same as none, but documents that we really don't know.
4651 # 'pass_all' -- all dependencies passed with no checks.
4652 # 'test_compile' -- check by making test program.
4653 # 'file_magic [[regex]]' -- check by looking for files in library path
4654 # which responds to the $file_magic_cmd with a given extended regex.
4655 # If you have `file' or equivalent on your system and you're not sure
4656 # whether `pass_all' will *always* work, you probably want this one.
4657
4658 case $host_os in
4659 aix4* | aix5*)
4660   lt_cv_deplibs_check_method=pass_all
4661   ;;
4662
4663 beos*)
4664   lt_cv_deplibs_check_method=pass_all
4665   ;;
4666
4667 bsdi[45]*)
4668   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4669   lt_cv_file_magic_cmd='/usr/bin/file -L'
4670   lt_cv_file_magic_test_file=/shlib/libc.so
4671   ;;
4672
4673 cygwin*)
4674   # func_win32_libid is a shell function defined in ltmain.sh
4675   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4676   lt_cv_file_magic_cmd='func_win32_libid'
4677   ;;
4678
4679 mingw* | pw32*)
4680   # Base MSYS/MinGW do not provide the 'file' command needed by
4681   # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4682   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4683   lt_cv_file_magic_cmd='$OBJDUMP -f'
4684   ;;
4685
4686 darwin* | rhapsody*)
4687   lt_cv_deplibs_check_method=pass_all
4688   ;;
4689
4690 freebsd* | kfreebsd*-gnu | dragonfly*)
4691   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4692     case $host_cpu in
4693     i*86 )
4694       # Not sure whether the presence of OpenBSD here was a mistake.
4695       # Let's accept both of them until this is cleared up.
4696       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4697       lt_cv_file_magic_cmd=/usr/bin/file
4698       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4699       ;;
4700     esac
4701   else
4702     lt_cv_deplibs_check_method=pass_all
4703   fi
4704   ;;
4705
4706 gnu*)
4707   lt_cv_deplibs_check_method=pass_all
4708   ;;
4709
4710 hpux10.20* | hpux11*)
4711   lt_cv_file_magic_cmd=/usr/bin/file
4712   case $host_cpu in
4713   ia64*)
4714     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4715     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4716     ;;
4717   hppa*64*)
4718     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]'
4719     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4720     ;;
4721   *)
4722     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4723     lt_cv_file_magic_test_file=/usr/lib/libc.sl
4724     ;;
4725   esac
4726   ;;
4727
4728 interix3*)
4729   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4730   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4731   ;;
4732
4733 irix5* | irix6* | nonstopux*)
4734   case $LD in
4735   *-32|*"-32 ") libmagic=32-bit;;
4736   *-n32|*"-n32 ") libmagic=N32;;
4737   *-64|*"-64 ") libmagic=64-bit;;
4738   *) libmagic=never-match;;
4739   esac
4740   lt_cv_deplibs_check_method=pass_all
4741   ;;
4742
4743 # This must be Linux ELF.
4744 linux*)
4745   lt_cv_deplibs_check_method=pass_all
4746   ;;
4747
4748 netbsd*)
4749   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4750     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4751   else
4752     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4753   fi
4754   ;;
4755
4756 newos6*)
4757   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4758   lt_cv_file_magic_cmd=/usr/bin/file
4759   lt_cv_file_magic_test_file=/usr/lib/libnls.so
4760   ;;
4761
4762 nto-qnx*)
4763   lt_cv_deplibs_check_method=unknown
4764   ;;
4765
4766 openbsd*)
4767   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4768     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4769   else
4770     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4771   fi
4772   ;;
4773
4774 osf3* | osf4* | osf5*)
4775   lt_cv_deplibs_check_method=pass_all
4776   ;;
4777
4778 solaris*)
4779   lt_cv_deplibs_check_method=pass_all
4780   ;;
4781
4782 sysv4 | sysv4.3*)
4783   case $host_vendor in
4784   motorola)
4785     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]'
4786     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4787     ;;
4788   ncr)
4789     lt_cv_deplibs_check_method=pass_all
4790     ;;
4791   sequent)
4792     lt_cv_file_magic_cmd='/bin/file'
4793     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4794     ;;
4795   sni)
4796     lt_cv_file_magic_cmd='/bin/file'
4797     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4798     lt_cv_file_magic_test_file=/lib/libc.so
4799     ;;
4800   siemens)
4801     lt_cv_deplibs_check_method=pass_all
4802     ;;
4803   pc)
4804     lt_cv_deplibs_check_method=pass_all
4805     ;;
4806   esac
4807   ;;
4808
4809 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4810   lt_cv_deplibs_check_method=pass_all
4811   ;;
4812 esac
4813
4814 fi
4815 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4816 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4817 file_magic_cmd=$lt_cv_file_magic_cmd
4818 deplibs_check_method=$lt_cv_deplibs_check_method
4819 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4820
4821
4822
4823
4824 # If no C compiler was specified, use CC.
4825 LTCC=${LTCC-"$CC"}
4826
4827 # If no C compiler flags were specified, use CFLAGS.
4828 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4829
4830 # Allow CC to be a program name with arguments.
4831 compiler=$CC
4832
4833
4834 # Check whether --enable-libtool-lock was given.
4835 if test "${enable_libtool_lock+set}" = set; then
4836   enableval=$enable_libtool_lock;
4837 fi
4838
4839 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4840
4841 # Some flags need to be propagated to the compiler or linker for good
4842 # libtool support.
4843 case $host in
4844 ia64-*-hpux*)
4845   # Find out which ABI we are using.
4846   echo 'int i;' > conftest.$ac_ext
4847   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4848   (eval $ac_compile) 2>&5
4849   ac_status=$?
4850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4851   (exit $ac_status); }; then
4852     case `/usr/bin/file conftest.$ac_objext` in
4853     *ELF-32*)
4854       HPUX_IA64_MODE="32"
4855       ;;
4856     *ELF-64*)
4857       HPUX_IA64_MODE="64"
4858       ;;
4859     esac
4860   fi
4861   rm -rf conftest*
4862   ;;
4863 *-*-irix6*)
4864   # Find out which ABI we are using.
4865   echo '#line 4865 "configure"' > conftest.$ac_ext
4866   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4867   (eval $ac_compile) 2>&5
4868   ac_status=$?
4869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4870   (exit $ac_status); }; then
4871    if test "$lt_cv_prog_gnu_ld" = yes; then
4872     case `/usr/bin/file conftest.$ac_objext` in
4873     *32-bit*)
4874       LD="${LD-ld} -melf32bsmip"
4875       ;;
4876     *N32*)
4877       LD="${LD-ld} -melf32bmipn32"
4878       ;;
4879     *64-bit*)
4880       LD="${LD-ld} -melf64bmip"
4881       ;;
4882     esac
4883    else
4884     case `/usr/bin/file conftest.$ac_objext` in
4885     *32-bit*)
4886       LD="${LD-ld} -32"
4887       ;;
4888     *N32*)
4889       LD="${LD-ld} -n32"
4890       ;;
4891     *64-bit*)
4892       LD="${LD-ld} -64"
4893       ;;
4894     esac
4895    fi
4896   fi
4897   rm -rf conftest*
4898   ;;
4899
4900 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4901   # Find out which ABI we are using.
4902   echo 'int i;' > conftest.$ac_ext
4903   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4904   (eval $ac_compile) 2>&5
4905   ac_status=$?
4906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4907   (exit $ac_status); }; then
4908     case `/usr/bin/file conftest.o` in
4909     *32-bit*)
4910       case $host in
4911         x86_64-*linux*)
4912           LD="${LD-ld} -m elf_i386"
4913           ;;
4914         ppc64-*linux*|powerpc64-*linux*)
4915           LD="${LD-ld} -m elf32ppclinux"
4916           ;;
4917         s390x-*linux*)
4918           LD="${LD-ld} -m elf_s390"
4919           ;;
4920         sparc64-*linux*)
4921           LD="${LD-ld} -m elf32_sparc"
4922           ;;
4923       esac
4924       ;;
4925     *64-bit*)
4926       case $host in
4927         x86_64-*linux*)
4928           LD="${LD-ld} -m elf_x86_64"
4929           ;;
4930         ppc*-*linux*|powerpc*-*linux*)
4931           LD="${LD-ld} -m elf64ppc"
4932           ;;
4933         s390*-*linux*)
4934           LD="${LD-ld} -m elf64_s390"
4935           ;;
4936         sparc*-*linux*)
4937           LD="${LD-ld} -m elf64_sparc"
4938           ;;
4939       esac
4940       ;;
4941     esac
4942   fi
4943   rm -rf conftest*
4944   ;;
4945
4946 *-*-sco3.2v5*)
4947   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4948   SAVE_CFLAGS="$CFLAGS"
4949   CFLAGS="$CFLAGS -belf"
4950   { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4951 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4952 if test "${lt_cv_cc_needs_belf+set}" = set; then
4953   echo $ECHO_N "(cached) $ECHO_C" >&6
4954 else
4955   ac_ext=c
4956 ac_cpp='$CPP $CPPFLAGS'
4957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4960
4961      cat >conftest.$ac_ext <<_ACEOF
4962 /* confdefs.h.  */
4963 _ACEOF
4964 cat confdefs.h >>conftest.$ac_ext
4965 cat >>conftest.$ac_ext <<_ACEOF
4966 /* end confdefs.h.  */
4967
4968 int
4969 main ()
4970 {
4971
4972   ;
4973   return 0;
4974 }
4975 _ACEOF
4976 rm -f conftest.$ac_objext conftest$ac_exeext
4977 if { (ac_try="$ac_link"
4978 case "(($ac_try" in
4979   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4980   *) ac_try_echo=$ac_try;;
4981 esac
4982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4983   (eval "$ac_link") 2>conftest.er1
4984   ac_status=$?
4985   grep -v '^ *+' conftest.er1 >conftest.err
4986   rm -f conftest.er1
4987   cat conftest.err >&5
4988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4989   (exit $ac_status); } && {
4990          test -z "$ac_c_werror_flag" ||
4991          test ! -s conftest.err
4992        } && test -s conftest$ac_exeext &&
4993        $as_test_x conftest$ac_exeext; then
4994   lt_cv_cc_needs_belf=yes
4995 else
4996   echo "$as_me: failed program was:" >&5
4997 sed 's/^/| /' conftest.$ac_ext >&5
4998
4999         lt_cv_cc_needs_belf=no
5000 fi
5001
5002 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5003       conftest$ac_exeext conftest.$ac_ext
5004      ac_ext=c
5005 ac_cpp='$CPP $CPPFLAGS'
5006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5009
5010 fi
5011 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5012 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5013   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5014     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5015     CFLAGS="$SAVE_CFLAGS"
5016   fi
5017   ;;
5018 sparc*-*solaris*)
5019   # Find out which ABI we are using.
5020   echo 'int i;' > conftest.$ac_ext
5021   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5022   (eval $ac_compile) 2>&5
5023   ac_status=$?
5024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5025   (exit $ac_status); }; then
5026     case `/usr/bin/file conftest.o` in
5027     *64-bit*)
5028       case $lt_cv_prog_gnu_ld in
5029       yes*) LD="${LD-ld} -m elf64_sparc" ;;
5030       *)    LD="${LD-ld} -64" ;;
5031       esac
5032       ;;
5033     esac
5034   fi
5035   rm -rf conftest*
5036   ;;
5037
5038 *-*-cygwin* | *-*-mingw* | *-*-pw32*)
5039   if test -n "$ac_tool_prefix"; then
5040   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5041 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5042 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5044 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
5045   echo $ECHO_N "(cached) $ECHO_C" >&6
5046 else
5047   if test -n "$DLLTOOL"; then
5048   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5049 else
5050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5051 for as_dir in $PATH
5052 do
5053   IFS=$as_save_IFS
5054   test -z "$as_dir" && as_dir=.
5055   for ac_exec_ext in '' $ac_executable_extensions; do
5056   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5057     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5058     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5059     break 2
5060   fi
5061 done
5062 done
5063 IFS=$as_save_IFS
5064
5065 fi
5066 fi
5067 DLLTOOL=$ac_cv_prog_DLLTOOL
5068 if test -n "$DLLTOOL"; then
5069   { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
5070 echo "${ECHO_T}$DLLTOOL" >&6; }
5071 else
5072   { echo "$as_me:$LINENO: result: no" >&5
5073 echo "${ECHO_T}no" >&6; }
5074 fi
5075
5076
5077 fi
5078 if test -z "$ac_cv_prog_DLLTOOL"; then
5079   ac_ct_DLLTOOL=$DLLTOOL
5080   # Extract the first word of "dlltool", so it can be a program name with args.
5081 set dummy dlltool; ac_word=$2
5082 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5084 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
5085   echo $ECHO_N "(cached) $ECHO_C" >&6
5086 else
5087   if test -n "$ac_ct_DLLTOOL"; then
5088   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5089 else
5090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5091 for as_dir in $PATH
5092 do
5093   IFS=$as_save_IFS
5094   test -z "$as_dir" && as_dir=.
5095   for ac_exec_ext in '' $ac_executable_extensions; do
5096   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5097     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5098     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5099     break 2
5100   fi
5101 done
5102 done
5103 IFS=$as_save_IFS
5104
5105 fi
5106 fi
5107 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5108 if test -n "$ac_ct_DLLTOOL"; then
5109   { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
5110 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
5111 else
5112   { echo "$as_me:$LINENO: result: no" >&5
5113 echo "${ECHO_T}no" >&6; }
5114 fi
5115
5116   if test "x$ac_ct_DLLTOOL" = x; then
5117     DLLTOOL="false"
5118   else
5119     case $cross_compiling:$ac_tool_warned in
5120 yes:)
5121 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5122 whose name does not start with the host triplet.  If you think this
5123 configuration is useful to you, please write to autoconf@gnu.org." >&5
5124 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5125 whose name does not start with the host triplet.  If you think this
5126 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5127 ac_tool_warned=yes ;;
5128 esac
5129     DLLTOOL=$ac_ct_DLLTOOL
5130   fi
5131 else
5132   DLLTOOL="$ac_cv_prog_DLLTOOL"
5133 fi
5134
5135   if test -n "$ac_tool_prefix"; then
5136   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5137 set dummy ${ac_tool_prefix}as; ac_word=$2
5138 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5140 if test "${ac_cv_prog_AS+set}" = set; then
5141   echo $ECHO_N "(cached) $ECHO_C" >&6
5142 else
5143   if test -n "$AS"; then
5144   ac_cv_prog_AS="$AS" # Let the user override the test.
5145 else
5146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5147 for as_dir in $PATH
5148 do
5149   IFS=$as_save_IFS
5150   test -z "$as_dir" && as_dir=.
5151   for ac_exec_ext in '' $ac_executable_extensions; do
5152   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5153     ac_cv_prog_AS="${ac_tool_prefix}as"
5154     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5155     break 2
5156   fi
5157 done
5158 done
5159 IFS=$as_save_IFS
5160
5161 fi
5162 fi
5163 AS=$ac_cv_prog_AS
5164 if test -n "$AS"; then
5165   { echo "$as_me:$LINENO: result: $AS" >&5
5166 echo "${ECHO_T}$AS" >&6; }
5167 else
5168   { echo "$as_me:$LINENO: result: no" >&5
5169 echo "${ECHO_T}no" >&6; }
5170 fi
5171
5172
5173 fi
5174 if test -z "$ac_cv_prog_AS"; then
5175   ac_ct_AS=$AS
5176   # Extract the first word of "as", so it can be a program name with args.
5177 set dummy as; ac_word=$2
5178 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5180 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5181   echo $ECHO_N "(cached) $ECHO_C" >&6
5182 else
5183   if test -n "$ac_ct_AS"; then
5184   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5185 else
5186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5187 for as_dir in $PATH
5188 do
5189   IFS=$as_save_IFS
5190   test -z "$as_dir" && as_dir=.
5191   for ac_exec_ext in '' $ac_executable_extensions; do
5192   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5193     ac_cv_prog_ac_ct_AS="as"
5194     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5195     break 2
5196   fi
5197 done
5198 done
5199 IFS=$as_save_IFS
5200
5201 fi
5202 fi
5203 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5204 if test -n "$ac_ct_AS"; then
5205   { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5206 echo "${ECHO_T}$ac_ct_AS" >&6; }
5207 else
5208   { echo "$as_me:$LINENO: result: no" >&5
5209 echo "${ECHO_T}no" >&6; }
5210 fi
5211
5212   if test "x$ac_ct_AS" = x; then
5213     AS="false"
5214   else
5215     case $cross_compiling:$ac_tool_warned in
5216 yes:)
5217 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5218 whose name does not start with the host triplet.  If you think this
5219 configuration is useful to you, please write to autoconf@gnu.org." >&5
5220 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5221 whose name does not start with the host triplet.  If you think this
5222 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5223 ac_tool_warned=yes ;;
5224 esac
5225     AS=$ac_ct_AS
5226   fi
5227 else
5228   AS="$ac_cv_prog_AS"
5229 fi
5230
5231   if test -n "$ac_tool_prefix"; then
5232   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5233 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5234 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5236 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5237   echo $ECHO_N "(cached) $ECHO_C" >&6
5238 else
5239   if test -n "$OBJDUMP"; then
5240   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5241 else
5242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5243 for as_dir in $PATH
5244 do
5245   IFS=$as_save_IFS
5246   test -z "$as_dir" && as_dir=.
5247   for ac_exec_ext in '' $ac_executable_extensions; do
5248   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5249     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5250     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5251     break 2
5252   fi
5253 done
5254 done
5255 IFS=$as_save_IFS
5256
5257 fi
5258 fi
5259 OBJDUMP=$ac_cv_prog_OBJDUMP
5260 if test -n "$OBJDUMP"; then
5261   { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
5262 echo "${ECHO_T}$OBJDUMP" >&6; }
5263 else
5264   { echo "$as_me:$LINENO: result: no" >&5
5265 echo "${ECHO_T}no" >&6; }
5266 fi
5267
5268
5269 fi
5270 if test -z "$ac_cv_prog_OBJDUMP"; then
5271   ac_ct_OBJDUMP=$OBJDUMP
5272   # Extract the first word of "objdump", so it can be a program name with args.
5273 set dummy objdump; ac_word=$2
5274 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5276 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5277   echo $ECHO_N "(cached) $ECHO_C" >&6
5278 else
5279   if test -n "$ac_ct_OBJDUMP"; then
5280   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5281 else
5282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5283 for as_dir in $PATH
5284 do
5285   IFS=$as_save_IFS
5286   test -z "$as_dir" && as_dir=.
5287   for ac_exec_ext in '' $ac_executable_extensions; do
5288   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5289     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5290     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5291     break 2
5292   fi
5293 done
5294 done
5295 IFS=$as_save_IFS
5296
5297 fi
5298 fi
5299 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5300 if test -n "$ac_ct_OBJDUMP"; then
5301   { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
5302 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
5303 else
5304   { echo "$as_me:$LINENO: result: no" >&5
5305 echo "${ECHO_T}no" >&6; }
5306 fi
5307
5308   if test "x$ac_ct_OBJDUMP" = x; then
5309     OBJDUMP="false"
5310   else
5311     case $cross_compiling:$ac_tool_warned in
5312 yes:)
5313 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5314 whose name does not start with the host triplet.  If you think this
5315 configuration is useful to you, please write to autoconf@gnu.org." >&5
5316 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5317 whose name does not start with the host triplet.  If you think this
5318 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5319 ac_tool_warned=yes ;;
5320 esac
5321     OBJDUMP=$ac_ct_OBJDUMP
5322   fi
5323 else
5324   OBJDUMP="$ac_cv_prog_OBJDUMP"
5325 fi
5326
5327   ;;
5328
5329 esac
5330
5331 need_locks="$enable_libtool_lock"
5332
5333
5334
5335 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5336 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5337 if test "${ac_cv_header_stdc+set}" = set; then
5338   echo $ECHO_N "(cached) $ECHO_C" >&6
5339 else
5340   cat >conftest.$ac_ext <<_ACEOF
5341 /* confdefs.h.  */
5342 _ACEOF
5343 cat confdefs.h >>conftest.$ac_ext
5344 cat >>conftest.$ac_ext <<_ACEOF
5345 /* end confdefs.h.  */
5346 #include <stdlib.h>
5347 #include <stdarg.h>
5348 #include <string.h>
5349 #include <float.h>
5350
5351 int
5352 main ()
5353 {
5354
5355   ;
5356   return 0;
5357 }
5358 _ACEOF
5359 rm -f conftest.$ac_objext
5360 if { (ac_try="$ac_compile"
5361 case "(($ac_try" in
5362   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5363   *) ac_try_echo=$ac_try;;
5364 esac
5365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5366   (eval "$ac_compile") 2>conftest.er1
5367   ac_status=$?
5368   grep -v '^ *+' conftest.er1 >conftest.err
5369   rm -f conftest.er1
5370   cat conftest.err >&5
5371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5372   (exit $ac_status); } && {
5373          test -z "$ac_c_werror_flag" ||
5374          test ! -s conftest.err
5375        } && test -s conftest.$ac_objext; then
5376   ac_cv_header_stdc=yes
5377 else
5378   echo "$as_me: failed program was:" >&5
5379 sed 's/^/| /' conftest.$ac_ext >&5
5380
5381         ac_cv_header_stdc=no
5382 fi
5383
5384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5385
5386 if test $ac_cv_header_stdc = yes; then
5387   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5388   cat >conftest.$ac_ext <<_ACEOF
5389 /* confdefs.h.  */
5390 _ACEOF
5391 cat confdefs.h >>conftest.$ac_ext
5392 cat >>conftest.$ac_ext <<_ACEOF
5393 /* end confdefs.h.  */
5394 #include <string.h>
5395
5396 _ACEOF
5397 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5398   $EGREP "memchr" >/dev/null 2>&1; then
5399   :
5400 else
5401   ac_cv_header_stdc=no
5402 fi
5403 rm -f conftest*
5404
5405 fi
5406
5407 if test $ac_cv_header_stdc = yes; then
5408   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5409   cat >conftest.$ac_ext <<_ACEOF
5410 /* confdefs.h.  */
5411 _ACEOF
5412 cat confdefs.h >>conftest.$ac_ext
5413 cat >>conftest.$ac_ext <<_ACEOF
5414 /* end confdefs.h.  */
5415 #include <stdlib.h>
5416
5417 _ACEOF
5418 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5419   $EGREP "free" >/dev/null 2>&1; then
5420   :
5421 else
5422   ac_cv_header_stdc=no
5423 fi
5424 rm -f conftest*
5425
5426 fi
5427
5428 if test $ac_cv_header_stdc = yes; then
5429   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5430   if test "$cross_compiling" = yes; then
5431   :
5432 else
5433   cat >conftest.$ac_ext <<_ACEOF
5434 /* confdefs.h.  */
5435 _ACEOF
5436 cat confdefs.h >>conftest.$ac_ext
5437 cat >>conftest.$ac_ext <<_ACEOF
5438 /* end confdefs.h.  */
5439 #include <ctype.h>
5440 #include <stdlib.h>
5441 #if ((' ' & 0x0FF) == 0x020)
5442 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5443 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5444 #else
5445 # define ISLOWER(c) \
5446                    (('a' <= (c) && (c) <= 'i') \
5447                      || ('j' <= (c) && (c) <= 'r') \
5448                      || ('s' <= (c) && (c) <= 'z'))
5449 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5450 #endif
5451
5452 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5453 int
5454 main ()
5455 {
5456   int i;
5457   for (i = 0; i < 256; i++)
5458     if (XOR (islower (i), ISLOWER (i))
5459         || toupper (i) != TOUPPER (i))
5460       return 2;
5461   return 0;
5462 }
5463 _ACEOF
5464 rm -f conftest$ac_exeext
5465 if { (ac_try="$ac_link"
5466 case "(($ac_try" in
5467   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5468   *) ac_try_echo=$ac_try;;
5469 esac
5470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5471   (eval "$ac_link") 2>&5
5472   ac_status=$?
5473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5474   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5475   { (case "(($ac_try" in
5476   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5477   *) ac_try_echo=$ac_try;;
5478 esac
5479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5480   (eval "$ac_try") 2>&5
5481   ac_status=$?
5482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5483   (exit $ac_status); }; }; then
5484   :
5485 else
5486   echo "$as_me: program exited with status $ac_status" >&5
5487 echo "$as_me: failed program was:" >&5
5488 sed 's/^/| /' conftest.$ac_ext >&5
5489
5490 ( exit $ac_status )
5491 ac_cv_header_stdc=no
5492 fi
5493 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5494 fi
5495
5496
5497 fi
5498 fi
5499 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5500 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5501 if test $ac_cv_header_stdc = yes; then
5502
5503 cat >>confdefs.h <<\_ACEOF
5504 #define STDC_HEADERS 1
5505 _ACEOF
5506
5507 fi
5508
5509 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5520                   inttypes.h stdint.h unistd.h
5521 do
5522 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5523 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5524 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5525 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5526   echo $ECHO_N "(cached) $ECHO_C" >&6
5527 else
5528   cat >conftest.$ac_ext <<_ACEOF
5529 /* confdefs.h.  */
5530 _ACEOF
5531 cat confdefs.h >>conftest.$ac_ext
5532 cat >>conftest.$ac_ext <<_ACEOF
5533 /* end confdefs.h.  */
5534 $ac_includes_default
5535
5536 #include <$ac_header>
5537 _ACEOF
5538 rm -f conftest.$ac_objext
5539 if { (ac_try="$ac_compile"
5540 case "(($ac_try" in
5541   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5542   *) ac_try_echo=$ac_try;;
5543 esac
5544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5545   (eval "$ac_compile") 2>conftest.er1
5546   ac_status=$?
5547   grep -v '^ *+' conftest.er1 >conftest.err
5548   rm -f conftest.er1
5549   cat conftest.err >&5
5550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5551   (exit $ac_status); } && {
5552          test -z "$ac_c_werror_flag" ||
5553          test ! -s conftest.err
5554        } && test -s conftest.$ac_objext; then
5555   eval "$as_ac_Header=yes"
5556 else
5557   echo "$as_me: failed program was:" >&5
5558 sed 's/^/| /' conftest.$ac_ext >&5
5559
5560         eval "$as_ac_Header=no"
5561 fi
5562
5563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5564 fi
5565 ac_res=`eval echo '${'$as_ac_Header'}'`
5566                { echo "$as_me:$LINENO: result: $ac_res" >&5
5567 echo "${ECHO_T}$ac_res" >&6; }
5568 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5569   cat >>confdefs.h <<_ACEOF
5570 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5571 _ACEOF
5572
5573 fi
5574
5575 done
5576
5577
5578
5579 for ac_header in dlfcn.h
5580 do
5581 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5582 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5583   { echo "$as_me:$LINENO: checking for $ac_header" >&5
5584 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5585 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5586   echo $ECHO_N "(cached) $ECHO_C" >&6
5587 fi
5588 ac_res=`eval echo '${'$as_ac_Header'}'`
5589                { echo "$as_me:$LINENO: result: $ac_res" >&5
5590 echo "${ECHO_T}$ac_res" >&6; }
5591 else
5592   # Is the header compilable?
5593 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5594 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5595 cat >conftest.$ac_ext <<_ACEOF
5596 /* confdefs.h.  */
5597 _ACEOF
5598 cat confdefs.h >>conftest.$ac_ext
5599 cat >>conftest.$ac_ext <<_ACEOF
5600 /* end confdefs.h.  */
5601 $ac_includes_default
5602 #include <$ac_header>
5603 _ACEOF
5604 rm -f conftest.$ac_objext
5605 if { (ac_try="$ac_compile"
5606 case "(($ac_try" in
5607   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5608   *) ac_try_echo=$ac_try;;
5609 esac
5610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5611   (eval "$ac_compile") 2>conftest.er1
5612   ac_status=$?
5613   grep -v '^ *+' conftest.er1 >conftest.err
5614   rm -f conftest.er1
5615   cat conftest.err >&5
5616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5617   (exit $ac_status); } && {
5618          test -z "$ac_c_werror_flag" ||
5619          test ! -s conftest.err
5620        } && test -s conftest.$ac_objext; then
5621   ac_header_compiler=yes
5622 else
5623   echo "$as_me: failed program was:" >&5
5624 sed 's/^/| /' conftest.$ac_ext >&5
5625
5626         ac_header_compiler=no
5627 fi
5628
5629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5630 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5631 echo "${ECHO_T}$ac_header_compiler" >&6; }
5632
5633 # Is the header present?
5634 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5635 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5636 cat >conftest.$ac_ext <<_ACEOF
5637 /* confdefs.h.  */
5638 _ACEOF
5639 cat confdefs.h >>conftest.$ac_ext
5640 cat >>conftest.$ac_ext <<_ACEOF
5641 /* end confdefs.h.  */
5642 #include <$ac_header>
5643 _ACEOF
5644 if { (ac_try="$ac_cpp conftest.$ac_ext"
5645 case "(($ac_try" in
5646   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5647   *) ac_try_echo=$ac_try;;
5648 esac
5649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5650   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5651   ac_status=$?
5652   grep -v '^ *+' conftest.er1 >conftest.err
5653   rm -f conftest.er1
5654   cat conftest.err >&5
5655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5656   (exit $ac_status); } >/dev/null && {
5657          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5658          test ! -s conftest.err
5659        }; then
5660   ac_header_preproc=yes
5661 else
5662   echo "$as_me: failed program was:" >&5
5663 sed 's/^/| /' conftest.$ac_ext >&5
5664
5665   ac_header_preproc=no
5666 fi
5667
5668 rm -f conftest.err conftest.$ac_ext
5669 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5670 echo "${ECHO_T}$ac_header_preproc" >&6; }
5671
5672 # So?  What about this header?
5673 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5674   yes:no: )
5675     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5676 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5677     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5678 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5679     ac_header_preproc=yes
5680     ;;
5681   no:yes:* )
5682     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5683 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5684     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5685 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5686     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5687 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5688     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5689 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5690     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5691 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5692     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5693 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5694     ( cat <<\_ASBOX
5695 ## ----------------------------------- ##
5696 ## Report this to gtkmm-list@gnome.org ##
5697 ## ----------------------------------- ##
5698 _ASBOX
5699      ) | sed "s/^/$as_me: WARNING:     /" >&2
5700     ;;
5701 esac
5702 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5703 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5704 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5705   echo $ECHO_N "(cached) $ECHO_C" >&6
5706 else
5707   eval "$as_ac_Header=\$ac_header_preproc"
5708 fi
5709 ac_res=`eval echo '${'$as_ac_Header'}'`
5710                { echo "$as_me:$LINENO: result: $ac_res" >&5
5711 echo "${ECHO_T}$ac_res" >&6; }
5712
5713 fi
5714 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5715   cat >>confdefs.h <<_ACEOF
5716 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5717 _ACEOF
5718
5719 fi
5720
5721 done
5722
5723 ac_ext=cpp
5724 ac_cpp='$CXXCPP $CPPFLAGS'
5725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5728 if test -z "$CXX"; then
5729   if test -n "$CCC"; then
5730     CXX=$CCC
5731   else
5732     if test -n "$ac_tool_prefix"; then
5733   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5734   do
5735     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5736 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5737 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5739 if test "${ac_cv_prog_CXX+set}" = set; then
5740   echo $ECHO_N "(cached) $ECHO_C" >&6
5741 else
5742   if test -n "$CXX"; then
5743   ac_cv_prog_CXX="$CXX" # Let the user override the test.
5744 else
5745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5746 for as_dir in $PATH
5747 do
5748   IFS=$as_save_IFS
5749   test -z "$as_dir" && as_dir=.
5750   for ac_exec_ext in '' $ac_executable_extensions; do
5751   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5752     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5753     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5754     break 2
5755   fi
5756 done
5757 done
5758 IFS=$as_save_IFS
5759
5760 fi
5761 fi
5762 CXX=$ac_cv_prog_CXX
5763 if test -n "$CXX"; then
5764   { echo "$as_me:$LINENO: result: $CXX" >&5
5765 echo "${ECHO_T}$CXX" >&6; }
5766 else
5767   { echo "$as_me:$LINENO: result: no" >&5
5768 echo "${ECHO_T}no" >&6; }
5769 fi
5770
5771
5772     test -n "$CXX" && break
5773   done
5774 fi
5775 if test -z "$CXX"; then
5776   ac_ct_CXX=$CXX
5777   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5778 do
5779   # Extract the first word of "$ac_prog", so it can be a program name with args.
5780 set dummy $ac_prog; ac_word=$2
5781 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5783 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5784   echo $ECHO_N "(cached) $ECHO_C" >&6
5785 else
5786   if test -n "$ac_ct_CXX"; then
5787   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5788 else
5789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5790 for as_dir in $PATH
5791 do
5792   IFS=$as_save_IFS
5793   test -z "$as_dir" && as_dir=.
5794   for ac_exec_ext in '' $ac_executable_extensions; do
5795   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5796     ac_cv_prog_ac_ct_CXX="$ac_prog"
5797     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5798     break 2
5799   fi
5800 done
5801 done
5802 IFS=$as_save_IFS
5803
5804 fi
5805 fi
5806 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5807 if test -n "$ac_ct_CXX"; then
5808   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5809 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5810 else
5811   { echo "$as_me:$LINENO: result: no" >&5
5812 echo "${ECHO_T}no" >&6; }
5813 fi
5814
5815
5816   test -n "$ac_ct_CXX" && break
5817 done
5818
5819   if test "x$ac_ct_CXX" = x; then
5820     CXX="g++"
5821   else
5822     case $cross_compiling:$ac_tool_warned in
5823 yes:)
5824 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5825 whose name does not start with the host triplet.  If you think this
5826 configuration is useful to you, please write to autoconf@gnu.org." >&5
5827 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5828 whose name does not start with the host triplet.  If you think this
5829 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5830 ac_tool_warned=yes ;;
5831 esac
5832     CXX=$ac_ct_CXX
5833   fi
5834 fi
5835
5836   fi
5837 fi
5838 # Provide some information about the compiler.
5839 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5840 ac_compiler=`set X $ac_compile; echo $2`
5841 { (ac_try="$ac_compiler --version >&5"
5842 case "(($ac_try" in
5843   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5844   *) ac_try_echo=$ac_try;;
5845 esac
5846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5847   (eval "$ac_compiler --version >&5") 2>&5
5848   ac_status=$?
5849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5850   (exit $ac_status); }
5851 { (ac_try="$ac_compiler -v >&5"
5852 case "(($ac_try" in
5853   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5854   *) ac_try_echo=$ac_try;;
5855 esac
5856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5857   (eval "$ac_compiler -v >&5") 2>&5
5858   ac_status=$?
5859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5860   (exit $ac_status); }
5861 { (ac_try="$ac_compiler -V >&5"
5862 case "(($ac_try" in
5863   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5864   *) ac_try_echo=$ac_try;;
5865 esac
5866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5867   (eval "$ac_compiler -V >&5") 2>&5
5868   ac_status=$?
5869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5870   (exit $ac_status); }
5871
5872 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5873 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5874 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5875   echo $ECHO_N "(cached) $ECHO_C" >&6
5876 else
5877   cat >conftest.$ac_ext <<_ACEOF
5878 /* confdefs.h.  */
5879 _ACEOF
5880 cat confdefs.h >>conftest.$ac_ext
5881 cat >>conftest.$ac_ext <<_ACEOF
5882 /* end confdefs.h.  */
5883
5884 int
5885 main ()
5886 {
5887 #ifndef __GNUC__
5888        choke me
5889 #endif
5890
5891   ;
5892   return 0;
5893 }
5894 _ACEOF
5895 rm -f conftest.$ac_objext
5896 if { (ac_try="$ac_compile"
5897 case "(($ac_try" in
5898   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5899   *) ac_try_echo=$ac_try;;
5900 esac
5901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5902   (eval "$ac_compile") 2>conftest.er1
5903   ac_status=$?
5904   grep -v '^ *+' conftest.er1 >conftest.err
5905   rm -f conftest.er1
5906   cat conftest.err >&5
5907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5908   (exit $ac_status); } && {
5909          test -z "$ac_cxx_werror_flag" ||
5910          test ! -s conftest.err
5911        } && test -s conftest.$ac_objext; then
5912   ac_compiler_gnu=yes
5913 else
5914   echo "$as_me: failed program was:" >&5
5915 sed 's/^/| /' conftest.$ac_ext >&5
5916
5917         ac_compiler_gnu=no
5918 fi
5919
5920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5921 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5922
5923 fi
5924 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5925 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5926 GXX=`test $ac_compiler_gnu = yes && echo yes`
5927 ac_test_CXXFLAGS=${CXXFLAGS+set}
5928 ac_save_CXXFLAGS=$CXXFLAGS
5929 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5930 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5931 if test "${ac_cv_prog_cxx_g+set}" = set; then
5932   echo $ECHO_N "(cached) $ECHO_C" >&6
5933 else
5934   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5935    ac_cxx_werror_flag=yes
5936    ac_cv_prog_cxx_g=no
5937    CXXFLAGS="-g"
5938    cat >conftest.$ac_ext <<_ACEOF
5939 /* confdefs.h.  */
5940 _ACEOF
5941 cat confdefs.h >>conftest.$ac_ext
5942 cat >>conftest.$ac_ext <<_ACEOF
5943 /* end confdefs.h.  */
5944
5945 int
5946 main ()
5947 {
5948
5949   ;
5950   return 0;
5951 }
5952 _ACEOF
5953 rm -f conftest.$ac_objext
5954 if { (ac_try="$ac_compile"
5955 case "(($ac_try" in
5956   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5957   *) ac_try_echo=$ac_try;;
5958 esac
5959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5960   (eval "$ac_compile") 2>conftest.er1
5961   ac_status=$?
5962   grep -v '^ *+' conftest.er1 >conftest.err
5963   rm -f conftest.er1
5964   cat conftest.err >&5
5965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5966   (exit $ac_status); } && {
5967          test -z "$ac_cxx_werror_flag" ||
5968          test ! -s conftest.err
5969        } && test -s conftest.$ac_objext; then
5970   ac_cv_prog_cxx_g=yes
5971 else
5972   echo "$as_me: failed program was:" >&5
5973 sed 's/^/| /' conftest.$ac_ext >&5
5974
5975         CXXFLAGS=""
5976       cat >conftest.$ac_ext <<_ACEOF
5977 /* confdefs.h.  */
5978 _ACEOF
5979 cat confdefs.h >>conftest.$ac_ext
5980 cat >>conftest.$ac_ext <<_ACEOF
5981 /* end confdefs.h.  */
5982
5983 int
5984 main ()
5985 {
5986
5987   ;
5988   return 0;
5989 }
5990 _ACEOF
5991 rm -f conftest.$ac_objext
5992 if { (ac_try="$ac_compile"
5993 case "(($ac_try" in
5994   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5995   *) ac_try_echo=$ac_try;;
5996 esac
5997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5998   (eval "$ac_compile") 2>conftest.er1
5999   ac_status=$?
6000   grep -v '^ *+' conftest.er1 >conftest.err
6001   rm -f conftest.er1
6002   cat conftest.err >&5
6003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6004   (exit $ac_status); } && {
6005          test -z "$ac_cxx_werror_flag" ||
6006          test ! -s conftest.err
6007        } && test -s conftest.$ac_objext; then
6008   :
6009 else
6010   echo "$as_me: failed program was:" >&5
6011 sed 's/^/| /' conftest.$ac_ext >&5
6012
6013         ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6014          CXXFLAGS="-g"
6015          cat >conftest.$ac_ext <<_ACEOF
6016 /* confdefs.h.  */
6017 _ACEOF
6018 cat confdefs.h >>conftest.$ac_ext
6019 cat >>conftest.$ac_ext <<_ACEOF
6020 /* end confdefs.h.  */
6021
6022 int
6023 main ()
6024 {
6025
6026   ;
6027   return 0;
6028 }
6029 _ACEOF
6030 rm -f conftest.$ac_objext
6031 if { (ac_try="$ac_compile"
6032 case "(($ac_try" in
6033   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6034   *) ac_try_echo=$ac_try;;
6035 esac
6036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6037   (eval "$ac_compile") 2>conftest.er1
6038   ac_status=$?
6039   grep -v '^ *+' conftest.er1 >conftest.err
6040   rm -f conftest.er1
6041   cat conftest.err >&5
6042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6043   (exit $ac_status); } && {
6044          test -z "$ac_cxx_werror_flag" ||
6045          test ! -s conftest.err
6046        } && test -s conftest.$ac_objext; then
6047   ac_cv_prog_cxx_g=yes
6048 else
6049   echo "$as_me: failed program was:" >&5
6050 sed 's/^/| /' conftest.$ac_ext >&5
6051
6052
6053 fi
6054
6055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6056 fi
6057
6058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6059 fi
6060
6061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6062    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6063 fi
6064 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6065 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
6066 if test "$ac_test_CXXFLAGS" = set; then
6067   CXXFLAGS=$ac_save_CXXFLAGS
6068 elif test $ac_cv_prog_cxx_g = yes; then
6069   if test "$GXX" = yes; then
6070     CXXFLAGS="-g -O2"
6071   else
6072     CXXFLAGS="-g"
6073   fi
6074 else
6075   if test "$GXX" = yes; then
6076     CXXFLAGS="-O2"
6077   else
6078     CXXFLAGS=
6079   fi
6080 fi
6081 ac_ext=cpp
6082 ac_cpp='$CXXCPP $CPPFLAGS'
6083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6086
6087 depcc="$CXX"  am_compiler_list=
6088
6089 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6090 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
6091 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6092   echo $ECHO_N "(cached) $ECHO_C" >&6
6093 else
6094   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6095   # We make a subdir and do the tests there.  Otherwise we can end up
6096   # making bogus files that we don't know about and never remove.  For
6097   # instance it was reported that on HP-UX the gcc test will end up
6098   # making a dummy file named `D' -- because `-MD' means `put the output
6099   # in D'.
6100   mkdir conftest.dir
6101   # Copy depcomp to subdir because otherwise we won't find it if we're
6102   # using a relative directory.
6103   cp "$am_depcomp" conftest.dir
6104   cd conftest.dir
6105   # We will build objects and dependencies in a subdirectory because
6106   # it helps to detect inapplicable dependency modes.  For instance
6107   # both Tru64's cc and ICC support -MD to output dependencies as a
6108   # side effect of compilation, but ICC will put the dependencies in
6109   # the current directory while Tru64 will put them in the object
6110   # directory.
6111   mkdir sub
6112
6113   am_cv_CXX_dependencies_compiler_type=none
6114   if test "$am_compiler_list" = ""; then
6115      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6116   fi
6117   for depmode in $am_compiler_list; do
6118     # Setup a source with many dependencies, because some compilers
6119     # like to wrap large dependency lists on column 80 (with \), and
6120     # we should not choose a depcomp mode which is confused by this.
6121     #
6122     # We need to recreate these files for each test, as the compiler may
6123     # overwrite some of them when testing with obscure command lines.
6124     # This happens at least with the AIX C compiler.
6125     : > sub/conftest.c
6126     for i in 1 2 3 4 5 6; do
6127       echo '#include "conftst'$i'.h"' >> sub/conftest.c
6128       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6129       # Solaris 8's {/usr,}/bin/sh.
6130       touch sub/conftst$i.h
6131     done
6132     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6133
6134     case $depmode in
6135     nosideeffect)
6136       # after this tag, mechanisms are not by side-effect, so they'll
6137       # only be used when explicitly requested
6138       if test "x$enable_dependency_tracking" = xyes; then
6139         continue
6140       else
6141         break
6142       fi
6143       ;;
6144     none) break ;;
6145     esac
6146     # We check with `-c' and `-o' for the sake of the "dashmstdout"
6147     # mode.  It turns out that the SunPro C++ compiler does not properly
6148     # handle `-M -o', and we need to detect this.
6149     if depmode=$depmode \
6150        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6151        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6152        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6153          >/dev/null 2>conftest.err &&
6154        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6155        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6156        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6157        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6158       # icc doesn't choke on unknown options, it will just issue warnings
6159       # or remarks (even with -Werror).  So we grep stderr for any message
6160       # that says an option was ignored or not supported.
6161       # When given -MP, icc 7.0 and 7.1 complain thusly:
6162       #   icc: Command line warning: ignoring option '-M'; no argument required
6163       # The diagnosis changed in icc 8.0:
6164       #   icc: Command line remark: option '-MP' not supported
6165       if (grep 'ignoring option' conftest.err ||
6166           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6167         am_cv_CXX_dependencies_compiler_type=$depmode
6168         break
6169       fi
6170     fi
6171   done
6172
6173   cd ..
6174   rm -rf conftest.dir
6175 else
6176   am_cv_CXX_dependencies_compiler_type=none
6177 fi
6178
6179 fi
6180 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6181 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
6182 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6183
6184  if
6185   test "x$enable_dependency_tracking" != xno \
6186   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6187   am__fastdepCXX_TRUE=
6188   am__fastdepCXX_FALSE='#'
6189 else
6190   am__fastdepCXX_TRUE='#'
6191   am__fastdepCXX_FALSE=
6192 fi
6193
6194
6195
6196
6197 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6198     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6199     (test "X$CXX" != "Xg++"))) ; then
6200   ac_ext=cpp
6201 ac_cpp='$CXXCPP $CPPFLAGS'
6202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6205 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6206 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
6207 if test -z "$CXXCPP"; then
6208   if test "${ac_cv_prog_CXXCPP+set}" = set; then
6209   echo $ECHO_N "(cached) $ECHO_C" >&6
6210 else
6211       # Double quotes because CXXCPP needs to be expanded
6212     for CXXCPP in "$CXX -E" "/lib/cpp"
6213     do
6214       ac_preproc_ok=false
6215 for ac_cxx_preproc_warn_flag in '' yes
6216 do
6217   # Use a header file that comes with gcc, so configuring glibc
6218   # with a fresh cross-compiler works.
6219   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6220   # <limits.h> exists even on freestanding compilers.
6221   # On the NeXT, cc -E runs the code through the compiler's parser,
6222   # not just through cpp. "Syntax error" is here to catch this case.
6223   cat >conftest.$ac_ext <<_ACEOF
6224 /* confdefs.h.  */
6225 _ACEOF
6226 cat confdefs.h >>conftest.$ac_ext
6227 cat >>conftest.$ac_ext <<_ACEOF
6228 /* end confdefs.h.  */
6229 #ifdef __STDC__
6230 # include <limits.h>
6231 #else
6232 # include <assert.h>
6233 #endif
6234                      Syntax error
6235 _ACEOF
6236 if { (ac_try="$ac_cpp conftest.$ac_ext"
6237 case "(($ac_try" in
6238   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6239   *) ac_try_echo=$ac_try;;
6240 esac
6241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6242   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6243   ac_status=$?
6244   grep -v '^ *+' conftest.er1 >conftest.err
6245   rm -f conftest.er1
6246   cat conftest.err >&5
6247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6248   (exit $ac_status); } >/dev/null && {
6249          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6250          test ! -s conftest.err
6251        }; then
6252   :
6253 else
6254   echo "$as_me: failed program was:" >&5
6255 sed 's/^/| /' conftest.$ac_ext >&5
6256
6257   # Broken: fails on valid input.
6258 continue
6259 fi
6260
6261 rm -f conftest.err conftest.$ac_ext
6262
6263   # OK, works on sane cases.  Now check whether nonexistent headers
6264   # can be detected and how.
6265   cat >conftest.$ac_ext <<_ACEOF
6266 /* confdefs.h.  */
6267 _ACEOF
6268 cat confdefs.h >>conftest.$ac_ext
6269 cat >>conftest.$ac_ext <<_ACEOF
6270 /* end confdefs.h.  */
6271 #include <ac_nonexistent.h>
6272 _ACEOF
6273 if { (ac_try="$ac_cpp conftest.$ac_ext"
6274 case "(($ac_try" in
6275   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6276   *) ac_try_echo=$ac_try;;
6277 esac
6278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6279   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6280   ac_status=$?
6281   grep -v '^ *+' conftest.er1 >conftest.err
6282   rm -f conftest.er1
6283   cat conftest.err >&5
6284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6285   (exit $ac_status); } >/dev/null && {
6286          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6287          test ! -s conftest.err
6288        }; then
6289   # Broken: success on invalid input.
6290 continue
6291 else
6292   echo "$as_me: failed program was:" >&5
6293 sed 's/^/| /' conftest.$ac_ext >&5
6294
6295   # Passes both tests.
6296 ac_preproc_ok=:
6297 break
6298 fi
6299
6300 rm -f conftest.err conftest.$ac_ext
6301
6302 done
6303 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6304 rm -f conftest.err conftest.$ac_ext
6305 if $ac_preproc_ok; then
6306   break
6307 fi
6308
6309     done
6310     ac_cv_prog_CXXCPP=$CXXCPP
6311
6312 fi
6313   CXXCPP=$ac_cv_prog_CXXCPP
6314 else
6315   ac_cv_prog_CXXCPP=$CXXCPP
6316 fi
6317 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
6318 echo "${ECHO_T}$CXXCPP" >&6; }
6319 ac_preproc_ok=false
6320 for ac_cxx_preproc_warn_flag in '' yes
6321 do
6322   # Use a header file that comes with gcc, so configuring glibc
6323   # with a fresh cross-compiler works.
6324   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6325   # <limits.h> exists even on freestanding compilers.
6326   # On the NeXT, cc -E runs the code through the compiler's parser,
6327   # not just through cpp. "Syntax error" is here to catch this case.
6328   cat >conftest.$ac_ext <<_ACEOF
6329 /* confdefs.h.  */
6330 _ACEOF
6331 cat confdefs.h >>conftest.$ac_ext
6332 cat >>conftest.$ac_ext <<_ACEOF
6333 /* end confdefs.h.  */
6334 #ifdef __STDC__
6335 # include <limits.h>
6336 #else
6337 # include <assert.h>
6338 #endif
6339                      Syntax error
6340 _ACEOF
6341 if { (ac_try="$ac_cpp conftest.$ac_ext"
6342 case "(($ac_try" in
6343   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6344   *) ac_try_echo=$ac_try;;
6345 esac
6346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6347   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6348   ac_status=$?
6349   grep -v '^ *+' conftest.er1 >conftest.err
6350   rm -f conftest.er1
6351   cat conftest.err >&5
6352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6353   (exit $ac_status); } >/dev/null && {
6354          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6355          test ! -s conftest.err
6356        }; then
6357   :
6358 else
6359   echo "$as_me: failed program was:" >&5
6360 sed 's/^/| /' conftest.$ac_ext >&5
6361
6362   # Broken: fails on valid input.
6363 continue
6364 fi
6365
6366 rm -f conftest.err conftest.$ac_ext
6367
6368   # OK, works on sane cases.  Now check whether nonexistent headers
6369   # can be detected and how.
6370   cat >conftest.$ac_ext <<_ACEOF
6371 /* confdefs.h.  */
6372 _ACEOF
6373 cat confdefs.h >>conftest.$ac_ext
6374 cat >>conftest.$ac_ext <<_ACEOF
6375 /* end confdefs.h.  */
6376 #include <ac_nonexistent.h>
6377 _ACEOF
6378 if { (ac_try="$ac_cpp conftest.$ac_ext"
6379 case "(($ac_try" in
6380   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6381   *) ac_try_echo=$ac_try;;
6382 esac
6383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6384   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6385   ac_status=$?
6386   grep -v '^ *+' conftest.er1 >conftest.err
6387   rm -f conftest.er1
6388   cat conftest.err >&5
6389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6390   (exit $ac_status); } >/dev/null && {
6391          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6392          test ! -s conftest.err
6393        }; then
6394   # Broken: success on invalid input.
6395 continue
6396 else
6397   echo "$as_me: failed program was:" >&5
6398 sed 's/^/| /' conftest.$ac_ext >&5
6399
6400   # Passes both tests.
6401 ac_preproc_ok=:
6402 break
6403 fi
6404
6405 rm -f conftest.err conftest.$ac_ext
6406
6407 done
6408 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6409 rm -f conftest.err conftest.$ac_ext
6410 if $ac_preproc_ok; then
6411   :
6412 else
6413   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6414 See \`config.log' for more details." >&5
6415 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6416 See \`config.log' for more details." >&2;}
6417    { (exit 1); exit 1; }; }
6418 fi
6419
6420 ac_ext=cpp
6421 ac_cpp='$CXXCPP $CPPFLAGS'
6422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6425
6426 fi
6427
6428
6429 ac_ext=f
6430 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6431 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6432 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
6433 if test -n "$ac_tool_prefix"; then
6434   for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
6435   do
6436     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6437 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6438 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6440 if test "${ac_cv_prog_F77+set}" = set; then
6441   echo $ECHO_N "(cached) $ECHO_C" >&6
6442 else
6443   if test -n "$F77"; then
6444   ac_cv_prog_F77="$F77" # Let the user override the test.
6445 else
6446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6447 for as_dir in $PATH
6448 do
6449   IFS=$as_save_IFS
6450   test -z "$as_dir" && as_dir=.
6451   for ac_exec_ext in '' $ac_executable_extensions; do
6452   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6453     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
6454     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6455     break 2
6456   fi
6457 done
6458 done
6459 IFS=$as_save_IFS
6460
6461 fi
6462 fi
6463 F77=$ac_cv_prog_F77
6464 if test -n "$F77"; then
6465   { echo "$as_me:$LINENO: result: $F77" >&5
6466 echo "${ECHO_T}$F77" >&6; }
6467 else
6468   { echo "$as_me:$LINENO: result: no" >&5
6469 echo "${ECHO_T}no" >&6; }
6470 fi
6471
6472
6473     test -n "$F77" && break
6474   done
6475 fi
6476 if test -z "$F77"; then
6477   ac_ct_F77=$F77
6478   for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
6479 do
6480   # Extract the first word of "$ac_prog", so it can be a program name with args.
6481 set dummy $ac_prog; ac_word=$2
6482 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6484 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6485   echo $ECHO_N "(cached) $ECHO_C" >&6
6486 else
6487   if test -n "$ac_ct_F77"; then
6488   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
6489 else
6490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6491 for as_dir in $PATH
6492 do
6493   IFS=$as_save_IFS
6494   test -z "$as_dir" && as_dir=.
6495   for ac_exec_ext in '' $ac_executable_extensions; do
6496   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6497     ac_cv_prog_ac_ct_F77="$ac_prog"
6498     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6499     break 2
6500   fi
6501 done
6502 done
6503 IFS=$as_save_IFS
6504
6505 fi
6506 fi
6507 ac_ct_F77=$ac_cv_prog_ac_ct_F77
6508 if test -n "$ac_ct_F77"; then
6509   { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6510 echo "${ECHO_T}$ac_ct_F77" >&6; }
6511 else
6512   { echo "$as_me:$LINENO: result: no" >&5
6513 echo "${ECHO_T}no" >&6; }
6514 fi
6515
6516
6517   test -n "$ac_ct_F77" && break
6518 done
6519
6520   if test "x$ac_ct_F77" = x; then
6521     F77=""
6522   else
6523     case $cross_compiling:$ac_tool_warned in
6524 yes:)
6525 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6526 whose name does not start with the host triplet.  If you think this
6527 configuration is useful to you, please write to autoconf@gnu.org." >&5
6528 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6529 whose name does not start with the host triplet.  If you think this
6530 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6531 ac_tool_warned=yes ;;
6532 esac
6533     F77=$ac_ct_F77
6534   fi
6535 fi
6536
6537
6538 # Provide some information about the compiler.
6539 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6540 ac_compiler=`set X $ac_compile; echo $2`
6541 { (ac_try="$ac_compiler --version >&5"
6542 case "(($ac_try" in
6543   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6544   *) ac_try_echo=$ac_try;;
6545 esac
6546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6547   (eval "$ac_compiler --version >&5") 2>&5
6548   ac_status=$?
6549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6550   (exit $ac_status); }
6551 { (ac_try="$ac_compiler -v >&5"
6552 case "(($ac_try" in
6553   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6554   *) ac_try_echo=$ac_try;;
6555 esac
6556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6557   (eval "$ac_compiler -v >&5") 2>&5
6558   ac_status=$?
6559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6560   (exit $ac_status); }
6561 { (ac_try="$ac_compiler -V >&5"
6562 case "(($ac_try" in
6563   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6564   *) ac_try_echo=$ac_try;;
6565 esac
6566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6567   (eval "$ac_compiler -V >&5") 2>&5
6568   ac_status=$?
6569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6570   (exit $ac_status); }
6571 rm -f a.out
6572
6573 # If we don't use `.F' as extension, the preprocessor is not run on the
6574 # input file.  (Note that this only needs to work for GNU compilers.)
6575 ac_save_ext=$ac_ext
6576 ac_ext=F
6577 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6578 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6579 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6580   echo $ECHO_N "(cached) $ECHO_C" >&6
6581 else
6582   cat >conftest.$ac_ext <<_ACEOF
6583       program main
6584 #ifndef __GNUC__
6585        choke me
6586 #endif
6587
6588       end
6589 _ACEOF
6590 rm -f conftest.$ac_objext
6591 if { (ac_try="$ac_compile"
6592 case "(($ac_try" in
6593   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6594   *) ac_try_echo=$ac_try;;
6595 esac
6596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6597   (eval "$ac_compile") 2>conftest.er1
6598   ac_status=$?
6599   grep -v '^ *+' conftest.er1 >conftest.err
6600   rm -f conftest.er1
6601   cat conftest.err >&5
6602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6603   (exit $ac_status); } && {
6604          test -z "$ac_f77_werror_flag" ||
6605          test ! -s conftest.err
6606        } && test -s conftest.$ac_objext; then
6607   ac_compiler_gnu=yes
6608 else
6609   echo "$as_me: failed program was:" >&5
6610 sed 's/^/| /' conftest.$ac_ext >&5
6611
6612         ac_compiler_gnu=no
6613 fi
6614
6615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6616 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6617
6618 fi
6619 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6620 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6621 ac_ext=$ac_save_ext
6622 ac_test_FFLAGS=${FFLAGS+set}
6623 ac_save_FFLAGS=$FFLAGS
6624 FFLAGS=
6625 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6626 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6627 if test "${ac_cv_prog_f77_g+set}" = set; then
6628   echo $ECHO_N "(cached) $ECHO_C" >&6
6629 else
6630   FFLAGS=-g
6631 cat >conftest.$ac_ext <<_ACEOF
6632       program main
6633
6634       end
6635 _ACEOF
6636 rm -f conftest.$ac_objext
6637 if { (ac_try="$ac_compile"
6638 case "(($ac_try" in
6639   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6640   *) ac_try_echo=$ac_try;;
6641 esac
6642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6643   (eval "$ac_compile") 2>conftest.er1
6644   ac_status=$?
6645   grep -v '^ *+' conftest.er1 >conftest.err
6646   rm -f conftest.er1
6647   cat conftest.err >&5
6648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6649   (exit $ac_status); } && {
6650          test -z "$ac_f77_werror_flag" ||
6651          test ! -s conftest.err
6652        } && test -s conftest.$ac_objext; then
6653   ac_cv_prog_f77_g=yes
6654 else
6655   echo "$as_me: failed program was:" >&5
6656 sed 's/^/| /' conftest.$ac_ext >&5
6657
6658         ac_cv_prog_f77_g=no
6659 fi
6660
6661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6662
6663 fi
6664 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6665 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6666 if test "$ac_test_FFLAGS" = set; then
6667   FFLAGS=$ac_save_FFLAGS
6668 elif test $ac_cv_prog_f77_g = yes; then
6669   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6670     FFLAGS="-g -O2"
6671   else
6672     FFLAGS="-g"
6673   fi
6674 else
6675   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6676     FFLAGS="-O2"
6677   else
6678     FFLAGS=
6679   fi
6680 fi
6681
6682 G77=`test $ac_compiler_gnu = yes && echo yes`
6683 ac_ext=c
6684 ac_cpp='$CPP $CPPFLAGS'
6685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6688
6689
6690
6691 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6692
6693 # find the maximum length of command line arguments
6694 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6695 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6696 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6697   echo $ECHO_N "(cached) $ECHO_C" >&6
6698 else
6699     i=0
6700   teststring="ABCD"
6701
6702   case $build_os in
6703   msdosdjgpp*)
6704     # On DJGPP, this test can blow up pretty badly due to problems in libc
6705     # (any single argument exceeding 2000 bytes causes a buffer overrun
6706     # during glob expansion).  Even if it were fixed, the result of this
6707     # check would be larger than it should be.
6708     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6709     ;;
6710
6711   gnu*)
6712     # Under GNU Hurd, this test is not required because there is
6713     # no limit to the length of command line arguments.
6714     # Libtool will interpret -1 as no limit whatsoever
6715     lt_cv_sys_max_cmd_len=-1;
6716     ;;
6717
6718   cygwin* | mingw*)
6719     # On Win9x/ME, this test blows up -- it succeeds, but takes
6720     # about 5 minutes as the teststring grows exponentially.
6721     # Worse, since 9x/ME are not pre-emptively multitasking,
6722     # you end up with a "frozen" computer, even though with patience
6723     # the test eventually succeeds (with a max line length of 256k).
6724     # Instead, let's just punt: use the minimum linelength reported by
6725     # all of the supported platforms: 8192 (on NT/2K/XP).
6726     lt_cv_sys_max_cmd_len=8192;
6727     ;;
6728
6729   amigaos*)
6730     # On AmigaOS with pdksh, this test takes hours, literally.
6731     # So we just punt and use a minimum line length of 8192.
6732     lt_cv_sys_max_cmd_len=8192;
6733     ;;
6734
6735   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6736     # This has been around since 386BSD, at least.  Likely further.
6737     if test -x /sbin/sysctl; then
6738       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6739     elif test -x /usr/sbin/sysctl; then
6740       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6741     else
6742       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6743     fi
6744     # And add a safety zone
6745     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6746     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6747     ;;
6748
6749   interix*)
6750     # We know the value 262144 and hardcode it with a safety zone (like BSD)
6751     lt_cv_sys_max_cmd_len=196608
6752     ;;
6753
6754   osf*)
6755     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6756     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6757     # nice to cause kernel panics so lets avoid the loop below.
6758     # First set a reasonable default.
6759     lt_cv_sys_max_cmd_len=16384
6760     #
6761     if test -x /sbin/sysconfig; then
6762       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6763         *1*) lt_cv_sys_max_cmd_len=-1 ;;
6764       esac
6765     fi
6766     ;;
6767   sco3.2v5*)
6768     lt_cv_sys_max_cmd_len=102400
6769     ;;
6770   sysv5* | sco5v6* | sysv4.2uw2*)
6771     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6772     if test -n "$kargmax"; then
6773       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
6774     else
6775       lt_cv_sys_max_cmd_len=32768
6776     fi
6777     ;;
6778   *)
6779     # If test is not a shell built-in, we'll probably end up computing a
6780     # maximum length that is only half of the actual maximum length, but
6781     # we can't tell.
6782     SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6783     while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6784                = "XX$teststring") >/dev/null 2>&1 &&
6785             new_result=`expr "X$teststring" : ".*" 2>&1` &&
6786             lt_cv_sys_max_cmd_len=$new_result &&
6787             test $i != 17 # 1/2 MB should be enough
6788     do
6789       i=`expr $i + 1`
6790       teststring=$teststring$teststring
6791     done
6792     teststring=
6793     # Add a significant safety factor because C++ compilers can tack on massive
6794     # amounts of additional arguments before passing them to the linker.
6795     # It appears as though 1/2 is a usable value.
6796     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6797     ;;
6798   esac
6799
6800 fi
6801
6802 if test -n $lt_cv_sys_max_cmd_len ; then
6803   { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6804 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6805 else
6806   { echo "$as_me:$LINENO: result: none" >&5
6807 echo "${ECHO_T}none" >&6; }
6808 fi
6809
6810
6811
6812
6813 # Check for command to grab the raw symbol name followed by C symbol from nm.
6814 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6815 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6816 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6817   echo $ECHO_N "(cached) $ECHO_C" >&6
6818 else
6819
6820 # These are sane defaults that work on at least a few old systems.
6821 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6822
6823 # Character class describing NM global symbol codes.
6824 symcode='[BCDEGRST]'
6825
6826 # Regexp to match symbols that can be accessed directly from C.
6827 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6828
6829 # Transform an extracted symbol line into a proper C declaration
6830 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6831
6832 # Transform an extracted symbol line into symbol name and symbol address
6833 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
6834
6835 # Define system-specific variables.
6836 case $host_os in
6837 aix*)
6838   symcode='[BCDT]'
6839   ;;
6840 cygwin* | mingw* | pw32*)
6841   symcode='[ABCDGISTW]'
6842   ;;
6843 hpux*) # Its linker distinguishes data from code symbols
6844   if test "$host_cpu" = ia64; then
6845     symcode='[ABCDEGRST]'
6846   fi
6847   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6848   lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
6849   ;;
6850 linux*)
6851   if test "$host_cpu" = ia64; then
6852     symcode='[ABCDGIRSTW]'
6853     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6854     lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
6855   fi
6856   ;;
6857 irix* | nonstopux*)
6858   symcode='[BCDEGRST]'
6859   ;;
6860 osf*)
6861   symcode='[BCDEGQRST]'
6862   ;;
6863 solaris*)
6864   symcode='[BDRT]'
6865   ;;
6866 sco3.2v5*)
6867   symcode='[DT]'
6868   ;;
6869 sysv4.2uw2*)
6870   symcode='[DT]'
6871   ;;
6872 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6873   symcode='[ABDT]'
6874   ;;
6875 sysv4)
6876   symcode='[DFNSTU]'
6877   ;;
6878 esac
6879
6880 # Handle CRLF in mingw tool chain
6881 opt_cr=
6882 case $build_os in
6883 mingw*)
6884   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6885   ;;
6886 esac
6887
6888 # If we're using GNU nm, then use its standard symbol codes.
6889 case `$NM -V 2>&1` in
6890 *GNU* | *'with BFD'*)
6891   symcode='[ABCDGIRSTW]' ;;
6892 esac
6893
6894 # Try without a prefix undercore, then with it.
6895 for ac_symprfx in "" "_"; do
6896
6897   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6898   symxfrm="\\1 $ac_symprfx\\2 \\2"
6899
6900   # Write the raw and C identifiers.
6901   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6902
6903   # Check to see that the pipe works correctly.
6904   pipe_works=no
6905
6906   rm -f conftest*
6907   cat > conftest.$ac_ext <<EOF
6908 #ifdef __cplusplus
6909 extern "C" {
6910 #endif
6911 char nm_test_var;
6912 void nm_test_func(){}
6913 #ifdef __cplusplus
6914 }
6915 #endif
6916 int main(){nm_test_var='a';nm_test_func();return(0);}
6917 EOF
6918
6919   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6920   (eval $ac_compile) 2>&5
6921   ac_status=$?
6922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6923   (exit $ac_status); }; then
6924     # Now try to grab the symbols.
6925     nlist=conftest.nm
6926     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6927   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6928   ac_status=$?
6929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6930   (exit $ac_status); } && test -s "$nlist"; then
6931       # Try sorting and uniquifying the output.
6932       if sort "$nlist" | uniq > "$nlist"T; then
6933         mv -f "$nlist"T "$nlist"
6934       else
6935         rm -f "$nlist"T
6936       fi
6937
6938       # Make sure that we snagged all the symbols we need.
6939       if grep ' nm_test_var$' "$nlist" >/dev/null; then
6940         if grep ' nm_test_func$' "$nlist" >/dev/null; then
6941           cat <<EOF > conftest.$ac_ext
6942 #ifdef __cplusplus
6943 extern "C" {
6944 #endif
6945
6946 EOF
6947           # Now generate the symbol file.
6948           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6949
6950           cat <<EOF >> conftest.$ac_ext
6951 #if defined (__STDC__) && __STDC__
6952 # define lt_ptr_t void *
6953 #else
6954 # define lt_ptr_t char *
6955 # define const
6956 #endif
6957
6958 /* The mapping between symbol names and symbols. */
6959 const struct {
6960   const char *name;
6961   lt_ptr_t address;
6962 }
6963 lt_preloaded_symbols[] =
6964 {
6965 EOF
6966           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
6967           cat <<\EOF >> conftest.$ac_ext
6968   {0, (lt_ptr_t) 0}
6969 };
6970
6971 #ifdef __cplusplus
6972 }
6973 #endif
6974 EOF
6975           # Now try linking the two files.
6976           mv conftest.$ac_objext conftstm.$ac_objext
6977           lt_save_LIBS="$LIBS"
6978           lt_save_CFLAGS="$CFLAGS"
6979           LIBS="conftstm.$ac_objext"
6980           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6981           if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6982   (eval $ac_link) 2>&5
6983   ac_status=$?
6984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6985   (exit $ac_status); } && test -s conftest${ac_exeext}; then
6986             pipe_works=yes
6987           fi
6988           LIBS="$lt_save_LIBS"
6989           CFLAGS="$lt_save_CFLAGS"
6990         else
6991           echo "cannot find nm_test_func in $nlist" >&5
6992         fi
6993       else
6994         echo "cannot find nm_test_var in $nlist" >&5
6995       fi
6996     else
6997       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6998     fi
6999   else
7000     echo "$progname: failed program was:" >&5
7001     cat conftest.$ac_ext >&5
7002   fi
7003   rm -f conftest* conftst*
7004
7005   # Do not use the global_symbol_pipe unless it works.
7006   if test "$pipe_works" = yes; then
7007     break
7008   else
7009     lt_cv_sys_global_symbol_pipe=
7010   fi
7011 done
7012
7013 fi
7014
7015 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7016   lt_cv_sys_global_symbol_to_cdecl=
7017 fi
7018 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7019   { echo "$as_me:$LINENO: result: failed" >&5
7020 echo "${ECHO_T}failed" >&6; }
7021 else
7022   { echo "$as_me:$LINENO: result: ok" >&5
7023 echo "${ECHO_T}ok" >&6; }
7024 fi
7025
7026 { echo "$as_me:$LINENO: checking for objdir" >&5
7027 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
7028 if test "${lt_cv_objdir+set}" = set; then
7029   echo $ECHO_N "(cached) $ECHO_C" >&6
7030 else
7031   rm -f .libs 2>/dev/null
7032 mkdir .libs 2>/dev/null
7033 if test -d .libs; then
7034   lt_cv_objdir=.libs
7035 else
7036   # MS-DOS does not allow filenames that begin with a dot.
7037   lt_cv_objdir=_libs
7038 fi
7039 rmdir .libs 2>/dev/null
7040 fi
7041 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7042 echo "${ECHO_T}$lt_cv_objdir" >&6; }
7043 objdir=$lt_cv_objdir
7044
7045
7046
7047
7048
7049 case $host_os in
7050 aix3*)
7051   # AIX sometimes has problems with the GCC collect2 program.  For some
7052   # reason, if we set the COLLECT_NAMES environment variable, the problems
7053   # vanish in a puff of smoke.
7054   if test "X${COLLECT_NAMES+set}" != Xset; then
7055     COLLECT_NAMES=
7056     export COLLECT_NAMES
7057   fi
7058   ;;
7059 esac
7060
7061 # Sed substitution that helps us do robust quoting.  It backslashifies
7062 # metacharacters that are still active within double-quoted strings.
7063 Xsed='sed -e 1s/^X//'
7064 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
7065
7066 # Same as above, but do not quote variable references.
7067 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
7068
7069 # Sed substitution to delay expansion of an escaped shell variable in a
7070 # double_quote_subst'ed string.
7071 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7072
7073 # Sed substitution to avoid accidental globbing in evaled expressions
7074 no_glob_subst='s/\*/\\\*/g'
7075
7076 # Constants:
7077 rm="rm -f"
7078
7079 # Global variables:
7080 default_ofile=libtool
7081 can_build_shared=yes
7082
7083 # All known linkers require a `.a' archive for static linking (except MSVC,
7084 # which needs '.lib').
7085 libext=a
7086 ltmain="$ac_aux_dir/ltmain.sh"
7087 ofile="$default_ofile"
7088 with_gnu_ld="$lt_cv_prog_gnu_ld"
7089
7090 if test -n "$ac_tool_prefix"; then
7091   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7092 set dummy ${ac_tool_prefix}ar; ac_word=$2
7093 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7095 if test "${ac_cv_prog_AR+set}" = set; then
7096   echo $ECHO_N "(cached) $ECHO_C" >&6
7097 else
7098   if test -n "$AR"; then
7099   ac_cv_prog_AR="$AR" # Let the user override the test.
7100 else
7101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7102 for as_dir in $PATH
7103 do
7104   IFS=$as_save_IFS
7105   test -z "$as_dir" && as_dir=.
7106   for ac_exec_ext in '' $ac_executable_extensions; do
7107   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7108     ac_cv_prog_AR="${ac_tool_prefix}ar"
7109     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7110     break 2
7111   fi
7112 done
7113 done
7114 IFS=$as_save_IFS
7115
7116 fi
7117 fi
7118 AR=$ac_cv_prog_AR
7119 if test -n "$AR"; then
7120   { echo "$as_me:$LINENO: result: $AR" >&5
7121 echo "${ECHO_T}$AR" >&6; }
7122 else
7123   { echo "$as_me:$LINENO: result: no" >&5
7124 echo "${ECHO_T}no" >&6; }
7125 fi
7126
7127
7128 fi
7129 if test -z "$ac_cv_prog_AR"; then
7130   ac_ct_AR=$AR
7131   # Extract the first word of "ar", so it can be a program name with args.
7132 set dummy ar; ac_word=$2
7133 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7135 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7136   echo $ECHO_N "(cached) $ECHO_C" >&6
7137 else
7138   if test -n "$ac_ct_AR"; then
7139   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7140 else
7141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7142 for as_dir in $PATH
7143 do
7144   IFS=$as_save_IFS
7145   test -z "$as_dir" && as_dir=.
7146   for ac_exec_ext in '' $ac_executable_extensions; do
7147   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7148     ac_cv_prog_ac_ct_AR="ar"
7149     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7150     break 2
7151   fi
7152 done
7153 done
7154 IFS=$as_save_IFS
7155
7156 fi
7157 fi
7158 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7159 if test -n "$ac_ct_AR"; then
7160   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7161 echo "${ECHO_T}$ac_ct_AR" >&6; }
7162 else
7163   { echo "$as_me:$LINENO: result: no" >&5
7164 echo "${ECHO_T}no" >&6; }
7165 fi
7166
7167   if test "x$ac_ct_AR" = x; then
7168     AR="false"
7169   else
7170     case $cross_compiling:$ac_tool_warned in
7171 yes:)
7172 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7173 whose name does not start with the host triplet.  If you think this
7174 configuration is useful to you, please write to autoconf@gnu.org." >&5
7175 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7176 whose name does not start with the host triplet.  If you think this
7177 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7178 ac_tool_warned=yes ;;
7179 esac
7180     AR=$ac_ct_AR
7181   fi
7182 else
7183   AR="$ac_cv_prog_AR"
7184 fi
7185
7186 if test -n "$ac_tool_prefix"; then
7187   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7188 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7189 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7191 if test "${ac_cv_prog_RANLIB+set}" = set; then
7192   echo $ECHO_N "(cached) $ECHO_C" >&6
7193 else
7194   if test -n "$RANLIB"; then
7195   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7196 else
7197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7198 for as_dir in $PATH
7199 do
7200   IFS=$as_save_IFS
7201   test -z "$as_dir" && as_dir=.
7202   for ac_exec_ext in '' $ac_executable_extensions; do
7203   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7204     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7205     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7206     break 2
7207   fi
7208 done
7209 done
7210 IFS=$as_save_IFS
7211
7212 fi
7213 fi
7214 RANLIB=$ac_cv_prog_RANLIB
7215 if test -n "$RANLIB"; then
7216   { echo "$as_me:$LINENO: result: $RANLIB" >&5
7217 echo "${ECHO_T}$RANLIB" >&6; }
7218 else
7219   { echo "$as_me:$LINENO: result: no" >&5
7220 echo "${ECHO_T}no" >&6; }
7221 fi
7222
7223
7224 fi
7225 if test -z "$ac_cv_prog_RANLIB"; then
7226   ac_ct_RANLIB=$RANLIB
7227   # Extract the first word of "ranlib", so it can be a program name with args.
7228 set dummy ranlib; ac_word=$2
7229 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7231 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7232   echo $ECHO_N "(cached) $ECHO_C" >&6
7233 else
7234   if test -n "$ac_ct_RANLIB"; then
7235   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7236 else
7237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7238 for as_dir in $PATH
7239 do
7240   IFS=$as_save_IFS
7241   test -z "$as_dir" && as_dir=.
7242   for ac_exec_ext in '' $ac_executable_extensions; do
7243   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7244     ac_cv_prog_ac_ct_RANLIB="ranlib"
7245     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7246     break 2
7247   fi
7248 done
7249 done
7250 IFS=$as_save_IFS
7251
7252 fi
7253 fi
7254 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7255 if test -n "$ac_ct_RANLIB"; then
7256   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7257 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7258 else
7259   { echo "$as_me:$LINENO: result: no" >&5
7260 echo "${ECHO_T}no" >&6; }
7261 fi
7262
7263   if test "x$ac_ct_RANLIB" = x; then
7264     RANLIB=":"
7265   else
7266     case $cross_compiling:$ac_tool_warned in
7267 yes:)
7268 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7269 whose name does not start with the host triplet.  If you think this
7270 configuration is useful to you, please write to autoconf@gnu.org." >&5
7271 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7272 whose name does not start with the host triplet.  If you think this
7273 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7274 ac_tool_warned=yes ;;
7275 esac
7276     RANLIB=$ac_ct_RANLIB
7277   fi
7278 else
7279   RANLIB="$ac_cv_prog_RANLIB"
7280 fi
7281
7282 if test -n "$ac_tool_prefix"; then
7283   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7284 set dummy ${ac_tool_prefix}strip; ac_word=$2
7285 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7287 if test "${ac_cv_prog_STRIP+set}" = set; then
7288   echo $ECHO_N "(cached) $ECHO_C" >&6
7289 else
7290   if test -n "$STRIP"; then
7291   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7292 else
7293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7294 for as_dir in $PATH
7295 do
7296   IFS=$as_save_IFS
7297   test -z "$as_dir" && as_dir=.
7298   for ac_exec_ext in '' $ac_executable_extensions; do
7299   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7300     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7301     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7302     break 2
7303   fi
7304 done
7305 done
7306 IFS=$as_save_IFS
7307
7308 fi
7309 fi
7310 STRIP=$ac_cv_prog_STRIP
7311 if test -n "$STRIP"; then
7312   { echo "$as_me:$LINENO: result: $STRIP" >&5
7313 echo "${ECHO_T}$STRIP" >&6; }
7314 else
7315   { echo "$as_me:$LINENO: result: no" >&5
7316 echo "${ECHO_T}no" >&6; }
7317 fi
7318
7319
7320 fi
7321 if test -z "$ac_cv_prog_STRIP"; then
7322   ac_ct_STRIP=$STRIP
7323   # Extract the first word of "strip", so it can be a program name with args.
7324 set dummy strip; ac_word=$2
7325 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7327 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7328   echo $ECHO_N "(cached) $ECHO_C" >&6
7329 else
7330   if test -n "$ac_ct_STRIP"; then
7331   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7332 else
7333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7334 for as_dir in $PATH
7335 do
7336   IFS=$as_save_IFS
7337   test -z "$as_dir" && as_dir=.
7338   for ac_exec_ext in '' $ac_executable_extensions; do
7339   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7340     ac_cv_prog_ac_ct_STRIP="strip"
7341     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7342     break 2
7343   fi
7344 done
7345 done
7346 IFS=$as_save_IFS
7347
7348 fi
7349 fi
7350 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7351 if test -n "$ac_ct_STRIP"; then
7352   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7353 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7354 else
7355   { echo "$as_me:$LINENO: result: no" >&5
7356 echo "${ECHO_T}no" >&6; }
7357 fi
7358
7359   if test "x$ac_ct_STRIP" = x; then
7360     STRIP=":"
7361   else
7362     case $cross_compiling:$ac_tool_warned in
7363 yes:)
7364 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7365 whose name does not start with the host triplet.  If you think this
7366 configuration is useful to you, please write to autoconf@gnu.org." >&5
7367 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7368 whose name does not start with the host triplet.  If you think this
7369 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7370 ac_tool_warned=yes ;;
7371 esac
7372     STRIP=$ac_ct_STRIP
7373   fi
7374 else
7375   STRIP="$ac_cv_prog_STRIP"
7376 fi
7377
7378
7379 old_CC="$CC"
7380 old_CFLAGS="$CFLAGS"
7381
7382 # Set sane defaults for various variables
7383 test -z "$AR" && AR=ar
7384 test -z "$AR_FLAGS" && AR_FLAGS=cru
7385 test -z "$AS" && AS=as
7386 test -z "$CC" && CC=cc
7387 test -z "$LTCC" && LTCC=$CC
7388 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7389 test -z "$DLLTOOL" && DLLTOOL=dlltool
7390 test -z "$LD" && LD=ld
7391 test -z "$LN_S" && LN_S="ln -s"
7392 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7393 test -z "$NM" && NM=nm
7394 test -z "$SED" && SED=sed
7395 test -z "$OBJDUMP" && OBJDUMP=objdump
7396 test -z "$RANLIB" && RANLIB=:
7397 test -z "$STRIP" && STRIP=:
7398 test -z "$ac_objext" && ac_objext=o
7399
7400 # Determine commands to create old-style static archives.
7401 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
7402 old_postinstall_cmds='chmod 644 $oldlib'
7403 old_postuninstall_cmds=
7404
7405 if test -n "$RANLIB"; then
7406   case $host_os in
7407   openbsd*)
7408     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7409     ;;
7410   *)
7411     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7412     ;;
7413   esac
7414   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7415 fi
7416
7417 for cc_temp in $compiler""; do
7418   case $cc_temp in
7419     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7420     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7421     \-*) ;;
7422     *) break;;
7423   esac
7424 done
7425 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7426
7427
7428 # Only perform the check for file, if the check method requires it
7429 case $deplibs_check_method in
7430 file_magic*)
7431   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7432     { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7433 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7434 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7435   echo $ECHO_N "(cached) $ECHO_C" >&6
7436 else
7437   case $MAGIC_CMD in
7438 [\\/*] |  ?:[\\/]*)
7439   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7440   ;;
7441 *)
7442   lt_save_MAGIC_CMD="$MAGIC_CMD"
7443   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7444   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7445   for ac_dir in $ac_dummy; do
7446     IFS="$lt_save_ifs"
7447     test -z "$ac_dir" && ac_dir=.
7448     if test -f $ac_dir/${ac_tool_prefix}file; then
7449       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7450       if test -n "$file_magic_test_file"; then
7451         case $deplibs_check_method in
7452         "file_magic "*)
7453           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7454           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7455           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7456             $EGREP "$file_magic_regex" > /dev/null; then
7457             :
7458           else
7459             cat <<EOF 1>&2
7460
7461 *** Warning: the command libtool uses to detect shared libraries,
7462 *** $file_magic_cmd, produces output that libtool cannot recognize.
7463 *** The result is that libtool may fail to recognize shared libraries
7464 *** as such.  This will affect the creation of libtool libraries that
7465 *** depend on shared libraries, but programs linked with such libtool
7466 *** libraries will work regardless of this problem.  Nevertheless, you
7467 *** may want to report the problem to your system manager and/or to
7468 *** bug-libtool@gnu.org
7469
7470 EOF
7471           fi ;;
7472         esac
7473       fi
7474       break
7475     fi
7476   done
7477   IFS="$lt_save_ifs"
7478   MAGIC_CMD="$lt_save_MAGIC_CMD"
7479   ;;
7480 esac
7481 fi
7482
7483 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7484 if test -n "$MAGIC_CMD"; then
7485   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7486 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7487 else
7488   { echo "$as_me:$LINENO: result: no" >&5
7489 echo "${ECHO_T}no" >&6; }
7490 fi
7491
7492 if test -z "$lt_cv_path_MAGIC_CMD"; then
7493   if test -n "$ac_tool_prefix"; then
7494     { echo "$as_me:$LINENO: checking for file" >&5
7495 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7496 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7497   echo $ECHO_N "(cached) $ECHO_C" >&6
7498 else
7499   case $MAGIC_CMD in
7500 [\\/*] |  ?:[\\/]*)
7501   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7502   ;;
7503 *)
7504   lt_save_MAGIC_CMD="$MAGIC_CMD"
7505   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7506   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7507   for ac_dir in $ac_dummy; do
7508     IFS="$lt_save_ifs"
7509     test -z "$ac_dir" && ac_dir=.
7510     if test -f $ac_dir/file; then
7511       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7512       if test -n "$file_magic_test_file"; then
7513         case $deplibs_check_method in
7514         "file_magic "*)
7515           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7516           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7517           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7518             $EGREP "$file_magic_regex" > /dev/null; then
7519             :
7520           else
7521             cat <<EOF 1>&2
7522
7523 *** Warning: the command libtool uses to detect shared libraries,
7524 *** $file_magic_cmd, produces output that libtool cannot recognize.
7525 *** The result is that libtool may fail to recognize shared libraries
7526 *** as such.  This will affect the creation of libtool libraries that
7527 *** depend on shared libraries, but programs linked with such libtool
7528 *** libraries will work regardless of this problem.  Nevertheless, you
7529 *** may want to report the problem to your system manager and/or to
7530 *** bug-libtool@gnu.org
7531
7532 EOF
7533           fi ;;
7534         esac
7535       fi
7536       break
7537     fi
7538   done
7539   IFS="$lt_save_ifs"
7540   MAGIC_CMD="$lt_save_MAGIC_CMD"
7541   ;;
7542 esac
7543 fi
7544
7545 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7546 if test -n "$MAGIC_CMD"; then
7547   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7548 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7549 else
7550   { echo "$as_me:$LINENO: result: no" >&5
7551 echo "${ECHO_T}no" >&6; }
7552 fi
7553
7554   else
7555     MAGIC_CMD=:
7556   fi
7557 fi
7558
7559   fi
7560   ;;
7561 esac
7562
7563 enable_dlopen=no
7564 enable_win32_dll=yes
7565
7566 # Check whether --enable-libtool-lock was given.
7567 if test "${enable_libtool_lock+set}" = set; then
7568   enableval=$enable_libtool_lock;
7569 fi
7570
7571 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7572
7573
7574 # Check whether --with-pic was given.
7575 if test "${with_pic+set}" = set; then
7576   withval=$with_pic; pic_mode="$withval"
7577 else
7578   pic_mode=default
7579 fi
7580
7581 test -z "$pic_mode" && pic_mode=default
7582
7583 # Use C for the default configuration in the libtool script
7584 tagname=
7585 lt_save_CC="$CC"
7586 ac_ext=c
7587 ac_cpp='$CPP $CPPFLAGS'
7588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7591
7592
7593 # Source file extension for C test sources.
7594 ac_ext=c
7595
7596 # Object file extension for compiled C test sources.
7597 objext=o
7598 objext=$objext
7599
7600 # Code to be used in simple compile tests
7601 lt_simple_compile_test_code="int some_variable = 0;\n"
7602
7603 # Code to be used in simple link tests
7604 lt_simple_link_test_code='int main(){return(0);}\n'
7605
7606
7607 # If no C compiler was specified, use CC.
7608 LTCC=${LTCC-"$CC"}
7609
7610 # If no C compiler flags were specified, use CFLAGS.
7611 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7612
7613 # Allow CC to be a program name with arguments.
7614 compiler=$CC
7615
7616
7617 # save warnings/boilerplate of simple test code
7618 ac_outfile=conftest.$ac_objext
7619 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
7620 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7621 _lt_compiler_boilerplate=`cat conftest.err`
7622 $rm conftest*
7623
7624 ac_outfile=conftest.$ac_objext
7625 printf "$lt_simple_link_test_code" >conftest.$ac_ext
7626 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7627 _lt_linker_boilerplate=`cat conftest.err`
7628 $rm conftest*
7629
7630
7631
7632 lt_prog_compiler_no_builtin_flag=
7633
7634 if test "$GCC" = yes; then
7635   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7636
7637
7638 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7639 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7640 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7641   echo $ECHO_N "(cached) $ECHO_C" >&6
7642 else
7643   lt_cv_prog_compiler_rtti_exceptions=no
7644   ac_outfile=conftest.$ac_objext
7645    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7646    lt_compiler_flag="-fno-rtti -fno-exceptions"
7647    # Insert the option either (1) after the last *FLAGS variable, or
7648    # (2) before a word containing "conftest.", or (3) at the end.
7649    # Note that $ac_compile itself does not contain backslashes and begins
7650    # with a dollar sign (not a hyphen), so the echo should work correctly.
7651    # The option is referenced via a variable to avoid confusing sed.
7652    lt_compile=`echo "$ac_compile" | $SED \
7653    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7654    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7655    -e 's:$: $lt_compiler_flag:'`
7656    (eval echo "\"\$as_me:7656: $lt_compile\"" >&5)
7657    (eval "$lt_compile" 2>conftest.err)
7658    ac_status=$?
7659    cat conftest.err >&5
7660    echo "$as_me:7660: \$? = $ac_status" >&5
7661    if (exit $ac_status) && test -s "$ac_outfile"; then
7662      # The compiler can only warn and ignore the option if not recognized
7663      # So say no if there are warnings other than the usual output.
7664      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7665      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7666      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7667        lt_cv_prog_compiler_rtti_exceptions=yes
7668      fi
7669    fi
7670    $rm conftest*
7671
7672 fi
7673 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7674 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7675
7676 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7677     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7678 else
7679     :
7680 fi
7681
7682 fi
7683
7684 lt_prog_compiler_wl=
7685 lt_prog_compiler_pic=
7686 lt_prog_compiler_static=
7687
7688 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7689 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7690
7691   if test "$GCC" = yes; then
7692     lt_prog_compiler_wl='-Wl,'
7693     lt_prog_compiler_static='-static'
7694
7695     case $host_os in
7696       aix*)
7697       # All AIX code is PIC.
7698       if test "$host_cpu" = ia64; then
7699         # AIX 5 now supports IA64 processor
7700         lt_prog_compiler_static='-Bstatic'
7701       fi
7702       ;;
7703
7704     amigaos*)
7705       # FIXME: we need at least 68020 code to build shared libraries, but
7706       # adding the `-m68020' flag to GCC prevents building anything better,
7707       # like `-m68040'.
7708       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7709       ;;
7710
7711     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7712       # PIC is the default for these OSes.
7713       ;;
7714
7715     mingw* | pw32* | os2*)
7716       # This hack is so that the source file can tell whether it is being
7717       # built for inclusion in a dll (and should export symbols for example).
7718       lt_prog_compiler_pic='-DDLL_EXPORT'
7719       ;;
7720
7721     darwin* | rhapsody*)
7722       # PIC is the default on this platform
7723       # Common symbols not allowed in MH_DYLIB files
7724       lt_prog_compiler_pic='-fno-common'
7725       ;;
7726
7727     interix3*)
7728       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7729       # Instead, we relocate shared libraries at runtime.
7730       ;;
7731
7732     msdosdjgpp*)
7733       # Just because we use GCC doesn't mean we suddenly get shared libraries
7734       # on systems that don't support them.
7735       lt_prog_compiler_can_build_shared=no
7736       enable_shared=no
7737       ;;
7738
7739     sysv4*MP*)
7740       if test -d /usr/nec; then
7741         lt_prog_compiler_pic=-Kconform_pic
7742       fi
7743       ;;
7744
7745     hpux*)
7746       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7747       # not for PA HP-UX.
7748       case $host_cpu in
7749       hppa*64*|ia64*)
7750         # +Z the default
7751         ;;
7752       *)
7753         lt_prog_compiler_pic='-fPIC'
7754         ;;
7755       esac
7756       ;;
7757
7758     *)
7759       lt_prog_compiler_pic='-fPIC'
7760       ;;
7761     esac
7762   else
7763     # PORTME Check for flag to pass linker flags through the system compiler.
7764     case $host_os in
7765     aix*)
7766       lt_prog_compiler_wl='-Wl,'
7767       if test "$host_cpu" = ia64; then
7768         # AIX 5 now supports IA64 processor
7769         lt_prog_compiler_static='-Bstatic'
7770       else
7771         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7772       fi
7773       ;;
7774       darwin*)
7775         # PIC is the default on this platform
7776         # Common symbols not allowed in MH_DYLIB files
7777        case $cc_basename in
7778          xlc*)
7779          lt_prog_compiler_pic='-qnocommon'
7780          lt_prog_compiler_wl='-Wl,'
7781          ;;
7782        esac
7783        ;;
7784
7785     mingw* | pw32* | os2*)
7786       # This hack is so that the source file can tell whether it is being
7787       # built for inclusion in a dll (and should export symbols for example).
7788       lt_prog_compiler_pic='-DDLL_EXPORT'
7789       ;;
7790
7791     hpux9* | hpux10* | hpux11*)
7792       lt_prog_compiler_wl='-Wl,'
7793       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7794       # not for PA HP-UX.
7795       case $host_cpu in
7796       hppa*64*|ia64*)
7797         # +Z the default
7798         ;;
7799       *)
7800         lt_prog_compiler_pic='+Z'
7801         ;;
7802       esac
7803       # Is there a better lt_prog_compiler_static that works with the bundled CC?
7804       lt_prog_compiler_static='${wl}-a ${wl}archive'
7805       ;;
7806
7807     irix5* | irix6* | nonstopux*)
7808       lt_prog_compiler_wl='-Wl,'
7809       # PIC (with -KPIC) is the default.
7810       lt_prog_compiler_static='-non_shared'
7811       ;;
7812
7813     newsos6)
7814       lt_prog_compiler_pic='-KPIC'
7815       lt_prog_compiler_static='-Bstatic'
7816       ;;
7817
7818     linux*)
7819       case $cc_basename in
7820       icc* | ecc*)
7821         lt_prog_compiler_wl='-Wl,'
7822         lt_prog_compiler_pic='-KPIC'
7823         lt_prog_compiler_static='-static'
7824         ;;
7825       pgcc* | pgf77* | pgf90* | pgf95*)
7826         # Portland Group compilers (*not* the Pentium gcc compiler,
7827         # which looks to be a dead project)
7828         lt_prog_compiler_wl='-Wl,'
7829         lt_prog_compiler_pic='-fpic'
7830         lt_prog_compiler_static='-Bstatic'
7831         ;;
7832       ccc*)
7833         lt_prog_compiler_wl='-Wl,'
7834         # All Alpha code is PIC.
7835         lt_prog_compiler_static='-non_shared'
7836         ;;
7837       esac
7838       ;;
7839
7840     osf3* | osf4* | osf5*)
7841       lt_prog_compiler_wl='-Wl,'
7842       # All OSF/1 code is PIC.
7843       lt_prog_compiler_static='-non_shared'
7844       ;;
7845
7846     solaris*)
7847       lt_prog_compiler_pic='-KPIC'
7848       lt_prog_compiler_static='-Bstatic'
7849       case $cc_basename in
7850       f77* | f90* | f95*)
7851         lt_prog_compiler_wl='-Qoption ld ';;
7852       *)
7853         lt_prog_compiler_wl='-Wl,';;
7854       esac
7855       ;;
7856
7857     sunos4*)
7858       lt_prog_compiler_wl='-Qoption ld '
7859       lt_prog_compiler_pic='-PIC'
7860       lt_prog_compiler_static='-Bstatic'
7861       ;;
7862
7863     sysv4 | sysv4.2uw2* | sysv4.3*)
7864       lt_prog_compiler_wl='-Wl,'
7865       lt_prog_compiler_pic='-KPIC'
7866       lt_prog_compiler_static='-Bstatic'
7867       ;;
7868
7869     sysv4*MP*)
7870       if test -d /usr/nec ;then
7871         lt_prog_compiler_pic='-Kconform_pic'
7872         lt_prog_compiler_static='-Bstatic'
7873       fi
7874       ;;
7875
7876     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7877       lt_prog_compiler_wl='-Wl,'
7878       lt_prog_compiler_pic='-KPIC'
7879       lt_prog_compiler_static='-Bstatic'
7880       ;;
7881
7882     unicos*)
7883       lt_prog_compiler_wl='-Wl,'
7884       lt_prog_compiler_can_build_shared=no
7885       ;;
7886
7887     uts4*)
7888       lt_prog_compiler_pic='-pic'
7889       lt_prog_compiler_static='-Bstatic'
7890       ;;
7891
7892     *)
7893       lt_prog_compiler_can_build_shared=no
7894       ;;
7895     esac
7896   fi
7897
7898 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7899 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7900
7901 #
7902 # Check to make sure the PIC flag actually works.
7903 #
7904 if test -n "$lt_prog_compiler_pic"; then
7905
7906 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7907 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7908 if test "${lt_prog_compiler_pic_works+set}" = set; then
7909   echo $ECHO_N "(cached) $ECHO_C" >&6
7910 else
7911   lt_prog_compiler_pic_works=no
7912   ac_outfile=conftest.$ac_objext
7913    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7914    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7915    # Insert the option either (1) after the last *FLAGS variable, or
7916    # (2) before a word containing "conftest.", or (3) at the end.
7917    # Note that $ac_compile itself does not contain backslashes and begins
7918    # with a dollar sign (not a hyphen), so the echo should work correctly.
7919    # The option is referenced via a variable to avoid confusing sed.
7920    lt_compile=`echo "$ac_compile" | $SED \
7921    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7922    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7923    -e 's:$: $lt_compiler_flag:'`
7924    (eval echo "\"\$as_me:7924: $lt_compile\"" >&5)
7925    (eval "$lt_compile" 2>conftest.err)
7926    ac_status=$?
7927    cat conftest.err >&5
7928    echo "$as_me:7928: \$? = $ac_status" >&5
7929    if (exit $ac_status) && test -s "$ac_outfile"; then
7930      # The compiler can only warn and ignore the option if not recognized
7931      # So say no if there are warnings other than the usual output.
7932      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7933      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7934      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7935        lt_prog_compiler_pic_works=yes
7936      fi
7937    fi
7938    $rm conftest*
7939
7940 fi
7941 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7942 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7943
7944 if test x"$lt_prog_compiler_pic_works" = xyes; then
7945     case $lt_prog_compiler_pic in
7946      "" | " "*) ;;
7947      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7948      esac
7949 else
7950     lt_prog_compiler_pic=
7951      lt_prog_compiler_can_build_shared=no
7952 fi
7953
7954 fi
7955 case $host_os in
7956   # For platforms which do not support PIC, -DPIC is meaningless:
7957   *djgpp*)
7958     lt_prog_compiler_pic=
7959     ;;
7960   *)
7961     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7962     ;;
7963 esac
7964
7965 #
7966 # Check to make sure the static flag actually works.
7967 #
7968 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7969 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7970 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7971 if test "${lt_prog_compiler_static_works+set}" = set; then
7972   echo $ECHO_N "(cached) $ECHO_C" >&6
7973 else
7974   lt_prog_compiler_static_works=no
7975    save_LDFLAGS="$LDFLAGS"
7976    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7977    printf "$lt_simple_link_test_code" > conftest.$ac_ext
7978    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7979      # The linker can only warn and ignore the option if not recognized
7980      # So say no if there are warnings
7981      if test -s conftest.err; then
7982        # Append any errors to the config.log.
7983        cat conftest.err 1>&5
7984        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7985        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7986        if diff conftest.exp conftest.er2 >/dev/null; then
7987          lt_prog_compiler_static_works=yes
7988        fi
7989      else
7990        lt_prog_compiler_static_works=yes
7991      fi
7992    fi
7993    $rm conftest*
7994    LDFLAGS="$save_LDFLAGS"
7995
7996 fi
7997 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7998 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7999
8000 if test x"$lt_prog_compiler_static_works" = xyes; then
8001     :
8002 else
8003     lt_prog_compiler_static=
8004 fi
8005
8006
8007 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8008 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
8009 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8010   echo $ECHO_N "(cached) $ECHO_C" >&6
8011 else
8012   lt_cv_prog_compiler_c_o=no
8013    $rm -r conftest 2>/dev/null
8014    mkdir conftest
8015    cd conftest
8016    mkdir out
8017    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
8018
8019    lt_compiler_flag="-o out/conftest2.$ac_objext"
8020    # Insert the option either (1) after the last *FLAGS variable, or
8021    # (2) before a word containing "conftest.", or (3) at the end.
8022    # Note that $ac_compile itself does not contain backslashes and begins
8023    # with a dollar sign (not a hyphen), so the echo should work correctly.
8024    lt_compile=`echo "$ac_compile" | $SED \
8025    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8026    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8027    -e 's:$: $lt_compiler_flag:'`
8028    (eval echo "\"\$as_me:8028: $lt_compile\"" >&5)
8029    (eval "$lt_compile" 2>out/conftest.err)
8030    ac_status=$?
8031    cat out/conftest.err >&5
8032    echo "$as_me:8032: \$? = $ac_status" >&5
8033    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8034    then
8035      # The compiler can only warn and ignore the option if not recognized
8036      # So say no if there are warnings
8037      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8038      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8039      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8040        lt_cv_prog_compiler_c_o=yes
8041      fi
8042    fi
8043    chmod u+w . 2>&5
8044    $rm conftest*
8045    # SGI C++ compiler will create directory out/ii_files/ for
8046    # template instantiation
8047    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
8048    $rm out/* && rmdir out
8049    cd ..
8050    rmdir conftest
8051    $rm conftest*
8052
8053 fi
8054 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8055 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8056
8057
8058 hard_links="nottested"
8059 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8060   # do not overwrite the value of need_locks provided by the user
8061   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8062 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
8063   hard_links=yes
8064   $rm conftest*
8065   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8066   touch conftest.a
8067   ln conftest.a conftest.b 2>&5 || hard_links=no
8068   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8069   { echo "$as_me:$LINENO: result: $hard_links" >&5
8070 echo "${ECHO_T}$hard_links" >&6; }
8071   if test "$hard_links" = no; then
8072     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8073 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8074     need_locks=warn
8075   fi
8076 else
8077   need_locks=no
8078 fi
8079
8080 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8081 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
8082
8083   runpath_var=
8084   allow_undefined_flag=
8085   enable_shared_with_static_runtimes=no
8086   archive_cmds=
8087   archive_expsym_cmds=
8088   old_archive_From_new_cmds=
8089   old_archive_from_expsyms_cmds=
8090   export_dynamic_flag_spec=
8091   whole_archive_flag_spec=
8092   thread_safe_flag_spec=
8093   hardcode_libdir_flag_spec=
8094   hardcode_libdir_flag_spec_ld=
8095   hardcode_libdir_separator=
8096   hardcode_direct=no
8097   hardcode_minus_L=no
8098   hardcode_shlibpath_var=unsupported
8099   link_all_deplibs=unknown
8100   hardcode_automatic=no
8101   module_cmds=
8102   module_expsym_cmds=
8103   always_export_symbols=no
8104   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8105   # include_expsyms should be a list of space-separated symbols to be *always*
8106   # included in the symbol list
8107   include_expsyms=
8108   # exclude_expsyms can be an extended regexp of symbols to exclude
8109   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8110   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8111   # as well as any symbol that contains `d'.
8112   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
8113   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8114   # platforms (ab)use it in PIC code, but their linkers get confused if
8115   # the symbol is explicitly referenced.  Since portable code cannot
8116   # rely on this symbol name, it's probably fine to never include it in
8117   # preloaded symbol tables.
8118   extract_expsyms_cmds=
8119   # Just being paranoid about ensuring that cc_basename is set.
8120   for cc_temp in $compiler""; do
8121   case $cc_temp in
8122     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8123     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8124     \-*) ;;
8125     *) break;;
8126   esac
8127 done
8128 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8129
8130   case $host_os in
8131   cygwin* | mingw* | pw32*)
8132     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8133     # When not using gcc, we currently assume that we are using
8134     # Microsoft Visual C++.
8135     if test "$GCC" != yes; then
8136       with_gnu_ld=no
8137     fi
8138     ;;
8139   interix*)
8140     # we just hope/assume this is gcc and not c89 (= MSVC++)
8141     with_gnu_ld=yes
8142     ;;
8143   openbsd*)
8144     with_gnu_ld=no
8145     ;;
8146   esac
8147
8148   ld_shlibs=yes
8149   if test "$with_gnu_ld" = yes; then
8150     # If archive_cmds runs LD, not CC, wlarc should be empty
8151     wlarc='${wl}'
8152
8153     # Set some defaults for GNU ld with shared library support. These
8154     # are reset later if shared libraries are not supported. Putting them
8155     # here allows them to be overridden if necessary.
8156     runpath_var=LD_RUN_PATH
8157     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
8158     export_dynamic_flag_spec='${wl}--export-dynamic'
8159     # ancient GNU ld didn't support --whole-archive et. al.
8160     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
8161         whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8162       else
8163         whole_archive_flag_spec=
8164     fi
8165     supports_anon_versioning=no
8166     case `$LD -v 2>/dev/null` in
8167       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8168       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8169       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8170       *\ 2.11.*) ;; # other 2.11 versions
8171       *) supports_anon_versioning=yes ;;
8172     esac
8173
8174     # See if GNU ld supports shared libraries.
8175     case $host_os in
8176     aix3* | aix4* | aix5*)
8177       # On AIX/PPC, the GNU linker is very broken
8178       if test "$host_cpu" != ia64; then
8179         ld_shlibs=no
8180         cat <<EOF 1>&2
8181
8182 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8183 *** to be unable to reliably create shared libraries on AIX.
8184 *** Therefore, libtool is disabling shared libraries support.  If you
8185 *** really care for shared libraries, you may want to modify your PATH
8186 *** so that a non-GNU linker is found, and then restart.
8187
8188 EOF
8189       fi
8190       ;;
8191
8192     amigaos*)
8193       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)'
8194       hardcode_libdir_flag_spec='-L$libdir'
8195       hardcode_minus_L=yes
8196
8197       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8198       # that the semantics of dynamic libraries on AmigaOS, at least up
8199       # to version 4, is to share data among multiple programs linked
8200       # with the same dynamic library.  Since this doesn't match the
8201       # behavior of shared libraries on other platforms, we can't use
8202       # them.
8203       ld_shlibs=no
8204       ;;
8205
8206     beos*)
8207       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8208         allow_undefined_flag=unsupported
8209         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8210         # support --undefined.  This deserves some investigation.  FIXME
8211         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8212       else
8213         ld_shlibs=no
8214       fi
8215       ;;
8216
8217     cygwin* | mingw* | pw32*)
8218       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8219       # as there is no search path for DLLs.
8220       hardcode_libdir_flag_spec='-L$libdir'
8221       allow_undefined_flag=unsupported
8222       always_export_symbols=no
8223       enable_shared_with_static_runtimes=yes
8224       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
8225
8226       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
8227         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8228         # If the export-symbols file already is a .def file (1st line
8229         # is EXPORTS), use it as is; otherwise, prepend...
8230         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8231           cp $export_symbols $output_objdir/$soname.def;
8232         else
8233           echo EXPORTS > $output_objdir/$soname.def;
8234           cat $export_symbols >> $output_objdir/$soname.def;
8235         fi~
8236         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8237       else
8238         ld_shlibs=no
8239       fi
8240       ;;
8241
8242     interix3*)
8243       hardcode_direct=no
8244       hardcode_shlibpath_var=no
8245       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8246       export_dynamic_flag_spec='${wl}-E'
8247       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8248       # Instead, shared libraries are loaded at an image base (0x10000000 by
8249       # default) and relocated if they conflict, which is a slow very memory
8250       # consuming and fragmenting process.  To avoid this, we pick a random,
8251       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8252       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8253       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8254       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'
8255       ;;
8256
8257     linux*)
8258       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8259         tmp_addflag=
8260         case $cc_basename,$host_cpu in
8261         pgcc*)                          # Portland Group C compiler
8262           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'
8263           tmp_addflag=' $pic_flag'
8264           ;;
8265         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8266           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'
8267           tmp_addflag=' $pic_flag -Mnomain' ;;
8268         ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
8269           tmp_addflag=' -i_dynamic' ;;
8270         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8271           tmp_addflag=' -i_dynamic -nofor_main' ;;
8272         ifc* | ifort*)                  # Intel Fortran compiler
8273           tmp_addflag=' -nofor_main' ;;
8274         esac
8275         archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8276
8277         if test $supports_anon_versioning = yes; then
8278           archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
8279   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8280   $echo "local: *; };" >> $output_objdir/$libname.ver~
8281           $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8282         fi
8283       else
8284         ld_shlibs=no
8285       fi
8286       ;;
8287
8288     netbsd*)
8289       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8290         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8291         wlarc=
8292       else
8293         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8294         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8295       fi
8296       ;;
8297
8298     solaris*)
8299       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
8300         ld_shlibs=no
8301         cat <<EOF 1>&2
8302
8303 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8304 *** create shared libraries on Solaris systems.  Therefore, libtool
8305 *** is disabling shared libraries support.  We urge you to upgrade GNU
8306 *** binutils to release 2.9.1 or newer.  Another option is to modify
8307 *** your PATH or compiler configuration so that the native linker is
8308 *** used, and then restart.
8309
8310 EOF
8311       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8312         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8313         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8314       else
8315         ld_shlibs=no
8316       fi
8317       ;;
8318
8319     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8320       case `$LD -v 2>&1` in
8321         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8322         ld_shlibs=no
8323         cat <<_LT_EOF 1>&2
8324
8325 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8326 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8327 *** is disabling shared libraries support.  We urge you to upgrade GNU
8328 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8329 *** your PATH or compiler configuration so that the native linker is
8330 *** used, and then restart.
8331
8332 _LT_EOF
8333         ;;
8334         *)
8335           if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8336             hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8337             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8338             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8339           else
8340             ld_shlibs=no
8341           fi
8342         ;;
8343       esac
8344       ;;
8345
8346     sunos4*)
8347       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8348       wlarc=
8349       hardcode_direct=yes
8350       hardcode_shlibpath_var=no
8351       ;;
8352
8353     *)
8354       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8355         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8356         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8357       else
8358         ld_shlibs=no
8359       fi
8360       ;;
8361     esac
8362
8363     if test "$ld_shlibs" = no; then
8364       runpath_var=
8365       hardcode_libdir_flag_spec=
8366       export_dynamic_flag_spec=
8367       whole_archive_flag_spec=
8368     fi
8369   else
8370     # PORTME fill in a description of your system's linker (not GNU ld)
8371     case $host_os in
8372     aix3*)
8373       allow_undefined_flag=unsupported
8374       always_export_symbols=yes
8375       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'
8376       # Note: this linker hardcodes the directories in LIBPATH if there
8377       # are no directories specified by -L.
8378       hardcode_minus_L=yes
8379       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8380         # Neither direct hardcoding nor static linking is supported with a
8381         # broken collect2.
8382         hardcode_direct=unsupported
8383       fi
8384       ;;
8385
8386     aix4* | aix5*)
8387       if test "$host_cpu" = ia64; then
8388         # On IA64, the linker does run time linking by default, so we don't
8389         # have to do anything special.
8390         aix_use_runtimelinking=no
8391         exp_sym_flag='-Bexport'
8392         no_entry_flag=""
8393       else
8394         # If we're using GNU nm, then we don't want the "-C" option.
8395         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8396         if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
8397           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'
8398         else
8399           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'
8400         fi
8401         aix_use_runtimelinking=no
8402
8403         # Test if we are trying to use run time linking or normal
8404         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8405         # need to do runtime linking.
8406         case $host_os in aix4.[23]|aix4.[23].*|aix5*)
8407           for ld_flag in $LDFLAGS; do
8408           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8409             aix_use_runtimelinking=yes
8410             break
8411           fi
8412           done
8413           ;;
8414         esac
8415
8416         exp_sym_flag='-bexport'
8417         no_entry_flag='-bnoentry'
8418       fi
8419
8420       # When large executables or shared objects are built, AIX ld can
8421       # have problems creating the table of contents.  If linking a library
8422       # or program results in "error TOC overflow" add -mminimal-toc to
8423       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8424       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8425
8426       archive_cmds=''
8427       hardcode_direct=yes
8428       hardcode_libdir_separator=':'
8429       link_all_deplibs=yes
8430
8431       if test "$GCC" = yes; then
8432         case $host_os in aix4.[012]|aix4.[012].*)
8433         # We only want to do this on AIX 4.2 and lower, the check
8434         # below for broken collect2 doesn't work under 4.3+
8435           collect2name=`${CC} -print-prog-name=collect2`
8436           if test -f "$collect2name" && \
8437            strings "$collect2name" | grep resolve_lib_name >/dev/null
8438           then
8439           # We have reworked collect2
8440           hardcode_direct=yes
8441           else
8442           # We have old collect2
8443           hardcode_direct=unsupported
8444           # It fails to find uninstalled libraries when the uninstalled
8445           # path is not listed in the libpath.  Setting hardcode_minus_L
8446           # to unsupported forces relinking
8447           hardcode_minus_L=yes
8448           hardcode_libdir_flag_spec='-L$libdir'
8449           hardcode_libdir_separator=
8450           fi
8451           ;;
8452         esac
8453         shared_flag='-shared'
8454         if test "$aix_use_runtimelinking" = yes; then
8455           shared_flag="$shared_flag "'${wl}-G'
8456         fi
8457       else
8458         # not using gcc
8459         if test "$host_cpu" = ia64; then
8460         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8461         # chokes on -Wl,-G. The following line is correct:
8462           shared_flag='-G'
8463         else
8464           if test "$aix_use_runtimelinking" = yes; then
8465             shared_flag='${wl}-G'
8466           else
8467             shared_flag='${wl}-bM:SRE'
8468           fi
8469         fi
8470       fi
8471
8472       # It seems that -bexpall does not export symbols beginning with
8473       # underscore (_), so it is better to generate a list of symbols to export.
8474       always_export_symbols=yes
8475       if test "$aix_use_runtimelinking" = yes; then
8476         # Warning - without using the other runtime loading flags (-brtl),
8477         # -berok will link without error, but may produce a broken library.
8478         allow_undefined_flag='-berok'
8479        # Determine the default libpath from the value encoded in an empty executable.
8480        cat >conftest.$ac_ext <<_ACEOF
8481 /* confdefs.h.  */
8482 _ACEOF
8483 cat confdefs.h >>conftest.$ac_ext
8484 cat >>conftest.$ac_ext <<_ACEOF
8485 /* end confdefs.h.  */
8486
8487 int
8488 main ()
8489 {
8490
8491   ;
8492   return 0;
8493 }
8494 _ACEOF
8495 rm -f conftest.$ac_objext conftest$ac_exeext
8496 if { (ac_try="$ac_link"
8497 case "(($ac_try" in
8498   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8499   *) ac_try_echo=$ac_try;;
8500 esac
8501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8502   (eval "$ac_link") 2>conftest.er1
8503   ac_status=$?
8504   grep -v '^ *+' conftest.er1 >conftest.err
8505   rm -f conftest.er1
8506   cat conftest.err >&5
8507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8508   (exit $ac_status); } && {
8509          test -z "$ac_c_werror_flag" ||
8510          test ! -s conftest.err
8511        } && test -s conftest$ac_exeext &&
8512        $as_test_x conftest$ac_exeext; then
8513
8514 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
8515 }'`
8516 # Check for a 64-bit object if we didn't find anything.
8517 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
8518 }'`; fi
8519 else
8520   echo "$as_me: failed program was:" >&5
8521 sed 's/^/| /' conftest.$ac_ext >&5
8522
8523
8524 fi
8525
8526 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8527       conftest$ac_exeext conftest.$ac_ext
8528 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8529
8530        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8531         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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8532        else
8533         if test "$host_cpu" = ia64; then
8534           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8535           allow_undefined_flag="-z nodefs"
8536           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"
8537         else
8538          # Determine the default libpath from the value encoded in an empty executable.
8539          cat >conftest.$ac_ext <<_ACEOF
8540 /* confdefs.h.  */
8541 _ACEOF
8542 cat confdefs.h >>conftest.$ac_ext
8543 cat >>conftest.$ac_ext <<_ACEOF
8544 /* end confdefs.h.  */
8545
8546 int
8547 main ()
8548 {
8549
8550   ;
8551   return 0;
8552 }
8553 _ACEOF
8554 rm -f conftest.$ac_objext conftest$ac_exeext
8555 if { (ac_try="$ac_link"
8556 case "(($ac_try" in
8557   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8558   *) ac_try_echo=$ac_try;;
8559 esac
8560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8561   (eval "$ac_link") 2>conftest.er1
8562   ac_status=$?
8563   grep -v '^ *+' conftest.er1 >conftest.err
8564   rm -f conftest.er1
8565   cat conftest.err >&5
8566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8567   (exit $ac_status); } && {
8568          test -z "$ac_c_werror_flag" ||
8569          test ! -s conftest.err
8570        } && test -s conftest$ac_exeext &&
8571        $as_test_x conftest$ac_exeext; then
8572
8573 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
8574 }'`
8575 # Check for a 64-bit object if we didn't find anything.
8576 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
8577 }'`; fi
8578 else
8579   echo "$as_me: failed program was:" >&5
8580 sed 's/^/| /' conftest.$ac_ext >&5
8581
8582
8583 fi
8584
8585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8586       conftest$ac_exeext conftest.$ac_ext
8587 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8588
8589          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8590           # Warning - without using the other run time loading flags,
8591           # -berok will link without error, but may produce a broken library.
8592           no_undefined_flag=' ${wl}-bernotok'
8593           allow_undefined_flag=' ${wl}-berok'
8594           # Exported symbols can be pulled into shared objects from archives
8595           whole_archive_flag_spec='$convenience'
8596           archive_cmds_need_lc=yes
8597           # This is similar to how AIX traditionally builds its shared libraries.
8598           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'
8599         fi
8600       fi
8601       ;;
8602
8603     amigaos*)
8604       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)'
8605       hardcode_libdir_flag_spec='-L$libdir'
8606       hardcode_minus_L=yes
8607       # see comment about different semantics on the GNU ld section
8608       ld_shlibs=no
8609       ;;
8610
8611     bsdi[45]*)
8612       export_dynamic_flag_spec=-rdynamic
8613       ;;
8614
8615     cygwin* | mingw* | pw32*)
8616       # When not using gcc, we currently assume that we are using
8617       # Microsoft Visual C++.
8618       # hardcode_libdir_flag_spec is actually meaningless, as there is
8619       # no search path for DLLs.
8620       hardcode_libdir_flag_spec=' '
8621       allow_undefined_flag=unsupported
8622       # Tell ltmain to make .lib files, not .a files.
8623       libext=lib
8624       # Tell ltmain to make .dll files, not .so files.
8625       shrext_cmds=".dll"
8626       # FIXME: Setting linknames here is a bad hack.
8627       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8628       # The linker will automatically build a .lib file if we build a DLL.
8629       old_archive_From_new_cmds='true'
8630       # FIXME: Should let the user specify the lib program.
8631       old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
8632       fix_srcfile_path='`cygpath -w "$srcfile"`'
8633       enable_shared_with_static_runtimes=yes
8634       ;;
8635
8636     darwin* | rhapsody*)
8637       case $host_os in
8638         rhapsody* | darwin1.[012])
8639          allow_undefined_flag='${wl}-undefined ${wl}suppress'
8640          ;;
8641        *) # Darwin 1.3 on
8642          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8643            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8644          else
8645            case ${MACOSX_DEPLOYMENT_TARGET} in
8646              10.[012])
8647                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8648                ;;
8649              10.*)
8650                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8651                ;;
8652            esac
8653          fi
8654          ;;
8655       esac
8656       archive_cmds_need_lc=no
8657       hardcode_direct=no
8658       hardcode_automatic=yes
8659       hardcode_shlibpath_var=unsupported
8660       whole_archive_flag_spec=''
8661       link_all_deplibs=yes
8662     if test "$GCC" = yes ; then
8663         output_verbose_link_cmd='echo'
8664         archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8665       module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8666       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8667       archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8668       module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8669     else
8670       case $cc_basename in
8671         xlc*)
8672          output_verbose_link_cmd='echo'
8673          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8674          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8675           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8676          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8677           module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8678           ;;
8679        *)
8680          ld_shlibs=no
8681           ;;
8682       esac
8683     fi
8684       ;;
8685
8686     dgux*)
8687       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8688       hardcode_libdir_flag_spec='-L$libdir'
8689       hardcode_shlibpath_var=no
8690       ;;
8691
8692     freebsd1*)
8693       ld_shlibs=no
8694       ;;
8695
8696     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8697     # support.  Future versions do this automatically, but an explicit c++rt0.o
8698     # does not break anything, and helps significantly (at the cost of a little
8699     # extra space).
8700     freebsd2.2*)
8701       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8702       hardcode_libdir_flag_spec='-R$libdir'
8703       hardcode_direct=yes
8704       hardcode_shlibpath_var=no
8705       ;;
8706
8707     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8708     freebsd2*)
8709       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8710       hardcode_direct=yes
8711       hardcode_minus_L=yes
8712       hardcode_shlibpath_var=no
8713       ;;
8714
8715     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8716     freebsd* | kfreebsd*-gnu | dragonfly*)
8717       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8718       hardcode_libdir_flag_spec='-R$libdir'
8719       hardcode_direct=yes
8720       hardcode_shlibpath_var=no
8721       ;;
8722
8723     hpux9*)
8724       if test "$GCC" = yes; then
8725         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'
8726       else
8727         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'
8728       fi
8729       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8730       hardcode_libdir_separator=:
8731       hardcode_direct=yes
8732
8733       # hardcode_minus_L: Not really in the search PATH,
8734       # but as the default location of the library.
8735       hardcode_minus_L=yes
8736       export_dynamic_flag_spec='${wl}-E'
8737       ;;
8738
8739     hpux10*)
8740       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8741         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8742       else
8743         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8744       fi
8745       if test "$with_gnu_ld" = no; then
8746         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8747         hardcode_libdir_separator=:
8748
8749         hardcode_direct=yes
8750         export_dynamic_flag_spec='${wl}-E'
8751
8752         # hardcode_minus_L: Not really in the search PATH,
8753         # but as the default location of the library.
8754         hardcode_minus_L=yes
8755       fi
8756       ;;
8757
8758     hpux11*)
8759       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8760         case $host_cpu in
8761         hppa*64*)
8762           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8763           ;;
8764         ia64*)
8765           archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8766           ;;
8767         *)
8768           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8769           ;;
8770         esac
8771       else
8772         case $host_cpu in
8773         hppa*64*)
8774           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8775           ;;
8776         ia64*)
8777           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8778           ;;
8779         *)
8780           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8781           ;;
8782         esac
8783       fi
8784       if test "$with_gnu_ld" = no; then
8785         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8786         hardcode_libdir_separator=:
8787
8788         case $host_cpu in
8789         hppa*64*|ia64*)
8790           hardcode_libdir_flag_spec_ld='+b $libdir'
8791           hardcode_direct=no
8792           hardcode_shlibpath_var=no
8793           ;;
8794         *)
8795           hardcode_direct=yes
8796           export_dynamic_flag_spec='${wl}-E'
8797
8798           # hardcode_minus_L: Not really in the search PATH,
8799           # but as the default location of the library.
8800           hardcode_minus_L=yes
8801           ;;
8802         esac
8803       fi
8804       ;;
8805
8806     irix5* | irix6* | nonstopux*)
8807       if test "$GCC" = yes; then
8808         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8809       else
8810         archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8811         hardcode_libdir_flag_spec_ld='-rpath $libdir'
8812       fi
8813       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8814       hardcode_libdir_separator=:
8815       link_all_deplibs=yes
8816       ;;
8817
8818     netbsd*)
8819       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8820         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8821       else
8822         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8823       fi
8824       hardcode_libdir_flag_spec='-R$libdir'
8825       hardcode_direct=yes
8826       hardcode_shlibpath_var=no
8827       ;;
8828
8829     newsos6)
8830       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8831       hardcode_direct=yes
8832       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8833       hardcode_libdir_separator=:
8834       hardcode_shlibpath_var=no
8835       ;;
8836
8837     openbsd*)
8838       hardcode_direct=yes
8839       hardcode_shlibpath_var=no
8840       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8841         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8842         archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8843         hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8844         export_dynamic_flag_spec='${wl}-E'
8845       else
8846        case $host_os in
8847          openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8848            archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8849            hardcode_libdir_flag_spec='-R$libdir'
8850            ;;
8851          *)
8852            archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8853            hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8854            ;;
8855        esac
8856       fi
8857       ;;
8858
8859     os2*)
8860       hardcode_libdir_flag_spec='-L$libdir'
8861       hardcode_minus_L=yes
8862       allow_undefined_flag=unsupported
8863       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'
8864       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8865       ;;
8866
8867     osf3*)
8868       if test "$GCC" = yes; then
8869         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8870         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8871       else
8872         allow_undefined_flag=' -expect_unresolved \*'
8873         archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8874       fi
8875       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8876       hardcode_libdir_separator=:
8877       ;;
8878
8879     osf4* | osf5*)      # as osf3* with the addition of -msym flag
8880       if test "$GCC" = yes; then
8881         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8882         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8883         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8884       else
8885         allow_undefined_flag=' -expect_unresolved \*'
8886         archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8887         archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8888         $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
8889
8890         # Both c and cxx compiler support -rpath directly
8891         hardcode_libdir_flag_spec='-rpath $libdir'
8892       fi
8893       hardcode_libdir_separator=:
8894       ;;
8895
8896     solaris*)
8897       no_undefined_flag=' -z text'
8898       if test "$GCC" = yes; then
8899         wlarc='${wl}'
8900         archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8901         archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8902           $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8903       else
8904         wlarc=''
8905         archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8906         archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8907         $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8908       fi
8909       hardcode_libdir_flag_spec='-R$libdir'
8910       hardcode_shlibpath_var=no
8911       case $host_os in
8912       solaris2.[0-5] | solaris2.[0-5].*) ;;
8913       *)
8914         # The compiler driver will combine linker options so we
8915         # cannot just pass the convience library names through
8916         # without $wl, iff we do not link with $LD.
8917         # Luckily, gcc supports the same syntax we need for Sun Studio.
8918         # Supported since Solaris 2.6 (maybe 2.5.1?)
8919         case $wlarc in
8920         '')
8921           whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
8922         *)
8923           whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
8924         esac ;;
8925       esac
8926       link_all_deplibs=yes
8927       ;;
8928
8929     sunos4*)
8930       if test "x$host_vendor" = xsequent; then
8931         # Use $CC to link under sequent, because it throws in some extra .o
8932         # files that make .init and .fini sections work.
8933         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8934       else
8935         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8936       fi
8937       hardcode_libdir_flag_spec='-L$libdir'
8938       hardcode_direct=yes
8939       hardcode_minus_L=yes
8940       hardcode_shlibpath_var=no
8941       ;;
8942
8943     sysv4)
8944       case $host_vendor in
8945         sni)
8946           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8947           hardcode_direct=yes # is this really true???
8948         ;;
8949         siemens)
8950           ## LD is ld it makes a PLAMLIB
8951           ## CC just makes a GrossModule.
8952           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8953           reload_cmds='$CC -r -o $output$reload_objs'
8954           hardcode_direct=no
8955         ;;
8956         motorola)
8957           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8958           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8959         ;;
8960       esac
8961       runpath_var='LD_RUN_PATH'
8962       hardcode_shlibpath_var=no
8963       ;;
8964
8965     sysv4.3*)
8966       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8967       hardcode_shlibpath_var=no
8968       export_dynamic_flag_spec='-Bexport'
8969       ;;
8970
8971     sysv4*MP*)
8972       if test -d /usr/nec; then
8973         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8974         hardcode_shlibpath_var=no
8975         runpath_var=LD_RUN_PATH
8976         hardcode_runpath_var=yes
8977         ld_shlibs=yes
8978       fi
8979       ;;
8980
8981     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
8982       no_undefined_flag='${wl}-z,text'
8983       archive_cmds_need_lc=no
8984       hardcode_shlibpath_var=no
8985       runpath_var='LD_RUN_PATH'
8986
8987       if test "$GCC" = yes; then
8988         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8989         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8990       else
8991         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8992         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8993       fi
8994       ;;
8995
8996     sysv5* | sco3.2v5* | sco5v6*)
8997       # Note: We can NOT use -z defs as we might desire, because we do not
8998       # link with -lc, and that would cause any symbols used from libc to
8999       # always be unresolved, which means just about no library would
9000       # ever link correctly.  If we're not using GNU ld we use -z text
9001       # though, which does catch some bad symbols but isn't as heavy-handed
9002       # as -z defs.
9003       no_undefined_flag='${wl}-z,text'
9004       allow_undefined_flag='${wl}-z,nodefs'
9005       archive_cmds_need_lc=no
9006       hardcode_shlibpath_var=no
9007       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
9008       hardcode_libdir_separator=':'
9009       link_all_deplibs=yes
9010       export_dynamic_flag_spec='${wl}-Bexport'
9011       runpath_var='LD_RUN_PATH'
9012
9013       if test "$GCC" = yes; then
9014         archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9015         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9016       else
9017         archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9018         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9019       fi
9020       ;;
9021
9022     uts4*)
9023       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9024       hardcode_libdir_flag_spec='-L$libdir'
9025       hardcode_shlibpath_var=no
9026       ;;
9027
9028     *)
9029       ld_shlibs=no
9030       ;;
9031     esac
9032   fi
9033
9034 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9035 echo "${ECHO_T}$ld_shlibs" >&6; }
9036 test "$ld_shlibs" = no && can_build_shared=no
9037
9038 #
9039 # Do we need to explicitly link libc?
9040 #
9041 case "x$archive_cmds_need_lc" in
9042 x|xyes)
9043   # Assume -lc should be added
9044   archive_cmds_need_lc=yes
9045
9046   if test "$enable_shared" = yes && test "$GCC" = yes; then
9047     case $archive_cmds in
9048     *'~'*)
9049       # FIXME: we may have to deal with multi-command sequences.
9050       ;;
9051     '$CC '*)
9052       # Test whether the compiler implicitly links with -lc since on some
9053       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9054       # to ld, don't add -lc before -lgcc.
9055       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9056 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9057       $rm conftest*
9058       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
9059
9060       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9061   (eval $ac_compile) 2>&5
9062   ac_status=$?
9063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9064   (exit $ac_status); } 2>conftest.err; then
9065         soname=conftest
9066         lib=conftest
9067         libobjs=conftest.$ac_objext
9068         deplibs=
9069         wl=$lt_prog_compiler_wl
9070         pic_flag=$lt_prog_compiler_pic
9071         compiler_flags=-v
9072         linker_flags=-v
9073         verstring=
9074         output_objdir=.
9075         libname=conftest
9076         lt_save_allow_undefined_flag=$allow_undefined_flag
9077         allow_undefined_flag=
9078         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9079   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
9080   ac_status=$?
9081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9082   (exit $ac_status); }
9083         then
9084           archive_cmds_need_lc=no
9085         else
9086           archive_cmds_need_lc=yes
9087         fi
9088         allow_undefined_flag=$lt_save_allow_undefined_flag
9089       else
9090         cat conftest.err 1>&5
9091       fi
9092       $rm conftest*
9093       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9094 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
9095       ;;
9096     esac
9097   fi
9098   ;;
9099 esac
9100
9101 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9102 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9103 library_names_spec=
9104 libname_spec='lib$name'
9105 soname_spec=
9106 shrext_cmds=".so"
9107 postinstall_cmds=
9108 postuninstall_cmds=
9109 finish_cmds=
9110 finish_eval=
9111 shlibpath_var=
9112 shlibpath_overrides_runpath=unknown
9113 version_type=none
9114 dynamic_linker="$host_os ld.so"
9115 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9116 if test "$GCC" = yes; then
9117   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9118   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
9119     # if the path contains ";" then we assume it to be the separator
9120     # otherwise default to the standard path separator (i.e. ":") - it is
9121     # assumed that no part of a normal pathname contains ";" but that should
9122     # okay in the real world where ";" in dirpaths is itself problematic.
9123     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9124   else
9125     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9126   fi
9127 else
9128   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9129 fi
9130 need_lib_prefix=unknown
9131 hardcode_into_libs=no
9132
9133 # when you set need_version to no, make sure it does not cause -set_version
9134 # flags to be left without arguments
9135 need_version=unknown
9136
9137 case $host_os in
9138 aix3*)
9139   version_type=linux
9140   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9141   shlibpath_var=LIBPATH
9142
9143   # AIX 3 has no versioning support, so we append a major version to the name.
9144   soname_spec='${libname}${release}${shared_ext}$major'
9145   ;;
9146
9147 aix4* | aix5*)
9148   version_type=linux
9149   need_lib_prefix=no
9150   need_version=no
9151   hardcode_into_libs=yes
9152   if test "$host_cpu" = ia64; then
9153     # AIX 5 supports IA64
9154     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9155     shlibpath_var=LD_LIBRARY_PATH
9156   else
9157     # With GCC up to 2.95.x, collect2 would create an import file
9158     # for dependence libraries.  The import file would start with
9159     # the line `#! .'.  This would cause the generated library to
9160     # depend on `.', always an invalid library.  This was fixed in
9161     # development snapshots of GCC prior to 3.0.
9162     case $host_os in
9163       aix4 | aix4.[01] | aix4.[01].*)
9164       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9165            echo ' yes '
9166            echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
9167         :
9168       else
9169         can_build_shared=no
9170       fi
9171       ;;
9172     esac
9173     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9174     # soname into executable. Probably we can add versioning support to
9175     # collect2, so additional links can be useful in future.
9176     if test "$aix_use_runtimelinking" = yes; then
9177       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9178       # instead of lib<name>.a to let people know that these are not
9179       # typical AIX shared libraries.
9180       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9181     else
9182       # We preserve .a as extension for shared libraries through AIX4.2
9183       # and later when we are not doing run time linking.
9184       library_names_spec='${libname}${release}.a $libname.a'
9185       soname_spec='${libname}${release}${shared_ext}$major'
9186     fi
9187     shlibpath_var=LIBPATH
9188   fi
9189   ;;
9190
9191 amigaos*)
9192   library_names_spec='$libname.ixlibrary $libname.a'
9193   # Create ${libname}_ixlibrary.a entries in /sys/libs.
9194   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'
9195   ;;
9196
9197 beos*)
9198   library_names_spec='${libname}${shared_ext}'
9199   dynamic_linker="$host_os ld.so"
9200   shlibpath_var=LIBRARY_PATH
9201   ;;
9202
9203 bsdi[45]*)
9204   version_type=linux
9205   need_version=no
9206   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9207   soname_spec='${libname}${release}${shared_ext}$major'
9208   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9209   shlibpath_var=LD_LIBRARY_PATH
9210   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9211   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9212   # the default ld.so.conf also contains /usr/contrib/lib and
9213   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9214   # libtool to hard-code these into programs
9215   ;;
9216
9217 cygwin* | mingw* | pw32*)
9218   version_type=windows
9219   shrext_cmds=".dll"
9220   need_version=no
9221   need_lib_prefix=no
9222
9223   case $GCC,$host_os in
9224   yes,cygwin* | yes,mingw* | yes,pw32*)
9225     library_names_spec='$libname.dll.a'
9226     # DLL is installed to $(libdir)/../bin by postinstall_cmds
9227     postinstall_cmds='base_file=`basename \${file}`~
9228       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9229       dldir=$destdir/`dirname \$dlpath`~
9230       test -d \$dldir || mkdir -p \$dldir~
9231       $install_prog $dir/$dlname \$dldir/$dlname~
9232       chmod a+x \$dldir/$dlname'
9233     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9234       dlpath=$dir/\$dldll~
9235        $rm \$dlpath'
9236     shlibpath_overrides_runpath=yes
9237
9238     case $host_os in
9239     cygwin*)
9240       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9241       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9242       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9243       ;;
9244     mingw*)
9245       # MinGW DLLs use traditional 'lib' prefix
9246       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9247       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9248       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
9249         # It is most probably a Windows format PATH printed by
9250         # mingw gcc, but we are running on Cygwin. Gcc prints its search
9251         # path with ; separators, and with drive letters. We can handle the
9252         # drive letters (cygwin fileutils understands them), so leave them,
9253         # especially as we might pass files found there to a mingw objdump,
9254         # which wouldn't understand a cygwinified path. Ahh.
9255         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9256       else
9257         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9258       fi
9259       ;;
9260     pw32*)
9261       # pw32 DLLs use 'pw' prefix rather than 'lib'
9262       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9263       ;;
9264     esac
9265     ;;
9266
9267   *)
9268     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9269     ;;
9270   esac
9271   dynamic_linker='Win32 ld.exe'
9272   # FIXME: first we should search . and the directory the executable is in
9273   shlibpath_var=PATH
9274   ;;
9275
9276 darwin* | rhapsody*)
9277   dynamic_linker="$host_os dyld"
9278   version_type=darwin
9279   need_lib_prefix=no
9280   need_version=no
9281   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9282   soname_spec='${libname}${release}${major}$shared_ext'
9283   shlibpath_overrides_runpath=yes
9284   shlibpath_var=DYLD_LIBRARY_PATH
9285   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9286   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
9287   if test "$GCC" = yes; then
9288     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
9289   else
9290     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
9291   fi
9292   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9293   ;;
9294
9295 dgux*)
9296   version_type=linux
9297   need_lib_prefix=no
9298   need_version=no
9299   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9300   soname_spec='${libname}${release}${shared_ext}$major'
9301   shlibpath_var=LD_LIBRARY_PATH
9302   ;;
9303
9304 freebsd1*)
9305   dynamic_linker=no
9306   ;;
9307
9308 kfreebsd*-gnu)
9309   version_type=linux
9310   need_lib_prefix=no
9311   need_version=no
9312   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9313   soname_spec='${libname}${release}${shared_ext}$major'
9314   shlibpath_var=LD_LIBRARY_PATH
9315   shlibpath_overrides_runpath=no
9316   hardcode_into_libs=yes
9317   dynamic_linker='GNU ld.so'
9318   ;;
9319
9320 freebsd* | dragonfly*)
9321   # DragonFly does not have aout.  When/if they implement a new
9322   # versioning mechanism, adjust this.
9323   if test -x /usr/bin/objformat; then
9324     objformat=`/usr/bin/objformat`
9325   else
9326     case $host_os in
9327     freebsd[123]*) objformat=aout ;;
9328     *) objformat=elf ;;
9329     esac
9330   fi
9331   version_type=freebsd-$objformat
9332   case $version_type in
9333     freebsd-elf*)
9334       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9335       need_version=no
9336       need_lib_prefix=no
9337       ;;
9338     freebsd-*)
9339       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9340       need_version=yes
9341       ;;
9342   esac
9343   shlibpath_var=LD_LIBRARY_PATH
9344   case $host_os in
9345   freebsd2*)
9346     shlibpath_overrides_runpath=yes
9347     ;;
9348   freebsd3.[01]* | freebsdelf3.[01]*)
9349     shlibpath_overrides_runpath=yes
9350     hardcode_into_libs=yes
9351     ;;
9352   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9353   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9354     shlibpath_overrides_runpath=no
9355     hardcode_into_libs=yes
9356     ;;
9357   freebsd*) # from 4.6 on
9358     shlibpath_overrides_runpath=yes
9359     hardcode_into_libs=yes
9360     ;;
9361   esac
9362   ;;
9363
9364 gnu*)
9365   version_type=linux
9366   need_lib_prefix=no
9367   need_version=no
9368   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9369   soname_spec='${libname}${release}${shared_ext}$major'
9370   shlibpath_var=LD_LIBRARY_PATH
9371   hardcode_into_libs=yes
9372   ;;
9373
9374 hpux9* | hpux10* | hpux11*)
9375   # Give a soname corresponding to the major version so that dld.sl refuses to
9376   # link against other versions.
9377   version_type=sunos
9378   need_lib_prefix=no
9379   need_version=no
9380   case $host_cpu in
9381   ia64*)
9382     shrext_cmds='.so'
9383     hardcode_into_libs=yes
9384     dynamic_linker="$host_os dld.so"
9385     shlibpath_var=LD_LIBRARY_PATH
9386     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9387     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9388     soname_spec='${libname}${release}${shared_ext}$major'
9389     if test "X$HPUX_IA64_MODE" = X32; then
9390       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9391     else
9392       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9393     fi
9394     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9395     ;;
9396    hppa*64*)
9397      shrext_cmds='.sl'
9398      hardcode_into_libs=yes
9399      dynamic_linker="$host_os dld.sl"
9400      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9401      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9402      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9403      soname_spec='${libname}${release}${shared_ext}$major'
9404      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9405      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9406      ;;
9407    *)
9408     shrext_cmds='.sl'
9409     dynamic_linker="$host_os dld.sl"
9410     shlibpath_var=SHLIB_PATH
9411     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9412     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9413     soname_spec='${libname}${release}${shared_ext}$major'
9414     ;;
9415   esac
9416   # HP-UX runs *really* slowly unless shared libraries are mode 555.
9417   postinstall_cmds='chmod 555 $lib'
9418   ;;
9419
9420 interix3*)
9421   version_type=linux
9422   need_lib_prefix=no
9423   need_version=no
9424   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9425   soname_spec='${libname}${release}${shared_ext}$major'
9426   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9427   shlibpath_var=LD_LIBRARY_PATH
9428   shlibpath_overrides_runpath=no
9429   hardcode_into_libs=yes
9430   ;;
9431
9432 irix5* | irix6* | nonstopux*)
9433   case $host_os in
9434     nonstopux*) version_type=nonstopux ;;
9435     *)
9436         if test "$lt_cv_prog_gnu_ld" = yes; then
9437                 version_type=linux
9438         else
9439                 version_type=irix
9440         fi ;;
9441   esac
9442   need_lib_prefix=no
9443   need_version=no
9444   soname_spec='${libname}${release}${shared_ext}$major'
9445   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9446   case $host_os in
9447   irix5* | nonstopux*)
9448     libsuff= shlibsuff=
9449     ;;
9450   *)
9451     case $LD in # libtool.m4 will add one of these switches to LD
9452     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9453       libsuff= shlibsuff= libmagic=32-bit;;
9454     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9455       libsuff=32 shlibsuff=N32 libmagic=N32;;
9456     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9457       libsuff=64 shlibsuff=64 libmagic=64-bit;;
9458     *) libsuff= shlibsuff= libmagic=never-match;;
9459     esac
9460     ;;
9461   esac
9462   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9463   shlibpath_overrides_runpath=no
9464   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9465   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9466   hardcode_into_libs=yes
9467   ;;
9468
9469 # No shared lib support for Linux oldld, aout, or coff.
9470 linux*oldld* | linux*aout* | linux*coff*)
9471   dynamic_linker=no
9472   ;;
9473
9474 # This must be Linux ELF.
9475 linux*)
9476   version_type=linux
9477   need_lib_prefix=no
9478   need_version=no
9479   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9480   soname_spec='${libname}${release}${shared_ext}$major'
9481   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9482   shlibpath_var=LD_LIBRARY_PATH
9483   shlibpath_overrides_runpath=no
9484   # This implies no fast_install, which is unacceptable.
9485   # Some rework will be needed to allow for fast_install
9486   # before this can be enabled.
9487   hardcode_into_libs=yes
9488
9489   # find out which ABI we are using
9490   libsuff=
9491   case "$host_cpu" in
9492   x86_64*|s390x*|powerpc64*)
9493     echo '#line 9493 "configure"' > conftest.$ac_ext
9494     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9495   (eval $ac_compile) 2>&5
9496   ac_status=$?
9497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9498   (exit $ac_status); }; then
9499       case `/usr/bin/file conftest.$ac_objext` in
9500       *64-bit*)
9501         libsuff=64
9502         sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
9503         ;;
9504       esac
9505     fi
9506     rm -rf conftest*
9507     ;;
9508   esac
9509
9510   # Append ld.so.conf contents to the search path
9511   if test -f /etc/ld.so.conf; then
9512     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9513     sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
9514   fi
9515
9516   # We used to test for /lib/ld.so.1 and disable shared libraries on
9517   # powerpc, because MkLinux only supported shared libraries with the
9518   # GNU dynamic linker.  Since this was broken with cross compilers,
9519   # most powerpc-linux boxes support dynamic linking these days and
9520   # people can always --disable-shared, the test was removed, and we
9521   # assume the GNU/Linux dynamic linker is in use.
9522   dynamic_linker='GNU/Linux ld.so'
9523   ;;
9524
9525 knetbsd*-gnu)
9526   version_type=linux
9527   need_lib_prefix=no
9528   need_version=no
9529   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9530   soname_spec='${libname}${release}${shared_ext}$major'
9531   shlibpath_var=LD_LIBRARY_PATH
9532   shlibpath_overrides_runpath=no
9533   hardcode_into_libs=yes
9534   dynamic_linker='GNU ld.so'
9535   ;;
9536
9537 netbsd*)
9538   version_type=sunos
9539   need_lib_prefix=no
9540   need_version=no
9541   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9542     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9543     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9544     dynamic_linker='NetBSD (a.out) ld.so'
9545   else
9546     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9547     soname_spec='${libname}${release}${shared_ext}$major'
9548     dynamic_linker='NetBSD ld.elf_so'
9549   fi
9550   shlibpath_var=LD_LIBRARY_PATH
9551   shlibpath_overrides_runpath=yes
9552   hardcode_into_libs=yes
9553   ;;
9554
9555 newsos6)
9556   version_type=linux
9557   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9558   shlibpath_var=LD_LIBRARY_PATH
9559   shlibpath_overrides_runpath=yes
9560   ;;
9561
9562 nto-qnx*)
9563   version_type=linux
9564   need_lib_prefix=no
9565   need_version=no
9566   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9567   soname_spec='${libname}${release}${shared_ext}$major'
9568   shlibpath_var=LD_LIBRARY_PATH
9569   shlibpath_overrides_runpath=yes
9570   ;;
9571
9572 openbsd*)
9573   version_type=sunos
9574   sys_lib_dlsearch_path_spec="/usr/lib"
9575   need_lib_prefix=no
9576   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9577   case $host_os in
9578     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9579     *)                         need_version=no  ;;
9580   esac
9581   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9582   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9583   shlibpath_var=LD_LIBRARY_PATH
9584   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9585     case $host_os in
9586       openbsd2.[89] | openbsd2.[89].*)
9587         shlibpath_overrides_runpath=no
9588         ;;
9589       *)
9590         shlibpath_overrides_runpath=yes
9591         ;;
9592       esac
9593   else
9594     shlibpath_overrides_runpath=yes
9595   fi
9596   ;;
9597
9598 os2*)
9599   libname_spec='$name'
9600   shrext_cmds=".dll"
9601   need_lib_prefix=no
9602   library_names_spec='$libname${shared_ext} $libname.a'
9603   dynamic_linker='OS/2 ld.exe'
9604   shlibpath_var=LIBPATH
9605   ;;
9606
9607 osf3* | osf4* | osf5*)
9608   version_type=osf
9609   need_lib_prefix=no
9610   need_version=no
9611   soname_spec='${libname}${release}${shared_ext}$major'
9612   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9613   shlibpath_var=LD_LIBRARY_PATH
9614   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9615   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9616   ;;
9617
9618 solaris*)
9619   version_type=linux
9620   need_lib_prefix=no
9621   need_version=no
9622   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9623   soname_spec='${libname}${release}${shared_ext}$major'
9624   shlibpath_var=LD_LIBRARY_PATH
9625   shlibpath_overrides_runpath=yes
9626   hardcode_into_libs=yes
9627   # ldd complains unless libraries are executable
9628   postinstall_cmds='chmod +x $lib'
9629   ;;
9630
9631 sunos4*)
9632   version_type=sunos
9633   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9634   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9635   shlibpath_var=LD_LIBRARY_PATH
9636   shlibpath_overrides_runpath=yes
9637   if test "$with_gnu_ld" = yes; then
9638     need_lib_prefix=no
9639   fi
9640   need_version=yes
9641   ;;
9642
9643 sysv4 | sysv4.3*)
9644   version_type=linux
9645   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9646   soname_spec='${libname}${release}${shared_ext}$major'
9647   shlibpath_var=LD_LIBRARY_PATH
9648   case $host_vendor in
9649     sni)
9650       shlibpath_overrides_runpath=no
9651       need_lib_prefix=no
9652       export_dynamic_flag_spec='${wl}-Blargedynsym'
9653       runpath_var=LD_RUN_PATH
9654       ;;
9655     siemens)
9656       need_lib_prefix=no
9657       ;;
9658     motorola)
9659       need_lib_prefix=no
9660       need_version=no
9661       shlibpath_overrides_runpath=no
9662       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9663       ;;
9664   esac
9665   ;;
9666
9667 sysv4*MP*)
9668   if test -d /usr/nec ;then
9669     version_type=linux
9670     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9671     soname_spec='$libname${shared_ext}.$major'
9672     shlibpath_var=LD_LIBRARY_PATH
9673   fi
9674   ;;
9675
9676 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9677   version_type=freebsd-elf
9678   need_lib_prefix=no
9679   need_version=no
9680   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9681   soname_spec='${libname}${release}${shared_ext}$major'
9682   shlibpath_var=LD_LIBRARY_PATH
9683   hardcode_into_libs=yes
9684   if test "$with_gnu_ld" = yes; then
9685     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9686     shlibpath_overrides_runpath=no
9687   else
9688     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9689     shlibpath_overrides_runpath=yes
9690     case $host_os in
9691       sco3.2v5*)
9692         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9693         ;;
9694     esac
9695   fi
9696   sys_lib_dlsearch_path_spec='/usr/lib'
9697   ;;
9698
9699 uts4*)
9700   version_type=linux
9701   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9702   soname_spec='${libname}${release}${shared_ext}$major'
9703   shlibpath_var=LD_LIBRARY_PATH
9704   ;;
9705
9706 *)
9707   dynamic_linker=no
9708   ;;
9709 esac
9710 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9711 echo "${ECHO_T}$dynamic_linker" >&6; }
9712 test "$dynamic_linker" = no && can_build_shared=no
9713
9714 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9715 if test "$GCC" = yes; then
9716   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9717 fi
9718
9719 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9720 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9721 hardcode_action=
9722 if test -n "$hardcode_libdir_flag_spec" || \
9723    test -n "$runpath_var" || \
9724    test "X$hardcode_automatic" = "Xyes" ; then
9725
9726   # We can hardcode non-existant directories.
9727   if test "$hardcode_direct" != no &&
9728      # If the only mechanism to avoid hardcoding is shlibpath_var, we
9729      # have to relink, otherwise we might link with an installed library
9730      # when we should be linking with a yet-to-be-installed one
9731      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9732      test "$hardcode_minus_L" != no; then
9733     # Linking always hardcodes the temporary library directory.
9734     hardcode_action=relink
9735   else
9736     # We can link without hardcoding, and we can hardcode nonexisting dirs.
9737     hardcode_action=immediate
9738   fi
9739 else
9740   # We cannot hardcode anything, or else we can only hardcode existing
9741   # directories.
9742   hardcode_action=unsupported
9743 fi
9744 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9745 echo "${ECHO_T}$hardcode_action" >&6; }
9746
9747 if test "$hardcode_action" = relink; then
9748   # Fast installation is not supported
9749   enable_fast_install=no
9750 elif test "$shlibpath_overrides_runpath" = yes ||
9751      test "$enable_shared" = no; then
9752   # Fast installation is not necessary
9753   enable_fast_install=needless
9754 fi
9755
9756 striplib=
9757 old_striplib=
9758 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9759 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9760 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
9761   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
9762   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
9763   { echo "$as_me:$LINENO: result: yes" >&5
9764 echo "${ECHO_T}yes" >&6; }
9765 else
9766 # FIXME - insert some real tests, host_os isn't really good enough
9767   case $host_os in
9768    darwin*)
9769        if test -n "$STRIP" ; then
9770          striplib="$STRIP -x"
9771          { echo "$as_me:$LINENO: result: yes" >&5
9772 echo "${ECHO_T}yes" >&6; }
9773        else
9774   { echo "$as_me:$LINENO: result: no" >&5
9775 echo "${ECHO_T}no" >&6; }
9776 fi
9777        ;;
9778    *)
9779   { echo "$as_me:$LINENO: result: no" >&5
9780 echo "${ECHO_T}no" >&6; }
9781     ;;
9782   esac
9783 fi
9784
9785 if test "x$enable_dlopen" != xyes; then
9786   enable_dlopen=unknown
9787   enable_dlopen_self=unknown
9788   enable_dlopen_self_static=unknown
9789 else
9790   lt_cv_dlopen=no
9791   lt_cv_dlopen_libs=
9792
9793   case $host_os in
9794   beos*)
9795     lt_cv_dlopen="load_add_on"
9796     lt_cv_dlopen_libs=
9797     lt_cv_dlopen_self=yes
9798     ;;
9799
9800   mingw* | pw32*)
9801     lt_cv_dlopen="LoadLibrary"
9802     lt_cv_dlopen_libs=
9803    ;;
9804
9805   cygwin*)
9806     lt_cv_dlopen="dlopen"
9807     lt_cv_dlopen_libs=
9808    ;;
9809
9810   darwin*)
9811   # if libdl is installed we need to link against it
9812     { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9813 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9814 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9815   echo $ECHO_N "(cached) $ECHO_C" >&6
9816 else
9817   ac_check_lib_save_LIBS=$LIBS
9818 LIBS="-ldl  $LIBS"
9819 cat >conftest.$ac_ext <<_ACEOF
9820 /* confdefs.h.  */
9821 _ACEOF
9822 cat confdefs.h >>conftest.$ac_ext
9823 cat >>conftest.$ac_ext <<_ACEOF
9824 /* end confdefs.h.  */
9825
9826 /* Override any GCC internal prototype to avoid an error.
9827    Use char because int might match the return type of a GCC
9828    builtin and then its argument prototype would still apply.  */
9829 #ifdef __cplusplus
9830 extern "C"
9831 #endif
9832 char dlopen ();
9833 int
9834 main ()
9835 {
9836 return dlopen ();
9837   ;
9838   return 0;
9839 }
9840 _ACEOF
9841 rm -f conftest.$ac_objext conftest$ac_exeext
9842 if { (ac_try="$ac_link"
9843 case "(($ac_try" in
9844   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9845   *) ac_try_echo=$ac_try;;
9846 esac
9847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9848   (eval "$ac_link") 2>conftest.er1
9849   ac_status=$?
9850   grep -v '^ *+' conftest.er1 >conftest.err
9851   rm -f conftest.er1
9852   cat conftest.err >&5
9853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9854   (exit $ac_status); } && {
9855          test -z "$ac_c_werror_flag" ||
9856          test ! -s conftest.err
9857        } && test -s conftest$ac_exeext &&
9858        $as_test_x conftest$ac_exeext; then
9859   ac_cv_lib_dl_dlopen=yes
9860 else
9861   echo "$as_me: failed program was:" >&5
9862 sed 's/^/| /' conftest.$ac_ext >&5
9863
9864         ac_cv_lib_dl_dlopen=no
9865 fi
9866
9867 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9868       conftest$ac_exeext conftest.$ac_ext
9869 LIBS=$ac_check_lib_save_LIBS
9870 fi
9871 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9872 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9873 if test $ac_cv_lib_dl_dlopen = yes; then
9874   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9875 else
9876
9877     lt_cv_dlopen="dyld"
9878     lt_cv_dlopen_libs=
9879     lt_cv_dlopen_self=yes
9880
9881 fi
9882
9883    ;;
9884
9885   *)
9886     { echo "$as_me:$LINENO: checking for shl_load" >&5
9887 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9888 if test "${ac_cv_func_shl_load+set}" = set; then
9889   echo $ECHO_N "(cached) $ECHO_C" >&6
9890 else
9891   cat >conftest.$ac_ext <<_ACEOF
9892 /* confdefs.h.  */
9893 _ACEOF
9894 cat confdefs.h >>conftest.$ac_ext
9895 cat >>conftest.$ac_ext <<_ACEOF
9896 /* end confdefs.h.  */
9897 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9898    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9899 #define shl_load innocuous_shl_load
9900
9901 /* System header to define __stub macros and hopefully few prototypes,
9902     which can conflict with char shl_load (); below.
9903     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9904     <limits.h> exists even on freestanding compilers.  */
9905
9906 #ifdef __STDC__
9907 # include <limits.h>
9908 #else
9909 # include <assert.h>
9910 #endif
9911
9912 #undef shl_load
9913
9914 /* Override any GCC internal prototype to avoid an error.
9915    Use char because int might match the return type of a GCC
9916    builtin and then its argument prototype would still apply.  */
9917 #ifdef __cplusplus
9918 extern "C"
9919 #endif
9920 char shl_load ();
9921 /* The GNU C library defines this for functions which it implements
9922     to always fail with ENOSYS.  Some functions are actually named
9923     something starting with __ and the normal name is an alias.  */
9924 #if defined __stub_shl_load || defined __stub___shl_load
9925 choke me
9926 #endif
9927
9928 int
9929 main ()
9930 {
9931 return shl_load ();
9932   ;
9933   return 0;
9934 }
9935 _ACEOF
9936 rm -f conftest.$ac_objext conftest$ac_exeext
9937 if { (ac_try="$ac_link"
9938 case "(($ac_try" in
9939   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9940   *) ac_try_echo=$ac_try;;
9941 esac
9942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9943   (eval "$ac_link") 2>conftest.er1
9944   ac_status=$?
9945   grep -v '^ *+' conftest.er1 >conftest.err
9946   rm -f conftest.er1
9947   cat conftest.err >&5
9948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9949   (exit $ac_status); } && {
9950          test -z "$ac_c_werror_flag" ||
9951          test ! -s conftest.err
9952        } && test -s conftest$ac_exeext &&
9953        $as_test_x conftest$ac_exeext; then
9954   ac_cv_func_shl_load=yes
9955 else
9956   echo "$as_me: failed program was:" >&5
9957 sed 's/^/| /' conftest.$ac_ext >&5
9958
9959         ac_cv_func_shl_load=no
9960 fi
9961
9962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9963       conftest$ac_exeext conftest.$ac_ext
9964 fi
9965 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9966 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9967 if test $ac_cv_func_shl_load = yes; then
9968   lt_cv_dlopen="shl_load"
9969 else
9970   { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9971 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9972 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9973   echo $ECHO_N "(cached) $ECHO_C" >&6
9974 else
9975   ac_check_lib_save_LIBS=$LIBS
9976 LIBS="-ldld  $LIBS"
9977 cat >conftest.$ac_ext <<_ACEOF
9978 /* confdefs.h.  */
9979 _ACEOF
9980 cat confdefs.h >>conftest.$ac_ext
9981 cat >>conftest.$ac_ext <<_ACEOF
9982 /* end confdefs.h.  */
9983
9984 /* Override any GCC internal prototype to avoid an error.
9985    Use char because int might match the return type of a GCC
9986    builtin and then its argument prototype would still apply.  */
9987 #ifdef __cplusplus
9988 extern "C"
9989 #endif
9990 char shl_load ();
9991 int
9992 main ()
9993 {
9994 return shl_load ();
9995   ;
9996   return 0;
9997 }
9998 _ACEOF
9999 rm -f conftest.$ac_objext conftest$ac_exeext
10000 if { (ac_try="$ac_link"
10001 case "(($ac_try" in
10002   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10003   *) ac_try_echo=$ac_try;;
10004 esac
10005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10006   (eval "$ac_link") 2>conftest.er1
10007   ac_status=$?
10008   grep -v '^ *+' conftest.er1 >conftest.err
10009   rm -f conftest.er1
10010   cat conftest.err >&5
10011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10012   (exit $ac_status); } && {
10013          test -z "$ac_c_werror_flag" ||
10014          test ! -s conftest.err
10015        } && test -s conftest$ac_exeext &&
10016        $as_test_x conftest$ac_exeext; then
10017   ac_cv_lib_dld_shl_load=yes
10018 else
10019   echo "$as_me: failed program was:" >&5
10020 sed 's/^/| /' conftest.$ac_ext >&5
10021
10022         ac_cv_lib_dld_shl_load=no
10023 fi
10024
10025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10026       conftest$ac_exeext conftest.$ac_ext
10027 LIBS=$ac_check_lib_save_LIBS
10028 fi
10029 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10030 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10031 if test $ac_cv_lib_dld_shl_load = yes; then
10032   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10033 else
10034   { echo "$as_me:$LINENO: checking for dlopen" >&5
10035 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10036 if test "${ac_cv_func_dlopen+set}" = set; then
10037   echo $ECHO_N "(cached) $ECHO_C" >&6
10038 else
10039   cat >conftest.$ac_ext <<_ACEOF
10040 /* confdefs.h.  */
10041 _ACEOF
10042 cat confdefs.h >>conftest.$ac_ext
10043 cat >>conftest.$ac_ext <<_ACEOF
10044 /* end confdefs.h.  */
10045 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10046    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10047 #define dlopen innocuous_dlopen
10048
10049 /* System header to define __stub macros and hopefully few prototypes,
10050     which can conflict with char dlopen (); below.
10051     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10052     <limits.h> exists even on freestanding compilers.  */
10053
10054 #ifdef __STDC__
10055 # include <limits.h>
10056 #else
10057 # include <assert.h>
10058 #endif
10059
10060 #undef dlopen
10061
10062 /* Override any GCC internal prototype to avoid an error.
10063    Use char because int might match the return type of a GCC
10064    builtin and then its argument prototype would still apply.  */
10065 #ifdef __cplusplus
10066 extern "C"
10067 #endif
10068 char dlopen ();
10069 /* The GNU C library defines this for functions which it implements
10070     to always fail with ENOSYS.  Some functions are actually named
10071     something starting with __ and the normal name is an alias.  */
10072 #if defined __stub_dlopen || defined __stub___dlopen
10073 choke me
10074 #endif
10075
10076 int
10077 main ()
10078 {
10079 return dlopen ();
10080   ;
10081   return 0;
10082 }
10083 _ACEOF
10084 rm -f conftest.$ac_objext conftest$ac_exeext
10085 if { (ac_try="$ac_link"
10086 case "(($ac_try" in
10087   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10088   *) ac_try_echo=$ac_try;;
10089 esac
10090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10091   (eval "$ac_link") 2>conftest.er1
10092   ac_status=$?
10093   grep -v '^ *+' conftest.er1 >conftest.err
10094   rm -f conftest.er1
10095   cat conftest.err >&5
10096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10097   (exit $ac_status); } && {
10098          test -z "$ac_c_werror_flag" ||
10099          test ! -s conftest.err
10100        } && test -s conftest$ac_exeext &&
10101        $as_test_x conftest$ac_exeext; then
10102   ac_cv_func_dlopen=yes
10103 else
10104   echo "$as_me: failed program was:" >&5
10105 sed 's/^/| /' conftest.$ac_ext >&5
10106
10107         ac_cv_func_dlopen=no
10108 fi
10109
10110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10111       conftest$ac_exeext conftest.$ac_ext
10112 fi
10113 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10114 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10115 if test $ac_cv_func_dlopen = yes; then
10116   lt_cv_dlopen="dlopen"
10117 else
10118   { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10119 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10120 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10121   echo $ECHO_N "(cached) $ECHO_C" >&6
10122 else
10123   ac_check_lib_save_LIBS=$LIBS
10124 LIBS="-ldl  $LIBS"
10125 cat >conftest.$ac_ext <<_ACEOF
10126 /* confdefs.h.  */
10127 _ACEOF
10128 cat confdefs.h >>conftest.$ac_ext
10129 cat >>conftest.$ac_ext <<_ACEOF
10130 /* end confdefs.h.  */
10131
10132 /* Override any GCC internal prototype to avoid an error.
10133    Use char because int might match the return type of a GCC
10134    builtin and then its argument prototype would still apply.  */
10135 #ifdef __cplusplus
10136 extern "C"
10137 #endif
10138 char dlopen ();
10139 int
10140 main ()
10141 {
10142 return dlopen ();
10143   ;
10144   return 0;
10145 }
10146 _ACEOF
10147 rm -f conftest.$ac_objext conftest$ac_exeext
10148 if { (ac_try="$ac_link"
10149 case "(($ac_try" in
10150   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10151   *) ac_try_echo=$ac_try;;
10152 esac
10153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10154   (eval "$ac_link") 2>conftest.er1
10155   ac_status=$?
10156   grep -v '^ *+' conftest.er1 >conftest.err
10157   rm -f conftest.er1
10158   cat conftest.err >&5
10159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10160   (exit $ac_status); } && {
10161          test -z "$ac_c_werror_flag" ||
10162          test ! -s conftest.err
10163        } && test -s conftest$ac_exeext &&
10164        $as_test_x conftest$ac_exeext; then
10165   ac_cv_lib_dl_dlopen=yes
10166 else
10167   echo "$as_me: failed program was:" >&5
10168 sed 's/^/| /' conftest.$ac_ext >&5
10169
10170         ac_cv_lib_dl_dlopen=no
10171 fi
10172
10173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10174       conftest$ac_exeext conftest.$ac_ext
10175 LIBS=$ac_check_lib_save_LIBS
10176 fi
10177 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10178 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10179 if test $ac_cv_lib_dl_dlopen = yes; then
10180   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10181 else
10182   { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10183 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10184 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10185   echo $ECHO_N "(cached) $ECHO_C" >&6
10186 else
10187   ac_check_lib_save_LIBS=$LIBS
10188 LIBS="-lsvld  $LIBS"
10189 cat >conftest.$ac_ext <<_ACEOF
10190 /* confdefs.h.  */
10191 _ACEOF
10192 cat confdefs.h >>conftest.$ac_ext
10193 cat >>conftest.$ac_ext <<_ACEOF
10194 /* end confdefs.h.  */
10195
10196 /* Override any GCC internal prototype to avoid an error.
10197    Use char because int might match the return type of a GCC
10198    builtin and then its argument prototype would still apply.  */
10199 #ifdef __cplusplus
10200 extern "C"
10201 #endif
10202 char dlopen ();
10203 int
10204 main ()
10205 {
10206 return dlopen ();
10207   ;
10208   return 0;
10209 }
10210 _ACEOF
10211 rm -f conftest.$ac_objext conftest$ac_exeext
10212 if { (ac_try="$ac_link"
10213 case "(($ac_try" in
10214   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10215   *) ac_try_echo=$ac_try;;
10216 esac
10217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10218   (eval "$ac_link") 2>conftest.er1
10219   ac_status=$?
10220   grep -v '^ *+' conftest.er1 >conftest.err
10221   rm -f conftest.er1
10222   cat conftest.err >&5
10223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10224   (exit $ac_status); } && {
10225          test -z "$ac_c_werror_flag" ||
10226          test ! -s conftest.err
10227        } && test -s conftest$ac_exeext &&
10228        $as_test_x conftest$ac_exeext; then
10229   ac_cv_lib_svld_dlopen=yes
10230 else
10231   echo "$as_me: failed program was:" >&5
10232 sed 's/^/| /' conftest.$ac_ext >&5
10233
10234         ac_cv_lib_svld_dlopen=no
10235 fi
10236
10237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10238       conftest$ac_exeext conftest.$ac_ext
10239 LIBS=$ac_check_lib_save_LIBS
10240 fi
10241 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10242 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10243 if test $ac_cv_lib_svld_dlopen = yes; then
10244   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10245 else
10246   { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10247 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10248 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10249   echo $ECHO_N "(cached) $ECHO_C" >&6
10250 else
10251   ac_check_lib_save_LIBS=$LIBS
10252 LIBS="-ldld  $LIBS"
10253 cat >conftest.$ac_ext <<_ACEOF
10254 /* confdefs.h.  */
10255 _ACEOF
10256 cat confdefs.h >>conftest.$ac_ext
10257 cat >>conftest.$ac_ext <<_ACEOF
10258 /* end confdefs.h.  */
10259
10260 /* Override any GCC internal prototype to avoid an error.
10261    Use char because int might match the return type of a GCC
10262    builtin and then its argument prototype would still apply.  */
10263 #ifdef __cplusplus
10264 extern "C"
10265 #endif
10266 char dld_link ();
10267 int
10268 main ()
10269 {
10270 return dld_link ();
10271   ;
10272   return 0;
10273 }
10274 _ACEOF
10275 rm -f conftest.$ac_objext conftest$ac_exeext
10276 if { (ac_try="$ac_link"
10277 case "(($ac_try" in
10278   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10279   *) ac_try_echo=$ac_try;;
10280 esac
10281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10282   (eval "$ac_link") 2>conftest.er1
10283   ac_status=$?
10284   grep -v '^ *+' conftest.er1 >conftest.err
10285   rm -f conftest.er1
10286   cat conftest.err >&5
10287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10288   (exit $ac_status); } && {
10289          test -z "$ac_c_werror_flag" ||
10290          test ! -s conftest.err
10291        } && test -s conftest$ac_exeext &&
10292        $as_test_x conftest$ac_exeext; then
10293   ac_cv_lib_dld_dld_link=yes
10294 else
10295   echo "$as_me: failed program was:" >&5
10296 sed 's/^/| /' conftest.$ac_ext >&5
10297
10298         ac_cv_lib_dld_dld_link=no
10299 fi
10300
10301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10302       conftest$ac_exeext conftest.$ac_ext
10303 LIBS=$ac_check_lib_save_LIBS
10304 fi
10305 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10306 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10307 if test $ac_cv_lib_dld_dld_link = yes; then
10308   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10309 fi
10310
10311
10312 fi
10313
10314
10315 fi
10316
10317
10318 fi
10319
10320
10321 fi
10322
10323
10324 fi
10325
10326     ;;
10327   esac
10328
10329   if test "x$lt_cv_dlopen" != xno; then
10330     enable_dlopen=yes
10331   else
10332     enable_dlopen=no
10333   fi
10334
10335   case $lt_cv_dlopen in
10336   dlopen)
10337     save_CPPFLAGS="$CPPFLAGS"
10338     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10339
10340     save_LDFLAGS="$LDFLAGS"
10341     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10342
10343     save_LIBS="$LIBS"
10344     LIBS="$lt_cv_dlopen_libs $LIBS"
10345
10346     { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10347 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10348 if test "${lt_cv_dlopen_self+set}" = set; then
10349   echo $ECHO_N "(cached) $ECHO_C" >&6
10350 else
10351           if test "$cross_compiling" = yes; then :
10352   lt_cv_dlopen_self=cross
10353 else
10354   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10355   lt_status=$lt_dlunknown
10356   cat > conftest.$ac_ext <<EOF
10357 #line 10357 "configure"
10358 #include "confdefs.h"
10359
10360 #if HAVE_DLFCN_H
10361 #include <dlfcn.h>
10362 #endif
10363
10364 #include <stdio.h>
10365
10366 #ifdef RTLD_GLOBAL
10367 #  define LT_DLGLOBAL           RTLD_GLOBAL
10368 #else
10369 #  ifdef DL_GLOBAL
10370 #    define LT_DLGLOBAL         DL_GLOBAL
10371 #  else
10372 #    define LT_DLGLOBAL         0
10373 #  endif
10374 #endif
10375
10376 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10377    find out it does not work in some platform. */
10378 #ifndef LT_DLLAZY_OR_NOW
10379 #  ifdef RTLD_LAZY
10380 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10381 #  else
10382 #    ifdef DL_LAZY
10383 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10384 #    else
10385 #      ifdef RTLD_NOW
10386 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10387 #      else
10388 #        ifdef DL_NOW
10389 #          define LT_DLLAZY_OR_NOW      DL_NOW
10390 #        else
10391 #          define LT_DLLAZY_OR_NOW      0
10392 #        endif
10393 #      endif
10394 #    endif
10395 #  endif
10396 #endif
10397
10398 #ifdef __cplusplus
10399 extern "C" void exit (int);
10400 #endif
10401
10402 void fnord() { int i=42;}
10403 int main ()
10404 {
10405   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10406   int status = $lt_dlunknown;
10407
10408   if (self)
10409     {
10410       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10411       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10412       /* dlclose (self); */
10413     }
10414   else
10415     puts (dlerror ());
10416
10417     exit (status);
10418 }
10419 EOF
10420   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10421   (eval $ac_link) 2>&5
10422   ac_status=$?
10423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10424   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10425     (./conftest; exit; ) >&5 2>/dev/null
10426     lt_status=$?
10427     case x$lt_status in
10428       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10429       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10430       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10431     esac
10432   else :
10433     # compilation failed
10434     lt_cv_dlopen_self=no
10435   fi
10436 fi
10437 rm -fr conftest*
10438
10439
10440 fi
10441 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10442 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10443
10444     if test "x$lt_cv_dlopen_self" = xyes; then
10445       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10446       { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10447 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10448 if test "${lt_cv_dlopen_self_static+set}" = set; then
10449   echo $ECHO_N "(cached) $ECHO_C" >&6
10450 else
10451           if test "$cross_compiling" = yes; then :
10452   lt_cv_dlopen_self_static=cross
10453 else
10454   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10455   lt_status=$lt_dlunknown
10456   cat > conftest.$ac_ext <<EOF
10457 #line 10457 "configure"
10458 #include "confdefs.h"
10459
10460 #if HAVE_DLFCN_H
10461 #include <dlfcn.h>
10462 #endif
10463
10464 #include <stdio.h>
10465
10466 #ifdef RTLD_GLOBAL
10467 #  define LT_DLGLOBAL           RTLD_GLOBAL
10468 #else
10469 #  ifdef DL_GLOBAL
10470 #    define LT_DLGLOBAL         DL_GLOBAL
10471 #  else
10472 #    define LT_DLGLOBAL         0
10473 #  endif
10474 #endif
10475
10476 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10477    find out it does not work in some platform. */
10478 #ifndef LT_DLLAZY_OR_NOW
10479 #  ifdef RTLD_LAZY
10480 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10481 #  else
10482 #    ifdef DL_LAZY
10483 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10484 #    else
10485 #      ifdef RTLD_NOW
10486 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10487 #      else
10488 #        ifdef DL_NOW
10489 #          define LT_DLLAZY_OR_NOW      DL_NOW
10490 #        else
10491 #          define LT_DLLAZY_OR_NOW      0
10492 #        endif
10493 #      endif
10494 #    endif
10495 #  endif
10496 #endif
10497
10498 #ifdef __cplusplus
10499 extern "C" void exit (int);
10500 #endif
10501
10502 void fnord() { int i=42;}
10503 int main ()
10504 {
10505   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10506   int status = $lt_dlunknown;
10507
10508   if (self)
10509     {
10510       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10511       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10512       /* dlclose (self); */
10513     }
10514   else
10515     puts (dlerror ());
10516
10517     exit (status);
10518 }
10519 EOF
10520   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10521   (eval $ac_link) 2>&5
10522   ac_status=$?
10523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10524   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10525     (./conftest; exit; ) >&5 2>/dev/null
10526     lt_status=$?
10527     case x$lt_status in
10528       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10529       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10530       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10531     esac
10532   else :
10533     # compilation failed
10534     lt_cv_dlopen_self_static=no
10535   fi
10536 fi
10537 rm -fr conftest*
10538
10539
10540 fi
10541 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10542 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10543     fi
10544
10545     CPPFLAGS="$save_CPPFLAGS"
10546     LDFLAGS="$save_LDFLAGS"
10547     LIBS="$save_LIBS"
10548     ;;
10549   esac
10550
10551   case $lt_cv_dlopen_self in
10552   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10553   *) enable_dlopen_self=unknown ;;
10554   esac
10555
10556   case $lt_cv_dlopen_self_static in
10557   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10558   *) enable_dlopen_self_static=unknown ;;
10559   esac
10560 fi
10561
10562
10563 # Report which library types will actually be built
10564 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10565 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10566 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10567 echo "${ECHO_T}$can_build_shared" >&6; }
10568
10569 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10570 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10571 test "$can_build_shared" = "no" && enable_shared=no
10572
10573 # On AIX, shared libraries and static libraries use the same namespace, and
10574 # are all built from PIC.
10575 case $host_os in
10576 aix3*)
10577   test "$enable_shared" = yes && enable_static=no
10578   if test -n "$RANLIB"; then
10579     archive_cmds="$archive_cmds~\$RANLIB \$lib"
10580     postinstall_cmds='$RANLIB $lib'
10581   fi
10582   ;;
10583
10584 aix4* | aix5*)
10585   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10586     test "$enable_shared" = yes && enable_static=no
10587   fi
10588     ;;
10589 esac
10590 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10591 echo "${ECHO_T}$enable_shared" >&6; }
10592
10593 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10594 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10595 # Make sure either enable_shared or enable_static is yes.
10596 test "$enable_shared" = yes || enable_static=yes
10597 { echo "$as_me:$LINENO: result: $enable_static" >&5
10598 echo "${ECHO_T}$enable_static" >&6; }
10599
10600 # The else clause should only fire when bootstrapping the
10601 # libtool distribution, otherwise you forgot to ship ltmain.sh
10602 # with your package, and you will get complaints that there are
10603 # no rules to generate ltmain.sh.
10604 if test -f "$ltmain"; then
10605   # See if we are running on zsh, and set the options which allow our commands through
10606   # without removal of \ escapes.
10607   if test -n "${ZSH_VERSION+set}" ; then
10608     setopt NO_GLOB_SUBST
10609   fi
10610   # Now quote all the things that may contain metacharacters while being
10611   # careful not to overquote the AC_SUBSTed values.  We take copies of the
10612   # variables and quote the copies for generation of the libtool script.
10613   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10614     SED SHELL STRIP \
10615     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10616     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10617     deplibs_check_method reload_flag reload_cmds need_locks \
10618     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10619     lt_cv_sys_global_symbol_to_c_name_address \
10620     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10621     old_postinstall_cmds old_postuninstall_cmds \
10622     compiler \
10623     CC \
10624     LD \
10625     lt_prog_compiler_wl \
10626     lt_prog_compiler_pic \
10627     lt_prog_compiler_static \
10628     lt_prog_compiler_no_builtin_flag \
10629     export_dynamic_flag_spec \
10630     thread_safe_flag_spec \
10631     whole_archive_flag_spec \
10632     enable_shared_with_static_runtimes \
10633     old_archive_cmds \
10634     old_archive_from_new_cmds \
10635     predep_objects \
10636     postdep_objects \
10637     predeps \
10638     postdeps \
10639     compiler_lib_search_path \
10640     archive_cmds \
10641     archive_expsym_cmds \
10642     postinstall_cmds \
10643     postuninstall_cmds \
10644     old_archive_from_expsyms_cmds \
10645     allow_undefined_flag \
10646     no_undefined_flag \
10647     export_symbols_cmds \
10648     hardcode_libdir_flag_spec \
10649     hardcode_libdir_flag_spec_ld \
10650     hardcode_libdir_separator \
10651     hardcode_automatic \
10652     module_cmds \
10653     module_expsym_cmds \
10654     lt_cv_prog_compiler_c_o \
10655     exclude_expsyms \
10656     include_expsyms; do
10657
10658     case $var in
10659     old_archive_cmds | \
10660     old_archive_from_new_cmds | \
10661     archive_cmds | \
10662     archive_expsym_cmds | \
10663     module_cmds | \
10664     module_expsym_cmds | \
10665     old_archive_from_expsyms_cmds | \
10666     export_symbols_cmds | \
10667     extract_expsyms_cmds | reload_cmds | finish_cmds | \
10668     postinstall_cmds | postuninstall_cmds | \
10669     old_postinstall_cmds | old_postuninstall_cmds | \
10670     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10671       # Double-quote double-evaled strings.
10672       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
10673       ;;
10674     *)
10675       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
10676       ;;
10677     esac
10678   done
10679
10680   case $lt_echo in
10681   *'\$0 --fallback-echo"')
10682     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10683     ;;
10684   esac
10685
10686 cfgfile="${ofile}T"
10687   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10688   $rm -f "$cfgfile"
10689   { echo "$as_me:$LINENO: creating $ofile" >&5
10690 echo "$as_me: creating $ofile" >&6;}
10691
10692   cat <<__EOF__ >> "$cfgfile"
10693 #! $SHELL
10694
10695 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
10696 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10697 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10698 #
10699 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10700 # Free Software Foundation, Inc.
10701 #
10702 # This file is part of GNU Libtool:
10703 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10704 #
10705 # This program is free software; you can redistribute it and/or modify
10706 # it under the terms of the GNU General Public License as published by
10707 # the Free Software Foundation; either version 2 of the License, or
10708 # (at your option) any later version.
10709 #
10710 # This program is distributed in the hope that it will be useful, but
10711 # WITHOUT ANY WARRANTY; without even the implied warranty of
10712 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
10713 # General Public License for more details.
10714 #
10715 # You should have received a copy of the GNU General Public License
10716 # along with this program; if not, write to the Free Software
10717 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10718 #
10719 # As a special exception to the GNU General Public License, if you
10720 # distribute this file as part of a program that contains a
10721 # configuration script generated by Autoconf, you may include it under
10722 # the same distribution terms that you use for the rest of that program.
10723
10724 # A sed program that does not truncate output.
10725 SED=$lt_SED
10726
10727 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10728 Xsed="$SED -e 1s/^X//"
10729
10730 # The HP-UX ksh and POSIX shell print the target directory to stdout
10731 # if CDPATH is set.
10732 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10733
10734 # The names of the tagged configurations supported by this script.
10735 available_tags=
10736
10737 # ### BEGIN LIBTOOL CONFIG
10738
10739 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
10740
10741 # Shell to use when invoking shell scripts.
10742 SHELL=$lt_SHELL
10743
10744 # Whether or not to build shared libraries.
10745 build_libtool_libs=$enable_shared
10746
10747 # Whether or not to build static libraries.
10748 build_old_libs=$enable_static
10749
10750 # Whether or not to add -lc for building shared libraries.
10751 build_libtool_need_lc=$archive_cmds_need_lc
10752
10753 # Whether or not to disallow shared libs when runtime libs are static
10754 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10755
10756 # Whether or not to optimize for fast installation.
10757 fast_install=$enable_fast_install
10758
10759 # The host system.
10760 host_alias=$host_alias
10761 host=$host
10762 host_os=$host_os
10763
10764 # The build system.
10765 build_alias=$build_alias
10766 build=$build
10767 build_os=$build_os
10768
10769 # An echo program that does not interpret backslashes.
10770 echo=$lt_echo
10771
10772 # The archiver.
10773 AR=$lt_AR
10774 AR_FLAGS=$lt_AR_FLAGS
10775
10776 # A C compiler.
10777 LTCC=$lt_LTCC
10778
10779 # LTCC compiler flags.
10780 LTCFLAGS=$lt_LTCFLAGS
10781
10782 # A language-specific compiler.
10783 CC=$lt_compiler
10784
10785 # Is the compiler the GNU C compiler?
10786 with_gcc=$GCC
10787
10788 # An ERE matcher.
10789 EGREP=$lt_EGREP
10790
10791 # The linker used to build libraries.
10792 LD=$lt_LD
10793
10794 # Whether we need hard or soft links.
10795 LN_S=$lt_LN_S
10796
10797 # A BSD-compatible nm program.
10798 NM=$lt_NM
10799
10800 # A symbol stripping program
10801 STRIP=$lt_STRIP
10802
10803 # Used to examine libraries when file_magic_cmd begins "file"
10804 MAGIC_CMD=$MAGIC_CMD
10805
10806 # Used on cygwin: DLL creation program.
10807 DLLTOOL="$DLLTOOL"
10808
10809 # Used on cygwin: object dumper.
10810 OBJDUMP="$OBJDUMP"
10811
10812 # Used on cygwin: assembler.
10813 AS="$AS"
10814
10815 # The name of the directory that contains temporary libtool files.
10816 objdir=$objdir
10817
10818 # How to create reloadable object files.
10819 reload_flag=$lt_reload_flag
10820 reload_cmds=$lt_reload_cmds
10821
10822 # How to pass a linker flag through the compiler.
10823 wl=$lt_lt_prog_compiler_wl
10824
10825 # Object file suffix (normally "o").
10826 objext="$ac_objext"
10827
10828 # Old archive suffix (normally "a").
10829 libext="$libext"
10830
10831 # Shared library suffix (normally ".so").
10832 shrext_cmds='$shrext_cmds'
10833
10834 # Executable file suffix (normally "").
10835 exeext="$exeext"
10836
10837 # Additional compiler flags for building library objects.
10838 pic_flag=$lt_lt_prog_compiler_pic
10839 pic_mode=$pic_mode
10840
10841 # What is the maximum length of a command?
10842 max_cmd_len=$lt_cv_sys_max_cmd_len
10843
10844 # Does compiler simultaneously support -c and -o options?
10845 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10846
10847 # Must we lock files when doing compilation?
10848 need_locks=$lt_need_locks
10849
10850 # Do we need the lib prefix for modules?
10851 need_lib_prefix=$need_lib_prefix
10852
10853 # Do we need a version for libraries?
10854 need_version=$need_version
10855
10856 # Whether dlopen is supported.
10857 dlopen_support=$enable_dlopen
10858
10859 # Whether dlopen of programs is supported.
10860 dlopen_self=$enable_dlopen_self
10861
10862 # Whether dlopen of statically linked programs is supported.
10863 dlopen_self_static=$enable_dlopen_self_static
10864
10865 # Compiler flag to prevent dynamic linking.
10866 link_static_flag=$lt_lt_prog_compiler_static
10867
10868 # Compiler flag to turn off builtin functions.
10869 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10870
10871 # Compiler flag to allow reflexive dlopens.
10872 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10873
10874 # Compiler flag to generate shared objects directly from archives.
10875 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10876
10877 # Compiler flag to generate thread-safe objects.
10878 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10879
10880 # Library versioning type.
10881 version_type=$version_type
10882
10883 # Format of library name prefix.
10884 libname_spec=$lt_libname_spec
10885
10886 # List of archive names.  First name is the real one, the rest are links.
10887 # The last name is the one that the linker finds with -lNAME.
10888 library_names_spec=$lt_library_names_spec
10889
10890 # The coded name of the library, if different from the real name.
10891 soname_spec=$lt_soname_spec
10892
10893 # Commands used to build and install an old-style archive.
10894 RANLIB=$lt_RANLIB
10895 old_archive_cmds=$lt_old_archive_cmds
10896 old_postinstall_cmds=$lt_old_postinstall_cmds
10897 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10898
10899 # Create an old-style archive from a shared archive.
10900 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10901
10902 # Create a temporary old-style archive to link instead of a shared archive.
10903 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10904
10905 # Commands used to build and install a shared archive.
10906 archive_cmds=$lt_archive_cmds
10907 archive_expsym_cmds=$lt_archive_expsym_cmds
10908 postinstall_cmds=$lt_postinstall_cmds
10909 postuninstall_cmds=$lt_postuninstall_cmds
10910
10911 # Commands used to build a loadable module (assumed same as above if empty)
10912 module_cmds=$lt_module_cmds
10913 module_expsym_cmds=$lt_module_expsym_cmds
10914
10915 # Commands to strip libraries.
10916 old_striplib=$lt_old_striplib
10917 striplib=$lt_striplib
10918
10919 # Dependencies to place before the objects being linked to create a
10920 # shared library.
10921 predep_objects=$lt_predep_objects
10922
10923 # Dependencies to place after the objects being linked to create a
10924 # shared library.
10925 postdep_objects=$lt_postdep_objects
10926
10927 # Dependencies to place before the objects being linked to create a
10928 # shared library.
10929 predeps=$lt_predeps
10930
10931 # Dependencies to place after the objects being linked to create a
10932 # shared library.
10933 postdeps=$lt_postdeps
10934
10935 # The library search path used internally by the compiler when linking
10936 # a shared library.
10937 compiler_lib_search_path=$lt_compiler_lib_search_path
10938
10939 # Method to check whether dependent libraries are shared objects.
10940 deplibs_check_method=$lt_deplibs_check_method
10941
10942 # Command to use when deplibs_check_method == file_magic.
10943 file_magic_cmd=$lt_file_magic_cmd
10944
10945 # Flag that allows shared libraries with undefined symbols to be built.
10946 allow_undefined_flag=$lt_allow_undefined_flag
10947
10948 # Flag that forces no undefined symbols.
10949 no_undefined_flag=$lt_no_undefined_flag
10950
10951 # Commands used to finish a libtool library installation in a directory.
10952 finish_cmds=$lt_finish_cmds
10953
10954 # Same as above, but a single script fragment to be evaled but not shown.
10955 finish_eval=$lt_finish_eval
10956
10957 # Take the output of nm and produce a listing of raw symbols and C names.
10958 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10959
10960 # Transform the output of nm in a proper C declaration
10961 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10962
10963 # Transform the output of nm in a C name address pair
10964 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10965
10966 # This is the shared library runtime path variable.
10967 runpath_var=$runpath_var
10968
10969 # This is the shared library path variable.
10970 shlibpath_var=$shlibpath_var
10971
10972 # Is shlibpath searched before the hard-coded library search path?
10973 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10974
10975 # How to hardcode a shared library path into an executable.
10976 hardcode_action=$hardcode_action
10977
10978 # Whether we should hardcode library paths into libraries.
10979 hardcode_into_libs=$hardcode_into_libs
10980
10981 # Flag to hardcode \$libdir into a binary during linking.
10982 # This must work even if \$libdir does not exist.
10983 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10984
10985 # If ld is used when linking, flag to hardcode \$libdir into
10986 # a binary during linking. This must work even if \$libdir does
10987 # not exist.
10988 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10989
10990 # Whether we need a single -rpath flag with a separated argument.
10991 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10992
10993 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10994 # resulting binary.
10995 hardcode_direct=$hardcode_direct
10996
10997 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10998 # resulting binary.
10999 hardcode_minus_L=$hardcode_minus_L
11000
11001 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11002 # the resulting binary.
11003 hardcode_shlibpath_var=$hardcode_shlibpath_var
11004
11005 # Set to yes if building a shared library automatically hardcodes DIR into the library
11006 # and all subsequent libraries and executables linked against it.
11007 hardcode_automatic=$hardcode_automatic
11008
11009 # Variables whose values should be saved in libtool wrapper scripts and
11010 # restored at relink time.
11011 variables_saved_for_relink="$variables_saved_for_relink"
11012
11013 # Whether libtool must link a program against all its dependency libraries.
11014 link_all_deplibs=$link_all_deplibs
11015
11016 # Compile-time system search path for libraries
11017 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11018
11019 # Run-time system search path for libraries
11020 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11021
11022 # Fix the shell variable \$srcfile for the compiler.
11023 fix_srcfile_path="$fix_srcfile_path"
11024
11025 # Set to yes if exported symbols are required.
11026 always_export_symbols=$always_export_symbols
11027
11028 # The commands to list exported symbols.
11029 export_symbols_cmds=$lt_export_symbols_cmds
11030
11031 # The commands to extract the exported symbol list from a shared archive.
11032 extract_expsyms_cmds=$lt_extract_expsyms_cmds
11033
11034 # Symbols that should not be listed in the preloaded symbols.
11035 exclude_expsyms=$lt_exclude_expsyms
11036
11037 # Symbols that must always be exported.
11038 include_expsyms=$lt_include_expsyms
11039
11040 # ### END LIBTOOL CONFIG
11041
11042 __EOF__
11043
11044
11045   case $host_os in
11046   aix3*)
11047     cat <<\EOF >> "$cfgfile"
11048
11049 # AIX sometimes has problems with the GCC collect2 program.  For some
11050 # reason, if we set the COLLECT_NAMES environment variable, the problems
11051 # vanish in a puff of smoke.
11052 if test "X${COLLECT_NAMES+set}" != Xset; then
11053   COLLECT_NAMES=
11054   export COLLECT_NAMES
11055 fi
11056 EOF
11057     ;;
11058   esac
11059
11060   # We use sed instead of cat because bash on DJGPP gets confused if
11061   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
11062   # text mode, it properly converts lines to CR/LF.  This bash problem
11063   # is reportedly fixed, but why not run on old versions too?
11064   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11065
11066   mv -f "$cfgfile" "$ofile" || \
11067     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11068   chmod +x "$ofile"
11069
11070 else
11071   # If there is no Makefile yet, we rely on a make rule to execute
11072   # `config.status --recheck' to rerun these tests and create the
11073   # libtool script then.
11074   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
11075   if test -f "$ltmain_in"; then
11076     test -f Makefile && make "$ltmain"
11077   fi
11078 fi
11079
11080
11081 ac_ext=c
11082 ac_cpp='$CPP $CPPFLAGS'
11083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11086
11087 CC="$lt_save_CC"
11088
11089
11090 # Check whether --with-tags was given.
11091 if test "${with_tags+set}" = set; then
11092   withval=$with_tags; tagnames="$withval"
11093 fi
11094
11095
11096 if test -f "$ltmain" && test -n "$tagnames"; then
11097   if test ! -f "${ofile}"; then
11098     { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
11099 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
11100   fi
11101
11102   if test -z "$LTCC"; then
11103     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
11104     if test -z "$LTCC"; then
11105       { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11106 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
11107     else
11108       { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
11109 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
11110     fi
11111   fi
11112   if test -z "$LTCFLAGS"; then
11113     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
11114   fi
11115
11116   # Extract list of available tagged configurations in $ofile.
11117   # Note that this assumes the entire list is on one line.
11118   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11119
11120   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11121   for tagname in $tagnames; do
11122     IFS="$lt_save_ifs"
11123     # Check whether tagname contains only valid characters
11124     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11125     "") ;;
11126     *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11127 echo "$as_me: error: invalid tag name: $tagname" >&2;}
11128    { (exit 1); exit 1; }; }
11129         ;;
11130     esac
11131
11132     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11133     then
11134       { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11135 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11136    { (exit 1); exit 1; }; }
11137     fi
11138
11139     # Update the list of available tags.
11140     if test -n "$tagname"; then
11141       echo appending configuration tag \"$tagname\" to $ofile
11142
11143       case $tagname in
11144       CXX)
11145         if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11146             ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11147             (test "X$CXX" != "Xg++"))) ; then
11148           ac_ext=cpp
11149 ac_cpp='$CXXCPP $CPPFLAGS'
11150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11153
11154
11155
11156
11157 archive_cmds_need_lc_CXX=no
11158 allow_undefined_flag_CXX=
11159 always_export_symbols_CXX=no
11160 archive_expsym_cmds_CXX=
11161 export_dynamic_flag_spec_CXX=
11162 hardcode_direct_CXX=no
11163 hardcode_libdir_flag_spec_CXX=
11164 hardcode_libdir_flag_spec_ld_CXX=
11165 hardcode_libdir_separator_CXX=
11166 hardcode_minus_L_CXX=no
11167 hardcode_shlibpath_var_CXX=unsupported
11168 hardcode_automatic_CXX=no
11169 module_cmds_CXX=
11170 module_expsym_cmds_CXX=
11171 link_all_deplibs_CXX=unknown
11172 old_archive_cmds_CXX=$old_archive_cmds
11173 no_undefined_flag_CXX=
11174 whole_archive_flag_spec_CXX=
11175 enable_shared_with_static_runtimes_CXX=no
11176
11177 # Dependencies to place before and after the object being linked:
11178 predep_objects_CXX=
11179 postdep_objects_CXX=
11180 predeps_CXX=
11181 postdeps_CXX=
11182 compiler_lib_search_path_CXX=
11183
11184 # Source file extension for C++ test sources.
11185 ac_ext=cpp
11186
11187 # Object file extension for compiled C++ test sources.
11188 objext=o
11189 objext_CXX=$objext
11190
11191 # Code to be used in simple compile tests
11192 lt_simple_compile_test_code="int some_variable = 0;\n"
11193
11194 # Code to be used in simple link tests
11195 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
11196
11197 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11198
11199 # If no C compiler was specified, use CC.
11200 LTCC=${LTCC-"$CC"}
11201
11202 # If no C compiler flags were specified, use CFLAGS.
11203 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11204
11205 # Allow CC to be a program name with arguments.
11206 compiler=$CC
11207
11208
11209 # save warnings/boilerplate of simple test code
11210 ac_outfile=conftest.$ac_objext
11211 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
11212 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11213 _lt_compiler_boilerplate=`cat conftest.err`
11214 $rm conftest*
11215
11216 ac_outfile=conftest.$ac_objext
11217 printf "$lt_simple_link_test_code" >conftest.$ac_ext
11218 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11219 _lt_linker_boilerplate=`cat conftest.err`
11220 $rm conftest*
11221
11222
11223 # Allow CC to be a program name with arguments.
11224 lt_save_CC=$CC
11225 lt_save_LD=$LD
11226 lt_save_GCC=$GCC
11227 GCC=$GXX
11228 lt_save_with_gnu_ld=$with_gnu_ld
11229 lt_save_path_LD=$lt_cv_path_LD
11230 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11231   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11232 else
11233   $as_unset lt_cv_prog_gnu_ld
11234 fi
11235 if test -n "${lt_cv_path_LDCXX+set}"; then
11236   lt_cv_path_LD=$lt_cv_path_LDCXX
11237 else
11238   $as_unset lt_cv_path_LD
11239 fi
11240 test -z "${LDCXX+set}" || LD=$LDCXX
11241 CC=${CXX-"c++"}
11242 compiler=$CC
11243 compiler_CXX=$CC
11244 for cc_temp in $compiler""; do
11245   case $cc_temp in
11246     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11247     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11248     \-*) ;;
11249     *) break;;
11250   esac
11251 done
11252 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11253
11254
11255 # We don't want -fno-exception wen compiling C++ code, so set the
11256 # no_builtin_flag separately
11257 if test "$GXX" = yes; then
11258   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11259 else
11260   lt_prog_compiler_no_builtin_flag_CXX=
11261 fi
11262
11263 if test "$GXX" = yes; then
11264   # Set up default GNU C++ configuration
11265
11266
11267 # Check whether --with-gnu-ld was given.
11268 if test "${with_gnu_ld+set}" = set; then
11269   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11270 else
11271   with_gnu_ld=no
11272 fi
11273
11274 ac_prog=ld
11275 if test "$GCC" = yes; then
11276   # Check if gcc -print-prog-name=ld gives a path.
11277   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11278 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11279   case $host in
11280   *-*-mingw*)
11281     # gcc leaves a trailing carriage return which upsets mingw
11282     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11283   *)
11284     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11285   esac
11286   case $ac_prog in
11287     # Accept absolute paths.
11288     [\\/]* | ?:[\\/]*)
11289       re_direlt='/[^/][^/]*/\.\./'
11290       # Canonicalize the pathname of ld
11291       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
11292       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11293         ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
11294       done
11295       test -z "$LD" && LD="$ac_prog"
11296       ;;
11297   "")
11298     # If it fails, then pretend we aren't using GCC.
11299     ac_prog=ld
11300     ;;
11301   *)
11302     # If it is relative, then search for the first ld in PATH.
11303     with_gnu_ld=unknown
11304     ;;
11305   esac
11306 elif test "$with_gnu_ld" = yes; then
11307   { echo "$as_me:$LINENO: checking for GNU ld" >&5
11308 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11309 else
11310   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11311 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11312 fi
11313 if test "${lt_cv_path_LD+set}" = set; then
11314   echo $ECHO_N "(cached) $ECHO_C" >&6
11315 else
11316   if test -z "$LD"; then
11317   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11318   for ac_dir in $PATH; do
11319     IFS="$lt_save_ifs"
11320     test -z "$ac_dir" && ac_dir=.
11321     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11322       lt_cv_path_LD="$ac_dir/$ac_prog"
11323       # Check to see if the program is GNU ld.  I'd rather use --version,
11324       # but apparently some variants of GNU ld only accept -v.
11325       # Break only if it was the GNU/non-GNU ld that we prefer.
11326       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11327       *GNU* | *'with BFD'*)
11328         test "$with_gnu_ld" != no && break
11329         ;;
11330       *)
11331         test "$with_gnu_ld" != yes && break
11332         ;;
11333       esac
11334     fi
11335   done
11336   IFS="$lt_save_ifs"
11337 else
11338   lt_cv_path_LD="$LD" # Let the user override the test with a path.
11339 fi
11340 fi
11341
11342 LD="$lt_cv_path_LD"
11343 if test -n "$LD"; then
11344   { echo "$as_me:$LINENO: result: $LD" >&5
11345 echo "${ECHO_T}$LD" >&6; }
11346 else
11347   { echo "$as_me:$LINENO: result: no" >&5
11348 echo "${ECHO_T}no" >&6; }
11349 fi
11350 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11351 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11352    { (exit 1); exit 1; }; }
11353 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11354 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11355 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11356   echo $ECHO_N "(cached) $ECHO_C" >&6
11357 else
11358   # I'd rather use --version here, but apparently some GNU lds only accept -v.
11359 case `$LD -v 2>&1 </dev/null` in
11360 *GNU* | *'with BFD'*)
11361   lt_cv_prog_gnu_ld=yes
11362   ;;
11363 *)
11364   lt_cv_prog_gnu_ld=no
11365   ;;
11366 esac
11367 fi
11368 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11369 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11370 with_gnu_ld=$lt_cv_prog_gnu_ld
11371
11372
11373
11374   # Check if GNU C++ uses GNU ld as the underlying linker, since the
11375   # archiving commands below assume that GNU ld is being used.
11376   if test "$with_gnu_ld" = yes; then
11377     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11378     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'
11379
11380     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11381     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11382
11383     # If archive_cmds runs LD, not CC, wlarc should be empty
11384     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11385     #     investigate it a little bit more. (MM)
11386     wlarc='${wl}'
11387
11388     # ancient GNU ld didn't support --whole-archive et. al.
11389     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
11390         grep 'no-whole-archive' > /dev/null; then
11391       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11392     else
11393       whole_archive_flag_spec_CXX=
11394     fi
11395   else
11396     with_gnu_ld=no
11397     wlarc=
11398
11399     # A generic and very simple default shared library creation
11400     # command for GNU C++ for the case where it uses the native
11401     # linker, instead of GNU ld.  If possible, this setting should
11402     # overridden to take advantage of the native linker features on
11403     # the platform it is being used on.
11404     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11405   fi
11406
11407   # Commands to make compiler produce verbose output that lists
11408   # what "hidden" libraries, object files and flags are used when
11409   # linking a shared library.
11410   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11411
11412 else
11413   GXX=no
11414   with_gnu_ld=no
11415   wlarc=
11416 fi
11417
11418 # PORTME: fill in a description of your system's C++ link characteristics
11419 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11420 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11421 ld_shlibs_CXX=yes
11422 case $host_os in
11423   aix3*)
11424     # FIXME: insert proper C++ library support
11425     ld_shlibs_CXX=no
11426     ;;
11427   aix4* | aix5*)
11428     if test "$host_cpu" = ia64; then
11429       # On IA64, the linker does run time linking by default, so we don't
11430       # have to do anything special.
11431       aix_use_runtimelinking=no
11432       exp_sym_flag='-Bexport'
11433       no_entry_flag=""
11434     else
11435       aix_use_runtimelinking=no
11436
11437       # Test if we are trying to use run time linking or normal
11438       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11439       # need to do runtime linking.
11440       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11441         for ld_flag in $LDFLAGS; do
11442           case $ld_flag in
11443           *-brtl*)
11444             aix_use_runtimelinking=yes
11445             break
11446             ;;
11447           esac
11448         done
11449         ;;
11450       esac
11451
11452       exp_sym_flag='-bexport'
11453       no_entry_flag='-bnoentry'
11454     fi
11455
11456     # When large executables or shared objects are built, AIX ld can
11457     # have problems creating the table of contents.  If linking a library
11458     # or program results in "error TOC overflow" add -mminimal-toc to
11459     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11460     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11461
11462     archive_cmds_CXX=''
11463     hardcode_direct_CXX=yes
11464     hardcode_libdir_separator_CXX=':'
11465     link_all_deplibs_CXX=yes
11466
11467     if test "$GXX" = yes; then
11468       case $host_os in aix4.[012]|aix4.[012].*)
11469       # We only want to do this on AIX 4.2 and lower, the check
11470       # below for broken collect2 doesn't work under 4.3+
11471         collect2name=`${CC} -print-prog-name=collect2`
11472         if test -f "$collect2name" && \
11473            strings "$collect2name" | grep resolve_lib_name >/dev/null
11474         then
11475           # We have reworked collect2
11476           hardcode_direct_CXX=yes
11477         else
11478           # We have old collect2
11479           hardcode_direct_CXX=unsupported
11480           # It fails to find uninstalled libraries when the uninstalled
11481           # path is not listed in the libpath.  Setting hardcode_minus_L
11482           # to unsupported forces relinking
11483           hardcode_minus_L_CXX=yes
11484           hardcode_libdir_flag_spec_CXX='-L$libdir'
11485           hardcode_libdir_separator_CXX=
11486         fi
11487         ;;
11488       esac
11489       shared_flag='-shared'
11490       if test "$aix_use_runtimelinking" = yes; then
11491         shared_flag="$shared_flag "'${wl}-G'
11492       fi
11493     else
11494       # not using gcc
11495       if test "$host_cpu" = ia64; then
11496         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11497         # chokes on -Wl,-G. The following line is correct:
11498         shared_flag='-G'
11499       else
11500         if test "$aix_use_runtimelinking" = yes; then
11501           shared_flag='${wl}-G'
11502         else
11503           shared_flag='${wl}-bM:SRE'
11504         fi
11505       fi
11506     fi
11507
11508     # It seems that -bexpall does not export symbols beginning with
11509     # underscore (_), so it is better to generate a list of symbols to export.
11510     always_export_symbols_CXX=yes
11511     if test "$aix_use_runtimelinking" = yes; then
11512       # Warning - without using the other runtime loading flags (-brtl),
11513       # -berok will link without error, but may produce a broken library.
11514       allow_undefined_flag_CXX='-berok'
11515       # Determine the default libpath from the value encoded in an empty executable.
11516       cat >conftest.$ac_ext <<_ACEOF
11517 /* confdefs.h.  */
11518 _ACEOF
11519 cat confdefs.h >>conftest.$ac_ext
11520 cat >>conftest.$ac_ext <<_ACEOF
11521 /* end confdefs.h.  */
11522
11523 int
11524 main ()
11525 {
11526
11527   ;
11528   return 0;
11529 }
11530 _ACEOF
11531 rm -f conftest.$ac_objext conftest$ac_exeext
11532 if { (ac_try="$ac_link"
11533 case "(($ac_try" in
11534   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11535   *) ac_try_echo=$ac_try;;
11536 esac
11537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11538   (eval "$ac_link") 2>conftest.er1
11539   ac_status=$?
11540   grep -v '^ *+' conftest.er1 >conftest.err
11541   rm -f conftest.er1
11542   cat conftest.err >&5
11543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11544   (exit $ac_status); } && {
11545          test -z "$ac_cxx_werror_flag" ||
11546          test ! -s conftest.err
11547        } && test -s conftest$ac_exeext &&
11548        $as_test_x conftest$ac_exeext; then
11549
11550 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
11551 }'`
11552 # Check for a 64-bit object if we didn't find anything.
11553 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
11554 }'`; fi
11555 else
11556   echo "$as_me: failed program was:" >&5
11557 sed 's/^/| /' conftest.$ac_ext >&5
11558
11559
11560 fi
11561
11562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11563       conftest$ac_exeext conftest.$ac_ext
11564 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11565
11566       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11567
11568       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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11569      else
11570       if test "$host_cpu" = ia64; then
11571         hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11572         allow_undefined_flag_CXX="-z nodefs"
11573         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"
11574       else
11575         # Determine the default libpath from the value encoded in an empty executable.
11576         cat >conftest.$ac_ext <<_ACEOF
11577 /* confdefs.h.  */
11578 _ACEOF
11579 cat confdefs.h >>conftest.$ac_ext
11580 cat >>conftest.$ac_ext <<_ACEOF
11581 /* end confdefs.h.  */
11582
11583 int
11584 main ()
11585 {
11586
11587   ;
11588   return 0;
11589 }
11590 _ACEOF
11591 rm -f conftest.$ac_objext conftest$ac_exeext
11592 if { (ac_try="$ac_link"
11593 case "(($ac_try" in
11594   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11595   *) ac_try_echo=$ac_try;;
11596 esac
11597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11598   (eval "$ac_link") 2>conftest.er1
11599   ac_status=$?
11600   grep -v '^ *+' conftest.er1 >conftest.err
11601   rm -f conftest.er1
11602   cat conftest.err >&5
11603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11604   (exit $ac_status); } && {
11605          test -z "$ac_cxx_werror_flag" ||
11606          test ! -s conftest.err
11607        } && test -s conftest$ac_exeext &&
11608        $as_test_x conftest$ac_exeext; then
11609
11610 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
11611 }'`
11612 # Check for a 64-bit object if we didn't find anything.
11613 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
11614 }'`; fi
11615 else
11616   echo "$as_me: failed program was:" >&5
11617 sed 's/^/| /' conftest.$ac_ext >&5
11618
11619
11620 fi
11621
11622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11623       conftest$ac_exeext conftest.$ac_ext
11624 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11625
11626         hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11627         # Warning - without using the other run time loading flags,
11628         # -berok will link without error, but may produce a broken library.
11629         no_undefined_flag_CXX=' ${wl}-bernotok'
11630         allow_undefined_flag_CXX=' ${wl}-berok'
11631         # Exported symbols can be pulled into shared objects from archives
11632         whole_archive_flag_spec_CXX='$convenience'
11633         archive_cmds_need_lc_CXX=yes
11634         # This is similar to how AIX traditionally builds its shared libraries.
11635         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'
11636       fi
11637     fi
11638     ;;
11639
11640   beos*)
11641     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11642       allow_undefined_flag_CXX=unsupported
11643       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11644       # support --undefined.  This deserves some investigation.  FIXME
11645       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11646     else
11647       ld_shlibs_CXX=no
11648     fi
11649     ;;
11650
11651   chorus*)
11652     case $cc_basename in
11653       *)
11654         # FIXME: insert proper C++ library support
11655         ld_shlibs_CXX=no
11656         ;;
11657     esac
11658     ;;
11659
11660   cygwin* | mingw* | pw32*)
11661     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11662     # as there is no search path for DLLs.
11663     hardcode_libdir_flag_spec_CXX='-L$libdir'
11664     allow_undefined_flag_CXX=unsupported
11665     always_export_symbols_CXX=no
11666     enable_shared_with_static_runtimes_CXX=yes
11667
11668     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11669       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'
11670       # If the export-symbols file already is a .def file (1st line
11671       # is EXPORTS), use it as is; otherwise, prepend...
11672       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11673         cp $export_symbols $output_objdir/$soname.def;
11674       else
11675         echo EXPORTS > $output_objdir/$soname.def;
11676         cat $export_symbols >> $output_objdir/$soname.def;
11677       fi~
11678       $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'
11679     else
11680       ld_shlibs_CXX=no
11681     fi
11682   ;;
11683       darwin* | rhapsody*)
11684         case $host_os in
11685         rhapsody* | darwin1.[012])
11686          allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11687          ;;
11688        *) # Darwin 1.3 on
11689          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11690            allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11691          else
11692            case ${MACOSX_DEPLOYMENT_TARGET} in
11693              10.[012])
11694                allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11695                ;;
11696              10.*)
11697                allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11698                ;;
11699            esac
11700          fi
11701          ;;
11702         esac
11703       archive_cmds_need_lc_CXX=no
11704       hardcode_direct_CXX=no
11705       hardcode_automatic_CXX=yes
11706       hardcode_shlibpath_var_CXX=unsupported
11707       whole_archive_flag_spec_CXX=''
11708       link_all_deplibs_CXX=yes
11709
11710     if test "$GXX" = yes ; then
11711       lt_int_apple_cc_single_mod=no
11712       output_verbose_link_cmd='echo'
11713       if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11714        lt_int_apple_cc_single_mod=yes
11715       fi
11716       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11717        archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11718       else
11719           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'
11720         fi
11721         module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11722         # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11723           if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11724             archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11725           else
11726             archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11727           fi
11728             module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11729       else
11730       case $cc_basename in
11731         xlc*)
11732          output_verbose_link_cmd='echo'
11733           archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
11734           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11735           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11736           archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11737           module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11738           ;;
11739        *)
11740          ld_shlibs_CXX=no
11741           ;;
11742       esac
11743       fi
11744         ;;
11745
11746   dgux*)
11747     case $cc_basename in
11748       ec++*)
11749         # FIXME: insert proper C++ library support
11750         ld_shlibs_CXX=no
11751         ;;
11752       ghcx*)
11753         # Green Hills C++ Compiler
11754         # FIXME: insert proper C++ library support
11755         ld_shlibs_CXX=no
11756         ;;
11757       *)
11758         # FIXME: insert proper C++ library support
11759         ld_shlibs_CXX=no
11760         ;;
11761     esac
11762     ;;
11763   freebsd[12]*)
11764     # C++ shared libraries reported to be fairly broken before switch to ELF
11765     ld_shlibs_CXX=no
11766     ;;
11767   freebsd-elf*)
11768     archive_cmds_need_lc_CXX=no
11769     ;;
11770   freebsd* | kfreebsd*-gnu | dragonfly*)
11771     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11772     # conventions
11773     ld_shlibs_CXX=yes
11774     ;;
11775   gnu*)
11776     ;;
11777   hpux9*)
11778     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11779     hardcode_libdir_separator_CXX=:
11780     export_dynamic_flag_spec_CXX='${wl}-E'
11781     hardcode_direct_CXX=yes
11782     hardcode_minus_L_CXX=yes # Not in the search PATH,
11783                                 # but as the default
11784                                 # location of the library.
11785
11786     case $cc_basename in
11787     CC*)
11788       # FIXME: insert proper C++ library support
11789       ld_shlibs_CXX=no
11790       ;;
11791     aCC*)
11792       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'
11793       # Commands to make compiler produce verbose output that lists
11794       # what "hidden" libraries, object files and flags are used when
11795       # linking a shared library.
11796       #
11797       # There doesn't appear to be a way to prevent this compiler from
11798       # explicitly linking system object files so we need to strip them
11799       # from the output so that they don't get included in the library
11800       # dependencies.
11801       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 $list'
11802       ;;
11803     *)
11804       if test "$GXX" = yes; then
11805         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'
11806       else
11807         # FIXME: insert proper C++ library support
11808         ld_shlibs_CXX=no
11809       fi
11810       ;;
11811     esac
11812     ;;
11813   hpux10*|hpux11*)
11814     if test $with_gnu_ld = no; then
11815       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11816       hardcode_libdir_separator_CXX=:
11817
11818       case $host_cpu in
11819       hppa*64*|ia64*)
11820         hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
11821         ;;
11822       *)
11823         export_dynamic_flag_spec_CXX='${wl}-E'
11824         ;;
11825       esac
11826     fi
11827     case $host_cpu in
11828     hppa*64*|ia64*)
11829       hardcode_direct_CXX=no
11830       hardcode_shlibpath_var_CXX=no
11831       ;;
11832     *)
11833       hardcode_direct_CXX=yes
11834       hardcode_minus_L_CXX=yes # Not in the search PATH,
11835                                               # but as the default
11836                                               # location of the library.
11837       ;;
11838     esac
11839
11840     case $cc_basename in
11841       CC*)
11842         # FIXME: insert proper C++ library support
11843         ld_shlibs_CXX=no
11844         ;;
11845       aCC*)
11846         case $host_cpu in
11847         hppa*64*)
11848           archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11849           ;;
11850         ia64*)
11851           archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11852           ;;
11853         *)
11854           archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11855           ;;
11856         esac
11857         # Commands to make compiler produce verbose output that lists
11858         # what "hidden" libraries, object files and flags are used when
11859         # linking a shared library.
11860         #
11861         # There doesn't appear to be a way to prevent this compiler from
11862         # explicitly linking system object files so we need to strip them
11863         # from the output so that they don't get included in the library
11864         # dependencies.
11865         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 $list'
11866         ;;
11867       *)
11868         if test "$GXX" = yes; then
11869           if test $with_gnu_ld = no; then
11870             case $host_cpu in
11871             hppa*64*)
11872               archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11873               ;;
11874             ia64*)
11875               archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11876               ;;
11877             *)
11878               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'
11879               ;;
11880             esac
11881           fi
11882         else
11883           # FIXME: insert proper C++ library support
11884           ld_shlibs_CXX=no
11885         fi
11886         ;;
11887     esac
11888     ;;
11889   interix3*)
11890     hardcode_direct_CXX=no
11891     hardcode_shlibpath_var_CXX=no
11892     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11893     export_dynamic_flag_spec_CXX='${wl}-E'
11894     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11895     # Instead, shared libraries are loaded at an image base (0x10000000 by
11896     # default) and relocated if they conflict, which is a slow very memory
11897     # consuming and fragmenting process.  To avoid this, we pick a random,
11898     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11899     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11900     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'
11901     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'
11902     ;;
11903   irix5* | irix6*)
11904     case $cc_basename in
11905       CC*)
11906         # SGI C++
11907         archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11908
11909         # Archives containing C++ object files must be created using
11910         # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
11911         # necessary to make sure instantiated templates are included
11912         # in the archive.
11913         old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11914         ;;
11915       *)
11916         if test "$GXX" = yes; then
11917           if test "$with_gnu_ld" = no; then
11918             archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11919           else
11920             archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
11921           fi
11922         fi
11923         link_all_deplibs_CXX=yes
11924         ;;
11925     esac
11926     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11927     hardcode_libdir_separator_CXX=:
11928     ;;
11929   linux*)
11930     case $cc_basename in
11931       KCC*)
11932         # Kuck and Associates, Inc. (KAI) C++ Compiler
11933
11934         # KCC will only create a shared library if the output file
11935         # ends with ".so" (or ".sl" for HP-UX), so rename the library
11936         # to its proper name (with version) after linking.
11937         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'
11938         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'
11939         # Commands to make compiler produce verbose output that lists
11940         # what "hidden" libraries, object files and flags are used when
11941         # linking a shared library.
11942         #
11943         # There doesn't appear to be a way to prevent this compiler from
11944         # explicitly linking system object files so we need to strip them
11945         # from the output so that they don't get included in the library
11946         # dependencies.
11947         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 $list'
11948
11949         hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
11950         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11951
11952         # Archives containing C++ object files must be created using
11953         # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11954         old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11955         ;;
11956       icpc*)
11957         # Intel C++
11958         with_gnu_ld=yes
11959         # version 8.0 and above of icpc choke on multiply defined symbols
11960         # if we add $predep_objects and $postdep_objects, however 7.1 and
11961         # earlier do not add the objects themselves.
11962         case `$CC -V 2>&1` in
11963         *"Version 7."*)
11964           archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11965           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'
11966           ;;
11967         *)  # Version 8.0 or newer
11968           tmp_idyn=
11969           case $host_cpu in
11970             ia64*) tmp_idyn=' -i_dynamic';;
11971           esac
11972           archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11973           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'
11974           ;;
11975         esac
11976         archive_cmds_need_lc_CXX=no
11977         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11978         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11979         whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11980         ;;
11981       pgCC*)
11982         # Portland Group C++ compiler
11983         archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11984         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'
11985
11986         hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11987         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11988         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'
11989         ;;
11990       cxx*)
11991         # Compaq C++
11992         archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11993         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'
11994
11995         runpath_var=LD_RUN_PATH
11996         hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11997         hardcode_libdir_separator_CXX=:
11998
11999         # Commands to make compiler produce verbose output that lists
12000         # what "hidden" libraries, object files and flags are used when
12001         # linking a shared library.
12002         #
12003         # There doesn't appear to be a way to prevent this compiler from
12004         # explicitly linking system object files so we need to strip them
12005         # from the output so that they don't get included in the library
12006         # dependencies.
12007         output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "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 $list'
12008         ;;
12009     esac
12010     ;;
12011   lynxos*)
12012     # FIXME: insert proper C++ library support
12013     ld_shlibs_CXX=no
12014     ;;
12015   m88k*)
12016     # FIXME: insert proper C++ library support
12017     ld_shlibs_CXX=no
12018     ;;
12019   mvs*)
12020     case $cc_basename in
12021       cxx*)
12022         # FIXME: insert proper C++ library support
12023         ld_shlibs_CXX=no
12024         ;;
12025       *)
12026         # FIXME: insert proper C++ library support
12027         ld_shlibs_CXX=no
12028         ;;
12029     esac
12030     ;;
12031   netbsd*)
12032     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12033       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12034       wlarc=
12035       hardcode_libdir_flag_spec_CXX='-R$libdir'
12036       hardcode_direct_CXX=yes
12037       hardcode_shlibpath_var_CXX=no
12038     fi
12039     # Workaround some broken pre-1.5 toolchains
12040     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12041     ;;
12042   openbsd2*)
12043     # C++ shared libraries are fairly broken
12044     ld_shlibs_CXX=no
12045     ;;
12046   openbsd*)
12047     hardcode_direct_CXX=yes
12048     hardcode_shlibpath_var_CXX=no
12049     archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12050     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12051     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12052       archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12053       export_dynamic_flag_spec_CXX='${wl}-E'
12054       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12055     fi
12056     output_verbose_link_cmd='echo'
12057     ;;
12058   osf3*)
12059     case $cc_basename in
12060       KCC*)
12061         # Kuck and Associates, Inc. (KAI) C++ Compiler
12062
12063         # KCC will only create a shared library if the output file
12064         # ends with ".so" (or ".sl" for HP-UX), so rename the library
12065         # to its proper name (with version) after linking.
12066         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'
12067
12068         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12069         hardcode_libdir_separator_CXX=:
12070
12071         # Archives containing C++ object files must be created using
12072         # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12073         old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12074
12075         ;;
12076       RCC*)
12077         # Rational C++ 2.4.1
12078         # FIXME: insert proper C++ library support
12079         ld_shlibs_CXX=no
12080         ;;
12081       cxx*)
12082         allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12083         archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12084
12085         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12086         hardcode_libdir_separator_CXX=:
12087
12088         # Commands to make compiler produce verbose output that lists
12089         # what "hidden" libraries, object files and flags are used when
12090         # linking a shared library.
12091         #
12092         # There doesn't appear to be a way to prevent this compiler from
12093         # explicitly linking system object files so we need to strip them
12094         # from the output so that they don't get included in the library
12095         # dependencies.
12096         output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "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 $list'
12097         ;;
12098       *)
12099         if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12100           allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12101           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 ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12102
12103           hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12104           hardcode_libdir_separator_CXX=:
12105
12106           # Commands to make compiler produce verbose output that lists
12107           # what "hidden" libraries, object files and flags are used when
12108           # linking a shared library.
12109           output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12110
12111         else
12112           # FIXME: insert proper C++ library support
12113           ld_shlibs_CXX=no
12114         fi
12115         ;;
12116     esac
12117     ;;
12118   osf4* | osf5*)
12119     case $cc_basename in
12120       KCC*)
12121         # Kuck and Associates, Inc. (KAI) C++ Compiler
12122
12123         # KCC will only create a shared library if the output file
12124         # ends with ".so" (or ".sl" for HP-UX), so rename the library
12125         # to its proper name (with version) after linking.
12126         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'
12127
12128         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12129         hardcode_libdir_separator_CXX=:
12130
12131         # Archives containing C++ object files must be created using
12132         # the KAI C++ compiler.
12133         old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
12134         ;;
12135       RCC*)
12136         # Rational C++ 2.4.1
12137         # FIXME: insert proper C++ library support
12138         ld_shlibs_CXX=no
12139         ;;
12140       cxx*)
12141         allow_undefined_flag_CXX=' -expect_unresolved \*'
12142         archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12143         archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12144           echo "-hidden">> $lib.exp~
12145           $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 -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
12146           $rm $lib.exp'
12147
12148         hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12149         hardcode_libdir_separator_CXX=:
12150
12151         # Commands to make compiler produce verbose output that lists
12152         # what "hidden" libraries, object files and flags are used when
12153         # linking a shared library.
12154         #
12155         # There doesn't appear to be a way to prevent this compiler from
12156         # explicitly linking system object files so we need to strip them
12157         # from the output so that they don't get included in the library
12158         # dependencies.
12159         output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "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 $list'
12160         ;;
12161       *)
12162         if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12163           allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12164          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` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12165
12166           hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12167           hardcode_libdir_separator_CXX=:
12168
12169           # Commands to make compiler produce verbose output that lists
12170           # what "hidden" libraries, object files and flags are used when
12171           # linking a shared library.
12172           output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12173
12174         else
12175           # FIXME: insert proper C++ library support
12176           ld_shlibs_CXX=no
12177         fi
12178         ;;
12179     esac
12180     ;;
12181   psos*)
12182     # FIXME: insert proper C++ library support
12183     ld_shlibs_CXX=no
12184     ;;
12185   sunos4*)
12186     case $cc_basename in
12187       CC*)
12188         # Sun C++ 4.x
12189         # FIXME: insert proper C++ library support
12190         ld_shlibs_CXX=no
12191         ;;
12192       lcc*)
12193         # Lucid
12194         # FIXME: insert proper C++ library support
12195         ld_shlibs_CXX=no
12196         ;;
12197       *)
12198         # FIXME: insert proper C++ library support
12199         ld_shlibs_CXX=no
12200         ;;
12201     esac
12202     ;;
12203   solaris*)
12204     case $cc_basename in
12205       CC*)
12206         # Sun C++ 4.2, 5.x and Centerline C++
12207         archive_cmds_need_lc_CXX=yes
12208         no_undefined_flag_CXX=' -zdefs'
12209         archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12210         archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12211         $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'
12212
12213         hardcode_libdir_flag_spec_CXX='-R$libdir'
12214         hardcode_shlibpath_var_CXX=no
12215         case $host_os in
12216           solaris2.[0-5] | solaris2.[0-5].*) ;;
12217           *)
12218             # The C++ compiler is used as linker so we must use $wl
12219             # flag to pass the commands to the underlying system
12220             # linker. We must also pass each convience library through
12221             # to the system linker between allextract/defaultextract.
12222             # The C++ compiler will combine linker options so we
12223             # cannot just pass the convience library names through
12224             # without $wl.
12225             # Supported since Solaris 2.6 (maybe 2.5.1?)
12226             whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
12227             ;;
12228         esac
12229         link_all_deplibs_CXX=yes
12230
12231         output_verbose_link_cmd='echo'
12232
12233         # Archives containing C++ object files must be created using
12234         # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12235         # necessary to make sure instantiated templates are included
12236         # in the archive.
12237         old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12238         ;;
12239       gcx*)
12240         # Green Hills C++ Compiler
12241         archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12242
12243         # The C++ compiler must be used to create the archive.
12244         old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12245         ;;
12246       *)
12247         # GNU C++ compiler with Solaris linker
12248         if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12249           no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12250           if $CC --version | grep -v '^2\.7' > /dev/null; then
12251             archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12252             archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12253                 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12254
12255             # Commands to make compiler produce verbose output that lists
12256             # what "hidden" libraries, object files and flags are used when
12257             # linking a shared library.
12258             output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12259           else
12260             # g++ 2.7 appears to require `-G' NOT `-shared' on this
12261             # platform.
12262             archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12263             archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12264                 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12265
12266             # Commands to make compiler produce verbose output that lists
12267             # what "hidden" libraries, object files and flags are used when
12268             # linking a shared library.
12269             output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12270           fi
12271
12272           hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12273         fi
12274         ;;
12275     esac
12276     ;;
12277   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12278     no_undefined_flag_CXX='${wl}-z,text'
12279     archive_cmds_need_lc_CXX=no
12280     hardcode_shlibpath_var_CXX=no
12281     runpath_var='LD_RUN_PATH'
12282
12283     case $cc_basename in
12284       CC*)
12285         archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12286         archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12287         ;;
12288       *)
12289         archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12290         archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12291         ;;
12292     esac
12293     ;;
12294   sysv5* | sco3.2v5* | sco5v6*)
12295     # Note: We can NOT use -z defs as we might desire, because we do not
12296     # link with -lc, and that would cause any symbols used from libc to
12297     # always be unresolved, which means just about no library would
12298     # ever link correctly.  If we're not using GNU ld we use -z text
12299     # though, which does catch some bad symbols but isn't as heavy-handed
12300     # as -z defs.
12301     # For security reasons, it is highly recommended that you always
12302     # use absolute paths for naming shared libraries, and exclude the
12303     # DT_RUNPATH tag from executables and libraries.  But doing so
12304     # requires that you compile everything twice, which is a pain.
12305     # So that behaviour is only enabled if SCOABSPATH is set to a
12306     # non-empty value in the environment.  Most likely only useful for
12307     # creating official distributions of packages.
12308     # This is a hack until libtool officially supports absolute path
12309     # names for shared libraries.
12310     no_undefined_flag_CXX='${wl}-z,text'
12311     allow_undefined_flag_CXX='${wl}-z,nodefs'
12312     archive_cmds_need_lc_CXX=no
12313     hardcode_shlibpath_var_CXX=no
12314     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12315     hardcode_libdir_separator_CXX=':'
12316     link_all_deplibs_CXX=yes
12317     export_dynamic_flag_spec_CXX='${wl}-Bexport'
12318     runpath_var='LD_RUN_PATH'
12319
12320     case $cc_basename in
12321       CC*)
12322         archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12323         archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12324         ;;
12325       *)
12326         archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12327         archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12328         ;;
12329     esac
12330     ;;
12331   tandem*)
12332     case $cc_basename in
12333       NCC*)
12334         # NonStop-UX NCC 3.20
12335         # FIXME: insert proper C++ library support
12336         ld_shlibs_CXX=no
12337         ;;
12338       *)
12339         # FIXME: insert proper C++ library support
12340         ld_shlibs_CXX=no
12341         ;;
12342     esac
12343     ;;
12344   vxworks*)
12345     # FIXME: insert proper C++ library support
12346     ld_shlibs_CXX=no
12347     ;;
12348   *)
12349     # FIXME: insert proper C++ library support
12350     ld_shlibs_CXX=no
12351     ;;
12352 esac
12353 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12354 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12355 test "$ld_shlibs_CXX" = no && can_build_shared=no
12356
12357 GCC_CXX="$GXX"
12358 LD_CXX="$LD"
12359
12360
12361 cat > conftest.$ac_ext <<EOF
12362 class Foo
12363 {
12364 public:
12365   Foo (void) { a = 0; }
12366 private:
12367   int a;
12368 };
12369 EOF
12370
12371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12372   (eval $ac_compile) 2>&5
12373   ac_status=$?
12374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12375   (exit $ac_status); }; then
12376   # Parse the compiler output and extract the necessary
12377   # objects, libraries and library flags.
12378
12379   # Sentinel used to keep track of whether or not we are before
12380   # the conftest object file.
12381   pre_test_object_deps_done=no
12382
12383   # The `*' in the case matches for architectures that use `case' in
12384   # $output_verbose_cmd can trigger glob expansion during the loop
12385   # eval without this substitution.
12386   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12387
12388   for p in `eval $output_verbose_link_cmd`; do
12389     case $p in
12390
12391     -L* | -R* | -l*)
12392        # Some compilers place space between "-{L,R}" and the path.
12393        # Remove the space.
12394        if test $p = "-L" \
12395           || test $p = "-R"; then
12396          prev=$p
12397          continue
12398        else
12399          prev=
12400        fi
12401
12402        if test "$pre_test_object_deps_done" = no; then
12403          case $p in
12404          -L* | -R*)
12405            # Internal compiler library paths should come after those
12406            # provided the user.  The postdeps already come after the
12407            # user supplied libs so there is no need to process them.
12408            if test -z "$compiler_lib_search_path_CXX"; then
12409              compiler_lib_search_path_CXX="${prev}${p}"
12410            else
12411              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12412            fi
12413            ;;
12414          # The "-l" case would never come before the object being
12415          # linked, so don't bother handling this case.
12416          esac
12417        else
12418          if test -z "$postdeps_CXX"; then
12419            postdeps_CXX="${prev}${p}"
12420          else
12421            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12422          fi
12423        fi
12424        ;;
12425
12426     *.$objext)
12427        # This assumes that the test object file only shows up
12428        # once in the compiler output.
12429        if test "$p" = "conftest.$objext"; then
12430          pre_test_object_deps_done=yes
12431          continue
12432        fi
12433
12434        if test "$pre_test_object_deps_done" = no; then
12435          if test -z "$predep_objects_CXX"; then
12436            predep_objects_CXX="$p"
12437          else
12438            predep_objects_CXX="$predep_objects_CXX $p"
12439          fi
12440        else
12441          if test -z "$postdep_objects_CXX"; then
12442            postdep_objects_CXX="$p"
12443          else
12444            postdep_objects_CXX="$postdep_objects_CXX $p"
12445          fi
12446        fi
12447        ;;
12448
12449     *) ;; # Ignore the rest.
12450
12451     esac
12452   done
12453
12454   # Clean up.
12455   rm -f a.out a.exe
12456 else
12457   echo "libtool.m4: error: problem compiling CXX test program"
12458 fi
12459
12460 $rm -f confest.$objext
12461
12462 # PORTME: override above test on systems where it is broken
12463 case $host_os in
12464 interix3*)
12465   # Interix 3.5 installs completely hosed .la files for C++, so rather than
12466   # hack all around it, let's just trust "g++" to DTRT.
12467   predep_objects_CXX=
12468   postdep_objects_CXX=
12469   postdeps_CXX=
12470   ;;
12471
12472 solaris*)
12473   case $cc_basename in
12474   CC*)
12475     # Adding this requires a known-good setup of shared libraries for
12476     # Sun compiler versions before 5.6, else PIC objects from an old
12477     # archive will be linked into the output, leading to subtle bugs.
12478     postdeps_CXX='-lCstd -lCrun'
12479     ;;
12480   esac
12481   ;;
12482 esac
12483
12484
12485 case " $postdeps_CXX " in
12486 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12487 esac
12488
12489 lt_prog_compiler_wl_CXX=
12490 lt_prog_compiler_pic_CXX=
12491 lt_prog_compiler_static_CXX=
12492
12493 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12494 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12495
12496   # C++ specific cases for pic, static, wl, etc.
12497   if test "$GXX" = yes; then
12498     lt_prog_compiler_wl_CXX='-Wl,'
12499     lt_prog_compiler_static_CXX='-static'
12500
12501     case $host_os in
12502     aix*)
12503       # All AIX code is PIC.
12504       if test "$host_cpu" = ia64; then
12505         # AIX 5 now supports IA64 processor
12506         lt_prog_compiler_static_CXX='-Bstatic'
12507       fi
12508       ;;
12509     amigaos*)
12510       # FIXME: we need at least 68020 code to build shared libraries, but
12511       # adding the `-m68020' flag to GCC prevents building anything better,
12512       # like `-m68040'.
12513       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12514       ;;
12515     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12516       # PIC is the default for these OSes.
12517       ;;
12518     mingw* | os2* | pw32*)
12519       # This hack is so that the source file can tell whether it is being
12520       # built for inclusion in a dll (and should export symbols for example).
12521       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12522       ;;
12523     darwin* | rhapsody*)
12524       # PIC is the default on this platform
12525       # Common symbols not allowed in MH_DYLIB files
12526       lt_prog_compiler_pic_CXX='-fno-common'
12527       ;;
12528     *djgpp*)
12529       # DJGPP does not support shared libraries at all
12530       lt_prog_compiler_pic_CXX=
12531       ;;
12532     interix3*)
12533       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12534       # Instead, we relocate shared libraries at runtime.
12535       ;;
12536     sysv4*MP*)
12537       if test -d /usr/nec; then
12538         lt_prog_compiler_pic_CXX=-Kconform_pic
12539       fi
12540       ;;
12541     hpux*)
12542       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12543       # not for PA HP-UX.
12544       case $host_cpu in
12545       hppa*64*|ia64*)
12546         ;;
12547       *)
12548         lt_prog_compiler_pic_CXX='-fPIC'
12549         ;;
12550       esac
12551       ;;
12552     *)
12553       lt_prog_compiler_pic_CXX='-fPIC'
12554       ;;
12555     esac
12556   else
12557     case $host_os in
12558       aix4* | aix5*)
12559         # All AIX code is PIC.
12560         if test "$host_cpu" = ia64; then
12561           # AIX 5 now supports IA64 processor
12562           lt_prog_compiler_static_CXX='-Bstatic'
12563         else
12564           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12565         fi
12566         ;;
12567       chorus*)
12568         case $cc_basename in
12569         cxch68*)
12570           # Green Hills C++ Compiler
12571           # _LT_AC_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"
12572           ;;
12573         esac
12574         ;;
12575        darwin*)
12576          # PIC is the default on this platform
12577          # Common symbols not allowed in MH_DYLIB files
12578          case $cc_basename in
12579            xlc*)
12580            lt_prog_compiler_pic_CXX='-qnocommon'
12581            lt_prog_compiler_wl_CXX='-Wl,'
12582            ;;
12583          esac
12584        ;;
12585       dgux*)
12586         case $cc_basename in
12587           ec++*)
12588             lt_prog_compiler_pic_CXX='-KPIC'
12589             ;;
12590           ghcx*)
12591             # Green Hills C++ Compiler
12592             lt_prog_compiler_pic_CXX='-pic'
12593             ;;
12594           *)
12595             ;;
12596         esac
12597         ;;
12598       freebsd* | kfreebsd*-gnu | dragonfly*)
12599         # FreeBSD uses GNU C++
12600         ;;
12601       hpux9* | hpux10* | hpux11*)
12602         case $cc_basename in
12603           CC*)
12604             lt_prog_compiler_wl_CXX='-Wl,'
12605             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12606             if test "$host_cpu" != ia64; then
12607               lt_prog_compiler_pic_CXX='+Z'
12608             fi
12609             ;;
12610           aCC*)
12611             lt_prog_compiler_wl_CXX='-Wl,'
12612             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12613             case $host_cpu in
12614             hppa*64*|ia64*)
12615               # +Z the default
12616               ;;
12617             *)
12618               lt_prog_compiler_pic_CXX='+Z'
12619               ;;
12620             esac
12621             ;;
12622           *)
12623             ;;
12624         esac
12625         ;;
12626       interix*)
12627         # This is c89, which is MS Visual C++ (no shared libs)
12628         # Anyone wants to do a port?
12629         ;;
12630       irix5* | irix6* | nonstopux*)
12631         case $cc_basename in
12632           CC*)
12633             lt_prog_compiler_wl_CXX='-Wl,'
12634             lt_prog_compiler_static_CXX='-non_shared'
12635             # CC pic flag -KPIC is the default.
12636             ;;
12637           *)
12638             ;;
12639         esac
12640         ;;
12641       linux*)
12642         case $cc_basename in
12643           KCC*)
12644             # KAI C++ Compiler
12645             lt_prog_compiler_wl_CXX='--backend -Wl,'
12646             lt_prog_compiler_pic_CXX='-fPIC'
12647             ;;
12648           icpc* | ecpc*)
12649             # Intel C++
12650             lt_prog_compiler_wl_CXX='-Wl,'
12651             lt_prog_compiler_pic_CXX='-KPIC'
12652             lt_prog_compiler_static_CXX='-static'
12653             ;;
12654           pgCC*)
12655             # Portland Group C++ compiler.
12656             lt_prog_compiler_wl_CXX='-Wl,'
12657             lt_prog_compiler_pic_CXX='-fpic'
12658             lt_prog_compiler_static_CXX='-Bstatic'
12659             ;;
12660           cxx*)
12661             # Compaq C++
12662             # Make sure the PIC flag is empty.  It appears that all Alpha
12663             # Linux and Compaq Tru64 Unix objects are PIC.
12664             lt_prog_compiler_pic_CXX=
12665             lt_prog_compiler_static_CXX='-non_shared'
12666             ;;
12667           *)
12668             ;;
12669         esac
12670         ;;
12671       lynxos*)
12672         ;;
12673       m88k*)
12674         ;;
12675       mvs*)
12676         case $cc_basename in
12677           cxx*)
12678             lt_prog_compiler_pic_CXX='-W c,exportall'
12679             ;;
12680           *)
12681             ;;
12682         esac
12683         ;;
12684       netbsd*)
12685         ;;
12686       osf3* | osf4* | osf5*)
12687         case $cc_basename in
12688           KCC*)
12689             lt_prog_compiler_wl_CXX='--backend -Wl,'
12690             ;;
12691           RCC*)
12692             # Rational C++ 2.4.1
12693             lt_prog_compiler_pic_CXX='-pic'
12694             ;;
12695           cxx*)
12696             # Digital/Compaq C++
12697             lt_prog_compiler_wl_CXX='-Wl,'
12698             # Make sure the PIC flag is empty.  It appears that all Alpha
12699             # Linux and Compaq Tru64 Unix objects are PIC.
12700             lt_prog_compiler_pic_CXX=
12701             lt_prog_compiler_static_CXX='-non_shared'
12702             ;;
12703           *)
12704             ;;
12705         esac
12706         ;;
12707       psos*)
12708         ;;
12709       solaris*)
12710         case $cc_basename in
12711           CC*)
12712             # Sun C++ 4.2, 5.x and Centerline C++
12713             lt_prog_compiler_pic_CXX='-KPIC'
12714             lt_prog_compiler_static_CXX='-Bstatic'
12715             lt_prog_compiler_wl_CXX='-Qoption ld '
12716             ;;
12717           gcx*)
12718             # Green Hills C++ Compiler
12719             lt_prog_compiler_pic_CXX='-PIC'
12720             ;;
12721           *)
12722             ;;
12723         esac
12724         ;;
12725       sunos4*)
12726         case $cc_basename in
12727           CC*)
12728             # Sun C++ 4.x
12729             lt_prog_compiler_pic_CXX='-pic'
12730             lt_prog_compiler_static_CXX='-Bstatic'
12731             ;;
12732           lcc*)
12733             # Lucid
12734             lt_prog_compiler_pic_CXX='-pic'
12735             ;;
12736           *)
12737             ;;
12738         esac
12739         ;;
12740       tandem*)
12741         case $cc_basename in
12742           NCC*)
12743             # NonStop-UX NCC 3.20
12744             lt_prog_compiler_pic_CXX='-KPIC'
12745             ;;
12746           *)
12747             ;;
12748         esac
12749         ;;
12750       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12751         case $cc_basename in
12752           CC*)
12753             lt_prog_compiler_wl_CXX='-Wl,'
12754             lt_prog_compiler_pic_CXX='-KPIC'
12755             lt_prog_compiler_static_CXX='-Bstatic'
12756             ;;
12757         esac
12758         ;;
12759       vxworks*)
12760         ;;
12761       *)
12762         lt_prog_compiler_can_build_shared_CXX=no
12763         ;;
12764     esac
12765   fi
12766
12767 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12768 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12769
12770 #
12771 # Check to make sure the PIC flag actually works.
12772 #
12773 if test -n "$lt_prog_compiler_pic_CXX"; then
12774
12775 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12776 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12777 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12778   echo $ECHO_N "(cached) $ECHO_C" >&6
12779 else
12780   lt_prog_compiler_pic_works_CXX=no
12781   ac_outfile=conftest.$ac_objext
12782    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12783    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12784    # Insert the option either (1) after the last *FLAGS variable, or
12785    # (2) before a word containing "conftest.", or (3) at the end.
12786    # Note that $ac_compile itself does not contain backslashes and begins
12787    # with a dollar sign (not a hyphen), so the echo should work correctly.
12788    # The option is referenced via a variable to avoid confusing sed.
12789    lt_compile=`echo "$ac_compile" | $SED \
12790    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12791    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12792    -e 's:$: $lt_compiler_flag:'`
12793    (eval echo "\"\$as_me:12793: $lt_compile\"" >&5)
12794    (eval "$lt_compile" 2>conftest.err)
12795    ac_status=$?
12796    cat conftest.err >&5
12797    echo "$as_me:12797: \$? = $ac_status" >&5
12798    if (exit $ac_status) && test -s "$ac_outfile"; then
12799      # The compiler can only warn and ignore the option if not recognized
12800      # So say no if there are warnings other than the usual output.
12801      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12802      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12803      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12804        lt_prog_compiler_pic_works_CXX=yes
12805      fi
12806    fi
12807    $rm conftest*
12808
12809 fi
12810 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12811 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12812
12813 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
12814     case $lt_prog_compiler_pic_CXX in
12815      "" | " "*) ;;
12816      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12817      esac
12818 else
12819     lt_prog_compiler_pic_CXX=
12820      lt_prog_compiler_can_build_shared_CXX=no
12821 fi
12822
12823 fi
12824 case $host_os in
12825   # For platforms which do not support PIC, -DPIC is meaningless:
12826   *djgpp*)
12827     lt_prog_compiler_pic_CXX=
12828     ;;
12829   *)
12830     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12831     ;;
12832 esac
12833
12834 #
12835 # Check to make sure the static flag actually works.
12836 #
12837 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12838 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12839 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12840 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12841   echo $ECHO_N "(cached) $ECHO_C" >&6
12842 else
12843   lt_prog_compiler_static_works_CXX=no
12844    save_LDFLAGS="$LDFLAGS"
12845    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12846    printf "$lt_simple_link_test_code" > conftest.$ac_ext
12847    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12848      # The linker can only warn and ignore the option if not recognized
12849      # So say no if there are warnings
12850      if test -s conftest.err; then
12851        # Append any errors to the config.log.
12852        cat conftest.err 1>&5
12853        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12854        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12855        if diff conftest.exp conftest.er2 >/dev/null; then
12856          lt_prog_compiler_static_works_CXX=yes
12857        fi
12858      else
12859        lt_prog_compiler_static_works_CXX=yes
12860      fi
12861    fi
12862    $rm conftest*
12863    LDFLAGS="$save_LDFLAGS"
12864
12865 fi
12866 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12867 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12868
12869 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
12870     :
12871 else
12872     lt_prog_compiler_static_CXX=
12873 fi
12874
12875
12876 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12877 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12878 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12879   echo $ECHO_N "(cached) $ECHO_C" >&6
12880 else
12881   lt_cv_prog_compiler_c_o_CXX=no
12882    $rm -r conftest 2>/dev/null
12883    mkdir conftest
12884    cd conftest
12885    mkdir out
12886    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12887
12888    lt_compiler_flag="-o out/conftest2.$ac_objext"
12889    # Insert the option either (1) after the last *FLAGS variable, or
12890    # (2) before a word containing "conftest.", or (3) at the end.
12891    # Note that $ac_compile itself does not contain backslashes and begins
12892    # with a dollar sign (not a hyphen), so the echo should work correctly.
12893    lt_compile=`echo "$ac_compile" | $SED \
12894    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12895    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12896    -e 's:$: $lt_compiler_flag:'`
12897    (eval echo "\"\$as_me:12897: $lt_compile\"" >&5)
12898    (eval "$lt_compile" 2>out/conftest.err)
12899    ac_status=$?
12900    cat out/conftest.err >&5
12901    echo "$as_me:12901: \$? = $ac_status" >&5
12902    if (exit $ac_status) && test -s out/conftest2.$ac_objext
12903    then
12904      # The compiler can only warn and ignore the option if not recognized
12905      # So say no if there are warnings
12906      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12907      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12908      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12909        lt_cv_prog_compiler_c_o_CXX=yes
12910      fi
12911    fi
12912    chmod u+w . 2>&5
12913    $rm conftest*
12914    # SGI C++ compiler will create directory out/ii_files/ for
12915    # template instantiation
12916    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
12917    $rm out/* && rmdir out
12918    cd ..
12919    rmdir conftest
12920    $rm conftest*
12921
12922 fi
12923 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12924 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12925
12926
12927 hard_links="nottested"
12928 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12929   # do not overwrite the value of need_locks provided by the user
12930   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12931 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12932   hard_links=yes
12933   $rm conftest*
12934   ln conftest.a conftest.b 2>/dev/null && hard_links=no
12935   touch conftest.a
12936   ln conftest.a conftest.b 2>&5 || hard_links=no
12937   ln conftest.a conftest.b 2>/dev/null && hard_links=no
12938   { echo "$as_me:$LINENO: result: $hard_links" >&5
12939 echo "${ECHO_T}$hard_links" >&6; }
12940   if test "$hard_links" = no; then
12941     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12942 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12943     need_locks=warn
12944   fi
12945 else
12946   need_locks=no
12947 fi
12948
12949 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12950 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12951
12952   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12953   case $host_os in
12954   aix4* | aix5*)
12955     # If we're using GNU nm, then we don't want the "-C" option.
12956     # -C means demangle to AIX nm, but means don't demangle with GNU nm
12957     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
12958       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'
12959     else
12960       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'
12961     fi
12962     ;;
12963   pw32*)
12964     export_symbols_cmds_CXX="$ltdll_cmds"
12965   ;;
12966   cygwin* | mingw*)
12967     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'
12968   ;;
12969   *)
12970     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12971   ;;
12972   esac
12973
12974 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12975 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12976 test "$ld_shlibs_CXX" = no && can_build_shared=no
12977
12978 #
12979 # Do we need to explicitly link libc?
12980 #
12981 case "x$archive_cmds_need_lc_CXX" in
12982 x|xyes)
12983   # Assume -lc should be added
12984   archive_cmds_need_lc_CXX=yes
12985
12986   if test "$enable_shared" = yes && test "$GCC" = yes; then
12987     case $archive_cmds_CXX in
12988     *'~'*)
12989       # FIXME: we may have to deal with multi-command sequences.
12990       ;;
12991     '$CC '*)
12992       # Test whether the compiler implicitly links with -lc since on some
12993       # systems, -lgcc has to come before -lc. If gcc already passes -lc
12994       # to ld, don't add -lc before -lgcc.
12995       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12996 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12997       $rm conftest*
12998       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12999
13000       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13001   (eval $ac_compile) 2>&5
13002   ac_status=$?
13003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13004   (exit $ac_status); } 2>conftest.err; then
13005         soname=conftest
13006         lib=conftest
13007         libobjs=conftest.$ac_objext
13008         deplibs=
13009         wl=$lt_prog_compiler_wl_CXX
13010         pic_flag=$lt_prog_compiler_pic_CXX
13011         compiler_flags=-v
13012         linker_flags=-v
13013         verstring=
13014         output_objdir=.
13015         libname=conftest
13016         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13017         allow_undefined_flag_CXX=
13018         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13019   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13020   ac_status=$?
13021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13022   (exit $ac_status); }
13023         then
13024           archive_cmds_need_lc_CXX=no
13025         else
13026           archive_cmds_need_lc_CXX=yes
13027         fi
13028         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13029       else
13030         cat conftest.err 1>&5
13031       fi
13032       $rm conftest*
13033       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13034 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
13035       ;;
13036     esac
13037   fi
13038   ;;
13039 esac
13040
13041 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13042 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
13043 library_names_spec=
13044 libname_spec='lib$name'
13045 soname_spec=
13046 shrext_cmds=".so"
13047 postinstall_cmds=
13048 postuninstall_cmds=
13049 finish_cmds=
13050 finish_eval=
13051 shlibpath_var=
13052 shlibpath_overrides_runpath=unknown
13053 version_type=none
13054 dynamic_linker="$host_os ld.so"
13055 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13056 if test "$GCC" = yes; then
13057   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13058   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
13059     # if the path contains ";" then we assume it to be the separator
13060     # otherwise default to the standard path separator (i.e. ":") - it is
13061     # assumed that no part of a normal pathname contains ";" but that should
13062     # okay in the real world where ";" in dirpaths is itself problematic.
13063     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13064   else
13065     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
13066   fi
13067 else
13068   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13069 fi
13070 need_lib_prefix=unknown
13071 hardcode_into_libs=no
13072
13073 # when you set need_version to no, make sure it does not cause -set_version
13074 # flags to be left without arguments
13075 need_version=unknown
13076
13077 case $host_os in
13078 aix3*)
13079   version_type=linux
13080   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13081   shlibpath_var=LIBPATH
13082
13083   # AIX 3 has no versioning support, so we append a major version to the name.
13084   soname_spec='${libname}${release}${shared_ext}$major'
13085   ;;
13086
13087 aix4* | aix5*)
13088   version_type=linux
13089   need_lib_prefix=no
13090   need_version=no
13091   hardcode_into_libs=yes
13092   if test "$host_cpu" = ia64; then
13093     # AIX 5 supports IA64
13094     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13095     shlibpath_var=LD_LIBRARY_PATH
13096   else
13097     # With GCC up to 2.95.x, collect2 would create an import file
13098     # for dependence libraries.  The import file would start with
13099     # the line `#! .'.  This would cause the generated library to
13100     # depend on `.', always an invalid library.  This was fixed in
13101     # development snapshots of GCC prior to 3.0.
13102     case $host_os in
13103       aix4 | aix4.[01] | aix4.[01].*)
13104       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13105            echo ' yes '
13106            echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
13107         :
13108       else
13109         can_build_shared=no
13110       fi
13111       ;;
13112     esac
13113     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13114     # soname into executable. Probably we can add versioning support to
13115     # collect2, so additional links can be useful in future.
13116     if test "$aix_use_runtimelinking" = yes; then
13117       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13118       # instead of lib<name>.a to let people know that these are not
13119       # typical AIX shared libraries.
13120       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13121     else
13122       # We preserve .a as extension for shared libraries through AIX4.2
13123       # and later when we are not doing run time linking.
13124       library_names_spec='${libname}${release}.a $libname.a'
13125       soname_spec='${libname}${release}${shared_ext}$major'
13126     fi
13127     shlibpath_var=LIBPATH
13128   fi
13129   ;;
13130
13131 amigaos*)
13132   library_names_spec='$libname.ixlibrary $libname.a'
13133   # Create ${libname}_ixlibrary.a entries in /sys/libs.
13134   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'
13135   ;;
13136
13137 beos*)
13138   library_names_spec='${libname}${shared_ext}'
13139   dynamic_linker="$host_os ld.so"
13140   shlibpath_var=LIBRARY_PATH
13141   ;;
13142
13143 bsdi[45]*)
13144   version_type=linux
13145   need_version=no
13146   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13147   soname_spec='${libname}${release}${shared_ext}$major'
13148   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13149   shlibpath_var=LD_LIBRARY_PATH
13150   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13151   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13152   # the default ld.so.conf also contains /usr/contrib/lib and
13153   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13154   # libtool to hard-code these into programs
13155   ;;
13156
13157 cygwin* | mingw* | pw32*)
13158   version_type=windows
13159   shrext_cmds=".dll"
13160   need_version=no
13161   need_lib_prefix=no
13162
13163   case $GCC,$host_os in
13164   yes,cygwin* | yes,mingw* | yes,pw32*)
13165     library_names_spec='$libname.dll.a'
13166     # DLL is installed to $(libdir)/../bin by postinstall_cmds
13167     postinstall_cmds='base_file=`basename \${file}`~
13168       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13169       dldir=$destdir/`dirname \$dlpath`~
13170       test -d \$dldir || mkdir -p \$dldir~
13171       $install_prog $dir/$dlname \$dldir/$dlname~
13172       chmod a+x \$dldir/$dlname'
13173     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13174       dlpath=$dir/\$dldll~
13175        $rm \$dlpath'
13176     shlibpath_overrides_runpath=yes
13177
13178     case $host_os in
13179     cygwin*)
13180       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13181       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13182       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13183       ;;
13184     mingw*)
13185       # MinGW DLLs use traditional 'lib' prefix
13186       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13187       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13188       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
13189         # It is most probably a Windows format PATH printed by
13190         # mingw gcc, but we are running on Cygwin. Gcc prints its search
13191         # path with ; separators, and with drive letters. We can handle the
13192         # drive letters (cygwin fileutils understands them), so leave them,
13193         # especially as we might pass files found there to a mingw objdump,
13194         # which wouldn't understand a cygwinified path. Ahh.
13195         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13196       else
13197         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
13198       fi
13199       ;;
13200     pw32*)
13201       # pw32 DLLs use 'pw' prefix rather than 'lib'
13202       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13203       ;;
13204     esac
13205     ;;
13206
13207   *)
13208     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13209     ;;
13210   esac
13211   dynamic_linker='Win32 ld.exe'
13212   # FIXME: first we should search . and the directory the executable is in
13213   shlibpath_var=PATH
13214   ;;
13215
13216 darwin* | rhapsody*)
13217   dynamic_linker="$host_os dyld"
13218   version_type=darwin
13219   need_lib_prefix=no
13220   need_version=no
13221   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13222   soname_spec='${libname}${release}${major}$shared_ext'
13223   shlibpath_overrides_runpath=yes
13224   shlibpath_var=DYLD_LIBRARY_PATH
13225   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13226   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
13227   if test "$GCC" = yes; then
13228     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
13229   else
13230     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
13231   fi
13232   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13233   ;;
13234
13235 dgux*)
13236   version_type=linux
13237   need_lib_prefix=no
13238   need_version=no
13239   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13240   soname_spec='${libname}${release}${shared_ext}$major'
13241   shlibpath_var=LD_LIBRARY_PATH
13242   ;;
13243
13244 freebsd1*)
13245   dynamic_linker=no
13246   ;;
13247
13248 kfreebsd*-gnu)
13249   version_type=linux
13250   need_lib_prefix=no
13251   need_version=no
13252   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13253   soname_spec='${libname}${release}${shared_ext}$major'
13254   shlibpath_var=LD_LIBRARY_PATH
13255   shlibpath_overrides_runpath=no
13256   hardcode_into_libs=yes
13257   dynamic_linker='GNU ld.so'
13258   ;;
13259
13260 freebsd* | dragonfly*)
13261   # DragonFly does not have aout.  When/if they implement a new
13262   # versioning mechanism, adjust this.
13263   if test -x /usr/bin/objformat; then
13264     objformat=`/usr/bin/objformat`
13265   else
13266     case $host_os in
13267     freebsd[123]*) objformat=aout ;;
13268     *) objformat=elf ;;
13269     esac
13270   fi
13271   version_type=freebsd-$objformat
13272   case $version_type in
13273     freebsd-elf*)
13274       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13275       need_version=no
13276       need_lib_prefix=no
13277       ;;
13278     freebsd-*)
13279       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13280       need_version=yes
13281       ;;
13282   esac
13283   shlibpath_var=LD_LIBRARY_PATH
13284   case $host_os in
13285   freebsd2*)
13286     shlibpath_overrides_runpath=yes
13287     ;;
13288   freebsd3.[01]* | freebsdelf3.[01]*)
13289     shlibpath_overrides_runpath=yes
13290     hardcode_into_libs=yes
13291     ;;
13292   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13293   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13294     shlibpath_overrides_runpath=no
13295     hardcode_into_libs=yes
13296     ;;
13297   freebsd*) # from 4.6 on
13298     shlibpath_overrides_runpath=yes
13299     hardcode_into_libs=yes
13300     ;;
13301   esac
13302   ;;
13303
13304 gnu*)
13305   version_type=linux
13306   need_lib_prefix=no
13307   need_version=no
13308   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13309   soname_spec='${libname}${release}${shared_ext}$major'
13310   shlibpath_var=LD_LIBRARY_PATH
13311   hardcode_into_libs=yes
13312   ;;
13313
13314 hpux9* | hpux10* | hpux11*)
13315   # Give a soname corresponding to the major version so that dld.sl refuses to
13316   # link against other versions.
13317   version_type=sunos
13318   need_lib_prefix=no
13319   need_version=no
13320   case $host_cpu in
13321   ia64*)
13322     shrext_cmds='.so'
13323     hardcode_into_libs=yes
13324     dynamic_linker="$host_os dld.so"
13325     shlibpath_var=LD_LIBRARY_PATH
13326     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13327     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13328     soname_spec='${libname}${release}${shared_ext}$major'
13329     if test "X$HPUX_IA64_MODE" = X32; then
13330       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13331     else
13332       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13333     fi
13334     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13335     ;;
13336    hppa*64*)
13337      shrext_cmds='.sl'
13338      hardcode_into_libs=yes
13339      dynamic_linker="$host_os dld.sl"
13340      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13341      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13342      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13343      soname_spec='${libname}${release}${shared_ext}$major'
13344      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13345      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13346      ;;
13347    *)
13348     shrext_cmds='.sl'
13349     dynamic_linker="$host_os dld.sl"
13350     shlibpath_var=SHLIB_PATH
13351     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13352     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13353     soname_spec='${libname}${release}${shared_ext}$major'
13354     ;;
13355   esac
13356   # HP-UX runs *really* slowly unless shared libraries are mode 555.
13357   postinstall_cmds='chmod 555 $lib'
13358   ;;
13359
13360 interix3*)
13361   version_type=linux
13362   need_lib_prefix=no
13363   need_version=no
13364   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13365   soname_spec='${libname}${release}${shared_ext}$major'
13366   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13367   shlibpath_var=LD_LIBRARY_PATH
13368   shlibpath_overrides_runpath=no
13369   hardcode_into_libs=yes
13370   ;;
13371
13372 irix5* | irix6* | nonstopux*)
13373   case $host_os in
13374     nonstopux*) version_type=nonstopux ;;
13375     *)
13376         if test "$lt_cv_prog_gnu_ld" = yes; then
13377                 version_type=linux
13378         else
13379                 version_type=irix
13380         fi ;;
13381   esac
13382   need_lib_prefix=no
13383   need_version=no
13384   soname_spec='${libname}${release}${shared_ext}$major'
13385   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13386   case $host_os in
13387   irix5* | nonstopux*)
13388     libsuff= shlibsuff=
13389     ;;
13390   *)
13391     case $LD in # libtool.m4 will add one of these switches to LD
13392     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13393       libsuff= shlibsuff= libmagic=32-bit;;
13394     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13395       libsuff=32 shlibsuff=N32 libmagic=N32;;
13396     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13397       libsuff=64 shlibsuff=64 libmagic=64-bit;;
13398     *) libsuff= shlibsuff= libmagic=never-match;;
13399     esac
13400     ;;
13401   esac
13402   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13403   shlibpath_overrides_runpath=no
13404   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13405   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13406   hardcode_into_libs=yes
13407   ;;
13408
13409 # No shared lib support for Linux oldld, aout, or coff.
13410 linux*oldld* | linux*aout* | linux*coff*)
13411   dynamic_linker=no
13412   ;;
13413
13414 # This must be Linux ELF.
13415 linux*)
13416   version_type=linux
13417   need_lib_prefix=no
13418   need_version=no
13419   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13420   soname_spec='${libname}${release}${shared_ext}$major'
13421   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13422   shlibpath_var=LD_LIBRARY_PATH
13423   shlibpath_overrides_runpath=no
13424   # This implies no fast_install, which is unacceptable.
13425   # Some rework will be needed to allow for fast_install
13426   # before this can be enabled.
13427   hardcode_into_libs=yes
13428
13429   # find out which ABI we are using
13430   libsuff=
13431   case "$host_cpu" in
13432   x86_64*|s390x*|powerpc64*)
13433     echo '#line 13433 "configure"' > conftest.$ac_ext
13434     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13435   (eval $ac_compile) 2>&5
13436   ac_status=$?
13437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13438   (exit $ac_status); }; then
13439       case `/usr/bin/file conftest.$ac_objext` in
13440       *64-bit*)
13441         libsuff=64
13442         sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
13443         ;;
13444       esac
13445     fi
13446     rm -rf conftest*
13447     ;;
13448   esac
13449
13450   # Append ld.so.conf contents to the search path
13451   if test -f /etc/ld.so.conf; then
13452     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13453     sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
13454   fi
13455
13456   # We used to test for /lib/ld.so.1 and disable shared libraries on
13457   # powerpc, because MkLinux only supported shared libraries with the
13458   # GNU dynamic linker.  Since this was broken with cross compilers,
13459   # most powerpc-linux boxes support dynamic linking these days and
13460   # people can always --disable-shared, the test was removed, and we
13461   # assume the GNU/Linux dynamic linker is in use.
13462   dynamic_linker='GNU/Linux ld.so'
13463   ;;
13464
13465 knetbsd*-gnu)
13466   version_type=linux
13467   need_lib_prefix=no
13468   need_version=no
13469   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13470   soname_spec='${libname}${release}${shared_ext}$major'
13471   shlibpath_var=LD_LIBRARY_PATH
13472   shlibpath_overrides_runpath=no
13473   hardcode_into_libs=yes
13474   dynamic_linker='GNU ld.so'
13475   ;;
13476
13477 netbsd*)
13478   version_type=sunos
13479   need_lib_prefix=no
13480   need_version=no
13481   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13482     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13483     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13484     dynamic_linker='NetBSD (a.out) ld.so'
13485   else
13486     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13487     soname_spec='${libname}${release}${shared_ext}$major'
13488     dynamic_linker='NetBSD ld.elf_so'
13489   fi
13490   shlibpath_var=LD_LIBRARY_PATH
13491   shlibpath_overrides_runpath=yes
13492   hardcode_into_libs=yes
13493   ;;
13494
13495 newsos6)
13496   version_type=linux
13497   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13498   shlibpath_var=LD_LIBRARY_PATH
13499   shlibpath_overrides_runpath=yes
13500   ;;
13501
13502 nto-qnx*)
13503   version_type=linux
13504   need_lib_prefix=no
13505   need_version=no
13506   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13507   soname_spec='${libname}${release}${shared_ext}$major'
13508   shlibpath_var=LD_LIBRARY_PATH
13509   shlibpath_overrides_runpath=yes
13510   ;;
13511
13512 openbsd*)
13513   version_type=sunos
13514   sys_lib_dlsearch_path_spec="/usr/lib"
13515   need_lib_prefix=no
13516   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13517   case $host_os in
13518     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13519     *)                         need_version=no  ;;
13520   esac
13521   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13522   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13523   shlibpath_var=LD_LIBRARY_PATH
13524   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13525     case $host_os in
13526       openbsd2.[89] | openbsd2.[89].*)
13527         shlibpath_overrides_runpath=no
13528         ;;
13529       *)
13530         shlibpath_overrides_runpath=yes
13531         ;;
13532       esac
13533   else
13534     shlibpath_overrides_runpath=yes
13535   fi
13536   ;;
13537
13538 os2*)
13539   libname_spec='$name'
13540   shrext_cmds=".dll"
13541   need_lib_prefix=no
13542   library_names_spec='$libname${shared_ext} $libname.a'
13543   dynamic_linker='OS/2 ld.exe'
13544   shlibpath_var=LIBPATH
13545   ;;
13546
13547 osf3* | osf4* | osf5*)
13548   version_type=osf
13549   need_lib_prefix=no
13550   need_version=no
13551   soname_spec='${libname}${release}${shared_ext}$major'
13552   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13553   shlibpath_var=LD_LIBRARY_PATH
13554   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13555   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13556   ;;
13557
13558 solaris*)
13559   version_type=linux
13560   need_lib_prefix=no
13561   need_version=no
13562   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13563   soname_spec='${libname}${release}${shared_ext}$major'
13564   shlibpath_var=LD_LIBRARY_PATH
13565   shlibpath_overrides_runpath=yes
13566   hardcode_into_libs=yes
13567   # ldd complains unless libraries are executable
13568   postinstall_cmds='chmod +x $lib'
13569   ;;
13570
13571 sunos4*)
13572   version_type=sunos
13573   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13574   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13575   shlibpath_var=LD_LIBRARY_PATH
13576   shlibpath_overrides_runpath=yes
13577   if test "$with_gnu_ld" = yes; then
13578     need_lib_prefix=no
13579   fi
13580   need_version=yes
13581   ;;
13582
13583 sysv4 | sysv4.3*)
13584   version_type=linux
13585   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13586   soname_spec='${libname}${release}${shared_ext}$major'
13587   shlibpath_var=LD_LIBRARY_PATH
13588   case $host_vendor in
13589     sni)
13590       shlibpath_overrides_runpath=no
13591       need_lib_prefix=no
13592       export_dynamic_flag_spec='${wl}-Blargedynsym'
13593       runpath_var=LD_RUN_PATH
13594       ;;
13595     siemens)
13596       need_lib_prefix=no
13597       ;;
13598     motorola)
13599       need_lib_prefix=no
13600       need_version=no
13601       shlibpath_overrides_runpath=no
13602       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13603       ;;
13604   esac
13605   ;;
13606
13607 sysv4*MP*)
13608   if test -d /usr/nec ;then
13609     version_type=linux
13610     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13611     soname_spec='$libname${shared_ext}.$major'
13612     shlibpath_var=LD_LIBRARY_PATH
13613   fi
13614   ;;
13615
13616 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13617   version_type=freebsd-elf
13618   need_lib_prefix=no
13619   need_version=no
13620   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13621   soname_spec='${libname}${release}${shared_ext}$major'
13622   shlibpath_var=LD_LIBRARY_PATH
13623   hardcode_into_libs=yes
13624   if test "$with_gnu_ld" = yes; then
13625     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13626     shlibpath_overrides_runpath=no
13627   else
13628     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13629     shlibpath_overrides_runpath=yes
13630     case $host_os in
13631       sco3.2v5*)
13632         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13633         ;;
13634     esac
13635   fi
13636   sys_lib_dlsearch_path_spec='/usr/lib'
13637   ;;
13638
13639 uts4*)
13640   version_type=linux
13641   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13642   soname_spec='${libname}${release}${shared_ext}$major'
13643   shlibpath_var=LD_LIBRARY_PATH
13644   ;;
13645
13646 *)
13647   dynamic_linker=no
13648   ;;
13649 esac
13650 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13651 echo "${ECHO_T}$dynamic_linker" >&6; }
13652 test "$dynamic_linker" = no && can_build_shared=no
13653
13654 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13655 if test "$GCC" = yes; then
13656   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13657 fi
13658
13659 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13660 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13661 hardcode_action_CXX=
13662 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13663    test -n "$runpath_var_CXX" || \
13664    test "X$hardcode_automatic_CXX" = "Xyes" ; then
13665
13666   # We can hardcode non-existant directories.
13667   if test "$hardcode_direct_CXX" != no &&
13668      # If the only mechanism to avoid hardcoding is shlibpath_var, we
13669      # have to relink, otherwise we might link with an installed library
13670      # when we should be linking with a yet-to-be-installed one
13671      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13672      test "$hardcode_minus_L_CXX" != no; then
13673     # Linking always hardcodes the temporary library directory.
13674     hardcode_action_CXX=relink
13675   else
13676     # We can link without hardcoding, and we can hardcode nonexisting dirs.
13677     hardcode_action_CXX=immediate
13678   fi
13679 else
13680   # We cannot hardcode anything, or else we can only hardcode existing
13681   # directories.
13682   hardcode_action_CXX=unsupported
13683 fi
13684 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13685 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13686
13687 if test "$hardcode_action_CXX" = relink; then
13688   # Fast installation is not supported
13689   enable_fast_install=no
13690 elif test "$shlibpath_overrides_runpath" = yes ||
13691      test "$enable_shared" = no; then
13692   # Fast installation is not necessary
13693   enable_fast_install=needless
13694 fi
13695
13696
13697 # The else clause should only fire when bootstrapping the
13698 # libtool distribution, otherwise you forgot to ship ltmain.sh
13699 # with your package, and you will get complaints that there are
13700 # no rules to generate ltmain.sh.
13701 if test -f "$ltmain"; then
13702   # See if we are running on zsh, and set the options which allow our commands through
13703   # without removal of \ escapes.
13704   if test -n "${ZSH_VERSION+set}" ; then
13705     setopt NO_GLOB_SUBST
13706   fi
13707   # Now quote all the things that may contain metacharacters while being
13708   # careful not to overquote the AC_SUBSTed values.  We take copies of the
13709   # variables and quote the copies for generation of the libtool script.
13710   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13711     SED SHELL STRIP \
13712     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13713     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13714     deplibs_check_method reload_flag reload_cmds need_locks \
13715     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13716     lt_cv_sys_global_symbol_to_c_name_address \
13717     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13718     old_postinstall_cmds old_postuninstall_cmds \
13719     compiler_CXX \
13720     CC_CXX \
13721     LD_CXX \
13722     lt_prog_compiler_wl_CXX \
13723     lt_prog_compiler_pic_CXX \
13724     lt_prog_compiler_static_CXX \
13725     lt_prog_compiler_no_builtin_flag_CXX \
13726     export_dynamic_flag_spec_CXX \
13727     thread_safe_flag_spec_CXX \
13728     whole_archive_flag_spec_CXX \
13729     enable_shared_with_static_runtimes_CXX \
13730     old_archive_cmds_CXX \
13731     old_archive_from_new_cmds_CXX \
13732     predep_objects_CXX \
13733     postdep_objects_CXX \
13734     predeps_CXX \
13735     postdeps_CXX \
13736     compiler_lib_search_path_CXX \
13737     archive_cmds_CXX \
13738     archive_expsym_cmds_CXX \
13739     postinstall_cmds_CXX \
13740     postuninstall_cmds_CXX \
13741     old_archive_from_expsyms_cmds_CXX \
13742     allow_undefined_flag_CXX \
13743     no_undefined_flag_CXX \
13744     export_symbols_cmds_CXX \
13745     hardcode_libdir_flag_spec_CXX \
13746     hardcode_libdir_flag_spec_ld_CXX \
13747     hardcode_libdir_separator_CXX \
13748     hardcode_automatic_CXX \
13749     module_cmds_CXX \
13750     module_expsym_cmds_CXX \
13751     lt_cv_prog_compiler_c_o_CXX \
13752     exclude_expsyms_CXX \
13753     include_expsyms_CXX; do
13754
13755     case $var in
13756     old_archive_cmds_CXX | \
13757     old_archive_from_new_cmds_CXX | \
13758     archive_cmds_CXX | \
13759     archive_expsym_cmds_CXX | \
13760     module_cmds_CXX | \
13761     module_expsym_cmds_CXX | \
13762     old_archive_from_expsyms_cmds_CXX | \
13763     export_symbols_cmds_CXX | \
13764     extract_expsyms_cmds | reload_cmds | finish_cmds | \
13765     postinstall_cmds | postuninstall_cmds | \
13766     old_postinstall_cmds | old_postuninstall_cmds | \
13767     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
13768       # Double-quote double-evaled strings.
13769       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13770       ;;
13771     *)
13772       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13773       ;;
13774     esac
13775   done
13776
13777   case $lt_echo in
13778   *'\$0 --fallback-echo"')
13779     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13780     ;;
13781   esac
13782
13783 cfgfile="$ofile"
13784
13785   cat <<__EOF__ >> "$cfgfile"
13786 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13787
13788 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13789
13790 # Shell to use when invoking shell scripts.
13791 SHELL=$lt_SHELL
13792
13793 # Whether or not to build shared libraries.
13794 build_libtool_libs=$enable_shared
13795
13796 # Whether or not to build static libraries.
13797 build_old_libs=$enable_static
13798
13799 # Whether or not to add -lc for building shared libraries.
13800 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13801
13802 # Whether or not to disallow shared libs when runtime libs are static
13803 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13804
13805 # Whether or not to optimize for fast installation.
13806 fast_install=$enable_fast_install
13807
13808 # The host system.
13809 host_alias=$host_alias
13810 host=$host
13811 host_os=$host_os
13812
13813 # The build system.
13814 build_alias=$build_alias
13815 build=$build
13816 build_os=$build_os
13817
13818 # An echo program that does not interpret backslashes.
13819 echo=$lt_echo
13820
13821 # The archiver.
13822 AR=$lt_AR
13823 AR_FLAGS=$lt_AR_FLAGS
13824
13825 # A C compiler.
13826 LTCC=$lt_LTCC
13827
13828 # LTCC compiler flags.
13829 LTCFLAGS=$lt_LTCFLAGS
13830
13831 # A language-specific compiler.
13832 CC=$lt_compiler_CXX
13833
13834 # Is the compiler the GNU C compiler?
13835 with_gcc=$GCC_CXX
13836
13837 # An ERE matcher.
13838 EGREP=$lt_EGREP
13839
13840 # The linker used to build libraries.
13841 LD=$lt_LD_CXX
13842
13843 # Whether we need hard or soft links.
13844 LN_S=$lt_LN_S
13845
13846 # A BSD-compatible nm program.
13847 NM=$lt_NM
13848
13849 # A symbol stripping program
13850 STRIP=$lt_STRIP
13851
13852 # Used to examine libraries when file_magic_cmd begins "file"
13853 MAGIC_CMD=$MAGIC_CMD
13854
13855 # Used on cygwin: DLL creation program.
13856 DLLTOOL="$DLLTOOL"
13857
13858 # Used on cygwin: object dumper.
13859 OBJDUMP="$OBJDUMP"
13860
13861 # Used on cygwin: assembler.
13862 AS="$AS"
13863
13864 # The name of the directory that contains temporary libtool files.
13865 objdir=$objdir
13866
13867 # How to create reloadable object files.
13868 reload_flag=$lt_reload_flag
13869 reload_cmds=$lt_reload_cmds
13870
13871 # How to pass a linker flag through the compiler.
13872 wl=$lt_lt_prog_compiler_wl_CXX
13873
13874 # Object file suffix (normally "o").
13875 objext="$ac_objext"
13876
13877 # Old archive suffix (normally "a").
13878 libext="$libext"
13879
13880 # Shared library suffix (normally ".so").
13881 shrext_cmds='$shrext_cmds'
13882
13883 # Executable file suffix (normally "").
13884 exeext="$exeext"
13885
13886 # Additional compiler flags for building library objects.
13887 pic_flag=$lt_lt_prog_compiler_pic_CXX
13888 pic_mode=$pic_mode
13889
13890 # What is the maximum length of a command?
13891 max_cmd_len=$lt_cv_sys_max_cmd_len
13892
13893 # Does compiler simultaneously support -c and -o options?
13894 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13895
13896 # Must we lock files when doing compilation?
13897 need_locks=$lt_need_locks
13898
13899 # Do we need the lib prefix for modules?
13900 need_lib_prefix=$need_lib_prefix
13901
13902 # Do we need a version for libraries?
13903 need_version=$need_version
13904
13905 # Whether dlopen is supported.
13906 dlopen_support=$enable_dlopen
13907
13908 # Whether dlopen of programs is supported.
13909 dlopen_self=$enable_dlopen_self
13910
13911 # Whether dlopen of statically linked programs is supported.
13912 dlopen_self_static=$enable_dlopen_self_static
13913
13914 # Compiler flag to prevent dynamic linking.
13915 link_static_flag=$lt_lt_prog_compiler_static_CXX
13916
13917 # Compiler flag to turn off builtin functions.
13918 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13919
13920 # Compiler flag to allow reflexive dlopens.
13921 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13922
13923 # Compiler flag to generate shared objects directly from archives.
13924 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13925
13926 # Compiler flag to generate thread-safe objects.
13927 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13928
13929 # Library versioning type.
13930 version_type=$version_type
13931
13932 # Format of library name prefix.
13933 libname_spec=$lt_libname_spec
13934
13935 # List of archive names.  First name is the real one, the rest are links.
13936 # The last name is the one that the linker finds with -lNAME.
13937 library_names_spec=$lt_library_names_spec
13938
13939 # The coded name of the library, if different from the real name.
13940 soname_spec=$lt_soname_spec
13941
13942 # Commands used to build and install an old-style archive.
13943 RANLIB=$lt_RANLIB
13944 old_archive_cmds=$lt_old_archive_cmds_CXX
13945 old_postinstall_cmds=$lt_old_postinstall_cmds
13946 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13947
13948 # Create an old-style archive from a shared archive.
13949 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13950
13951 # Create a temporary old-style archive to link instead of a shared archive.
13952 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13953
13954 # Commands used to build and install a shared archive.
13955 archive_cmds=$lt_archive_cmds_CXX
13956 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13957 postinstall_cmds=$lt_postinstall_cmds
13958 postuninstall_cmds=$lt_postuninstall_cmds
13959
13960 # Commands used to build a loadable module (assumed same as above if empty)
13961 module_cmds=$lt_module_cmds_CXX
13962 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13963
13964 # Commands to strip libraries.
13965 old_striplib=$lt_old_striplib
13966 striplib=$lt_striplib
13967
13968 # Dependencies to place before the objects being linked to create a
13969 # shared library.
13970 predep_objects=$lt_predep_objects_CXX
13971
13972 # Dependencies to place after the objects being linked to create a
13973 # shared library.
13974 postdep_objects=$lt_postdep_objects_CXX
13975
13976 # Dependencies to place before the objects being linked to create a
13977 # shared library.
13978 predeps=$lt_predeps_CXX
13979
13980 # Dependencies to place after the objects being linked to create a
13981 # shared library.
13982 postdeps=$lt_postdeps_CXX
13983
13984 # The library search path used internally by the compiler when linking
13985 # a shared library.
13986 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13987
13988 # Method to check whether dependent libraries are shared objects.
13989 deplibs_check_method=$lt_deplibs_check_method
13990
13991 # Command to use when deplibs_check_method == file_magic.
13992 file_magic_cmd=$lt_file_magic_cmd
13993
13994 # Flag that allows shared libraries with undefined symbols to be built.
13995 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13996
13997 # Flag that forces no undefined symbols.
13998 no_undefined_flag=$lt_no_undefined_flag_CXX
13999
14000 # Commands used to finish a libtool library installation in a directory.
14001 finish_cmds=$lt_finish_cmds
14002
14003 # Same as above, but a single script fragment to be evaled but not shown.
14004 finish_eval=$lt_finish_eval
14005
14006 # Take the output of nm and produce a listing of raw symbols and C names.
14007 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14008
14009 # Transform the output of nm in a proper C declaration
14010 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14011
14012 # Transform the output of nm in a C name address pair
14013 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14014
14015 # This is the shared library runtime path variable.
14016 runpath_var=$runpath_var
14017
14018 # This is the shared library path variable.
14019 shlibpath_var=$shlibpath_var
14020
14021 # Is shlibpath searched before the hard-coded library search path?
14022 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14023
14024 # How to hardcode a shared library path into an executable.
14025 hardcode_action=$hardcode_action_CXX
14026
14027 # Whether we should hardcode library paths into libraries.
14028 hardcode_into_libs=$hardcode_into_libs
14029
14030 # Flag to hardcode \$libdir into a binary during linking.
14031 # This must work even if \$libdir does not exist.
14032 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14033
14034 # If ld is used when linking, flag to hardcode \$libdir into
14035 # a binary during linking. This must work even if \$libdir does
14036 # not exist.
14037 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14038
14039 # Whether we need a single -rpath flag with a separated argument.
14040 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
14041
14042 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14043 # resulting binary.
14044 hardcode_direct=$hardcode_direct_CXX
14045
14046 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14047 # resulting binary.
14048 hardcode_minus_L=$hardcode_minus_L_CXX
14049
14050 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14051 # the resulting binary.
14052 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14053
14054 # Set to yes if building a shared library automatically hardcodes DIR into the library
14055 # and all subsequent libraries and executables linked against it.
14056 hardcode_automatic=$hardcode_automatic_CXX
14057
14058 # Variables whose values should be saved in libtool wrapper scripts and
14059 # restored at relink time.
14060 variables_saved_for_relink="$variables_saved_for_relink"
14061
14062 # Whether libtool must link a program against all its dependency libraries.
14063 link_all_deplibs=$link_all_deplibs_CXX
14064
14065 # Compile-time system search path for libraries
14066 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14067
14068 # Run-time system search path for libraries
14069 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14070
14071 # Fix the shell variable \$srcfile for the compiler.
14072 fix_srcfile_path="$fix_srcfile_path_CXX"
14073
14074 # Set to yes if exported symbols are required.
14075 always_export_symbols=$always_export_symbols_CXX
14076
14077 # The commands to list exported symbols.
14078 export_symbols_cmds=$lt_export_symbols_cmds_CXX
14079
14080 # The commands to extract the exported symbol list from a shared archive.
14081 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14082
14083 # Symbols that should not be listed in the preloaded symbols.
14084 exclude_expsyms=$lt_exclude_expsyms_CXX
14085
14086 # Symbols that must always be exported.
14087 include_expsyms=$lt_include_expsyms_CXX
14088
14089 # ### END LIBTOOL TAG CONFIG: $tagname
14090
14091 __EOF__
14092
14093
14094 else
14095   # If there is no Makefile yet, we rely on a make rule to execute
14096   # `config.status --recheck' to rerun these tests and create the
14097   # libtool script then.
14098   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14099   if test -f "$ltmain_in"; then
14100     test -f Makefile && make "$ltmain"
14101   fi
14102 fi
14103
14104
14105 ac_ext=c
14106 ac_cpp='$CPP $CPPFLAGS'
14107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14110
14111 CC=$lt_save_CC
14112 LDCXX=$LD
14113 LD=$lt_save_LD
14114 GCC=$lt_save_GCC
14115 with_gnu_ldcxx=$with_gnu_ld
14116 with_gnu_ld=$lt_save_with_gnu_ld
14117 lt_cv_path_LDCXX=$lt_cv_path_LD
14118 lt_cv_path_LD=$lt_save_path_LD
14119 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14120 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14121
14122         else
14123           tagname=""
14124         fi
14125         ;;
14126
14127       F77)
14128         if test -n "$F77" && test "X$F77" != "Xno"; then
14129
14130 ac_ext=f
14131 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14132 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14133 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
14134
14135
14136 archive_cmds_need_lc_F77=no
14137 allow_undefined_flag_F77=
14138 always_export_symbols_F77=no
14139 archive_expsym_cmds_F77=
14140 export_dynamic_flag_spec_F77=
14141 hardcode_direct_F77=no
14142 hardcode_libdir_flag_spec_F77=
14143 hardcode_libdir_flag_spec_ld_F77=
14144 hardcode_libdir_separator_F77=
14145 hardcode_minus_L_F77=no
14146 hardcode_automatic_F77=no
14147 module_cmds_F77=
14148 module_expsym_cmds_F77=
14149 link_all_deplibs_F77=unknown
14150 old_archive_cmds_F77=$old_archive_cmds
14151 no_undefined_flag_F77=
14152 whole_archive_flag_spec_F77=
14153 enable_shared_with_static_runtimes_F77=no
14154
14155 # Source file extension for f77 test sources.
14156 ac_ext=f
14157
14158 # Object file extension for compiled f77 test sources.
14159 objext=o
14160 objext_F77=$objext
14161
14162 # Code to be used in simple compile tests
14163 lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
14164
14165 # Code to be used in simple link tests
14166 lt_simple_link_test_code="      program t\n      end\n"
14167
14168 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14169
14170 # If no C compiler was specified, use CC.
14171 LTCC=${LTCC-"$CC"}
14172
14173 # If no C compiler flags were specified, use CFLAGS.
14174 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14175
14176 # Allow CC to be a program name with arguments.
14177 compiler=$CC
14178
14179
14180 # save warnings/boilerplate of simple test code
14181 ac_outfile=conftest.$ac_objext
14182 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
14183 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14184 _lt_compiler_boilerplate=`cat conftest.err`
14185 $rm conftest*
14186
14187 ac_outfile=conftest.$ac_objext
14188 printf "$lt_simple_link_test_code" >conftest.$ac_ext
14189 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14190 _lt_linker_boilerplate=`cat conftest.err`
14191 $rm conftest*
14192
14193
14194 # Allow CC to be a program name with arguments.
14195 lt_save_CC="$CC"
14196 CC=${F77-"f77"}
14197 compiler=$CC
14198 compiler_F77=$CC
14199 for cc_temp in $compiler""; do
14200   case $cc_temp in
14201     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14202     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14203     \-*) ;;
14204     *) break;;
14205   esac
14206 done
14207 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14208
14209
14210 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14211 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14212 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
14213 echo "${ECHO_T}$can_build_shared" >&6; }
14214
14215 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14216 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14217 test "$can_build_shared" = "no" && enable_shared=no
14218
14219 # On AIX, shared libraries and static libraries use the same namespace, and
14220 # are all built from PIC.
14221 case $host_os in
14222 aix3*)
14223   test "$enable_shared" = yes && enable_static=no
14224   if test -n "$RANLIB"; then
14225     archive_cmds="$archive_cmds~\$RANLIB \$lib"
14226     postinstall_cmds='$RANLIB $lib'
14227   fi
14228   ;;
14229 aix4* | aix5*)
14230   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14231     test "$enable_shared" = yes && enable_static=no
14232   fi
14233   ;;
14234 esac
14235 { echo "$as_me:$LINENO: result: $enable_shared" >&5
14236 echo "${ECHO_T}$enable_shared" >&6; }
14237
14238 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14239 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14240 # Make sure either enable_shared or enable_static is yes.
14241 test "$enable_shared" = yes || enable_static=yes
14242 { echo "$as_me:$LINENO: result: $enable_static" >&5
14243 echo "${ECHO_T}$enable_static" >&6; }
14244
14245 GCC_F77="$G77"
14246 LD_F77="$LD"
14247
14248 lt_prog_compiler_wl_F77=
14249 lt_prog_compiler_pic_F77=
14250 lt_prog_compiler_static_F77=
14251
14252 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14253 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14254
14255   if test "$GCC" = yes; then
14256     lt_prog_compiler_wl_F77='-Wl,'
14257     lt_prog_compiler_static_F77='-static'
14258
14259     case $host_os in
14260       aix*)
14261       # All AIX code is PIC.
14262       if test "$host_cpu" = ia64; then
14263         # AIX 5 now supports IA64 processor
14264         lt_prog_compiler_static_F77='-Bstatic'
14265       fi
14266       ;;
14267
14268     amigaos*)
14269       # FIXME: we need at least 68020 code to build shared libraries, but
14270       # adding the `-m68020' flag to GCC prevents building anything better,
14271       # like `-m68040'.
14272       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
14273       ;;
14274
14275     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14276       # PIC is the default for these OSes.
14277       ;;
14278
14279     mingw* | pw32* | os2*)
14280       # This hack is so that the source file can tell whether it is being
14281       # built for inclusion in a dll (and should export symbols for example).
14282       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14283       ;;
14284
14285     darwin* | rhapsody*)
14286       # PIC is the default on this platform
14287       # Common symbols not allowed in MH_DYLIB files
14288       lt_prog_compiler_pic_F77='-fno-common'
14289       ;;
14290
14291     interix3*)
14292       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14293       # Instead, we relocate shared libraries at runtime.
14294       ;;
14295
14296     msdosdjgpp*)
14297       # Just because we use GCC doesn't mean we suddenly get shared libraries
14298       # on systems that don't support them.
14299       lt_prog_compiler_can_build_shared_F77=no
14300       enable_shared=no
14301       ;;
14302
14303     sysv4*MP*)
14304       if test -d /usr/nec; then
14305         lt_prog_compiler_pic_F77=-Kconform_pic
14306       fi
14307       ;;
14308
14309     hpux*)
14310       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14311       # not for PA HP-UX.
14312       case $host_cpu in
14313       hppa*64*|ia64*)
14314         # +Z the default
14315         ;;
14316       *)
14317         lt_prog_compiler_pic_F77='-fPIC'
14318         ;;
14319       esac
14320       ;;
14321
14322     *)
14323       lt_prog_compiler_pic_F77='-fPIC'
14324       ;;
14325     esac
14326   else
14327     # PORTME Check for flag to pass linker flags through the system compiler.
14328     case $host_os in
14329     aix*)
14330       lt_prog_compiler_wl_F77='-Wl,'
14331       if test "$host_cpu" = ia64; then
14332         # AIX 5 now supports IA64 processor
14333         lt_prog_compiler_static_F77='-Bstatic'
14334       else
14335         lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
14336       fi
14337       ;;
14338       darwin*)
14339         # PIC is the default on this platform
14340         # Common symbols not allowed in MH_DYLIB files
14341        case $cc_basename in
14342          xlc*)
14343          lt_prog_compiler_pic_F77='-qnocommon'
14344          lt_prog_compiler_wl_F77='-Wl,'
14345          ;;
14346        esac
14347        ;;
14348
14349     mingw* | pw32* | os2*)
14350       # This hack is so that the source file can tell whether it is being
14351       # built for inclusion in a dll (and should export symbols for example).
14352       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14353       ;;
14354
14355     hpux9* | hpux10* | hpux11*)
14356       lt_prog_compiler_wl_F77='-Wl,'
14357       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14358       # not for PA HP-UX.
14359       case $host_cpu in
14360       hppa*64*|ia64*)
14361         # +Z the default
14362         ;;
14363       *)
14364         lt_prog_compiler_pic_F77='+Z'
14365         ;;
14366       esac
14367       # Is there a better lt_prog_compiler_static that works with the bundled CC?
14368       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
14369       ;;
14370
14371     irix5* | irix6* | nonstopux*)
14372       lt_prog_compiler_wl_F77='-Wl,'
14373       # PIC (with -KPIC) is the default.
14374       lt_prog_compiler_static_F77='-non_shared'
14375       ;;
14376
14377     newsos6)
14378       lt_prog_compiler_pic_F77='-KPIC'
14379       lt_prog_compiler_static_F77='-Bstatic'
14380       ;;
14381
14382     linux*)
14383       case $cc_basename in
14384       icc* | ecc*)
14385         lt_prog_compiler_wl_F77='-Wl,'
14386         lt_prog_compiler_pic_F77='-KPIC'
14387         lt_prog_compiler_static_F77='-static'
14388         ;;
14389       pgcc* | pgf77* | pgf90* | pgf95*)
14390         # Portland Group compilers (*not* the Pentium gcc compiler,
14391         # which looks to be a dead project)
14392         lt_prog_compiler_wl_F77='-Wl,'
14393         lt_prog_compiler_pic_F77='-fpic'
14394         lt_prog_compiler_static_F77='-Bstatic'
14395         ;;
14396       ccc*)
14397         lt_prog_compiler_wl_F77='-Wl,'
14398         # All Alpha code is PIC.
14399         lt_prog_compiler_static_F77='-non_shared'
14400         ;;
14401       esac
14402       ;;
14403
14404     osf3* | osf4* | osf5*)
14405       lt_prog_compiler_wl_F77='-Wl,'
14406       # All OSF/1 code is PIC.
14407       lt_prog_compiler_static_F77='-non_shared'
14408       ;;
14409
14410     solaris*)
14411       lt_prog_compiler_pic_F77='-KPIC'
14412       lt_prog_compiler_static_F77='-Bstatic'
14413       case $cc_basename in
14414       f77* | f90* | f95*)
14415         lt_prog_compiler_wl_F77='-Qoption ld ';;
14416       *)
14417         lt_prog_compiler_wl_F77='-Wl,';;
14418       esac
14419       ;;
14420
14421     sunos4*)
14422       lt_prog_compiler_wl_F77='-Qoption ld '
14423       lt_prog_compiler_pic_F77='-PIC'
14424       lt_prog_compiler_static_F77='-Bstatic'
14425       ;;
14426
14427     sysv4 | sysv4.2uw2* | sysv4.3*)
14428       lt_prog_compiler_wl_F77='-Wl,'
14429       lt_prog_compiler_pic_F77='-KPIC'
14430       lt_prog_compiler_static_F77='-Bstatic'
14431       ;;
14432
14433     sysv4*MP*)
14434       if test -d /usr/nec ;then
14435         lt_prog_compiler_pic_F77='-Kconform_pic'
14436         lt_prog_compiler_static_F77='-Bstatic'
14437       fi
14438       ;;
14439
14440     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14441       lt_prog_compiler_wl_F77='-Wl,'
14442       lt_prog_compiler_pic_F77='-KPIC'
14443       lt_prog_compiler_static_F77='-Bstatic'
14444       ;;
14445
14446     unicos*)
14447       lt_prog_compiler_wl_F77='-Wl,'
14448       lt_prog_compiler_can_build_shared_F77=no
14449       ;;
14450
14451     uts4*)
14452       lt_prog_compiler_pic_F77='-pic'
14453       lt_prog_compiler_static_F77='-Bstatic'
14454       ;;
14455
14456     *)
14457       lt_prog_compiler_can_build_shared_F77=no
14458       ;;
14459     esac
14460   fi
14461
14462 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14463 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14464
14465 #
14466 # Check to make sure the PIC flag actually works.
14467 #
14468 if test -n "$lt_prog_compiler_pic_F77"; then
14469
14470 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14471 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14472 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14473   echo $ECHO_N "(cached) $ECHO_C" >&6
14474 else
14475   lt_prog_compiler_pic_works_F77=no
14476   ac_outfile=conftest.$ac_objext
14477    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14478    lt_compiler_flag="$lt_prog_compiler_pic_F77"
14479    # Insert the option either (1) after the last *FLAGS variable, or
14480    # (2) before a word containing "conftest.", or (3) at the end.
14481    # Note that $ac_compile itself does not contain backslashes and begins
14482    # with a dollar sign (not a hyphen), so the echo should work correctly.
14483    # The option is referenced via a variable to avoid confusing sed.
14484    lt_compile=`echo "$ac_compile" | $SED \
14485    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14486    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14487    -e 's:$: $lt_compiler_flag:'`
14488    (eval echo "\"\$as_me:14488: $lt_compile\"" >&5)
14489    (eval "$lt_compile" 2>conftest.err)
14490    ac_status=$?
14491    cat conftest.err >&5
14492    echo "$as_me:14492: \$? = $ac_status" >&5
14493    if (exit $ac_status) && test -s "$ac_outfile"; then
14494      # The compiler can only warn and ignore the option if not recognized
14495      # So say no if there are warnings other than the usual output.
14496      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14497      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14498      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14499        lt_prog_compiler_pic_works_F77=yes
14500      fi
14501    fi
14502    $rm conftest*
14503
14504 fi
14505 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14506 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14507
14508 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
14509     case $lt_prog_compiler_pic_F77 in
14510      "" | " "*) ;;
14511      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
14512      esac
14513 else
14514     lt_prog_compiler_pic_F77=
14515      lt_prog_compiler_can_build_shared_F77=no
14516 fi
14517
14518 fi
14519 case $host_os in
14520   # For platforms which do not support PIC, -DPIC is meaningless:
14521   *djgpp*)
14522     lt_prog_compiler_pic_F77=
14523     ;;
14524   *)
14525     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
14526     ;;
14527 esac
14528
14529 #
14530 # Check to make sure the static flag actually works.
14531 #
14532 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
14533 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14534 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14535 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14536   echo $ECHO_N "(cached) $ECHO_C" >&6
14537 else
14538   lt_prog_compiler_static_works_F77=no
14539    save_LDFLAGS="$LDFLAGS"
14540    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14541    printf "$lt_simple_link_test_code" > conftest.$ac_ext
14542    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14543      # The linker can only warn and ignore the option if not recognized
14544      # So say no if there are warnings
14545      if test -s conftest.err; then
14546        # Append any errors to the config.log.
14547        cat conftest.err 1>&5
14548        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14549        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14550        if diff conftest.exp conftest.er2 >/dev/null; then
14551          lt_prog_compiler_static_works_F77=yes
14552        fi
14553      else
14554        lt_prog_compiler_static_works_F77=yes
14555      fi
14556    fi
14557    $rm conftest*
14558    LDFLAGS="$save_LDFLAGS"
14559
14560 fi
14561 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14562 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14563
14564 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
14565     :
14566 else
14567     lt_prog_compiler_static_F77=
14568 fi
14569
14570
14571 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14572 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14573 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14574   echo $ECHO_N "(cached) $ECHO_C" >&6
14575 else
14576   lt_cv_prog_compiler_c_o_F77=no
14577    $rm -r conftest 2>/dev/null
14578    mkdir conftest
14579    cd conftest
14580    mkdir out
14581    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14582
14583    lt_compiler_flag="-o out/conftest2.$ac_objext"
14584    # Insert the option either (1) after the last *FLAGS variable, or
14585    # (2) before a word containing "conftest.", or (3) at the end.
14586    # Note that $ac_compile itself does not contain backslashes and begins
14587    # with a dollar sign (not a hyphen), so the echo should work correctly.
14588    lt_compile=`echo "$ac_compile" | $SED \
14589    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14590    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14591    -e 's:$: $lt_compiler_flag:'`
14592    (eval echo "\"\$as_me:14592: $lt_compile\"" >&5)
14593    (eval "$lt_compile" 2>out/conftest.err)
14594    ac_status=$?
14595    cat out/conftest.err >&5
14596    echo "$as_me:14596: \$? = $ac_status" >&5
14597    if (exit $ac_status) && test -s out/conftest2.$ac_objext
14598    then
14599      # The compiler can only warn and ignore the option if not recognized
14600      # So say no if there are warnings
14601      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14602      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14603      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14604        lt_cv_prog_compiler_c_o_F77=yes
14605      fi
14606    fi
14607    chmod u+w . 2>&5
14608    $rm conftest*
14609    # SGI C++ compiler will create directory out/ii_files/ for
14610    # template instantiation
14611    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14612    $rm out/* && rmdir out
14613    cd ..
14614    rmdir conftest
14615    $rm conftest*
14616
14617 fi
14618 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14619 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14620
14621
14622 hard_links="nottested"
14623 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
14624   # do not overwrite the value of need_locks provided by the user
14625   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14626 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14627   hard_links=yes
14628   $rm conftest*
14629   ln conftest.a conftest.b 2>/dev/null && hard_links=no
14630   touch conftest.a
14631   ln conftest.a conftest.b 2>&5 || hard_links=no
14632   ln conftest.a conftest.b 2>/dev/null && hard_links=no
14633   { echo "$as_me:$LINENO: result: $hard_links" >&5
14634 echo "${ECHO_T}$hard_links" >&6; }
14635   if test "$hard_links" = no; then
14636     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14637 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14638     need_locks=warn
14639   fi
14640 else
14641   need_locks=no
14642 fi
14643
14644 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14645 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14646
14647   runpath_var=
14648   allow_undefined_flag_F77=
14649   enable_shared_with_static_runtimes_F77=no
14650   archive_cmds_F77=
14651   archive_expsym_cmds_F77=
14652   old_archive_From_new_cmds_F77=
14653   old_archive_from_expsyms_cmds_F77=
14654   export_dynamic_flag_spec_F77=
14655   whole_archive_flag_spec_F77=
14656   thread_safe_flag_spec_F77=
14657   hardcode_libdir_flag_spec_F77=
14658   hardcode_libdir_flag_spec_ld_F77=
14659   hardcode_libdir_separator_F77=
14660   hardcode_direct_F77=no
14661   hardcode_minus_L_F77=no
14662   hardcode_shlibpath_var_F77=unsupported
14663   link_all_deplibs_F77=unknown
14664   hardcode_automatic_F77=no
14665   module_cmds_F77=
14666   module_expsym_cmds_F77=
14667   always_export_symbols_F77=no
14668   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14669   # include_expsyms should be a list of space-separated symbols to be *always*
14670   # included in the symbol list
14671   include_expsyms_F77=
14672   # exclude_expsyms can be an extended regexp of symbols to exclude
14673   # it will be wrapped by ` (' and `)$', so one must not match beginning or
14674   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14675   # as well as any symbol that contains `d'.
14676   exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
14677   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14678   # platforms (ab)use it in PIC code, but their linkers get confused if
14679   # the symbol is explicitly referenced.  Since portable code cannot
14680   # rely on this symbol name, it's probably fine to never include it in
14681   # preloaded symbol tables.
14682   extract_expsyms_cmds=
14683   # Just being paranoid about ensuring that cc_basename is set.
14684   for cc_temp in $compiler""; do
14685   case $cc_temp in
14686     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14687     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14688     \-*) ;;
14689     *) break;;
14690   esac
14691 done
14692 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14693
14694   case $host_os in
14695   cygwin* | mingw* | pw32*)
14696     # FIXME: the MSVC++ port hasn't been tested in a loooong time
14697     # When not using gcc, we currently assume that we are using
14698     # Microsoft Visual C++.
14699     if test "$GCC" != yes; then
14700       with_gnu_ld=no
14701     fi
14702     ;;
14703   interix*)
14704     # we just hope/assume this is gcc and not c89 (= MSVC++)
14705     with_gnu_ld=yes
14706     ;;
14707   openbsd*)
14708     with_gnu_ld=no
14709     ;;
14710   esac
14711
14712   ld_shlibs_F77=yes
14713   if test "$with_gnu_ld" = yes; then
14714     # If archive_cmds runs LD, not CC, wlarc should be empty
14715     wlarc='${wl}'
14716
14717     # Set some defaults for GNU ld with shared library support. These
14718     # are reset later if shared libraries are not supported. Putting them
14719     # here allows them to be overridden if necessary.
14720     runpath_var=LD_RUN_PATH
14721     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
14722     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
14723     # ancient GNU ld didn't support --whole-archive et. al.
14724     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14725         whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14726       else
14727         whole_archive_flag_spec_F77=
14728     fi
14729     supports_anon_versioning=no
14730     case `$LD -v 2>/dev/null` in
14731       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14732       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14733       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14734       *\ 2.11.*) ;; # other 2.11 versions
14735       *) supports_anon_versioning=yes ;;
14736     esac
14737
14738     # See if GNU ld supports shared libraries.
14739     case $host_os in
14740     aix3* | aix4* | aix5*)
14741       # On AIX/PPC, the GNU linker is very broken
14742       if test "$host_cpu" != ia64; then
14743         ld_shlibs_F77=no
14744         cat <<EOF 1>&2
14745
14746 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14747 *** to be unable to reliably create shared libraries on AIX.
14748 *** Therefore, libtool is disabling shared libraries support.  If you
14749 *** really care for shared libraries, you may want to modify your PATH
14750 *** so that a non-GNU linker is found, and then restart.
14751
14752 EOF
14753       fi
14754       ;;
14755
14756     amigaos*)
14757       archive_cmds_F77='$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)'
14758       hardcode_libdir_flag_spec_F77='-L$libdir'
14759       hardcode_minus_L_F77=yes
14760
14761       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14762       # that the semantics of dynamic libraries on AmigaOS, at least up
14763       # to version 4, is to share data among multiple programs linked
14764       # with the same dynamic library.  Since this doesn't match the
14765       # behavior of shared libraries on other platforms, we can't use
14766       # them.
14767       ld_shlibs_F77=no
14768       ;;
14769
14770     beos*)
14771       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14772         allow_undefined_flag_F77=unsupported
14773         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14774         # support --undefined.  This deserves some investigation.  FIXME
14775         archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14776       else
14777         ld_shlibs_F77=no
14778       fi
14779       ;;
14780
14781     cygwin* | mingw* | pw32*)
14782       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14783       # as there is no search path for DLLs.
14784       hardcode_libdir_flag_spec_F77='-L$libdir'
14785       allow_undefined_flag_F77=unsupported
14786       always_export_symbols_F77=no
14787       enable_shared_with_static_runtimes_F77=yes
14788       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14789
14790       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14791         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14792         # If the export-symbols file already is a .def file (1st line
14793         # is EXPORTS), use it as is; otherwise, prepend...
14794         archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14795           cp $export_symbols $output_objdir/$soname.def;
14796         else
14797           echo EXPORTS > $output_objdir/$soname.def;
14798           cat $export_symbols >> $output_objdir/$soname.def;
14799         fi~
14800         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14801       else
14802         ld_shlibs_F77=no
14803       fi
14804       ;;
14805
14806     interix3*)
14807       hardcode_direct_F77=no
14808       hardcode_shlibpath_var_F77=no
14809       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14810       export_dynamic_flag_spec_F77='${wl}-E'
14811       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14812       # Instead, shared libraries are loaded at an image base (0x10000000 by
14813       # default) and relocated if they conflict, which is a slow very memory
14814       # consuming and fragmenting process.  To avoid this, we pick a random,
14815       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14816       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14817       archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14818       archive_expsym_cmds_F77='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'
14819       ;;
14820
14821     linux*)
14822       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14823         tmp_addflag=
14824         case $cc_basename,$host_cpu in
14825         pgcc*)                          # Portland Group C compiler
14826           whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14827           tmp_addflag=' $pic_flag'
14828           ;;
14829         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
14830           whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14831           tmp_addflag=' $pic_flag -Mnomain' ;;
14832         ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
14833           tmp_addflag=' -i_dynamic' ;;
14834         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
14835           tmp_addflag=' -i_dynamic -nofor_main' ;;
14836         ifc* | ifort*)                  # Intel Fortran compiler
14837           tmp_addflag=' -nofor_main' ;;
14838         esac
14839         archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14840
14841         if test $supports_anon_versioning = yes; then
14842           archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
14843   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14844   $echo "local: *; };" >> $output_objdir/$libname.ver~
14845           $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14846         fi
14847       else
14848         ld_shlibs_F77=no
14849       fi
14850       ;;
14851
14852     netbsd*)
14853       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14854         archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14855         wlarc=
14856       else
14857         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14858         archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14859       fi
14860       ;;
14861
14862     solaris*)
14863       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
14864         ld_shlibs_F77=no
14865         cat <<EOF 1>&2
14866
14867 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14868 *** create shared libraries on Solaris systems.  Therefore, libtool
14869 *** is disabling shared libraries support.  We urge you to upgrade GNU
14870 *** binutils to release 2.9.1 or newer.  Another option is to modify
14871 *** your PATH or compiler configuration so that the native linker is
14872 *** used, and then restart.
14873
14874 EOF
14875       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14876         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14877         archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14878       else
14879         ld_shlibs_F77=no
14880       fi
14881       ;;
14882
14883     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14884       case `$LD -v 2>&1` in
14885         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14886         ld_shlibs_F77=no
14887         cat <<_LT_EOF 1>&2
14888
14889 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14890 *** reliably create shared libraries on SCO systems.  Therefore, libtool
14891 *** is disabling shared libraries support.  We urge you to upgrade GNU
14892 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
14893 *** your PATH or compiler configuration so that the native linker is
14894 *** used, and then restart.
14895
14896 _LT_EOF
14897         ;;
14898         *)
14899           if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14900             hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14901             archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14902             archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14903           else
14904             ld_shlibs_F77=no
14905           fi
14906         ;;
14907       esac
14908       ;;
14909
14910     sunos4*)
14911       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14912       wlarc=
14913       hardcode_direct_F77=yes
14914       hardcode_shlibpath_var_F77=no
14915       ;;
14916
14917     *)
14918       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14919         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14920         archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14921       else
14922         ld_shlibs_F77=no
14923       fi
14924       ;;
14925     esac
14926
14927     if test "$ld_shlibs_F77" = no; then
14928       runpath_var=
14929       hardcode_libdir_flag_spec_F77=
14930       export_dynamic_flag_spec_F77=
14931       whole_archive_flag_spec_F77=
14932     fi
14933   else
14934     # PORTME fill in a description of your system's linker (not GNU ld)
14935     case $host_os in
14936     aix3*)
14937       allow_undefined_flag_F77=unsupported
14938       always_export_symbols_F77=yes
14939       archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
14940       # Note: this linker hardcodes the directories in LIBPATH if there
14941       # are no directories specified by -L.
14942       hardcode_minus_L_F77=yes
14943       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14944         # Neither direct hardcoding nor static linking is supported with a
14945         # broken collect2.
14946         hardcode_direct_F77=unsupported
14947       fi
14948       ;;
14949
14950     aix4* | aix5*)
14951       if test "$host_cpu" = ia64; then
14952         # On IA64, the linker does run time linking by default, so we don't
14953         # have to do anything special.
14954         aix_use_runtimelinking=no
14955         exp_sym_flag='-Bexport'
14956         no_entry_flag=""
14957       else
14958         # If we're using GNU nm, then we don't want the "-C" option.
14959         # -C means demangle to AIX nm, but means don't demangle with GNU nm
14960         if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14961           export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14962         else
14963           export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14964         fi
14965         aix_use_runtimelinking=no
14966
14967         # Test if we are trying to use run time linking or normal
14968         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14969         # need to do runtime linking.
14970         case $host_os in aix4.[23]|aix4.[23].*|aix5*)
14971           for ld_flag in $LDFLAGS; do
14972           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14973             aix_use_runtimelinking=yes
14974             break
14975           fi
14976           done
14977           ;;
14978         esac
14979
14980         exp_sym_flag='-bexport'
14981         no_entry_flag='-bnoentry'
14982       fi
14983
14984       # When large executables or shared objects are built, AIX ld can
14985       # have problems creating the table of contents.  If linking a library
14986       # or program results in "error TOC overflow" add -mminimal-toc to
14987       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14988       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14989
14990       archive_cmds_F77=''
14991       hardcode_direct_F77=yes
14992       hardcode_libdir_separator_F77=':'
14993       link_all_deplibs_F77=yes
14994
14995       if test "$GCC" = yes; then
14996         case $host_os in aix4.[012]|aix4.[012].*)
14997         # We only want to do this on AIX 4.2 and lower, the check
14998         # below for broken collect2 doesn't work under 4.3+
14999           collect2name=`${CC} -print-prog-name=collect2`
15000           if test -f "$collect2name" && \
15001            strings "$collect2name" | grep resolve_lib_name >/dev/null
15002           then
15003           # We have reworked collect2
15004           hardcode_direct_F77=yes
15005           else
15006           # We have old collect2
15007           hardcode_direct_F77=unsupported
15008           # It fails to find uninstalled libraries when the uninstalled
15009           # path is not listed in the libpath.  Setting hardcode_minus_L
15010           # to unsupported forces relinking
15011           hardcode_minus_L_F77=yes
15012           hardcode_libdir_flag_spec_F77='-L$libdir'
15013           hardcode_libdir_separator_F77=
15014           fi
15015           ;;
15016         esac
15017         shared_flag='-shared'
15018         if test "$aix_use_runtimelinking" = yes; then
15019           shared_flag="$shared_flag "'${wl}-G'
15020         fi
15021       else
15022         # not using gcc
15023         if test "$host_cpu" = ia64; then
15024         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15025         # chokes on -Wl,-G. The following line is correct:
15026           shared_flag='-G'
15027         else
15028           if test "$aix_use_runtimelinking" = yes; then
15029             shared_flag='${wl}-G'
15030           else
15031             shared_flag='${wl}-bM:SRE'
15032           fi
15033         fi
15034       fi
15035
15036       # It seems that -bexpall does not export symbols beginning with
15037       # underscore (_), so it is better to generate a list of symbols to export.
15038       always_export_symbols_F77=yes
15039       if test "$aix_use_runtimelinking" = yes; then
15040         # Warning - without using the other runtime loading flags (-brtl),
15041         # -berok will link without error, but may produce a broken library.
15042         allow_undefined_flag_F77='-berok'
15043        # Determine the default libpath from the value encoded in an empty executable.
15044        cat >conftest.$ac_ext <<_ACEOF
15045       program main
15046
15047       end
15048 _ACEOF
15049 rm -f conftest.$ac_objext conftest$ac_exeext
15050 if { (ac_try="$ac_link"
15051 case "(($ac_try" in
15052   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15053   *) ac_try_echo=$ac_try;;
15054 esac
15055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15056   (eval "$ac_link") 2>conftest.er1
15057   ac_status=$?
15058   grep -v '^ *+' conftest.er1 >conftest.err
15059   rm -f conftest.er1
15060   cat conftest.err >&5
15061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15062   (exit $ac_status); } && {
15063          test -z "$ac_f77_werror_flag" ||
15064          test ! -s conftest.err
15065        } && test -s conftest$ac_exeext &&
15066        $as_test_x conftest$ac_exeext; then
15067
15068 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
15069 }'`
15070 # Check for a 64-bit object if we didn't find anything.
15071 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
15072 }'`; fi
15073 else
15074   echo "$as_me: failed program was:" >&5
15075 sed 's/^/| /' conftest.$ac_ext >&5
15076
15077
15078 fi
15079
15080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15081       conftest$ac_exeext conftest.$ac_ext
15082 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15083
15084        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15085         archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
15086        else
15087         if test "$host_cpu" = ia64; then
15088           hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15089           allow_undefined_flag_F77="-z nodefs"
15090           archive_expsym_cmds_F77="\$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"
15091         else
15092          # Determine the default libpath from the value encoded in an empty executable.
15093          cat >conftest.$ac_ext <<_ACEOF
15094       program main
15095
15096       end
15097 _ACEOF
15098 rm -f conftest.$ac_objext conftest$ac_exeext
15099 if { (ac_try="$ac_link"
15100 case "(($ac_try" in
15101   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15102   *) ac_try_echo=$ac_try;;
15103 esac
15104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15105   (eval "$ac_link") 2>conftest.er1
15106   ac_status=$?
15107   grep -v '^ *+' conftest.er1 >conftest.err
15108   rm -f conftest.er1
15109   cat conftest.err >&5
15110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15111   (exit $ac_status); } && {
15112          test -z "$ac_f77_werror_flag" ||
15113          test ! -s conftest.err
15114        } && test -s conftest$ac_exeext &&
15115        $as_test_x conftest$ac_exeext; then
15116
15117 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
15118 }'`
15119 # Check for a 64-bit object if we didn't find anything.
15120 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
15121 }'`; fi
15122 else
15123   echo "$as_me: failed program was:" >&5
15124 sed 's/^/| /' conftest.$ac_ext >&5
15125
15126
15127 fi
15128
15129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15130       conftest$ac_exeext conftest.$ac_ext
15131 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15132
15133          hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15134           # Warning - without using the other run time loading flags,
15135           # -berok will link without error, but may produce a broken library.
15136           no_undefined_flag_F77=' ${wl}-bernotok'
15137           allow_undefined_flag_F77=' ${wl}-berok'
15138           # Exported symbols can be pulled into shared objects from archives
15139           whole_archive_flag_spec_F77='$convenience'
15140           archive_cmds_need_lc_F77=yes
15141           # This is similar to how AIX traditionally builds its shared libraries.
15142           archive_expsym_cmds_F77="\$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'
15143         fi
15144       fi
15145       ;;
15146
15147     amigaos*)
15148       archive_cmds_F77='$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)'
15149       hardcode_libdir_flag_spec_F77='-L$libdir'
15150       hardcode_minus_L_F77=yes
15151       # see comment about different semantics on the GNU ld section
15152       ld_shlibs_F77=no
15153       ;;
15154
15155     bsdi[45]*)
15156       export_dynamic_flag_spec_F77=-rdynamic
15157       ;;
15158
15159     cygwin* | mingw* | pw32*)
15160       # When not using gcc, we currently assume that we are using
15161       # Microsoft Visual C++.
15162       # hardcode_libdir_flag_spec is actually meaningless, as there is
15163       # no search path for DLLs.
15164       hardcode_libdir_flag_spec_F77=' '
15165       allow_undefined_flag_F77=unsupported
15166       # Tell ltmain to make .lib files, not .a files.
15167       libext=lib
15168       # Tell ltmain to make .dll files, not .so files.
15169       shrext_cmds=".dll"
15170       # FIXME: Setting linknames here is a bad hack.
15171       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15172       # The linker will automatically build a .lib file if we build a DLL.
15173       old_archive_From_new_cmds_F77='true'
15174       # FIXME: Should let the user specify the lib program.
15175       old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
15176       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
15177       enable_shared_with_static_runtimes_F77=yes
15178       ;;
15179
15180     darwin* | rhapsody*)
15181       case $host_os in
15182         rhapsody* | darwin1.[012])
15183          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
15184          ;;
15185        *) # Darwin 1.3 on
15186          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15187            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15188          else
15189            case ${MACOSX_DEPLOYMENT_TARGET} in
15190              10.[012])
15191                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15192                ;;
15193              10.*)
15194                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
15195                ;;
15196            esac
15197          fi
15198          ;;
15199       esac
15200       archive_cmds_need_lc_F77=no
15201       hardcode_direct_F77=no
15202       hardcode_automatic_F77=yes
15203       hardcode_shlibpath_var_F77=unsupported
15204       whole_archive_flag_spec_F77=''
15205       link_all_deplibs_F77=yes
15206     if test "$GCC" = yes ; then
15207         output_verbose_link_cmd='echo'
15208         archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15209       module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15210       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15211       archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15212       module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15213     else
15214       case $cc_basename in
15215         xlc*)
15216          output_verbose_link_cmd='echo'
15217          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15218          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15219           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15220          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15221           module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15222           ;;
15223        *)
15224          ld_shlibs_F77=no
15225           ;;
15226       esac
15227     fi
15228       ;;
15229
15230     dgux*)
15231       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15232       hardcode_libdir_flag_spec_F77='-L$libdir'
15233       hardcode_shlibpath_var_F77=no
15234       ;;
15235
15236     freebsd1*)
15237       ld_shlibs_F77=no
15238       ;;
15239
15240     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15241     # support.  Future versions do this automatically, but an explicit c++rt0.o
15242     # does not break anything, and helps significantly (at the cost of a little
15243     # extra space).
15244     freebsd2.2*)
15245       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15246       hardcode_libdir_flag_spec_F77='-R$libdir'
15247       hardcode_direct_F77=yes
15248       hardcode_shlibpath_var_F77=no
15249       ;;
15250
15251     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15252     freebsd2*)
15253       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15254       hardcode_direct_F77=yes
15255       hardcode_minus_L_F77=yes
15256       hardcode_shlibpath_var_F77=no
15257       ;;
15258
15259     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15260     freebsd* | kfreebsd*-gnu | dragonfly*)
15261       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15262       hardcode_libdir_flag_spec_F77='-R$libdir'
15263       hardcode_direct_F77=yes
15264       hardcode_shlibpath_var_F77=no
15265       ;;
15266
15267     hpux9*)
15268       if test "$GCC" = yes; then
15269         archive_cmds_F77='$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'
15270       else
15271         archive_cmds_F77='$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'
15272       fi
15273       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15274       hardcode_libdir_separator_F77=:
15275       hardcode_direct_F77=yes
15276
15277       # hardcode_minus_L: Not really in the search PATH,
15278       # but as the default location of the library.
15279       hardcode_minus_L_F77=yes
15280       export_dynamic_flag_spec_F77='${wl}-E'
15281       ;;
15282
15283     hpux10*)
15284       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15285         archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15286       else
15287         archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15288       fi
15289       if test "$with_gnu_ld" = no; then
15290         hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15291         hardcode_libdir_separator_F77=:
15292
15293         hardcode_direct_F77=yes
15294         export_dynamic_flag_spec_F77='${wl}-E'
15295
15296         # hardcode_minus_L: Not really in the search PATH,
15297         # but as the default location of the library.
15298         hardcode_minus_L_F77=yes
15299       fi
15300       ;;
15301
15302     hpux11*)
15303       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15304         case $host_cpu in
15305         hppa*64*)
15306           archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15307           ;;
15308         ia64*)
15309           archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15310           ;;
15311         *)
15312           archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15313           ;;
15314         esac
15315       else
15316         case $host_cpu in
15317         hppa*64*)
15318           archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15319           ;;
15320         ia64*)
15321           archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15322           ;;
15323         *)
15324           archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15325           ;;
15326         esac
15327       fi
15328       if test "$with_gnu_ld" = no; then
15329         hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15330         hardcode_libdir_separator_F77=:
15331
15332         case $host_cpu in
15333         hppa*64*|ia64*)
15334           hardcode_libdir_flag_spec_ld_F77='+b $libdir'
15335           hardcode_direct_F77=no
15336           hardcode_shlibpath_var_F77=no
15337           ;;
15338         *)
15339           hardcode_direct_F77=yes
15340           export_dynamic_flag_spec_F77='${wl}-E'
15341
15342           # hardcode_minus_L: Not really in the search PATH,
15343           # but as the default location of the library.
15344           hardcode_minus_L_F77=yes
15345           ;;
15346         esac
15347       fi
15348       ;;
15349
15350     irix5* | irix6* | nonstopux*)
15351       if test "$GCC" = yes; then
15352         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15353       else
15354         archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15355         hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
15356       fi
15357       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15358       hardcode_libdir_separator_F77=:
15359       link_all_deplibs_F77=yes
15360       ;;
15361
15362     netbsd*)
15363       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15364         archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
15365       else
15366         archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
15367       fi
15368       hardcode_libdir_flag_spec_F77='-R$libdir'
15369       hardcode_direct_F77=yes
15370       hardcode_shlibpath_var_F77=no
15371       ;;
15372
15373     newsos6)
15374       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15375       hardcode_direct_F77=yes
15376       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15377       hardcode_libdir_separator_F77=:
15378       hardcode_shlibpath_var_F77=no
15379       ;;
15380
15381     openbsd*)
15382       hardcode_direct_F77=yes
15383       hardcode_shlibpath_var_F77=no
15384       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15385         archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15386         archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15387         hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15388         export_dynamic_flag_spec_F77='${wl}-E'
15389       else
15390        case $host_os in
15391          openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15392            archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15393            hardcode_libdir_flag_spec_F77='-R$libdir'
15394            ;;
15395          *)
15396            archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15397            hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15398            ;;
15399        esac
15400       fi
15401       ;;
15402
15403     os2*)
15404       hardcode_libdir_flag_spec_F77='-L$libdir'
15405       hardcode_minus_L_F77=yes
15406       allow_undefined_flag_F77=unsupported
15407       archive_cmds_F77='$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'
15408       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15409       ;;
15410
15411     osf3*)
15412       if test "$GCC" = yes; then
15413         allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15414         archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15415       else
15416         allow_undefined_flag_F77=' -expect_unresolved \*'
15417         archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15418       fi
15419       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15420       hardcode_libdir_separator_F77=:
15421       ;;
15422
15423     osf4* | osf5*)      # as osf3* with the addition of -msym flag
15424       if test "$GCC" = yes; then
15425         allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15426         archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15427         hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15428       else
15429         allow_undefined_flag_F77=' -expect_unresolved \*'
15430         archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15431         archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
15432         $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
15433
15434         # Both c and cxx compiler support -rpath directly
15435         hardcode_libdir_flag_spec_F77='-rpath $libdir'
15436       fi
15437       hardcode_libdir_separator_F77=:
15438       ;;
15439
15440     solaris*)
15441       no_undefined_flag_F77=' -z text'
15442       if test "$GCC" = yes; then
15443         wlarc='${wl}'
15444         archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15445         archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15446           $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15447       else
15448         wlarc=''
15449         archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15450         archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15451         $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15452       fi
15453       hardcode_libdir_flag_spec_F77='-R$libdir'
15454       hardcode_shlibpath_var_F77=no
15455       case $host_os in
15456       solaris2.[0-5] | solaris2.[0-5].*) ;;
15457       *)
15458         # The compiler driver will combine linker options so we
15459         # cannot just pass the convience library names through
15460         # without $wl, iff we do not link with $LD.
15461         # Luckily, gcc supports the same syntax we need for Sun Studio.
15462         # Supported since Solaris 2.6 (maybe 2.5.1?)
15463         case $wlarc in
15464         '')
15465           whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
15466         *)
15467           whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
15468         esac ;;
15469       esac
15470       link_all_deplibs_F77=yes
15471       ;;
15472
15473     sunos4*)
15474       if test "x$host_vendor" = xsequent; then
15475         # Use $CC to link under sequent, because it throws in some extra .o
15476         # files that make .init and .fini sections work.
15477         archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15478       else
15479         archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15480       fi
15481       hardcode_libdir_flag_spec_F77='-L$libdir'
15482       hardcode_direct_F77=yes
15483       hardcode_minus_L_F77=yes
15484       hardcode_shlibpath_var_F77=no
15485       ;;
15486
15487     sysv4)
15488       case $host_vendor in
15489         sni)
15490           archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15491           hardcode_direct_F77=yes # is this really true???
15492         ;;
15493         siemens)
15494           ## LD is ld it makes a PLAMLIB
15495           ## CC just makes a GrossModule.
15496           archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15497           reload_cmds_F77='$CC -r -o $output$reload_objs'
15498           hardcode_direct_F77=no
15499         ;;
15500         motorola)
15501           archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15502           hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
15503         ;;
15504       esac
15505       runpath_var='LD_RUN_PATH'
15506       hardcode_shlibpath_var_F77=no
15507       ;;
15508
15509     sysv4.3*)
15510       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15511       hardcode_shlibpath_var_F77=no
15512       export_dynamic_flag_spec_F77='-Bexport'
15513       ;;
15514
15515     sysv4*MP*)
15516       if test -d /usr/nec; then
15517         archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15518         hardcode_shlibpath_var_F77=no
15519         runpath_var=LD_RUN_PATH
15520         hardcode_runpath_var=yes
15521         ld_shlibs_F77=yes
15522       fi
15523       ;;
15524
15525     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
15526       no_undefined_flag_F77='${wl}-z,text'
15527       archive_cmds_need_lc_F77=no
15528       hardcode_shlibpath_var_F77=no
15529       runpath_var='LD_RUN_PATH'
15530
15531       if test "$GCC" = yes; then
15532         archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15533         archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15534       else
15535         archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15536         archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15537       fi
15538       ;;
15539
15540     sysv5* | sco3.2v5* | sco5v6*)
15541       # Note: We can NOT use -z defs as we might desire, because we do not
15542       # link with -lc, and that would cause any symbols used from libc to
15543       # always be unresolved, which means just about no library would
15544       # ever link correctly.  If we're not using GNU ld we use -z text
15545       # though, which does catch some bad symbols but isn't as heavy-handed
15546       # as -z defs.
15547       no_undefined_flag_F77='${wl}-z,text'
15548       allow_undefined_flag_F77='${wl}-z,nodefs'
15549       archive_cmds_need_lc_F77=no
15550       hardcode_shlibpath_var_F77=no
15551       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15552       hardcode_libdir_separator_F77=':'
15553       link_all_deplibs_F77=yes
15554       export_dynamic_flag_spec_F77='${wl}-Bexport'
15555       runpath_var='LD_RUN_PATH'
15556
15557       if test "$GCC" = yes; then
15558         archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15559         archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15560       else
15561         archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15562         archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15563       fi
15564       ;;
15565
15566     uts4*)
15567       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15568       hardcode_libdir_flag_spec_F77='-L$libdir'
15569       hardcode_shlibpath_var_F77=no
15570       ;;
15571
15572     *)
15573       ld_shlibs_F77=no
15574       ;;
15575     esac
15576   fi
15577
15578 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15579 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15580 test "$ld_shlibs_F77" = no && can_build_shared=no
15581
15582 #
15583 # Do we need to explicitly link libc?
15584 #
15585 case "x$archive_cmds_need_lc_F77" in
15586 x|xyes)
15587   # Assume -lc should be added
15588   archive_cmds_need_lc_F77=yes
15589
15590   if test "$enable_shared" = yes && test "$GCC" = yes; then
15591     case $archive_cmds_F77 in
15592     *'~'*)
15593       # FIXME: we may have to deal with multi-command sequences.
15594       ;;
15595     '$CC '*)
15596       # Test whether the compiler implicitly links with -lc since on some
15597       # systems, -lgcc has to come before -lc. If gcc already passes -lc
15598       # to ld, don't add -lc before -lgcc.
15599       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15600 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15601       $rm conftest*
15602       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15603
15604       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15605   (eval $ac_compile) 2>&5
15606   ac_status=$?
15607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15608   (exit $ac_status); } 2>conftest.err; then
15609         soname=conftest
15610         lib=conftest
15611         libobjs=conftest.$ac_objext
15612         deplibs=
15613         wl=$lt_prog_compiler_wl_F77
15614         pic_flag=$lt_prog_compiler_pic_F77
15615         compiler_flags=-v
15616         linker_flags=-v
15617         verstring=
15618         output_objdir=.
15619         libname=conftest
15620         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
15621         allow_undefined_flag_F77=
15622         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15623   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
15624   ac_status=$?
15625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15626   (exit $ac_status); }
15627         then
15628           archive_cmds_need_lc_F77=no
15629         else
15630           archive_cmds_need_lc_F77=yes
15631         fi
15632         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
15633       else
15634         cat conftest.err 1>&5
15635       fi
15636       $rm conftest*
15637       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15638 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15639       ;;
15640     esac
15641   fi
15642   ;;
15643 esac
15644
15645 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15646 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15647 library_names_spec=
15648 libname_spec='lib$name'
15649 soname_spec=
15650 shrext_cmds=".so"
15651 postinstall_cmds=
15652 postuninstall_cmds=
15653 finish_cmds=
15654 finish_eval=
15655 shlibpath_var=
15656 shlibpath_overrides_runpath=unknown
15657 version_type=none
15658 dynamic_linker="$host_os ld.so"
15659 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15660 if test "$GCC" = yes; then
15661   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15662   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
15663     # if the path contains ";" then we assume it to be the separator
15664     # otherwise default to the standard path separator (i.e. ":") - it is
15665     # assumed that no part of a normal pathname contains ";" but that should
15666     # okay in the real world where ";" in dirpaths is itself problematic.
15667     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15668   else
15669     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15670   fi
15671 else
15672   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15673 fi
15674 need_lib_prefix=unknown
15675 hardcode_into_libs=no
15676
15677 # when you set need_version to no, make sure it does not cause -set_version
15678 # flags to be left without arguments
15679 need_version=unknown
15680
15681 case $host_os in
15682 aix3*)
15683   version_type=linux
15684   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15685   shlibpath_var=LIBPATH
15686
15687   # AIX 3 has no versioning support, so we append a major version to the name.
15688   soname_spec='${libname}${release}${shared_ext}$major'
15689   ;;
15690
15691 aix4* | aix5*)
15692   version_type=linux
15693   need_lib_prefix=no
15694   need_version=no
15695   hardcode_into_libs=yes
15696   if test "$host_cpu" = ia64; then
15697     # AIX 5 supports IA64
15698     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15699     shlibpath_var=LD_LIBRARY_PATH
15700   else
15701     # With GCC up to 2.95.x, collect2 would create an import file
15702     # for dependence libraries.  The import file would start with
15703     # the line `#! .'.  This would cause the generated library to
15704     # depend on `.', always an invalid library.  This was fixed in
15705     # development snapshots of GCC prior to 3.0.
15706     case $host_os in
15707       aix4 | aix4.[01] | aix4.[01].*)
15708       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15709            echo ' yes '
15710            echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15711         :
15712       else
15713         can_build_shared=no
15714       fi
15715       ;;
15716     esac
15717     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15718     # soname into executable. Probably we can add versioning support to
15719     # collect2, so additional links can be useful in future.
15720     if test "$aix_use_runtimelinking" = yes; then
15721       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15722       # instead of lib<name>.a to let people know that these are not
15723       # typical AIX shared libraries.
15724       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15725     else
15726       # We preserve .a as extension for shared libraries through AIX4.2
15727       # and later when we are not doing run time linking.
15728       library_names_spec='${libname}${release}.a $libname.a'
15729       soname_spec='${libname}${release}${shared_ext}$major'
15730     fi
15731     shlibpath_var=LIBPATH
15732   fi
15733   ;;
15734
15735 amigaos*)
15736   library_names_spec='$libname.ixlibrary $libname.a'
15737   # Create ${libname}_ixlibrary.a entries in /sys/libs.
15738   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'
15739   ;;
15740
15741 beos*)
15742   library_names_spec='${libname}${shared_ext}'
15743   dynamic_linker="$host_os ld.so"
15744   shlibpath_var=LIBRARY_PATH
15745   ;;
15746
15747 bsdi[45]*)
15748   version_type=linux
15749   need_version=no
15750   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15751   soname_spec='${libname}${release}${shared_ext}$major'
15752   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15753   shlibpath_var=LD_LIBRARY_PATH
15754   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15755   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15756   # the default ld.so.conf also contains /usr/contrib/lib and
15757   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15758   # libtool to hard-code these into programs
15759   ;;
15760
15761 cygwin* | mingw* | pw32*)
15762   version_type=windows
15763   shrext_cmds=".dll"
15764   need_version=no
15765   need_lib_prefix=no
15766
15767   case $GCC,$host_os in
15768   yes,cygwin* | yes,mingw* | yes,pw32*)
15769     library_names_spec='$libname.dll.a'
15770     # DLL is installed to $(libdir)/../bin by postinstall_cmds
15771     postinstall_cmds='base_file=`basename \${file}`~
15772       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15773       dldir=$destdir/`dirname \$dlpath`~
15774       test -d \$dldir || mkdir -p \$dldir~
15775       $install_prog $dir/$dlname \$dldir/$dlname~
15776       chmod a+x \$dldir/$dlname'
15777     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15778       dlpath=$dir/\$dldll~
15779        $rm \$dlpath'
15780     shlibpath_overrides_runpath=yes
15781
15782     case $host_os in
15783     cygwin*)
15784       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15785       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15786       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15787       ;;
15788     mingw*)
15789       # MinGW DLLs use traditional 'lib' prefix
15790       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15791       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15792       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
15793         # It is most probably a Windows format PATH printed by
15794         # mingw gcc, but we are running on Cygwin. Gcc prints its search
15795         # path with ; separators, and with drive letters. We can handle the
15796         # drive letters (cygwin fileutils understands them), so leave them,
15797         # especially as we might pass files found there to a mingw objdump,
15798         # which wouldn't understand a cygwinified path. Ahh.
15799         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15800       else
15801         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15802       fi
15803       ;;
15804     pw32*)
15805       # pw32 DLLs use 'pw' prefix rather than 'lib'
15806       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15807       ;;
15808     esac
15809     ;;
15810
15811   *)
15812     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15813     ;;
15814   esac
15815   dynamic_linker='Win32 ld.exe'
15816   # FIXME: first we should search . and the directory the executable is in
15817   shlibpath_var=PATH
15818   ;;
15819
15820 darwin* | rhapsody*)
15821   dynamic_linker="$host_os dyld"
15822   version_type=darwin
15823   need_lib_prefix=no
15824   need_version=no
15825   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15826   soname_spec='${libname}${release}${major}$shared_ext'
15827   shlibpath_overrides_runpath=yes
15828   shlibpath_var=DYLD_LIBRARY_PATH
15829   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15830   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15831   if test "$GCC" = yes; then
15832     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
15833   else
15834     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
15835   fi
15836   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15837   ;;
15838
15839 dgux*)
15840   version_type=linux
15841   need_lib_prefix=no
15842   need_version=no
15843   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15844   soname_spec='${libname}${release}${shared_ext}$major'
15845   shlibpath_var=LD_LIBRARY_PATH
15846   ;;
15847
15848 freebsd1*)
15849   dynamic_linker=no
15850   ;;
15851
15852 kfreebsd*-gnu)
15853   version_type=linux
15854   need_lib_prefix=no
15855   need_version=no
15856   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15857   soname_spec='${libname}${release}${shared_ext}$major'
15858   shlibpath_var=LD_LIBRARY_PATH
15859   shlibpath_overrides_runpath=no
15860   hardcode_into_libs=yes
15861   dynamic_linker='GNU ld.so'
15862   ;;
15863
15864 freebsd* | dragonfly*)
15865   # DragonFly does not have aout.  When/if they implement a new
15866   # versioning mechanism, adjust this.
15867   if test -x /usr/bin/objformat; then
15868     objformat=`/usr/bin/objformat`
15869   else
15870     case $host_os in
15871     freebsd[123]*) objformat=aout ;;
15872     *) objformat=elf ;;
15873     esac
15874   fi
15875   version_type=freebsd-$objformat
15876   case $version_type in
15877     freebsd-elf*)
15878       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15879       need_version=no
15880       need_lib_prefix=no
15881       ;;
15882     freebsd-*)
15883       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15884       need_version=yes
15885       ;;
15886   esac
15887   shlibpath_var=LD_LIBRARY_PATH
15888   case $host_os in
15889   freebsd2*)
15890     shlibpath_overrides_runpath=yes
15891     ;;
15892   freebsd3.[01]* | freebsdelf3.[01]*)
15893     shlibpath_overrides_runpath=yes
15894     hardcode_into_libs=yes
15895     ;;
15896   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15897   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15898     shlibpath_overrides_runpath=no
15899     hardcode_into_libs=yes
15900     ;;
15901   freebsd*) # from 4.6 on
15902     shlibpath_overrides_runpath=yes
15903     hardcode_into_libs=yes
15904     ;;
15905   esac
15906   ;;
15907
15908 gnu*)
15909   version_type=linux
15910   need_lib_prefix=no
15911   need_version=no
15912   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15913   soname_spec='${libname}${release}${shared_ext}$major'
15914   shlibpath_var=LD_LIBRARY_PATH
15915   hardcode_into_libs=yes
15916   ;;
15917
15918 hpux9* | hpux10* | hpux11*)
15919   # Give a soname corresponding to the major version so that dld.sl refuses to
15920   # link against other versions.
15921   version_type=sunos
15922   need_lib_prefix=no
15923   need_version=no
15924   case $host_cpu in
15925   ia64*)
15926     shrext_cmds='.so'
15927     hardcode_into_libs=yes
15928     dynamic_linker="$host_os dld.so"
15929     shlibpath_var=LD_LIBRARY_PATH
15930     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15931     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15932     soname_spec='${libname}${release}${shared_ext}$major'
15933     if test "X$HPUX_IA64_MODE" = X32; then
15934       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15935     else
15936       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15937     fi
15938     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15939     ;;
15940    hppa*64*)
15941      shrext_cmds='.sl'
15942      hardcode_into_libs=yes
15943      dynamic_linker="$host_os dld.sl"
15944      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15945      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15946      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15947      soname_spec='${libname}${release}${shared_ext}$major'
15948      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15949      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15950      ;;
15951    *)
15952     shrext_cmds='.sl'
15953     dynamic_linker="$host_os dld.sl"
15954     shlibpath_var=SHLIB_PATH
15955     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15956     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15957     soname_spec='${libname}${release}${shared_ext}$major'
15958     ;;
15959   esac
15960   # HP-UX runs *really* slowly unless shared libraries are mode 555.
15961   postinstall_cmds='chmod 555 $lib'
15962   ;;
15963
15964 interix3*)
15965   version_type=linux
15966   need_lib_prefix=no
15967   need_version=no
15968   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15969   soname_spec='${libname}${release}${shared_ext}$major'
15970   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15971   shlibpath_var=LD_LIBRARY_PATH
15972   shlibpath_overrides_runpath=no
15973   hardcode_into_libs=yes
15974   ;;
15975
15976 irix5* | irix6* | nonstopux*)
15977   case $host_os in
15978     nonstopux*) version_type=nonstopux ;;
15979     *)
15980         if test "$lt_cv_prog_gnu_ld" = yes; then
15981                 version_type=linux
15982         else
15983                 version_type=irix
15984         fi ;;
15985   esac
15986   need_lib_prefix=no
15987   need_version=no
15988   soname_spec='${libname}${release}${shared_ext}$major'
15989   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15990   case $host_os in
15991   irix5* | nonstopux*)
15992     libsuff= shlibsuff=
15993     ;;
15994   *)
15995     case $LD in # libtool.m4 will add one of these switches to LD
15996     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15997       libsuff= shlibsuff= libmagic=32-bit;;
15998     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15999       libsuff=32 shlibsuff=N32 libmagic=N32;;
16000     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16001       libsuff=64 shlibsuff=64 libmagic=64-bit;;
16002     *) libsuff= shlibsuff= libmagic=never-match;;
16003     esac
16004     ;;
16005   esac
16006   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16007   shlibpath_overrides_runpath=no
16008   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16009   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16010   hardcode_into_libs=yes
16011   ;;
16012
16013 # No shared lib support for Linux oldld, aout, or coff.
16014 linux*oldld* | linux*aout* | linux*coff*)
16015   dynamic_linker=no
16016   ;;
16017
16018 # This must be Linux ELF.
16019 linux*)
16020   version_type=linux
16021   need_lib_prefix=no
16022   need_version=no
16023   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16024   soname_spec='${libname}${release}${shared_ext}$major'
16025   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16026   shlibpath_var=LD_LIBRARY_PATH
16027   shlibpath_overrides_runpath=no
16028   # This implies no fast_install, which is unacceptable.
16029   # Some rework will be needed to allow for fast_install
16030   # before this can be enabled.
16031   hardcode_into_libs=yes
16032
16033   # find out which ABI we are using
16034   libsuff=
16035   case "$host_cpu" in
16036   x86_64*|s390x*|powerpc64*)
16037     echo '#line 16037 "configure"' > conftest.$ac_ext
16038     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16039   (eval $ac_compile) 2>&5
16040   ac_status=$?
16041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16042   (exit $ac_status); }; then
16043       case `/usr/bin/file conftest.$ac_objext` in
16044       *64-bit*)
16045         libsuff=64
16046         sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
16047         ;;
16048       esac
16049     fi
16050     rm -rf conftest*
16051     ;;
16052   esac
16053
16054   # Append ld.so.conf contents to the search path
16055   if test -f /etc/ld.so.conf; then
16056     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
16057     sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
16058   fi
16059
16060   # We used to test for /lib/ld.so.1 and disable shared libraries on
16061   # powerpc, because MkLinux only supported shared libraries with the
16062   # GNU dynamic linker.  Since this was broken with cross compilers,
16063   # most powerpc-linux boxes support dynamic linking these days and
16064   # people can always --disable-shared, the test was removed, and we
16065   # assume the GNU/Linux dynamic linker is in use.
16066   dynamic_linker='GNU/Linux ld.so'
16067   ;;
16068
16069 knetbsd*-gnu)
16070   version_type=linux
16071   need_lib_prefix=no
16072   need_version=no
16073   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16074   soname_spec='${libname}${release}${shared_ext}$major'
16075   shlibpath_var=LD_LIBRARY_PATH
16076   shlibpath_overrides_runpath=no
16077   hardcode_into_libs=yes
16078   dynamic_linker='GNU ld.so'
16079   ;;
16080
16081 netbsd*)
16082   version_type=sunos
16083   need_lib_prefix=no
16084   need_version=no
16085   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16086     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16087     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16088     dynamic_linker='NetBSD (a.out) ld.so'
16089   else
16090     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16091     soname_spec='${libname}${release}${shared_ext}$major'
16092     dynamic_linker='NetBSD ld.elf_so'
16093   fi
16094   shlibpath_var=LD_LIBRARY_PATH
16095   shlibpath_overrides_runpath=yes
16096   hardcode_into_libs=yes
16097   ;;
16098
16099 newsos6)
16100   version_type=linux
16101   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16102   shlibpath_var=LD_LIBRARY_PATH
16103   shlibpath_overrides_runpath=yes
16104   ;;
16105
16106 nto-qnx*)
16107   version_type=linux
16108   need_lib_prefix=no
16109   need_version=no
16110   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16111   soname_spec='${libname}${release}${shared_ext}$major'
16112   shlibpath_var=LD_LIBRARY_PATH
16113   shlibpath_overrides_runpath=yes
16114   ;;
16115
16116 openbsd*)
16117   version_type=sunos
16118   sys_lib_dlsearch_path_spec="/usr/lib"
16119   need_lib_prefix=no
16120   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16121   case $host_os in
16122     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16123     *)                         need_version=no  ;;
16124   esac
16125   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16126   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16127   shlibpath_var=LD_LIBRARY_PATH
16128   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16129     case $host_os in
16130       openbsd2.[89] | openbsd2.[89].*)
16131         shlibpath_overrides_runpath=no
16132         ;;
16133       *)
16134         shlibpath_overrides_runpath=yes
16135         ;;
16136       esac
16137   else
16138     shlibpath_overrides_runpath=yes
16139   fi
16140   ;;
16141
16142 os2*)
16143   libname_spec='$name'
16144   shrext_cmds=".dll"
16145   need_lib_prefix=no
16146   library_names_spec='$libname${shared_ext} $libname.a'
16147   dynamic_linker='OS/2 ld.exe'
16148   shlibpath_var=LIBPATH
16149   ;;
16150
16151 osf3* | osf4* | osf5*)
16152   version_type=osf
16153   need_lib_prefix=no
16154   need_version=no
16155   soname_spec='${libname}${release}${shared_ext}$major'
16156   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16157   shlibpath_var=LD_LIBRARY_PATH
16158   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16159   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16160   ;;
16161
16162 solaris*)
16163   version_type=linux
16164   need_lib_prefix=no
16165   need_version=no
16166   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16167   soname_spec='${libname}${release}${shared_ext}$major'
16168   shlibpath_var=LD_LIBRARY_PATH
16169   shlibpath_overrides_runpath=yes
16170   hardcode_into_libs=yes
16171   # ldd complains unless libraries are executable
16172   postinstall_cmds='chmod +x $lib'
16173   ;;
16174
16175 sunos4*)
16176   version_type=sunos
16177   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16178   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16179   shlibpath_var=LD_LIBRARY_PATH
16180   shlibpath_overrides_runpath=yes
16181   if test "$with_gnu_ld" = yes; then
16182     need_lib_prefix=no
16183   fi
16184   need_version=yes
16185   ;;
16186
16187 sysv4 | sysv4.3*)
16188   version_type=linux
16189   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16190   soname_spec='${libname}${release}${shared_ext}$major'
16191   shlibpath_var=LD_LIBRARY_PATH
16192   case $host_vendor in
16193     sni)
16194       shlibpath_overrides_runpath=no
16195       need_lib_prefix=no
16196       export_dynamic_flag_spec='${wl}-Blargedynsym'
16197       runpath_var=LD_RUN_PATH
16198       ;;
16199     siemens)
16200       need_lib_prefix=no
16201       ;;
16202     motorola)
16203       need_lib_prefix=no
16204       need_version=no
16205       shlibpath_overrides_runpath=no
16206       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16207       ;;
16208   esac
16209   ;;
16210
16211 sysv4*MP*)
16212   if test -d /usr/nec ;then
16213     version_type=linux
16214     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16215     soname_spec='$libname${shared_ext}.$major'
16216     shlibpath_var=LD_LIBRARY_PATH
16217   fi
16218   ;;
16219
16220 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16221   version_type=freebsd-elf
16222   need_lib_prefix=no
16223   need_version=no
16224   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16225   soname_spec='${libname}${release}${shared_ext}$major'
16226   shlibpath_var=LD_LIBRARY_PATH
16227   hardcode_into_libs=yes
16228   if test "$with_gnu_ld" = yes; then
16229     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16230     shlibpath_overrides_runpath=no
16231   else
16232     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16233     shlibpath_overrides_runpath=yes
16234     case $host_os in
16235       sco3.2v5*)
16236         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16237         ;;
16238     esac
16239   fi
16240   sys_lib_dlsearch_path_spec='/usr/lib'
16241   ;;
16242
16243 uts4*)
16244   version_type=linux
16245   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16246   soname_spec='${libname}${release}${shared_ext}$major'
16247   shlibpath_var=LD_LIBRARY_PATH
16248   ;;
16249
16250 *)
16251   dynamic_linker=no
16252   ;;
16253 esac
16254 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16255 echo "${ECHO_T}$dynamic_linker" >&6; }
16256 test "$dynamic_linker" = no && can_build_shared=no
16257
16258 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16259 if test "$GCC" = yes; then
16260   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16261 fi
16262
16263 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16264 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16265 hardcode_action_F77=
16266 if test -n "$hardcode_libdir_flag_spec_F77" || \
16267    test -n "$runpath_var_F77" || \
16268    test "X$hardcode_automatic_F77" = "Xyes" ; then
16269
16270   # We can hardcode non-existant directories.
16271   if test "$hardcode_direct_F77" != no &&
16272      # If the only mechanism to avoid hardcoding is shlibpath_var, we
16273      # have to relink, otherwise we might link with an installed library
16274      # when we should be linking with a yet-to-be-installed one
16275      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16276      test "$hardcode_minus_L_F77" != no; then
16277     # Linking always hardcodes the temporary library directory.
16278     hardcode_action_F77=relink
16279   else
16280     # We can link without hardcoding, and we can hardcode nonexisting dirs.
16281     hardcode_action_F77=immediate
16282   fi
16283 else
16284   # We cannot hardcode anything, or else we can only hardcode existing
16285   # directories.
16286   hardcode_action_F77=unsupported
16287 fi
16288 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16289 echo "${ECHO_T}$hardcode_action_F77" >&6; }
16290
16291 if test "$hardcode_action_F77" = relink; then
16292   # Fast installation is not supported
16293   enable_fast_install=no
16294 elif test "$shlibpath_overrides_runpath" = yes ||
16295      test "$enable_shared" = no; then
16296   # Fast installation is not necessary
16297   enable_fast_install=needless
16298 fi
16299
16300
16301 # The else clause should only fire when bootstrapping the
16302 # libtool distribution, otherwise you forgot to ship ltmain.sh
16303 # with your package, and you will get complaints that there are
16304 # no rules to generate ltmain.sh.
16305 if test -f "$ltmain"; then
16306   # See if we are running on zsh, and set the options which allow our commands through
16307   # without removal of \ escapes.
16308   if test -n "${ZSH_VERSION+set}" ; then
16309     setopt NO_GLOB_SUBST
16310   fi
16311   # Now quote all the things that may contain metacharacters while being
16312   # careful not to overquote the AC_SUBSTed values.  We take copies of the
16313   # variables and quote the copies for generation of the libtool script.
16314   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16315     SED SHELL STRIP \
16316     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16317     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16318     deplibs_check_method reload_flag reload_cmds need_locks \
16319     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16320     lt_cv_sys_global_symbol_to_c_name_address \
16321     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16322     old_postinstall_cmds old_postuninstall_cmds \
16323     compiler_F77 \
16324     CC_F77 \
16325     LD_F77 \
16326     lt_prog_compiler_wl_F77 \
16327     lt_prog_compiler_pic_F77 \
16328     lt_prog_compiler_static_F77 \
16329     lt_prog_compiler_no_builtin_flag_F77 \
16330     export_dynamic_flag_spec_F77 \
16331     thread_safe_flag_spec_F77 \
16332     whole_archive_flag_spec_F77 \
16333     enable_shared_with_static_runtimes_F77 \
16334     old_archive_cmds_F77 \
16335     old_archive_from_new_cmds_F77 \
16336     predep_objects_F77 \
16337     postdep_objects_F77 \
16338     predeps_F77 \
16339     postdeps_F77 \
16340     compiler_lib_search_path_F77 \
16341     archive_cmds_F77 \
16342     archive_expsym_cmds_F77 \
16343     postinstall_cmds_F77 \
16344     postuninstall_cmds_F77 \
16345     old_archive_from_expsyms_cmds_F77 \
16346     allow_undefined_flag_F77 \
16347     no_undefined_flag_F77 \
16348     export_symbols_cmds_F77 \
16349     hardcode_libdir_flag_spec_F77 \
16350     hardcode_libdir_flag_spec_ld_F77 \
16351     hardcode_libdir_separator_F77 \
16352     hardcode_automatic_F77 \
16353     module_cmds_F77 \
16354     module_expsym_cmds_F77 \
16355     lt_cv_prog_compiler_c_o_F77 \
16356     exclude_expsyms_F77 \
16357     include_expsyms_F77; do
16358
16359     case $var in
16360     old_archive_cmds_F77 | \
16361     old_archive_from_new_cmds_F77 | \
16362     archive_cmds_F77 | \
16363     archive_expsym_cmds_F77 | \
16364     module_cmds_F77 | \
16365     module_expsym_cmds_F77 | \
16366     old_archive_from_expsyms_cmds_F77 | \
16367     export_symbols_cmds_F77 | \
16368     extract_expsyms_cmds | reload_cmds | finish_cmds | \
16369     postinstall_cmds | postuninstall_cmds | \
16370     old_postinstall_cmds | old_postuninstall_cmds | \
16371     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16372       # Double-quote double-evaled strings.
16373       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16374       ;;
16375     *)
16376       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16377       ;;
16378     esac
16379   done
16380
16381   case $lt_echo in
16382   *'\$0 --fallback-echo"')
16383     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16384     ;;
16385   esac
16386
16387 cfgfile="$ofile"
16388
16389   cat <<__EOF__ >> "$cfgfile"
16390 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16391
16392 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16393
16394 # Shell to use when invoking shell scripts.
16395 SHELL=$lt_SHELL
16396
16397 # Whether or not to build shared libraries.
16398 build_libtool_libs=$enable_shared
16399
16400 # Whether or not to build static libraries.
16401 build_old_libs=$enable_static
16402
16403 # Whether or not to add -lc for building shared libraries.
16404 build_libtool_need_lc=$archive_cmds_need_lc_F77
16405
16406 # Whether or not to disallow shared libs when runtime libs are static
16407 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16408
16409 # Whether or not to optimize for fast installation.
16410 fast_install=$enable_fast_install
16411
16412 # The host system.
16413 host_alias=$host_alias
16414 host=$host
16415 host_os=$host_os
16416
16417 # The build system.
16418 build_alias=$build_alias
16419 build=$build
16420 build_os=$build_os
16421
16422 # An echo program that does not interpret backslashes.
16423 echo=$lt_echo
16424
16425 # The archiver.
16426 AR=$lt_AR
16427 AR_FLAGS=$lt_AR_FLAGS
16428
16429 # A C compiler.
16430 LTCC=$lt_LTCC
16431
16432 # LTCC compiler flags.
16433 LTCFLAGS=$lt_LTCFLAGS
16434
16435 # A language-specific compiler.
16436 CC=$lt_compiler_F77
16437
16438 # Is the compiler the GNU C compiler?
16439 with_gcc=$GCC_F77
16440
16441 # An ERE matcher.
16442 EGREP=$lt_EGREP
16443
16444 # The linker used to build libraries.
16445 LD=$lt_LD_F77
16446
16447 # Whether we need hard or soft links.
16448 LN_S=$lt_LN_S
16449
16450 # A BSD-compatible nm program.
16451 NM=$lt_NM
16452
16453 # A symbol stripping program
16454 STRIP=$lt_STRIP
16455
16456 # Used to examine libraries when file_magic_cmd begins "file"
16457 MAGIC_CMD=$MAGIC_CMD
16458
16459 # Used on cygwin: DLL creation program.
16460 DLLTOOL="$DLLTOOL"
16461
16462 # Used on cygwin: object dumper.
16463 OBJDUMP="$OBJDUMP"
16464
16465 # Used on cygwin: assembler.
16466 AS="$AS"
16467
16468 # The name of the directory that contains temporary libtool files.
16469 objdir=$objdir
16470
16471 # How to create reloadable object files.
16472 reload_flag=$lt_reload_flag
16473 reload_cmds=$lt_reload_cmds
16474
16475 # How to pass a linker flag through the compiler.
16476 wl=$lt_lt_prog_compiler_wl_F77
16477
16478 # Object file suffix (normally "o").
16479 objext="$ac_objext"
16480
16481 # Old archive suffix (normally "a").
16482 libext="$libext"
16483
16484 # Shared library suffix (normally ".so").
16485 shrext_cmds='$shrext_cmds'
16486
16487 # Executable file suffix (normally "").
16488 exeext="$exeext"
16489
16490 # Additional compiler flags for building library objects.
16491 pic_flag=$lt_lt_prog_compiler_pic_F77
16492 pic_mode=$pic_mode
16493
16494 # What is the maximum length of a command?
16495 max_cmd_len=$lt_cv_sys_max_cmd_len
16496
16497 # Does compiler simultaneously support -c and -o options?
16498 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16499
16500 # Must we lock files when doing compilation?
16501 need_locks=$lt_need_locks
16502
16503 # Do we need the lib prefix for modules?
16504 need_lib_prefix=$need_lib_prefix
16505
16506 # Do we need a version for libraries?
16507 need_version=$need_version
16508
16509 # Whether dlopen is supported.
16510 dlopen_support=$enable_dlopen
16511
16512 # Whether dlopen of programs is supported.
16513 dlopen_self=$enable_dlopen_self
16514
16515 # Whether dlopen of statically linked programs is supported.
16516 dlopen_self_static=$enable_dlopen_self_static
16517
16518 # Compiler flag to prevent dynamic linking.
16519 link_static_flag=$lt_lt_prog_compiler_static_F77
16520
16521 # Compiler flag to turn off builtin functions.
16522 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16523
16524 # Compiler flag to allow reflexive dlopens.
16525 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16526
16527 # Compiler flag to generate shared objects directly from archives.
16528 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16529
16530 # Compiler flag to generate thread-safe objects.
16531 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16532
16533 # Library versioning type.
16534 version_type=$version_type
16535
16536 # Format of library name prefix.
16537 libname_spec=$lt_libname_spec
16538
16539 # List of archive names.  First name is the real one, the rest are links.
16540 # The last name is the one that the linker finds with -lNAME.
16541 library_names_spec=$lt_library_names_spec
16542
16543 # The coded name of the library, if different from the real name.
16544 soname_spec=$lt_soname_spec
16545
16546 # Commands used to build and install an old-style archive.
16547 RANLIB=$lt_RANLIB
16548 old_archive_cmds=$lt_old_archive_cmds_F77
16549 old_postinstall_cmds=$lt_old_postinstall_cmds
16550 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16551
16552 # Create an old-style archive from a shared archive.
16553 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16554
16555 # Create a temporary old-style archive to link instead of a shared archive.
16556 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16557
16558 # Commands used to build and install a shared archive.
16559 archive_cmds=$lt_archive_cmds_F77
16560 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16561 postinstall_cmds=$lt_postinstall_cmds
16562 postuninstall_cmds=$lt_postuninstall_cmds
16563
16564 # Commands used to build a loadable module (assumed same as above if empty)
16565 module_cmds=$lt_module_cmds_F77
16566 module_expsym_cmds=$lt_module_expsym_cmds_F77
16567
16568 # Commands to strip libraries.
16569 old_striplib=$lt_old_striplib
16570 striplib=$lt_striplib
16571
16572 # Dependencies to place before the objects being linked to create a
16573 # shared library.
16574 predep_objects=$lt_predep_objects_F77
16575
16576 # Dependencies to place after the objects being linked to create a
16577 # shared library.
16578 postdep_objects=$lt_postdep_objects_F77
16579
16580 # Dependencies to place before the objects being linked to create a
16581 # shared library.
16582 predeps=$lt_predeps_F77
16583
16584 # Dependencies to place after the objects being linked to create a
16585 # shared library.
16586 postdeps=$lt_postdeps_F77
16587
16588 # The library search path used internally by the compiler when linking
16589 # a shared library.
16590 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16591
16592 # Method to check whether dependent libraries are shared objects.
16593 deplibs_check_method=$lt_deplibs_check_method
16594
16595 # Command to use when deplibs_check_method == file_magic.
16596 file_magic_cmd=$lt_file_magic_cmd
16597
16598 # Flag that allows shared libraries with undefined symbols to be built.
16599 allow_undefined_flag=$lt_allow_undefined_flag_F77
16600
16601 # Flag that forces no undefined symbols.
16602 no_undefined_flag=$lt_no_undefined_flag_F77
16603
16604 # Commands used to finish a libtool library installation in a directory.
16605 finish_cmds=$lt_finish_cmds
16606
16607 # Same as above, but a single script fragment to be evaled but not shown.
16608 finish_eval=$lt_finish_eval
16609
16610 # Take the output of nm and produce a listing of raw symbols and C names.
16611 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16612
16613 # Transform the output of nm in a proper C declaration
16614 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16615
16616 # Transform the output of nm in a C name address pair
16617 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16618
16619 # This is the shared library runtime path variable.
16620 runpath_var=$runpath_var
16621
16622 # This is the shared library path variable.
16623 shlibpath_var=$shlibpath_var
16624
16625 # Is shlibpath searched before the hard-coded library search path?
16626 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16627
16628 # How to hardcode a shared library path into an executable.
16629 hardcode_action=$hardcode_action_F77
16630
16631 # Whether we should hardcode library paths into libraries.
16632 hardcode_into_libs=$hardcode_into_libs
16633
16634 # Flag to hardcode \$libdir into a binary during linking.
16635 # This must work even if \$libdir does not exist.
16636 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16637
16638 # If ld is used when linking, flag to hardcode \$libdir into
16639 # a binary during linking. This must work even if \$libdir does
16640 # not exist.
16641 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16642
16643 # Whether we need a single -rpath flag with a separated argument.
16644 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16645
16646 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16647 # resulting binary.
16648 hardcode_direct=$hardcode_direct_F77
16649
16650 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16651 # resulting binary.
16652 hardcode_minus_L=$hardcode_minus_L_F77
16653
16654 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16655 # the resulting binary.
16656 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16657
16658 # Set to yes if building a shared library automatically hardcodes DIR into the library
16659 # and all subsequent libraries and executables linked against it.
16660 hardcode_automatic=$hardcode_automatic_F77
16661
16662 # Variables whose values should be saved in libtool wrapper scripts and
16663 # restored at relink time.
16664 variables_saved_for_relink="$variables_saved_for_relink"
16665
16666 # Whether libtool must link a program against all its dependency libraries.
16667 link_all_deplibs=$link_all_deplibs_F77
16668
16669 # Compile-time system search path for libraries
16670 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16671
16672 # Run-time system search path for libraries
16673 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16674
16675 # Fix the shell variable \$srcfile for the compiler.
16676 fix_srcfile_path="$fix_srcfile_path_F77"
16677
16678 # Set to yes if exported symbols are required.
16679 always_export_symbols=$always_export_symbols_F77
16680
16681 # The commands to list exported symbols.
16682 export_symbols_cmds=$lt_export_symbols_cmds_F77
16683
16684 # The commands to extract the exported symbol list from a shared archive.
16685 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16686
16687 # Symbols that should not be listed in the preloaded symbols.
16688 exclude_expsyms=$lt_exclude_expsyms_F77
16689
16690 # Symbols that must always be exported.
16691 include_expsyms=$lt_include_expsyms_F77
16692
16693 # ### END LIBTOOL TAG CONFIG: $tagname
16694
16695 __EOF__
16696
16697
16698 else
16699   # If there is no Makefile yet, we rely on a make rule to execute
16700   # `config.status --recheck' to rerun these tests and create the
16701   # libtool script then.
16702   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16703   if test -f "$ltmain_in"; then
16704     test -f Makefile && make "$ltmain"
16705   fi
16706 fi
16707
16708
16709 ac_ext=c
16710 ac_cpp='$CPP $CPPFLAGS'
16711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16714
16715 CC="$lt_save_CC"
16716
16717         else
16718           tagname=""
16719         fi
16720         ;;
16721
16722       GCJ)
16723         if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16724
16725
16726 # Source file extension for Java test sources.
16727 ac_ext=java
16728
16729 # Object file extension for compiled Java test sources.
16730 objext=o
16731 objext_GCJ=$objext
16732
16733 # Code to be used in simple compile tests
16734 lt_simple_compile_test_code="class foo {}\n"
16735
16736 # Code to be used in simple link tests
16737 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
16738
16739 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16740
16741 # If no C compiler was specified, use CC.
16742 LTCC=${LTCC-"$CC"}
16743
16744 # If no C compiler flags were specified, use CFLAGS.
16745 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16746
16747 # Allow CC to be a program name with arguments.
16748 compiler=$CC
16749
16750
16751 # save warnings/boilerplate of simple test code
16752 ac_outfile=conftest.$ac_objext
16753 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
16754 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16755 _lt_compiler_boilerplate=`cat conftest.err`
16756 $rm conftest*
16757
16758 ac_outfile=conftest.$ac_objext
16759 printf "$lt_simple_link_test_code" >conftest.$ac_ext
16760 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16761 _lt_linker_boilerplate=`cat conftest.err`
16762 $rm conftest*
16763
16764
16765 # Allow CC to be a program name with arguments.
16766 lt_save_CC="$CC"
16767 CC=${GCJ-"gcj"}
16768 compiler=$CC
16769 compiler_GCJ=$CC
16770 for cc_temp in $compiler""; do
16771   case $cc_temp in
16772     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16773     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16774     \-*) ;;
16775     *) break;;
16776   esac
16777 done
16778 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16779
16780
16781 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16782 archive_cmds_need_lc_GCJ=no
16783
16784 old_archive_cmds_GCJ=$old_archive_cmds
16785
16786
16787 lt_prog_compiler_no_builtin_flag_GCJ=
16788
16789 if test "$GCC" = yes; then
16790   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
16791
16792
16793 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16794 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16795 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16796   echo $ECHO_N "(cached) $ECHO_C" >&6
16797 else
16798   lt_cv_prog_compiler_rtti_exceptions=no
16799   ac_outfile=conftest.$ac_objext
16800    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16801    lt_compiler_flag="-fno-rtti -fno-exceptions"
16802    # Insert the option either (1) after the last *FLAGS variable, or
16803    # (2) before a word containing "conftest.", or (3) at the end.
16804    # Note that $ac_compile itself does not contain backslashes and begins
16805    # with a dollar sign (not a hyphen), so the echo should work correctly.
16806    # The option is referenced via a variable to avoid confusing sed.
16807    lt_compile=`echo "$ac_compile" | $SED \
16808    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16809    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16810    -e 's:$: $lt_compiler_flag:'`
16811    (eval echo "\"\$as_me:16811: $lt_compile\"" >&5)
16812    (eval "$lt_compile" 2>conftest.err)
16813    ac_status=$?
16814    cat conftest.err >&5
16815    echo "$as_me:16815: \$? = $ac_status" >&5
16816    if (exit $ac_status) && test -s "$ac_outfile"; then
16817      # The compiler can only warn and ignore the option if not recognized
16818      # So say no if there are warnings other than the usual output.
16819      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16820      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16821      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16822        lt_cv_prog_compiler_rtti_exceptions=yes
16823      fi
16824    fi
16825    $rm conftest*
16826
16827 fi
16828 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16829 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16830
16831 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
16832     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16833 else
16834     :
16835 fi
16836
16837 fi
16838
16839 lt_prog_compiler_wl_GCJ=
16840 lt_prog_compiler_pic_GCJ=
16841 lt_prog_compiler_static_GCJ=
16842
16843 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16844 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16845
16846   if test "$GCC" = yes; then
16847     lt_prog_compiler_wl_GCJ='-Wl,'
16848     lt_prog_compiler_static_GCJ='-static'
16849
16850     case $host_os in
16851       aix*)
16852       # All AIX code is PIC.
16853       if test "$host_cpu" = ia64; then
16854         # AIX 5 now supports IA64 processor
16855         lt_prog_compiler_static_GCJ='-Bstatic'
16856       fi
16857       ;;
16858
16859     amigaos*)
16860       # FIXME: we need at least 68020 code to build shared libraries, but
16861       # adding the `-m68020' flag to GCC prevents building anything better,
16862       # like `-m68040'.
16863       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
16864       ;;
16865
16866     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16867       # PIC is the default for these OSes.
16868       ;;
16869
16870     mingw* | pw32* | os2*)
16871       # This hack is so that the source file can tell whether it is being
16872       # built for inclusion in a dll (and should export symbols for example).
16873       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16874       ;;
16875
16876     darwin* | rhapsody*)
16877       # PIC is the default on this platform
16878       # Common symbols not allowed in MH_DYLIB files
16879       lt_prog_compiler_pic_GCJ='-fno-common'
16880       ;;
16881
16882     interix3*)
16883       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16884       # Instead, we relocate shared libraries at runtime.
16885       ;;
16886
16887     msdosdjgpp*)
16888       # Just because we use GCC doesn't mean we suddenly get shared libraries
16889       # on systems that don't support them.
16890       lt_prog_compiler_can_build_shared_GCJ=no
16891       enable_shared=no
16892       ;;
16893
16894     sysv4*MP*)
16895       if test -d /usr/nec; then
16896         lt_prog_compiler_pic_GCJ=-Kconform_pic
16897       fi
16898       ;;
16899
16900     hpux*)
16901       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16902       # not for PA HP-UX.
16903       case $host_cpu in
16904       hppa*64*|ia64*)
16905         # +Z the default
16906         ;;
16907       *)
16908         lt_prog_compiler_pic_GCJ='-fPIC'
16909         ;;
16910       esac
16911       ;;
16912
16913     *)
16914       lt_prog_compiler_pic_GCJ='-fPIC'
16915       ;;
16916     esac
16917   else
16918     # PORTME Check for flag to pass linker flags through the system compiler.
16919     case $host_os in
16920     aix*)
16921       lt_prog_compiler_wl_GCJ='-Wl,'
16922       if test "$host_cpu" = ia64; then
16923         # AIX 5 now supports IA64 processor
16924         lt_prog_compiler_static_GCJ='-Bstatic'
16925       else
16926         lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
16927       fi
16928       ;;
16929       darwin*)
16930         # PIC is the default on this platform
16931         # Common symbols not allowed in MH_DYLIB files
16932        case $cc_basename in
16933          xlc*)
16934          lt_prog_compiler_pic_GCJ='-qnocommon'
16935          lt_prog_compiler_wl_GCJ='-Wl,'
16936          ;;
16937        esac
16938        ;;
16939
16940     mingw* | pw32* | os2*)
16941       # This hack is so that the source file can tell whether it is being
16942       # built for inclusion in a dll (and should export symbols for example).
16943       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16944       ;;
16945
16946     hpux9* | hpux10* | hpux11*)
16947       lt_prog_compiler_wl_GCJ='-Wl,'
16948       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16949       # not for PA HP-UX.
16950       case $host_cpu in
16951       hppa*64*|ia64*)
16952         # +Z the default
16953         ;;
16954       *)
16955         lt_prog_compiler_pic_GCJ='+Z'
16956         ;;
16957       esac
16958       # Is there a better lt_prog_compiler_static that works with the bundled CC?
16959       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
16960       ;;
16961
16962     irix5* | irix6* | nonstopux*)
16963       lt_prog_compiler_wl_GCJ='-Wl,'
16964       # PIC (with -KPIC) is the default.
16965       lt_prog_compiler_static_GCJ='-non_shared'
16966       ;;
16967
16968     newsos6)
16969       lt_prog_compiler_pic_GCJ='-KPIC'
16970       lt_prog_compiler_static_GCJ='-Bstatic'
16971       ;;
16972
16973     linux*)
16974       case $cc_basename in
16975       icc* | ecc*)
16976         lt_prog_compiler_wl_GCJ='-Wl,'
16977         lt_prog_compiler_pic_GCJ='-KPIC'
16978         lt_prog_compiler_static_GCJ='-static'
16979         ;;
16980       pgcc* | pgf77* | pgf90* | pgf95*)
16981         # Portland Group compilers (*not* the Pentium gcc compiler,
16982         # which looks to be a dead project)
16983         lt_prog_compiler_wl_GCJ='-Wl,'
16984         lt_prog_compiler_pic_GCJ='-fpic'
16985         lt_prog_compiler_static_GCJ='-Bstatic'
16986         ;;
16987       ccc*)
16988         lt_prog_compiler_wl_GCJ='-Wl,'
16989         # All Alpha code is PIC.
16990         lt_prog_compiler_static_GCJ='-non_shared'
16991         ;;
16992       esac
16993       ;;
16994
16995     osf3* | osf4* | osf5*)
16996       lt_prog_compiler_wl_GCJ='-Wl,'
16997       # All OSF/1 code is PIC.
16998       lt_prog_compiler_static_GCJ='-non_shared'
16999       ;;
17000
17001     solaris*)
17002       lt_prog_compiler_pic_GCJ='-KPIC'
17003       lt_prog_compiler_static_GCJ='-Bstatic'
17004       case $cc_basename in
17005       f77* | f90* | f95*)
17006         lt_prog_compiler_wl_GCJ='-Qoption ld ';;
17007       *)
17008         lt_prog_compiler_wl_GCJ='-Wl,';;
17009       esac
17010       ;;
17011
17012     sunos4*)
17013       lt_prog_compiler_wl_GCJ='-Qoption ld '
17014       lt_prog_compiler_pic_GCJ='-PIC'
17015       lt_prog_compiler_static_GCJ='-Bstatic'
17016       ;;
17017
17018     sysv4 | sysv4.2uw2* | sysv4.3*)
17019       lt_prog_compiler_wl_GCJ='-Wl,'
17020       lt_prog_compiler_pic_GCJ='-KPIC'
17021       lt_prog_compiler_static_GCJ='-Bstatic'
17022       ;;
17023
17024     sysv4*MP*)
17025       if test -d /usr/nec ;then
17026         lt_prog_compiler_pic_GCJ='-Kconform_pic'
17027         lt_prog_compiler_static_GCJ='-Bstatic'
17028       fi
17029       ;;
17030
17031     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
17032       lt_prog_compiler_wl_GCJ='-Wl,'
17033       lt_prog_compiler_pic_GCJ='-KPIC'
17034       lt_prog_compiler_static_GCJ='-Bstatic'
17035       ;;
17036
17037     unicos*)
17038       lt_prog_compiler_wl_GCJ='-Wl,'
17039       lt_prog_compiler_can_build_shared_GCJ=no
17040       ;;
17041
17042     uts4*)
17043       lt_prog_compiler_pic_GCJ='-pic'
17044       lt_prog_compiler_static_GCJ='-Bstatic'
17045       ;;
17046
17047     *)
17048       lt_prog_compiler_can_build_shared_GCJ=no
17049       ;;
17050     esac
17051   fi
17052
17053 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17054 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
17055
17056 #
17057 # Check to make sure the PIC flag actually works.
17058 #
17059 if test -n "$lt_prog_compiler_pic_GCJ"; then
17060
17061 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17062 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
17063 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
17064   echo $ECHO_N "(cached) $ECHO_C" >&6
17065 else
17066   lt_prog_compiler_pic_works_GCJ=no
17067   ac_outfile=conftest.$ac_objext
17068    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17069    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
17070    # Insert the option either (1) after the last *FLAGS variable, or
17071    # (2) before a word containing "conftest.", or (3) at the end.
17072    # Note that $ac_compile itself does not contain backslashes and begins
17073    # with a dollar sign (not a hyphen), so the echo should work correctly.
17074    # The option is referenced via a variable to avoid confusing sed.
17075    lt_compile=`echo "$ac_compile" | $SED \
17076    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17077    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17078    -e 's:$: $lt_compiler_flag:'`
17079    (eval echo "\"\$as_me:17079: $lt_compile\"" >&5)
17080    (eval "$lt_compile" 2>conftest.err)
17081    ac_status=$?
17082    cat conftest.err >&5
17083    echo "$as_me:17083: \$? = $ac_status" >&5
17084    if (exit $ac_status) && test -s "$ac_outfile"; then
17085      # The compiler can only warn and ignore the option if not recognized
17086      # So say no if there are warnings other than the usual output.
17087      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17088      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17089      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17090        lt_prog_compiler_pic_works_GCJ=yes
17091      fi
17092    fi
17093    $rm conftest*
17094
17095 fi
17096 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
17097 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
17098
17099 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
17100     case $lt_prog_compiler_pic_GCJ in
17101      "" | " "*) ;;
17102      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
17103      esac
17104 else
17105     lt_prog_compiler_pic_GCJ=
17106      lt_prog_compiler_can_build_shared_GCJ=no
17107 fi
17108
17109 fi
17110 case $host_os in
17111   # For platforms which do not support PIC, -DPIC is meaningless:
17112   *djgpp*)
17113     lt_prog_compiler_pic_GCJ=
17114     ;;
17115   *)
17116     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
17117     ;;
17118 esac
17119
17120 #
17121 # Check to make sure the static flag actually works.
17122 #
17123 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
17124 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17125 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
17126 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
17127   echo $ECHO_N "(cached) $ECHO_C" >&6
17128 else
17129   lt_prog_compiler_static_works_GCJ=no
17130    save_LDFLAGS="$LDFLAGS"
17131    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17132    printf "$lt_simple_link_test_code" > conftest.$ac_ext
17133    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17134      # The linker can only warn and ignore the option if not recognized
17135      # So say no if there are warnings
17136      if test -s conftest.err; then
17137        # Append any errors to the config.log.
17138        cat conftest.err 1>&5
17139        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17140        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17141        if diff conftest.exp conftest.er2 >/dev/null; then
17142          lt_prog_compiler_static_works_GCJ=yes
17143        fi
17144      else
17145        lt_prog_compiler_static_works_GCJ=yes
17146      fi
17147    fi
17148    $rm conftest*
17149    LDFLAGS="$save_LDFLAGS"
17150
17151 fi
17152 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
17153 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
17154
17155 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
17156     :
17157 else
17158     lt_prog_compiler_static_GCJ=
17159 fi
17160
17161
17162 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17163 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17164 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17165   echo $ECHO_N "(cached) $ECHO_C" >&6
17166 else
17167   lt_cv_prog_compiler_c_o_GCJ=no
17168    $rm -r conftest 2>/dev/null
17169    mkdir conftest
17170    cd conftest
17171    mkdir out
17172    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17173
17174    lt_compiler_flag="-o out/conftest2.$ac_objext"
17175    # Insert the option either (1) after the last *FLAGS variable, or
17176    # (2) before a word containing "conftest.", or (3) at the end.
17177    # Note that $ac_compile itself does not contain backslashes and begins
17178    # with a dollar sign (not a hyphen), so the echo should work correctly.
17179    lt_compile=`echo "$ac_compile" | $SED \
17180    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17181    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17182    -e 's:$: $lt_compiler_flag:'`
17183    (eval echo "\"\$as_me:17183: $lt_compile\"" >&5)
17184    (eval "$lt_compile" 2>out/conftest.err)
17185    ac_status=$?
17186    cat out/conftest.err >&5
17187    echo "$as_me:17187: \$? = $ac_status" >&5
17188    if (exit $ac_status) && test -s out/conftest2.$ac_objext
17189    then
17190      # The compiler can only warn and ignore the option if not recognized
17191      # So say no if there are warnings
17192      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17193      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17194      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17195        lt_cv_prog_compiler_c_o_GCJ=yes
17196      fi
17197    fi
17198    chmod u+w . 2>&5
17199    $rm conftest*
17200    # SGI C++ compiler will create directory out/ii_files/ for
17201    # template instantiation
17202    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
17203    $rm out/* && rmdir out
17204    cd ..
17205    rmdir conftest
17206    $rm conftest*
17207
17208 fi
17209 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17210 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17211
17212
17213 hard_links="nottested"
17214 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
17215   # do not overwrite the value of need_locks provided by the user
17216   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17217 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17218   hard_links=yes
17219   $rm conftest*
17220   ln conftest.a conftest.b 2>/dev/null && hard_links=no
17221   touch conftest.a
17222   ln conftest.a conftest.b 2>&5 || hard_links=no
17223   ln conftest.a conftest.b 2>/dev/null && hard_links=no
17224   { echo "$as_me:$LINENO: result: $hard_links" >&5
17225 echo "${ECHO_T}$hard_links" >&6; }
17226   if test "$hard_links" = no; then
17227     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17228 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17229     need_locks=warn
17230   fi
17231 else
17232   need_locks=no
17233 fi
17234
17235 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17236 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17237
17238   runpath_var=
17239   allow_undefined_flag_GCJ=
17240   enable_shared_with_static_runtimes_GCJ=no
17241   archive_cmds_GCJ=
17242   archive_expsym_cmds_GCJ=
17243   old_archive_From_new_cmds_GCJ=
17244   old_archive_from_expsyms_cmds_GCJ=
17245   export_dynamic_flag_spec_GCJ=
17246   whole_archive_flag_spec_GCJ=
17247   thread_safe_flag_spec_GCJ=
17248   hardcode_libdir_flag_spec_GCJ=
17249   hardcode_libdir_flag_spec_ld_GCJ=
17250   hardcode_libdir_separator_GCJ=
17251   hardcode_direct_GCJ=no
17252   hardcode_minus_L_GCJ=no
17253   hardcode_shlibpath_var_GCJ=unsupported
17254   link_all_deplibs_GCJ=unknown
17255   hardcode_automatic_GCJ=no
17256   module_cmds_GCJ=
17257   module_expsym_cmds_GCJ=
17258   always_export_symbols_GCJ=no
17259   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17260   # include_expsyms should be a list of space-separated symbols to be *always*
17261   # included in the symbol list
17262   include_expsyms_GCJ=
17263   # exclude_expsyms can be an extended regexp of symbols to exclude
17264   # it will be wrapped by ` (' and `)$', so one must not match beginning or
17265   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17266   # as well as any symbol that contains `d'.
17267   exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
17268   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17269   # platforms (ab)use it in PIC code, but their linkers get confused if
17270   # the symbol is explicitly referenced.  Since portable code cannot
17271   # rely on this symbol name, it's probably fine to never include it in
17272   # preloaded symbol tables.
17273   extract_expsyms_cmds=
17274   # Just being paranoid about ensuring that cc_basename is set.
17275   for cc_temp in $compiler""; do
17276   case $cc_temp in
17277     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17278     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17279     \-*) ;;
17280     *) break;;
17281   esac
17282 done
17283 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17284
17285   case $host_os in
17286   cygwin* | mingw* | pw32*)
17287     # FIXME: the MSVC++ port hasn't been tested in a loooong time
17288     # When not using gcc, we currently assume that we are using
17289     # Microsoft Visual C++.
17290     if test "$GCC" != yes; then
17291       with_gnu_ld=no
17292     fi
17293     ;;
17294   interix*)
17295     # we just hope/assume this is gcc and not c89 (= MSVC++)
17296     with_gnu_ld=yes
17297     ;;
17298   openbsd*)
17299     with_gnu_ld=no
17300     ;;
17301   esac
17302
17303   ld_shlibs_GCJ=yes
17304   if test "$with_gnu_ld" = yes; then
17305     # If archive_cmds runs LD, not CC, wlarc should be empty
17306     wlarc='${wl}'
17307
17308     # Set some defaults for GNU ld with shared library support. These
17309     # are reset later if shared libraries are not supported. Putting them
17310     # here allows them to be overridden if necessary.
17311     runpath_var=LD_RUN_PATH
17312     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
17313     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
17314     # ancient GNU ld didn't support --whole-archive et. al.
17315     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17316         whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17317       else
17318         whole_archive_flag_spec_GCJ=
17319     fi
17320     supports_anon_versioning=no
17321     case `$LD -v 2>/dev/null` in
17322       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17323       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17324       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17325       *\ 2.11.*) ;; # other 2.11 versions
17326       *) supports_anon_versioning=yes ;;
17327     esac
17328
17329     # See if GNU ld supports shared libraries.
17330     case $host_os in
17331     aix3* | aix4* | aix5*)
17332       # On AIX/PPC, the GNU linker is very broken
17333       if test "$host_cpu" != ia64; then
17334         ld_shlibs_GCJ=no
17335         cat <<EOF 1>&2
17336
17337 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17338 *** to be unable to reliably create shared libraries on AIX.
17339 *** Therefore, libtool is disabling shared libraries support.  If you
17340 *** really care for shared libraries, you may want to modify your PATH
17341 *** so that a non-GNU linker is found, and then restart.
17342
17343 EOF
17344       fi
17345       ;;
17346
17347     amigaos*)
17348       archive_cmds_GCJ='$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)'
17349       hardcode_libdir_flag_spec_GCJ='-L$libdir'
17350       hardcode_minus_L_GCJ=yes
17351
17352       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17353       # that the semantics of dynamic libraries on AmigaOS, at least up
17354       # to version 4, is to share data among multiple programs linked
17355       # with the same dynamic library.  Since this doesn't match the
17356       # behavior of shared libraries on other platforms, we can't use
17357       # them.
17358       ld_shlibs_GCJ=no
17359       ;;
17360
17361     beos*)
17362       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17363         allow_undefined_flag_GCJ=unsupported
17364         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17365         # support --undefined.  This deserves some investigation.  FIXME
17366         archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17367       else
17368         ld_shlibs_GCJ=no
17369       fi
17370       ;;
17371
17372     cygwin* | mingw* | pw32*)
17373       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17374       # as there is no search path for DLLs.
17375       hardcode_libdir_flag_spec_GCJ='-L$libdir'
17376       allow_undefined_flag_GCJ=unsupported
17377       always_export_symbols_GCJ=no
17378       enable_shared_with_static_runtimes_GCJ=yes
17379       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17380
17381       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17382         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17383         # If the export-symbols file already is a .def file (1st line
17384         # is EXPORTS), use it as is; otherwise, prepend...
17385         archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17386           cp $export_symbols $output_objdir/$soname.def;
17387         else
17388           echo EXPORTS > $output_objdir/$soname.def;
17389           cat $export_symbols >> $output_objdir/$soname.def;
17390         fi~
17391         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17392       else
17393         ld_shlibs_GCJ=no
17394       fi
17395       ;;
17396
17397     interix3*)
17398       hardcode_direct_GCJ=no
17399       hardcode_shlibpath_var_GCJ=no
17400       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17401       export_dynamic_flag_spec_GCJ='${wl}-E'
17402       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17403       # Instead, shared libraries are loaded at an image base (0x10000000 by
17404       # default) and relocated if they conflict, which is a slow very memory
17405       # consuming and fragmenting process.  To avoid this, we pick a random,
17406       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17407       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
17408       archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17409       archive_expsym_cmds_GCJ='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'
17410       ;;
17411
17412     linux*)
17413       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17414         tmp_addflag=
17415         case $cc_basename,$host_cpu in
17416         pgcc*)                          # Portland Group C compiler
17417           whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17418           tmp_addflag=' $pic_flag'
17419           ;;
17420         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
17421           whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17422           tmp_addflag=' $pic_flag -Mnomain' ;;
17423         ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
17424           tmp_addflag=' -i_dynamic' ;;
17425         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
17426           tmp_addflag=' -i_dynamic -nofor_main' ;;
17427         ifc* | ifort*)                  # Intel Fortran compiler
17428           tmp_addflag=' -nofor_main' ;;
17429         esac
17430         archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17431
17432         if test $supports_anon_versioning = yes; then
17433           archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
17434   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17435   $echo "local: *; };" >> $output_objdir/$libname.ver~
17436           $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17437         fi
17438       else
17439         ld_shlibs_GCJ=no
17440       fi
17441       ;;
17442
17443     netbsd*)
17444       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17445         archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17446         wlarc=
17447       else
17448         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17449         archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17450       fi
17451       ;;
17452
17453     solaris*)
17454       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17455         ld_shlibs_GCJ=no
17456         cat <<EOF 1>&2
17457
17458 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17459 *** create shared libraries on Solaris systems.  Therefore, libtool
17460 *** is disabling shared libraries support.  We urge you to upgrade GNU
17461 *** binutils to release 2.9.1 or newer.  Another option is to modify
17462 *** your PATH or compiler configuration so that the native linker is
17463 *** used, and then restart.
17464
17465 EOF
17466       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17467         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17468         archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17469       else
17470         ld_shlibs_GCJ=no
17471       fi
17472       ;;
17473
17474     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17475       case `$LD -v 2>&1` in
17476         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
17477         ld_shlibs_GCJ=no
17478         cat <<_LT_EOF 1>&2
17479
17480 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17481 *** reliably create shared libraries on SCO systems.  Therefore, libtool
17482 *** is disabling shared libraries support.  We urge you to upgrade GNU
17483 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
17484 *** your PATH or compiler configuration so that the native linker is
17485 *** used, and then restart.
17486
17487 _LT_EOF
17488         ;;
17489         *)
17490           if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17491             hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17492             archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17493             archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17494           else
17495             ld_shlibs_GCJ=no
17496           fi
17497         ;;
17498       esac
17499       ;;
17500
17501     sunos4*)
17502       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17503       wlarc=
17504       hardcode_direct_GCJ=yes
17505       hardcode_shlibpath_var_GCJ=no
17506       ;;
17507
17508     *)
17509       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17510         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17511         archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17512       else
17513         ld_shlibs_GCJ=no
17514       fi
17515       ;;
17516     esac
17517
17518     if test "$ld_shlibs_GCJ" = no; then
17519       runpath_var=
17520       hardcode_libdir_flag_spec_GCJ=
17521       export_dynamic_flag_spec_GCJ=
17522       whole_archive_flag_spec_GCJ=
17523     fi
17524   else
17525     # PORTME fill in a description of your system's linker (not GNU ld)
17526     case $host_os in
17527     aix3*)
17528       allow_undefined_flag_GCJ=unsupported
17529       always_export_symbols_GCJ=yes
17530       archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
17531       # Note: this linker hardcodes the directories in LIBPATH if there
17532       # are no directories specified by -L.
17533       hardcode_minus_L_GCJ=yes
17534       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17535         # Neither direct hardcoding nor static linking is supported with a
17536         # broken collect2.
17537         hardcode_direct_GCJ=unsupported
17538       fi
17539       ;;
17540
17541     aix4* | aix5*)
17542       if test "$host_cpu" = ia64; then
17543         # On IA64, the linker does run time linking by default, so we don't
17544         # have to do anything special.
17545         aix_use_runtimelinking=no
17546         exp_sym_flag='-Bexport'
17547         no_entry_flag=""
17548       else
17549         # If we're using GNU nm, then we don't want the "-C" option.
17550         # -C means demangle to AIX nm, but means don't demangle with GNU nm
17551         if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17552           export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17553         else
17554           export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17555         fi
17556         aix_use_runtimelinking=no
17557
17558         # Test if we are trying to use run time linking or normal
17559         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17560         # need to do runtime linking.
17561         case $host_os in aix4.[23]|aix4.[23].*|aix5*)
17562           for ld_flag in $LDFLAGS; do
17563           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17564             aix_use_runtimelinking=yes
17565             break
17566           fi
17567           done
17568           ;;
17569         esac
17570
17571         exp_sym_flag='-bexport'
17572         no_entry_flag='-bnoentry'
17573       fi
17574
17575       # When large executables or shared objects are built, AIX ld can
17576       # have problems creating the table of contents.  If linking a library
17577       # or program results in "error TOC overflow" add -mminimal-toc to
17578       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
17579       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17580
17581       archive_cmds_GCJ=''
17582       hardcode_direct_GCJ=yes
17583       hardcode_libdir_separator_GCJ=':'
17584       link_all_deplibs_GCJ=yes
17585
17586       if test "$GCC" = yes; then
17587         case $host_os in aix4.[012]|aix4.[012].*)
17588         # We only want to do this on AIX 4.2 and lower, the check
17589         # below for broken collect2 doesn't work under 4.3+
17590           collect2name=`${CC} -print-prog-name=collect2`
17591           if test -f "$collect2name" && \
17592            strings "$collect2name" | grep resolve_lib_name >/dev/null
17593           then
17594           # We have reworked collect2
17595           hardcode_direct_GCJ=yes
17596           else
17597           # We have old collect2
17598           hardcode_direct_GCJ=unsupported
17599           # It fails to find uninstalled libraries when the uninstalled
17600           # path is not listed in the libpath.  Setting hardcode_minus_L
17601           # to unsupported forces relinking
17602           hardcode_minus_L_GCJ=yes
17603           hardcode_libdir_flag_spec_GCJ='-L$libdir'
17604           hardcode_libdir_separator_GCJ=
17605           fi
17606           ;;
17607         esac
17608         shared_flag='-shared'
17609         if test "$aix_use_runtimelinking" = yes; then
17610           shared_flag="$shared_flag "'${wl}-G'
17611         fi
17612       else
17613         # not using gcc
17614         if test "$host_cpu" = ia64; then
17615         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17616         # chokes on -Wl,-G. The following line is correct:
17617           shared_flag='-G'
17618         else
17619           if test "$aix_use_runtimelinking" = yes; then
17620             shared_flag='${wl}-G'
17621           else
17622             shared_flag='${wl}-bM:SRE'
17623           fi
17624         fi
17625       fi
17626
17627       # It seems that -bexpall does not export symbols beginning with
17628       # underscore (_), so it is better to generate a list of symbols to export.
17629       always_export_symbols_GCJ=yes
17630       if test "$aix_use_runtimelinking" = yes; then
17631         # Warning - without using the other runtime loading flags (-brtl),
17632         # -berok will link without error, but may produce a broken library.
17633         allow_undefined_flag_GCJ='-berok'
17634        # Determine the default libpath from the value encoded in an empty executable.
17635        cat >conftest.$ac_ext <<_ACEOF
17636 /* confdefs.h.  */
17637 _ACEOF
17638 cat confdefs.h >>conftest.$ac_ext
17639 cat >>conftest.$ac_ext <<_ACEOF
17640 /* end confdefs.h.  */
17641
17642 int
17643 main ()
17644 {
17645
17646   ;
17647   return 0;
17648 }
17649 _ACEOF
17650 rm -f conftest.$ac_objext conftest$ac_exeext
17651 if { (ac_try="$ac_link"
17652 case "(($ac_try" in
17653   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17654   *) ac_try_echo=$ac_try;;
17655 esac
17656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17657   (eval "$ac_link") 2>conftest.er1
17658   ac_status=$?
17659   grep -v '^ *+' conftest.er1 >conftest.err
17660   rm -f conftest.er1
17661   cat conftest.err >&5
17662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663   (exit $ac_status); } && {
17664          test -z "$ac_c_werror_flag" ||
17665          test ! -s conftest.err
17666        } && test -s conftest$ac_exeext &&
17667        $as_test_x conftest$ac_exeext; then
17668
17669 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17670 }'`
17671 # Check for a 64-bit object if we didn't find anything.
17672 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17673 }'`; fi
17674 else
17675   echo "$as_me: failed program was:" >&5
17676 sed 's/^/| /' conftest.$ac_ext >&5
17677
17678
17679 fi
17680
17681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17682       conftest$ac_exeext conftest.$ac_ext
17683 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17684
17685        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17686         archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17687        else
17688         if test "$host_cpu" = ia64; then
17689           hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17690           allow_undefined_flag_GCJ="-z nodefs"
17691           archive_expsym_cmds_GCJ="\$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"
17692         else
17693          # Determine the default libpath from the value encoded in an empty executable.
17694          cat >conftest.$ac_ext <<_ACEOF
17695 /* confdefs.h.  */
17696 _ACEOF
17697 cat confdefs.h >>conftest.$ac_ext
17698 cat >>conftest.$ac_ext <<_ACEOF
17699 /* end confdefs.h.  */
17700
17701 int
17702 main ()
17703 {
17704
17705   ;
17706   return 0;
17707 }
17708 _ACEOF
17709 rm -f conftest.$ac_objext conftest$ac_exeext
17710 if { (ac_try="$ac_link"
17711 case "(($ac_try" in
17712   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17713   *) ac_try_echo=$ac_try;;
17714 esac
17715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17716   (eval "$ac_link") 2>conftest.er1
17717   ac_status=$?
17718   grep -v '^ *+' conftest.er1 >conftest.err
17719   rm -f conftest.er1
17720   cat conftest.err >&5
17721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17722   (exit $ac_status); } && {
17723          test -z "$ac_c_werror_flag" ||
17724          test ! -s conftest.err
17725        } && test -s conftest$ac_exeext &&
17726        $as_test_x conftest$ac_exeext; then
17727
17728 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17729 }'`
17730 # Check for a 64-bit object if we didn't find anything.
17731 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17732 }'`; fi
17733 else
17734   echo "$as_me: failed program was:" >&5
17735 sed 's/^/| /' conftest.$ac_ext >&5
17736
17737
17738 fi
17739
17740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17741       conftest$ac_exeext conftest.$ac_ext
17742 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17743
17744          hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17745           # Warning - without using the other run time loading flags,
17746           # -berok will link without error, but may produce a broken library.
17747           no_undefined_flag_GCJ=' ${wl}-bernotok'
17748           allow_undefined_flag_GCJ=' ${wl}-berok'
17749           # Exported symbols can be pulled into shared objects from archives
17750           whole_archive_flag_spec_GCJ='$convenience'
17751           archive_cmds_need_lc_GCJ=yes
17752           # This is similar to how AIX traditionally builds its shared libraries.
17753           archive_expsym_cmds_GCJ="\$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'
17754         fi
17755       fi
17756       ;;
17757
17758     amigaos*)
17759       archive_cmds_GCJ='$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)'
17760       hardcode_libdir_flag_spec_GCJ='-L$libdir'
17761       hardcode_minus_L_GCJ=yes
17762       # see comment about different semantics on the GNU ld section
17763       ld_shlibs_GCJ=no
17764       ;;
17765
17766     bsdi[45]*)
17767       export_dynamic_flag_spec_GCJ=-rdynamic
17768       ;;
17769
17770     cygwin* | mingw* | pw32*)
17771       # When not using gcc, we currently assume that we are using
17772       # Microsoft Visual C++.
17773       # hardcode_libdir_flag_spec is actually meaningless, as there is
17774       # no search path for DLLs.
17775       hardcode_libdir_flag_spec_GCJ=' '
17776       allow_undefined_flag_GCJ=unsupported
17777       # Tell ltmain to make .lib files, not .a files.
17778       libext=lib
17779       # Tell ltmain to make .dll files, not .so files.
17780       shrext_cmds=".dll"
17781       # FIXME: Setting linknames here is a bad hack.
17782       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17783       # The linker will automatically build a .lib file if we build a DLL.
17784       old_archive_From_new_cmds_GCJ='true'
17785       # FIXME: Should let the user specify the lib program.
17786       old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
17787       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
17788       enable_shared_with_static_runtimes_GCJ=yes
17789       ;;
17790
17791     darwin* | rhapsody*)
17792       case $host_os in
17793         rhapsody* | darwin1.[012])
17794          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
17795          ;;
17796        *) # Darwin 1.3 on
17797          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17798            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17799          else
17800            case ${MACOSX_DEPLOYMENT_TARGET} in
17801              10.[012])
17802                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17803                ;;
17804              10.*)
17805                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
17806                ;;
17807            esac
17808          fi
17809          ;;
17810       esac
17811       archive_cmds_need_lc_GCJ=no
17812       hardcode_direct_GCJ=no
17813       hardcode_automatic_GCJ=yes
17814       hardcode_shlibpath_var_GCJ=unsupported
17815       whole_archive_flag_spec_GCJ=''
17816       link_all_deplibs_GCJ=yes
17817     if test "$GCC" = yes ; then
17818         output_verbose_link_cmd='echo'
17819         archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17820       module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17821       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17822       archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17823       module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17824     else
17825       case $cc_basename in
17826         xlc*)
17827          output_verbose_link_cmd='echo'
17828          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17829          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17830           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17831          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17832           module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17833           ;;
17834        *)
17835          ld_shlibs_GCJ=no
17836           ;;
17837       esac
17838     fi
17839       ;;
17840
17841     dgux*)
17842       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17843       hardcode_libdir_flag_spec_GCJ='-L$libdir'
17844       hardcode_shlibpath_var_GCJ=no
17845       ;;
17846
17847     freebsd1*)
17848       ld_shlibs_GCJ=no
17849       ;;
17850
17851     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17852     # support.  Future versions do this automatically, but an explicit c++rt0.o
17853     # does not break anything, and helps significantly (at the cost of a little
17854     # extra space).
17855     freebsd2.2*)
17856       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17857       hardcode_libdir_flag_spec_GCJ='-R$libdir'
17858       hardcode_direct_GCJ=yes
17859       hardcode_shlibpath_var_GCJ=no
17860       ;;
17861
17862     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17863     freebsd2*)
17864       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17865       hardcode_direct_GCJ=yes
17866       hardcode_minus_L_GCJ=yes
17867       hardcode_shlibpath_var_GCJ=no
17868       ;;
17869
17870     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17871     freebsd* | kfreebsd*-gnu | dragonfly*)
17872       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17873       hardcode_libdir_flag_spec_GCJ='-R$libdir'
17874       hardcode_direct_GCJ=yes
17875       hardcode_shlibpath_var_GCJ=no
17876       ;;
17877
17878     hpux9*)
17879       if test "$GCC" = yes; then
17880         archive_cmds_GCJ='$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'
17881       else
17882         archive_cmds_GCJ='$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'
17883       fi
17884       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17885       hardcode_libdir_separator_GCJ=:
17886       hardcode_direct_GCJ=yes
17887
17888       # hardcode_minus_L: Not really in the search PATH,
17889       # but as the default location of the library.
17890       hardcode_minus_L_GCJ=yes
17891       export_dynamic_flag_spec_GCJ='${wl}-E'
17892       ;;
17893
17894     hpux10*)
17895       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17896         archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17897       else
17898         archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17899       fi
17900       if test "$with_gnu_ld" = no; then
17901         hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17902         hardcode_libdir_separator_GCJ=:
17903
17904         hardcode_direct_GCJ=yes
17905         export_dynamic_flag_spec_GCJ='${wl}-E'
17906
17907         # hardcode_minus_L: Not really in the search PATH,
17908         # but as the default location of the library.
17909         hardcode_minus_L_GCJ=yes
17910       fi
17911       ;;
17912
17913     hpux11*)
17914       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17915         case $host_cpu in
17916         hppa*64*)
17917           archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17918           ;;
17919         ia64*)
17920           archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17921           ;;
17922         *)
17923           archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17924           ;;
17925         esac
17926       else
17927         case $host_cpu in
17928         hppa*64*)
17929           archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17930           ;;
17931         ia64*)
17932           archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17933           ;;
17934         *)
17935           archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17936           ;;
17937         esac
17938       fi
17939       if test "$with_gnu_ld" = no; then
17940         hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17941         hardcode_libdir_separator_GCJ=:
17942
17943         case $host_cpu in
17944         hppa*64*|ia64*)
17945           hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
17946           hardcode_direct_GCJ=no
17947           hardcode_shlibpath_var_GCJ=no
17948           ;;
17949         *)
17950           hardcode_direct_GCJ=yes
17951           export_dynamic_flag_spec_GCJ='${wl}-E'
17952
17953           # hardcode_minus_L: Not really in the search PATH,
17954           # but as the default location of the library.
17955           hardcode_minus_L_GCJ=yes
17956           ;;
17957         esac
17958       fi
17959       ;;
17960
17961     irix5* | irix6* | nonstopux*)
17962       if test "$GCC" = yes; then
17963         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17964       else
17965         archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17966         hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
17967       fi
17968       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17969       hardcode_libdir_separator_GCJ=:
17970       link_all_deplibs_GCJ=yes
17971       ;;
17972
17973     netbsd*)
17974       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17975         archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
17976       else
17977         archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
17978       fi
17979       hardcode_libdir_flag_spec_GCJ='-R$libdir'
17980       hardcode_direct_GCJ=yes
17981       hardcode_shlibpath_var_GCJ=no
17982       ;;
17983
17984     newsos6)
17985       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17986       hardcode_direct_GCJ=yes
17987       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17988       hardcode_libdir_separator_GCJ=:
17989       hardcode_shlibpath_var_GCJ=no
17990       ;;
17991
17992     openbsd*)
17993       hardcode_direct_GCJ=yes
17994       hardcode_shlibpath_var_GCJ=no
17995       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17996         archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17997         archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17998         hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17999         export_dynamic_flag_spec_GCJ='${wl}-E'
18000       else
18001        case $host_os in
18002          openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18003            archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18004            hardcode_libdir_flag_spec_GCJ='-R$libdir'
18005            ;;
18006          *)
18007            archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18008            hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18009            ;;
18010        esac
18011       fi
18012       ;;
18013
18014     os2*)
18015       hardcode_libdir_flag_spec_GCJ='-L$libdir'
18016       hardcode_minus_L_GCJ=yes
18017       allow_undefined_flag_GCJ=unsupported
18018       archive_cmds_GCJ='$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'
18019       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18020       ;;
18021
18022     osf3*)
18023       if test "$GCC" = yes; then
18024         allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18025         archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18026       else
18027         allow_undefined_flag_GCJ=' -expect_unresolved \*'
18028         archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18029       fi
18030       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18031       hardcode_libdir_separator_GCJ=:
18032       ;;
18033
18034     osf4* | osf5*)      # as osf3* with the addition of -msym flag
18035       if test "$GCC" = yes; then
18036         allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18037         archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18038         hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18039       else
18040         allow_undefined_flag_GCJ=' -expect_unresolved \*'
18041         archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18042         archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
18043         $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
18044
18045         # Both c and cxx compiler support -rpath directly
18046         hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
18047       fi
18048       hardcode_libdir_separator_GCJ=:
18049       ;;
18050
18051     solaris*)
18052       no_undefined_flag_GCJ=' -z text'
18053       if test "$GCC" = yes; then
18054         wlarc='${wl}'
18055         archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18056         archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18057           $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18058       else
18059         wlarc=''
18060         archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18061         archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18062         $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18063       fi
18064       hardcode_libdir_flag_spec_GCJ='-R$libdir'
18065       hardcode_shlibpath_var_GCJ=no
18066       case $host_os in
18067       solaris2.[0-5] | solaris2.[0-5].*) ;;
18068       *)
18069         # The compiler driver will combine linker options so we
18070         # cannot just pass the convience library names through
18071         # without $wl, iff we do not link with $LD.
18072         # Luckily, gcc supports the same syntax we need for Sun Studio.
18073         # Supported since Solaris 2.6 (maybe 2.5.1?)
18074         case $wlarc in
18075         '')
18076           whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
18077         *)
18078           whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
18079         esac ;;
18080       esac
18081       link_all_deplibs_GCJ=yes
18082       ;;
18083
18084     sunos4*)
18085       if test "x$host_vendor" = xsequent; then
18086         # Use $CC to link under sequent, because it throws in some extra .o
18087         # files that make .init and .fini sections work.
18088         archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18089       else
18090         archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18091       fi
18092       hardcode_libdir_flag_spec_GCJ='-L$libdir'
18093       hardcode_direct_GCJ=yes
18094       hardcode_minus_L_GCJ=yes
18095       hardcode_shlibpath_var_GCJ=no
18096       ;;
18097
18098     sysv4)
18099       case $host_vendor in
18100         sni)
18101           archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18102           hardcode_direct_GCJ=yes # is this really true???
18103         ;;
18104         siemens)
18105           ## LD is ld it makes a PLAMLIB
18106           ## CC just makes a GrossModule.
18107           archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18108           reload_cmds_GCJ='$CC -r -o $output$reload_objs'
18109           hardcode_direct_GCJ=no
18110         ;;
18111         motorola)
18112           archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18113           hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
18114         ;;
18115       esac
18116       runpath_var='LD_RUN_PATH'
18117       hardcode_shlibpath_var_GCJ=no
18118       ;;
18119
18120     sysv4.3*)
18121       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18122       hardcode_shlibpath_var_GCJ=no
18123       export_dynamic_flag_spec_GCJ='-Bexport'
18124       ;;
18125
18126     sysv4*MP*)
18127       if test -d /usr/nec; then
18128         archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18129         hardcode_shlibpath_var_GCJ=no
18130         runpath_var=LD_RUN_PATH
18131         hardcode_runpath_var=yes
18132         ld_shlibs_GCJ=yes
18133       fi
18134       ;;
18135
18136     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
18137       no_undefined_flag_GCJ='${wl}-z,text'
18138       archive_cmds_need_lc_GCJ=no
18139       hardcode_shlibpath_var_GCJ=no
18140       runpath_var='LD_RUN_PATH'
18141
18142       if test "$GCC" = yes; then
18143         archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18144         archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18145       else
18146         archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18147         archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18148       fi
18149       ;;
18150
18151     sysv5* | sco3.2v5* | sco5v6*)
18152       # Note: We can NOT use -z defs as we might desire, because we do not
18153       # link with -lc, and that would cause any symbols used from libc to
18154       # always be unresolved, which means just about no library would
18155       # ever link correctly.  If we're not using GNU ld we use -z text
18156       # though, which does catch some bad symbols but isn't as heavy-handed
18157       # as -z defs.
18158       no_undefined_flag_GCJ='${wl}-z,text'
18159       allow_undefined_flag_GCJ='${wl}-z,nodefs'
18160       archive_cmds_need_lc_GCJ=no
18161       hardcode_shlibpath_var_GCJ=no
18162       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18163       hardcode_libdir_separator_GCJ=':'
18164       link_all_deplibs_GCJ=yes
18165       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
18166       runpath_var='LD_RUN_PATH'
18167
18168       if test "$GCC" = yes; then
18169         archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18170         archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18171       else
18172         archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18173         archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18174       fi
18175       ;;
18176
18177     uts4*)
18178       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18179       hardcode_libdir_flag_spec_GCJ='-L$libdir'
18180       hardcode_shlibpath_var_GCJ=no
18181       ;;
18182
18183     *)
18184       ld_shlibs_GCJ=no
18185       ;;
18186     esac
18187   fi
18188
18189 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18190 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18191 test "$ld_shlibs_GCJ" = no && can_build_shared=no
18192
18193 #
18194 # Do we need to explicitly link libc?
18195 #
18196 case "x$archive_cmds_need_lc_GCJ" in
18197 x|xyes)
18198   # Assume -lc should be added
18199   archive_cmds_need_lc_GCJ=yes
18200
18201   if test "$enable_shared" = yes && test "$GCC" = yes; then
18202     case $archive_cmds_GCJ in
18203     *'~'*)
18204       # FIXME: we may have to deal with multi-command sequences.
18205       ;;
18206     '$CC '*)
18207       # Test whether the compiler implicitly links with -lc since on some
18208       # systems, -lgcc has to come before -lc. If gcc already passes -lc
18209       # to ld, don't add -lc before -lgcc.
18210       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18211 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18212       $rm conftest*
18213       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18214
18215       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18216   (eval $ac_compile) 2>&5
18217   ac_status=$?
18218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18219   (exit $ac_status); } 2>conftest.err; then
18220         soname=conftest
18221         lib=conftest
18222         libobjs=conftest.$ac_objext
18223         deplibs=
18224         wl=$lt_prog_compiler_wl_GCJ
18225         pic_flag=$lt_prog_compiler_pic_GCJ
18226         compiler_flags=-v
18227         linker_flags=-v
18228         verstring=
18229         output_objdir=.
18230         libname=conftest
18231         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
18232         allow_undefined_flag_GCJ=
18233         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18234   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18235   ac_status=$?
18236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18237   (exit $ac_status); }
18238         then
18239           archive_cmds_need_lc_GCJ=no
18240         else
18241           archive_cmds_need_lc_GCJ=yes
18242         fi
18243         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
18244       else
18245         cat conftest.err 1>&5
18246       fi
18247       $rm conftest*
18248       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18249 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18250       ;;
18251     esac
18252   fi
18253   ;;
18254 esac
18255
18256 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18257 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18258 library_names_spec=
18259 libname_spec='lib$name'
18260 soname_spec=
18261 shrext_cmds=".so"
18262 postinstall_cmds=
18263 postuninstall_cmds=
18264 finish_cmds=
18265 finish_eval=
18266 shlibpath_var=
18267 shlibpath_overrides_runpath=unknown
18268 version_type=none
18269 dynamic_linker="$host_os ld.so"
18270 sys_lib_dlsearch_path_spec="/lib /usr/lib"
18271 if test "$GCC" = yes; then
18272   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18273   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
18274     # if the path contains ";" then we assume it to be the separator
18275     # otherwise default to the standard path separator (i.e. ":") - it is
18276     # assumed that no part of a normal pathname contains ";" but that should
18277     # okay in the real world where ";" in dirpaths is itself problematic.
18278     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18279   else
18280     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
18281   fi
18282 else
18283   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
18284 fi
18285 need_lib_prefix=unknown
18286 hardcode_into_libs=no
18287
18288 # when you set need_version to no, make sure it does not cause -set_version
18289 # flags to be left without arguments
18290 need_version=unknown
18291
18292 case $host_os in
18293 aix3*)
18294   version_type=linux
18295   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18296   shlibpath_var=LIBPATH
18297
18298   # AIX 3 has no versioning support, so we append a major version to the name.
18299   soname_spec='${libname}${release}${shared_ext}$major'
18300   ;;
18301
18302 aix4* | aix5*)
18303   version_type=linux
18304   need_lib_prefix=no
18305   need_version=no
18306   hardcode_into_libs=yes
18307   if test "$host_cpu" = ia64; then
18308     # AIX 5 supports IA64
18309     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18310     shlibpath_var=LD_LIBRARY_PATH
18311   else
18312     # With GCC up to 2.95.x, collect2 would create an import file
18313     # for dependence libraries.  The import file would start with
18314     # the line `#! .'.  This would cause the generated library to
18315     # depend on `.', always an invalid library.  This was fixed in
18316     # development snapshots of GCC prior to 3.0.
18317     case $host_os in
18318       aix4 | aix4.[01] | aix4.[01].*)
18319       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18320            echo ' yes '
18321            echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18322         :
18323       else
18324         can_build_shared=no
18325       fi
18326       ;;
18327     esac
18328     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18329     # soname into executable. Probably we can add versioning support to
18330     # collect2, so additional links can be useful in future.
18331     if test "$aix_use_runtimelinking" = yes; then
18332       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18333       # instead of lib<name>.a to let people know that these are not
18334       # typical AIX shared libraries.
18335       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18336     else
18337       # We preserve .a as extension for shared libraries through AIX4.2
18338       # and later when we are not doing run time linking.
18339       library_names_spec='${libname}${release}.a $libname.a'
18340       soname_spec='${libname}${release}${shared_ext}$major'
18341     fi
18342     shlibpath_var=LIBPATH
18343   fi
18344   ;;
18345
18346 amigaos*)
18347   library_names_spec='$libname.ixlibrary $libname.a'
18348   # Create ${libname}_ixlibrary.a entries in /sys/libs.
18349   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'
18350   ;;
18351
18352 beos*)
18353   library_names_spec='${libname}${shared_ext}'
18354   dynamic_linker="$host_os ld.so"
18355   shlibpath_var=LIBRARY_PATH
18356   ;;
18357
18358 bsdi[45]*)
18359   version_type=linux
18360   need_version=no
18361   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18362   soname_spec='${libname}${release}${shared_ext}$major'
18363   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18364   shlibpath_var=LD_LIBRARY_PATH
18365   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18366   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18367   # the default ld.so.conf also contains /usr/contrib/lib and
18368   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18369   # libtool to hard-code these into programs
18370   ;;
18371
18372 cygwin* | mingw* | pw32*)
18373   version_type=windows
18374   shrext_cmds=".dll"
18375   need_version=no
18376   need_lib_prefix=no
18377
18378   case $GCC,$host_os in
18379   yes,cygwin* | yes,mingw* | yes,pw32*)
18380     library_names_spec='$libname.dll.a'
18381     # DLL is installed to $(libdir)/../bin by postinstall_cmds
18382     postinstall_cmds='base_file=`basename \${file}`~
18383       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18384       dldir=$destdir/`dirname \$dlpath`~
18385       test -d \$dldir || mkdir -p \$dldir~
18386       $install_prog $dir/$dlname \$dldir/$dlname~
18387       chmod a+x \$dldir/$dlname'
18388     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18389       dlpath=$dir/\$dldll~
18390        $rm \$dlpath'
18391     shlibpath_overrides_runpath=yes
18392
18393     case $host_os in
18394     cygwin*)
18395       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18396       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18397       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18398       ;;
18399     mingw*)
18400       # MinGW DLLs use traditional 'lib' prefix
18401       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18402       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18403       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18404         # It is most probably a Windows format PATH printed by
18405         # mingw gcc, but we are running on Cygwin. Gcc prints its search
18406         # path with ; separators, and with drive letters. We can handle the
18407         # drive letters (cygwin fileutils understands them), so leave them,
18408         # especially as we might pass files found there to a mingw objdump,
18409         # which wouldn't understand a cygwinified path. Ahh.
18410         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18411       else
18412         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
18413       fi
18414       ;;
18415     pw32*)
18416       # pw32 DLLs use 'pw' prefix rather than 'lib'
18417       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18418       ;;
18419     esac
18420     ;;
18421
18422   *)
18423     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18424     ;;
18425   esac
18426   dynamic_linker='Win32 ld.exe'
18427   # FIXME: first we should search . and the directory the executable is in
18428   shlibpath_var=PATH
18429   ;;
18430
18431 darwin* | rhapsody*)
18432   dynamic_linker="$host_os dyld"
18433   version_type=darwin
18434   need_lib_prefix=no
18435   need_version=no
18436   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18437   soname_spec='${libname}${release}${major}$shared_ext'
18438   shlibpath_overrides_runpath=yes
18439   shlibpath_var=DYLD_LIBRARY_PATH
18440   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18441   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18442   if test "$GCC" = yes; then
18443     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
18444   else
18445     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
18446   fi
18447   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18448   ;;
18449
18450 dgux*)
18451   version_type=linux
18452   need_lib_prefix=no
18453   need_version=no
18454   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18455   soname_spec='${libname}${release}${shared_ext}$major'
18456   shlibpath_var=LD_LIBRARY_PATH
18457   ;;
18458
18459 freebsd1*)
18460   dynamic_linker=no
18461   ;;
18462
18463 kfreebsd*-gnu)
18464   version_type=linux
18465   need_lib_prefix=no
18466   need_version=no
18467   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18468   soname_spec='${libname}${release}${shared_ext}$major'
18469   shlibpath_var=LD_LIBRARY_PATH
18470   shlibpath_overrides_runpath=no
18471   hardcode_into_libs=yes
18472   dynamic_linker='GNU ld.so'
18473   ;;
18474
18475 freebsd* | dragonfly*)
18476   # DragonFly does not have aout.  When/if they implement a new
18477   # versioning mechanism, adjust this.
18478   if test -x /usr/bin/objformat; then
18479     objformat=`/usr/bin/objformat`
18480   else
18481     case $host_os in
18482     freebsd[123]*) objformat=aout ;;
18483     *) objformat=elf ;;
18484     esac
18485   fi
18486   version_type=freebsd-$objformat
18487   case $version_type in
18488     freebsd-elf*)
18489       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18490       need_version=no
18491       need_lib_prefix=no
18492       ;;
18493     freebsd-*)
18494       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18495       need_version=yes
18496       ;;
18497   esac
18498   shlibpath_var=LD_LIBRARY_PATH
18499   case $host_os in
18500   freebsd2*)
18501     shlibpath_overrides_runpath=yes
18502     ;;
18503   freebsd3.[01]* | freebsdelf3.[01]*)
18504     shlibpath_overrides_runpath=yes
18505     hardcode_into_libs=yes
18506     ;;
18507   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18508   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18509     shlibpath_overrides_runpath=no
18510     hardcode_into_libs=yes
18511     ;;
18512   freebsd*) # from 4.6 on
18513     shlibpath_overrides_runpath=yes
18514     hardcode_into_libs=yes
18515     ;;
18516   esac
18517   ;;
18518
18519 gnu*)
18520   version_type=linux
18521   need_lib_prefix=no
18522   need_version=no
18523   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18524   soname_spec='${libname}${release}${shared_ext}$major'
18525   shlibpath_var=LD_LIBRARY_PATH
18526   hardcode_into_libs=yes
18527   ;;
18528
18529 hpux9* | hpux10* | hpux11*)
18530   # Give a soname corresponding to the major version so that dld.sl refuses to
18531   # link against other versions.
18532   version_type=sunos
18533   need_lib_prefix=no
18534   need_version=no
18535   case $host_cpu in
18536   ia64*)
18537     shrext_cmds='.so'
18538     hardcode_into_libs=yes
18539     dynamic_linker="$host_os dld.so"
18540     shlibpath_var=LD_LIBRARY_PATH
18541     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18542     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18543     soname_spec='${libname}${release}${shared_ext}$major'
18544     if test "X$HPUX_IA64_MODE" = X32; then
18545       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18546     else
18547       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18548     fi
18549     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18550     ;;
18551    hppa*64*)
18552      shrext_cmds='.sl'
18553      hardcode_into_libs=yes
18554      dynamic_linker="$host_os dld.sl"
18555      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18556      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18557      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18558      soname_spec='${libname}${release}${shared_ext}$major'
18559      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18560      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18561      ;;
18562    *)
18563     shrext_cmds='.sl'
18564     dynamic_linker="$host_os dld.sl"
18565     shlibpath_var=SHLIB_PATH
18566     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18567     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18568     soname_spec='${libname}${release}${shared_ext}$major'
18569     ;;
18570   esac
18571   # HP-UX runs *really* slowly unless shared libraries are mode 555.
18572   postinstall_cmds='chmod 555 $lib'
18573   ;;
18574
18575 interix3*)
18576   version_type=linux
18577   need_lib_prefix=no
18578   need_version=no
18579   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18580   soname_spec='${libname}${release}${shared_ext}$major'
18581   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18582   shlibpath_var=LD_LIBRARY_PATH
18583   shlibpath_overrides_runpath=no
18584   hardcode_into_libs=yes
18585   ;;
18586
18587 irix5* | irix6* | nonstopux*)
18588   case $host_os in
18589     nonstopux*) version_type=nonstopux ;;
18590     *)
18591         if test "$lt_cv_prog_gnu_ld" = yes; then
18592                 version_type=linux
18593         else
18594                 version_type=irix
18595         fi ;;
18596   esac
18597   need_lib_prefix=no
18598   need_version=no
18599   soname_spec='${libname}${release}${shared_ext}$major'
18600   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18601   case $host_os in
18602   irix5* | nonstopux*)
18603     libsuff= shlibsuff=
18604     ;;
18605   *)
18606     case $LD in # libtool.m4 will add one of these switches to LD
18607     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18608       libsuff= shlibsuff= libmagic=32-bit;;
18609     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18610       libsuff=32 shlibsuff=N32 libmagic=N32;;
18611     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18612       libsuff=64 shlibsuff=64 libmagic=64-bit;;
18613     *) libsuff= shlibsuff= libmagic=never-match;;
18614     esac
18615     ;;
18616   esac
18617   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18618   shlibpath_overrides_runpath=no
18619   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18620   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18621   hardcode_into_libs=yes
18622   ;;
18623
18624 # No shared lib support for Linux oldld, aout, or coff.
18625 linux*oldld* | linux*aout* | linux*coff*)
18626   dynamic_linker=no
18627   ;;
18628
18629 # This must be Linux ELF.
18630 linux*)
18631   version_type=linux
18632   need_lib_prefix=no
18633   need_version=no
18634   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18635   soname_spec='${libname}${release}${shared_ext}$major'
18636   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18637   shlibpath_var=LD_LIBRARY_PATH
18638   shlibpath_overrides_runpath=no
18639   # This implies no fast_install, which is unacceptable.
18640   # Some rework will be needed to allow for fast_install
18641   # before this can be enabled.
18642   hardcode_into_libs=yes
18643
18644   # find out which ABI we are using
18645   libsuff=
18646   case "$host_cpu" in
18647   x86_64*|s390x*|powerpc64*)
18648     echo '#line 18648 "configure"' > conftest.$ac_ext
18649     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18650   (eval $ac_compile) 2>&5
18651   ac_status=$?
18652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18653   (exit $ac_status); }; then
18654       case `/usr/bin/file conftest.$ac_objext` in
18655       *64-bit*)
18656         libsuff=64
18657         sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
18658         ;;
18659       esac
18660     fi
18661     rm -rf conftest*
18662     ;;
18663   esac
18664
18665   # Append ld.so.conf contents to the search path
18666   if test -f /etc/ld.so.conf; then
18667     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18668     sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
18669   fi
18670
18671   # We used to test for /lib/ld.so.1 and disable shared libraries on
18672   # powerpc, because MkLinux only supported shared libraries with the
18673   # GNU dynamic linker.  Since this was broken with cross compilers,
18674   # most powerpc-linux boxes support dynamic linking these days and
18675   # people can always --disable-shared, the test was removed, and we
18676   # assume the GNU/Linux dynamic linker is in use.
18677   dynamic_linker='GNU/Linux ld.so'
18678   ;;
18679
18680 knetbsd*-gnu)
18681   version_type=linux
18682   need_lib_prefix=no
18683   need_version=no
18684   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18685   soname_spec='${libname}${release}${shared_ext}$major'
18686   shlibpath_var=LD_LIBRARY_PATH
18687   shlibpath_overrides_runpath=no
18688   hardcode_into_libs=yes
18689   dynamic_linker='GNU ld.so'
18690   ;;
18691
18692 netbsd*)
18693   version_type=sunos
18694   need_lib_prefix=no
18695   need_version=no
18696   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18697     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18698     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18699     dynamic_linker='NetBSD (a.out) ld.so'
18700   else
18701     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18702     soname_spec='${libname}${release}${shared_ext}$major'
18703     dynamic_linker='NetBSD ld.elf_so'
18704   fi
18705   shlibpath_var=LD_LIBRARY_PATH
18706   shlibpath_overrides_runpath=yes
18707   hardcode_into_libs=yes
18708   ;;
18709
18710 newsos6)
18711   version_type=linux
18712   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18713   shlibpath_var=LD_LIBRARY_PATH
18714   shlibpath_overrides_runpath=yes
18715   ;;
18716
18717 nto-qnx*)
18718   version_type=linux
18719   need_lib_prefix=no
18720   need_version=no
18721   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18722   soname_spec='${libname}${release}${shared_ext}$major'
18723   shlibpath_var=LD_LIBRARY_PATH
18724   shlibpath_overrides_runpath=yes
18725   ;;
18726
18727 openbsd*)
18728   version_type=sunos
18729   sys_lib_dlsearch_path_spec="/usr/lib"
18730   need_lib_prefix=no
18731   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18732   case $host_os in
18733     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
18734     *)                         need_version=no  ;;
18735   esac
18736   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18737   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18738   shlibpath_var=LD_LIBRARY_PATH
18739   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18740     case $host_os in
18741       openbsd2.[89] | openbsd2.[89].*)
18742         shlibpath_overrides_runpath=no
18743         ;;
18744       *)
18745         shlibpath_overrides_runpath=yes
18746         ;;
18747       esac
18748   else
18749     shlibpath_overrides_runpath=yes
18750   fi
18751   ;;
18752
18753 os2*)
18754   libname_spec='$name'
18755   shrext_cmds=".dll"
18756   need_lib_prefix=no
18757   library_names_spec='$libname${shared_ext} $libname.a'
18758   dynamic_linker='OS/2 ld.exe'
18759   shlibpath_var=LIBPATH
18760   ;;
18761
18762 osf3* | osf4* | osf5*)
18763   version_type=osf
18764   need_lib_prefix=no
18765   need_version=no
18766   soname_spec='${libname}${release}${shared_ext}$major'
18767   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18768   shlibpath_var=LD_LIBRARY_PATH
18769   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18770   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18771   ;;
18772
18773 solaris*)
18774   version_type=linux
18775   need_lib_prefix=no
18776   need_version=no
18777   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18778   soname_spec='${libname}${release}${shared_ext}$major'
18779   shlibpath_var=LD_LIBRARY_PATH
18780   shlibpath_overrides_runpath=yes
18781   hardcode_into_libs=yes
18782   # ldd complains unless libraries are executable
18783   postinstall_cmds='chmod +x $lib'
18784   ;;
18785
18786 sunos4*)
18787   version_type=sunos
18788   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18789   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18790   shlibpath_var=LD_LIBRARY_PATH
18791   shlibpath_overrides_runpath=yes
18792   if test "$with_gnu_ld" = yes; then
18793     need_lib_prefix=no
18794   fi
18795   need_version=yes
18796   ;;
18797
18798 sysv4 | sysv4.3*)
18799   version_type=linux
18800   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18801   soname_spec='${libname}${release}${shared_ext}$major'
18802   shlibpath_var=LD_LIBRARY_PATH
18803   case $host_vendor in
18804     sni)
18805       shlibpath_overrides_runpath=no
18806       need_lib_prefix=no
18807       export_dynamic_flag_spec='${wl}-Blargedynsym'
18808       runpath_var=LD_RUN_PATH
18809       ;;
18810     siemens)
18811       need_lib_prefix=no
18812       ;;
18813     motorola)
18814       need_lib_prefix=no
18815       need_version=no
18816       shlibpath_overrides_runpath=no
18817       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18818       ;;
18819   esac
18820   ;;
18821
18822 sysv4*MP*)
18823   if test -d /usr/nec ;then
18824     version_type=linux
18825     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18826     soname_spec='$libname${shared_ext}.$major'
18827     shlibpath_var=LD_LIBRARY_PATH
18828   fi
18829   ;;
18830
18831 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18832   version_type=freebsd-elf
18833   need_lib_prefix=no
18834   need_version=no
18835   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18836   soname_spec='${libname}${release}${shared_ext}$major'
18837   shlibpath_var=LD_LIBRARY_PATH
18838   hardcode_into_libs=yes
18839   if test "$with_gnu_ld" = yes; then
18840     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18841     shlibpath_overrides_runpath=no
18842   else
18843     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18844     shlibpath_overrides_runpath=yes
18845     case $host_os in
18846       sco3.2v5*)
18847         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18848         ;;
18849     esac
18850   fi
18851   sys_lib_dlsearch_path_spec='/usr/lib'
18852   ;;
18853
18854 uts4*)
18855   version_type=linux
18856   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18857   soname_spec='${libname}${release}${shared_ext}$major'
18858   shlibpath_var=LD_LIBRARY_PATH
18859   ;;
18860
18861 *)
18862   dynamic_linker=no
18863   ;;
18864 esac
18865 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18866 echo "${ECHO_T}$dynamic_linker" >&6; }
18867 test "$dynamic_linker" = no && can_build_shared=no
18868
18869 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18870 if test "$GCC" = yes; then
18871   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18872 fi
18873
18874 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18875 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18876 hardcode_action_GCJ=
18877 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18878    test -n "$runpath_var_GCJ" || \
18879    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18880
18881   # We can hardcode non-existant directories.
18882   if test "$hardcode_direct_GCJ" != no &&
18883      # If the only mechanism to avoid hardcoding is shlibpath_var, we
18884      # have to relink, otherwise we might link with an installed library
18885      # when we should be linking with a yet-to-be-installed one
18886      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18887      test "$hardcode_minus_L_GCJ" != no; then
18888     # Linking always hardcodes the temporary library directory.
18889     hardcode_action_GCJ=relink
18890   else
18891     # We can link without hardcoding, and we can hardcode nonexisting dirs.
18892     hardcode_action_GCJ=immediate
18893   fi
18894 else
18895   # We cannot hardcode anything, or else we can only hardcode existing
18896   # directories.
18897   hardcode_action_GCJ=unsupported
18898 fi
18899 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18900 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18901
18902 if test "$hardcode_action_GCJ" = relink; then
18903   # Fast installation is not supported
18904   enable_fast_install=no
18905 elif test "$shlibpath_overrides_runpath" = yes ||
18906      test "$enable_shared" = no; then
18907   # Fast installation is not necessary
18908   enable_fast_install=needless
18909 fi
18910
18911
18912 # The else clause should only fire when bootstrapping the
18913 # libtool distribution, otherwise you forgot to ship ltmain.sh
18914 # with your package, and you will get complaints that there are
18915 # no rules to generate ltmain.sh.
18916 if test -f "$ltmain"; then
18917   # See if we are running on zsh, and set the options which allow our commands through
18918   # without removal of \ escapes.
18919   if test -n "${ZSH_VERSION+set}" ; then
18920     setopt NO_GLOB_SUBST
18921   fi
18922   # Now quote all the things that may contain metacharacters while being
18923   # careful not to overquote the AC_SUBSTed values.  We take copies of the
18924   # variables and quote the copies for generation of the libtool script.
18925   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18926     SED SHELL STRIP \
18927     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18928     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18929     deplibs_check_method reload_flag reload_cmds need_locks \
18930     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18931     lt_cv_sys_global_symbol_to_c_name_address \
18932     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18933     old_postinstall_cmds old_postuninstall_cmds \
18934     compiler_GCJ \
18935     CC_GCJ \
18936     LD_GCJ \
18937     lt_prog_compiler_wl_GCJ \
18938     lt_prog_compiler_pic_GCJ \
18939     lt_prog_compiler_static_GCJ \
18940     lt_prog_compiler_no_builtin_flag_GCJ \
18941     export_dynamic_flag_spec_GCJ \
18942     thread_safe_flag_spec_GCJ \
18943     whole_archive_flag_spec_GCJ \
18944     enable_shared_with_static_runtimes_GCJ \
18945     old_archive_cmds_GCJ \
18946     old_archive_from_new_cmds_GCJ \
18947     predep_objects_GCJ \
18948     postdep_objects_GCJ \
18949     predeps_GCJ \
18950     postdeps_GCJ \
18951     compiler_lib_search_path_GCJ \
18952     archive_cmds_GCJ \
18953     archive_expsym_cmds_GCJ \
18954     postinstall_cmds_GCJ \
18955     postuninstall_cmds_GCJ \
18956     old_archive_from_expsyms_cmds_GCJ \
18957     allow_undefined_flag_GCJ \
18958     no_undefined_flag_GCJ \
18959     export_symbols_cmds_GCJ \
18960     hardcode_libdir_flag_spec_GCJ \
18961     hardcode_libdir_flag_spec_ld_GCJ \
18962     hardcode_libdir_separator_GCJ \
18963     hardcode_automatic_GCJ \
18964     module_cmds_GCJ \
18965     module_expsym_cmds_GCJ \
18966     lt_cv_prog_compiler_c_o_GCJ \
18967     exclude_expsyms_GCJ \
18968     include_expsyms_GCJ; do
18969
18970     case $var in
18971     old_archive_cmds_GCJ | \
18972     old_archive_from_new_cmds_GCJ | \
18973     archive_cmds_GCJ | \
18974     archive_expsym_cmds_GCJ | \
18975     module_cmds_GCJ | \
18976     module_expsym_cmds_GCJ | \
18977     old_archive_from_expsyms_cmds_GCJ | \
18978     export_symbols_cmds_GCJ | \
18979     extract_expsyms_cmds | reload_cmds | finish_cmds | \
18980     postinstall_cmds | postuninstall_cmds | \
18981     old_postinstall_cmds | old_postuninstall_cmds | \
18982     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18983       # Double-quote double-evaled strings.
18984       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18985       ;;
18986     *)
18987       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18988       ;;
18989     esac
18990   done
18991
18992   case $lt_echo in
18993   *'\$0 --fallback-echo"')
18994     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18995     ;;
18996   esac
18997
18998 cfgfile="$ofile"
18999
19000   cat <<__EOF__ >> "$cfgfile"
19001 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19002
19003 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19004
19005 # Shell to use when invoking shell scripts.
19006 SHELL=$lt_SHELL
19007
19008 # Whether or not to build shared libraries.
19009 build_libtool_libs=$enable_shared
19010
19011 # Whether or not to build static libraries.
19012 build_old_libs=$enable_static
19013
19014 # Whether or not to add -lc for building shared libraries.
19015 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19016
19017 # Whether or not to disallow shared libs when runtime libs are static
19018 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19019
19020 # Whether or not to optimize for fast installation.
19021 fast_install=$enable_fast_install
19022
19023 # The host system.
19024 host_alias=$host_alias
19025 host=$host
19026 host_os=$host_os
19027
19028 # The build system.
19029 build_alias=$build_alias
19030 build=$build
19031 build_os=$build_os
19032
19033 # An echo program that does not interpret backslashes.
19034 echo=$lt_echo
19035
19036 # The archiver.
19037 AR=$lt_AR
19038 AR_FLAGS=$lt_AR_FLAGS
19039
19040 # A C compiler.
19041 LTCC=$lt_LTCC
19042
19043 # LTCC compiler flags.
19044 LTCFLAGS=$lt_LTCFLAGS
19045
19046 # A language-specific compiler.
19047 CC=$lt_compiler_GCJ
19048
19049 # Is the compiler the GNU C compiler?
19050 with_gcc=$GCC_GCJ
19051
19052 # An ERE matcher.
19053 EGREP=$lt_EGREP
19054
19055 # The linker used to build libraries.
19056 LD=$lt_LD_GCJ
19057
19058 # Whether we need hard or soft links.
19059 LN_S=$lt_LN_S
19060
19061 # A BSD-compatible nm program.
19062 NM=$lt_NM
19063
19064 # A symbol stripping program
19065 STRIP=$lt_STRIP
19066
19067 # Used to examine libraries when file_magic_cmd begins "file"
19068 MAGIC_CMD=$MAGIC_CMD
19069
19070 # Used on cygwin: DLL creation program.
19071 DLLTOOL="$DLLTOOL"
19072
19073 # Used on cygwin: object dumper.
19074 OBJDUMP="$OBJDUMP"
19075
19076 # Used on cygwin: assembler.
19077 AS="$AS"
19078
19079 # The name of the directory that contains temporary libtool files.
19080 objdir=$objdir
19081
19082 # How to create reloadable object files.
19083 reload_flag=$lt_reload_flag
19084 reload_cmds=$lt_reload_cmds
19085
19086 # How to pass a linker flag through the compiler.
19087 wl=$lt_lt_prog_compiler_wl_GCJ
19088
19089 # Object file suffix (normally "o").
19090 objext="$ac_objext"
19091
19092 # Old archive suffix (normally "a").
19093 libext="$libext"
19094
19095 # Shared library suffix (normally ".so").
19096 shrext_cmds='$shrext_cmds'
19097
19098 # Executable file suffix (normally "").
19099 exeext="$exeext"
19100
19101 # Additional compiler flags for building library objects.
19102 pic_flag=$lt_lt_prog_compiler_pic_GCJ
19103 pic_mode=$pic_mode
19104
19105 # What is the maximum length of a command?
19106 max_cmd_len=$lt_cv_sys_max_cmd_len
19107
19108 # Does compiler simultaneously support -c and -o options?
19109 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19110
19111 # Must we lock files when doing compilation?
19112 need_locks=$lt_need_locks
19113
19114 # Do we need the lib prefix for modules?
19115 need_lib_prefix=$need_lib_prefix
19116
19117 # Do we need a version for libraries?
19118 need_version=$need_version
19119
19120 # Whether dlopen is supported.
19121 dlopen_support=$enable_dlopen
19122
19123 # Whether dlopen of programs is supported.
19124 dlopen_self=$enable_dlopen_self
19125
19126 # Whether dlopen of statically linked programs is supported.
19127 dlopen_self_static=$enable_dlopen_self_static
19128
19129 # Compiler flag to prevent dynamic linking.
19130 link_static_flag=$lt_lt_prog_compiler_static_GCJ
19131
19132 # Compiler flag to turn off builtin functions.
19133 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19134
19135 # Compiler flag to allow reflexive dlopens.
19136 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19137
19138 # Compiler flag to generate shared objects directly from archives.
19139 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19140
19141 # Compiler flag to generate thread-safe objects.
19142 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19143
19144 # Library versioning type.
19145 version_type=$version_type
19146
19147 # Format of library name prefix.
19148 libname_spec=$lt_libname_spec
19149
19150 # List of archive names.  First name is the real one, the rest are links.
19151 # The last name is the one that the linker finds with -lNAME.
19152 library_names_spec=$lt_library_names_spec
19153
19154 # The coded name of the library, if different from the real name.
19155 soname_spec=$lt_soname_spec
19156
19157 # Commands used to build and install an old-style archive.
19158 RANLIB=$lt_RANLIB
19159 old_archive_cmds=$lt_old_archive_cmds_GCJ
19160 old_postinstall_cmds=$lt_old_postinstall_cmds
19161 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19162
19163 # Create an old-style archive from a shared archive.
19164 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19165
19166 # Create a temporary old-style archive to link instead of a shared archive.
19167 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19168
19169 # Commands used to build and install a shared archive.
19170 archive_cmds=$lt_archive_cmds_GCJ
19171 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19172 postinstall_cmds=$lt_postinstall_cmds
19173 postuninstall_cmds=$lt_postuninstall_cmds
19174
19175 # Commands used to build a loadable module (assumed same as above if empty)
19176 module_cmds=$lt_module_cmds_GCJ
19177 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19178
19179 # Commands to strip libraries.
19180 old_striplib=$lt_old_striplib
19181 striplib=$lt_striplib
19182
19183 # Dependencies to place before the objects being linked to create a
19184 # shared library.
19185 predep_objects=$lt_predep_objects_GCJ
19186
19187 # Dependencies to place after the objects being linked to create a
19188 # shared library.
19189 postdep_objects=$lt_postdep_objects_GCJ
19190
19191 # Dependencies to place before the objects being linked to create a
19192 # shared library.
19193 predeps=$lt_predeps_GCJ
19194
19195 # Dependencies to place after the objects being linked to create a
19196 # shared library.
19197 postdeps=$lt_postdeps_GCJ
19198
19199 # The library search path used internally by the compiler when linking
19200 # a shared library.
19201 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19202
19203 # Method to check whether dependent libraries are shared objects.
19204 deplibs_check_method=$lt_deplibs_check_method
19205
19206 # Command to use when deplibs_check_method == file_magic.
19207 file_magic_cmd=$lt_file_magic_cmd
19208
19209 # Flag that allows shared libraries with undefined symbols to be built.
19210 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19211
19212 # Flag that forces no undefined symbols.
19213 no_undefined_flag=$lt_no_undefined_flag_GCJ
19214
19215 # Commands used to finish a libtool library installation in a directory.
19216 finish_cmds=$lt_finish_cmds
19217
19218 # Same as above, but a single script fragment to be evaled but not shown.
19219 finish_eval=$lt_finish_eval
19220
19221 # Take the output of nm and produce a listing of raw symbols and C names.
19222 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19223
19224 # Transform the output of nm in a proper C declaration
19225 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19226
19227 # Transform the output of nm in a C name address pair
19228 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19229
19230 # This is the shared library runtime path variable.
19231 runpath_var=$runpath_var
19232
19233 # This is the shared library path variable.
19234 shlibpath_var=$shlibpath_var
19235
19236 # Is shlibpath searched before the hard-coded library search path?
19237 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19238
19239 # How to hardcode a shared library path into an executable.
19240 hardcode_action=$hardcode_action_GCJ
19241
19242 # Whether we should hardcode library paths into libraries.
19243 hardcode_into_libs=$hardcode_into_libs
19244
19245 # Flag to hardcode \$libdir into a binary during linking.
19246 # This must work even if \$libdir does not exist.
19247 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19248
19249 # If ld is used when linking, flag to hardcode \$libdir into
19250 # a binary during linking. This must work even if \$libdir does
19251 # not exist.
19252 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19253
19254 # Whether we need a single -rpath flag with a separated argument.
19255 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19256
19257 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19258 # resulting binary.
19259 hardcode_direct=$hardcode_direct_GCJ
19260
19261 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19262 # resulting binary.
19263 hardcode_minus_L=$hardcode_minus_L_GCJ
19264
19265 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19266 # the resulting binary.
19267 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19268
19269 # Set to yes if building a shared library automatically hardcodes DIR into the library
19270 # and all subsequent libraries and executables linked against it.
19271 hardcode_automatic=$hardcode_automatic_GCJ
19272
19273 # Variables whose values should be saved in libtool wrapper scripts and
19274 # restored at relink time.
19275 variables_saved_for_relink="$variables_saved_for_relink"
19276
19277 # Whether libtool must link a program against all its dependency libraries.
19278 link_all_deplibs=$link_all_deplibs_GCJ
19279
19280 # Compile-time system search path for libraries
19281 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19282
19283 # Run-time system search path for libraries
19284 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19285
19286 # Fix the shell variable \$srcfile for the compiler.
19287 fix_srcfile_path="$fix_srcfile_path_GCJ"
19288
19289 # Set to yes if exported symbols are required.
19290 always_export_symbols=$always_export_symbols_GCJ
19291
19292 # The commands to list exported symbols.
19293 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19294
19295 # The commands to extract the exported symbol list from a shared archive.
19296 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19297
19298 # Symbols that should not be listed in the preloaded symbols.
19299 exclude_expsyms=$lt_exclude_expsyms_GCJ
19300
19301 # Symbols that must always be exported.
19302 include_expsyms=$lt_include_expsyms_GCJ
19303
19304 # ### END LIBTOOL TAG CONFIG: $tagname
19305
19306 __EOF__
19307
19308
19309 else
19310   # If there is no Makefile yet, we rely on a make rule to execute
19311   # `config.status --recheck' to rerun these tests and create the
19312   # libtool script then.
19313   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19314   if test -f "$ltmain_in"; then
19315     test -f Makefile && make "$ltmain"
19316   fi
19317 fi
19318
19319
19320 ac_ext=c
19321 ac_cpp='$CPP $CPPFLAGS'
19322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19325
19326 CC="$lt_save_CC"
19327
19328         else
19329           tagname=""
19330         fi
19331         ;;
19332
19333       RC)
19334
19335
19336 # Source file extension for RC test sources.
19337 ac_ext=rc
19338
19339 # Object file extension for compiled RC test sources.
19340 objext=o
19341 objext_RC=$objext
19342
19343 # Code to be used in simple compile tests
19344 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
19345
19346 # Code to be used in simple link tests
19347 lt_simple_link_test_code="$lt_simple_compile_test_code"
19348
19349 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19350
19351 # If no C compiler was specified, use CC.
19352 LTCC=${LTCC-"$CC"}
19353
19354 # If no C compiler flags were specified, use CFLAGS.
19355 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
19356
19357 # Allow CC to be a program name with arguments.
19358 compiler=$CC
19359
19360
19361 # save warnings/boilerplate of simple test code
19362 ac_outfile=conftest.$ac_objext
19363 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
19364 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19365 _lt_compiler_boilerplate=`cat conftest.err`
19366 $rm conftest*
19367
19368 ac_outfile=conftest.$ac_objext
19369 printf "$lt_simple_link_test_code" >conftest.$ac_ext
19370 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19371 _lt_linker_boilerplate=`cat conftest.err`
19372 $rm conftest*
19373
19374
19375 # Allow CC to be a program name with arguments.
19376 lt_save_CC="$CC"
19377 CC=${RC-"windres"}
19378 compiler=$CC
19379 compiler_RC=$CC
19380 for cc_temp in $compiler""; do
19381   case $cc_temp in
19382     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19383     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19384     \-*) ;;
19385     *) break;;
19386   esac
19387 done
19388 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19389
19390 lt_cv_prog_compiler_c_o_RC=yes
19391
19392 # The else clause should only fire when bootstrapping the
19393 # libtool distribution, otherwise you forgot to ship ltmain.sh
19394 # with your package, and you will get complaints that there are
19395 # no rules to generate ltmain.sh.
19396 if test -f "$ltmain"; then
19397   # See if we are running on zsh, and set the options which allow our commands through
19398   # without removal of \ escapes.
19399   if test -n "${ZSH_VERSION+set}" ; then
19400     setopt NO_GLOB_SUBST
19401   fi
19402   # Now quote all the things that may contain metacharacters while being
19403   # careful not to overquote the AC_SUBSTed values.  We take copies of the
19404   # variables and quote the copies for generation of the libtool script.
19405   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19406     SED SHELL STRIP \
19407     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19408     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19409     deplibs_check_method reload_flag reload_cmds need_locks \
19410     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19411     lt_cv_sys_global_symbol_to_c_name_address \
19412     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19413     old_postinstall_cmds old_postuninstall_cmds \
19414     compiler_RC \
19415     CC_RC \
19416     LD_RC \
19417     lt_prog_compiler_wl_RC \
19418     lt_prog_compiler_pic_RC \
19419     lt_prog_compiler_static_RC \
19420     lt_prog_compiler_no_builtin_flag_RC \
19421     export_dynamic_flag_spec_RC \
19422     thread_safe_flag_spec_RC \
19423     whole_archive_flag_spec_RC \
19424     enable_shared_with_static_runtimes_RC \
19425     old_archive_cmds_RC \
19426     old_archive_from_new_cmds_RC \
19427     predep_objects_RC \
19428     postdep_objects_RC \
19429     predeps_RC \
19430     postdeps_RC \
19431     compiler_lib_search_path_RC \
19432     archive_cmds_RC \
19433     archive_expsym_cmds_RC \
19434     postinstall_cmds_RC \
19435     postuninstall_cmds_RC \
19436     old_archive_from_expsyms_cmds_RC \
19437     allow_undefined_flag_RC \
19438     no_undefined_flag_RC \
19439     export_symbols_cmds_RC \
19440     hardcode_libdir_flag_spec_RC \
19441     hardcode_libdir_flag_spec_ld_RC \
19442     hardcode_libdir_separator_RC \
19443     hardcode_automatic_RC \
19444     module_cmds_RC \
19445     module_expsym_cmds_RC \
19446     lt_cv_prog_compiler_c_o_RC \
19447     exclude_expsyms_RC \
19448     include_expsyms_RC; do
19449
19450     case $var in
19451     old_archive_cmds_RC | \
19452     old_archive_from_new_cmds_RC | \
19453     archive_cmds_RC | \
19454     archive_expsym_cmds_RC | \
19455     module_cmds_RC | \
19456     module_expsym_cmds_RC | \
19457     old_archive_from_expsyms_cmds_RC | \
19458     export_symbols_cmds_RC | \
19459     extract_expsyms_cmds | reload_cmds | finish_cmds | \
19460     postinstall_cmds | postuninstall_cmds | \
19461     old_postinstall_cmds | old_postuninstall_cmds | \
19462     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19463       # Double-quote double-evaled strings.
19464       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19465       ;;
19466     *)
19467       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19468       ;;
19469     esac
19470   done
19471
19472   case $lt_echo in
19473   *'\$0 --fallback-echo"')
19474     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19475     ;;
19476   esac
19477
19478 cfgfile="$ofile"
19479
19480   cat <<__EOF__ >> "$cfgfile"
19481 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19482
19483 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19484
19485 # Shell to use when invoking shell scripts.
19486 SHELL=$lt_SHELL
19487
19488 # Whether or not to build shared libraries.
19489 build_libtool_libs=$enable_shared
19490
19491 # Whether or not to build static libraries.
19492 build_old_libs=$enable_static
19493
19494 # Whether or not to add -lc for building shared libraries.
19495 build_libtool_need_lc=$archive_cmds_need_lc_RC
19496
19497 # Whether or not to disallow shared libs when runtime libs are static
19498 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19499
19500 # Whether or not to optimize for fast installation.
19501 fast_install=$enable_fast_install
19502
19503 # The host system.
19504 host_alias=$host_alias
19505 host=$host
19506 host_os=$host_os
19507
19508 # The build system.
19509 build_alias=$build_alias
19510 build=$build
19511 build_os=$build_os
19512
19513 # An echo program that does not interpret backslashes.
19514 echo=$lt_echo
19515
19516 # The archiver.
19517 AR=$lt_AR
19518 AR_FLAGS=$lt_AR_FLAGS
19519
19520 # A C compiler.
19521 LTCC=$lt_LTCC
19522
19523 # LTCC compiler flags.
19524 LTCFLAGS=$lt_LTCFLAGS
19525
19526 # A language-specific compiler.
19527 CC=$lt_compiler_RC
19528
19529 # Is the compiler the GNU C compiler?
19530 with_gcc=$GCC_RC
19531
19532 # An ERE matcher.
19533 EGREP=$lt_EGREP
19534
19535 # The linker used to build libraries.
19536 LD=$lt_LD_RC
19537
19538 # Whether we need hard or soft links.
19539 LN_S=$lt_LN_S
19540
19541 # A BSD-compatible nm program.
19542 NM=$lt_NM
19543
19544 # A symbol stripping program
19545 STRIP=$lt_STRIP
19546
19547 # Used to examine libraries when file_magic_cmd begins "file"
19548 MAGIC_CMD=$MAGIC_CMD
19549
19550 # Used on cygwin: DLL creation program.
19551 DLLTOOL="$DLLTOOL"
19552
19553 # Used on cygwin: object dumper.
19554 OBJDUMP="$OBJDUMP"
19555
19556 # Used on cygwin: assembler.
19557 AS="$AS"
19558
19559 # The name of the directory that contains temporary libtool files.
19560 objdir=$objdir
19561
19562 # How to create reloadable object files.
19563 reload_flag=$lt_reload_flag
19564 reload_cmds=$lt_reload_cmds
19565
19566 # How to pass a linker flag through the compiler.
19567 wl=$lt_lt_prog_compiler_wl_RC
19568
19569 # Object file suffix (normally "o").
19570 objext="$ac_objext"
19571
19572 # Old archive suffix (normally "a").
19573 libext="$libext"
19574
19575 # Shared library suffix (normally ".so").
19576 shrext_cmds='$shrext_cmds'
19577
19578 # Executable file suffix (normally "").
19579 exeext="$exeext"
19580
19581 # Additional compiler flags for building library objects.
19582 pic_flag=$lt_lt_prog_compiler_pic_RC
19583 pic_mode=$pic_mode
19584
19585 # What is the maximum length of a command?
19586 max_cmd_len=$lt_cv_sys_max_cmd_len
19587
19588 # Does compiler simultaneously support -c and -o options?
19589 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19590
19591 # Must we lock files when doing compilation?
19592 need_locks=$lt_need_locks
19593
19594 # Do we need the lib prefix for modules?
19595 need_lib_prefix=$need_lib_prefix
19596
19597 # Do we need a version for libraries?
19598 need_version=$need_version
19599
19600 # Whether dlopen is supported.
19601 dlopen_support=$enable_dlopen
19602
19603 # Whether dlopen of programs is supported.
19604 dlopen_self=$enable_dlopen_self
19605
19606 # Whether dlopen of statically linked programs is supported.
19607 dlopen_self_static=$enable_dlopen_self_static
19608
19609 # Compiler flag to prevent dynamic linking.
19610 link_static_flag=$lt_lt_prog_compiler_static_RC
19611
19612 # Compiler flag to turn off builtin functions.
19613 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19614
19615 # Compiler flag to allow reflexive dlopens.
19616 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19617
19618 # Compiler flag to generate shared objects directly from archives.
19619 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19620
19621 # Compiler flag to generate thread-safe objects.
19622 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19623
19624 # Library versioning type.
19625 version_type=$version_type
19626
19627 # Format of library name prefix.
19628 libname_spec=$lt_libname_spec
19629
19630 # List of archive names.  First name is the real one, the rest are links.
19631 # The last name is the one that the linker finds with -lNAME.
19632 library_names_spec=$lt_library_names_spec
19633
19634 # The coded name of the library, if different from the real name.
19635 soname_spec=$lt_soname_spec
19636
19637 # Commands used to build and install an old-style archive.
19638 RANLIB=$lt_RANLIB
19639 old_archive_cmds=$lt_old_archive_cmds_RC
19640 old_postinstall_cmds=$lt_old_postinstall_cmds
19641 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19642
19643 # Create an old-style archive from a shared archive.
19644 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19645
19646 # Create a temporary old-style archive to link instead of a shared archive.
19647 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19648
19649 # Commands used to build and install a shared archive.
19650 archive_cmds=$lt_archive_cmds_RC
19651 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19652 postinstall_cmds=$lt_postinstall_cmds
19653 postuninstall_cmds=$lt_postuninstall_cmds
19654
19655 # Commands used to build a loadable module (assumed same as above if empty)
19656 module_cmds=$lt_module_cmds_RC
19657 module_expsym_cmds=$lt_module_expsym_cmds_RC
19658
19659 # Commands to strip libraries.
19660 old_striplib=$lt_old_striplib
19661 striplib=$lt_striplib
19662
19663 # Dependencies to place before the objects being linked to create a
19664 # shared library.
19665 predep_objects=$lt_predep_objects_RC
19666
19667 # Dependencies to place after the objects being linked to create a
19668 # shared library.
19669 postdep_objects=$lt_postdep_objects_RC
19670
19671 # Dependencies to place before the objects being linked to create a
19672 # shared library.
19673 predeps=$lt_predeps_RC
19674
19675 # Dependencies to place after the objects being linked to create a
19676 # shared library.
19677 postdeps=$lt_postdeps_RC
19678
19679 # The library search path used internally by the compiler when linking
19680 # a shared library.
19681 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19682
19683 # Method to check whether dependent libraries are shared objects.
19684 deplibs_check_method=$lt_deplibs_check_method
19685
19686 # Command to use when deplibs_check_method == file_magic.
19687 file_magic_cmd=$lt_file_magic_cmd
19688
19689 # Flag that allows shared libraries with undefined symbols to be built.
19690 allow_undefined_flag=$lt_allow_undefined_flag_RC
19691
19692 # Flag that forces no undefined symbols.
19693 no_undefined_flag=$lt_no_undefined_flag_RC
19694
19695 # Commands used to finish a libtool library installation in a directory.
19696 finish_cmds=$lt_finish_cmds
19697
19698 # Same as above, but a single script fragment to be evaled but not shown.
19699 finish_eval=$lt_finish_eval
19700
19701 # Take the output of nm and produce a listing of raw symbols and C names.
19702 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19703
19704 # Transform the output of nm in a proper C declaration
19705 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19706
19707 # Transform the output of nm in a C name address pair
19708 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19709
19710 # This is the shared library runtime path variable.
19711 runpath_var=$runpath_var
19712
19713 # This is the shared library path variable.
19714 shlibpath_var=$shlibpath_var
19715
19716 # Is shlibpath searched before the hard-coded library search path?
19717 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19718
19719 # How to hardcode a shared library path into an executable.
19720 hardcode_action=$hardcode_action_RC
19721
19722 # Whether we should hardcode library paths into libraries.
19723 hardcode_into_libs=$hardcode_into_libs
19724
19725 # Flag to hardcode \$libdir into a binary during linking.
19726 # This must work even if \$libdir does not exist.
19727 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19728
19729 # If ld is used when linking, flag to hardcode \$libdir into
19730 # a binary during linking. This must work even if \$libdir does
19731 # not exist.
19732 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19733
19734 # Whether we need a single -rpath flag with a separated argument.
19735 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19736
19737 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19738 # resulting binary.
19739 hardcode_direct=$hardcode_direct_RC
19740
19741 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19742 # resulting binary.
19743 hardcode_minus_L=$hardcode_minus_L_RC
19744
19745 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19746 # the resulting binary.
19747 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19748
19749 # Set to yes if building a shared library automatically hardcodes DIR into the library
19750 # and all subsequent libraries and executables linked against it.
19751 hardcode_automatic=$hardcode_automatic_RC
19752
19753 # Variables whose values should be saved in libtool wrapper scripts and
19754 # restored at relink time.
19755 variables_saved_for_relink="$variables_saved_for_relink"
19756
19757 # Whether libtool must link a program against all its dependency libraries.
19758 link_all_deplibs=$link_all_deplibs_RC
19759
19760 # Compile-time system search path for libraries
19761 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19762
19763 # Run-time system search path for libraries
19764 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19765
19766 # Fix the shell variable \$srcfile for the compiler.
19767 fix_srcfile_path="$fix_srcfile_path_RC"
19768
19769 # Set to yes if exported symbols are required.
19770 always_export_symbols=$always_export_symbols_RC
19771
19772 # The commands to list exported symbols.
19773 export_symbols_cmds=$lt_export_symbols_cmds_RC
19774
19775 # The commands to extract the exported symbol list from a shared archive.
19776 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19777
19778 # Symbols that should not be listed in the preloaded symbols.
19779 exclude_expsyms=$lt_exclude_expsyms_RC
19780
19781 # Symbols that must always be exported.
19782 include_expsyms=$lt_include_expsyms_RC
19783
19784 # ### END LIBTOOL TAG CONFIG: $tagname
19785
19786 __EOF__
19787
19788
19789 else
19790   # If there is no Makefile yet, we rely on a make rule to execute
19791   # `config.status --recheck' to rerun these tests and create the
19792   # libtool script then.
19793   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19794   if test -f "$ltmain_in"; then
19795     test -f Makefile && make "$ltmain"
19796   fi
19797 fi
19798
19799
19800 ac_ext=c
19801 ac_cpp='$CPP $CPPFLAGS'
19802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19805
19806 CC="$lt_save_CC"
19807
19808         ;;
19809
19810       *)
19811         { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19812 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19813    { (exit 1); exit 1; }; }
19814         ;;
19815       esac
19816
19817       # Append the new tag name to the list of available tags.
19818       if test -n "$tagname" ; then
19819       available_tags="$available_tags $tagname"
19820     fi
19821     fi
19822   done
19823   IFS="$lt_save_ifs"
19824
19825   # Now substitute the updated list of available tags.
19826   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19827     mv "${ofile}T" "$ofile"
19828     chmod +x "$ofile"
19829   else
19830     rm -f "${ofile}T"
19831     { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19832 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19833    { (exit 1); exit 1; }; }
19834   fi
19835 fi
19836
19837
19838
19839 # This can be used to rebuild libtool when needed
19840 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
19841
19842 # Always use our own libtool.
19843 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
19844
19845 # Prevent multiple expansion
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
19862
19863
19864
19865
19866
19867
19868 for ac_prog in gm4 m4
19869 do
19870   # Extract the first word of "$ac_prog", so it can be a program name with args.
19871 set dummy $ac_prog; ac_word=$2
19872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19874 if test "${ac_cv_prog_M4+set}" = set; then
19875   echo $ECHO_N "(cached) $ECHO_C" >&6
19876 else
19877   if test -n "$M4"; then
19878   ac_cv_prog_M4="$M4" # Let the user override the test.
19879 else
19880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19881 for as_dir in $PATH
19882 do
19883   IFS=$as_save_IFS
19884   test -z "$as_dir" && as_dir=.
19885   for ac_exec_ext in '' $ac_executable_extensions; do
19886   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19887     ac_cv_prog_M4="$ac_prog"
19888     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19889     break 2
19890   fi
19891 done
19892 done
19893 IFS=$as_save_IFS
19894
19895 fi
19896 fi
19897 M4=$ac_cv_prog_M4
19898 if test -n "$M4"; then
19899   { echo "$as_me:$LINENO: result: $M4" >&5
19900 echo "${ECHO_T}$M4" >&6; }
19901 else
19902   { echo "$as_me:$LINENO: result: no" >&5
19903 echo "${ECHO_T}no" >&6; }
19904 fi
19905
19906
19907   test -n "$M4" && break
19908 done
19909 test -n "$M4" || M4="m4"
19910
19911
19912 if test "$M4" = "m4"; then
19913   { echo "$as_me:$LINENO: checking whether m4 is GNU m4" >&5
19914 echo $ECHO_N "checking whether m4 is GNU m4... $ECHO_C" >&6; }
19915   if $M4 --version </dev/null 2>/dev/null | grep '^GNU Mm4 ' >/dev/null ; then
19916     { echo "$as_me:$LINENO: result: yes" >&5
19917 echo "${ECHO_T}yes" >&6; }
19918   else
19919     { echo "$as_me:$LINENO: result: no" >&5
19920 echo "${ECHO_T}no" >&6; }
19921     if test "$host_vendor" = "sun"; then
19922       { { echo "$as_me:$LINENO: error: SUN m4 does not work for building gtkmm.
19923 Please install GNU m4." >&5
19924 echo "$as_me: error: SUN m4 does not work for building gtkmm.
19925 Please install GNU m4." >&2;}
19926    { (exit 1); exit 1; }; }
19927     fi
19928   fi
19929 fi
19930
19931
19932
19933 { echo "$as_me:$LINENO: checking whether make is GNU Make" >&5
19934 echo $ECHO_N "checking whether make is GNU Make... $ECHO_C" >&6; }
19935 if $ac_make --version 2>/dev/null | grep '^GNU Make ' >/dev/null ; then
19936         { echo "$as_me:$LINENO: result: yes" >&5
19937 echo "${ECHO_T}yes" >&6; }
19938 else
19939         { echo "$as_me:$LINENO: result: no" >&5
19940 echo "${ECHO_T}no" >&6; }
19941         if test "$host_vendor" = "sun" ; then
19942            { { echo "$as_me:$LINENO: error: SUN make does not work for building gtkmm.
19943 Please install GNU make." >&5
19944 echo "$as_me: error: SUN make does not work for building gtkmm.
19945 Please install GNU make." >&2;}
19946    { (exit 1); exit 1; }; }
19947         fi
19948 fi
19949
19950
19951 # This macro is installed by glibmm
19952 # Doxygen needs the path to the installed perl.
19953
19954   glibmm_perl_result=no
19955
19956   for ac_prog in perl perl5
19957 do
19958   # Extract the first word of "$ac_prog", so it can be a program name with args.
19959 set dummy $ac_prog; ac_word=$2
19960 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19962 if test "${ac_cv_path_PERL_PATH+set}" = set; then
19963   echo $ECHO_N "(cached) $ECHO_C" >&6
19964 else
19965   case $PERL_PATH in
19966   [\\/]* | ?:[\\/]*)
19967   ac_cv_path_PERL_PATH="$PERL_PATH" # Let the user override the test with a path.
19968   ;;
19969   *)
19970   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19971 for as_dir in $PATH
19972 do
19973   IFS=$as_save_IFS
19974   test -z "$as_dir" && as_dir=.
19975   for ac_exec_ext in '' $ac_executable_extensions; do
19976   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19977     ac_cv_path_PERL_PATH="$as_dir/$ac_word$ac_exec_ext"
19978     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19979     break 2
19980   fi
19981 done
19982 done
19983 IFS=$as_save_IFS
19984
19985   ;;
19986 esac
19987 fi
19988 PERL_PATH=$ac_cv_path_PERL_PATH
19989 if test -n "$PERL_PATH"; then
19990   { echo "$as_me:$LINENO: result: $PERL_PATH" >&5
19991 echo "${ECHO_T}$PERL_PATH" >&6; }
19992 else
19993   { echo "$as_me:$LINENO: result: no" >&5
19994 echo "${ECHO_T}no" >&6; }
19995 fi
19996
19997
19998   test -n "$PERL_PATH" && break
19999 done
20000 test -n "$PERL_PATH" || PERL_PATH="not found"
20001
20002
20003   if test "x$PERL_PATH" != "xnot found"; then
20004   {
20005     { echo "$as_me:$LINENO: checking whether Perl is new enough" >&5
20006 echo $ECHO_N "checking whether Perl is new enough... $ECHO_C" >&6; }
20007 if test "${glibmm_cv_perl_version_5_6_0+set}" = set; then
20008   echo $ECHO_N "(cached) $ECHO_C" >&6
20009 else
20010
20011       glibmm_cv_perl_version_5_6_0=no
20012       "$PERL_PATH" -e "require v5.6.0; exit 0;" >/dev/null 2>&1 && glibmm_cv_perl_version_5_6_0=yes
20013
20014 fi
20015 { echo "$as_me:$LINENO: result: $glibmm_cv_perl_version_5_6_0" >&5
20016 echo "${ECHO_T}$glibmm_cv_perl_version_5_6_0" >&6; }
20017     test "x${glibmm_cv_perl_version_5_6_0}" = xyes && glibmm_perl_result=yes
20018   }
20019   else
20020   {
20021     # Make sure we have something sensible, even if it doesn't work.
20022     PERL_PATH=perl
20023   }
20024   fi
20025
20026   if test "x$glibmm_perl_result" = xno && test "x$USE_MAINTAINER_MODE" = xyes; then
20027   {
20028     { { echo "$as_me:$LINENO: error:
20029 *** Perl >= 5.6.0 is required for building $PACKAGE in maintainer-mode.
20030 " >&5
20031 echo "$as_me: error:
20032 *** Perl >= 5.6.0 is required for building $PACKAGE in maintainer-mode.
20033 " >&2;}
20034    { (exit 1); exit 1; }; }
20035   }
20036   fi
20037
20038
20039
20040
20041 #########################################################################
20042 #  Function checks
20043 #########################################################################
20044
20045 { echo "$as_me:$LINENO: checking for mkfifo" >&5
20046 echo $ECHO_N "checking for mkfifo... $ECHO_C" >&6; }
20047 if test "${ac_cv_func_mkfifo+set}" = set; then
20048   echo $ECHO_N "(cached) $ECHO_C" >&6
20049 else
20050   cat >conftest.$ac_ext <<_ACEOF
20051 /* confdefs.h.  */
20052 _ACEOF
20053 cat confdefs.h >>conftest.$ac_ext
20054 cat >>conftest.$ac_ext <<_ACEOF
20055 /* end confdefs.h.  */
20056 /* Define mkfifo to an innocuous variant, in case <limits.h> declares mkfifo.
20057    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20058 #define mkfifo innocuous_mkfifo
20059
20060 /* System header to define __stub macros and hopefully few prototypes,
20061     which can conflict with char mkfifo (); below.
20062     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20063     <limits.h> exists even on freestanding compilers.  */
20064
20065 #ifdef __STDC__
20066 # include <limits.h>
20067 #else
20068 # include <assert.h>
20069 #endif
20070
20071 #undef mkfifo
20072
20073 /* Override any GCC internal prototype to avoid an error.
20074    Use char because int might match the return type of a GCC
20075    builtin and then its argument prototype would still apply.  */
20076 #ifdef __cplusplus
20077 extern "C"
20078 #endif
20079 char mkfifo ();
20080 /* The GNU C library defines this for functions which it implements
20081     to always fail with ENOSYS.  Some functions are actually named
20082     something starting with __ and the normal name is an alias.  */
20083 #if defined __stub_mkfifo || defined __stub___mkfifo
20084 choke me
20085 #endif
20086
20087 int
20088 main ()
20089 {
20090 return mkfifo ();
20091   ;
20092   return 0;
20093 }
20094 _ACEOF
20095 rm -f conftest.$ac_objext conftest$ac_exeext
20096 if { (ac_try="$ac_link"
20097 case "(($ac_try" in
20098   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20099   *) ac_try_echo=$ac_try;;
20100 esac
20101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20102   (eval "$ac_link") 2>conftest.er1
20103   ac_status=$?
20104   grep -v '^ *+' conftest.er1 >conftest.err
20105   rm -f conftest.er1
20106   cat conftest.err >&5
20107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20108   (exit $ac_status); } && {
20109          test -z "$ac_c_werror_flag" ||
20110          test ! -s conftest.err
20111        } && test -s conftest$ac_exeext &&
20112        $as_test_x conftest$ac_exeext; then
20113   ac_cv_func_mkfifo=yes
20114 else
20115   echo "$as_me: failed program was:" >&5
20116 sed 's/^/| /' conftest.$ac_ext >&5
20117
20118         ac_cv_func_mkfifo=no
20119 fi
20120
20121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20122       conftest$ac_exeext conftest.$ac_ext
20123 fi
20124 { echo "$as_me:$LINENO: result: $ac_cv_func_mkfifo" >&5
20125 echo "${ECHO_T}$ac_cv_func_mkfifo" >&6; }
20126 if test $ac_cv_func_mkfifo = yes; then
20127   cat >>confdefs.h <<\_ACEOF
20128 #define HAVE_MKFIFO 1
20129 _ACEOF
20130
20131 fi
20132
20133
20134 # functions used in demos/gtk-demo. Undefined in config.h.
20135 ac_ext=cpp
20136 ac_cpp='$CXXCPP $CPPFLAGS'
20137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20140
20141 { echo "$as_me:$LINENO: checking for flockfile" >&5
20142 echo $ECHO_N "checking for flockfile... $ECHO_C" >&6; }
20143 cat >conftest.$ac_ext <<_ACEOF
20144 /* confdefs.h.  */
20145 _ACEOF
20146 cat confdefs.h >>conftest.$ac_ext
20147 cat >>conftest.$ac_ext <<_ACEOF
20148 /* end confdefs.h.  */
20149
20150 #include <stdio.h>
20151 int
20152 main ()
20153 {
20154
20155 flockfile (NULL);
20156   ;
20157   return 0;
20158 }
20159 _ACEOF
20160 rm -f conftest.$ac_objext conftest$ac_exeext
20161 if { (ac_try="$ac_link"
20162 case "(($ac_try" in
20163   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20164   *) ac_try_echo=$ac_try;;
20165 esac
20166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20167   (eval "$ac_link") 2>conftest.er1
20168   ac_status=$?
20169   grep -v '^ *+' conftest.er1 >conftest.err
20170   rm -f conftest.er1
20171   cat conftest.err >&5
20172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20173   (exit $ac_status); } && {
20174          test -z "$ac_cxx_werror_flag" ||
20175          test ! -s conftest.err
20176        } && test -s conftest$ac_exeext &&
20177        $as_test_x conftest$ac_exeext; then
20178
20179   { echo "$as_me:$LINENO: result: yes" >&5
20180 echo "${ECHO_T}yes" >&6; }
20181
20182 cat >>confdefs.h <<\_ACEOF
20183 #define HAVE_FLOCKFILE 1
20184 _ACEOF
20185
20186 else
20187   echo "$as_me: failed program was:" >&5
20188 sed 's/^/| /' conftest.$ac_ext >&5
20189
20190
20191   { echo "$as_me:$LINENO: result: no" >&5
20192 echo "${ECHO_T}no" >&6; }
20193   { echo "$as_me:$LINENO: checking for flockfile with a custom prototype" >&5
20194 echo $ECHO_N "checking for flockfile with a custom prototype... $ECHO_C" >&6; }
20195   cat >conftest.$ac_ext <<_ACEOF
20196 /* confdefs.h.  */
20197 _ACEOF
20198 cat confdefs.h >>conftest.$ac_ext
20199 cat >>conftest.$ac_ext <<_ACEOF
20200 /* end confdefs.h.  */
20201
20202 #include <stdio.h>
20203
20204 extern "C" void flockfile (FILE *);
20205 int
20206 main ()
20207 {
20208
20209 flockfile (NULL);
20210   ;
20211   return 0;
20212 }
20213 _ACEOF
20214 rm -f conftest.$ac_objext conftest$ac_exeext
20215 if { (ac_try="$ac_link"
20216 case "(($ac_try" in
20217   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20218   *) ac_try_echo=$ac_try;;
20219 esac
20220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20221   (eval "$ac_link") 2>conftest.er1
20222   ac_status=$?
20223   grep -v '^ *+' conftest.er1 >conftest.err
20224   rm -f conftest.er1
20225   cat conftest.err >&5
20226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20227   (exit $ac_status); } && {
20228          test -z "$ac_cxx_werror_flag" ||
20229          test ! -s conftest.err
20230        } && test -s conftest$ac_exeext &&
20231        $as_test_x conftest$ac_exeext; then
20232
20233     { echo "$as_me:$LINENO: result: yes" >&5
20234 echo "${ECHO_T}yes" >&6; }
20235
20236 cat >>confdefs.h <<\_ACEOF
20237 #define HAVE_FLOCKFILE 1
20238 _ACEOF
20239
20240
20241 cat >>confdefs.h <<\_ACEOF
20242 #define NEED_FLOCKFILE_PROTO 1
20243 _ACEOF
20244
20245 else
20246   echo "$as_me: failed program was:" >&5
20247 sed 's/^/| /' conftest.$ac_ext >&5
20248
20249
20250     { echo "$as_me:$LINENO: result: not available" >&5
20251 echo "${ECHO_T}not available" >&6; }
20252 fi
20253
20254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20255       conftest$ac_exeext conftest.$ac_ext
20256 fi
20257
20258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20259       conftest$ac_exeext conftest.$ac_ext
20260
20261 { echo "$as_me:$LINENO: checking for funlockfile" >&5
20262 echo $ECHO_N "checking for funlockfile... $ECHO_C" >&6; }
20263 cat >conftest.$ac_ext <<_ACEOF
20264 /* confdefs.h.  */
20265 _ACEOF
20266 cat confdefs.h >>conftest.$ac_ext
20267 cat >>conftest.$ac_ext <<_ACEOF
20268 /* end confdefs.h.  */
20269
20270 #include <stdio.h>
20271 int
20272 main ()
20273 {
20274
20275 funlockfile (NULL);
20276   ;
20277   return 0;
20278 }
20279 _ACEOF
20280 rm -f conftest.$ac_objext conftest$ac_exeext
20281 if { (ac_try="$ac_link"
20282 case "(($ac_try" in
20283   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20284   *) ac_try_echo=$ac_try;;
20285 esac
20286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20287   (eval "$ac_link") 2>conftest.er1
20288   ac_status=$?
20289   grep -v '^ *+' conftest.er1 >conftest.err
20290   rm -f conftest.er1
20291   cat conftest.err >&5
20292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293   (exit $ac_status); } && {
20294          test -z "$ac_cxx_werror_flag" ||
20295          test ! -s conftest.err
20296        } && test -s conftest$ac_exeext &&
20297        $as_test_x conftest$ac_exeext; then
20298
20299   { echo "$as_me:$LINENO: result: yes" >&5
20300 echo "${ECHO_T}yes" >&6; }
20301
20302 cat >>confdefs.h <<\_ACEOF
20303 #define HAVE_FUNLOCKFILE 1
20304 _ACEOF
20305
20306 else
20307   echo "$as_me: failed program was:" >&5
20308 sed 's/^/| /' conftest.$ac_ext >&5
20309
20310
20311   { echo "$as_me:$LINENO: result: no" >&5
20312 echo "${ECHO_T}no" >&6; }
20313   { echo "$as_me:$LINENO: checking for funlockfile with a custom prototype" >&5
20314 echo $ECHO_N "checking for funlockfile with a custom prototype... $ECHO_C" >&6; }
20315   cat >conftest.$ac_ext <<_ACEOF
20316 /* confdefs.h.  */
20317 _ACEOF
20318 cat confdefs.h >>conftest.$ac_ext
20319 cat >>conftest.$ac_ext <<_ACEOF
20320 /* end confdefs.h.  */
20321
20322 #include <stdio.h>
20323
20324 extern "C" void funlockfile (FILE *);
20325 int
20326 main ()
20327 {
20328
20329 funlockfile (NULL);
20330   ;
20331   return 0;
20332 }
20333 _ACEOF
20334 rm -f conftest.$ac_objext conftest$ac_exeext
20335 if { (ac_try="$ac_link"
20336 case "(($ac_try" in
20337   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20338   *) ac_try_echo=$ac_try;;
20339 esac
20340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20341   (eval "$ac_link") 2>conftest.er1
20342   ac_status=$?
20343   grep -v '^ *+' conftest.er1 >conftest.err
20344   rm -f conftest.er1
20345   cat conftest.err >&5
20346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20347   (exit $ac_status); } && {
20348          test -z "$ac_cxx_werror_flag" ||
20349          test ! -s conftest.err
20350        } && test -s conftest$ac_exeext &&
20351        $as_test_x conftest$ac_exeext; then
20352
20353     { echo "$as_me:$LINENO: result: yes" >&5
20354 echo "${ECHO_T}yes" >&6; }
20355
20356 cat >>confdefs.h <<\_ACEOF
20357 #define HAVE_FUNLOCKFILE 1
20358 _ACEOF
20359
20360
20361 cat >>confdefs.h <<\_ACEOF
20362 #define NEED_FUNLOCKFILE_PROTO 1
20363 _ACEOF
20364
20365 else
20366   echo "$as_me: failed program was:" >&5
20367 sed 's/^/| /' conftest.$ac_ext >&5
20368
20369
20370     { echo "$as_me:$LINENO: result: not available" >&5
20371 echo "${ECHO_T}not available" >&6; }
20372 fi
20373
20374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20375       conftest$ac_exeext conftest.$ac_ext
20376 fi
20377
20378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20379       conftest$ac_exeext conftest.$ac_ext
20380
20381 { echo "$as_me:$LINENO: checking for getc_unlocked" >&5
20382 echo $ECHO_N "checking for getc_unlocked... $ECHO_C" >&6; }
20383 cat >conftest.$ac_ext <<_ACEOF
20384 /* confdefs.h.  */
20385 _ACEOF
20386 cat confdefs.h >>conftest.$ac_ext
20387 cat >>conftest.$ac_ext <<_ACEOF
20388 /* end confdefs.h.  */
20389
20390 #include <stdio.h>
20391 int
20392 main ()
20393 {
20394
20395 getc_unlocked (NULL);
20396   ;
20397   return 0;
20398 }
20399 _ACEOF
20400 rm -f conftest.$ac_objext conftest$ac_exeext
20401 if { (ac_try="$ac_link"
20402 case "(($ac_try" in
20403   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20404   *) ac_try_echo=$ac_try;;
20405 esac
20406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20407   (eval "$ac_link") 2>conftest.er1
20408   ac_status=$?
20409   grep -v '^ *+' conftest.er1 >conftest.err
20410   rm -f conftest.er1
20411   cat conftest.err >&5
20412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20413   (exit $ac_status); } && {
20414          test -z "$ac_cxx_werror_flag" ||
20415          test ! -s conftest.err
20416        } && test -s conftest$ac_exeext &&
20417        $as_test_x conftest$ac_exeext; then
20418
20419   { echo "$as_me:$LINENO: result: yes" >&5
20420 echo "${ECHO_T}yes" >&6; }
20421
20422 cat >>confdefs.h <<\_ACEOF
20423 #define HAVE_GETC_UNLOCKED 1
20424 _ACEOF
20425
20426 else
20427   echo "$as_me: failed program was:" >&5
20428 sed 's/^/| /' conftest.$ac_ext >&5
20429
20430
20431   { echo "$as_me:$LINENO: result: no" >&5
20432 echo "${ECHO_T}no" >&6; }
20433   { echo "$as_me:$LINENO: checking for getc_unlocked with a custom prototype" >&5
20434 echo $ECHO_N "checking for getc_unlocked with a custom prototype... $ECHO_C" >&6; }
20435   cat >conftest.$ac_ext <<_ACEOF
20436 /* confdefs.h.  */
20437 _ACEOF
20438 cat confdefs.h >>conftest.$ac_ext
20439 cat >>conftest.$ac_ext <<_ACEOF
20440 /* end confdefs.h.  */
20441
20442 #include <stdio.h>
20443
20444 extern "C" int getc_unlocked (FILE *);
20445 int
20446 main ()
20447 {
20448
20449 getc_unlocked (NULL);
20450   ;
20451   return 0;
20452 }
20453 _ACEOF
20454 rm -f conftest.$ac_objext conftest$ac_exeext
20455 if { (ac_try="$ac_link"
20456 case "(($ac_try" in
20457   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20458   *) ac_try_echo=$ac_try;;
20459 esac
20460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20461   (eval "$ac_link") 2>conftest.er1
20462   ac_status=$?
20463   grep -v '^ *+' conftest.er1 >conftest.err
20464   rm -f conftest.er1
20465   cat conftest.err >&5
20466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20467   (exit $ac_status); } && {
20468          test -z "$ac_cxx_werror_flag" ||
20469          test ! -s conftest.err
20470        } && test -s conftest$ac_exeext &&
20471        $as_test_x conftest$ac_exeext; then
20472
20473     { echo "$as_me:$LINENO: result: yes" >&5
20474 echo "${ECHO_T}yes" >&6; }
20475
20476 cat >>confdefs.h <<\_ACEOF
20477 #define HAVE_GETC_UNLOCKED 1
20478 _ACEOF
20479
20480
20481 cat >>confdefs.h <<\_ACEOF
20482 #define NEED_GETC_UNLOCKED_PROTO 1
20483 _ACEOF
20484
20485 else
20486   echo "$as_me: failed program was:" >&5
20487 sed 's/^/| /' conftest.$ac_ext >&5
20488
20489
20490     { echo "$as_me:$LINENO: result: not available" >&5
20491 echo "${ECHO_T}not available" >&6; }
20492 fi
20493
20494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20495       conftest$ac_exeext conftest.$ac_ext
20496 fi
20497
20498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20499       conftest$ac_exeext conftest.$ac_ext
20500 ac_ext=c
20501 ac_cpp='$CPP $CPPFLAGS'
20502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20505
20506
20507 #########################################################################
20508 #  Dependancy checks
20509 #########################################################################
20510 gtkmm_min_glibmm_version=2.14.1
20511 gtkmm_min_gtk_version=2.12.0
20512 gtkmm_min_cairomm_version=1.1.12
20513
20514
20515 GLIBMM_LIBDIR=`pkg-config --variable=libdir glibmm-2.4`
20516 GMMPROC_DIR=$GLIBMM_LIBDIR/glibmm-2.4/proc
20517
20518 GMMPROC=$GMMPROC_DIR/gmmproc
20519
20520
20521
20522
20523
20524 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
20525         if test -n "$ac_tool_prefix"; then
20526   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20527 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
20528 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20530 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20531   echo $ECHO_N "(cached) $ECHO_C" >&6
20532 else
20533   case $PKG_CONFIG in
20534   [\\/]* | ?:[\\/]*)
20535   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20536   ;;
20537   *)
20538   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20539 for as_dir in $PATH
20540 do
20541   IFS=$as_save_IFS
20542   test -z "$as_dir" && as_dir=.
20543   for ac_exec_ext in '' $ac_executable_extensions; do
20544   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20545     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20546     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20547     break 2
20548   fi
20549 done
20550 done
20551 IFS=$as_save_IFS
20552
20553   ;;
20554 esac
20555 fi
20556 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20557 if test -n "$PKG_CONFIG"; then
20558   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20559 echo "${ECHO_T}$PKG_CONFIG" >&6; }
20560 else
20561   { echo "$as_me:$LINENO: result: no" >&5
20562 echo "${ECHO_T}no" >&6; }
20563 fi
20564
20565
20566 fi
20567 if test -z "$ac_cv_path_PKG_CONFIG"; then
20568   ac_pt_PKG_CONFIG=$PKG_CONFIG
20569   # Extract the first word of "pkg-config", so it can be a program name with args.
20570 set dummy pkg-config; ac_word=$2
20571 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20573 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
20574   echo $ECHO_N "(cached) $ECHO_C" >&6
20575 else
20576   case $ac_pt_PKG_CONFIG in
20577   [\\/]* | ?:[\\/]*)
20578   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20579   ;;
20580   *)
20581   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20582 for as_dir in $PATH
20583 do
20584   IFS=$as_save_IFS
20585   test -z "$as_dir" && as_dir=.
20586   for ac_exec_ext in '' $ac_executable_extensions; do
20587   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20588     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20589     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20590     break 2
20591   fi
20592 done
20593 done
20594 IFS=$as_save_IFS
20595
20596   ;;
20597 esac
20598 fi
20599 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
20600 if test -n "$ac_pt_PKG_CONFIG"; then
20601   { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
20602 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
20603 else
20604   { echo "$as_me:$LINENO: result: no" >&5
20605 echo "${ECHO_T}no" >&6; }
20606 fi
20607
20608   if test "x$ac_pt_PKG_CONFIG" = x; then
20609     PKG_CONFIG=""
20610   else
20611     case $cross_compiling:$ac_tool_warned in
20612 yes:)
20613 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20614 whose name does not start with the host triplet.  If you think this
20615 configuration is useful to you, please write to autoconf@gnu.org." >&5
20616 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20617 whose name does not start with the host triplet.  If you think this
20618 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20619 ac_tool_warned=yes ;;
20620 esac
20621     PKG_CONFIG=$ac_pt_PKG_CONFIG
20622   fi
20623 else
20624   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
20625 fi
20626
20627 fi
20628 if test -n "$PKG_CONFIG"; then
20629         _pkg_min_version=0.9.0
20630         { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
20631 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
20632         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
20633                 { echo "$as_me:$LINENO: result: yes" >&5
20634 echo "${ECHO_T}yes" >&6; }
20635         else
20636                 { echo "$as_me:$LINENO: result: no" >&5
20637 echo "${ECHO_T}no" >&6; }
20638                 PKG_CONFIG=""
20639         fi
20640
20641 fi
20642
20643 pkg_failed=no
20644 { echo "$as_me:$LINENO: checking for ATKMM" >&5
20645 echo $ECHO_N "checking for ATKMM... $ECHO_C" >&6; }
20646
20647 if test -n "$PKG_CONFIG"; then
20648     if test -n "$ATKMM_CFLAGS"; then
20649         pkg_cv_ATKMM_CFLAGS="$ATKMM_CFLAGS"
20650     else
20651         if test -n "$PKG_CONFIG" && \
20652     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glibmm-2.4 >= \${gtkmm_min_glibmm_version} atk >= 1.9.0\"") >&5
20653   ($PKG_CONFIG --exists --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} atk >= 1.9.0") 2>&5
20654   ac_status=$?
20655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20656   (exit $ac_status); }; then
20657   pkg_cv_ATKMM_CFLAGS=`$PKG_CONFIG --cflags "glibmm-2.4 >= ${gtkmm_min_glibmm_version} atk >= 1.9.0" 2>/dev/null`
20658 else
20659   pkg_failed=yes
20660 fi
20661     fi
20662 else
20663         pkg_failed=untried
20664 fi
20665 if test -n "$PKG_CONFIG"; then
20666     if test -n "$ATKMM_LIBS"; then
20667         pkg_cv_ATKMM_LIBS="$ATKMM_LIBS"
20668     else
20669         if test -n "$PKG_CONFIG" && \
20670     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glibmm-2.4 >= \${gtkmm_min_glibmm_version} atk >= 1.9.0\"") >&5
20671   ($PKG_CONFIG --exists --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} atk >= 1.9.0") 2>&5
20672   ac_status=$?
20673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20674   (exit $ac_status); }; then
20675   pkg_cv_ATKMM_LIBS=`$PKG_CONFIG --libs "glibmm-2.4 >= ${gtkmm_min_glibmm_version} atk >= 1.9.0" 2>/dev/null`
20676 else
20677   pkg_failed=yes
20678 fi
20679     fi
20680 else
20681         pkg_failed=untried
20682 fi
20683
20684
20685
20686 if test $pkg_failed = yes; then
20687
20688 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20689         _pkg_short_errors_supported=yes
20690 else
20691         _pkg_short_errors_supported=no
20692 fi
20693         if test $_pkg_short_errors_supported = yes; then
20694                 ATKMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} atk >= 1.9.0"`
20695         else
20696                 ATKMM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} atk >= 1.9.0"`
20697         fi
20698         # Put the nasty error message in config.log where it belongs
20699         echo "$ATKMM_PKG_ERRORS" >&5
20700
20701         { { echo "$as_me:$LINENO: error: Package requirements (glibmm-2.4 >= ${gtkmm_min_glibmm_version} atk >= 1.9.0) were not met:
20702
20703 $ATKMM_PKG_ERRORS
20704
20705 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20706 installed software in a non-standard prefix.
20707
20708 Alternatively, you may set the environment variables ATKMM_CFLAGS
20709 and ATKMM_LIBS to avoid the need to call pkg-config.
20710 See the pkg-config man page for more details.
20711 " >&5
20712 echo "$as_me: error: Package requirements (glibmm-2.4 >= ${gtkmm_min_glibmm_version} atk >= 1.9.0) were not met:
20713
20714 $ATKMM_PKG_ERRORS
20715
20716 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20717 installed software in a non-standard prefix.
20718
20719 Alternatively, you may set the environment variables ATKMM_CFLAGS
20720 and ATKMM_LIBS to avoid the need to call pkg-config.
20721 See the pkg-config man page for more details.
20722 " >&2;}
20723    { (exit 1); exit 1; }; }
20724 elif test $pkg_failed = untried; then
20725         { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
20726 is in your PATH or set the PKG_CONFIG environment variable to the full
20727 path to pkg-config.
20728
20729 Alternatively, you may set the environment variables ATKMM_CFLAGS
20730 and ATKMM_LIBS to avoid the need to call pkg-config.
20731 See the pkg-config man page for more details.
20732
20733 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
20734 See \`config.log' for more details." >&5
20735 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
20736 is in your PATH or set the PKG_CONFIG environment variable to the full
20737 path to pkg-config.
20738
20739 Alternatively, you may set the environment variables ATKMM_CFLAGS
20740 and ATKMM_LIBS to avoid the need to call pkg-config.
20741 See the pkg-config man page for more details.
20742
20743 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
20744 See \`config.log' for more details." >&2;}
20745    { (exit 1); exit 1; }; }
20746 else
20747         ATKMM_CFLAGS=$pkg_cv_ATKMM_CFLAGS
20748         ATKMM_LIBS=$pkg_cv_ATKMM_LIBS
20749         { echo "$as_me:$LINENO: result: yes" >&5
20750 echo "${ECHO_T}yes" >&6; }
20751         :
20752 fi
20753
20754
20755
20756
20757 pkg_failed=no
20758 { echo "$as_me:$LINENO: checking for PANGOMM" >&5
20759 echo $ECHO_N "checking for PANGOMM... $ECHO_C" >&6; }
20760
20761 if test -n "$PKG_CONFIG"; then
20762     if test -n "$PANGOMM_CFLAGS"; then
20763         pkg_cv_PANGOMM_CFLAGS="$PANGOMM_CFLAGS"
20764     else
20765         if test -n "$PKG_CONFIG" && \
20766     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glibmm-2.4 >= \${gtkmm_min_glibmm_version} cairomm-1.0 >= \${gtkmm_min_cairomm_version} pangocairo >= 1.5.2\"") >&5
20767   ($PKG_CONFIG --exists --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} pangocairo >= 1.5.2") 2>&5
20768   ac_status=$?
20769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20770   (exit $ac_status); }; then
20771   pkg_cv_PANGOMM_CFLAGS=`$PKG_CONFIG --cflags "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} pangocairo >= 1.5.2" 2>/dev/null`
20772 else
20773   pkg_failed=yes
20774 fi
20775     fi
20776 else
20777         pkg_failed=untried
20778 fi
20779 if test -n "$PKG_CONFIG"; then
20780     if test -n "$PANGOMM_LIBS"; then
20781         pkg_cv_PANGOMM_LIBS="$PANGOMM_LIBS"
20782     else
20783         if test -n "$PKG_CONFIG" && \
20784     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glibmm-2.4 >= \${gtkmm_min_glibmm_version} cairomm-1.0 >= \${gtkmm_min_cairomm_version} pangocairo >= 1.5.2\"") >&5
20785   ($PKG_CONFIG --exists --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} pangocairo >= 1.5.2") 2>&5
20786   ac_status=$?
20787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20788   (exit $ac_status); }; then
20789   pkg_cv_PANGOMM_LIBS=`$PKG_CONFIG --libs "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} pangocairo >= 1.5.2" 2>/dev/null`
20790 else
20791   pkg_failed=yes
20792 fi
20793     fi
20794 else
20795         pkg_failed=untried
20796 fi
20797
20798
20799
20800 if test $pkg_failed = yes; then
20801
20802 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20803         _pkg_short_errors_supported=yes
20804 else
20805         _pkg_short_errors_supported=no
20806 fi
20807         if test $_pkg_short_errors_supported = yes; then
20808                 PANGOMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} pangocairo >= 1.5.2"`
20809         else
20810                 PANGOMM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} pangocairo >= 1.5.2"`
20811         fi
20812         # Put the nasty error message in config.log where it belongs
20813         echo "$PANGOMM_PKG_ERRORS" >&5
20814
20815         { { echo "$as_me:$LINENO: error: Package requirements (glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} pangocairo >= 1.5.2) were not met:
20816
20817 $PANGOMM_PKG_ERRORS
20818
20819 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20820 installed software in a non-standard prefix.
20821
20822 Alternatively, you may set the environment variables PANGOMM_CFLAGS
20823 and PANGOMM_LIBS to avoid the need to call pkg-config.
20824 See the pkg-config man page for more details.
20825 " >&5
20826 echo "$as_me: error: Package requirements (glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} pangocairo >= 1.5.2) were not met:
20827
20828 $PANGOMM_PKG_ERRORS
20829
20830 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20831 installed software in a non-standard prefix.
20832
20833 Alternatively, you may set the environment variables PANGOMM_CFLAGS
20834 and PANGOMM_LIBS to avoid the need to call pkg-config.
20835 See the pkg-config man page for more details.
20836 " >&2;}
20837    { (exit 1); exit 1; }; }
20838 elif test $pkg_failed = untried; then
20839         { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
20840 is in your PATH or set the PKG_CONFIG environment variable to the full
20841 path to pkg-config.
20842
20843 Alternatively, you may set the environment variables PANGOMM_CFLAGS
20844 and PANGOMM_LIBS to avoid the need to call pkg-config.
20845 See the pkg-config man page for more details.
20846
20847 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
20848 See \`config.log' for more details." >&5
20849 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
20850 is in your PATH or set the PKG_CONFIG environment variable to the full
20851 path to pkg-config.
20852
20853 Alternatively, you may set the environment variables PANGOMM_CFLAGS
20854 and PANGOMM_LIBS to avoid the need to call pkg-config.
20855 See the pkg-config man page for more details.
20856
20857 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
20858 See \`config.log' for more details." >&2;}
20859    { (exit 1); exit 1; }; }
20860 else
20861         PANGOMM_CFLAGS=$pkg_cv_PANGOMM_CFLAGS
20862         PANGOMM_LIBS=$pkg_cv_PANGOMM_LIBS
20863         { echo "$as_me:$LINENO: result: yes" >&5
20864 echo "${ECHO_T}yes" >&6; }
20865         :
20866 fi
20867
20868
20869
20870 # gdkmm really does need GTK+, because part of Gdk::DragContext is in GTK+.
20871
20872 pkg_failed=no
20873 { echo "$as_me:$LINENO: checking for GDKMM" >&5
20874 echo $ECHO_N "checking for GDKMM... $ECHO_C" >&6; }
20875
20876 if test -n "$PKG_CONFIG"; then
20877     if test -n "$GDKMM_CFLAGS"; then
20878         pkg_cv_GDKMM_CFLAGS="$GDKMM_CFLAGS"
20879     else
20880         if test -n "$PKG_CONFIG" && \
20881     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glibmm-2.4 >= \${gtkmm_min_glibmm_version} cairomm-1.0 >= \${gtkmm_min_cairomm_version} gtk+-2.0 >= \${gtkmm_min_gtk_version}\"") >&5
20882   ($PKG_CONFIG --exists --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version}") 2>&5
20883   ac_status=$?
20884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20885   (exit $ac_status); }; then
20886   pkg_cv_GDKMM_CFLAGS=`$PKG_CONFIG --cflags "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version}" 2>/dev/null`
20887 else
20888   pkg_failed=yes
20889 fi
20890     fi
20891 else
20892         pkg_failed=untried
20893 fi
20894 if test -n "$PKG_CONFIG"; then
20895     if test -n "$GDKMM_LIBS"; then
20896         pkg_cv_GDKMM_LIBS="$GDKMM_LIBS"
20897     else
20898         if test -n "$PKG_CONFIG" && \
20899     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glibmm-2.4 >= \${gtkmm_min_glibmm_version} cairomm-1.0 >= \${gtkmm_min_cairomm_version} gtk+-2.0 >= \${gtkmm_min_gtk_version}\"") >&5
20900   ($PKG_CONFIG --exists --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version}") 2>&5
20901   ac_status=$?
20902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20903   (exit $ac_status); }; then
20904   pkg_cv_GDKMM_LIBS=`$PKG_CONFIG --libs "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version}" 2>/dev/null`
20905 else
20906   pkg_failed=yes
20907 fi
20908     fi
20909 else
20910         pkg_failed=untried
20911 fi
20912
20913
20914
20915 if test $pkg_failed = yes; then
20916
20917 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20918         _pkg_short_errors_supported=yes
20919 else
20920         _pkg_short_errors_supported=no
20921 fi
20922         if test $_pkg_short_errors_supported = yes; then
20923                 GDKMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version}"`
20924         else
20925                 GDKMM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version}"`
20926         fi
20927         # Put the nasty error message in config.log where it belongs
20928         echo "$GDKMM_PKG_ERRORS" >&5
20929
20930         { { echo "$as_me:$LINENO: error: Package requirements (glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version}) were not met:
20931
20932 $GDKMM_PKG_ERRORS
20933
20934 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20935 installed software in a non-standard prefix.
20936
20937 Alternatively, you may set the environment variables GDKMM_CFLAGS
20938 and GDKMM_LIBS to avoid the need to call pkg-config.
20939 See the pkg-config man page for more details.
20940 " >&5
20941 echo "$as_me: error: Package requirements (glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version}) were not met:
20942
20943 $GDKMM_PKG_ERRORS
20944
20945 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20946 installed software in a non-standard prefix.
20947
20948 Alternatively, you may set the environment variables GDKMM_CFLAGS
20949 and GDKMM_LIBS to avoid the need to call pkg-config.
20950 See the pkg-config man page for more details.
20951 " >&2;}
20952    { (exit 1); exit 1; }; }
20953 elif test $pkg_failed = untried; then
20954         { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
20955 is in your PATH or set the PKG_CONFIG environment variable to the full
20956 path to pkg-config.
20957
20958 Alternatively, you may set the environment variables GDKMM_CFLAGS
20959 and GDKMM_LIBS to avoid the need to call pkg-config.
20960 See the pkg-config man page for more details.
20961
20962 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
20963 See \`config.log' for more details." >&5
20964 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
20965 is in your PATH or set the PKG_CONFIG environment variable to the full
20966 path to pkg-config.
20967
20968 Alternatively, you may set the environment variables GDKMM_CFLAGS
20969 and GDKMM_LIBS to avoid the need to call pkg-config.
20970 See the pkg-config man page for more details.
20971
20972 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
20973 See \`config.log' for more details." >&2;}
20974    { (exit 1); exit 1; }; }
20975 else
20976         GDKMM_CFLAGS=$pkg_cv_GDKMM_CFLAGS
20977         GDKMM_LIBS=$pkg_cv_GDKMM_LIBS
20978         { echo "$as_me:$LINENO: result: yes" >&5
20979 echo "${ECHO_T}yes" >&6; }
20980         :
20981 fi
20982
20983
20984
20985 # Only check for gtk+-unix-print-2.0 on non-win32 platform, as
20986 # gtk+-unix-print-2.0.pc is not always included in win32 installers.
20987 if test x"$os_win32" = xyes; then
20988
20989 pkg_failed=no
20990 { echo "$as_me:$LINENO: checking for GTKMM" >&5
20991 echo $ECHO_N "checking for GTKMM... $ECHO_C" >&6; }
20992
20993 if test -n "$PKG_CONFIG"; then
20994     if test -n "$GTKMM_CFLAGS"; then
20995         pkg_cv_GTKMM_CFLAGS="$GTKMM_CFLAGS"
20996     else
20997         if test -n "$PKG_CONFIG" && \
20998     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glibmm-2.4 >= \${gtkmm_min_glibmm_version} cairomm-1.0 >= \${gtkmm_min_cairomm_version} gtk+-2.0 >= \${gtkmm_min_gtk_version}\"") >&5
20999   ($PKG_CONFIG --exists --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version}") 2>&5
21000   ac_status=$?
21001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21002   (exit $ac_status); }; then
21003   pkg_cv_GTKMM_CFLAGS=`$PKG_CONFIG --cflags "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version}" 2>/dev/null`
21004 else
21005   pkg_failed=yes
21006 fi
21007     fi
21008 else
21009         pkg_failed=untried
21010 fi
21011 if test -n "$PKG_CONFIG"; then
21012     if test -n "$GTKMM_LIBS"; then
21013         pkg_cv_GTKMM_LIBS="$GTKMM_LIBS"
21014     else
21015         if test -n "$PKG_CONFIG" && \
21016     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glibmm-2.4 >= \${gtkmm_min_glibmm_version} cairomm-1.0 >= \${gtkmm_min_cairomm_version} gtk+-2.0 >= \${gtkmm_min_gtk_version}\"") >&5
21017   ($PKG_CONFIG --exists --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version}") 2>&5
21018   ac_status=$?
21019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21020   (exit $ac_status); }; then
21021   pkg_cv_GTKMM_LIBS=`$PKG_CONFIG --libs "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version}" 2>/dev/null`
21022 else
21023   pkg_failed=yes
21024 fi
21025     fi
21026 else
21027         pkg_failed=untried
21028 fi
21029
21030
21031
21032 if test $pkg_failed = yes; then
21033
21034 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21035         _pkg_short_errors_supported=yes
21036 else
21037         _pkg_short_errors_supported=no
21038 fi
21039         if test $_pkg_short_errors_supported = yes; then
21040                 GTKMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version}"`
21041         else
21042                 GTKMM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version}"`
21043         fi
21044         # Put the nasty error message in config.log where it belongs
21045         echo "$GTKMM_PKG_ERRORS" >&5
21046
21047         { { echo "$as_me:$LINENO: error: Package requirements (glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version}) were not met:
21048
21049 $GTKMM_PKG_ERRORS
21050
21051 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21052 installed software in a non-standard prefix.
21053
21054 Alternatively, you may set the environment variables GTKMM_CFLAGS
21055 and GTKMM_LIBS to avoid the need to call pkg-config.
21056 See the pkg-config man page for more details.
21057 " >&5
21058 echo "$as_me: error: Package requirements (glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version}) were not met:
21059
21060 $GTKMM_PKG_ERRORS
21061
21062 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21063 installed software in a non-standard prefix.
21064
21065 Alternatively, you may set the environment variables GTKMM_CFLAGS
21066 and GTKMM_LIBS to avoid the need to call pkg-config.
21067 See the pkg-config man page for more details.
21068 " >&2;}
21069    { (exit 1); exit 1; }; }
21070 elif test $pkg_failed = untried; then
21071         { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
21072 is in your PATH or set the PKG_CONFIG environment variable to the full
21073 path to pkg-config.
21074
21075 Alternatively, you may set the environment variables GTKMM_CFLAGS
21076 and GTKMM_LIBS to avoid the need to call pkg-config.
21077 See the pkg-config man page for more details.
21078
21079 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
21080 See \`config.log' for more details." >&5
21081 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
21082 is in your PATH or set the PKG_CONFIG environment variable to the full
21083 path to pkg-config.
21084
21085 Alternatively, you may set the environment variables GTKMM_CFLAGS
21086 and GTKMM_LIBS to avoid the need to call pkg-config.
21087 See the pkg-config man page for more details.
21088
21089 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
21090 See \`config.log' for more details." >&2;}
21091    { (exit 1); exit 1; }; }
21092 else
21093         GTKMM_CFLAGS=$pkg_cv_GTKMM_CFLAGS
21094         GTKMM_LIBS=$pkg_cv_GTKMM_LIBS
21095         { echo "$as_me:$LINENO: result: yes" >&5
21096 echo "${ECHO_T}yes" >&6; }
21097         :
21098 fi
21099 else
21100
21101 pkg_failed=no
21102 { echo "$as_me:$LINENO: checking for GTKMM" >&5
21103 echo $ECHO_N "checking for GTKMM... $ECHO_C" >&6; }
21104
21105 if test -n "$PKG_CONFIG"; then
21106     if test -n "$GTKMM_CFLAGS"; then
21107         pkg_cv_GTKMM_CFLAGS="$GTKMM_CFLAGS"
21108     else
21109         if test -n "$PKG_CONFIG" && \
21110     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glibmm-2.4 >= \${gtkmm_min_glibmm_version} cairomm-1.0 >= \${gtkmm_min_cairomm_version} gtk+-2.0 >= \${gtkmm_min_gtk_version} gtk+-unix-print-2.0 >= \${gtkmm_min_gtk_version}\"") >&5
21111   ($PKG_CONFIG --exists --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version} gtk+-unix-print-2.0 >= ${gtkmm_min_gtk_version}") 2>&5
21112   ac_status=$?
21113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21114   (exit $ac_status); }; then
21115   pkg_cv_GTKMM_CFLAGS=`$PKG_CONFIG --cflags "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version} gtk+-unix-print-2.0 >= ${gtkmm_min_gtk_version}" 2>/dev/null`
21116 else
21117   pkg_failed=yes
21118 fi
21119     fi
21120 else
21121         pkg_failed=untried
21122 fi
21123 if test -n "$PKG_CONFIG"; then
21124     if test -n "$GTKMM_LIBS"; then
21125         pkg_cv_GTKMM_LIBS="$GTKMM_LIBS"
21126     else
21127         if test -n "$PKG_CONFIG" && \
21128     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glibmm-2.4 >= \${gtkmm_min_glibmm_version} cairomm-1.0 >= \${gtkmm_min_cairomm_version} gtk+-2.0 >= \${gtkmm_min_gtk_version} gtk+-unix-print-2.0 >= \${gtkmm_min_gtk_version}\"") >&5
21129   ($PKG_CONFIG --exists --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version} gtk+-unix-print-2.0 >= ${gtkmm_min_gtk_version}") 2>&5
21130   ac_status=$?
21131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21132   (exit $ac_status); }; then
21133   pkg_cv_GTKMM_LIBS=`$PKG_CONFIG --libs "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version} gtk+-unix-print-2.0 >= ${gtkmm_min_gtk_version}" 2>/dev/null`
21134 else
21135   pkg_failed=yes
21136 fi
21137     fi
21138 else
21139         pkg_failed=untried
21140 fi
21141
21142
21143
21144 if test $pkg_failed = yes; then
21145
21146 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21147         _pkg_short_errors_supported=yes
21148 else
21149         _pkg_short_errors_supported=no
21150 fi
21151         if test $_pkg_short_errors_supported = yes; then
21152                 GTKMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version} gtk+-unix-print-2.0 >= ${gtkmm_min_gtk_version}"`
21153         else
21154                 GTKMM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version} gtk+-unix-print-2.0 >= ${gtkmm_min_gtk_version}"`
21155         fi
21156         # Put the nasty error message in config.log where it belongs
21157         echo "$GTKMM_PKG_ERRORS" >&5
21158
21159         { { echo "$as_me:$LINENO: error: Package requirements (glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version} gtk+-unix-print-2.0 >= ${gtkmm_min_gtk_version}) were not met:
21160
21161 $GTKMM_PKG_ERRORS
21162
21163 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21164 installed software in a non-standard prefix.
21165
21166 Alternatively, you may set the environment variables GTKMM_CFLAGS
21167 and GTKMM_LIBS to avoid the need to call pkg-config.
21168 See the pkg-config man page for more details.
21169 " >&5
21170 echo "$as_me: error: Package requirements (glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version} gtk+-unix-print-2.0 >= ${gtkmm_min_gtk_version}) were not met:
21171
21172 $GTKMM_PKG_ERRORS
21173
21174 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21175 installed software in a non-standard prefix.
21176
21177 Alternatively, you may set the environment variables GTKMM_CFLAGS
21178 and GTKMM_LIBS to avoid the need to call pkg-config.
21179 See the pkg-config man page for more details.
21180 " >&2;}
21181    { (exit 1); exit 1; }; }
21182 elif test $pkg_failed = untried; then
21183         { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
21184 is in your PATH or set the PKG_CONFIG environment variable to the full
21185 path to pkg-config.
21186
21187 Alternatively, you may set the environment variables GTKMM_CFLAGS
21188 and GTKMM_LIBS to avoid the need to call pkg-config.
21189 See the pkg-config man page for more details.
21190
21191 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
21192 See \`config.log' for more details." >&5
21193 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
21194 is in your PATH or set the PKG_CONFIG environment variable to the full
21195 path to pkg-config.
21196
21197 Alternatively, you may set the environment variables GTKMM_CFLAGS
21198 and GTKMM_LIBS to avoid the need to call pkg-config.
21199 See the pkg-config man page for more details.
21200
21201 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
21202 See \`config.log' for more details." >&2;}
21203    { (exit 1); exit 1; }; }
21204 else
21205         GTKMM_CFLAGS=$pkg_cv_GTKMM_CFLAGS
21206         GTKMM_LIBS=$pkg_cv_GTKMM_LIBS
21207         { echo "$as_me:$LINENO: result: yes" >&5
21208 echo "${ECHO_T}yes" >&6; }
21209         :
21210 fi
21211 fi
21212
21213
21214
21215 # gthread isn't a requirement, but we should use its CFLAGS if available.
21216
21217 pkg_failed=no
21218 { echo "$as_me:$LINENO: checking for GTHREAD" >&5
21219 echo $ECHO_N "checking for GTHREAD... $ECHO_C" >&6; }
21220
21221 if test -n "$PKG_CONFIG"; then
21222     if test -n "$GTHREAD_CFLAGS"; then
21223         pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
21224     else
21225         if test -n "$PKG_CONFIG" && \
21226     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gthread-2.0 >= 2.4.0\"") >&5
21227   ($PKG_CONFIG --exists --print-errors "gthread-2.0 >= 2.4.0") 2>&5
21228   ac_status=$?
21229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21230   (exit $ac_status); }; then
21231   pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0 >= 2.4.0" 2>/dev/null`
21232 else
21233   pkg_failed=yes
21234 fi
21235     fi
21236 else
21237         pkg_failed=untried
21238 fi
21239 if test -n "$PKG_CONFIG"; then
21240     if test -n "$GTHREAD_LIBS"; then
21241         pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
21242     else
21243         if test -n "$PKG_CONFIG" && \
21244     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gthread-2.0 >= 2.4.0\"") >&5
21245   ($PKG_CONFIG --exists --print-errors "gthread-2.0 >= 2.4.0") 2>&5
21246   ac_status=$?
21247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21248   (exit $ac_status); }; then
21249   pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0 >= 2.4.0" 2>/dev/null`
21250 else
21251   pkg_failed=yes
21252 fi
21253     fi
21254 else
21255         pkg_failed=untried
21256 fi
21257
21258
21259
21260 if test $pkg_failed = yes; then
21261
21262 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21263         _pkg_short_errors_supported=yes
21264 else
21265         _pkg_short_errors_supported=no
21266 fi
21267         if test $_pkg_short_errors_supported = yes; then
21268                 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gthread-2.0 >= 2.4.0"`
21269         else
21270                 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gthread-2.0 >= 2.4.0"`
21271         fi
21272         # Put the nasty error message in config.log where it belongs
21273         echo "$GTHREAD_PKG_ERRORS" >&5
21274
21275         { echo "$as_me:$LINENO: result: no" >&5
21276 echo "${ECHO_T}no" >&6; }
21277                 GTHREAD_CFLAGS=''; GTHREAD_LIBS=''
21278 elif test $pkg_failed = untried; then
21279         GTHREAD_CFLAGS=''; GTHREAD_LIBS=''
21280 else
21281         GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
21282         GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
21283         { echo "$as_me:$LINENO: result: yes" >&5
21284 echo "${ECHO_T}yes" >&6; }
21285         :
21286 fi
21287
21288
21289
21290 #########################################################################
21291 #  C++ checks
21292 #########################################################################
21293 ac_ext=cpp
21294 ac_cpp='$CXXCPP $CPPFLAGS'
21295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21298 if test -z "$CXX"; then
21299   if test -n "$CCC"; then
21300     CXX=$CCC
21301   else
21302     if test -n "$ac_tool_prefix"; then
21303   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
21304   do
21305     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21306 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
21307 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21309 if test "${ac_cv_prog_CXX+set}" = set; then
21310   echo $ECHO_N "(cached) $ECHO_C" >&6
21311 else
21312   if test -n "$CXX"; then
21313   ac_cv_prog_CXX="$CXX" # Let the user override the test.
21314 else
21315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21316 for as_dir in $PATH
21317 do
21318   IFS=$as_save_IFS
21319   test -z "$as_dir" && as_dir=.
21320   for ac_exec_ext in '' $ac_executable_extensions; do
21321   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21322     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
21323     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21324     break 2
21325   fi
21326 done
21327 done
21328 IFS=$as_save_IFS
21329
21330 fi
21331 fi
21332 CXX=$ac_cv_prog_CXX
21333 if test -n "$CXX"; then
21334   { echo "$as_me:$LINENO: result: $CXX" >&5
21335 echo "${ECHO_T}$CXX" >&6; }
21336 else
21337   { echo "$as_me:$LINENO: result: no" >&5
21338 echo "${ECHO_T}no" >&6; }
21339 fi
21340
21341
21342     test -n "$CXX" && break
21343   done
21344 fi
21345 if test -z "$CXX"; then
21346   ac_ct_CXX=$CXX
21347   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
21348 do
21349   # Extract the first word of "$ac_prog", so it can be a program name with args.
21350 set dummy $ac_prog; ac_word=$2
21351 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21353 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
21354   echo $ECHO_N "(cached) $ECHO_C" >&6
21355 else
21356   if test -n "$ac_ct_CXX"; then
21357   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
21358 else
21359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21360 for as_dir in $PATH
21361 do
21362   IFS=$as_save_IFS
21363   test -z "$as_dir" && as_dir=.
21364   for ac_exec_ext in '' $ac_executable_extensions; do
21365   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21366     ac_cv_prog_ac_ct_CXX="$ac_prog"
21367     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21368     break 2
21369   fi
21370 done
21371 done
21372 IFS=$as_save_IFS
21373
21374 fi
21375 fi
21376 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
21377 if test -n "$ac_ct_CXX"; then
21378   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
21379 echo "${ECHO_T}$ac_ct_CXX" >&6; }
21380 else
21381   { echo "$as_me:$LINENO: result: no" >&5
21382 echo "${ECHO_T}no" >&6; }
21383 fi
21384
21385
21386   test -n "$ac_ct_CXX" && break
21387 done
21388
21389   if test "x$ac_ct_CXX" = x; then
21390     CXX="g++"
21391   else
21392     case $cross_compiling:$ac_tool_warned in
21393 yes:)
21394 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
21395 whose name does not start with the host triplet.  If you think this
21396 configuration is useful to you, please write to autoconf@gnu.org." >&5
21397 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
21398 whose name does not start with the host triplet.  If you think this
21399 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
21400 ac_tool_warned=yes ;;
21401 esac
21402     CXX=$ac_ct_CXX
21403   fi
21404 fi
21405
21406   fi
21407 fi
21408 # Provide some information about the compiler.
21409 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
21410 ac_compiler=`set X $ac_compile; echo $2`
21411 { (ac_try="$ac_compiler --version >&5"
21412 case "(($ac_try" in
21413   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21414   *) ac_try_echo=$ac_try;;
21415 esac
21416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21417   (eval "$ac_compiler --version >&5") 2>&5
21418   ac_status=$?
21419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21420   (exit $ac_status); }
21421 { (ac_try="$ac_compiler -v >&5"
21422 case "(($ac_try" in
21423   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21424   *) ac_try_echo=$ac_try;;
21425 esac
21426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21427   (eval "$ac_compiler -v >&5") 2>&5
21428   ac_status=$?
21429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21430   (exit $ac_status); }
21431 { (ac_try="$ac_compiler -V >&5"
21432 case "(($ac_try" in
21433   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21434   *) ac_try_echo=$ac_try;;
21435 esac
21436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21437   (eval "$ac_compiler -V >&5") 2>&5
21438   ac_status=$?
21439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21440   (exit $ac_status); }
21441
21442 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
21443 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
21444 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
21445   echo $ECHO_N "(cached) $ECHO_C" >&6
21446 else
21447   cat >conftest.$ac_ext <<_ACEOF
21448 /* confdefs.h.  */
21449 _ACEOF
21450 cat confdefs.h >>conftest.$ac_ext
21451 cat >>conftest.$ac_ext <<_ACEOF
21452 /* end confdefs.h.  */
21453
21454 int
21455 main ()
21456 {
21457 #ifndef __GNUC__
21458        choke me
21459 #endif
21460
21461   ;
21462   return 0;
21463 }
21464 _ACEOF
21465 rm -f conftest.$ac_objext
21466 if { (ac_try="$ac_compile"
21467 case "(($ac_try" in
21468   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21469   *) ac_try_echo=$ac_try;;
21470 esac
21471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21472   (eval "$ac_compile") 2>conftest.er1
21473   ac_status=$?
21474   grep -v '^ *+' conftest.er1 >conftest.err
21475   rm -f conftest.er1
21476   cat conftest.err >&5
21477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21478   (exit $ac_status); } && {
21479          test -z "$ac_cxx_werror_flag" ||
21480          test ! -s conftest.err
21481        } && test -s conftest.$ac_objext; then
21482   ac_compiler_gnu=yes
21483 else
21484   echo "$as_me: failed program was:" >&5
21485 sed 's/^/| /' conftest.$ac_ext >&5
21486
21487         ac_compiler_gnu=no
21488 fi
21489
21490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21491 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
21492
21493 fi
21494 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
21495 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
21496 GXX=`test $ac_compiler_gnu = yes && echo yes`
21497 ac_test_CXXFLAGS=${CXXFLAGS+set}
21498 ac_save_CXXFLAGS=$CXXFLAGS
21499 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
21500 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
21501 if test "${ac_cv_prog_cxx_g+set}" = set; then
21502   echo $ECHO_N "(cached) $ECHO_C" >&6
21503 else
21504   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
21505    ac_cxx_werror_flag=yes
21506    ac_cv_prog_cxx_g=no
21507    CXXFLAGS="-g"
21508    cat >conftest.$ac_ext <<_ACEOF
21509 /* confdefs.h.  */
21510 _ACEOF
21511 cat confdefs.h >>conftest.$ac_ext
21512 cat >>conftest.$ac_ext <<_ACEOF
21513 /* end confdefs.h.  */
21514
21515 int
21516 main ()
21517 {
21518
21519   ;
21520   return 0;
21521 }
21522 _ACEOF
21523 rm -f conftest.$ac_objext
21524 if { (ac_try="$ac_compile"
21525 case "(($ac_try" in
21526   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21527   *) ac_try_echo=$ac_try;;
21528 esac
21529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21530   (eval "$ac_compile") 2>conftest.er1
21531   ac_status=$?
21532   grep -v '^ *+' conftest.er1 >conftest.err
21533   rm -f conftest.er1
21534   cat conftest.err >&5
21535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21536   (exit $ac_status); } && {
21537          test -z "$ac_cxx_werror_flag" ||
21538          test ! -s conftest.err
21539        } && test -s conftest.$ac_objext; then
21540   ac_cv_prog_cxx_g=yes
21541 else
21542   echo "$as_me: failed program was:" >&5
21543 sed 's/^/| /' conftest.$ac_ext >&5
21544
21545         CXXFLAGS=""
21546       cat >conftest.$ac_ext <<_ACEOF
21547 /* confdefs.h.  */
21548 _ACEOF
21549 cat confdefs.h >>conftest.$ac_ext
21550 cat >>conftest.$ac_ext <<_ACEOF
21551 /* end confdefs.h.  */
21552
21553 int
21554 main ()
21555 {
21556
21557   ;
21558   return 0;
21559 }
21560 _ACEOF
21561 rm -f conftest.$ac_objext
21562 if { (ac_try="$ac_compile"
21563 case "(($ac_try" in
21564   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21565   *) ac_try_echo=$ac_try;;
21566 esac
21567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21568   (eval "$ac_compile") 2>conftest.er1
21569   ac_status=$?
21570   grep -v '^ *+' conftest.er1 >conftest.err
21571   rm -f conftest.er1
21572   cat conftest.err >&5
21573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574   (exit $ac_status); } && {
21575          test -z "$ac_cxx_werror_flag" ||
21576          test ! -s conftest.err
21577        } && test -s conftest.$ac_objext; then
21578   :
21579 else
21580   echo "$as_me: failed program was:" >&5
21581 sed 's/^/| /' conftest.$ac_ext >&5
21582
21583         ac_cxx_werror_flag=$ac_save_cxx_werror_flag
21584          CXXFLAGS="-g"
21585          cat >conftest.$ac_ext <<_ACEOF
21586 /* confdefs.h.  */
21587 _ACEOF
21588 cat confdefs.h >>conftest.$ac_ext
21589 cat >>conftest.$ac_ext <<_ACEOF
21590 /* end confdefs.h.  */
21591
21592 int
21593 main ()
21594 {
21595
21596   ;
21597   return 0;
21598 }
21599 _ACEOF
21600 rm -f conftest.$ac_objext
21601 if { (ac_try="$ac_compile"
21602 case "(($ac_try" in
21603   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21604   *) ac_try_echo=$ac_try;;
21605 esac
21606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21607   (eval "$ac_compile") 2>conftest.er1
21608   ac_status=$?
21609   grep -v '^ *+' conftest.er1 >conftest.err
21610   rm -f conftest.er1
21611   cat conftest.err >&5
21612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21613   (exit $ac_status); } && {
21614          test -z "$ac_cxx_werror_flag" ||
21615          test ! -s conftest.err
21616        } && test -s conftest.$ac_objext; then
21617   ac_cv_prog_cxx_g=yes
21618 else
21619   echo "$as_me: failed program was:" >&5
21620 sed 's/^/| /' conftest.$ac_ext >&5
21621
21622
21623 fi
21624
21625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21626 fi
21627
21628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21629 fi
21630
21631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21632    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
21633 fi
21634 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
21635 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
21636 if test "$ac_test_CXXFLAGS" = set; then
21637   CXXFLAGS=$ac_save_CXXFLAGS
21638 elif test $ac_cv_prog_cxx_g = yes; then
21639   if test "$GXX" = yes; then
21640     CXXFLAGS="-g -O2"
21641   else
21642     CXXFLAGS="-g"
21643   fi
21644 else
21645   if test "$GXX" = yes; then
21646     CXXFLAGS="-O2"
21647   else
21648     CXXFLAGS=
21649   fi
21650 fi
21651 ac_ext=c
21652 ac_cpp='$CPP $CPPFLAGS'
21653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21656
21657 depcc="$CXX"  am_compiler_list=
21658
21659 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
21660 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
21661 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
21662   echo $ECHO_N "(cached) $ECHO_C" >&6
21663 else
21664   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
21665   # We make a subdir and do the tests there.  Otherwise we can end up
21666   # making bogus files that we don't know about and never remove.  For
21667   # instance it was reported that on HP-UX the gcc test will end up
21668   # making a dummy file named `D' -- because `-MD' means `put the output
21669   # in D'.
21670   mkdir conftest.dir
21671   # Copy depcomp to subdir because otherwise we won't find it if we're
21672   # using a relative directory.
21673   cp "$am_depcomp" conftest.dir
21674   cd conftest.dir
21675   # We will build objects and dependencies in a subdirectory because
21676   # it helps to detect inapplicable dependency modes.  For instance
21677   # both Tru64's cc and ICC support -MD to output dependencies as a
21678   # side effect of compilation, but ICC will put the dependencies in
21679   # the current directory while Tru64 will put them in the object
21680   # directory.
21681   mkdir sub
21682
21683   am_cv_CXX_dependencies_compiler_type=none
21684   if test "$am_compiler_list" = ""; then
21685      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
21686   fi
21687   for depmode in $am_compiler_list; do
21688     # Setup a source with many dependencies, because some compilers
21689     # like to wrap large dependency lists on column 80 (with \), and
21690     # we should not choose a depcomp mode which is confused by this.
21691     #
21692     # We need to recreate these files for each test, as the compiler may
21693     # overwrite some of them when testing with obscure command lines.
21694     # This happens at least with the AIX C compiler.
21695     : > sub/conftest.c
21696     for i in 1 2 3 4 5 6; do
21697       echo '#include "conftst'$i'.h"' >> sub/conftest.c
21698       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
21699       # Solaris 8's {/usr,}/bin/sh.
21700       touch sub/conftst$i.h
21701     done
21702     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
21703
21704     case $depmode in
21705     nosideeffect)
21706       # after this tag, mechanisms are not by side-effect, so they'll
21707       # only be used when explicitly requested
21708       if test "x$enable_dependency_tracking" = xyes; then
21709         continue
21710       else
21711         break
21712       fi
21713       ;;
21714     none) break ;;
21715     esac
21716     # We check with `-c' and `-o' for the sake of the "dashmstdout"
21717     # mode.  It turns out that the SunPro C++ compiler does not properly
21718     # handle `-M -o', and we need to detect this.
21719     if depmode=$depmode \
21720        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
21721        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
21722        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
21723          >/dev/null 2>conftest.err &&
21724        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
21725        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
21726        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
21727        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
21728       # icc doesn't choke on unknown options, it will just issue warnings
21729       # or remarks (even with -Werror).  So we grep stderr for any message
21730       # that says an option was ignored or not supported.
21731       # When given -MP, icc 7.0 and 7.1 complain thusly:
21732       #   icc: Command line warning: ignoring option '-M'; no argument required
21733       # The diagnosis changed in icc 8.0:
21734       #   icc: Command line remark: option '-MP' not supported
21735       if (grep 'ignoring option' conftest.err ||
21736           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
21737         am_cv_CXX_dependencies_compiler_type=$depmode
21738         break
21739       fi
21740     fi
21741   done
21742
21743   cd ..
21744   rm -rf conftest.dir
21745 else
21746   am_cv_CXX_dependencies_compiler_type=none
21747 fi
21748
21749 fi
21750 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
21751 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
21752 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
21753
21754  if
21755   test "x$enable_dependency_tracking" != xno \
21756   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
21757   am__fastdepCXX_TRUE=
21758   am__fastdepCXX_FALSE='#'
21759 else
21760   am__fastdepCXX_TRUE='#'
21761   am__fastdepCXX_FALSE=
21762 fi
21763
21764
21765
21766 # Check for the SUN Forte compiler, and define GLIBMM_COMPILER_SUN_FORTE in the header.
21767 #GLIBMM_PROG_CXX_SUN
21768
21769 # Ensure MSVC-compatible struct packing convention is used when
21770 # compiling for Win32 with gcc.
21771 # What flag to depends on gcc version: gcc3 uses "-mms-bitfields", while
21772 # gcc2 uses "-fnative-struct".
21773 if test x"$os_win32" = xyes; then
21774   if test x"$GCC" = xyes -a x"$GXX" = xyes; then
21775     msnative_struct=''
21776     { echo "$as_me:$LINENO: checking how to get MSVC-compatible struct packing" >&5
21777 echo $ECHO_N "checking how to get MSVC-compatible struct packing... $ECHO_C" >&6; }
21778     if test -z "$ac_cv_prog_CC"; then
21779       our_gcc="$CC"
21780     else
21781       our_gcc="$ac_cv_prog_CC"
21782     fi
21783     case `$our_gcc --version | sed -e 's,\..*,.,' -e q` in
21784       2.)
21785         if $our_gcc -v --help 2>/dev/null | grep fnative-struct >/dev/null; then
21786           msnative_struct='-fnative-struct'
21787         fi
21788         ;;
21789       *)
21790         if $our_gcc -v --help 2>/dev/null | grep ms-bitfields >/dev/null; then
21791           msnative_struct='-mms-bitfields'
21792         fi
21793         ;;
21794     esac
21795     if test x"$msnative_struct" = x ; then
21796       { echo "$as_me:$LINENO: result: no way" >&5
21797 echo "${ECHO_T}no way" >&6; }
21798       { echo "$as_me:$LINENO: WARNING: produced libraries might be incompatible with MSVC-compiled code" >&5
21799 echo "$as_me: WARNING: produced libraries might be incompatible with MSVC-compiled code" >&2;}
21800     else
21801       CXXFLAGS="$CXXFLAGS $msnative_struct"
21802       { echo "$as_me:$LINENO: result: ${msnative_struct}" >&5
21803 echo "${ECHO_T}${msnative_struct}" >&6; }
21804     fi
21805   fi
21806 fi
21807
21808 ac_ext=cpp
21809 ac_cpp='$CXXCPP $CPPFLAGS'
21810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21813
21814
21815
21816 # Create a list of input directories for Doxygen.
21817
21818 GTKMM_DOXYGEN_INPUT=
21819 gtkmm_srcdir=`cd "$srcdir" >/dev/null && pwd`
21820
21821 gtkmm_list="pango atk gdk gtk"
21822 for gtkmm_sublib in $gtkmm_list
21823 do
21824   GTKMM_DOXYGEN_INPUT="$GTKMM_DOXYGEN_INPUT ${gtkmm_srcdir}/${gtkmm_sublib}/${gtkmm_sublib}mm/"
21825 done
21826
21827
21828
21829
21830 # Evaluate the --enable-warnings=level option.
21831
21832   # Check whether --enable-warnings was given.
21833 if test "${enable_warnings+set}" = set; then
21834   enableval=$enable_warnings; gtkmm_enable_warnings="$enableval"
21835 else
21836   gtkmm_enable_warnings='minimum'
21837 fi
21838
21839
21840   { echo "$as_me:$LINENO: checking for compiler warning flags to use" >&5
21841 echo $ECHO_N "checking for compiler warning flags to use... $ECHO_C" >&6; }
21842
21843   gtkmm_warning_flags=''
21844
21845   case "$gtkmm_enable_warnings" in
21846     minimum|yes) gtkmm_warning_flags='-Wall';;
21847     maximum)     gtkmm_warning_flags='-pedantic -W -Wall';;
21848     hardcore)    gtkmm_warning_flags='-pedantic -W -Wall -Werror';;
21849   esac
21850
21851   gtkmm_use_flags=''
21852
21853   if test "x$gtkmm_warning_flags" != "x"
21854   then
21855     echo 'int foo() { return 0; }' > conftest.cc
21856
21857     for flag in $gtkmm_warning_flags
21858     do
21859       # Test whether the compiler accepts the flag.  GCC doesn't bail
21860       # out when given an unsupported flag but prints a warning, so
21861       # check the compiler output instead.
21862       gtkmm_cxx_out="`$CXX $flag -c conftest.cc 2>&1`"
21863       rm -f conftest.$OBJEXT
21864       test "x${gtkmm_cxx_out}" = "x" && \
21865         gtkmm_use_flags="${gtkmm_use_flags:+$gtkmm_use_flags }$flag"
21866     done
21867
21868     rm -f conftest.cc
21869     gtkmm_cxx_out=''
21870   fi
21871
21872   if test "x$gtkmm_use_flags" != "x"
21873   then
21874     for flag in $gtkmm_use_flags
21875     do
21876       case " $CXXFLAGS " in
21877         *" $flag "*) ;; # don't add flags twice
21878         *)           CXXFLAGS="${CXXFLAGS:+$CXXFLAGS }$flag";;
21879       esac
21880     done
21881   else
21882     gtkmm_use_flags='none'
21883   fi
21884
21885   { echo "$as_me:$LINENO: result: $gtkmm_use_flags" >&5
21886 echo "${ECHO_T}$gtkmm_use_flags" >&6; }
21887
21888
21889 # Add an --enable-use-deprecations configure option:
21890 # Check whether --enable-deprecations was given.
21891 if test "${enable_deprecations+set}" = set; then
21892   enableval=$enable_deprecations;
21893 else
21894   enable_deprecations=no
21895 fi
21896
21897
21898 if test "x$enable_use_deprecations" = "xyes"; then
21899    DISABLE_DEPRECATED_CFLAGS="\
21900 -DG_DISABLE_DEPRECATED \
21901 -DGDK_DISABLE_DEPRECATED \
21902 -DGTK_DISABLE_DEPRECATED \
21903 -DGDK_PIXBUF_DISABLE_DEPRECATED \
21904 -DGNOME_DISABLE_DEPRECATED"
21905
21906 fi
21907
21908 # Add an --enable-deprecated-api option:
21909 # Check whether --enable-deprecated-api was given.
21910 if test "${enable_deprecated_api+set}" = set; then
21911   enableval=$enable_deprecated_api;
21912 else
21913   enable_deprecated_api=yes
21914 fi
21915
21916 if test "x$enable_deprecated_api" = "xyes"; then
21917 { echo "$as_me:$LINENO: WARNING: Deprecated API will be built, for backwards-compatibility." >&5
21918 echo "$as_me: WARNING: Deprecated API will be built, for backwards-compatibility." >&2;}
21919 else
21920
21921 cat >>confdefs.h <<\_ACEOF
21922 #define PANGOMM_DISABLE_DEPRECATED 1
21923 _ACEOF
21924
21925
21926 cat >>confdefs.h <<\_ACEOF
21927 #define ATKMM_DISABLE_DEPRECATED 1
21928 _ACEOF
21929
21930
21931 cat >>confdefs.h <<\_ACEOF
21932 #define GDKMM_DISABLE_DEPRECATED 1
21933 _ACEOF
21934
21935
21936 cat >>confdefs.h <<\_ACEOF
21937 #define GTKMM_DISABLE_DEPRECATED 1
21938 _ACEOF
21939
21940   DISABLE_DEPRECATED_API_CFLAGS="-DPANGOMM_DISABLE_DEPRECATED -DATKMM_DISABLE_DEPRECATED -DGDKMM_DISABLE_DEPRECATED -DGTKMM_DISABLE_DEPRECATED"
21941
21942 { echo "$as_me:$LINENO: WARNING: Deprecated API will not be built, breaking backwards-compatibility. Do not use this build for distribution packages." >&5
21943 echo "$as_me: WARNING: Deprecated API will not be built, breaking backwards-compatibility. Do not use this build for distribution packages." >&2;}
21944 fi
21945
21946
21947 # Check whether --enable-examples was given.
21948 if test "${enable_examples+set}" = set; then
21949   enableval=$enable_examples;
21950 else
21951   enable_examples=yes
21952 fi
21953
21954 if test "x$enable_examples" = "xyes"; then
21955   EXAMPLE_SUBDIR="examples"
21956   ac_config_files="$ac_config_files examples/Makefile examples/arrow/Makefile examples/base/Makefile examples/book/Makefile examples/book/alignment/Makefile examples/book/aspectframe/Makefile examples/book/box/Makefile examples/book/builder/Makefile examples/book/builder/basic/Makefile examples/book/builder/derived/Makefile examples/book/buttonbox/Makefile examples/book/buttons/Makefile examples/book/buttons/button/Makefile examples/book/buttons/checkbutton/Makefile examples/book/buttons/filechooserbutton/Makefile examples/book/buttons/radiobutton/Makefile examples/book/buttons/togglebutton/Makefile examples/book/clipboard/Makefile examples/book/clipboard/simple/Makefile examples/book/clipboard/ideal/Makefile examples/book/combobox/Makefile examples/book/combobox/text/Makefile examples/book/combobox/complex/Makefile examples/book/comboboxentry/Makefile examples/book/comboboxentry/text/Makefile examples/book/comboboxentry/complex/Makefile examples/book/custom/Makefile examples/book/custom/custom_container/Makefile examples/book/custom/custom_widget/Makefile examples/book/dialogs/Makefile examples/book/dialogs/aboutdialog/Makefile examples/book/dialogs/colorselectiondialog/Makefile examples/book/dialogs/filechooserdialog/Makefile examples/book/dialogs/fileselection/Makefile examples/book/dialogs/fontselectiondialog/Makefile examples/book/dialogs/messagedialog/Makefile examples/book/dialogs/simple/Makefile examples/book/drag_and_drop/Makefile examples/book/drawingarea/Makefile examples/book/drawingarea/simple/Makefile examples/book/drawingarea/curve/Makefile examples/book/drawingarea/arcs/Makefile examples/book/drawingarea/clock/Makefile examples/book/drawingarea/joins/Makefile examples/book/entry/Makefile examples/book/entry/completion/Makefile examples/book/entry/simple/Makefile examples/book/eventbox/Makefile examples/book/expander/Makefile examples/book/frame/Makefile examples/book/helloworld/Makefile examples/book/helloworld2/Makefile examples/book/iconview/Makefile examples/book/idle/Makefile examples/book/input/Makefile examples/book/label/Makefile examples/book/menus/Makefile examples/book/menus/main_menu/Makefile examples/book/menus/popup/Makefile examples/book/menus_and_toolbars/Makefile examples/book/notebook/Makefile examples/book/paned/Makefile examples/book/printing/Makefile examples/book/printing/advanced/Makefile examples/book/printing/simple/Makefile examples/book/progressbar/Makefile examples/book/recent_files/Makefile examples/book/range_widgets/Makefile examples/book/scrolledwindow/Makefile examples/book/signals/Makefile examples/book/signals/custom/Makefile examples/book/socket/Makefile examples/book/spinbutton/Makefile examples/book/statusicon/Makefile examples/book/table/Makefile examples/book/textview/Makefile examples/book/timeout/Makefile examples/book/toolbar/Makefile examples/book/tooltips/Makefile examples/book/treeview/Makefile examples/book/treeview/combo_renderer/Makefile examples/book/treeview/editable_cells/Makefile examples/book/treeview/list/Makefile examples/book/treeview/listviewtext/Makefile examples/book/treeview/tree/Makefile examples/book/treeview/drag_and_drop/Makefile examples/book/treeview/popup/Makefile examples/book/treeview/filter/Makefile examples/book/treeview/filter_modify/Makefile examples/book/treeview/modelsort/Makefile examples/book/update_ui/Makefile examples/calendar/Makefile examples/dnd/Makefile examples/exception/Makefile examples/gdk/Makefile examples/rulers/Makefile examples/statusbar/Makefile examples/stock/Makefile examples/tictactoe/Makefile examples/treemodelcustom/Makefile examples/window/Makefile"
21957
21958 else
21959   EXAMPLE_SUBDIR=""
21960 fi
21961
21962
21963
21964
21965 # Check whether --enable-demos was given.
21966 if test "${enable_demos+set}" = set; then
21967   enableval=$enable_demos;
21968 else
21969   enable_demos=yes
21970 fi
21971
21972 if test "x$enable_demos" = "xyes"; then
21973   DEMO_SUBDIR="demos"
21974   ac_config_files="$ac_config_files demos/Makefile demos/gtk-demo/Makefile"
21975
21976 else
21977   DEMO_SUBDIR=""
21978 fi
21979
21980
21981
21982
21983 #Offer the ability to omit some API from the library,
21984 #to reduce the code size:
21985 #Note that there are other options in glibmm, which affect gtkmm.
21986
21987   # Check whether --enable-api-atkmm was given.
21988 if test "${enable_api_atkmm+set}" = set; then
21989   enableval=$enable_api_atkmm; gtkmm_enable_api_atkmm="$enableval"
21990 else
21991   gtkmm_enable_api_atkmm='yes'
21992 fi
21993
21994
21995   if test "x$gtkmm_enable_api_atkmm" = "xyes"; then
21996   {
21997
21998 cat >>confdefs.h <<\_ACEOF
21999 #define GTKMM_ATKMM_ENABLED 1
22000 _ACEOF
22001
22002   }
22003   fi
22004
22005
22006 if test "x$gtkmm_enable_api_atkmm" = "xyes"; then
22007   ac_config_files="$ac_config_files atk/Makefile atk/atkmm-1.6.pc atk/src/Makefile atk/atkmm/Makefile atk/atkmm/private/Makefile"
22008
22009   GTKMM_PC_ATKMM_DEP="atkmm-1.6"
22010 else
22011   GTKMM_PC_ATKMM_DEP=""
22012 fi
22013
22014
22015 #Allow us to test for atkmm support in Makefile.am files:
22016  if test "x$gtkmm_enable_api_atkmm" = "xyes"; then
22017   GTKMM_ATKMM_ENABLED_TRUE=
22018   GTKMM_ATKMM_ENABLED_FALSE='#'
22019 else
22020   GTKMM_ATKMM_ENABLED_TRUE='#'
22021   GTKMM_ATKMM_ENABLED_FALSE=
22022 fi
22023
22024
22025
22026
22027   # Check whether --enable-api-maemo-extensions was given.
22028 if test "${enable_api_maemo_extensions+set}" = set; then
22029   enableval=$enable_api_maemo_extensions; gtkmm_enable_api_maemo_extensions="$enableval"
22030 else
22031   gtkmm_enable_api_maemo_extensions='no'
22032 fi
22033
22034
22035   if test "x$gtkmm_enable_api_maemo_extensions" = "xyes"; then
22036   {
22037
22038 cat >>confdefs.h <<\_ACEOF
22039 #define GTKMM_MAEMO_EXTENSIONS_ENABLED 1
22040 _ACEOF
22041
22042   }
22043   fi
22044
22045
22046
22047 # Check whether --enable-docs was given.
22048 if test "${enable_docs+set}" = set; then
22049   enableval=$enable_docs;
22050 else
22051   enable_docs=yes
22052 fi
22053
22054 if test "x$enable_docs" = "xyes"; then
22055   DOCS_SUBDIR="docs"
22056   ac_config_files="$ac_config_files docs/Makefile docs/FAQ/Makefile docs/images/Makefile docs/tutorial/Makefile docs/tutorial/figures/Makefile docs/tutorial/icons/Makefile docs/reference/Makefile docs/reference/Doxyfile"
22057
22058 else
22059   DOCS_SUBDIR=""
22060 fi
22061
22062
22063 # Dummy conditional just to make automake-1.4 happy.
22064 # We need an always-false condition in docs/Makefile.am.
22065  if false; then
22066   GTKMM_FALSE_TRUE=
22067   GTKMM_FALSE_FALSE='#'
22068 else
22069   GTKMM_FALSE_TRUE='#'
22070   GTKMM_FALSE_FALSE=
22071 fi
22072
22073
22074 # HACK:  Assign a dummy in order to prevent execution of autoheader by the
22075 # maintainer-mode rules.  That would fail since we aren't using autoheader.
22076 AUTOHEADER=':'
22077
22078
22079 ac_config_files="$ac_config_files Makefile gdk/Makefile gdk/gdkmm-2.4.pc gdk/src/Makefile gdk/gdkmm/Makefile gdk/gdkmm/private/Makefile gtk/Makefile gtk/gtkmm-2.4.pc gtk/src/Makefile gtk/gtkmm/Makefile gtk/gtkmm/private/Makefile pango/Makefile pango/pangomm-1.4.pc pango/src/Makefile pango/pangomm/Makefile pango/pangomm/private/Makefile tools/Makefile tools/m4/Makefile tools/extra_defs_gen/Makefile"
22080
22081
22082 ac_config_files="$ac_config_files tests/Makefile tests/child_widget/Makefile tests/child_widget2/Makefile tests/child_widget_managed/Makefile tests/refcount_dialog/Makefile tests/dialog/Makefile tests/dialog_deletethis/Makefile tests/delete_cpp_child/Makefile tests/main_with_options/Makefile tests/menu_destruction/Makefile tests/property_notification/Makefile tests/scrolledwindow/Makefile tests/wrap_existing/Makefile"
22083
22084
22085 ac_config_files="$ac_config_files scripts/Makefile"
22086
22087
22088 ac_config_files="$ac_config_files MSVC_Net2003/Makefile MSVC_Net2003/gendef/Makefile MSVC_Net2003/atkmm/Makefile MSVC_Net2003/atkmm/atkmm.rc MSVC_Net2003/pangomm/Makefile MSVC_Net2003/pangomm/pangomm.rc MSVC_Net2003/gdkmm/Makefile MSVC_Net2003/gdkmm/gdkmm.rc MSVC_Net2003/gtkmm/Makefile MSVC_Net2003/gtkmm/gtkmm.rc MSVC_Net2003/demos/Makefile MSVC_Net2003/demos/gtk-demo/Makefile MSVC_Net2003/examples/Makefile MSVC_Net2003/examples/arrow/Makefile MSVC_Net2003/examples/calendar/Makefile MSVC_Net2003/examples/cellrenderercustom_popup/Makefile MSVC_Net2003/examples/cellrenderercustom_toggle/Makefile MSVC_Net2003/examples/direction/Makefile MSVC_Net2003/examples/dnd/Makefile MSVC_Net2003/examples/exception/Makefile MSVC_Net2003/examples/gdk/Makefile MSVC_Net2003/examples/printing/Makefile MSVC_Net2003/examples/rulers/Makefile MSVC_Net2003/examples/statusbar/Makefile MSVC_Net2003/examples/stock/Makefile MSVC_Net2003/examples/tictactoe/Makefile MSVC_Net2003/examples/treemodelcustom/Makefile MSVC_Net2003/examples/window/Makefile"
22089
22090
22091 cat >confcache <<\_ACEOF
22092 # This file is a shell script that caches the results of configure
22093 # tests run on this system so they can be shared between configure
22094 # scripts and configure runs, see configure's option --config-cache.
22095 # It is not useful on other systems.  If it contains results you don't
22096 # want to keep, you may remove or edit it.
22097 #
22098 # config.status only pays attention to the cache file if you give it
22099 # the --recheck option to rerun configure.
22100 #
22101 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22102 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22103 # following values.
22104
22105 _ACEOF
22106
22107 # The following way of writing the cache mishandles newlines in values,
22108 # but we know of no workaround that is simple, portable, and efficient.
22109 # So, we kill variables containing newlines.
22110 # Ultrix sh set writes to stderr and can't be redirected directly,
22111 # and sets the high bit in the cache file unless we assign to the vars.
22112 (
22113   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22114     eval ac_val=\$$ac_var
22115     case $ac_val in #(
22116     *${as_nl}*)
22117       case $ac_var in #(
22118       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22119 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22120       esac
22121       case $ac_var in #(
22122       _ | IFS | as_nl) ;; #(
22123       *) $as_unset $ac_var ;;
22124       esac ;;
22125     esac
22126   done
22127
22128   (set) 2>&1 |
22129     case $as_nl`(ac_space=' '; set) 2>&1` in #(
22130     *${as_nl}ac_space=\ *)
22131       # `set' does not quote correctly, so add quotes (double-quote
22132       # substitution turns \\\\ into \\, and sed turns \\ into \).
22133       sed -n \
22134         "s/'/'\\\\''/g;
22135           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22136       ;; #(
22137     *)
22138       # `set' quotes correctly as required by POSIX, so do not add quotes.
22139       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22140       ;;
22141     esac |
22142     sort
22143 ) |
22144   sed '
22145      /^ac_cv_env_/b end
22146      t clear
22147      :clear
22148      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22149      t end
22150      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22151      :end' >>confcache
22152 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22153   if test -w "$cache_file"; then
22154     test "x$cache_file" != "x/dev/null" &&
22155       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22156 echo "$as_me: updating cache $cache_file" >&6;}
22157     cat confcache >$cache_file
22158   else
22159     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22160 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22161   fi
22162 fi
22163 rm -f confcache
22164
22165 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22166 # Let make expand exec_prefix.
22167 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22168
22169 DEFS=-DHAVE_CONFIG_H
22170
22171 ac_libobjs=
22172 ac_ltlibobjs=
22173 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22174   # 1. Remove the extension, and $U if already installed.
22175   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22176   ac_i=`echo "$ac_i" | sed "$ac_script"`
22177   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
22178   #    will be set to the directory where LIBOBJS objects are built.
22179   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22180   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22181 done
22182 LIBOBJS=$ac_libobjs
22183
22184 LTLIBOBJS=$ac_ltlibobjs
22185
22186
22187 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
22188   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
22189 Usually this means the macro was only invoked conditionally." >&5
22190 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
22191 Usually this means the macro was only invoked conditionally." >&2;}
22192    { (exit 1); exit 1; }; }
22193 fi
22194 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22195   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
22196 Usually this means the macro was only invoked conditionally." >&5
22197 echo "$as_me: error: conditional \"AMDEP\" was never defined.
22198 Usually this means the macro was only invoked conditionally." >&2;}
22199    { (exit 1); exit 1; }; }
22200 fi
22201 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22202   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22203 Usually this means the macro was only invoked conditionally." >&5
22204 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22205 Usually this means the macro was only invoked conditionally." >&2;}
22206    { (exit 1); exit 1; }; }
22207 fi
22208 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
22209   { { echo "$as_me:$LINENO: error: conditional \"PLATFORM_WIN32\" was never defined.
22210 Usually this means the macro was only invoked conditionally." >&5
22211 echo "$as_me: error: conditional \"PLATFORM_WIN32\" was never defined.
22212 Usually this means the macro was only invoked conditionally." >&2;}
22213    { (exit 1); exit 1; }; }
22214 fi
22215 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
22216   { { echo "$as_me:$LINENO: error: conditional \"OS_WIN32\" was never defined.
22217 Usually this means the macro was only invoked conditionally." >&5
22218 echo "$as_me: error: conditional \"OS_WIN32\" was never defined.
22219 Usually this means the macro was only invoked conditionally." >&2;}
22220    { (exit 1); exit 1; }; }
22221 fi
22222 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22223   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
22224 Usually this means the macro was only invoked conditionally." >&5
22225 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
22226 Usually this means the macro was only invoked conditionally." >&2;}
22227    { (exit 1); exit 1; }; }
22228 fi
22229 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22230   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
22231 Usually this means the macro was only invoked conditionally." >&5
22232 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
22233 Usually this means the macro was only invoked conditionally." >&2;}
22234    { (exit 1); exit 1; }; }
22235 fi
22236 if test -z "${GTKMM_ATKMM_ENABLED_TRUE}" && test -z "${GTKMM_ATKMM_ENABLED_FALSE}"; then
22237   { { echo "$as_me:$LINENO: error: conditional \"GTKMM_ATKMM_ENABLED\" was never defined.
22238 Usually this means the macro was only invoked conditionally." >&5
22239 echo "$as_me: error: conditional \"GTKMM_ATKMM_ENABLED\" was never defined.
22240 Usually this means the macro was only invoked conditionally." >&2;}
22241    { (exit 1); exit 1; }; }
22242 fi
22243 if test -z "${GTKMM_FALSE_TRUE}" && test -z "${GTKMM_FALSE_FALSE}"; then
22244   { { echo "$as_me:$LINENO: error: conditional \"GTKMM_FALSE\" was never defined.
22245 Usually this means the macro was only invoked conditionally." >&5
22246 echo "$as_me: error: conditional \"GTKMM_FALSE\" was never defined.
22247 Usually this means the macro was only invoked conditionally." >&2;}
22248    { (exit 1); exit 1; }; }
22249 fi
22250
22251 : ${CONFIG_STATUS=./config.status}
22252 ac_clean_files_save=$ac_clean_files
22253 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22254 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22255 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22256 cat >$CONFIG_STATUS <<_ACEOF
22257 #! $SHELL
22258 # Generated by $as_me.
22259 # Run this file to recreate the current configuration.
22260 # Compiler output produced by configure, useful for debugging
22261 # configure, is in config.log if it exists.
22262
22263 debug=false
22264 ac_cs_recheck=false
22265 ac_cs_silent=false
22266 SHELL=\${CONFIG_SHELL-$SHELL}
22267 _ACEOF
22268
22269 cat >>$CONFIG_STATUS <<\_ACEOF
22270 ## --------------------- ##
22271 ## M4sh Initialization.  ##
22272 ## --------------------- ##
22273
22274 # Be more Bourne compatible
22275 DUALCASE=1; export DUALCASE # for MKS sh
22276 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22277   emulate sh
22278   NULLCMD=:
22279   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22280   # is contrary to our usage.  Disable this feature.
22281   alias -g '${1+"$@"}'='"$@"'
22282   setopt NO_GLOB_SUBST
22283 else
22284   case `(set -o) 2>/dev/null` in
22285   *posix*) set -o posix ;;
22286 esac
22287
22288 fi
22289
22290
22291
22292
22293 # PATH needs CR
22294 # Avoid depending upon Character Ranges.
22295 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22296 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22297 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22298 as_cr_digits='0123456789'
22299 as_cr_alnum=$as_cr_Letters$as_cr_digits
22300
22301 # The user is always right.
22302 if test "${PATH_SEPARATOR+set}" != set; then
22303   echo "#! /bin/sh" >conf$$.sh
22304   echo  "exit 0"   >>conf$$.sh
22305   chmod +x conf$$.sh
22306   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22307     PATH_SEPARATOR=';'
22308   else
22309     PATH_SEPARATOR=:
22310   fi
22311   rm -f conf$$.sh
22312 fi
22313
22314 # Support unset when possible.
22315 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22316   as_unset=unset
22317 else
22318   as_unset=false
22319 fi
22320
22321
22322 # IFS
22323 # We need space, tab and new line, in precisely that order.  Quoting is
22324 # there to prevent editors from complaining about space-tab.
22325 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22326 # splitting by setting IFS to empty value.)
22327 as_nl='
22328 '
22329 IFS=" ""        $as_nl"
22330
22331 # Find who we are.  Look in the path if we contain no directory separator.
22332 case $0 in
22333   *[\\/]* ) as_myself=$0 ;;
22334   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22335 for as_dir in $PATH
22336 do
22337   IFS=$as_save_IFS
22338   test -z "$as_dir" && as_dir=.
22339   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22340 done
22341 IFS=$as_save_IFS
22342
22343      ;;
22344 esac
22345 # We did not find ourselves, most probably we were run as `sh COMMAND'
22346 # in which case we are not to be found in the path.
22347 if test "x$as_myself" = x; then
22348   as_myself=$0
22349 fi
22350 if test ! -f "$as_myself"; then
22351   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22352   { (exit 1); exit 1; }
22353 fi
22354
22355 # Work around bugs in pre-3.0 UWIN ksh.
22356 for as_var in ENV MAIL MAILPATH
22357 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22358 done
22359 PS1='$ '
22360 PS2='> '
22361 PS4='+ '
22362
22363 # NLS nuisances.
22364 for as_var in \
22365   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22366   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22367   LC_TELEPHONE LC_TIME
22368 do
22369   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22370     eval $as_var=C; export $as_var
22371   else
22372     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22373   fi
22374 done
22375
22376 # Required to use basename.
22377 if expr a : '\(a\)' >/dev/null 2>&1 &&
22378    test "X`expr 00001 : '.*\(...\)'`" = X001; then
22379   as_expr=expr
22380 else
22381   as_expr=false
22382 fi
22383
22384 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22385   as_basename=basename
22386 else
22387   as_basename=false
22388 fi
22389
22390
22391 # Name of the executable.
22392 as_me=`$as_basename -- "$0" ||
22393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22394          X"$0" : 'X\(//\)$' \| \
22395          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22396 echo X/"$0" |
22397     sed '/^.*\/\([^/][^/]*\)\/*$/{
22398             s//\1/
22399             q
22400           }
22401           /^X\/\(\/\/\)$/{
22402             s//\1/
22403             q
22404           }
22405           /^X\/\(\/\).*/{
22406             s//\1/
22407             q
22408           }
22409           s/.*/./; q'`
22410
22411 # CDPATH.
22412 $as_unset CDPATH
22413
22414
22415
22416   as_lineno_1=$LINENO
22417   as_lineno_2=$LINENO
22418   test "x$as_lineno_1" != "x$as_lineno_2" &&
22419   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22420
22421   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22422   # uniformly replaced by the line number.  The first 'sed' inserts a
22423   # line-number line after each line using $LINENO; the second 'sed'
22424   # does the real work.  The second script uses 'N' to pair each
22425   # line-number line with the line containing $LINENO, and appends
22426   # trailing '-' during substitution so that $LINENO is not a special
22427   # case at line end.
22428   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22429   # scripts with optimization help from Paolo Bonzini.  Blame Lee
22430   # E. McMahon (1931-1989) for sed's syntax.  :-)
22431   sed -n '
22432     p
22433     /[$]LINENO/=
22434   ' <$as_myself |
22435     sed '
22436       s/[$]LINENO.*/&-/
22437       t lineno
22438       b
22439       :lineno
22440       N
22441       :loop
22442       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22443       t loop
22444       s/-\n.*//
22445     ' >$as_me.lineno &&
22446   chmod +x "$as_me.lineno" ||
22447     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22448    { (exit 1); exit 1; }; }
22449
22450   # Don't try to exec as it changes $[0], causing all sort of problems
22451   # (the dirname of $[0] is not the place where we might find the
22452   # original and so on.  Autoconf is especially sensitive to this).
22453   . "./$as_me.lineno"
22454   # Exit status is that of the last command.
22455   exit
22456 }
22457
22458
22459 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22460   as_dirname=dirname
22461 else
22462   as_dirname=false
22463 fi
22464
22465 ECHO_C= ECHO_N= ECHO_T=
22466 case `echo -n x` in
22467 -n*)
22468   case `echo 'x\c'` in
22469   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
22470   *)   ECHO_C='\c';;
22471   esac;;
22472 *)
22473   ECHO_N='-n';;
22474 esac
22475
22476 if expr a : '\(a\)' >/dev/null 2>&1 &&
22477    test "X`expr 00001 : '.*\(...\)'`" = X001; then
22478   as_expr=expr
22479 else
22480   as_expr=false
22481 fi
22482
22483 rm -f conf$$ conf$$.exe conf$$.file
22484 if test -d conf$$.dir; then
22485   rm -f conf$$.dir/conf$$.file
22486 else
22487   rm -f conf$$.dir
22488   mkdir conf$$.dir
22489 fi
22490 echo >conf$$.file
22491 if ln -s conf$$.file conf$$ 2>/dev/null; then
22492   as_ln_s='ln -s'
22493   # ... but there are two gotchas:
22494   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22495   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22496   # In both cases, we have to default to `cp -p'.
22497   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22498     as_ln_s='cp -p'
22499 elif ln conf$$.file conf$$ 2>/dev/null; then
22500   as_ln_s=ln
22501 else
22502   as_ln_s='cp -p'
22503 fi
22504 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22505 rmdir conf$$.dir 2>/dev/null
22506
22507 if mkdir -p . 2>/dev/null; then
22508   as_mkdir_p=:
22509 else
22510   test -d ./-p && rmdir ./-p
22511   as_mkdir_p=false
22512 fi
22513
22514 if test -x / >/dev/null 2>&1; then
22515   as_test_x='test -x'
22516 else
22517   if ls -dL / >/dev/null 2>&1; then
22518     as_ls_L_option=L
22519   else
22520     as_ls_L_option=
22521   fi
22522   as_test_x='
22523     eval sh -c '\''
22524       if test -d "$1"; then
22525         test -d "$1/.";
22526       else
22527         case $1 in
22528         -*)set "./$1";;
22529         esac;
22530         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22531         ???[sx]*):;;*)false;;esac;fi
22532     '\'' sh
22533   '
22534 fi
22535 as_executable_p=$as_test_x
22536
22537 # Sed expression to map a string onto a valid CPP name.
22538 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22539
22540 # Sed expression to map a string onto a valid variable name.
22541 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22542
22543
22544 exec 6>&1
22545
22546 # Save the log message, to keep $[0] and so on meaningful, and to
22547 # report actual input values of CONFIG_FILES etc. instead of their
22548 # values after options handling.
22549 ac_log="
22550 This file was extended by gtkmm $as_me 2.12.3, which was
22551 generated by GNU Autoconf 2.61.  Invocation command line was
22552
22553   CONFIG_FILES    = $CONFIG_FILES
22554   CONFIG_HEADERS  = $CONFIG_HEADERS
22555   CONFIG_LINKS    = $CONFIG_LINKS
22556   CONFIG_COMMANDS = $CONFIG_COMMANDS
22557   $ $0 $@
22558
22559 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22560 "
22561
22562 _ACEOF
22563
22564 cat >>$CONFIG_STATUS <<_ACEOF
22565 # Files that config.status was made for.
22566 config_files="$ac_config_files"
22567 config_headers="$ac_config_headers"
22568 config_commands="$ac_config_commands"
22569
22570 _ACEOF
22571
22572 cat >>$CONFIG_STATUS <<\_ACEOF
22573 ac_cs_usage="\
22574 \`$as_me' instantiates files from templates according to the
22575 current configuration.
22576
22577 Usage: $0 [OPTIONS] [FILE]...
22578
22579   -h, --help       print this help, then exit
22580   -V, --version    print version number and configuration settings, then exit
22581   -q, --quiet      do not print progress messages
22582   -d, --debug      don't remove temporary files
22583       --recheck    update $as_me by reconfiguring in the same conditions
22584   --file=FILE[:TEMPLATE]
22585                    instantiate the configuration file FILE
22586   --header=FILE[:TEMPLATE]
22587                    instantiate the configuration header FILE
22588
22589 Configuration files:
22590 $config_files
22591
22592 Configuration headers:
22593 $config_headers
22594
22595 Configuration commands:
22596 $config_commands
22597
22598 Report bugs to <bug-autoconf@gnu.org>."
22599
22600 _ACEOF
22601 cat >>$CONFIG_STATUS <<_ACEOF
22602 ac_cs_version="\\
22603 gtkmm config.status 2.12.3
22604 configured by $0, generated by GNU Autoconf 2.61,
22605   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22606
22607 Copyright (C) 2006 Free Software Foundation, Inc.
22608 This config.status script is free software; the Free Software Foundation
22609 gives unlimited permission to copy, distribute and modify it."
22610
22611 ac_pwd='$ac_pwd'
22612 srcdir='$srcdir'
22613 INSTALL='$INSTALL'
22614 MKDIR_P='$MKDIR_P'
22615 _ACEOF
22616
22617 cat >>$CONFIG_STATUS <<\_ACEOF
22618 # If no file are specified by the user, then we need to provide default
22619 # value.  By we need to know if files were specified by the user.
22620 ac_need_defaults=:
22621 while test $# != 0
22622 do
22623   case $1 in
22624   --*=*)
22625     ac_option=`expr "X$1" : 'X\([^=]*\)='`
22626     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22627     ac_shift=:
22628     ;;
22629   *)
22630     ac_option=$1
22631     ac_optarg=$2
22632     ac_shift=shift
22633     ;;
22634   esac
22635
22636   case $ac_option in
22637   # Handling of the options.
22638   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22639     ac_cs_recheck=: ;;
22640   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22641     echo "$ac_cs_version"; exit ;;
22642   --debug | --debu | --deb | --de | --d | -d )
22643     debug=: ;;
22644   --file | --fil | --fi | --f )
22645     $ac_shift
22646     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
22647     ac_need_defaults=false;;
22648   --header | --heade | --head | --hea )
22649     $ac_shift
22650     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22651     ac_need_defaults=false;;
22652   --he | --h)
22653     # Conflict between --help and --header
22654     { echo "$as_me: error: ambiguous option: $1
22655 Try \`$0 --help' for more information." >&2
22656    { (exit 1); exit 1; }; };;
22657   --help | --hel | -h )
22658     echo "$ac_cs_usage"; exit ;;
22659   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22660   | -silent | --silent | --silen | --sile | --sil | --si | --s)
22661     ac_cs_silent=: ;;
22662
22663   # This is an error.
22664   -*) { echo "$as_me: error: unrecognized option: $1
22665 Try \`$0 --help' for more information." >&2
22666    { (exit 1); exit 1; }; } ;;
22667
22668   *) ac_config_targets="$ac_config_targets $1"
22669      ac_need_defaults=false ;;
22670
22671   esac
22672   shift
22673 done
22674
22675 ac_configure_extra_args=
22676
22677 if $ac_cs_silent; then
22678   exec 6>/dev/null
22679   ac_configure_extra_args="$ac_configure_extra_args --silent"
22680 fi
22681
22682 _ACEOF
22683 cat >>$CONFIG_STATUS <<_ACEOF
22684 if \$ac_cs_recheck; then
22685   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22686   CONFIG_SHELL=$SHELL
22687   export CONFIG_SHELL
22688   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22689 fi
22690
22691 _ACEOF
22692 cat >>$CONFIG_STATUS <<\_ACEOF
22693 exec 5>>config.log
22694 {
22695   echo
22696   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22697 ## Running $as_me. ##
22698 _ASBOX
22699   echo "$ac_log"
22700 } >&5
22701
22702 _ACEOF
22703 cat >>$CONFIG_STATUS <<_ACEOF
22704 #
22705 # INIT-COMMANDS
22706 #
22707 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22708
22709 _ACEOF
22710
22711 cat >>$CONFIG_STATUS <<\_ACEOF
22712
22713 # Handling of arguments.
22714 for ac_config_target in $ac_config_targets
22715 do
22716   case $ac_config_target in
22717     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
22718     "gdk/gdkmmconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS gdk/gdkmmconfig.h" ;;
22719     "gtk/gtkmmconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS gtk/gtkmmconfig.h" ;;
22720     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
22721     "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
22722     "examples/arrow/Makefile") CONFIG_FILES="$CONFIG_FILES examples/arrow/Makefile" ;;
22723     "examples/base/Makefile") CONFIG_FILES="$CONFIG_FILES examples/base/Makefile" ;;
22724     "examples/book/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/Makefile" ;;
22725     "examples/book/alignment/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/alignment/Makefile" ;;
22726     "examples/book/aspectframe/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/aspectframe/Makefile" ;;
22727     "examples/book/box/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/box/Makefile" ;;
22728     "examples/book/builder/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/builder/Makefile" ;;
22729     "examples/book/builder/basic/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/builder/basic/Makefile" ;;
22730     "examples/book/builder/derived/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/builder/derived/Makefile" ;;
22731     "examples/book/buttonbox/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/buttonbox/Makefile" ;;
22732     "examples/book/buttons/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/buttons/Makefile" ;;
22733     "examples/book/buttons/button/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/buttons/button/Makefile" ;;
22734     "examples/book/buttons/checkbutton/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/buttons/checkbutton/Makefile" ;;
22735     "examples/book/buttons/filechooserbutton/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/buttons/filechooserbutton/Makefile" ;;
22736     "examples/book/buttons/radiobutton/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/buttons/radiobutton/Makefile" ;;
22737     "examples/book/buttons/togglebutton/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/buttons/togglebutton/Makefile" ;;
22738     "examples/book/clipboard/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/clipboard/Makefile" ;;
22739     "examples/book/clipboard/simple/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/clipboard/simple/Makefile" ;;
22740     "examples/book/clipboard/ideal/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/clipboard/ideal/Makefile" ;;
22741     "examples/book/combobox/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/combobox/Makefile" ;;
22742     "examples/book/combobox/text/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/combobox/text/Makefile" ;;
22743     "examples/book/combobox/complex/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/combobox/complex/Makefile" ;;
22744     "examples/book/comboboxentry/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/comboboxentry/Makefile" ;;
22745     "examples/book/comboboxentry/text/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/comboboxentry/text/Makefile" ;;
22746     "examples/book/comboboxentry/complex/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/comboboxentry/complex/Makefile" ;;
22747     "examples/book/custom/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/custom/Makefile" ;;
22748     "examples/book/custom/custom_container/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/custom/custom_container/Makefile" ;;
22749     "examples/book/custom/custom_widget/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/custom/custom_widget/Makefile" ;;
22750     "examples/book/dialogs/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/dialogs/Makefile" ;;
22751     "examples/book/dialogs/aboutdialog/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/dialogs/aboutdialog/Makefile" ;;
22752     "examples/book/dialogs/colorselectiondialog/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/dialogs/colorselectiondialog/Makefile" ;;
22753     "examples/book/dialogs/filechooserdialog/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/dialogs/filechooserdialog/Makefile" ;;
22754     "examples/book/dialogs/fileselection/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/dialogs/fileselection/Makefile" ;;
22755     "examples/book/dialogs/fontselectiondialog/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/dialogs/fontselectiondialog/Makefile" ;;
22756     "examples/book/dialogs/messagedialog/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/dialogs/messagedialog/Makefile" ;;
22757     "examples/book/dialogs/simple/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/dialogs/simple/Makefile" ;;
22758     "examples/book/drag_and_drop/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/drag_and_drop/Makefile" ;;
22759     "examples/book/drawingarea/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/drawingarea/Makefile" ;;
22760     "examples/book/drawingarea/simple/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/drawingarea/simple/Makefile" ;;
22761     "examples/book/drawingarea/curve/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/drawingarea/curve/Makefile" ;;
22762     "examples/book/drawingarea/arcs/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/drawingarea/arcs/Makefile" ;;
22763     "examples/book/drawingarea/clock/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/drawingarea/clock/Makefile" ;;
22764     "examples/book/drawingarea/joins/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/drawingarea/joins/Makefile" ;;
22765     "examples/book/entry/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/entry/Makefile" ;;
22766     "examples/book/entry/completion/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/entry/completion/Makefile" ;;
22767     "examples/book/entry/simple/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/entry/simple/Makefile" ;;
22768     "examples/book/eventbox/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/eventbox/Makefile" ;;
22769     "examples/book/expander/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/expander/Makefile" ;;
22770     "examples/book/frame/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/frame/Makefile" ;;
22771     "examples/book/helloworld/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/helloworld/Makefile" ;;
22772     "examples/book/helloworld2/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/helloworld2/Makefile" ;;
22773     "examples/book/iconview/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/iconview/Makefile" ;;
22774     "examples/book/idle/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/idle/Makefile" ;;
22775     "examples/book/input/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/input/Makefile" ;;
22776     "examples/book/label/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/label/Makefile" ;;
22777     "examples/book/menus/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/menus/Makefile" ;;
22778     "examples/book/menus/main_menu/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/menus/main_menu/Makefile" ;;
22779     "examples/book/menus/popup/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/menus/popup/Makefile" ;;
22780     "examples/book/menus_and_toolbars/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/menus_and_toolbars/Makefile" ;;
22781     "examples/book/notebook/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/notebook/Makefile" ;;
22782     "examples/book/paned/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/paned/Makefile" ;;
22783     "examples/book/printing/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/printing/Makefile" ;;
22784     "examples/book/printing/advanced/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/printing/advanced/Makefile" ;;
22785     "examples/book/printing/simple/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/printing/simple/Makefile" ;;
22786     "examples/book/progressbar/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/progressbar/Makefile" ;;
22787     "examples/book/recent_files/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/recent_files/Makefile" ;;
22788     "examples/book/range_widgets/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/range_widgets/Makefile" ;;
22789     "examples/book/scrolledwindow/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/scrolledwindow/Makefile" ;;
22790     "examples/book/signals/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/signals/Makefile" ;;
22791     "examples/book/signals/custom/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/signals/custom/Makefile" ;;
22792     "examples/book/socket/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/socket/Makefile" ;;
22793     "examples/book/spinbutton/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/spinbutton/Makefile" ;;
22794     "examples/book/statusicon/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/statusicon/Makefile" ;;
22795     "examples/book/table/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/table/Makefile" ;;
22796     "examples/book/textview/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/textview/Makefile" ;;
22797     "examples/book/timeout/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/timeout/Makefile" ;;
22798     "examples/book/toolbar/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/toolbar/Makefile" ;;
22799     "examples/book/tooltips/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/tooltips/Makefile" ;;
22800     "examples/book/treeview/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/treeview/Makefile" ;;
22801     "examples/book/treeview/combo_renderer/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/treeview/combo_renderer/Makefile" ;;
22802     "examples/book/treeview/editable_cells/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/treeview/editable_cells/Makefile" ;;
22803     "examples/book/treeview/list/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/treeview/list/Makefile" ;;
22804     "examples/book/treeview/listviewtext/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/treeview/listviewtext/Makefile" ;;
22805     "examples/book/treeview/tree/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/treeview/tree/Makefile" ;;
22806     "examples/book/treeview/drag_and_drop/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/treeview/drag_and_drop/Makefile" ;;
22807     "examples/book/treeview/popup/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/treeview/popup/Makefile" ;;
22808     "examples/book/treeview/filter/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/treeview/filter/Makefile" ;;
22809     "examples/book/treeview/filter_modify/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/treeview/filter_modify/Makefile" ;;
22810     "examples/book/treeview/modelsort/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/treeview/modelsort/Makefile" ;;
22811     "examples/book/update_ui/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/update_ui/Makefile" ;;
22812     "examples/calendar/Makefile") CONFIG_FILES="$CONFIG_FILES examples/calendar/Makefile" ;;
22813     "examples/dnd/Makefile") CONFIG_FILES="$CONFIG_FILES examples/dnd/Makefile" ;;
22814     "examples/exception/Makefile") CONFIG_FILES="$CONFIG_FILES examples/exception/Makefile" ;;
22815     "examples/gdk/Makefile") CONFIG_FILES="$CONFIG_FILES examples/gdk/Makefile" ;;
22816     "examples/rulers/Makefile") CONFIG_FILES="$CONFIG_FILES examples/rulers/Makefile" ;;
22817     "examples/statusbar/Makefile") CONFIG_FILES="$CONFIG_FILES examples/statusbar/Makefile" ;;
22818     "examples/stock/Makefile") CONFIG_FILES="$CONFIG_FILES examples/stock/Makefile" ;;
22819     "examples/tictactoe/Makefile") CONFIG_FILES="$CONFIG_FILES examples/tictactoe/Makefile" ;;
22820     "examples/treemodelcustom/Makefile") CONFIG_FILES="$CONFIG_FILES examples/treemodelcustom/Makefile" ;;
22821     "examples/window/Makefile") CONFIG_FILES="$CONFIG_FILES examples/window/Makefile" ;;
22822     "demos/Makefile") CONFIG_FILES="$CONFIG_FILES demos/Makefile" ;;
22823     "demos/gtk-demo/Makefile") CONFIG_FILES="$CONFIG_FILES demos/gtk-demo/Makefile" ;;
22824     "atk/Makefile") CONFIG_FILES="$CONFIG_FILES atk/Makefile" ;;
22825     "atk/atkmm-1.6.pc") CONFIG_FILES="$CONFIG_FILES atk/atkmm-1.6.pc" ;;
22826     "atk/src/Makefile") CONFIG_FILES="$CONFIG_FILES atk/src/Makefile" ;;
22827     "atk/atkmm/Makefile") CONFIG_FILES="$CONFIG_FILES atk/atkmm/Makefile" ;;
22828     "atk/atkmm/private/Makefile") CONFIG_FILES="$CONFIG_FILES atk/atkmm/private/Makefile" ;;
22829     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
22830     "docs/FAQ/Makefile") CONFIG_FILES="$CONFIG_FILES docs/FAQ/Makefile" ;;
22831     "docs/images/Makefile") CONFIG_FILES="$CONFIG_FILES docs/images/Makefile" ;;
22832     "docs/tutorial/Makefile") CONFIG_FILES="$CONFIG_FILES docs/tutorial/Makefile" ;;
22833     "docs/tutorial/figures/Makefile") CONFIG_FILES="$CONFIG_FILES docs/tutorial/figures/Makefile" ;;
22834     "docs/tutorial/icons/Makefile") CONFIG_FILES="$CONFIG_FILES docs/tutorial/icons/Makefile" ;;
22835     "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
22836     "docs/reference/Doxyfile") CONFIG_FILES="$CONFIG_FILES docs/reference/Doxyfile" ;;
22837     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22838     "gdk/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/Makefile" ;;
22839     "gdk/gdkmm-2.4.pc") CONFIG_FILES="$CONFIG_FILES gdk/gdkmm-2.4.pc" ;;
22840     "gdk/src/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/src/Makefile" ;;
22841     "gdk/gdkmm/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/gdkmm/Makefile" ;;
22842     "gdk/gdkmm/private/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/gdkmm/private/Makefile" ;;
22843     "gtk/Makefile") CONFIG_FILES="$CONFIG_FILES gtk/Makefile" ;;
22844     "gtk/gtkmm-2.4.pc") CONFIG_FILES="$CONFIG_FILES gtk/gtkmm-2.4.pc" ;;
22845     "gtk/src/Makefile") CONFIG_FILES="$CONFIG_FILES gtk/src/Makefile" ;;
22846     "gtk/gtkmm/Makefile") CONFIG_FILES="$CONFIG_FILES gtk/gtkmm/Makefile" ;;
22847     "gtk/gtkmm/private/Makefile") CONFIG_FILES="$CONFIG_FILES gtk/gtkmm/private/Makefile" ;;
22848     "pango/Makefile") CONFIG_FILES="$CONFIG_FILES pango/Makefile" ;;
22849     "pango/pangomm-1.4.pc") CONFIG_FILES="$CONFIG_FILES pango/pangomm-1.4.pc" ;;
22850     "pango/src/Makefile") CONFIG_FILES="$CONFIG_FILES pango/src/Makefile" ;;
22851     "pango/pangomm/Makefile") CONFIG_FILES="$CONFIG_FILES pango/pangomm/Makefile" ;;
22852     "pango/pangomm/private/Makefile") CONFIG_FILES="$CONFIG_FILES pango/pangomm/private/Makefile" ;;
22853     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
22854     "tools/m4/Makefile") CONFIG_FILES="$CONFIG_FILES tools/m4/Makefile" ;;
22855     "tools/extra_defs_gen/Makefile") CONFIG_FILES="$CONFIG_FILES tools/extra_defs_gen/Makefile" ;;
22856     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
22857     "tests/child_widget/Makefile") CONFIG_FILES="$CONFIG_FILES tests/child_widget/Makefile" ;;
22858     "tests/child_widget2/Makefile") CONFIG_FILES="$CONFIG_FILES tests/child_widget2/Makefile" ;;
22859     "tests/child_widget_managed/Makefile") CONFIG_FILES="$CONFIG_FILES tests/child_widget_managed/Makefile" ;;
22860     "tests/refcount_dialog/Makefile") CONFIG_FILES="$CONFIG_FILES tests/refcount_dialog/Makefile" ;;
22861     "tests/dialog/Makefile") CONFIG_FILES="$CONFIG_FILES tests/dialog/Makefile" ;;
22862     "tests/dialog_deletethis/Makefile") CONFIG_FILES="$CONFIG_FILES tests/dialog_deletethis/Makefile" ;;
22863     "tests/delete_cpp_child/Makefile") CONFIG_FILES="$CONFIG_FILES tests/delete_cpp_child/Makefile" ;;
22864     "tests/main_with_options/Makefile") CONFIG_FILES="$CONFIG_FILES tests/main_with_options/Makefile" ;;
22865     "tests/menu_destruction/Makefile") CONFIG_FILES="$CONFIG_FILES tests/menu_destruction/Makefile" ;;
22866     "tests/property_notification/Makefile") CONFIG_FILES="$CONFIG_FILES tests/property_notification/Makefile" ;;
22867     "tests/scrolledwindow/Makefile") CONFIG_FILES="$CONFIG_FILES tests/scrolledwindow/Makefile" ;;
22868     "tests/wrap_existing/Makefile") CONFIG_FILES="$CONFIG_FILES tests/wrap_existing/Makefile" ;;
22869     "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
22870     "MSVC_Net2003/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/Makefile" ;;
22871     "MSVC_Net2003/gendef/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/gendef/Makefile" ;;
22872     "MSVC_Net2003/atkmm/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/atkmm/Makefile" ;;
22873     "MSVC_Net2003/atkmm/atkmm.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/atkmm/atkmm.rc" ;;
22874     "MSVC_Net2003/pangomm/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/pangomm/Makefile" ;;
22875     "MSVC_Net2003/pangomm/pangomm.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/pangomm/pangomm.rc" ;;
22876     "MSVC_Net2003/gdkmm/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/gdkmm/Makefile" ;;
22877     "MSVC_Net2003/gdkmm/gdkmm.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/gdkmm/gdkmm.rc" ;;
22878     "MSVC_Net2003/gtkmm/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/gtkmm/Makefile" ;;
22879     "MSVC_Net2003/gtkmm/gtkmm.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/gtkmm/gtkmm.rc" ;;
22880     "MSVC_Net2003/demos/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/demos/Makefile" ;;
22881     "MSVC_Net2003/demos/gtk-demo/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/demos/gtk-demo/Makefile" ;;
22882     "MSVC_Net2003/examples/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/Makefile" ;;
22883     "MSVC_Net2003/examples/arrow/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/arrow/Makefile" ;;
22884     "MSVC_Net2003/examples/calendar/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/calendar/Makefile" ;;
22885     "MSVC_Net2003/examples/cellrenderercustom_popup/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/cellrenderercustom_popup/Makefile" ;;
22886     "MSVC_Net2003/examples/cellrenderercustom_toggle/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/cellrenderercustom_toggle/Makefile" ;;
22887     "MSVC_Net2003/examples/direction/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/direction/Makefile" ;;
22888     "MSVC_Net2003/examples/dnd/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/dnd/Makefile" ;;
22889     "MSVC_Net2003/examples/exception/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/exception/Makefile" ;;
22890     "MSVC_Net2003/examples/gdk/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/gdk/Makefile" ;;
22891     "MSVC_Net2003/examples/printing/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/printing/Makefile" ;;
22892     "MSVC_Net2003/examples/rulers/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/rulers/Makefile" ;;
22893     "MSVC_Net2003/examples/statusbar/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/statusbar/Makefile" ;;
22894     "MSVC_Net2003/examples/stock/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/stock/Makefile" ;;
22895     "MSVC_Net2003/examples/tictactoe/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/tictactoe/Makefile" ;;
22896     "MSVC_Net2003/examples/treemodelcustom/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/treemodelcustom/Makefile" ;;
22897     "MSVC_Net2003/examples/window/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/window/Makefile" ;;
22898
22899   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22900 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22901    { (exit 1); exit 1; }; };;
22902   esac
22903 done
22904
22905
22906 # If the user did not use the arguments to specify the items to instantiate,
22907 # then the envvar interface is used.  Set only those that are not.
22908 # We use the long form for the default assignment because of an extremely
22909 # bizarre bug on SunOS 4.1.3.
22910 if $ac_need_defaults; then
22911   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22912   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22913   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22914 fi
22915
22916 # Have a temporary directory for convenience.  Make it in the build tree
22917 # simply because there is no reason against having it here, and in addition,
22918 # creating and moving files from /tmp can sometimes cause problems.
22919 # Hook for its removal unless debugging.
22920 # Note that there is a small window in which the directory will not be cleaned:
22921 # after its creation but before its name has been assigned to `$tmp'.
22922 $debug ||
22923 {
22924   tmp=
22925   trap 'exit_status=$?
22926   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22927 ' 0
22928   trap '{ (exit 1); exit 1; }' 1 2 13 15
22929 }
22930 # Create a (secure) tmp directory for tmp files.
22931
22932 {
22933   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22934   test -n "$tmp" && test -d "$tmp"
22935 }  ||
22936 {
22937   tmp=./conf$$-$RANDOM
22938   (umask 077 && mkdir "$tmp")
22939 } ||
22940 {
22941    echo "$me: cannot create a temporary directory in ." >&2
22942    { (exit 1); exit 1; }
22943 }
22944
22945 #
22946 # Set up the sed scripts for CONFIG_FILES section.
22947 #
22948
22949 # No need to generate the scripts if there are no CONFIG_FILES.
22950 # This happens for instance when ./config.status config.h
22951 if test -n "$CONFIG_FILES"; then
22952
22953 _ACEOF
22954
22955
22956
22957 ac_delim='%!_!# '
22958 for ac_last_try in false false false false false :; do
22959   cat >conf$$subs.sed <<_ACEOF
22960 SHELL!$SHELL$ac_delim
22961 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22962 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22963 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22964 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22965 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22966 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22967 exec_prefix!$exec_prefix$ac_delim
22968 prefix!$prefix$ac_delim
22969 program_transform_name!$program_transform_name$ac_delim
22970 bindir!$bindir$ac_delim
22971 sbindir!$sbindir$ac_delim
22972 libexecdir!$libexecdir$ac_delim
22973 datarootdir!$datarootdir$ac_delim
22974 datadir!$datadir$ac_delim
22975 sysconfdir!$sysconfdir$ac_delim
22976 sharedstatedir!$sharedstatedir$ac_delim
22977 localstatedir!$localstatedir$ac_delim
22978 includedir!$includedir$ac_delim
22979 oldincludedir!$oldincludedir$ac_delim
22980 docdir!$docdir$ac_delim
22981 infodir!$infodir$ac_delim
22982 htmldir!$htmldir$ac_delim
22983 dvidir!$dvidir$ac_delim
22984 pdfdir!$pdfdir$ac_delim
22985 psdir!$psdir$ac_delim
22986 libdir!$libdir$ac_delim
22987 localedir!$localedir$ac_delim
22988 mandir!$mandir$ac_delim
22989 DEFS!$DEFS$ac_delim
22990 ECHO_C!$ECHO_C$ac_delim
22991 ECHO_N!$ECHO_N$ac_delim
22992 ECHO_T!$ECHO_T$ac_delim
22993 LIBS!$LIBS$ac_delim
22994 build_alias!$build_alias$ac_delim
22995 host_alias!$host_alias$ac_delim
22996 target_alias!$target_alias$ac_delim
22997 GTKMM_MAJOR_VERSION!$GTKMM_MAJOR_VERSION$ac_delim
22998 GTKMM_MINOR_VERSION!$GTKMM_MINOR_VERSION$ac_delim
22999 GTKMM_MICRO_VERSION!$GTKMM_MICRO_VERSION$ac_delim
23000 GTKMM_VERSION!$GTKMM_VERSION$ac_delim
23001 GTKMM_RELEASE!$GTKMM_RELEASE$ac_delim
23002 LIBGTKMM_SO_VERSION!$LIBGTKMM_SO_VERSION$ac_delim
23003 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23004 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23005 INSTALL_DATA!$INSTALL_DATA$ac_delim
23006 am__isrc!$am__isrc$ac_delim
23007 CYGPATH_W!$CYGPATH_W$ac_delim
23008 PACKAGE!$PACKAGE$ac_delim
23009 VERSION!$VERSION$ac_delim
23010 ACLOCAL!$ACLOCAL$ac_delim
23011 AUTOCONF!$AUTOCONF$ac_delim
23012 AUTOMAKE!$AUTOMAKE$ac_delim
23013 AUTOHEADER!$AUTOHEADER$ac_delim
23014 MAKEINFO!$MAKEINFO$ac_delim
23015 install_sh!$install_sh$ac_delim
23016 STRIP!$STRIP$ac_delim
23017 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
23018 mkdir_p!$mkdir_p$ac_delim
23019 AWK!$AWK$ac_delim
23020 SET_MAKE!$SET_MAKE$ac_delim
23021 am__leading_dot!$am__leading_dot$ac_delim
23022 AMTAR!$AMTAR$ac_delim
23023 am__tar!$am__tar$ac_delim
23024 am__untar!$am__untar$ac_delim
23025 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
23026 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
23027 MAINT!$MAINT$ac_delim
23028 CC!$CC$ac_delim
23029 CFLAGS!$CFLAGS$ac_delim
23030 LDFLAGS!$LDFLAGS$ac_delim
23031 CPPFLAGS!$CPPFLAGS$ac_delim
23032 ac_ct_CC!$ac_ct_CC$ac_delim
23033 EXEEXT!$EXEEXT$ac_delim
23034 OBJEXT!$OBJEXT$ac_delim
23035 DEPDIR!$DEPDIR$ac_delim
23036 am__include!$am__include$ac_delim
23037 am__quote!$am__quote$ac_delim
23038 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
23039 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
23040 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
23041 CCDEPMODE!$CCDEPMODE$ac_delim
23042 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
23043 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
23044 CPP!$CPP$ac_delim
23045 build!$build$ac_delim
23046 build_cpu!$build_cpu$ac_delim
23047 build_vendor!$build_vendor$ac_delim
23048 build_os!$build_os$ac_delim
23049 host!$host$ac_delim
23050 host_cpu!$host_cpu$ac_delim
23051 host_vendor!$host_vendor$ac_delim
23052 host_os!$host_os$ac_delim
23053 PLATFORM_WIN32_TRUE!$PLATFORM_WIN32_TRUE$ac_delim
23054 PLATFORM_WIN32_FALSE!$PLATFORM_WIN32_FALSE$ac_delim
23055 OS_WIN32_TRUE!$OS_WIN32_TRUE$ac_delim
23056 OS_WIN32_FALSE!$OS_WIN32_FALSE$ac_delim
23057 _ACEOF
23058
23059   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
23060     break
23061   elif $ac_last_try; then
23062     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23063 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23064    { (exit 1); exit 1; }; }
23065   else
23066     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23067   fi
23068 done
23069
23070 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23071 if test -n "$ac_eof"; then
23072   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23073   ac_eof=`expr $ac_eof + 1`
23074 fi
23075
23076 cat >>$CONFIG_STATUS <<_ACEOF
23077 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23078 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23079 _ACEOF
23080 sed '
23081 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23082 s/^/s,@/; s/!/@,|#_!!_#|/
23083 :n
23084 t n
23085 s/'"$ac_delim"'$/,g/; t
23086 s/$/\\/; p
23087 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23088 ' >>$CONFIG_STATUS <conf$$subs.sed
23089 rm -f conf$$subs.sed
23090 cat >>$CONFIG_STATUS <<_ACEOF
23091 CEOF$ac_eof
23092 _ACEOF
23093
23094
23095 ac_delim='%!_!# '
23096 for ac_last_try in false false false false false :; do
23097   cat >conf$$subs.sed <<_ACEOF
23098 GREP!$GREP$ac_delim
23099 EGREP!$EGREP$ac_delim
23100 LN_S!$LN_S$ac_delim
23101 ECHO!$ECHO$ac_delim
23102 AR!$AR$ac_delim
23103 RANLIB!$RANLIB$ac_delim
23104 DLLTOOL!$DLLTOOL$ac_delim
23105 AS!$AS$ac_delim
23106 OBJDUMP!$OBJDUMP$ac_delim
23107 CXX!$CXX$ac_delim
23108 CXXFLAGS!$CXXFLAGS$ac_delim
23109 ac_ct_CXX!$ac_ct_CXX$ac_delim
23110 CXXDEPMODE!$CXXDEPMODE$ac_delim
23111 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
23112 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
23113 CXXCPP!$CXXCPP$ac_delim
23114 F77!$F77$ac_delim
23115 FFLAGS!$FFLAGS$ac_delim
23116 ac_ct_F77!$ac_ct_F77$ac_delim
23117 LIBTOOL!$LIBTOOL$ac_delim
23118 M4!$M4$ac_delim
23119 PERL_PATH!$PERL_PATH$ac_delim
23120 GMMPROC_DIR!$GMMPROC_DIR$ac_delim
23121 GMMPROC!$GMMPROC$ac_delim
23122 PKG_CONFIG!$PKG_CONFIG$ac_delim
23123 ATKMM_CFLAGS!$ATKMM_CFLAGS$ac_delim
23124 ATKMM_LIBS!$ATKMM_LIBS$ac_delim
23125 PANGOMM_CFLAGS!$PANGOMM_CFLAGS$ac_delim
23126 PANGOMM_LIBS!$PANGOMM_LIBS$ac_delim
23127 GDKMM_CFLAGS!$GDKMM_CFLAGS$ac_delim
23128 GDKMM_LIBS!$GDKMM_LIBS$ac_delim
23129 GTKMM_CFLAGS!$GTKMM_CFLAGS$ac_delim
23130 GTKMM_LIBS!$GTKMM_LIBS$ac_delim
23131 GTHREAD_CFLAGS!$GTHREAD_CFLAGS$ac_delim
23132 GTHREAD_LIBS!$GTHREAD_LIBS$ac_delim
23133 GTKMM_DOXYGEN_INPUT!$GTKMM_DOXYGEN_INPUT$ac_delim
23134 DISABLE_DEPRECATED_CFLAGS!$DISABLE_DEPRECATED_CFLAGS$ac_delim
23135 DISABLE_DEPRECATED_API_CFLAGS!$DISABLE_DEPRECATED_API_CFLAGS$ac_delim
23136 EXAMPLE_SUBDIR!$EXAMPLE_SUBDIR$ac_delim
23137 DEMO_SUBDIR!$DEMO_SUBDIR$ac_delim
23138 GTKMM_PC_ATKMM_DEP!$GTKMM_PC_ATKMM_DEP$ac_delim
23139 GTKMM_ATKMM_ENABLED_TRUE!$GTKMM_ATKMM_ENABLED_TRUE$ac_delim
23140 GTKMM_ATKMM_ENABLED_FALSE!$GTKMM_ATKMM_ENABLED_FALSE$ac_delim
23141 DOCS_SUBDIR!$DOCS_SUBDIR$ac_delim
23142 GTKMM_FALSE_TRUE!$GTKMM_FALSE_TRUE$ac_delim
23143 GTKMM_FALSE_FALSE!$GTKMM_FALSE_FALSE$ac_delim
23144 LIBOBJS!$LIBOBJS$ac_delim
23145 LTLIBOBJS!$LTLIBOBJS$ac_delim
23146 _ACEOF
23147
23148   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 48; then
23149     break
23150   elif $ac_last_try; then
23151     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23152 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23153    { (exit 1); exit 1; }; }
23154   else
23155     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23156   fi
23157 done
23158
23159 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23160 if test -n "$ac_eof"; then
23161   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23162   ac_eof=`expr $ac_eof + 1`
23163 fi
23164
23165 cat >>$CONFIG_STATUS <<_ACEOF
23166 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23167 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23168 _ACEOF
23169 sed '
23170 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23171 s/^/s,@/; s/!/@,|#_!!_#|/
23172 :n
23173 t n
23174 s/'"$ac_delim"'$/,g/; t
23175 s/$/\\/; p
23176 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23177 ' >>$CONFIG_STATUS <conf$$subs.sed
23178 rm -f conf$$subs.sed
23179 cat >>$CONFIG_STATUS <<_ACEOF
23180 :end
23181 s/|#_!!_#|//g
23182 CEOF$ac_eof
23183 _ACEOF
23184
23185
23186 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23187 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23188 # trailing colons and then remove the whole line if VPATH becomes empty
23189 # (actually we leave an empty line to preserve line numbers).
23190 if test "x$srcdir" = x.; then
23191   ac_vpsub='/^[  ]*VPATH[        ]*=/{
23192 s/:*\$(srcdir):*/:/
23193 s/:*\${srcdir}:*/:/
23194 s/:*@srcdir@:*/:/
23195 s/^\([^=]*=[     ]*\):*/\1/
23196 s/:*$//
23197 s/^[^=]*=[       ]*$//
23198 }'
23199 fi
23200
23201 cat >>$CONFIG_STATUS <<\_ACEOF
23202 fi # test -n "$CONFIG_FILES"
23203
23204
23205 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
23206 do
23207   case $ac_tag in
23208   :[FHLC]) ac_mode=$ac_tag; continue;;
23209   esac
23210   case $ac_mode$ac_tag in
23211   :[FHL]*:*);;
23212   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23213 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23214    { (exit 1); exit 1; }; };;
23215   :[FH]-) ac_tag=-:-;;
23216   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23217   esac
23218   ac_save_IFS=$IFS
23219   IFS=:
23220   set x $ac_tag
23221   IFS=$ac_save_IFS
23222   shift
23223   ac_file=$1
23224   shift
23225
23226   case $ac_mode in
23227   :L) ac_source=$1;;
23228   :[FH])
23229     ac_file_inputs=
23230     for ac_f
23231     do
23232       case $ac_f in
23233       -) ac_f="$tmp/stdin";;
23234       *) # Look for the file first in the build tree, then in the source tree
23235          # (if the path is not absolute).  The absolute path cannot be DOS-style,
23236          # because $ac_f cannot contain `:'.
23237          test -f "$ac_f" ||
23238            case $ac_f in
23239            [\\/$]*) false;;
23240            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23241            esac ||
23242            { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23243 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23244    { (exit 1); exit 1; }; };;
23245       esac
23246       ac_file_inputs="$ac_file_inputs $ac_f"
23247     done
23248
23249     # Let's still pretend it is `configure' which instantiates (i.e., don't
23250     # use $as_me), people would be surprised to read:
23251     #    /* config.h.  Generated by config.status.  */
23252     configure_input="Generated from "`IFS=:
23253           echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23254     if test x"$ac_file" != x-; then
23255       configure_input="$ac_file.  $configure_input"
23256       { echo "$as_me:$LINENO: creating $ac_file" >&5
23257 echo "$as_me: creating $ac_file" >&6;}
23258     fi
23259
23260     case $ac_tag in
23261     *:-:* | *:-) cat >"$tmp/stdin";;
23262     esac
23263     ;;
23264   esac
23265
23266   ac_dir=`$as_dirname -- "$ac_file" ||
23267 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23268          X"$ac_file" : 'X\(//\)[^/]' \| \
23269          X"$ac_file" : 'X\(//\)$' \| \
23270          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23271 echo X"$ac_file" |
23272     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23273             s//\1/
23274             q
23275           }
23276           /^X\(\/\/\)[^/].*/{
23277             s//\1/
23278             q
23279           }
23280           /^X\(\/\/\)$/{
23281             s//\1/
23282             q
23283           }
23284           /^X\(\/\).*/{
23285             s//\1/
23286             q
23287           }
23288           s/.*/./; q'`
23289   { as_dir="$ac_dir"
23290   case $as_dir in #(
23291   -*) as_dir=./$as_dir;;
23292   esac
23293   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23294     as_dirs=
23295     while :; do
23296       case $as_dir in #(
23297       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23298       *) as_qdir=$as_dir;;
23299       esac
23300       as_dirs="'$as_qdir' $as_dirs"
23301       as_dir=`$as_dirname -- "$as_dir" ||
23302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23303          X"$as_dir" : 'X\(//\)[^/]' \| \
23304          X"$as_dir" : 'X\(//\)$' \| \
23305          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23306 echo X"$as_dir" |
23307     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23308             s//\1/
23309             q
23310           }
23311           /^X\(\/\/\)[^/].*/{
23312             s//\1/
23313             q
23314           }
23315           /^X\(\/\/\)$/{
23316             s//\1/
23317             q
23318           }
23319           /^X\(\/\).*/{
23320             s//\1/
23321             q
23322           }
23323           s/.*/./; q'`
23324       test -d "$as_dir" && break
23325     done
23326     test -z "$as_dirs" || eval "mkdir $as_dirs"
23327   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23328 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23329    { (exit 1); exit 1; }; }; }
23330   ac_builddir=.
23331
23332 case "$ac_dir" in
23333 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23334 *)
23335   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23336   # A ".." for each directory in $ac_dir_suffix.
23337   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23338   case $ac_top_builddir_sub in
23339   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23340   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23341   esac ;;
23342 esac
23343 ac_abs_top_builddir=$ac_pwd
23344 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23345 # for backward compatibility:
23346 ac_top_builddir=$ac_top_build_prefix
23347
23348 case $srcdir in
23349   .)  # We are building in place.
23350     ac_srcdir=.
23351     ac_top_srcdir=$ac_top_builddir_sub
23352     ac_abs_top_srcdir=$ac_pwd ;;
23353   [\\/]* | ?:[\\/]* )  # Absolute name.
23354     ac_srcdir=$srcdir$ac_dir_suffix;
23355     ac_top_srcdir=$srcdir
23356     ac_abs_top_srcdir=$srcdir ;;
23357   *) # Relative name.
23358     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23359     ac_top_srcdir=$ac_top_build_prefix$srcdir
23360     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23361 esac
23362 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23363
23364
23365   case $ac_mode in
23366   :F)
23367   #
23368   # CONFIG_FILE
23369   #
23370
23371   case $INSTALL in
23372   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23373   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23374   esac
23375   ac_MKDIR_P=$MKDIR_P
23376   case $MKDIR_P in
23377   [\\/$]* | ?:[\\/]* ) ;;
23378   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
23379   esac
23380 _ACEOF
23381
23382 cat >>$CONFIG_STATUS <<\_ACEOF
23383 # If the template does not know about datarootdir, expand it.
23384 # FIXME: This hack should be removed a few years after 2.60.
23385 ac_datarootdir_hack=; ac_datarootdir_seen=
23386
23387 case `sed -n '/datarootdir/ {
23388   p
23389   q
23390 }
23391 /@datadir@/p
23392 /@docdir@/p
23393 /@infodir@/p
23394 /@localedir@/p
23395 /@mandir@/p
23396 ' $ac_file_inputs` in
23397 *datarootdir*) ac_datarootdir_seen=yes;;
23398 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23399   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23400 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23401 _ACEOF
23402 cat >>$CONFIG_STATUS <<_ACEOF
23403   ac_datarootdir_hack='
23404   s&@datadir@&$datadir&g
23405   s&@docdir@&$docdir&g
23406   s&@infodir@&$infodir&g
23407   s&@localedir@&$localedir&g
23408   s&@mandir@&$mandir&g
23409     s&\\\${datarootdir}&$datarootdir&g' ;;
23410 esac
23411 _ACEOF
23412
23413 # Neutralize VPATH when `$srcdir' = `.'.
23414 # Shell code in configure.ac might set extrasub.
23415 # FIXME: do we really want to maintain this feature?
23416 cat >>$CONFIG_STATUS <<_ACEOF
23417   sed "$ac_vpsub
23418 $extrasub
23419 _ACEOF
23420 cat >>$CONFIG_STATUS <<\_ACEOF
23421 :t
23422 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23423 s&@configure_input@&$configure_input&;t t
23424 s&@top_builddir@&$ac_top_builddir_sub&;t t
23425 s&@srcdir@&$ac_srcdir&;t t
23426 s&@abs_srcdir@&$ac_abs_srcdir&;t t
23427 s&@top_srcdir@&$ac_top_srcdir&;t t
23428 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23429 s&@builddir@&$ac_builddir&;t t
23430 s&@abs_builddir@&$ac_abs_builddir&;t t
23431 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23432 s&@INSTALL@&$ac_INSTALL&;t t
23433 s&@MKDIR_P@&$ac_MKDIR_P&;t t
23434 $ac_datarootdir_hack
23435 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23436
23437 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23438   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23439   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23440   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23441 which seems to be undefined.  Please make sure it is defined." >&5
23442 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23443 which seems to be undefined.  Please make sure it is defined." >&2;}
23444
23445   rm -f "$tmp/stdin"
23446   case $ac_file in
23447   -) cat "$tmp/out"; rm -f "$tmp/out";;
23448   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23449   esac
23450  ;;
23451   :H)
23452   #
23453   # CONFIG_HEADER
23454   #
23455 _ACEOF
23456
23457 # Transform confdefs.h into a sed script `conftest.defines', that
23458 # substitutes the proper values into config.h.in to produce config.h.
23459 rm -f conftest.defines conftest.tail
23460 # First, append a space to every undef/define line, to ease matching.
23461 echo 's/$/ /' >conftest.defines
23462 # Then, protect against being on the right side of a sed subst, or in
23463 # an unquoted here document, in config.status.  If some macros were
23464 # called several times there might be several #defines for the same
23465 # symbol, which is useless.  But do not sort them, since the last
23466 # AC_DEFINE must be honored.
23467 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23468 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23469 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23470 # PARAMS is the parameter list in the macro definition--in most cases, it's
23471 # just an empty string.
23472 ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
23473 ac_dB='\\)[      (].*,\\1define\\2'
23474 ac_dC=' '
23475 ac_dD=' ,'
23476
23477 uniq confdefs.h |
23478   sed -n '
23479         t rset
23480         :rset
23481         s/^[     ]*#[    ]*define[       ][      ]*//
23482         t ok
23483         d
23484         :ok
23485         s/[\\&,]/\\&/g
23486         s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23487         s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23488   ' >>conftest.defines
23489
23490 # Remove the space that was appended to ease matching.
23491 # Then replace #undef with comments.  This is necessary, for
23492 # example, in the case of _POSIX_SOURCE, which is predefined and required
23493 # on some systems where configure will not decide to define it.
23494 # (The regexp can be short, since the line contains either #define or #undef.)
23495 echo 's/ $//
23496 s,^[     #]*u.*,/* & */,' >>conftest.defines
23497
23498 # Break up conftest.defines:
23499 ac_max_sed_lines=50
23500
23501 # First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23502 # Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23503 # Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23504 # et cetera.
23505 ac_in='$ac_file_inputs'
23506 ac_out='"$tmp/out1"'
23507 ac_nxt='"$tmp/out2"'
23508
23509 while :
23510 do
23511   # Write a here document:
23512     cat >>$CONFIG_STATUS <<_ACEOF
23513     # First, check the format of the line:
23514     cat >"\$tmp/defines.sed" <<\\CEOF
23515 /^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
23516 /^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
23517 b
23518 :def
23519 _ACEOF
23520   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
23521   echo 'CEOF
23522     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23523   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
23524   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
23525   grep . conftest.tail >/dev/null || break
23526   rm -f conftest.defines
23527   mv conftest.tail conftest.defines
23528 done
23529 rm -f conftest.defines conftest.tail
23530
23531 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23532 cat >>$CONFIG_STATUS <<\_ACEOF
23533   if test x"$ac_file" != x-; then
23534     echo "/* $configure_input  */" >"$tmp/config.h"
23535     cat "$ac_result" >>"$tmp/config.h"
23536     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
23537       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23538 echo "$as_me: $ac_file is unchanged" >&6;}
23539     else
23540       rm -f $ac_file
23541       mv "$tmp/config.h" $ac_file
23542     fi
23543   else
23544     echo "/* $configure_input  */"
23545     cat "$ac_result"
23546   fi
23547   rm -f "$tmp/out12"
23548 # Compute $ac_file's index in $config_headers.
23549 _am_stamp_count=1
23550 for _am_header in $config_headers :; do
23551   case $_am_header in
23552     $ac_file | $ac_file:* )
23553       break ;;
23554     * )
23555       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
23556   esac
23557 done
23558 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
23559 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23560          X$ac_file : 'X\(//\)[^/]' \| \
23561          X$ac_file : 'X\(//\)$' \| \
23562          X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
23563 echo X$ac_file |
23564     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23565             s//\1/
23566             q
23567           }
23568           /^X\(\/\/\)[^/].*/{
23569             s//\1/
23570             q
23571           }
23572           /^X\(\/\/\)$/{
23573             s//\1/
23574             q
23575           }
23576           /^X\(\/\).*/{
23577             s//\1/
23578             q
23579           }
23580           s/.*/./; q'`/stamp-h$_am_stamp_count
23581  ;;
23582
23583   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23584 echo "$as_me: executing $ac_file commands" >&6;}
23585  ;;
23586   esac
23587
23588
23589   case $ac_file$ac_mode in
23590     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
23591   # Strip MF so we end up with the name of the file.
23592   mf=`echo "$mf" | sed -e 's/:.*$//'`
23593   # Check whether this is an Automake generated Makefile or not.
23594   # We used to match only the files named `Makefile.in', but
23595   # some people rename them; so instead we look at the file content.
23596   # Grep'ing the first line is not enough: some people post-process
23597   # each Makefile.in and add a new line on top of each file to say so.
23598   # Grep'ing the whole file is not good either: AIX grep has a line
23599   # limit of 2048, but all sed's we know have understand at least 4000.
23600   if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
23601     dirpart=`$as_dirname -- "$mf" ||
23602 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23603          X"$mf" : 'X\(//\)[^/]' \| \
23604          X"$mf" : 'X\(//\)$' \| \
23605          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23606 echo X"$mf" |
23607     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23608             s//\1/
23609             q
23610           }
23611           /^X\(\/\/\)[^/].*/{
23612             s//\1/
23613             q
23614           }
23615           /^X\(\/\/\)$/{
23616             s//\1/
23617             q
23618           }
23619           /^X\(\/\).*/{
23620             s//\1/
23621             q
23622           }
23623           s/.*/./; q'`
23624   else
23625     continue
23626   fi
23627   # Extract the definition of DEPDIR, am__include, and am__quote
23628   # from the Makefile without running `make'.
23629   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
23630   test -z "$DEPDIR" && continue
23631   am__include=`sed -n 's/^am__include = //p' < "$mf"`
23632   test -z "am__include" && continue
23633   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
23634   # When using ansi2knr, U may be empty or an underscore; expand it
23635   U=`sed -n 's/^U = //p' < "$mf"`
23636   # Find all dependency output files, they are included files with
23637   # $(DEPDIR) in their names.  We invoke sed twice because it is the
23638   # simplest approach to changing $(DEPDIR) to its actual value in the
23639   # expansion.
23640   for file in `sed -n "
23641     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23642        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23643     # Make sure the directory exists.
23644     test -f "$dirpart/$file" && continue
23645     fdir=`$as_dirname -- "$file" ||
23646 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23647          X"$file" : 'X\(//\)[^/]' \| \
23648          X"$file" : 'X\(//\)$' \| \
23649          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23650 echo X"$file" |
23651     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23652             s//\1/
23653             q
23654           }
23655           /^X\(\/\/\)[^/].*/{
23656             s//\1/
23657             q
23658           }
23659           /^X\(\/\/\)$/{
23660             s//\1/
23661             q
23662           }
23663           /^X\(\/\).*/{
23664             s//\1/
23665             q
23666           }
23667           s/.*/./; q'`
23668     { as_dir=$dirpart/$fdir
23669   case $as_dir in #(
23670   -*) as_dir=./$as_dir;;
23671   esac
23672   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23673     as_dirs=
23674     while :; do
23675       case $as_dir in #(
23676       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23677       *) as_qdir=$as_dir;;
23678       esac
23679       as_dirs="'$as_qdir' $as_dirs"
23680       as_dir=`$as_dirname -- "$as_dir" ||
23681 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23682          X"$as_dir" : 'X\(//\)[^/]' \| \
23683          X"$as_dir" : 'X\(//\)$' \| \
23684          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23685 echo X"$as_dir" |
23686     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23687             s//\1/
23688             q
23689           }
23690           /^X\(\/\/\)[^/].*/{
23691             s//\1/
23692             q
23693           }
23694           /^X\(\/\/\)$/{
23695             s//\1/
23696             q
23697           }
23698           /^X\(\/\).*/{
23699             s//\1/
23700             q
23701           }
23702           s/.*/./; q'`
23703       test -d "$as_dir" && break
23704     done
23705     test -z "$as_dirs" || eval "mkdir $as_dirs"
23706   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23707 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23708    { (exit 1); exit 1; }; }; }
23709     # echo "creating $dirpart/$file"
23710     echo '# dummy' > "$dirpart/$file"
23711   done
23712 done
23713  ;;
23714
23715   esac
23716 done # for ac_tag
23717
23718
23719 { (exit 0); exit 0; }
23720 _ACEOF
23721 chmod +x $CONFIG_STATUS
23722 ac_clean_files=$ac_clean_files_save
23723
23724
23725 # configure is writing to config.log, and then calls config.status.
23726 # config.status does its own redirection, appending to config.log.
23727 # Unfortunately, on DOS this fails, as config.log is still kept open
23728 # by configure, so config.status won't be able to write to it; its
23729 # output is simply discarded.  So we exec the FD to /dev/null,
23730 # effectively closing config.log, so it can be properly (re)opened and
23731 # appended to by config.status.  When coming back to configure, we
23732 # need to make the FD available again.
23733 if test "$no_create" != yes; then
23734   ac_cs_success=:
23735   ac_config_status_args=
23736   test "$silent" = yes &&
23737     ac_config_status_args="$ac_config_status_args --quiet"
23738   exec 5>/dev/null
23739   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23740   exec 5>>config.log
23741   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23742   # would make configure fail if this is the last instruction.
23743   $ac_cs_success || { (exit 1); exit 1; }
23744 fi
23745
23746