]> git.sur5r.net Git - glabels/blob - configure
Imported Upstream version 2.2.8
[glabels] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for glabels 2.2.8.
4 #
5 # Report bugs to <http://sourceforge.net/tracker/?func=add&group_id=46122&atid=445116>.
6 #
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization.  ##
13 ## --------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18   emulate sh
19   NULLCMD=:
20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in
26   *posix*) set -o posix ;;
27 esac
28
29 fi
30
31
32
33
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42 as_nl='
43 '
44 export as_nl
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85   as_unset=unset
86 else
87   as_unset=false
88 fi
89
90
91 # IFS
92 # We need space, tab and new line, in precisely that order.  Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
96 IFS=" ""        $as_nl"
97
98 # Find who we are.  Look in the path if we contain no directory separator.
99 case $0 in
100   *[\\/]* ) as_myself=$0 ;;
101   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102 for as_dir in $PATH
103 do
104   IFS=$as_save_IFS
105   test -z "$as_dir" && as_dir=.
106   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 done
108 IFS=$as_save_IFS
109
110      ;;
111 esac
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x; then
115   as_myself=$0
116 fi
117 if test ! -f "$as_myself"; then
118   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119   { (exit 1); exit 1; }
120 fi
121
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # Required to use basename.
137 if expr a : '\(a\)' >/dev/null 2>&1 &&
138    test "X`expr 00001 : '.*\(...\)'`" = X001; then
139   as_expr=expr
140 else
141   as_expr=false
142 fi
143
144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145   as_basename=basename
146 else
147   as_basename=false
148 fi
149
150
151 # Name of the executable.
152 as_me=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154          X"$0" : 'X\(//\)$' \| \
155          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156 $as_echo X/"$0" |
157     sed '/^.*\/\([^/][^/]*\)\/*$/{
158             s//\1/
159             q
160           }
161           /^X\/\(\/\/\)$/{
162             s//\1/
163             q
164           }
165           /^X\/\(\/\).*/{
166             s//\1/
167             q
168           }
169           s/.*/./; q'`
170
171 # CDPATH.
172 $as_unset CDPATH
173
174
175 if test "x$CONFIG_SHELL" = x; then
176   if (eval ":") 2>/dev/null; then
177   as_have_required=yes
178 else
179   as_have_required=no
180 fi
181
182   if test $as_have_required = yes &&     (eval ":
183 (as_func_return () {
184   (exit \$1)
185 }
186 as_func_success () {
187   as_func_return 0
188 }
189 as_func_failure () {
190   as_func_return 1
191 }
192 as_func_ret_success () {
193   return 0
194 }
195 as_func_ret_failure () {
196   return 1
197 }
198
199 exitcode=0
200 if as_func_success; then
201   :
202 else
203   exitcode=1
204   echo as_func_success failed.
205 fi
206
207 if as_func_failure; then
208   exitcode=1
209   echo as_func_failure succeeded.
210 fi
211
212 if as_func_ret_success; then
213   :
214 else
215   exitcode=1
216   echo as_func_ret_success failed.
217 fi
218
219 if as_func_ret_failure; then
220   exitcode=1
221   echo as_func_ret_failure succeeded.
222 fi
223
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225   :
226 else
227   exitcode=1
228   echo positional parameters were not saved.
229 fi
230
231 test \$exitcode = 0) || { (exit 1); exit 1; }
232
233 (
234   as_lineno_1=\$LINENO
235   as_lineno_2=\$LINENO
236   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev/null; then
239   :
240 else
241   as_candidate_shells=
242     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244 do
245   IFS=$as_save_IFS
246   test -z "$as_dir" && as_dir=.
247   case $as_dir in
248          /*)
249            for as_base in sh bash ksh sh5; do
250              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
251            done;;
252        esac
253 done
254 IFS=$as_save_IFS
255
256
257       for as_shell in $as_candidate_shells $SHELL; do
258          # Try only shells that exist, to save several forks.
259          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260                 { ("$as_shell") 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262   emulate sh
263   NULLCMD=:
264   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265   # is contrary to our usage.  Disable this feature.
266   alias -g '${1+"$@"}'='"$@"'
267   setopt NO_GLOB_SUBST
268 else
269   case `(set -o) 2>/dev/null` in
270   *posix*) set -o posix ;;
271 esac
272
273 fi
274
275
276 :
277 _ASEOF
278 }; then
279   CONFIG_SHELL=$as_shell
280                as_have_required=yes
281                if { "$as_shell" 2> /dev/null <<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283   emulate sh
284   NULLCMD=:
285   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286   # is contrary to our usage.  Disable this feature.
287   alias -g '${1+"$@"}'='"$@"'
288   setopt NO_GLOB_SUBST
289 else
290   case `(set -o) 2>/dev/null` in
291   *posix*) set -o posix ;;
292 esac
293
294 fi
295
296
297 :
298 (as_func_return () {
299   (exit $1)
300 }
301 as_func_success () {
302   as_func_return 0
303 }
304 as_func_failure () {
305   as_func_return 1
306 }
307 as_func_ret_success () {
308   return 0
309 }
310 as_func_ret_failure () {
311   return 1
312 }
313
314 exitcode=0
315 if as_func_success; then
316   :
317 else
318   exitcode=1
319   echo as_func_success failed.
320 fi
321
322 if as_func_failure; then
323   exitcode=1
324   echo as_func_failure succeeded.
325 fi
326
327 if as_func_ret_success; then
328   :
329 else
330   exitcode=1
331   echo as_func_ret_success failed.
332 fi
333
334 if as_func_ret_failure; then
335   exitcode=1
336   echo as_func_ret_failure succeeded.
337 fi
338
339 if ( set x; as_func_ret_success y && test x = "$1" ); then
340   :
341 else
342   exitcode=1
343   echo positional parameters were not saved.
344 fi
345
346 test $exitcode = 0) || { (exit 1); exit 1; }
347
348 (
349   as_lineno_1=$LINENO
350   as_lineno_2=$LINENO
351   test "x$as_lineno_1" != "x$as_lineno_2" &&
352   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
353
354 _ASEOF
355 }; then
356   break
357 fi
358
359 fi
360
361       done
362
363       if test "x$CONFIG_SHELL" != x; then
364   for as_var in BASH_ENV ENV
365         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366         done
367         export CONFIG_SHELL
368         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369 fi
370
371
372     if test $as_have_required = no; then
373   echo This script requires a shell more modern than all the
374       echo shells that I found on your system.  Please install a
375       echo modern shell, or manually run the script under such a
376       echo shell if you do have one.
377       { (exit 1); exit 1; }
378 fi
379
380
381 fi
382
383 fi
384
385
386
387 (eval "as_func_return () {
388   (exit \$1)
389 }
390 as_func_success () {
391   as_func_return 0
392 }
393 as_func_failure () {
394   as_func_return 1
395 }
396 as_func_ret_success () {
397   return 0
398 }
399 as_func_ret_failure () {
400   return 1
401 }
402
403 exitcode=0
404 if as_func_success; then
405   :
406 else
407   exitcode=1
408   echo as_func_success failed.
409 fi
410
411 if as_func_failure; then
412   exitcode=1
413   echo as_func_failure succeeded.
414 fi
415
416 if as_func_ret_success; then
417   :
418 else
419   exitcode=1
420   echo as_func_ret_success failed.
421 fi
422
423 if as_func_ret_failure; then
424   exitcode=1
425   echo as_func_ret_failure succeeded.
426 fi
427
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429   :
430 else
431   exitcode=1
432   echo positional parameters were not saved.
433 fi
434
435 test \$exitcode = 0") || {
436   echo No shell found that supports shell functions.
437   echo Please tell bug-autoconf@gnu.org about your system,
438   echo including any error possibly output before this message.
439   echo This can help us improve future autoconf versions.
440   echo Configuration will now proceed without shell functions.
441 }
442
443
444
445   as_lineno_1=$LINENO
446   as_lineno_2=$LINENO
447   test "x$as_lineno_1" != "x$as_lineno_2" &&
448   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449
450   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451   # uniformly replaced by the line number.  The first 'sed' inserts a
452   # line-number line after each line using $LINENO; the second 'sed'
453   # does the real work.  The second script uses 'N' to pair each
454   # line-number line with the line containing $LINENO, and appends
455   # trailing '-' during substitution so that $LINENO is not a special
456   # case at line end.
457   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458   # scripts with optimization help from Paolo Bonzini.  Blame Lee
459   # E. McMahon (1931-1989) for sed's syntax.  :-)
460   sed -n '
461     p
462     /[$]LINENO/=
463   ' <$as_myself |
464     sed '
465       s/[$]LINENO.*/&-/
466       t lineno
467       b
468       :lineno
469       N
470       :loop
471       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
472       t loop
473       s/-\n.*//
474     ' >$as_me.lineno &&
475   chmod +x "$as_me.lineno" ||
476     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477    { (exit 1); exit 1; }; }
478
479   # Don't try to exec as it changes $[0], causing all sort of problems
480   # (the dirname of $[0] is not the place where we might find the
481   # original and so on.  Autoconf is especially sensitive to this).
482   . "./$as_me.lineno"
483   # Exit status is that of the last command.
484   exit
485 }
486
487
488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489   as_dirname=dirname
490 else
491   as_dirname=false
492 fi
493
494 ECHO_C= ECHO_N= ECHO_T=
495 case `echo -n x` in
496 -n*)
497   case `echo 'x\c'` in
498   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
499   *)   ECHO_C='\c';;
500   esac;;
501 *)
502   ECHO_N='-n';;
503 esac
504 if expr a : '\(a\)' >/dev/null 2>&1 &&
505    test "X`expr 00001 : '.*\(...\)'`" = X001; then
506   as_expr=expr
507 else
508   as_expr=false
509 fi
510
511 rm -f conf$$ conf$$.exe conf$$.file
512 if test -d conf$$.dir; then
513   rm -f conf$$.dir/conf$$.file
514 else
515   rm -f conf$$.dir
516   mkdir conf$$.dir 2>/dev/null
517 fi
518 if (echo >conf$$.file) 2>/dev/null; then
519   if ln -s conf$$.file conf$$ 2>/dev/null; then
520     as_ln_s='ln -s'
521     # ... but there are two gotchas:
522     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524     # In both cases, we have to default to `cp -p'.
525     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
526       as_ln_s='cp -p'
527   elif ln conf$$.file conf$$ 2>/dev/null; then
528     as_ln_s=ln
529   else
530     as_ln_s='cp -p'
531   fi
532 else
533   as_ln_s='cp -p'
534 fi
535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536 rmdir conf$$.dir 2>/dev/null
537
538 if mkdir -p . 2>/dev/null; then
539   as_mkdir_p=:
540 else
541   test -d ./-p && rmdir ./-p
542   as_mkdir_p=false
543 fi
544
545 if test -x / >/dev/null 2>&1; then
546   as_test_x='test -x'
547 else
548   if ls -dL / >/dev/null 2>&1; then
549     as_ls_L_option=L
550   else
551     as_ls_L_option=
552   fi
553   as_test_x='
554     eval sh -c '\''
555       if test -d "$1"; then
556         test -d "$1/.";
557       else
558         case $1 in
559         -*)set "./$1";;
560         esac;
561         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562         ???[sx]*):;;*)false;;esac;fi
563     '\'' sh
564   '
565 fi
566 as_executable_p=$as_test_x
567
568 # Sed expression to map a string onto a valid CPP name.
569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
570
571 # Sed expression to map a string onto a valid variable name.
572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573
574
575
576
577 # Check that we are running under the correct shell.
578 SHELL=${CONFIG_SHELL-/bin/sh}
579
580 case X$lt_ECHO in
581 X*--fallback-echo)
582   # Remove one level of quotation (which was required for Make).
583   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
584   ;;
585 esac
586
587 ECHO=${lt_ECHO-echo}
588 if test "X$1" = X--no-reexec; then
589   # Discard the --no-reexec flag, and continue.
590   shift
591 elif test "X$1" = X--fallback-echo; then
592   # Avoid inline document here, it may be left over
593   :
594 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
595   # Yippee, $ECHO works!
596   :
597 else
598   # Restart under the correct shell.
599   exec $SHELL "$0" --no-reexec ${1+"$@"}
600 fi
601
602 if test "X$1" = X--fallback-echo; then
603   # used as fallback echo
604   shift
605   cat <<_LT_EOF
606 $*
607 _LT_EOF
608   exit 0
609 fi
610
611 # The HP-UX ksh and POSIX shell print the target directory to stdout
612 # if CDPATH is set.
613 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
614
615 if test -z "$lt_ECHO"; then
616   if test "X${echo_test_string+set}" != Xset; then
617     # find a string as large as possible, as long as the shell can cope with it
618     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
619       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
620       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
621          { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
622       then
623         break
624       fi
625     done
626   fi
627
628   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
629      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
630      test "X$echo_testing_string" = "X$echo_test_string"; then
631     :
632   else
633     # The Solaris, AIX, and Digital Unix default echo programs unquote
634     # backslashes.  This makes it impossible to quote backslashes using
635     #   echo "$something" | sed 's/\\/\\\\/g'
636     #
637     # So, first we look for a working echo in the user's PATH.
638
639     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
640     for dir in $PATH /usr/ucb; do
641       IFS="$lt_save_ifs"
642       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
643          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
644          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
645          test "X$echo_testing_string" = "X$echo_test_string"; then
646         ECHO="$dir/echo"
647         break
648       fi
649     done
650     IFS="$lt_save_ifs"
651
652     if test "X$ECHO" = Xecho; then
653       # We didn't find a better echo, so look for alternatives.
654       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
655          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
656          test "X$echo_testing_string" = "X$echo_test_string"; then
657         # This shell has a builtin print -r that does the trick.
658         ECHO='print -r'
659       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
660            test "X$CONFIG_SHELL" != X/bin/ksh; then
661         # If we have ksh, try running configure again with it.
662         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
663         export ORIGINAL_CONFIG_SHELL
664         CONFIG_SHELL=/bin/ksh
665         export CONFIG_SHELL
666         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
667       else
668         # Try using printf.
669         ECHO='printf %s\n'
670         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
671            echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
672            test "X$echo_testing_string" = "X$echo_test_string"; then
673           # Cool, printf works
674           :
675         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
676              test "X$echo_testing_string" = 'X\t' &&
677              echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
678              test "X$echo_testing_string" = "X$echo_test_string"; then
679           CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
680           export CONFIG_SHELL
681           SHELL="$CONFIG_SHELL"
682           export SHELL
683           ECHO="$CONFIG_SHELL $0 --fallback-echo"
684         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
685              test "X$echo_testing_string" = 'X\t' &&
686              echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
687              test "X$echo_testing_string" = "X$echo_test_string"; then
688           ECHO="$CONFIG_SHELL $0 --fallback-echo"
689         else
690           # maybe with a smaller string...
691           prev=:
692
693           for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
694             if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
695             then
696               break
697             fi
698             prev="$cmd"
699           done
700
701           if test "$prev" != 'sed 50q "$0"'; then
702             echo_test_string=`eval $prev`
703             export echo_test_string
704             exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
705           else
706             # Oops.  We lost completely, so just stick with echo.
707             ECHO=echo
708           fi
709         fi
710       fi
711     fi
712   fi
713 fi
714
715 # Copy echo and quote the copy suitably for passing to libtool from
716 # the Makefile, instead of quoting the original, which is used later.
717 lt_ECHO=$ECHO
718 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
719    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
720 fi
721
722
723
724
725 exec 7<&0 </dev/null 6>&1
726
727 # Name of the host.
728 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
729 # so uname gets run too.
730 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
731
732 #
733 # Initializations.
734 #
735 ac_default_prefix=/usr/local
736 ac_clean_files=
737 ac_config_libobj_dir=.
738 LIBOBJS=
739 cross_compiling=no
740 subdirs=
741 MFLAGS=
742 MAKEFLAGS=
743 SHELL=${CONFIG_SHELL-/bin/sh}
744
745 # Identity of this package.
746 PACKAGE_NAME='glabels'
747 PACKAGE_TARNAME='glabels'
748 PACKAGE_VERSION='2.2.8'
749 PACKAGE_STRING='glabels 2.2.8'
750 PACKAGE_BUGREPORT='http://sourceforge.net/tracker/?func=add&group_id=46122&atid=445116'
751
752 ac_unique_file="src/glabels.c"
753 # Factoring default headers for most tests.
754 ac_includes_default="\
755 #include <stdio.h>
756 #ifdef HAVE_SYS_TYPES_H
757 # include <sys/types.h>
758 #endif
759 #ifdef HAVE_SYS_STAT_H
760 # include <sys/stat.h>
761 #endif
762 #ifdef STDC_HEADERS
763 # include <stdlib.h>
764 # include <stddef.h>
765 #else
766 # ifdef HAVE_STDLIB_H
767 #  include <stdlib.h>
768 # endif
769 #endif
770 #ifdef HAVE_STRING_H
771 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
772 #  include <memory.h>
773 # endif
774 # include <string.h>
775 #endif
776 #ifdef HAVE_STRINGS_H
777 # include <strings.h>
778 #endif
779 #ifdef HAVE_INTTYPES_H
780 # include <inttypes.h>
781 #endif
782 #ifdef HAVE_STDINT_H
783 # include <stdint.h>
784 #endif
785 #ifdef HAVE_UNISTD_H
786 # include <unistd.h>
787 #endif"
788
789 ac_subst_vars='am__EXEEXT_FALSE
790 am__EXEEXT_TRUE
791 LTLIBOBJS
792 LIBOBJS
793 MKINSTALLDIRS
794 POSUB
795 POFILES
796 PO_IN_DATADIR_FALSE
797 PO_IN_DATADIR_TRUE
798 INTLLIBS
799 INSTOBJEXT
800 GMOFILES
801 CATOBJEXT
802 CATALOGS
803 MSGFMT_OPTS
804 GETTEXT_PACKAGE
805 ENABLE_UPDATE_DESKTOPDB_FALSE
806 ENABLE_UPDATE_DESKTOPDB_TRUE
807 ENABLE_UPDATE_MIMEDB_FALSE
808 ENABLE_UPDATE_MIMEDB_TRUE
809 HAVE_NEWER_MIME_FALSE
810 HAVE_NEWER_MIME_TRUE
811 UPDATE_DESKTOP_DATABASE
812 HAVE_NEW_MIME_FALSE
813 HAVE_NEW_MIME_TRUE
814 UPDATE_MIME_DATABASE
815 DISABLE_DEPRECATED_CFLAGS
816 HAVE_XML_PARSE_HUGE
817 XML_PARSE_HUGE_LIBS
818 XML_PARSE_HUGE_CFLAGS
819 MYGAL_LIBS
820 MYGAL_CFLAGS
821 LIBGLABELS_LIBS
822 LIBGLABELS_CFLAGS
823 GLABELS_LIBS
824 GLABELS_CFLAGS
825 LIBEBOOK_LIBS
826 LIBEBOOK_CFLAGS
827 LIBEBOOK_REQUIRED
828 LIBGLADE_REQUIRED
829 LIBXML_REQUIRED
830 LIBGNOMEUI_REQUIRED
831 LIBGNOME_REQUIRED
832 GTK_REQUIRED
833 GLIB_REQUIRED
834 LIBGLABELS_VERSION_INFO
835 GTK_DOC_USE_LIBTOOL_FALSE
836 GTK_DOC_USE_LIBTOOL_TRUE
837 ENABLE_GTK_DOC_FALSE
838 ENABLE_GTK_DOC_TRUE
839 GTKDOC_CHECK
840 HTML_DIR
841 GLIB_GENMARSHAL
842 WARN_CFLAGS
843 CPP
844 OTOOL64
845 OTOOL
846 LIPO
847 NMEDIT
848 DSYMUTIL
849 lt_ECHO
850 RANLIB
851 AR
852 OBJDUMP
853 NM
854 ac_ct_DUMPBIN
855 DUMPBIN
856 LD
857 FGREP
858 EGREP
859 GREP
860 SED
861 host_os
862 host_vendor
863 host_cpu
864 host
865 build_os
866 build_vendor
867 build_cpu
868 build
869 LIBTOOL
870 DATADIRNAME
871 am__fastdepCC_FALSE
872 am__fastdepCC_TRUE
873 CCDEPMODE
874 AMDEPBACKSLASH
875 AMDEP_FALSE
876 AMDEP_TRUE
877 am__quote
878 am__include
879 DEPDIR
880 OBJEXT
881 EXEEXT
882 ac_ct_CC
883 CPPFLAGS
884 LDFLAGS
885 CFLAGS
886 CC
887 ALL_LINGUAS
888 INTLTOOL_PERL
889 GMSGFMT
890 MSGFMT
891 MSGMERGE
892 XGETTEXT
893 INTLTOOL_POLICY_RULE
894 INTLTOOL_SERVICE_RULE
895 INTLTOOL_THEME_RULE
896 INTLTOOL_SCHEMAS_RULE
897 INTLTOOL_CAVES_RULE
898 INTLTOOL_XML_NOMERGE_RULE
899 INTLTOOL_XML_RULE
900 INTLTOOL_KBD_RULE
901 INTLTOOL_XAM_RULE
902 INTLTOOL_UI_RULE
903 INTLTOOL_SOUNDLIST_RULE
904 INTLTOOL_SHEET_RULE
905 INTLTOOL_SERVER_RULE
906 INTLTOOL_PONG_RULE
907 INTLTOOL_OAF_RULE
908 INTLTOOL_PROP_RULE
909 INTLTOOL_KEYS_RULE
910 INTLTOOL_DIRECTORY_RULE
911 INTLTOOL_DESKTOP_RULE
912 INTLTOOL_EXTRACT
913 INTLTOOL_MERGE
914 INTLTOOL_UPDATE
915 USE_NLS
916 MAINT
917 MAINTAINER_MODE_FALSE
918 MAINTAINER_MODE_TRUE
919 HAVE_GNOME_DOC_UTILS_FALSE
920 HAVE_GNOME_DOC_UTILS_TRUE
921 DISTCHECK_CONFIGURE_FLAGS
922 ENABLE_SK_FALSE
923 ENABLE_SK_TRUE
924 DOC_USER_FORMATS
925 OMF_DIR
926 HELP_DIR
927 PKG_CONFIG
928 LN_S
929 am__untar
930 am__tar
931 AMTAR
932 am__leading_dot
933 SET_MAKE
934 AWK
935 mkdir_p
936 MKDIR_P
937 INSTALL_STRIP_PROGRAM
938 STRIP
939 install_sh
940 MAKEINFO
941 AUTOHEADER
942 AUTOMAKE
943 AUTOCONF
944 ACLOCAL
945 VERSION
946 PACKAGE
947 CYGPATH_W
948 am__isrc
949 INSTALL_DATA
950 INSTALL_SCRIPT
951 INSTALL_PROGRAM
952 target_alias
953 host_alias
954 build_alias
955 LIBS
956 ECHO_T
957 ECHO_N
958 ECHO_C
959 DEFS
960 mandir
961 localedir
962 libdir
963 psdir
964 pdfdir
965 dvidir
966 htmldir
967 infodir
968 docdir
969 oldincludedir
970 includedir
971 localstatedir
972 sharedstatedir
973 sysconfdir
974 datadir
975 datarootdir
976 libexecdir
977 sbindir
978 bindir
979 program_transform_name
980 prefix
981 exec_prefix
982 PACKAGE_BUGREPORT
983 PACKAGE_STRING
984 PACKAGE_VERSION
985 PACKAGE_TARNAME
986 PACKAGE_NAME
987 PATH_SEPARATOR
988 SHELL'
989 ac_subst_files=''
990 ac_user_opts='
991 enable_option_checking
992 with_help_dir
993 with_omf_dir
994 with_help_formats
995 enable_scrollkeeper
996 enable_maintainer_mode
997 enable_nls
998 enable_dependency_tracking
999 enable_shared
1000 enable_static
1001 with_pic
1002 enable_fast_install
1003 with_gnu_ld
1004 enable_libtool_lock
1005 enable_compile_warnings
1006 enable_iso_c
1007 with_html_dir
1008 enable_gtk_doc
1009 with_libebook
1010 enable_deprecations
1011 enable_update_mimedb
1012 enable_update_desktopdb
1013 '
1014       ac_precious_vars='build_alias
1015 host_alias
1016 target_alias
1017 PKG_CONFIG
1018 CC
1019 CFLAGS
1020 LDFLAGS
1021 LIBS
1022 CPPFLAGS
1023 CPP
1024 LIBEBOOK_CFLAGS
1025 LIBEBOOK_LIBS
1026 GLABELS_CFLAGS
1027 GLABELS_LIBS
1028 LIBGLABELS_CFLAGS
1029 LIBGLABELS_LIBS
1030 MYGAL_CFLAGS
1031 MYGAL_LIBS
1032 XML_PARSE_HUGE_CFLAGS
1033 XML_PARSE_HUGE_LIBS'
1034
1035
1036 # Initialize some variables set by options.
1037 ac_init_help=
1038 ac_init_version=false
1039 ac_unrecognized_opts=
1040 ac_unrecognized_sep=
1041 # The variables have the same names as the options, with
1042 # dashes changed to underlines.
1043 cache_file=/dev/null
1044 exec_prefix=NONE
1045 no_create=
1046 no_recursion=
1047 prefix=NONE
1048 program_prefix=NONE
1049 program_suffix=NONE
1050 program_transform_name=s,x,x,
1051 silent=
1052 site=
1053 srcdir=
1054 verbose=
1055 x_includes=NONE
1056 x_libraries=NONE
1057
1058 # Installation directory options.
1059 # These are left unexpanded so users can "make install exec_prefix=/foo"
1060 # and all the variables that are supposed to be based on exec_prefix
1061 # by default will actually change.
1062 # Use braces instead of parens because sh, perl, etc. also accept them.
1063 # (The list follows the same order as the GNU Coding Standards.)
1064 bindir='${exec_prefix}/bin'
1065 sbindir='${exec_prefix}/sbin'
1066 libexecdir='${exec_prefix}/libexec'
1067 datarootdir='${prefix}/share'
1068 datadir='${datarootdir}'
1069 sysconfdir='${prefix}/etc'
1070 sharedstatedir='${prefix}/com'
1071 localstatedir='${prefix}/var'
1072 includedir='${prefix}/include'
1073 oldincludedir='/usr/include'
1074 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1075 infodir='${datarootdir}/info'
1076 htmldir='${docdir}'
1077 dvidir='${docdir}'
1078 pdfdir='${docdir}'
1079 psdir='${docdir}'
1080 libdir='${exec_prefix}/lib'
1081 localedir='${datarootdir}/locale'
1082 mandir='${datarootdir}/man'
1083
1084 ac_prev=
1085 ac_dashdash=
1086 for ac_option
1087 do
1088   # If the previous option needs an argument, assign it.
1089   if test -n "$ac_prev"; then
1090     eval $ac_prev=\$ac_option
1091     ac_prev=
1092     continue
1093   fi
1094
1095   case $ac_option in
1096   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1097   *)    ac_optarg=yes ;;
1098   esac
1099
1100   # Accept the important Cygnus configure options, so we can diagnose typos.
1101
1102   case $ac_dashdash$ac_option in
1103   --)
1104     ac_dashdash=yes ;;
1105
1106   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1107     ac_prev=bindir ;;
1108   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1109     bindir=$ac_optarg ;;
1110
1111   -build | --build | --buil | --bui | --bu)
1112     ac_prev=build_alias ;;
1113   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1114     build_alias=$ac_optarg ;;
1115
1116   -cache-file | --cache-file | --cache-fil | --cache-fi \
1117   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1118     ac_prev=cache_file ;;
1119   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1120   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1121     cache_file=$ac_optarg ;;
1122
1123   --config-cache | -C)
1124     cache_file=config.cache ;;
1125
1126   -datadir | --datadir | --datadi | --datad)
1127     ac_prev=datadir ;;
1128   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1129     datadir=$ac_optarg ;;
1130
1131   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1132   | --dataroo | --dataro | --datar)
1133     ac_prev=datarootdir ;;
1134   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1135   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1136     datarootdir=$ac_optarg ;;
1137
1138   -disable-* | --disable-*)
1139     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1140     # Reject names that are not valid shell variable names.
1141     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1142       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1143    { (exit 1); exit 1; }; }
1144     ac_useropt_orig=$ac_useropt
1145     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1146     case $ac_user_opts in
1147       *"
1148 "enable_$ac_useropt"
1149 "*) ;;
1150       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1151          ac_unrecognized_sep=', ';;
1152     esac
1153     eval enable_$ac_useropt=no ;;
1154
1155   -docdir | --docdir | --docdi | --doc | --do)
1156     ac_prev=docdir ;;
1157   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1158     docdir=$ac_optarg ;;
1159
1160   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1161     ac_prev=dvidir ;;
1162   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1163     dvidir=$ac_optarg ;;
1164
1165   -enable-* | --enable-*)
1166     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1167     # Reject names that are not valid shell variable names.
1168     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1169       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1170    { (exit 1); exit 1; }; }
1171     ac_useropt_orig=$ac_useropt
1172     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1173     case $ac_user_opts in
1174       *"
1175 "enable_$ac_useropt"
1176 "*) ;;
1177       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1178          ac_unrecognized_sep=', ';;
1179     esac
1180     eval enable_$ac_useropt=\$ac_optarg ;;
1181
1182   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1183   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1184   | --exec | --exe | --ex)
1185     ac_prev=exec_prefix ;;
1186   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1187   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1188   | --exec=* | --exe=* | --ex=*)
1189     exec_prefix=$ac_optarg ;;
1190
1191   -gas | --gas | --ga | --g)
1192     # Obsolete; use --with-gas.
1193     with_gas=yes ;;
1194
1195   -help | --help | --hel | --he | -h)
1196     ac_init_help=long ;;
1197   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1198     ac_init_help=recursive ;;
1199   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1200     ac_init_help=short ;;
1201
1202   -host | --host | --hos | --ho)
1203     ac_prev=host_alias ;;
1204   -host=* | --host=* | --hos=* | --ho=*)
1205     host_alias=$ac_optarg ;;
1206
1207   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1208     ac_prev=htmldir ;;
1209   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1210   | --ht=*)
1211     htmldir=$ac_optarg ;;
1212
1213   -includedir | --includedir | --includedi | --included | --include \
1214   | --includ | --inclu | --incl | --inc)
1215     ac_prev=includedir ;;
1216   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1217   | --includ=* | --inclu=* | --incl=* | --inc=*)
1218     includedir=$ac_optarg ;;
1219
1220   -infodir | --infodir | --infodi | --infod | --info | --inf)
1221     ac_prev=infodir ;;
1222   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1223     infodir=$ac_optarg ;;
1224
1225   -libdir | --libdir | --libdi | --libd)
1226     ac_prev=libdir ;;
1227   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1228     libdir=$ac_optarg ;;
1229
1230   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1231   | --libexe | --libex | --libe)
1232     ac_prev=libexecdir ;;
1233   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1234   | --libexe=* | --libex=* | --libe=*)
1235     libexecdir=$ac_optarg ;;
1236
1237   -localedir | --localedir | --localedi | --localed | --locale)
1238     ac_prev=localedir ;;
1239   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1240     localedir=$ac_optarg ;;
1241
1242   -localstatedir | --localstatedir | --localstatedi | --localstated \
1243   | --localstate | --localstat | --localsta | --localst | --locals)
1244     ac_prev=localstatedir ;;
1245   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1246   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1247     localstatedir=$ac_optarg ;;
1248
1249   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1250     ac_prev=mandir ;;
1251   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1252     mandir=$ac_optarg ;;
1253
1254   -nfp | --nfp | --nf)
1255     # Obsolete; use --without-fp.
1256     with_fp=no ;;
1257
1258   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1259   | --no-cr | --no-c | -n)
1260     no_create=yes ;;
1261
1262   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1263   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1264     no_recursion=yes ;;
1265
1266   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1267   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1268   | --oldin | --oldi | --old | --ol | --o)
1269     ac_prev=oldincludedir ;;
1270   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1271   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1272   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1273     oldincludedir=$ac_optarg ;;
1274
1275   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1276     ac_prev=prefix ;;
1277   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1278     prefix=$ac_optarg ;;
1279
1280   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1281   | --program-pre | --program-pr | --program-p)
1282     ac_prev=program_prefix ;;
1283   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1284   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1285     program_prefix=$ac_optarg ;;
1286
1287   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1288   | --program-suf | --program-su | --program-s)
1289     ac_prev=program_suffix ;;
1290   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1291   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1292     program_suffix=$ac_optarg ;;
1293
1294   -program-transform-name | --program-transform-name \
1295   | --program-transform-nam | --program-transform-na \
1296   | --program-transform-n | --program-transform- \
1297   | --program-transform | --program-transfor \
1298   | --program-transfo | --program-transf \
1299   | --program-trans | --program-tran \
1300   | --progr-tra | --program-tr | --program-t)
1301     ac_prev=program_transform_name ;;
1302   -program-transform-name=* | --program-transform-name=* \
1303   | --program-transform-nam=* | --program-transform-na=* \
1304   | --program-transform-n=* | --program-transform-=* \
1305   | --program-transform=* | --program-transfor=* \
1306   | --program-transfo=* | --program-transf=* \
1307   | --program-trans=* | --program-tran=* \
1308   | --progr-tra=* | --program-tr=* | --program-t=*)
1309     program_transform_name=$ac_optarg ;;
1310
1311   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1312     ac_prev=pdfdir ;;
1313   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1314     pdfdir=$ac_optarg ;;
1315
1316   -psdir | --psdir | --psdi | --psd | --ps)
1317     ac_prev=psdir ;;
1318   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1319     psdir=$ac_optarg ;;
1320
1321   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1322   | -silent | --silent | --silen | --sile | --sil)
1323     silent=yes ;;
1324
1325   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1326     ac_prev=sbindir ;;
1327   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1328   | --sbi=* | --sb=*)
1329     sbindir=$ac_optarg ;;
1330
1331   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1332   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1333   | --sharedst | --shareds | --shared | --share | --shar \
1334   | --sha | --sh)
1335     ac_prev=sharedstatedir ;;
1336   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1337   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1338   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1339   | --sha=* | --sh=*)
1340     sharedstatedir=$ac_optarg ;;
1341
1342   -site | --site | --sit)
1343     ac_prev=site ;;
1344   -site=* | --site=* | --sit=*)
1345     site=$ac_optarg ;;
1346
1347   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1348     ac_prev=srcdir ;;
1349   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1350     srcdir=$ac_optarg ;;
1351
1352   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1353   | --syscon | --sysco | --sysc | --sys | --sy)
1354     ac_prev=sysconfdir ;;
1355   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1356   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1357     sysconfdir=$ac_optarg ;;
1358
1359   -target | --target | --targe | --targ | --tar | --ta | --t)
1360     ac_prev=target_alias ;;
1361   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1362     target_alias=$ac_optarg ;;
1363
1364   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1365     verbose=yes ;;
1366
1367   -version | --version | --versio | --versi | --vers | -V)
1368     ac_init_version=: ;;
1369
1370   -with-* | --with-*)
1371     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1372     # Reject names that are not valid shell variable names.
1373     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1374       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1375    { (exit 1); exit 1; }; }
1376     ac_useropt_orig=$ac_useropt
1377     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1378     case $ac_user_opts in
1379       *"
1380 "with_$ac_useropt"
1381 "*) ;;
1382       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1383          ac_unrecognized_sep=', ';;
1384     esac
1385     eval with_$ac_useropt=\$ac_optarg ;;
1386
1387   -without-* | --without-*)
1388     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1389     # Reject names that are not valid shell variable names.
1390     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1391       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1392    { (exit 1); exit 1; }; }
1393     ac_useropt_orig=$ac_useropt
1394     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1395     case $ac_user_opts in
1396       *"
1397 "with_$ac_useropt"
1398 "*) ;;
1399       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1400          ac_unrecognized_sep=', ';;
1401     esac
1402     eval with_$ac_useropt=no ;;
1403
1404   --x)
1405     # Obsolete; use --with-x.
1406     with_x=yes ;;
1407
1408   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1409   | --x-incl | --x-inc | --x-in | --x-i)
1410     ac_prev=x_includes ;;
1411   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1412   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1413     x_includes=$ac_optarg ;;
1414
1415   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1416   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1417     ac_prev=x_libraries ;;
1418   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1419   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1420     x_libraries=$ac_optarg ;;
1421
1422   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1423 Try \`$0 --help' for more information." >&2
1424    { (exit 1); exit 1; }; }
1425     ;;
1426
1427   *=*)
1428     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1429     # Reject names that are not valid shell variable names.
1430     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1431       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1432    { (exit 1); exit 1; }; }
1433     eval $ac_envvar=\$ac_optarg
1434     export $ac_envvar ;;
1435
1436   *)
1437     # FIXME: should be removed in autoconf 3.0.
1438     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1439     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1440       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1441     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1442     ;;
1443
1444   esac
1445 done
1446
1447 if test -n "$ac_prev"; then
1448   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1449   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1450    { (exit 1); exit 1; }; }
1451 fi
1452
1453 if test -n "$ac_unrecognized_opts"; then
1454   case $enable_option_checking in
1455     no) ;;
1456     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1457    { (exit 1); exit 1; }; } ;;
1458     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1459   esac
1460 fi
1461
1462 # Check all directory arguments for consistency.
1463 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1464                 datadir sysconfdir sharedstatedir localstatedir includedir \
1465                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1466                 libdir localedir mandir
1467 do
1468   eval ac_val=\$$ac_var
1469   # Remove trailing slashes.
1470   case $ac_val in
1471     */ )
1472       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1473       eval $ac_var=\$ac_val;;
1474   esac
1475   # Be sure to have absolute directory names.
1476   case $ac_val in
1477     [\\/$]* | ?:[\\/]* )  continue;;
1478     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1479   esac
1480   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1481    { (exit 1); exit 1; }; }
1482 done
1483
1484 # There might be people who depend on the old broken behavior: `$host'
1485 # used to hold the argument of --host etc.
1486 # FIXME: To remove some day.
1487 build=$build_alias
1488 host=$host_alias
1489 target=$target_alias
1490
1491 # FIXME: To remove some day.
1492 if test "x$host_alias" != x; then
1493   if test "x$build_alias" = x; then
1494     cross_compiling=maybe
1495     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1496     If a cross compiler is detected then cross compile mode will be used." >&2
1497   elif test "x$build_alias" != "x$host_alias"; then
1498     cross_compiling=yes
1499   fi
1500 fi
1501
1502 ac_tool_prefix=
1503 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1504
1505 test "$silent" = yes && exec 6>/dev/null
1506
1507
1508 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1509 ac_ls_di=`ls -di .` &&
1510 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1511   { $as_echo "$as_me: error: working directory cannot be determined" >&2
1512    { (exit 1); exit 1; }; }
1513 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1514   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1515    { (exit 1); exit 1; }; }
1516
1517
1518 # Find the source files, if location was not specified.
1519 if test -z "$srcdir"; then
1520   ac_srcdir_defaulted=yes
1521   # Try the directory containing this script, then the parent directory.
1522   ac_confdir=`$as_dirname -- "$as_myself" ||
1523 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1524          X"$as_myself" : 'X\(//\)[^/]' \| \
1525          X"$as_myself" : 'X\(//\)$' \| \
1526          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1527 $as_echo X"$as_myself" |
1528     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1529             s//\1/
1530             q
1531           }
1532           /^X\(\/\/\)[^/].*/{
1533             s//\1/
1534             q
1535           }
1536           /^X\(\/\/\)$/{
1537             s//\1/
1538             q
1539           }
1540           /^X\(\/\).*/{
1541             s//\1/
1542             q
1543           }
1544           s/.*/./; q'`
1545   srcdir=$ac_confdir
1546   if test ! -r "$srcdir/$ac_unique_file"; then
1547     srcdir=..
1548   fi
1549 else
1550   ac_srcdir_defaulted=no
1551 fi
1552 if test ! -r "$srcdir/$ac_unique_file"; then
1553   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1554   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1555    { (exit 1); exit 1; }; }
1556 fi
1557 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1558 ac_abs_confdir=`(
1559         cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1560    { (exit 1); exit 1; }; }
1561         pwd)`
1562 # When building in place, set srcdir=.
1563 if test "$ac_abs_confdir" = "$ac_pwd"; then
1564   srcdir=.
1565 fi
1566 # Remove unnecessary trailing slashes from srcdir.
1567 # Double slashes in file names in object file debugging info
1568 # mess up M-x gdb in Emacs.
1569 case $srcdir in
1570 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1571 esac
1572 for ac_var in $ac_precious_vars; do
1573   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1574   eval ac_env_${ac_var}_value=\$${ac_var}
1575   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1576   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1577 done
1578
1579 #
1580 # Report the --help message.
1581 #
1582 if test "$ac_init_help" = "long"; then
1583   # Omit some internal or obsolete options to make the list less imposing.
1584   # This message is too long to be a string in the A/UX 3.1 sh.
1585   cat <<_ACEOF
1586 \`configure' configures glabels 2.2.8 to adapt to many kinds of systems.
1587
1588 Usage: $0 [OPTION]... [VAR=VALUE]...
1589
1590 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1591 VAR=VALUE.  See below for descriptions of some of the useful variables.
1592
1593 Defaults for the options are specified in brackets.
1594
1595 Configuration:
1596   -h, --help              display this help and exit
1597       --help=short        display options specific to this package
1598       --help=recursive    display the short help of all the included packages
1599   -V, --version           display version information and exit
1600   -q, --quiet, --silent   do not print \`checking...' messages
1601       --cache-file=FILE   cache test results in FILE [disabled]
1602   -C, --config-cache      alias for \`--cache-file=config.cache'
1603   -n, --no-create         do not create output files
1604       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1605
1606 Installation directories:
1607   --prefix=PREFIX         install architecture-independent files in PREFIX
1608                           [$ac_default_prefix]
1609   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1610                           [PREFIX]
1611
1612 By default, \`make install' will install all the files in
1613 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1614 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1615 for instance \`--prefix=\$HOME'.
1616
1617 For better control, use the options below.
1618
1619 Fine tuning of the installation directories:
1620   --bindir=DIR            user executables [EPREFIX/bin]
1621   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1622   --libexecdir=DIR        program executables [EPREFIX/libexec]
1623   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1624   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1625   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1626   --libdir=DIR            object code libraries [EPREFIX/lib]
1627   --includedir=DIR        C header files [PREFIX/include]
1628   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1629   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1630   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1631   --infodir=DIR           info documentation [DATAROOTDIR/info]
1632   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1633   --mandir=DIR            man documentation [DATAROOTDIR/man]
1634   --docdir=DIR            documentation root [DATAROOTDIR/doc/glabels]
1635   --htmldir=DIR           html documentation [DOCDIR]
1636   --dvidir=DIR            dvi documentation [DOCDIR]
1637   --pdfdir=DIR            pdf documentation [DOCDIR]
1638   --psdir=DIR             ps documentation [DOCDIR]
1639 _ACEOF
1640
1641   cat <<\_ACEOF
1642
1643 Program names:
1644   --program-prefix=PREFIX            prepend PREFIX to installed program names
1645   --program-suffix=SUFFIX            append SUFFIX to installed program names
1646   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1647
1648 System types:
1649   --build=BUILD     configure for building on BUILD [guessed]
1650   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1651 _ACEOF
1652 fi
1653
1654 if test -n "$ac_init_help"; then
1655   case $ac_init_help in
1656      short | recursive ) echo "Configuration of glabels 2.2.8:";;
1657    esac
1658   cat <<\_ACEOF
1659
1660 Optional Features:
1661   --disable-option-checking  ignore unrecognized --enable/--with options
1662   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1663   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1664   --disable-scrollkeeper  do not make updates to the scrollkeeper database
1665   --enable-maintainer-mode  enable make rules and dependencies not useful
1666                           (and sometimes confusing) to the casual installer
1667   --disable-nls           do not use Native Language Support
1668   --disable-dependency-tracking  speeds up one-time build
1669   --enable-dependency-tracking   do not reject slow dependency extractors
1670   --enable-shared[=PKGS]  build shared libraries [default=yes]
1671   --enable-static[=PKGS]  build static libraries [default=yes]
1672   --enable-fast-install[=PKGS]
1673                           optimize for fast installation [default=yes]
1674   --disable-libtool-lock  avoid locking (might break parallel builds)
1675   --enable-compile-warnings=[no/minimum/yes/maximum/error]
1676                           Turn on compiler warnings
1677   --enable-iso-c          Try to warn if code is not ISO C
1678   --enable-gtk-doc        use gtk-doc to build documentation [default=no]
1679   --enable-deprecations   warn about deprecated usages [default=no]
1680   --disable-update-mimedb disable the update-mime-database after install
1681                           default=no
1682   --disable-update-desktopdb
1683                           disable the update-desktop-database after install
1684                           default=no
1685
1686 Optional Packages:
1687   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1688   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1689   --with-help-dir=DIR     path to help docs
1690   --with-omf-dir=DIR      path to OMF files
1691   --with-help-formats=FORMATS
1692                           list of formats
1693   --with-pic              try to use only PIC/non-PIC objects [default=use
1694                           both]
1695   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1696   --with-html-dir=PATH    path to installed docs
1697   --without-libebook      build without Evolution Data Server support
1698
1699 Some influential environment variables:
1700   PKG_CONFIG  path to pkg-config utility
1701   CC          C compiler command
1702   CFLAGS      C compiler flags
1703   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1704               nonstandard directory <lib dir>
1705   LIBS        libraries to pass to the linker, e.g. -l<library>
1706   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1707               you have headers in a nonstandard directory <include dir>
1708   CPP         C preprocessor
1709   LIBEBOOK_CFLAGS
1710               C compiler flags for LIBEBOOK, overriding pkg-config
1711   LIBEBOOK_LIBS
1712               linker flags for LIBEBOOK, overriding pkg-config
1713   GLABELS_CFLAGS
1714               C compiler flags for GLABELS, overriding pkg-config
1715   GLABELS_LIBS
1716               linker flags for GLABELS, overriding pkg-config
1717   LIBGLABELS_CFLAGS
1718               C compiler flags for LIBGLABELS, overriding pkg-config
1719   LIBGLABELS_LIBS
1720               linker flags for LIBGLABELS, overriding pkg-config
1721   MYGAL_CFLAGS
1722               C compiler flags for MYGAL, overriding pkg-config
1723   MYGAL_LIBS  linker flags for MYGAL, overriding pkg-config
1724   XML_PARSE_HUGE_CFLAGS
1725               C compiler flags for XML_PARSE_HUGE, overriding pkg-config
1726   XML_PARSE_HUGE_LIBS
1727               linker flags for XML_PARSE_HUGE, overriding pkg-config
1728
1729 Use these variables to override the choices made by `configure' or to help
1730 it to find libraries and programs with nonstandard names/locations.
1731
1732 Report bugs to <http://sourceforge.net/tracker/?func=add&group_id=46122&atid=445116>.
1733 _ACEOF
1734 ac_status=$?
1735 fi
1736
1737 if test "$ac_init_help" = "recursive"; then
1738   # If there are subdirs, report their specific --help.
1739   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1740     test -d "$ac_dir" ||
1741       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1742       continue
1743     ac_builddir=.
1744
1745 case "$ac_dir" in
1746 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1747 *)
1748   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1749   # A ".." for each directory in $ac_dir_suffix.
1750   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1751   case $ac_top_builddir_sub in
1752   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1753   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1754   esac ;;
1755 esac
1756 ac_abs_top_builddir=$ac_pwd
1757 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1758 # for backward compatibility:
1759 ac_top_builddir=$ac_top_build_prefix
1760
1761 case $srcdir in
1762   .)  # We are building in place.
1763     ac_srcdir=.
1764     ac_top_srcdir=$ac_top_builddir_sub
1765     ac_abs_top_srcdir=$ac_pwd ;;
1766   [\\/]* | ?:[\\/]* )  # Absolute name.
1767     ac_srcdir=$srcdir$ac_dir_suffix;
1768     ac_top_srcdir=$srcdir
1769     ac_abs_top_srcdir=$srcdir ;;
1770   *) # Relative name.
1771     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1772     ac_top_srcdir=$ac_top_build_prefix$srcdir
1773     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1774 esac
1775 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1776
1777     cd "$ac_dir" || { ac_status=$?; continue; }
1778     # Check for guested configure.
1779     if test -f "$ac_srcdir/configure.gnu"; then
1780       echo &&
1781       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1782     elif test -f "$ac_srcdir/configure"; then
1783       echo &&
1784       $SHELL "$ac_srcdir/configure" --help=recursive
1785     else
1786       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1787     fi || ac_status=$?
1788     cd "$ac_pwd" || { ac_status=$?; break; }
1789   done
1790 fi
1791
1792 test -n "$ac_init_help" && exit $ac_status
1793 if $ac_init_version; then
1794   cat <<\_ACEOF
1795 glabels configure 2.2.8
1796 generated by GNU Autoconf 2.63
1797
1798 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1799 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1800 This configure script is free software; the Free Software Foundation
1801 gives unlimited permission to copy, distribute and modify it.
1802 _ACEOF
1803   exit
1804 fi
1805 cat >config.log <<_ACEOF
1806 This file contains any messages produced by compilers while
1807 running configure, to aid debugging if configure makes a mistake.
1808
1809 It was created by glabels $as_me 2.2.8, which was
1810 generated by GNU Autoconf 2.63.  Invocation command line was
1811
1812   $ $0 $@
1813
1814 _ACEOF
1815 exec 5>>config.log
1816 {
1817 cat <<_ASUNAME
1818 ## --------- ##
1819 ## Platform. ##
1820 ## --------- ##
1821
1822 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1823 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1824 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1825 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1826 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1827
1828 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1829 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1830
1831 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1832 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1833 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1834 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1835 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1836 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1837 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1838
1839 _ASUNAME
1840
1841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1842 for as_dir in $PATH
1843 do
1844   IFS=$as_save_IFS
1845   test -z "$as_dir" && as_dir=.
1846   $as_echo "PATH: $as_dir"
1847 done
1848 IFS=$as_save_IFS
1849
1850 } >&5
1851
1852 cat >&5 <<_ACEOF
1853
1854
1855 ## ----------- ##
1856 ## Core tests. ##
1857 ## ----------- ##
1858
1859 _ACEOF
1860
1861
1862 # Keep a trace of the command line.
1863 # Strip out --no-create and --no-recursion so they do not pile up.
1864 # Strip out --silent because we don't want to record it for future runs.
1865 # Also quote any args containing shell meta-characters.
1866 # Make two passes to allow for proper duplicate-argument suppression.
1867 ac_configure_args=
1868 ac_configure_args0=
1869 ac_configure_args1=
1870 ac_must_keep_next=false
1871 for ac_pass in 1 2
1872 do
1873   for ac_arg
1874   do
1875     case $ac_arg in
1876     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1877     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1878     | -silent | --silent | --silen | --sile | --sil)
1879       continue ;;
1880     *\'*)
1881       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1882     esac
1883     case $ac_pass in
1884     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1885     2)
1886       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1887       if test $ac_must_keep_next = true; then
1888         ac_must_keep_next=false # Got value, back to normal.
1889       else
1890         case $ac_arg in
1891           *=* | --config-cache | -C | -disable-* | --disable-* \
1892           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1893           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1894           | -with-* | --with-* | -without-* | --without-* | --x)
1895             case "$ac_configure_args0 " in
1896               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1897             esac
1898             ;;
1899           -* ) ac_must_keep_next=true ;;
1900         esac
1901       fi
1902       ac_configure_args="$ac_configure_args '$ac_arg'"
1903       ;;
1904     esac
1905   done
1906 done
1907 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1908 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1909
1910 # When interrupted or exit'd, cleanup temporary files, and complete
1911 # config.log.  We remove comments because anyway the quotes in there
1912 # would cause problems or look ugly.
1913 # WARNING: Use '\'' to represent an apostrophe within the trap.
1914 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1915 trap 'exit_status=$?
1916   # Save into config.log some information that might help in debugging.
1917   {
1918     echo
1919
1920     cat <<\_ASBOX
1921 ## ---------------- ##
1922 ## Cache variables. ##
1923 ## ---------------- ##
1924 _ASBOX
1925     echo
1926     # The following way of writing the cache mishandles newlines in values,
1927 (
1928   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1929     eval ac_val=\$$ac_var
1930     case $ac_val in #(
1931     *${as_nl}*)
1932       case $ac_var in #(
1933       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1934 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1935       esac
1936       case $ac_var in #(
1937       _ | IFS | as_nl) ;; #(
1938       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1939       *) $as_unset $ac_var ;;
1940       esac ;;
1941     esac
1942   done
1943   (set) 2>&1 |
1944     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1945     *${as_nl}ac_space=\ *)
1946       sed -n \
1947         "s/'\''/'\''\\\\'\'''\''/g;
1948           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1949       ;; #(
1950     *)
1951       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1952       ;;
1953     esac |
1954     sort
1955 )
1956     echo
1957
1958     cat <<\_ASBOX
1959 ## ----------------- ##
1960 ## Output variables. ##
1961 ## ----------------- ##
1962 _ASBOX
1963     echo
1964     for ac_var in $ac_subst_vars
1965     do
1966       eval ac_val=\$$ac_var
1967       case $ac_val in
1968       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1969       esac
1970       $as_echo "$ac_var='\''$ac_val'\''"
1971     done | sort
1972     echo
1973
1974     if test -n "$ac_subst_files"; then
1975       cat <<\_ASBOX
1976 ## ------------------- ##
1977 ## File substitutions. ##
1978 ## ------------------- ##
1979 _ASBOX
1980       echo
1981       for ac_var in $ac_subst_files
1982       do
1983         eval ac_val=\$$ac_var
1984         case $ac_val in
1985         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1986         esac
1987         $as_echo "$ac_var='\''$ac_val'\''"
1988       done | sort
1989       echo
1990     fi
1991
1992     if test -s confdefs.h; then
1993       cat <<\_ASBOX
1994 ## ----------- ##
1995 ## confdefs.h. ##
1996 ## ----------- ##
1997 _ASBOX
1998       echo
1999       cat confdefs.h
2000       echo
2001     fi
2002     test "$ac_signal" != 0 &&
2003       $as_echo "$as_me: caught signal $ac_signal"
2004     $as_echo "$as_me: exit $exit_status"
2005   } >&5
2006   rm -f core *.core core.conftest.* &&
2007     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2008     exit $exit_status
2009 ' 0
2010 for ac_signal in 1 2 13 15; do
2011   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2012 done
2013 ac_signal=0
2014
2015 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2016 rm -f -r conftest* confdefs.h
2017
2018 # Predefined preprocessor variables.
2019
2020 cat >>confdefs.h <<_ACEOF
2021 #define PACKAGE_NAME "$PACKAGE_NAME"
2022 _ACEOF
2023
2024
2025 cat >>confdefs.h <<_ACEOF
2026 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2027 _ACEOF
2028
2029
2030 cat >>confdefs.h <<_ACEOF
2031 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2032 _ACEOF
2033
2034
2035 cat >>confdefs.h <<_ACEOF
2036 #define PACKAGE_STRING "$PACKAGE_STRING"
2037 _ACEOF
2038
2039
2040 cat >>confdefs.h <<_ACEOF
2041 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2042 _ACEOF
2043
2044
2045 # Let the site file select an alternate cache file if it wants to.
2046 # Prefer an explicitly selected file to automatically selected ones.
2047 ac_site_file1=NONE
2048 ac_site_file2=NONE
2049 if test -n "$CONFIG_SITE"; then
2050   ac_site_file1=$CONFIG_SITE
2051 elif test "x$prefix" != xNONE; then
2052   ac_site_file1=$prefix/share/config.site
2053   ac_site_file2=$prefix/etc/config.site
2054 else
2055   ac_site_file1=$ac_default_prefix/share/config.site
2056   ac_site_file2=$ac_default_prefix/etc/config.site
2057 fi
2058 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2059 do
2060   test "x$ac_site_file" = xNONE && continue
2061   if test -r "$ac_site_file"; then
2062     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2063 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2064     sed 's/^/| /' "$ac_site_file" >&5
2065     . "$ac_site_file"
2066   fi
2067 done
2068
2069 if test -r "$cache_file"; then
2070   # Some versions of bash will fail to source /dev/null (special
2071   # files actually), so we avoid doing that.
2072   if test -f "$cache_file"; then
2073     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2074 $as_echo "$as_me: loading cache $cache_file" >&6;}
2075     case $cache_file in
2076       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2077       *)                      . "./$cache_file";;
2078     esac
2079   fi
2080 else
2081   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2082 $as_echo "$as_me: creating cache $cache_file" >&6;}
2083   >$cache_file
2084 fi
2085
2086 # Check that the precious variables saved in the cache have kept the same
2087 # value.
2088 ac_cache_corrupted=false
2089 for ac_var in $ac_precious_vars; do
2090   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2091   eval ac_new_set=\$ac_env_${ac_var}_set
2092   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2093   eval ac_new_val=\$ac_env_${ac_var}_value
2094   case $ac_old_set,$ac_new_set in
2095     set,)
2096       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2097 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2098       ac_cache_corrupted=: ;;
2099     ,set)
2100       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2101 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2102       ac_cache_corrupted=: ;;
2103     ,);;
2104     *)
2105       if test "x$ac_old_val" != "x$ac_new_val"; then
2106         # differences in whitespace do not lead to failure.
2107         ac_old_val_w=`echo x $ac_old_val`
2108         ac_new_val_w=`echo x $ac_new_val`
2109         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2110           { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2111 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2112           ac_cache_corrupted=:
2113         else
2114           { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2115 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2116           eval $ac_var=\$ac_old_val
2117         fi
2118         { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
2119 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2120         { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
2121 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2122       fi;;
2123   esac
2124   # Pass precious variables to config.status.
2125   if test "$ac_new_set" = set; then
2126     case $ac_new_val in
2127     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2128     *) ac_arg=$ac_var=$ac_new_val ;;
2129     esac
2130     case " $ac_configure_args " in
2131       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2132       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2133     esac
2134   fi
2135 done
2136 if $ac_cache_corrupted; then
2137   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2138 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2139   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2140 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2141   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2142 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2143    { (exit 1); exit 1; }; }
2144 fi
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170 ac_ext=c
2171 ac_cpp='$CPP $CPPFLAGS'
2172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2175
2176
2177
2178 am__api_version='1.11'
2179
2180 ac_aux_dir=
2181 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2182   if test -f "$ac_dir/install-sh"; then
2183     ac_aux_dir=$ac_dir
2184     ac_install_sh="$ac_aux_dir/install-sh -c"
2185     break
2186   elif test -f "$ac_dir/install.sh"; then
2187     ac_aux_dir=$ac_dir
2188     ac_install_sh="$ac_aux_dir/install.sh -c"
2189     break
2190   elif test -f "$ac_dir/shtool"; then
2191     ac_aux_dir=$ac_dir
2192     ac_install_sh="$ac_aux_dir/shtool install -c"
2193     break
2194   fi
2195 done
2196 if test -z "$ac_aux_dir"; then
2197   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2198 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2199    { (exit 1); exit 1; }; }
2200 fi
2201
2202 # These three variables are undocumented and unsupported,
2203 # and are intended to be withdrawn in a future Autoconf release.
2204 # They can cause serious problems if a builder's source tree is in a directory
2205 # whose full name contains unusual characters.
2206 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2207 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2208 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2209
2210
2211 # Find a good install program.  We prefer a C program (faster),
2212 # so one script is as good as another.  But avoid the broken or
2213 # incompatible versions:
2214 # SysV /etc/install, /usr/sbin/install
2215 # SunOS /usr/etc/install
2216 # IRIX /sbin/install
2217 # AIX /bin/install
2218 # AmigaOS /C/install, which installs bootblocks on floppy discs
2219 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2220 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2221 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2222 # OS/2's system install, which has a completely different semantic
2223 # ./install, which can be erroneously created by make from ./install.sh.
2224 # Reject install programs that cannot install multiple files.
2225 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2226 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2227 if test -z "$INSTALL"; then
2228 if test "${ac_cv_path_install+set}" = set; then
2229   $as_echo_n "(cached) " >&6
2230 else
2231   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2232 for as_dir in $PATH
2233 do
2234   IFS=$as_save_IFS
2235   test -z "$as_dir" && as_dir=.
2236   # Account for people who put trailing slashes in PATH elements.
2237 case $as_dir/ in
2238   ./ | .// | /cC/* | \
2239   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2240   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2241   /usr/ucb/* ) ;;
2242   *)
2243     # OSF1 and SCO ODT 3.0 have their own names for install.
2244     # Don't use installbsd from OSF since it installs stuff as root
2245     # by default.
2246     for ac_prog in ginstall scoinst install; do
2247       for ac_exec_ext in '' $ac_executable_extensions; do
2248         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2249           if test $ac_prog = install &&
2250             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2251             # AIX install.  It has an incompatible calling convention.
2252             :
2253           elif test $ac_prog = install &&
2254             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2255             # program-specific install script used by HP pwplus--don't use.
2256             :
2257           else
2258             rm -rf conftest.one conftest.two conftest.dir
2259             echo one > conftest.one
2260             echo two > conftest.two
2261             mkdir conftest.dir
2262             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2263               test -s conftest.one && test -s conftest.two &&
2264               test -s conftest.dir/conftest.one &&
2265               test -s conftest.dir/conftest.two
2266             then
2267               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2268               break 3
2269             fi
2270           fi
2271         fi
2272       done
2273     done
2274     ;;
2275 esac
2276
2277 done
2278 IFS=$as_save_IFS
2279
2280 rm -rf conftest.one conftest.two conftest.dir
2281
2282 fi
2283   if test "${ac_cv_path_install+set}" = set; then
2284     INSTALL=$ac_cv_path_install
2285   else
2286     # As a last resort, use the slow shell script.  Don't cache a
2287     # value for INSTALL within a source directory, because that will
2288     # break other packages using the cache if that directory is
2289     # removed, or if the value is a relative name.
2290     INSTALL=$ac_install_sh
2291   fi
2292 fi
2293 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2294 $as_echo "$INSTALL" >&6; }
2295
2296 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2297 # It thinks the first close brace ends the variable substitution.
2298 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2299
2300 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2301
2302 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2303
2304 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2305 $as_echo_n "checking whether build environment is sane... " >&6; }
2306 # Just in case
2307 sleep 1
2308 echo timestamp > conftest.file
2309 # Reject unsafe characters in $srcdir or the absolute working directory
2310 # name.  Accept space and tab only in the latter.
2311 am_lf='
2312 '
2313 case `pwd` in
2314   *[\\\"\#\$\&\'\`$am_lf]*)
2315     { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2316 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2317    { (exit 1); exit 1; }; };;
2318 esac
2319 case $srcdir in
2320   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2321     { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2322 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2323    { (exit 1); exit 1; }; };;
2324 esac
2325
2326 # Do `set' in a subshell so we don't clobber the current shell's
2327 # arguments.  Must try -L first in case configure is actually a
2328 # symlink; some systems play weird games with the mod time of symlinks
2329 # (eg FreeBSD returns the mod time of the symlink's containing
2330 # directory).
2331 if (
2332    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2333    if test "$*" = "X"; then
2334       # -L didn't work.
2335       set X `ls -t "$srcdir/configure" conftest.file`
2336    fi
2337    rm -f conftest.file
2338    if test "$*" != "X $srcdir/configure conftest.file" \
2339       && test "$*" != "X conftest.file $srcdir/configure"; then
2340
2341       # If neither matched, then we have a broken ls.  This can happen
2342       # if, for instance, CONFIG_SHELL is bash and it inherits a
2343       # broken ls alias from the environment.  This has actually
2344       # happened.  Such a system could not be considered "sane".
2345       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2346 alias in your environment" >&5
2347 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2348 alias in your environment" >&2;}
2349    { (exit 1); exit 1; }; }
2350    fi
2351
2352    test "$2" = conftest.file
2353    )
2354 then
2355    # Ok.
2356    :
2357 else
2358    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2359 Check your system clock" >&5
2360 $as_echo "$as_me: error: newly created file is older than distributed files!
2361 Check your system clock" >&2;}
2362    { (exit 1); exit 1; }; }
2363 fi
2364 { $as_echo "$as_me:$LINENO: result: yes" >&5
2365 $as_echo "yes" >&6; }
2366 test "$program_prefix" != NONE &&
2367   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2368 # Use a double $ so make ignores it.
2369 test "$program_suffix" != NONE &&
2370   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2371 # Double any \ or $.
2372 # By default was `s,x,x', remove it if useless.
2373 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2374 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2375
2376 # expand $ac_aux_dir to an absolute path
2377 am_aux_dir=`cd $ac_aux_dir && pwd`
2378
2379 if test x"${MISSING+set}" != xset; then
2380   case $am_aux_dir in
2381   *\ * | *\     *)
2382     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2383   *)
2384     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2385   esac
2386 fi
2387 # Use eval to expand $SHELL
2388 if eval "$MISSING --run true"; then
2389   am_missing_run="$MISSING --run "
2390 else
2391   am_missing_run=
2392   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2393 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2394 fi
2395
2396 if test x"${install_sh}" != xset; then
2397   case $am_aux_dir in
2398   *\ * | *\     *)
2399     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2400   *)
2401     install_sh="\${SHELL} $am_aux_dir/install-sh"
2402   esac
2403 fi
2404
2405 # Installed binaries are usually stripped using `strip' when the user
2406 # run `make install-strip'.  However `strip' might not be the right
2407 # tool to use in cross-compilation environments, therefore Automake
2408 # will honor the `STRIP' environment variable to overrule this program.
2409 if test "$cross_compiling" != no; then
2410   if test -n "$ac_tool_prefix"; then
2411   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2412 set dummy ${ac_tool_prefix}strip; ac_word=$2
2413 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2414 $as_echo_n "checking for $ac_word... " >&6; }
2415 if test "${ac_cv_prog_STRIP+set}" = set; then
2416   $as_echo_n "(cached) " >&6
2417 else
2418   if test -n "$STRIP"; then
2419   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2420 else
2421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2422 for as_dir in $PATH
2423 do
2424   IFS=$as_save_IFS
2425   test -z "$as_dir" && as_dir=.
2426   for ac_exec_ext in '' $ac_executable_extensions; do
2427   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2428     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2429     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2430     break 2
2431   fi
2432 done
2433 done
2434 IFS=$as_save_IFS
2435
2436 fi
2437 fi
2438 STRIP=$ac_cv_prog_STRIP
2439 if test -n "$STRIP"; then
2440   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2441 $as_echo "$STRIP" >&6; }
2442 else
2443   { $as_echo "$as_me:$LINENO: result: no" >&5
2444 $as_echo "no" >&6; }
2445 fi
2446
2447
2448 fi
2449 if test -z "$ac_cv_prog_STRIP"; then
2450   ac_ct_STRIP=$STRIP
2451   # Extract the first word of "strip", so it can be a program name with args.
2452 set dummy strip; ac_word=$2
2453 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2454 $as_echo_n "checking for $ac_word... " >&6; }
2455 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2456   $as_echo_n "(cached) " >&6
2457 else
2458   if test -n "$ac_ct_STRIP"; then
2459   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2460 else
2461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2462 for as_dir in $PATH
2463 do
2464   IFS=$as_save_IFS
2465   test -z "$as_dir" && as_dir=.
2466   for ac_exec_ext in '' $ac_executable_extensions; do
2467   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2468     ac_cv_prog_ac_ct_STRIP="strip"
2469     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2470     break 2
2471   fi
2472 done
2473 done
2474 IFS=$as_save_IFS
2475
2476 fi
2477 fi
2478 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2479 if test -n "$ac_ct_STRIP"; then
2480   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2481 $as_echo "$ac_ct_STRIP" >&6; }
2482 else
2483   { $as_echo "$as_me:$LINENO: result: no" >&5
2484 $as_echo "no" >&6; }
2485 fi
2486
2487   if test "x$ac_ct_STRIP" = x; then
2488     STRIP=":"
2489   else
2490     case $cross_compiling:$ac_tool_warned in
2491 yes:)
2492 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2493 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2494 ac_tool_warned=yes ;;
2495 esac
2496     STRIP=$ac_ct_STRIP
2497   fi
2498 else
2499   STRIP="$ac_cv_prog_STRIP"
2500 fi
2501
2502 fi
2503 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2504
2505 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2506 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2507 if test -z "$MKDIR_P"; then
2508   if test "${ac_cv_path_mkdir+set}" = set; then
2509   $as_echo_n "(cached) " >&6
2510 else
2511   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2512 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2513 do
2514   IFS=$as_save_IFS
2515   test -z "$as_dir" && as_dir=.
2516   for ac_prog in mkdir gmkdir; do
2517          for ac_exec_ext in '' $ac_executable_extensions; do
2518            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2519            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2520              'mkdir (GNU coreutils) '* | \
2521              'mkdir (coreutils) '* | \
2522              'mkdir (fileutils) '4.1*)
2523                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2524                break 3;;
2525            esac
2526          done
2527        done
2528 done
2529 IFS=$as_save_IFS
2530
2531 fi
2532
2533   if test "${ac_cv_path_mkdir+set}" = set; then
2534     MKDIR_P="$ac_cv_path_mkdir -p"
2535   else
2536     # As a last resort, use the slow shell script.  Don't cache a
2537     # value for MKDIR_P within a source directory, because that will
2538     # break other packages using the cache if that directory is
2539     # removed, or if the value is a relative name.
2540     test -d ./--version && rmdir ./--version
2541     MKDIR_P="$ac_install_sh -d"
2542   fi
2543 fi
2544 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2545 $as_echo "$MKDIR_P" >&6; }
2546
2547 mkdir_p="$MKDIR_P"
2548 case $mkdir_p in
2549   [\\/$]* | ?:[\\/]*) ;;
2550   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2551 esac
2552
2553 for ac_prog in gawk mawk nawk awk
2554 do
2555   # Extract the first word of "$ac_prog", so it can be a program name with args.
2556 set dummy $ac_prog; ac_word=$2
2557 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2558 $as_echo_n "checking for $ac_word... " >&6; }
2559 if test "${ac_cv_prog_AWK+set}" = set; then
2560   $as_echo_n "(cached) " >&6
2561 else
2562   if test -n "$AWK"; then
2563   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2564 else
2565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2566 for as_dir in $PATH
2567 do
2568   IFS=$as_save_IFS
2569   test -z "$as_dir" && as_dir=.
2570   for ac_exec_ext in '' $ac_executable_extensions; do
2571   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2572     ac_cv_prog_AWK="$ac_prog"
2573     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2574     break 2
2575   fi
2576 done
2577 done
2578 IFS=$as_save_IFS
2579
2580 fi
2581 fi
2582 AWK=$ac_cv_prog_AWK
2583 if test -n "$AWK"; then
2584   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2585 $as_echo "$AWK" >&6; }
2586 else
2587   { $as_echo "$as_me:$LINENO: result: no" >&5
2588 $as_echo "no" >&6; }
2589 fi
2590
2591
2592   test -n "$AWK" && break
2593 done
2594
2595 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2596 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2597 set x ${MAKE-make}
2598 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2599 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2600   $as_echo_n "(cached) " >&6
2601 else
2602   cat >conftest.make <<\_ACEOF
2603 SHELL = /bin/sh
2604 all:
2605         @echo '@@@%%%=$(MAKE)=@@@%%%'
2606 _ACEOF
2607 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2608 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2609   *@@@%%%=?*=@@@%%%*)
2610     eval ac_cv_prog_make_${ac_make}_set=yes;;
2611   *)
2612     eval ac_cv_prog_make_${ac_make}_set=no;;
2613 esac
2614 rm -f conftest.make
2615 fi
2616 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2617   { $as_echo "$as_me:$LINENO: result: yes" >&5
2618 $as_echo "yes" >&6; }
2619   SET_MAKE=
2620 else
2621   { $as_echo "$as_me:$LINENO: result: no" >&5
2622 $as_echo "no" >&6; }
2623   SET_MAKE="MAKE=${MAKE-make}"
2624 fi
2625
2626 rm -rf .tst 2>/dev/null
2627 mkdir .tst 2>/dev/null
2628 if test -d .tst; then
2629   am__leading_dot=.
2630 else
2631   am__leading_dot=_
2632 fi
2633 rmdir .tst 2>/dev/null
2634
2635 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2636   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2637   # is not polluted with repeated "-I."
2638   am__isrc=' -I$(srcdir)'
2639   # test to see if srcdir already configured
2640   if test -f $srcdir/config.status; then
2641     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2642 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2643    { (exit 1); exit 1; }; }
2644   fi
2645 fi
2646
2647 # test whether we have cygpath
2648 if test -z "$CYGPATH_W"; then
2649   if (cygpath --version) >/dev/null 2>/dev/null; then
2650     CYGPATH_W='cygpath -w'
2651   else
2652     CYGPATH_W=echo
2653   fi
2654 fi
2655
2656
2657 # Define the identity of the package.
2658  PACKAGE=glabels
2659  VERSION=2.2.8
2660
2661
2662 cat >>confdefs.h <<_ACEOF
2663 #define PACKAGE "$PACKAGE"
2664 _ACEOF
2665
2666
2667 cat >>confdefs.h <<_ACEOF
2668 #define VERSION "$VERSION"
2669 _ACEOF
2670
2671 # Some tools Automake needs.
2672
2673 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2674
2675
2676 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2677
2678
2679 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2680
2681
2682 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2683
2684
2685 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2686
2687 # We need awk for the "check" target.  The system "awk" is bad on
2688 # some platforms.
2689 # Always define AMTAR for backward compatibility.
2690
2691 AMTAR=${AMTAR-"${am_missing_run}tar"}
2692
2693 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2694
2695
2696
2697
2698
2699 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
2700 $as_echo_n "checking whether ln -s works... " >&6; }
2701 LN_S=$as_ln_s
2702 if test "$LN_S" = "ln -s"; then
2703   { $as_echo "$as_me:$LINENO: result: yes" >&5
2704 $as_echo "yes" >&6; }
2705 else
2706   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2707 $as_echo "no, using $LN_S" >&6; }
2708 fi
2709
2710
2711
2712 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
2713         if test -n "$ac_tool_prefix"; then
2714   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
2715 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2716 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2717 $as_echo_n "checking for $ac_word... " >&6; }
2718 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
2719   $as_echo_n "(cached) " >&6
2720 else
2721   case $PKG_CONFIG in
2722   [\\/]* | ?:[\\/]*)
2723   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
2724   ;;
2725   *)
2726   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2727 for as_dir in $PATH
2728 do
2729   IFS=$as_save_IFS
2730   test -z "$as_dir" && as_dir=.
2731   for ac_exec_ext in '' $ac_executable_extensions; do
2732   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2733     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2734     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2735     break 2
2736   fi
2737 done
2738 done
2739 IFS=$as_save_IFS
2740
2741   ;;
2742 esac
2743 fi
2744 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2745 if test -n "$PKG_CONFIG"; then
2746   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
2747 $as_echo "$PKG_CONFIG" >&6; }
2748 else
2749   { $as_echo "$as_me:$LINENO: result: no" >&5
2750 $as_echo "no" >&6; }
2751 fi
2752
2753
2754 fi
2755 if test -z "$ac_cv_path_PKG_CONFIG"; then
2756   ac_pt_PKG_CONFIG=$PKG_CONFIG
2757   # Extract the first word of "pkg-config", so it can be a program name with args.
2758 set dummy pkg-config; ac_word=$2
2759 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2760 $as_echo_n "checking for $ac_word... " >&6; }
2761 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
2762   $as_echo_n "(cached) " >&6
2763 else
2764   case $ac_pt_PKG_CONFIG in
2765   [\\/]* | ?:[\\/]*)
2766   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
2767   ;;
2768   *)
2769   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2770 for as_dir in $PATH
2771 do
2772   IFS=$as_save_IFS
2773   test -z "$as_dir" && as_dir=.
2774   for ac_exec_ext in '' $ac_executable_extensions; do
2775   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2776     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2777     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2778     break 2
2779   fi
2780 done
2781 done
2782 IFS=$as_save_IFS
2783
2784   ;;
2785 esac
2786 fi
2787 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
2788 if test -n "$ac_pt_PKG_CONFIG"; then
2789   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
2790 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
2791 else
2792   { $as_echo "$as_me:$LINENO: result: no" >&5
2793 $as_echo "no" >&6; }
2794 fi
2795
2796   if test "x$ac_pt_PKG_CONFIG" = x; then
2797     PKG_CONFIG=""
2798   else
2799     case $cross_compiling:$ac_tool_warned in
2800 yes:)
2801 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2802 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2803 ac_tool_warned=yes ;;
2804 esac
2805     PKG_CONFIG=$ac_pt_PKG_CONFIG
2806   fi
2807 else
2808   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
2809 fi
2810
2811 fi
2812 if test -n "$PKG_CONFIG"; then
2813         _pkg_min_version=0.9.0
2814         { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
2815 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
2816         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
2817                 { $as_echo "$as_me:$LINENO: result: yes" >&5
2818 $as_echo "yes" >&6; }
2819         else
2820                 { $as_echo "$as_me:$LINENO: result: no" >&5
2821 $as_echo "no" >&6; }
2822                 PKG_CONFIG=""
2823         fi
2824
2825 fi
2826
2827 gdu_cv_version_required=0.3.2
2828
2829 { $as_echo "$as_me:$LINENO: checking gnome-doc-utils >= $gdu_cv_version_required" >&5
2830 $as_echo_n "checking gnome-doc-utils >= $gdu_cv_version_required... " >&6; }
2831 if test -n "$PKG_CONFIG" && \
2832     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\"") >&5
2833   ($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
2834   ac_status=$?
2835   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836   (exit $ac_status); }; then
2837   gdu_cv_have_gdu=yes
2838 else
2839   gdu_cv_have_gdu=no
2840 fi
2841
2842 if test "$gdu_cv_have_gdu" = "yes"; then
2843         { $as_echo "$as_me:$LINENO: result: yes" >&5
2844 $as_echo "yes" >&6; }
2845         :
2846 else
2847         { $as_echo "$as_me:$LINENO: result: no" >&5
2848 $as_echo "no" >&6; }
2849         { { $as_echo "$as_me:$LINENO: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&5
2850 $as_echo "$as_me: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&2;}
2851    { (exit 1); exit 1; }; }
2852 fi
2853
2854
2855
2856 # Check whether --with-help-dir was given.
2857 if test "${with_help_dir+set}" = set; then
2858   withval=$with_help_dir;
2859 else
2860   with_help_dir='${datadir}/gnome/help'
2861 fi
2862
2863 HELP_DIR="$with_help_dir"
2864
2865
2866
2867 # Check whether --with-omf-dir was given.
2868 if test "${with_omf_dir+set}" = set; then
2869   withval=$with_omf_dir;
2870 else
2871   with_omf_dir='${datadir}/omf'
2872 fi
2873
2874 OMF_DIR="$with_omf_dir"
2875
2876
2877
2878 # Check whether --with-help-formats was given.
2879 if test "${with_help_formats+set}" = set; then
2880   withval=$with_help_formats;
2881 else
2882   with_help_formats=''
2883 fi
2884
2885 DOC_USER_FORMATS="$with_help_formats"
2886
2887
2888 # Check whether --enable-scrollkeeper was given.
2889 if test "${enable_scrollkeeper+set}" = set; then
2890   enableval=$enable_scrollkeeper;
2891 else
2892   enable_scrollkeeper=yes
2893 fi
2894
2895  if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then
2896   ENABLE_SK_TRUE=
2897   ENABLE_SK_FALSE='#'
2898 else
2899   ENABLE_SK_TRUE='#'
2900   ENABLE_SK_FALSE=
2901 fi
2902
2903
2904 DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS"
2905
2906
2907  if test "$gdu_cv_have_gdu" = "yes"; then
2908   HAVE_GNOME_DOC_UTILS_TRUE=
2909   HAVE_GNOME_DOC_UTILS_FALSE='#'
2910 else
2911   HAVE_GNOME_DOC_UTILS_TRUE='#'
2912   HAVE_GNOME_DOC_UTILS_FALSE=
2913 fi
2914
2915
2916
2917
2918
2919 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2920 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2921     # Check whether --enable-maintainer-mode was given.
2922 if test "${enable_maintainer_mode+set}" = set; then
2923   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2924 else
2925   USE_MAINTAINER_MODE=no
2926 fi
2927
2928   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2929 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2930    if test $USE_MAINTAINER_MODE = yes; then
2931   MAINTAINER_MODE_TRUE=
2932   MAINTAINER_MODE_FALSE='#'
2933 else
2934   MAINTAINER_MODE_TRUE='#'
2935   MAINTAINER_MODE_FALSE=
2936 fi
2937
2938   MAINT=$MAINTAINER_MODE_TRUE
2939
2940
2941 ac_config_headers="$ac_config_headers config.h"
2942
2943
2944
2945   { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
2946 $as_echo_n "checking whether NLS is requested... " >&6; }
2947     # Check whether --enable-nls was given.
2948 if test "${enable_nls+set}" = set; then
2949   enableval=$enable_nls; USE_NLS=$enableval
2950 else
2951   USE_NLS=yes
2952 fi
2953
2954   { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
2955 $as_echo "$USE_NLS" >&6; }
2956
2957
2958 DEPDIR="${am__leading_dot}deps"
2959
2960 ac_config_commands="$ac_config_commands depfiles"
2961
2962
2963 am_make=${MAKE-make}
2964 cat > confinc << 'END'
2965 am__doit:
2966         @echo this is the am__doit target
2967 .PHONY: am__doit
2968 END
2969 # If we don't find an include directive, just comment out the code.
2970 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2971 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2972 am__include="#"
2973 am__quote=
2974 _am_result=none
2975 # First try GNU make style include.
2976 echo "include confinc" > confmf
2977 # Ignore all kinds of additional output from `make'.
2978 case `$am_make -s -f confmf 2> /dev/null` in #(
2979 *the\ am__doit\ target*)
2980   am__include=include
2981   am__quote=
2982   _am_result=GNU
2983   ;;
2984 esac
2985 # Now try BSD make style include.
2986 if test "$am__include" = "#"; then
2987    echo '.include "confinc"' > confmf
2988    case `$am_make -s -f confmf 2> /dev/null` in #(
2989    *the\ am__doit\ target*)
2990      am__include=.include
2991      am__quote="\""
2992      _am_result=BSD
2993      ;;
2994    esac
2995 fi
2996
2997
2998 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2999 $as_echo "$_am_result" >&6; }
3000 rm -f confinc confmf
3001
3002 # Check whether --enable-dependency-tracking was given.
3003 if test "${enable_dependency_tracking+set}" = set; then
3004   enableval=$enable_dependency_tracking;
3005 fi
3006
3007 if test "x$enable_dependency_tracking" != xno; then
3008   am_depcomp="$ac_aux_dir/depcomp"
3009   AMDEPBACKSLASH='\'
3010 fi
3011  if test "x$enable_dependency_tracking" != xno; then
3012   AMDEP_TRUE=
3013   AMDEP_FALSE='#'
3014 else
3015   AMDEP_TRUE='#'
3016   AMDEP_FALSE=
3017 fi
3018
3019
3020 ac_ext=c
3021 ac_cpp='$CPP $CPPFLAGS'
3022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3025 if test -n "$ac_tool_prefix"; then
3026   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3027 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3028 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3029 $as_echo_n "checking for $ac_word... " >&6; }
3030 if test "${ac_cv_prog_CC+set}" = set; then
3031   $as_echo_n "(cached) " >&6
3032 else
3033   if test -n "$CC"; then
3034   ac_cv_prog_CC="$CC" # Let the user override the test.
3035 else
3036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3037 for as_dir in $PATH
3038 do
3039   IFS=$as_save_IFS
3040   test -z "$as_dir" && as_dir=.
3041   for ac_exec_ext in '' $ac_executable_extensions; do
3042   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3043     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3044     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3045     break 2
3046   fi
3047 done
3048 done
3049 IFS=$as_save_IFS
3050
3051 fi
3052 fi
3053 CC=$ac_cv_prog_CC
3054 if test -n "$CC"; then
3055   { $as_echo "$as_me:$LINENO: result: $CC" >&5
3056 $as_echo "$CC" >&6; }
3057 else
3058   { $as_echo "$as_me:$LINENO: result: no" >&5
3059 $as_echo "no" >&6; }
3060 fi
3061
3062
3063 fi
3064 if test -z "$ac_cv_prog_CC"; then
3065   ac_ct_CC=$CC
3066   # Extract the first word of "gcc", so it can be a program name with args.
3067 set dummy gcc; ac_word=$2
3068 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3069 $as_echo_n "checking for $ac_word... " >&6; }
3070 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3071   $as_echo_n "(cached) " >&6
3072 else
3073   if test -n "$ac_ct_CC"; then
3074   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3075 else
3076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3077 for as_dir in $PATH
3078 do
3079   IFS=$as_save_IFS
3080   test -z "$as_dir" && as_dir=.
3081   for ac_exec_ext in '' $ac_executable_extensions; do
3082   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3083     ac_cv_prog_ac_ct_CC="gcc"
3084     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3085     break 2
3086   fi
3087 done
3088 done
3089 IFS=$as_save_IFS
3090
3091 fi
3092 fi
3093 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3094 if test -n "$ac_ct_CC"; then
3095   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3096 $as_echo "$ac_ct_CC" >&6; }
3097 else
3098   { $as_echo "$as_me:$LINENO: result: no" >&5
3099 $as_echo "no" >&6; }
3100 fi
3101
3102   if test "x$ac_ct_CC" = x; then
3103     CC=""
3104   else
3105     case $cross_compiling:$ac_tool_warned in
3106 yes:)
3107 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3108 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3109 ac_tool_warned=yes ;;
3110 esac
3111     CC=$ac_ct_CC
3112   fi
3113 else
3114   CC="$ac_cv_prog_CC"
3115 fi
3116
3117 if test -z "$CC"; then
3118           if test -n "$ac_tool_prefix"; then
3119     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3120 set dummy ${ac_tool_prefix}cc; ac_word=$2
3121 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3122 $as_echo_n "checking for $ac_word... " >&6; }
3123 if test "${ac_cv_prog_CC+set}" = set; then
3124   $as_echo_n "(cached) " >&6
3125 else
3126   if test -n "$CC"; then
3127   ac_cv_prog_CC="$CC" # Let the user override the test.
3128 else
3129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3130 for as_dir in $PATH
3131 do
3132   IFS=$as_save_IFS
3133   test -z "$as_dir" && as_dir=.
3134   for ac_exec_ext in '' $ac_executable_extensions; do
3135   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3136     ac_cv_prog_CC="${ac_tool_prefix}cc"
3137     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3138     break 2
3139   fi
3140 done
3141 done
3142 IFS=$as_save_IFS
3143
3144 fi
3145 fi
3146 CC=$ac_cv_prog_CC
3147 if test -n "$CC"; then
3148   { $as_echo "$as_me:$LINENO: result: $CC" >&5
3149 $as_echo "$CC" >&6; }
3150 else
3151   { $as_echo "$as_me:$LINENO: result: no" >&5
3152 $as_echo "no" >&6; }
3153 fi
3154
3155
3156   fi
3157 fi
3158 if test -z "$CC"; then
3159   # Extract the first word of "cc", so it can be a program name with args.
3160 set dummy cc; ac_word=$2
3161 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3162 $as_echo_n "checking for $ac_word... " >&6; }
3163 if test "${ac_cv_prog_CC+set}" = set; then
3164   $as_echo_n "(cached) " >&6
3165 else
3166   if test -n "$CC"; then
3167   ac_cv_prog_CC="$CC" # Let the user override the test.
3168 else
3169   ac_prog_rejected=no
3170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3171 for as_dir in $PATH
3172 do
3173   IFS=$as_save_IFS
3174   test -z "$as_dir" && as_dir=.
3175   for ac_exec_ext in '' $ac_executable_extensions; do
3176   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3177     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3178        ac_prog_rejected=yes
3179        continue
3180      fi
3181     ac_cv_prog_CC="cc"
3182     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3183     break 2
3184   fi
3185 done
3186 done
3187 IFS=$as_save_IFS
3188
3189 if test $ac_prog_rejected = yes; then
3190   # We found a bogon in the path, so make sure we never use it.
3191   set dummy $ac_cv_prog_CC
3192   shift
3193   if test $# != 0; then
3194     # We chose a different compiler from the bogus one.
3195     # However, it has the same basename, so the bogon will be chosen
3196     # first if we set CC to just the basename; use the full file name.
3197     shift
3198     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3199   fi
3200 fi
3201 fi
3202 fi
3203 CC=$ac_cv_prog_CC
3204 if test -n "$CC"; then
3205   { $as_echo "$as_me:$LINENO: result: $CC" >&5
3206 $as_echo "$CC" >&6; }
3207 else
3208   { $as_echo "$as_me:$LINENO: result: no" >&5
3209 $as_echo "no" >&6; }
3210 fi
3211
3212
3213 fi
3214 if test -z "$CC"; then
3215   if test -n "$ac_tool_prefix"; then
3216   for ac_prog in cl.exe
3217   do
3218     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3219 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3220 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3221 $as_echo_n "checking for $ac_word... " >&6; }
3222 if test "${ac_cv_prog_CC+set}" = set; then
3223   $as_echo_n "(cached) " >&6
3224 else
3225   if test -n "$CC"; then
3226   ac_cv_prog_CC="$CC" # Let the user override the test.
3227 else
3228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3229 for as_dir in $PATH
3230 do
3231   IFS=$as_save_IFS
3232   test -z "$as_dir" && as_dir=.
3233   for ac_exec_ext in '' $ac_executable_extensions; do
3234   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3235     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3236     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3237     break 2
3238   fi
3239 done
3240 done
3241 IFS=$as_save_IFS
3242
3243 fi
3244 fi
3245 CC=$ac_cv_prog_CC
3246 if test -n "$CC"; then
3247   { $as_echo "$as_me:$LINENO: result: $CC" >&5
3248 $as_echo "$CC" >&6; }
3249 else
3250   { $as_echo "$as_me:$LINENO: result: no" >&5
3251 $as_echo "no" >&6; }
3252 fi
3253
3254
3255     test -n "$CC" && break
3256   done
3257 fi
3258 if test -z "$CC"; then
3259   ac_ct_CC=$CC
3260   for ac_prog in cl.exe
3261 do
3262   # Extract the first word of "$ac_prog", so it can be a program name with args.
3263 set dummy $ac_prog; ac_word=$2
3264 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3265 $as_echo_n "checking for $ac_word... " >&6; }
3266 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3267   $as_echo_n "(cached) " >&6
3268 else
3269   if test -n "$ac_ct_CC"; then
3270   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3271 else
3272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3273 for as_dir in $PATH
3274 do
3275   IFS=$as_save_IFS
3276   test -z "$as_dir" && as_dir=.
3277   for ac_exec_ext in '' $ac_executable_extensions; do
3278   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3279     ac_cv_prog_ac_ct_CC="$ac_prog"
3280     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3281     break 2
3282   fi
3283 done
3284 done
3285 IFS=$as_save_IFS
3286
3287 fi
3288 fi
3289 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3290 if test -n "$ac_ct_CC"; then
3291   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3292 $as_echo "$ac_ct_CC" >&6; }
3293 else
3294   { $as_echo "$as_me:$LINENO: result: no" >&5
3295 $as_echo "no" >&6; }
3296 fi
3297
3298
3299   test -n "$ac_ct_CC" && break
3300 done
3301
3302   if test "x$ac_ct_CC" = x; then
3303     CC=""
3304   else
3305     case $cross_compiling:$ac_tool_warned in
3306 yes:)
3307 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3308 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3309 ac_tool_warned=yes ;;
3310 esac
3311     CC=$ac_ct_CC
3312   fi
3313 fi
3314
3315 fi
3316
3317
3318 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3319 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3320 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3321 See \`config.log' for more details." >&5
3322 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3323 See \`config.log' for more details." >&2;}
3324    { (exit 1); exit 1; }; }; }
3325
3326 # Provide some information about the compiler.
3327 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3328 set X $ac_compile
3329 ac_compiler=$2
3330 { (ac_try="$ac_compiler --version >&5"
3331 case "(($ac_try" in
3332   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3333   *) ac_try_echo=$ac_try;;
3334 esac
3335 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3336 $as_echo "$ac_try_echo") >&5
3337   (eval "$ac_compiler --version >&5") 2>&5
3338   ac_status=$?
3339   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3340   (exit $ac_status); }
3341 { (ac_try="$ac_compiler -v >&5"
3342 case "(($ac_try" in
3343   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3344   *) ac_try_echo=$ac_try;;
3345 esac
3346 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3347 $as_echo "$ac_try_echo") >&5
3348   (eval "$ac_compiler -v >&5") 2>&5
3349   ac_status=$?
3350   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351   (exit $ac_status); }
3352 { (ac_try="$ac_compiler -V >&5"
3353 case "(($ac_try" in
3354   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3355   *) ac_try_echo=$ac_try;;
3356 esac
3357 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3358 $as_echo "$ac_try_echo") >&5
3359   (eval "$ac_compiler -V >&5") 2>&5
3360   ac_status=$?
3361   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362   (exit $ac_status); }
3363
3364 cat >conftest.$ac_ext <<_ACEOF
3365 /* confdefs.h.  */
3366 _ACEOF
3367 cat confdefs.h >>conftest.$ac_ext
3368 cat >>conftest.$ac_ext <<_ACEOF
3369 /* end confdefs.h.  */
3370
3371 int
3372 main ()
3373 {
3374
3375   ;
3376   return 0;
3377 }
3378 _ACEOF
3379 ac_clean_files_save=$ac_clean_files
3380 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3381 # Try to create an executable without -o first, disregard a.out.
3382 # It will help us diagnose broken compilers, and finding out an intuition
3383 # of exeext.
3384 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3385 $as_echo_n "checking for C compiler default output file name... " >&6; }
3386 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3387
3388 # The possible output files:
3389 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3390
3391 ac_rmfiles=
3392 for ac_file in $ac_files
3393 do
3394   case $ac_file in
3395     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3396     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3397   esac
3398 done
3399 rm -f $ac_rmfiles
3400
3401 if { (ac_try="$ac_link_default"
3402 case "(($ac_try" in
3403   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3404   *) ac_try_echo=$ac_try;;
3405 esac
3406 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3407 $as_echo "$ac_try_echo") >&5
3408   (eval "$ac_link_default") 2>&5
3409   ac_status=$?
3410   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3411   (exit $ac_status); }; then
3412   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3413 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3414 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3415 # so that the user can short-circuit this test for compilers unknown to
3416 # Autoconf.
3417 for ac_file in $ac_files ''
3418 do
3419   test -f "$ac_file" || continue
3420   case $ac_file in
3421     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3422         ;;
3423     [ab].out )
3424         # We found the default executable, but exeext='' is most
3425         # certainly right.
3426         break;;
3427     *.* )
3428         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3429         then :; else
3430            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3431         fi
3432         # We set ac_cv_exeext here because the later test for it is not
3433         # safe: cross compilers may not add the suffix if given an `-o'
3434         # argument, so we may need to know it at that point already.
3435         # Even if this section looks crufty: it has the advantage of
3436         # actually working.
3437         break;;
3438     * )
3439         break;;
3440   esac
3441 done
3442 test "$ac_cv_exeext" = no && ac_cv_exeext=
3443
3444 else
3445   ac_file=''
3446 fi
3447
3448 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3449 $as_echo "$ac_file" >&6; }
3450 if test -z "$ac_file"; then
3451   $as_echo "$as_me: failed program was:" >&5
3452 sed 's/^/| /' conftest.$ac_ext >&5
3453
3454 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3455 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3456 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3457 See \`config.log' for more details." >&5
3458 $as_echo "$as_me: error: C compiler cannot create executables
3459 See \`config.log' for more details." >&2;}
3460    { (exit 77); exit 77; }; }; }
3461 fi
3462
3463 ac_exeext=$ac_cv_exeext
3464
3465 # Check that the compiler produces executables we can run.  If not, either
3466 # the compiler is broken, or we cross compile.
3467 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3468 $as_echo_n "checking whether the C compiler works... " >&6; }
3469 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3470 # If not cross compiling, check that we can run a simple program.
3471 if test "$cross_compiling" != yes; then
3472   if { ac_try='./$ac_file'
3473   { (case "(($ac_try" in
3474   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3475   *) ac_try_echo=$ac_try;;
3476 esac
3477 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3478 $as_echo "$ac_try_echo") >&5
3479   (eval "$ac_try") 2>&5
3480   ac_status=$?
3481   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3482   (exit $ac_status); }; }; then
3483     cross_compiling=no
3484   else
3485     if test "$cross_compiling" = maybe; then
3486         cross_compiling=yes
3487     else
3488         { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3490 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3491 If you meant to cross compile, use \`--host'.
3492 See \`config.log' for more details." >&5
3493 $as_echo "$as_me: error: cannot run C compiled programs.
3494 If you meant to cross compile, use \`--host'.
3495 See \`config.log' for more details." >&2;}
3496    { (exit 1); exit 1; }; }; }
3497     fi
3498   fi
3499 fi
3500 { $as_echo "$as_me:$LINENO: result: yes" >&5
3501 $as_echo "yes" >&6; }
3502
3503 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3504 ac_clean_files=$ac_clean_files_save
3505 # Check that the compiler produces executables we can run.  If not, either
3506 # the compiler is broken, or we cross compile.
3507 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3508 $as_echo_n "checking whether we are cross compiling... " >&6; }
3509 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3510 $as_echo "$cross_compiling" >&6; }
3511
3512 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3513 $as_echo_n "checking for suffix of executables... " >&6; }
3514 if { (ac_try="$ac_link"
3515 case "(($ac_try" in
3516   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3517   *) ac_try_echo=$ac_try;;
3518 esac
3519 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3520 $as_echo "$ac_try_echo") >&5
3521   (eval "$ac_link") 2>&5
3522   ac_status=$?
3523   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3524   (exit $ac_status); }; then
3525   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3526 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3527 # work properly (i.e., refer to `conftest.exe'), while it won't with
3528 # `rm'.
3529 for ac_file in conftest.exe conftest conftest.*; do
3530   test -f "$ac_file" || continue
3531   case $ac_file in
3532     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3533     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3534           break;;
3535     * ) break;;
3536   esac
3537 done
3538 else
3539   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3540 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3541 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3542 See \`config.log' for more details." >&5
3543 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3544 See \`config.log' for more details." >&2;}
3545    { (exit 1); exit 1; }; }; }
3546 fi
3547
3548 rm -f conftest$ac_cv_exeext
3549 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3550 $as_echo "$ac_cv_exeext" >&6; }
3551
3552 rm -f conftest.$ac_ext
3553 EXEEXT=$ac_cv_exeext
3554 ac_exeext=$EXEEXT
3555 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3556 $as_echo_n "checking for suffix of object files... " >&6; }
3557 if test "${ac_cv_objext+set}" = set; then
3558   $as_echo_n "(cached) " >&6
3559 else
3560   cat >conftest.$ac_ext <<_ACEOF
3561 /* confdefs.h.  */
3562 _ACEOF
3563 cat confdefs.h >>conftest.$ac_ext
3564 cat >>conftest.$ac_ext <<_ACEOF
3565 /* end confdefs.h.  */
3566
3567 int
3568 main ()
3569 {
3570
3571   ;
3572   return 0;
3573 }
3574 _ACEOF
3575 rm -f conftest.o conftest.obj
3576 if { (ac_try="$ac_compile"
3577 case "(($ac_try" in
3578   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3579   *) ac_try_echo=$ac_try;;
3580 esac
3581 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3582 $as_echo "$ac_try_echo") >&5
3583   (eval "$ac_compile") 2>&5
3584   ac_status=$?
3585   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3586   (exit $ac_status); }; then
3587   for ac_file in conftest.o conftest.obj conftest.*; do
3588   test -f "$ac_file" || continue;
3589   case $ac_file in
3590     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3591     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3592        break;;
3593   esac
3594 done
3595 else
3596   $as_echo "$as_me: failed program was:" >&5
3597 sed 's/^/| /' conftest.$ac_ext >&5
3598
3599 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3600 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3601 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3602 See \`config.log' for more details." >&5
3603 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3604 See \`config.log' for more details." >&2;}
3605    { (exit 1); exit 1; }; }; }
3606 fi
3607
3608 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3609 fi
3610 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3611 $as_echo "$ac_cv_objext" >&6; }
3612 OBJEXT=$ac_cv_objext
3613 ac_objext=$OBJEXT
3614 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3615 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3616 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3617   $as_echo_n "(cached) " >&6
3618 else
3619   cat >conftest.$ac_ext <<_ACEOF
3620 /* confdefs.h.  */
3621 _ACEOF
3622 cat confdefs.h >>conftest.$ac_ext
3623 cat >>conftest.$ac_ext <<_ACEOF
3624 /* end confdefs.h.  */
3625
3626 int
3627 main ()
3628 {
3629 #ifndef __GNUC__
3630        choke me
3631 #endif
3632
3633   ;
3634   return 0;
3635 }
3636 _ACEOF
3637 rm -f conftest.$ac_objext
3638 if { (ac_try="$ac_compile"
3639 case "(($ac_try" in
3640   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3641   *) ac_try_echo=$ac_try;;
3642 esac
3643 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3644 $as_echo "$ac_try_echo") >&5
3645   (eval "$ac_compile") 2>conftest.er1
3646   ac_status=$?
3647   grep -v '^ *+' conftest.er1 >conftest.err
3648   rm -f conftest.er1
3649   cat conftest.err >&5
3650   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3651   (exit $ac_status); } && {
3652          test -z "$ac_c_werror_flag" ||
3653          test ! -s conftest.err
3654        } && test -s conftest.$ac_objext; then
3655   ac_compiler_gnu=yes
3656 else
3657   $as_echo "$as_me: failed program was:" >&5
3658 sed 's/^/| /' conftest.$ac_ext >&5
3659
3660         ac_compiler_gnu=no
3661 fi
3662
3663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3664 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3665
3666 fi
3667 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3668 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3669 if test $ac_compiler_gnu = yes; then
3670   GCC=yes
3671 else
3672   GCC=
3673 fi
3674 ac_test_CFLAGS=${CFLAGS+set}
3675 ac_save_CFLAGS=$CFLAGS
3676 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3677 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3678 if test "${ac_cv_prog_cc_g+set}" = set; then
3679   $as_echo_n "(cached) " >&6
3680 else
3681   ac_save_c_werror_flag=$ac_c_werror_flag
3682    ac_c_werror_flag=yes
3683    ac_cv_prog_cc_g=no
3684    CFLAGS="-g"
3685    cat >conftest.$ac_ext <<_ACEOF
3686 /* confdefs.h.  */
3687 _ACEOF
3688 cat confdefs.h >>conftest.$ac_ext
3689 cat >>conftest.$ac_ext <<_ACEOF
3690 /* end confdefs.h.  */
3691
3692 int
3693 main ()
3694 {
3695
3696   ;
3697   return 0;
3698 }
3699 _ACEOF
3700 rm -f conftest.$ac_objext
3701 if { (ac_try="$ac_compile"
3702 case "(($ac_try" in
3703   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3704   *) ac_try_echo=$ac_try;;
3705 esac
3706 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3707 $as_echo "$ac_try_echo") >&5
3708   (eval "$ac_compile") 2>conftest.er1
3709   ac_status=$?
3710   grep -v '^ *+' conftest.er1 >conftest.err
3711   rm -f conftest.er1
3712   cat conftest.err >&5
3713   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3714   (exit $ac_status); } && {
3715          test -z "$ac_c_werror_flag" ||
3716          test ! -s conftest.err
3717        } && test -s conftest.$ac_objext; then
3718   ac_cv_prog_cc_g=yes
3719 else
3720   $as_echo "$as_me: failed program was:" >&5
3721 sed 's/^/| /' conftest.$ac_ext >&5
3722
3723         CFLAGS=""
3724       cat >conftest.$ac_ext <<_ACEOF
3725 /* confdefs.h.  */
3726 _ACEOF
3727 cat confdefs.h >>conftest.$ac_ext
3728 cat >>conftest.$ac_ext <<_ACEOF
3729 /* end confdefs.h.  */
3730
3731 int
3732 main ()
3733 {
3734
3735   ;
3736   return 0;
3737 }
3738 _ACEOF
3739 rm -f conftest.$ac_objext
3740 if { (ac_try="$ac_compile"
3741 case "(($ac_try" in
3742   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3743   *) ac_try_echo=$ac_try;;
3744 esac
3745 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3746 $as_echo "$ac_try_echo") >&5
3747   (eval "$ac_compile") 2>conftest.er1
3748   ac_status=$?
3749   grep -v '^ *+' conftest.er1 >conftest.err
3750   rm -f conftest.er1
3751   cat conftest.err >&5
3752   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3753   (exit $ac_status); } && {
3754          test -z "$ac_c_werror_flag" ||
3755          test ! -s conftest.err
3756        } && test -s conftest.$ac_objext; then
3757   :
3758 else
3759   $as_echo "$as_me: failed program was:" >&5
3760 sed 's/^/| /' conftest.$ac_ext >&5
3761
3762         ac_c_werror_flag=$ac_save_c_werror_flag
3763          CFLAGS="-g"
3764          cat >conftest.$ac_ext <<_ACEOF
3765 /* confdefs.h.  */
3766 _ACEOF
3767 cat confdefs.h >>conftest.$ac_ext
3768 cat >>conftest.$ac_ext <<_ACEOF
3769 /* end confdefs.h.  */
3770
3771 int
3772 main ()
3773 {
3774
3775   ;
3776   return 0;
3777 }
3778 _ACEOF
3779 rm -f conftest.$ac_objext
3780 if { (ac_try="$ac_compile"
3781 case "(($ac_try" in
3782   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3783   *) ac_try_echo=$ac_try;;
3784 esac
3785 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3786 $as_echo "$ac_try_echo") >&5
3787   (eval "$ac_compile") 2>conftest.er1
3788   ac_status=$?
3789   grep -v '^ *+' conftest.er1 >conftest.err
3790   rm -f conftest.er1
3791   cat conftest.err >&5
3792   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3793   (exit $ac_status); } && {
3794          test -z "$ac_c_werror_flag" ||
3795          test ! -s conftest.err
3796        } && test -s conftest.$ac_objext; then
3797   ac_cv_prog_cc_g=yes
3798 else
3799   $as_echo "$as_me: failed program was:" >&5
3800 sed 's/^/| /' conftest.$ac_ext >&5
3801
3802
3803 fi
3804
3805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3806 fi
3807
3808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3809 fi
3810
3811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3812    ac_c_werror_flag=$ac_save_c_werror_flag
3813 fi
3814 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3815 $as_echo "$ac_cv_prog_cc_g" >&6; }
3816 if test "$ac_test_CFLAGS" = set; then
3817   CFLAGS=$ac_save_CFLAGS
3818 elif test $ac_cv_prog_cc_g = yes; then
3819   if test "$GCC" = yes; then
3820     CFLAGS="-g -O2"
3821   else
3822     CFLAGS="-g"
3823   fi
3824 else
3825   if test "$GCC" = yes; then
3826     CFLAGS="-O2"
3827   else
3828     CFLAGS=
3829   fi
3830 fi
3831 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3832 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3833 if test "${ac_cv_prog_cc_c89+set}" = set; then
3834   $as_echo_n "(cached) " >&6
3835 else
3836   ac_cv_prog_cc_c89=no
3837 ac_save_CC=$CC
3838 cat >conftest.$ac_ext <<_ACEOF
3839 /* confdefs.h.  */
3840 _ACEOF
3841 cat confdefs.h >>conftest.$ac_ext
3842 cat >>conftest.$ac_ext <<_ACEOF
3843 /* end confdefs.h.  */
3844 #include <stdarg.h>
3845 #include <stdio.h>
3846 #include <sys/types.h>
3847 #include <sys/stat.h>
3848 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3849 struct buf { int x; };
3850 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3851 static char *e (p, i)
3852      char **p;
3853      int i;
3854 {
3855   return p[i];
3856 }
3857 static char *f (char * (*g) (char **, int), char **p, ...)
3858 {
3859   char *s;
3860   va_list v;
3861   va_start (v,p);
3862   s = g (p, va_arg (v,int));
3863   va_end (v);
3864   return s;
3865 }
3866
3867 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3868    function prototypes and stuff, but not '\xHH' hex character constants.
3869    These don't provoke an error unfortunately, instead are silently treated
3870    as 'x'.  The following induces an error, until -std is added to get
3871    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3872    array size at least.  It's necessary to write '\x00'==0 to get something
3873    that's true only with -std.  */
3874 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3875
3876 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3877    inside strings and character constants.  */
3878 #define FOO(x) 'x'
3879 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3880
3881 int test (int i, double x);
3882 struct s1 {int (*f) (int a);};
3883 struct s2 {int (*f) (double a);};
3884 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3885 int argc;
3886 char **argv;
3887 int
3888 main ()
3889 {
3890 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3891   ;
3892   return 0;
3893 }
3894 _ACEOF
3895 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3896         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3897 do
3898   CC="$ac_save_CC $ac_arg"
3899   rm -f conftest.$ac_objext
3900 if { (ac_try="$ac_compile"
3901 case "(($ac_try" in
3902   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3903   *) ac_try_echo=$ac_try;;
3904 esac
3905 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3906 $as_echo "$ac_try_echo") >&5
3907   (eval "$ac_compile") 2>conftest.er1
3908   ac_status=$?
3909   grep -v '^ *+' conftest.er1 >conftest.err
3910   rm -f conftest.er1
3911   cat conftest.err >&5
3912   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3913   (exit $ac_status); } && {
3914          test -z "$ac_c_werror_flag" ||
3915          test ! -s conftest.err
3916        } && test -s conftest.$ac_objext; then
3917   ac_cv_prog_cc_c89=$ac_arg
3918 else
3919   $as_echo "$as_me: failed program was:" >&5
3920 sed 's/^/| /' conftest.$ac_ext >&5
3921
3922
3923 fi
3924
3925 rm -f core conftest.err conftest.$ac_objext
3926   test "x$ac_cv_prog_cc_c89" != "xno" && break
3927 done
3928 rm -f conftest.$ac_ext
3929 CC=$ac_save_CC
3930
3931 fi
3932 # AC_CACHE_VAL
3933 case "x$ac_cv_prog_cc_c89" in
3934   x)
3935     { $as_echo "$as_me:$LINENO: result: none needed" >&5
3936 $as_echo "none needed" >&6; } ;;
3937   xno)
3938     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3939 $as_echo "unsupported" >&6; } ;;
3940   *)
3941     CC="$CC $ac_cv_prog_cc_c89"
3942     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3943 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3944 esac
3945
3946
3947 ac_ext=c
3948 ac_cpp='$CPP $CPPFLAGS'
3949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3952
3953 depcc="$CC"   am_compiler_list=
3954
3955 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3956 $as_echo_n "checking dependency style of $depcc... " >&6; }
3957 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3958   $as_echo_n "(cached) " >&6
3959 else
3960   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3961   # We make a subdir and do the tests there.  Otherwise we can end up
3962   # making bogus files that we don't know about and never remove.  For
3963   # instance it was reported that on HP-UX the gcc test will end up
3964   # making a dummy file named `D' -- because `-MD' means `put the output
3965   # in D'.
3966   mkdir conftest.dir
3967   # Copy depcomp to subdir because otherwise we won't find it if we're
3968   # using a relative directory.
3969   cp "$am_depcomp" conftest.dir
3970   cd conftest.dir
3971   # We will build objects and dependencies in a subdirectory because
3972   # it helps to detect inapplicable dependency modes.  For instance
3973   # both Tru64's cc and ICC support -MD to output dependencies as a
3974   # side effect of compilation, but ICC will put the dependencies in
3975   # the current directory while Tru64 will put them in the object
3976   # directory.
3977   mkdir sub
3978
3979   am_cv_CC_dependencies_compiler_type=none
3980   if test "$am_compiler_list" = ""; then
3981      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3982   fi
3983   am__universal=false
3984   case " $depcc " in #(
3985      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3986      esac
3987
3988   for depmode in $am_compiler_list; do
3989     # Setup a source with many dependencies, because some compilers
3990     # like to wrap large dependency lists on column 80 (with \), and
3991     # we should not choose a depcomp mode which is confused by this.
3992     #
3993     # We need to recreate these files for each test, as the compiler may
3994     # overwrite some of them when testing with obscure command lines.
3995     # This happens at least with the AIX C compiler.
3996     : > sub/conftest.c
3997     for i in 1 2 3 4 5 6; do
3998       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3999       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4000       # Solaris 8's {/usr,}/bin/sh.
4001       touch sub/conftst$i.h
4002     done
4003     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4004
4005     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4006     # mode.  It turns out that the SunPro C++ compiler does not properly
4007     # handle `-M -o', and we need to detect this.  Also, some Intel
4008     # versions had trouble with output in subdirs
4009     am__obj=sub/conftest.${OBJEXT-o}
4010     am__minus_obj="-o $am__obj"
4011     case $depmode in
4012     gcc)
4013       # This depmode causes a compiler race in universal mode.
4014       test "$am__universal" = false || continue
4015       ;;
4016     nosideeffect)
4017       # after this tag, mechanisms are not by side-effect, so they'll
4018       # only be used when explicitly requested
4019       if test "x$enable_dependency_tracking" = xyes; then
4020         continue
4021       else
4022         break
4023       fi
4024       ;;
4025     msvisualcpp | msvcmsys)
4026       # This compiler won't grok `-c -o', but also, the minuso test has
4027       # not run yet.  These depmodes are late enough in the game, and
4028       # so weak that their functioning should not be impacted.
4029       am__obj=conftest.${OBJEXT-o}
4030       am__minus_obj=
4031       ;;
4032     none) break ;;
4033     esac
4034     if depmode=$depmode \
4035        source=sub/conftest.c object=$am__obj \
4036        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4037        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4038          >/dev/null 2>conftest.err &&
4039        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4040        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4041        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4042        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4043       # icc doesn't choke on unknown options, it will just issue warnings
4044       # or remarks (even with -Werror).  So we grep stderr for any message
4045       # that says an option was ignored or not supported.
4046       # When given -MP, icc 7.0 and 7.1 complain thusly:
4047       #   icc: Command line warning: ignoring option '-M'; no argument required
4048       # The diagnosis changed in icc 8.0:
4049       #   icc: Command line remark: option '-MP' not supported
4050       if (grep 'ignoring option' conftest.err ||
4051           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4052         am_cv_CC_dependencies_compiler_type=$depmode
4053         break
4054       fi
4055     fi
4056   done
4057
4058   cd ..
4059   rm -rf conftest.dir
4060 else
4061   am_cv_CC_dependencies_compiler_type=none
4062 fi
4063
4064 fi
4065 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4066 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4067 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4068
4069  if
4070   test "x$enable_dependency_tracking" != xno \
4071   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4072   am__fastdepCC_TRUE=
4073   am__fastdepCC_FALSE='#'
4074 else
4075   am__fastdepCC_TRUE='#'
4076   am__fastdepCC_FALSE=
4077 fi
4078
4079
4080
4081
4082
4083 case "$am__api_version" in
4084     1.01234)
4085         { { $as_echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
4086 $as_echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
4087    { (exit 1); exit 1; }; }
4088     ;;
4089     *)
4090     ;;
4091 esac
4092
4093 if test -n "0.21"; then
4094     { $as_echo "$as_me:$LINENO: checking for intltool >= 0.21" >&5
4095 $as_echo_n "checking for intltool >= 0.21... " >&6; }
4096
4097     INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.21 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4098     INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
4099     INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4100
4101     { $as_echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
4102 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
4103     test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
4104         { { $as_echo "$as_me:$LINENO: error: Your intltool is too old.  You need intltool 0.21 or later." >&5
4105 $as_echo "$as_me: error: Your intltool is too old.  You need intltool 0.21 or later." >&2;}
4106    { (exit 1); exit 1; }; }
4107 fi
4108
4109 # Extract the first word of "intltool-update", so it can be a program name with args.
4110 set dummy intltool-update; ac_word=$2
4111 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4112 $as_echo_n "checking for $ac_word... " >&6; }
4113 if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then
4114   $as_echo_n "(cached) " >&6
4115 else
4116   case $INTLTOOL_UPDATE in
4117   [\\/]* | ?:[\\/]*)
4118   ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
4119   ;;
4120   *)
4121   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4122 for as_dir in $PATH
4123 do
4124   IFS=$as_save_IFS
4125   test -z "$as_dir" && as_dir=.
4126   for ac_exec_ext in '' $ac_executable_extensions; do
4127   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4128     ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
4129     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4130     break 2
4131   fi
4132 done
4133 done
4134 IFS=$as_save_IFS
4135
4136   ;;
4137 esac
4138 fi
4139 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
4140 if test -n "$INTLTOOL_UPDATE"; then
4141   { $as_echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5
4142 $as_echo "$INTLTOOL_UPDATE" >&6; }
4143 else
4144   { $as_echo "$as_me:$LINENO: result: no" >&5
4145 $as_echo "no" >&6; }
4146 fi
4147
4148
4149 # Extract the first word of "intltool-merge", so it can be a program name with args.
4150 set dummy intltool-merge; ac_word=$2
4151 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4152 $as_echo_n "checking for $ac_word... " >&6; }
4153 if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then
4154   $as_echo_n "(cached) " >&6
4155 else
4156   case $INTLTOOL_MERGE in
4157   [\\/]* | ?:[\\/]*)
4158   ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
4159   ;;
4160   *)
4161   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4162 for as_dir in $PATH
4163 do
4164   IFS=$as_save_IFS
4165   test -z "$as_dir" && as_dir=.
4166   for ac_exec_ext in '' $ac_executable_extensions; do
4167   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4168     ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
4169     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4170     break 2
4171   fi
4172 done
4173 done
4174 IFS=$as_save_IFS
4175
4176   ;;
4177 esac
4178 fi
4179 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
4180 if test -n "$INTLTOOL_MERGE"; then
4181   { $as_echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5
4182 $as_echo "$INTLTOOL_MERGE" >&6; }
4183 else
4184   { $as_echo "$as_me:$LINENO: result: no" >&5
4185 $as_echo "no" >&6; }
4186 fi
4187
4188
4189 # Extract the first word of "intltool-extract", so it can be a program name with args.
4190 set dummy intltool-extract; ac_word=$2
4191 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4192 $as_echo_n "checking for $ac_word... " >&6; }
4193 if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then
4194   $as_echo_n "(cached) " >&6
4195 else
4196   case $INTLTOOL_EXTRACT in
4197   [\\/]* | ?:[\\/]*)
4198   ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
4199   ;;
4200   *)
4201   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4202 for as_dir in $PATH
4203 do
4204   IFS=$as_save_IFS
4205   test -z "$as_dir" && as_dir=.
4206   for ac_exec_ext in '' $ac_executable_extensions; do
4207   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4208     ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
4209     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4210     break 2
4211   fi
4212 done
4213 done
4214 IFS=$as_save_IFS
4215
4216   ;;
4217 esac
4218 fi
4219 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
4220 if test -n "$INTLTOOL_EXTRACT"; then
4221   { $as_echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5
4222 $as_echo "$INTLTOOL_EXTRACT" >&6; }
4223 else
4224   { $as_echo "$as_me:$LINENO: result: no" >&5
4225 $as_echo "no" >&6; }
4226 fi
4227
4228
4229 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
4230     { { $as_echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5
4231 $as_echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;}
4232    { (exit 1); exit 1; }; }
4233 fi
4234
4235   INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4236 INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4237      INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4238      INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4239       INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
4240      INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4241    INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4242     INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4243 INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4244        INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4245       INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4246       INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
4247       INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4248       INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4249     INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4250   INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4251     INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4252     INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4253    INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351 # Check the gettext tools to make sure they are GNU
4352 # Extract the first word of "xgettext", so it can be a program name with args.
4353 set dummy xgettext; ac_word=$2
4354 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4355 $as_echo_n "checking for $ac_word... " >&6; }
4356 if test "${ac_cv_path_XGETTEXT+set}" = set; then
4357   $as_echo_n "(cached) " >&6
4358 else
4359   case $XGETTEXT in
4360   [\\/]* | ?:[\\/]*)
4361   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4362   ;;
4363   *)
4364   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4365 for as_dir in $PATH
4366 do
4367   IFS=$as_save_IFS
4368   test -z "$as_dir" && as_dir=.
4369   for ac_exec_ext in '' $ac_executable_extensions; do
4370   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4371     ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4372     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4373     break 2
4374   fi
4375 done
4376 done
4377 IFS=$as_save_IFS
4378
4379   ;;
4380 esac
4381 fi
4382 XGETTEXT=$ac_cv_path_XGETTEXT
4383 if test -n "$XGETTEXT"; then
4384   { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
4385 $as_echo "$XGETTEXT" >&6; }
4386 else
4387   { $as_echo "$as_me:$LINENO: result: no" >&5
4388 $as_echo "no" >&6; }
4389 fi
4390
4391
4392 # Extract the first word of "msgmerge", so it can be a program name with args.
4393 set dummy msgmerge; ac_word=$2
4394 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4395 $as_echo_n "checking for $ac_word... " >&6; }
4396 if test "${ac_cv_path_MSGMERGE+set}" = set; then
4397   $as_echo_n "(cached) " >&6
4398 else
4399   case $MSGMERGE in
4400   [\\/]* | ?:[\\/]*)
4401   ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4402   ;;
4403   *)
4404   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4405 for as_dir in $PATH
4406 do
4407   IFS=$as_save_IFS
4408   test -z "$as_dir" && as_dir=.
4409   for ac_exec_ext in '' $ac_executable_extensions; do
4410   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4411     ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
4412     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4413     break 2
4414   fi
4415 done
4416 done
4417 IFS=$as_save_IFS
4418
4419   ;;
4420 esac
4421 fi
4422 MSGMERGE=$ac_cv_path_MSGMERGE
4423 if test -n "$MSGMERGE"; then
4424   { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
4425 $as_echo "$MSGMERGE" >&6; }
4426 else
4427   { $as_echo "$as_me:$LINENO: result: no" >&5
4428 $as_echo "no" >&6; }
4429 fi
4430
4431
4432 # Extract the first word of "msgfmt", so it can be a program name with args.
4433 set dummy msgfmt; ac_word=$2
4434 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4435 $as_echo_n "checking for $ac_word... " >&6; }
4436 if test "${ac_cv_path_MSGFMT+set}" = set; then
4437   $as_echo_n "(cached) " >&6
4438 else
4439   case $MSGFMT in
4440   [\\/]* | ?:[\\/]*)
4441   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4442   ;;
4443   *)
4444   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4445 for as_dir in $PATH
4446 do
4447   IFS=$as_save_IFS
4448   test -z "$as_dir" && as_dir=.
4449   for ac_exec_ext in '' $ac_executable_extensions; do
4450   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4451     ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4452     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4453     break 2
4454   fi
4455 done
4456 done
4457 IFS=$as_save_IFS
4458
4459   ;;
4460 esac
4461 fi
4462 MSGFMT=$ac_cv_path_MSGFMT
4463 if test -n "$MSGFMT"; then
4464   { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
4465 $as_echo "$MSGFMT" >&6; }
4466 else
4467   { $as_echo "$as_me:$LINENO: result: no" >&5
4468 $as_echo "no" >&6; }
4469 fi
4470
4471
4472 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4473 set dummy gmsgfmt; ac_word=$2
4474 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4475 $as_echo_n "checking for $ac_word... " >&6; }
4476 if test "${ac_cv_path_GMSGFMT+set}" = set; then
4477   $as_echo_n "(cached) " >&6
4478 else
4479   case $GMSGFMT in
4480   [\\/]* | ?:[\\/]*)
4481   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4482   ;;
4483   *)
4484   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4485 for as_dir in $PATH
4486 do
4487   IFS=$as_save_IFS
4488   test -z "$as_dir" && as_dir=.
4489   for ac_exec_ext in '' $ac_executable_extensions; do
4490   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4491     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4492     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4493     break 2
4494   fi
4495 done
4496 done
4497 IFS=$as_save_IFS
4498
4499   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4500   ;;
4501 esac
4502 fi
4503 GMSGFMT=$ac_cv_path_GMSGFMT
4504 if test -n "$GMSGFMT"; then
4505   { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
4506 $as_echo "$GMSGFMT" >&6; }
4507 else
4508   { $as_echo "$as_me:$LINENO: result: no" >&5
4509 $as_echo "no" >&6; }
4510 fi
4511
4512
4513 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
4514     { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
4515 $as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
4516    { (exit 1); exit 1; }; }
4517 fi
4518 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4519 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4520 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4521 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
4522     { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
4523 $as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
4524    { (exit 1); exit 1; }; }
4525 fi
4526
4527 # Extract the first word of "perl", so it can be a program name with args.
4528 set dummy perl; ac_word=$2
4529 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4530 $as_echo_n "checking for $ac_word... " >&6; }
4531 if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
4532   $as_echo_n "(cached) " >&6
4533 else
4534   case $INTLTOOL_PERL in
4535   [\\/]* | ?:[\\/]*)
4536   ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
4537   ;;
4538   *)
4539   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4540 for as_dir in $PATH
4541 do
4542   IFS=$as_save_IFS
4543   test -z "$as_dir" && as_dir=.
4544   for ac_exec_ext in '' $ac_executable_extensions; do
4545   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4546     ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
4547     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4548     break 2
4549   fi
4550 done
4551 done
4552 IFS=$as_save_IFS
4553
4554   ;;
4555 esac
4556 fi
4557 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
4558 if test -n "$INTLTOOL_PERL"; then
4559   { $as_echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
4560 $as_echo "$INTLTOOL_PERL" >&6; }
4561 else
4562   { $as_echo "$as_me:$LINENO: result: no" >&5
4563 $as_echo "no" >&6; }
4564 fi
4565
4566
4567 if test -z "$INTLTOOL_PERL"; then
4568    { { $as_echo "$as_me:$LINENO: error: perl not found" >&5
4569 $as_echo "$as_me: error: perl not found" >&2;}
4570    { (exit 1); exit 1; }; }
4571 fi
4572 { $as_echo "$as_me:$LINENO: checking for perl >= 5.8.1" >&5
4573 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
4574 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4575 if test $? -ne 0; then
4576    { { $as_echo "$as_me:$LINENO: error: perl 5.8.1 is required for intltool" >&5
4577 $as_echo "$as_me: error: perl 5.8.1 is required for intltool" >&2;}
4578    { (exit 1); exit 1; }; }
4579 else
4580    IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
4581    { $as_echo "$as_me:$LINENO: result: $IT_PERL_VERSION" >&5
4582 $as_echo "$IT_PERL_VERSION" >&6; }
4583 fi
4584 if test "x" != "xno-xml"; then
4585    { $as_echo "$as_me:$LINENO: checking for XML::Parser" >&5
4586 $as_echo_n "checking for XML::Parser... " >&6; }
4587    if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4588        { $as_echo "$as_me:$LINENO: result: ok" >&5
4589 $as_echo "ok" >&6; }
4590    else
4591        { { $as_echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
4592 $as_echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
4593    { (exit 1); exit 1; }; }
4594    fi
4595 fi
4596
4597 # Substitute ALL_LINGUAS so we can use it in po/Makefile
4598
4599
4600 # Set DATADIRNAME correctly if it is not set yet
4601 # (copied from glib-gettext.m4)
4602 if test -z "$DATADIRNAME"; then
4603   cat >conftest.$ac_ext <<_ACEOF
4604 /* confdefs.h.  */
4605 _ACEOF
4606 cat confdefs.h >>conftest.$ac_ext
4607 cat >>conftest.$ac_ext <<_ACEOF
4608 /* end confdefs.h.  */
4609
4610 int
4611 main ()
4612 {
4613 extern int _nl_msg_cat_cntr;
4614                        return _nl_msg_cat_cntr
4615   ;
4616   return 0;
4617 }
4618 _ACEOF
4619 rm -f conftest.$ac_objext conftest$ac_exeext
4620 if { (ac_try="$ac_link"
4621 case "(($ac_try" in
4622   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4623   *) ac_try_echo=$ac_try;;
4624 esac
4625 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4626 $as_echo "$ac_try_echo") >&5
4627   (eval "$ac_link") 2>conftest.er1
4628   ac_status=$?
4629   grep -v '^ *+' conftest.er1 >conftest.err
4630   rm -f conftest.er1
4631   cat conftest.err >&5
4632   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4633   (exit $ac_status); } && {
4634          test -z "$ac_c_werror_flag" ||
4635          test ! -s conftest.err
4636        } && test -s conftest$ac_exeext && {
4637          test "$cross_compiling" = yes ||
4638          $as_test_x conftest$ac_exeext
4639        }; then
4640   DATADIRNAME=share
4641 else
4642   $as_echo "$as_me: failed program was:" >&5
4643 sed 's/^/| /' conftest.$ac_ext >&5
4644
4645         case $host in
4646     *-*-solaris*)
4647                         { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
4648 $as_echo_n "checking for bind_textdomain_codeset... " >&6; }
4649 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
4650   $as_echo_n "(cached) " >&6
4651 else
4652   cat >conftest.$ac_ext <<_ACEOF
4653 /* confdefs.h.  */
4654 _ACEOF
4655 cat confdefs.h >>conftest.$ac_ext
4656 cat >>conftest.$ac_ext <<_ACEOF
4657 /* end confdefs.h.  */
4658 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
4659    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4660 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
4661
4662 /* System header to define __stub macros and hopefully few prototypes,
4663     which can conflict with char bind_textdomain_codeset (); below.
4664     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4665     <limits.h> exists even on freestanding compilers.  */
4666
4667 #ifdef __STDC__
4668 # include <limits.h>
4669 #else
4670 # include <assert.h>
4671 #endif
4672
4673 #undef bind_textdomain_codeset
4674
4675 /* Override any GCC internal prototype to avoid an error.
4676    Use char because int might match the return type of a GCC
4677    builtin and then its argument prototype would still apply.  */
4678 #ifdef __cplusplus
4679 extern "C"
4680 #endif
4681 char bind_textdomain_codeset ();
4682 /* The GNU C library defines this for functions which it implements
4683     to always fail with ENOSYS.  Some functions are actually named
4684     something starting with __ and the normal name is an alias.  */
4685 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
4686 choke me
4687 #endif
4688
4689 int
4690 main ()
4691 {
4692 return bind_textdomain_codeset ();
4693   ;
4694   return 0;
4695 }
4696 _ACEOF
4697 rm -f conftest.$ac_objext conftest$ac_exeext
4698 if { (ac_try="$ac_link"
4699 case "(($ac_try" in
4700   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4701   *) ac_try_echo=$ac_try;;
4702 esac
4703 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4704 $as_echo "$ac_try_echo") >&5
4705   (eval "$ac_link") 2>conftest.er1
4706   ac_status=$?
4707   grep -v '^ *+' conftest.er1 >conftest.err
4708   rm -f conftest.er1
4709   cat conftest.err >&5
4710   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4711   (exit $ac_status); } && {
4712          test -z "$ac_c_werror_flag" ||
4713          test ! -s conftest.err
4714        } && test -s conftest$ac_exeext && {
4715          test "$cross_compiling" = yes ||
4716          $as_test_x conftest$ac_exeext
4717        }; then
4718   ac_cv_func_bind_textdomain_codeset=yes
4719 else
4720   $as_echo "$as_me: failed program was:" >&5
4721 sed 's/^/| /' conftest.$ac_ext >&5
4722
4723         ac_cv_func_bind_textdomain_codeset=no
4724 fi
4725
4726 rm -rf conftest.dSYM
4727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4728       conftest$ac_exeext conftest.$ac_ext
4729 fi
4730 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
4731 $as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
4732 if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
4733   DATADIRNAME=share
4734 else
4735   DATADIRNAME=lib
4736 fi
4737
4738     ;;
4739     *)
4740     DATADIRNAME=lib
4741     ;;
4742     esac
4743 fi
4744
4745 rm -rf conftest.dSYM
4746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4747       conftest$ac_exeext conftest.$ac_ext
4748 fi
4749
4750
4751
4752
4753
4754
4755
4756 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4757         if test -n "$ac_tool_prefix"; then
4758   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4759 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4760 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4761 $as_echo_n "checking for $ac_word... " >&6; }
4762 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
4763   $as_echo_n "(cached) " >&6
4764 else
4765   case $PKG_CONFIG in
4766   [\\/]* | ?:[\\/]*)
4767   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4768   ;;
4769   *)
4770   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4771 for as_dir in $PATH
4772 do
4773   IFS=$as_save_IFS
4774   test -z "$as_dir" && as_dir=.
4775   for ac_exec_ext in '' $ac_executable_extensions; do
4776   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4777     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4778     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4779     break 2
4780   fi
4781 done
4782 done
4783 IFS=$as_save_IFS
4784
4785   ;;
4786 esac
4787 fi
4788 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4789 if test -n "$PKG_CONFIG"; then
4790   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
4791 $as_echo "$PKG_CONFIG" >&6; }
4792 else
4793   { $as_echo "$as_me:$LINENO: result: no" >&5
4794 $as_echo "no" >&6; }
4795 fi
4796
4797
4798 fi
4799 if test -z "$ac_cv_path_PKG_CONFIG"; then
4800   ac_pt_PKG_CONFIG=$PKG_CONFIG
4801   # Extract the first word of "pkg-config", so it can be a program name with args.
4802 set dummy pkg-config; ac_word=$2
4803 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4804 $as_echo_n "checking for $ac_word... " >&6; }
4805 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
4806   $as_echo_n "(cached) " >&6
4807 else
4808   case $ac_pt_PKG_CONFIG in
4809   [\\/]* | ?:[\\/]*)
4810   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4811   ;;
4812   *)
4813   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4814 for as_dir in $PATH
4815 do
4816   IFS=$as_save_IFS
4817   test -z "$as_dir" && as_dir=.
4818   for ac_exec_ext in '' $ac_executable_extensions; do
4819   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4820     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4821     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4822     break 2
4823   fi
4824 done
4825 done
4826 IFS=$as_save_IFS
4827
4828   ;;
4829 esac
4830 fi
4831 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4832 if test -n "$ac_pt_PKG_CONFIG"; then
4833   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
4834 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4835 else
4836   { $as_echo "$as_me:$LINENO: result: no" >&5
4837 $as_echo "no" >&6; }
4838 fi
4839
4840   if test "x$ac_pt_PKG_CONFIG" = x; then
4841     PKG_CONFIG=""
4842   else
4843     case $cross_compiling:$ac_tool_warned in
4844 yes:)
4845 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4847 ac_tool_warned=yes ;;
4848 esac
4849     PKG_CONFIG=$ac_pt_PKG_CONFIG
4850   fi
4851 else
4852   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4853 fi
4854
4855 fi
4856 if test -n "$PKG_CONFIG"; then
4857         _pkg_min_version=0.9.0
4858         { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
4859 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4860         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4861                 { $as_echo "$as_me:$LINENO: result: yes" >&5
4862 $as_echo "yes" >&6; }
4863         else
4864                 { $as_echo "$as_me:$LINENO: result: no" >&5
4865 $as_echo "no" >&6; }
4866                 PKG_CONFIG=""
4867         fi
4868
4869 fi
4870
4871 case `pwd` in
4872   *\ * | *\     *)
4873     { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4874 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4875 esac
4876
4877
4878
4879 macro_version='2.2.6b'
4880 macro_revision='1.3017'
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894 ltmain="$ac_aux_dir/ltmain.sh"
4895
4896 # Make sure we can run config.sub.
4897 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4898   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4899 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4900    { (exit 1); exit 1; }; }
4901
4902 { $as_echo "$as_me:$LINENO: checking build system type" >&5
4903 $as_echo_n "checking build system type... " >&6; }
4904 if test "${ac_cv_build+set}" = set; then
4905   $as_echo_n "(cached) " >&6
4906 else
4907   ac_build_alias=$build_alias
4908 test "x$ac_build_alias" = x &&
4909   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4910 test "x$ac_build_alias" = x &&
4911   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4912 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4913    { (exit 1); exit 1; }; }
4914 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4915   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4916 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4917    { (exit 1); exit 1; }; }
4918
4919 fi
4920 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4921 $as_echo "$ac_cv_build" >&6; }
4922 case $ac_cv_build in
4923 *-*-*) ;;
4924 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4925 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
4926    { (exit 1); exit 1; }; };;
4927 esac
4928 build=$ac_cv_build
4929 ac_save_IFS=$IFS; IFS='-'
4930 set x $ac_cv_build
4931 shift
4932 build_cpu=$1
4933 build_vendor=$2
4934 shift; shift
4935 # Remember, the first character of IFS is used to create $*,
4936 # except with old shells:
4937 build_os=$*
4938 IFS=$ac_save_IFS
4939 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4940
4941
4942 { $as_echo "$as_me:$LINENO: checking host system type" >&5
4943 $as_echo_n "checking host system type... " >&6; }
4944 if test "${ac_cv_host+set}" = set; then
4945   $as_echo_n "(cached) " >&6
4946 else
4947   if test "x$host_alias" = x; then
4948   ac_cv_host=$ac_cv_build
4949 else
4950   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4951     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4952 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4953    { (exit 1); exit 1; }; }
4954 fi
4955
4956 fi
4957 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4958 $as_echo "$ac_cv_host" >&6; }
4959 case $ac_cv_host in
4960 *-*-*) ;;
4961 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4962 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
4963    { (exit 1); exit 1; }; };;
4964 esac
4965 host=$ac_cv_host
4966 ac_save_IFS=$IFS; IFS='-'
4967 set x $ac_cv_host
4968 shift
4969 host_cpu=$1
4970 host_vendor=$2
4971 shift; shift
4972 # Remember, the first character of IFS is used to create $*,
4973 # except with old shells:
4974 host_os=$*
4975 IFS=$ac_save_IFS
4976 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4977
4978
4979 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4980 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4981 if test "${ac_cv_path_SED+set}" = set; then
4982   $as_echo_n "(cached) " >&6
4983 else
4984             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4985      for ac_i in 1 2 3 4 5 6 7; do
4986        ac_script="$ac_script$as_nl$ac_script"
4987      done
4988      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4989      $as_unset ac_script || ac_script=
4990      if test -z "$SED"; then
4991   ac_path_SED_found=false
4992   # Loop through the user's path and test for each of PROGNAME-LIST
4993   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4994 for as_dir in $PATH
4995 do
4996   IFS=$as_save_IFS
4997   test -z "$as_dir" && as_dir=.
4998   for ac_prog in sed gsed; do
4999     for ac_exec_ext in '' $ac_executable_extensions; do
5000       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5001       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5002 # Check for GNU ac_path_SED and select it if it is found.
5003   # Check for GNU $ac_path_SED
5004 case `"$ac_path_SED" --version 2>&1` in
5005 *GNU*)
5006   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5007 *)
5008   ac_count=0
5009   $as_echo_n 0123456789 >"conftest.in"
5010   while :
5011   do
5012     cat "conftest.in" "conftest.in" >"conftest.tmp"
5013     mv "conftest.tmp" "conftest.in"
5014     cp "conftest.in" "conftest.nl"
5015     $as_echo '' >> "conftest.nl"
5016     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5017     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5018     ac_count=`expr $ac_count + 1`
5019     if test $ac_count -gt ${ac_path_SED_max-0}; then
5020       # Best one so far, save it but keep looking for a better one
5021       ac_cv_path_SED="$ac_path_SED"
5022       ac_path_SED_max=$ac_count
5023     fi
5024     # 10*(2^10) chars as input seems more than enough
5025     test $ac_count -gt 10 && break
5026   done
5027   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5028 esac
5029
5030       $ac_path_SED_found && break 3
5031     done
5032   done
5033 done
5034 IFS=$as_save_IFS
5035   if test -z "$ac_cv_path_SED"; then
5036     { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
5037 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
5038    { (exit 1); exit 1; }; }
5039   fi
5040 else
5041   ac_cv_path_SED=$SED
5042 fi
5043
5044 fi
5045 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
5046 $as_echo "$ac_cv_path_SED" >&6; }
5047  SED="$ac_cv_path_SED"
5048   rm -f conftest.sed
5049
5050 test -z "$SED" && SED=sed
5051 Xsed="$SED -e 1s/^X//"
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5064 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5065 if test "${ac_cv_path_GREP+set}" = set; then
5066   $as_echo_n "(cached) " >&6
5067 else
5068   if test -z "$GREP"; then
5069   ac_path_GREP_found=false
5070   # Loop through the user's path and test for each of PROGNAME-LIST
5071   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5072 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5073 do
5074   IFS=$as_save_IFS
5075   test -z "$as_dir" && as_dir=.
5076   for ac_prog in grep ggrep; do
5077     for ac_exec_ext in '' $ac_executable_extensions; do
5078       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5079       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5080 # Check for GNU ac_path_GREP and select it if it is found.
5081   # Check for GNU $ac_path_GREP
5082 case `"$ac_path_GREP" --version 2>&1` in
5083 *GNU*)
5084   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5085 *)
5086   ac_count=0
5087   $as_echo_n 0123456789 >"conftest.in"
5088   while :
5089   do
5090     cat "conftest.in" "conftest.in" >"conftest.tmp"
5091     mv "conftest.tmp" "conftest.in"
5092     cp "conftest.in" "conftest.nl"
5093     $as_echo 'GREP' >> "conftest.nl"
5094     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5095     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5096     ac_count=`expr $ac_count + 1`
5097     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5098       # Best one so far, save it but keep looking for a better one
5099       ac_cv_path_GREP="$ac_path_GREP"
5100       ac_path_GREP_max=$ac_count
5101     fi
5102     # 10*(2^10) chars as input seems more than enough
5103     test $ac_count -gt 10 && break
5104   done
5105   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5106 esac
5107
5108       $ac_path_GREP_found && break 3
5109     done
5110   done
5111 done
5112 IFS=$as_save_IFS
5113   if test -z "$ac_cv_path_GREP"; then
5114     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5115 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5116    { (exit 1); exit 1; }; }
5117   fi
5118 else
5119   ac_cv_path_GREP=$GREP
5120 fi
5121
5122 fi
5123 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5124 $as_echo "$ac_cv_path_GREP" >&6; }
5125  GREP="$ac_cv_path_GREP"
5126
5127
5128 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
5129 $as_echo_n "checking for egrep... " >&6; }
5130 if test "${ac_cv_path_EGREP+set}" = set; then
5131   $as_echo_n "(cached) " >&6
5132 else
5133   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5134    then ac_cv_path_EGREP="$GREP -E"
5135    else
5136      if test -z "$EGREP"; then
5137   ac_path_EGREP_found=false
5138   # Loop through the user's path and test for each of PROGNAME-LIST
5139   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5140 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5141 do
5142   IFS=$as_save_IFS
5143   test -z "$as_dir" && as_dir=.
5144   for ac_prog in egrep; do
5145     for ac_exec_ext in '' $ac_executable_extensions; do
5146       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5147       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5148 # Check for GNU ac_path_EGREP and select it if it is found.
5149   # Check for GNU $ac_path_EGREP
5150 case `"$ac_path_EGREP" --version 2>&1` in
5151 *GNU*)
5152   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5153 *)
5154   ac_count=0
5155   $as_echo_n 0123456789 >"conftest.in"
5156   while :
5157   do
5158     cat "conftest.in" "conftest.in" >"conftest.tmp"
5159     mv "conftest.tmp" "conftest.in"
5160     cp "conftest.in" "conftest.nl"
5161     $as_echo 'EGREP' >> "conftest.nl"
5162     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5163     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5164     ac_count=`expr $ac_count + 1`
5165     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5166       # Best one so far, save it but keep looking for a better one
5167       ac_cv_path_EGREP="$ac_path_EGREP"
5168       ac_path_EGREP_max=$ac_count
5169     fi
5170     # 10*(2^10) chars as input seems more than enough
5171     test $ac_count -gt 10 && break
5172   done
5173   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5174 esac
5175
5176       $ac_path_EGREP_found && break 3
5177     done
5178   done
5179 done
5180 IFS=$as_save_IFS
5181   if test -z "$ac_cv_path_EGREP"; then
5182     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5183 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5184    { (exit 1); exit 1; }; }
5185   fi
5186 else
5187   ac_cv_path_EGREP=$EGREP
5188 fi
5189
5190    fi
5191 fi
5192 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5193 $as_echo "$ac_cv_path_EGREP" >&6; }
5194  EGREP="$ac_cv_path_EGREP"
5195
5196
5197 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
5198 $as_echo_n "checking for fgrep... " >&6; }
5199 if test "${ac_cv_path_FGREP+set}" = set; then
5200   $as_echo_n "(cached) " >&6
5201 else
5202   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5203    then ac_cv_path_FGREP="$GREP -F"
5204    else
5205      if test -z "$FGREP"; then
5206   ac_path_FGREP_found=false
5207   # Loop through the user's path and test for each of PROGNAME-LIST
5208   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5209 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5210 do
5211   IFS=$as_save_IFS
5212   test -z "$as_dir" && as_dir=.
5213   for ac_prog in fgrep; do
5214     for ac_exec_ext in '' $ac_executable_extensions; do
5215       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5216       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5217 # Check for GNU ac_path_FGREP and select it if it is found.
5218   # Check for GNU $ac_path_FGREP
5219 case `"$ac_path_FGREP" --version 2>&1` in
5220 *GNU*)
5221   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5222 *)
5223   ac_count=0
5224   $as_echo_n 0123456789 >"conftest.in"
5225   while :
5226   do
5227     cat "conftest.in" "conftest.in" >"conftest.tmp"
5228     mv "conftest.tmp" "conftest.in"
5229     cp "conftest.in" "conftest.nl"
5230     $as_echo 'FGREP' >> "conftest.nl"
5231     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5232     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5233     ac_count=`expr $ac_count + 1`
5234     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5235       # Best one so far, save it but keep looking for a better one
5236       ac_cv_path_FGREP="$ac_path_FGREP"
5237       ac_path_FGREP_max=$ac_count
5238     fi
5239     # 10*(2^10) chars as input seems more than enough
5240     test $ac_count -gt 10 && break
5241   done
5242   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5243 esac
5244
5245       $ac_path_FGREP_found && break 3
5246     done
5247   done
5248 done
5249 IFS=$as_save_IFS
5250   if test -z "$ac_cv_path_FGREP"; then
5251     { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5252 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5253    { (exit 1); exit 1; }; }
5254   fi
5255 else
5256   ac_cv_path_FGREP=$FGREP
5257 fi
5258
5259    fi
5260 fi
5261 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
5262 $as_echo "$ac_cv_path_FGREP" >&6; }
5263  FGREP="$ac_cv_path_FGREP"
5264
5265
5266 test -z "$GREP" && GREP=grep
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286 # Check whether --with-gnu-ld was given.
5287 if test "${with_gnu_ld+set}" = set; then
5288   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5289 else
5290   with_gnu_ld=no
5291 fi
5292
5293 ac_prog=ld
5294 if test "$GCC" = yes; then
5295   # Check if gcc -print-prog-name=ld gives a path.
5296   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5297 $as_echo_n "checking for ld used by $CC... " >&6; }
5298   case $host in
5299   *-*-mingw*)
5300     # gcc leaves a trailing carriage return which upsets mingw
5301     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5302   *)
5303     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5304   esac
5305   case $ac_prog in
5306     # Accept absolute paths.
5307     [\\/]* | ?:[\\/]*)
5308       re_direlt='/[^/][^/]*/\.\./'
5309       # Canonicalize the pathname of ld
5310       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5311       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5312         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5313       done
5314       test -z "$LD" && LD="$ac_prog"
5315       ;;
5316   "")
5317     # If it fails, then pretend we aren't using GCC.
5318     ac_prog=ld
5319     ;;
5320   *)
5321     # If it is relative, then search for the first ld in PATH.
5322     with_gnu_ld=unknown
5323     ;;
5324   esac
5325 elif test "$with_gnu_ld" = yes; then
5326   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
5327 $as_echo_n "checking for GNU ld... " >&6; }
5328 else
5329   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5330 $as_echo_n "checking for non-GNU ld... " >&6; }
5331 fi
5332 if test "${lt_cv_path_LD+set}" = set; then
5333   $as_echo_n "(cached) " >&6
5334 else
5335   if test -z "$LD"; then
5336   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5337   for ac_dir in $PATH; do
5338     IFS="$lt_save_ifs"
5339     test -z "$ac_dir" && ac_dir=.
5340     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5341       lt_cv_path_LD="$ac_dir/$ac_prog"
5342       # Check to see if the program is GNU ld.  I'd rather use --version,
5343       # but apparently some variants of GNU ld only accept -v.
5344       # Break only if it was the GNU/non-GNU ld that we prefer.
5345       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5346       *GNU* | *'with BFD'*)
5347         test "$with_gnu_ld" != no && break
5348         ;;
5349       *)
5350         test "$with_gnu_ld" != yes && break
5351         ;;
5352       esac
5353     fi
5354   done
5355   IFS="$lt_save_ifs"
5356 else
5357   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5358 fi
5359 fi
5360
5361 LD="$lt_cv_path_LD"
5362 if test -n "$LD"; then
5363   { $as_echo "$as_me:$LINENO: result: $LD" >&5
5364 $as_echo "$LD" >&6; }
5365 else
5366   { $as_echo "$as_me:$LINENO: result: no" >&5
5367 $as_echo "no" >&6; }
5368 fi
5369 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5370 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5371    { (exit 1); exit 1; }; }
5372 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5373 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5374 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5375   $as_echo_n "(cached) " >&6
5376 else
5377   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5378 case `$LD -v 2>&1 </dev/null` in
5379 *GNU* | *'with BFD'*)
5380   lt_cv_prog_gnu_ld=yes
5381   ;;
5382 *)
5383   lt_cv_prog_gnu_ld=no
5384   ;;
5385 esac
5386 fi
5387 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5388 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5389 with_gnu_ld=$lt_cv_prog_gnu_ld
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5400 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5401 if test "${lt_cv_path_NM+set}" = set; then
5402   $as_echo_n "(cached) " >&6
5403 else
5404   if test -n "$NM"; then
5405   # Let the user override the test.
5406   lt_cv_path_NM="$NM"
5407 else
5408   lt_nm_to_check="${ac_tool_prefix}nm"
5409   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5410     lt_nm_to_check="$lt_nm_to_check nm"
5411   fi
5412   for lt_tmp_nm in $lt_nm_to_check; do
5413     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5414     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5415       IFS="$lt_save_ifs"
5416       test -z "$ac_dir" && ac_dir=.
5417       tmp_nm="$ac_dir/$lt_tmp_nm"
5418       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5419         # Check to see if the nm accepts a BSD-compat flag.
5420         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5421         #   nm: unknown option "B" ignored
5422         # Tru64's nm complains that /dev/null is an invalid object file
5423         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5424         */dev/null* | *'Invalid file or object type'*)
5425           lt_cv_path_NM="$tmp_nm -B"
5426           break
5427           ;;
5428         *)
5429           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5430           */dev/null*)
5431             lt_cv_path_NM="$tmp_nm -p"
5432             break
5433             ;;
5434           *)
5435             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5436             continue # so that we can try to find one that supports BSD flags
5437             ;;
5438           esac
5439           ;;
5440         esac
5441       fi
5442     done
5443     IFS="$lt_save_ifs"
5444   done
5445   : ${lt_cv_path_NM=no}
5446 fi
5447 fi
5448 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5449 $as_echo "$lt_cv_path_NM" >&6; }
5450 if test "$lt_cv_path_NM" != "no"; then
5451   NM="$lt_cv_path_NM"
5452 else
5453   # Didn't find any BSD compatible name lister, look for dumpbin.
5454   if test -n "$ac_tool_prefix"; then
5455   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5456   do
5457     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5458 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5459 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5460 $as_echo_n "checking for $ac_word... " >&6; }
5461 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5462   $as_echo_n "(cached) " >&6
5463 else
5464   if test -n "$DUMPBIN"; then
5465   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5466 else
5467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5468 for as_dir in $PATH
5469 do
5470   IFS=$as_save_IFS
5471   test -z "$as_dir" && as_dir=.
5472   for ac_exec_ext in '' $ac_executable_extensions; do
5473   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5474     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5475     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5476     break 2
5477   fi
5478 done
5479 done
5480 IFS=$as_save_IFS
5481
5482 fi
5483 fi
5484 DUMPBIN=$ac_cv_prog_DUMPBIN
5485 if test -n "$DUMPBIN"; then
5486   { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5487 $as_echo "$DUMPBIN" >&6; }
5488 else
5489   { $as_echo "$as_me:$LINENO: result: no" >&5
5490 $as_echo "no" >&6; }
5491 fi
5492
5493
5494     test -n "$DUMPBIN" && break
5495   done
5496 fi
5497 if test -z "$DUMPBIN"; then
5498   ac_ct_DUMPBIN=$DUMPBIN
5499   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5500 do
5501   # Extract the first word of "$ac_prog", so it can be a program name with args.
5502 set dummy $ac_prog; ac_word=$2
5503 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5504 $as_echo_n "checking for $ac_word... " >&6; }
5505 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5506   $as_echo_n "(cached) " >&6
5507 else
5508   if test -n "$ac_ct_DUMPBIN"; then
5509   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5510 else
5511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5512 for as_dir in $PATH
5513 do
5514   IFS=$as_save_IFS
5515   test -z "$as_dir" && as_dir=.
5516   for ac_exec_ext in '' $ac_executable_extensions; do
5517   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5518     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5519     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5520     break 2
5521   fi
5522 done
5523 done
5524 IFS=$as_save_IFS
5525
5526 fi
5527 fi
5528 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5529 if test -n "$ac_ct_DUMPBIN"; then
5530   { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5531 $as_echo "$ac_ct_DUMPBIN" >&6; }
5532 else
5533   { $as_echo "$as_me:$LINENO: result: no" >&5
5534 $as_echo "no" >&6; }
5535 fi
5536
5537
5538   test -n "$ac_ct_DUMPBIN" && break
5539 done
5540
5541   if test "x$ac_ct_DUMPBIN" = x; then
5542     DUMPBIN=":"
5543   else
5544     case $cross_compiling:$ac_tool_warned in
5545 yes:)
5546 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5547 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5548 ac_tool_warned=yes ;;
5549 esac
5550     DUMPBIN=$ac_ct_DUMPBIN
5551   fi
5552 fi
5553
5554
5555   if test "$DUMPBIN" != ":"; then
5556     NM="$DUMPBIN"
5557   fi
5558 fi
5559 test -z "$NM" && NM=nm
5560
5561
5562
5563
5564
5565
5566 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5567 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5568 if test "${lt_cv_nm_interface+set}" = set; then
5569   $as_echo_n "(cached) " >&6
5570 else
5571   lt_cv_nm_interface="BSD nm"
5572   echo "int some_variable = 0;" > conftest.$ac_ext
5573   (eval echo "\"\$as_me:5573: $ac_compile\"" >&5)
5574   (eval "$ac_compile" 2>conftest.err)
5575   cat conftest.err >&5
5576   (eval echo "\"\$as_me:5576: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5577   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5578   cat conftest.err >&5
5579   (eval echo "\"\$as_me:5579: output\"" >&5)
5580   cat conftest.out >&5
5581   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5582     lt_cv_nm_interface="MS dumpbin"
5583   fi
5584   rm -f conftest*
5585 fi
5586 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5587 $as_echo "$lt_cv_nm_interface" >&6; }
5588
5589 # find the maximum length of command line arguments
5590 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5591 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5592 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5593   $as_echo_n "(cached) " >&6
5594 else
5595     i=0
5596   teststring="ABCD"
5597
5598   case $build_os in
5599   msdosdjgpp*)
5600     # On DJGPP, this test can blow up pretty badly due to problems in libc
5601     # (any single argument exceeding 2000 bytes causes a buffer overrun
5602     # during glob expansion).  Even if it were fixed, the result of this
5603     # check would be larger than it should be.
5604     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5605     ;;
5606
5607   gnu*)
5608     # Under GNU Hurd, this test is not required because there is
5609     # no limit to the length of command line arguments.
5610     # Libtool will interpret -1 as no limit whatsoever
5611     lt_cv_sys_max_cmd_len=-1;
5612     ;;
5613
5614   cygwin* | mingw* | cegcc*)
5615     # On Win9x/ME, this test blows up -- it succeeds, but takes
5616     # about 5 minutes as the teststring grows exponentially.
5617     # Worse, since 9x/ME are not pre-emptively multitasking,
5618     # you end up with a "frozen" computer, even though with patience
5619     # the test eventually succeeds (with a max line length of 256k).
5620     # Instead, let's just punt: use the minimum linelength reported by
5621     # all of the supported platforms: 8192 (on NT/2K/XP).
5622     lt_cv_sys_max_cmd_len=8192;
5623     ;;
5624
5625   amigaos*)
5626     # On AmigaOS with pdksh, this test takes hours, literally.
5627     # So we just punt and use a minimum line length of 8192.
5628     lt_cv_sys_max_cmd_len=8192;
5629     ;;
5630
5631   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5632     # This has been around since 386BSD, at least.  Likely further.
5633     if test -x /sbin/sysctl; then
5634       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5635     elif test -x /usr/sbin/sysctl; then
5636       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5637     else
5638       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5639     fi
5640     # And add a safety zone
5641     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5642     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5643     ;;
5644
5645   interix*)
5646     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5647     lt_cv_sys_max_cmd_len=196608
5648     ;;
5649
5650   osf*)
5651     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5652     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5653     # nice to cause kernel panics so lets avoid the loop below.
5654     # First set a reasonable default.
5655     lt_cv_sys_max_cmd_len=16384
5656     #
5657     if test -x /sbin/sysconfig; then
5658       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5659         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5660       esac
5661     fi
5662     ;;
5663   sco3.2v5*)
5664     lt_cv_sys_max_cmd_len=102400
5665     ;;
5666   sysv5* | sco5v6* | sysv4.2uw2*)
5667     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5668     if test -n "$kargmax"; then
5669       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5670     else
5671       lt_cv_sys_max_cmd_len=32768
5672     fi
5673     ;;
5674   *)
5675     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5676     if test -n "$lt_cv_sys_max_cmd_len"; then
5677       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5678       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5679     else
5680       # Make teststring a little bigger before we do anything with it.
5681       # a 1K string should be a reasonable start.
5682       for i in 1 2 3 4 5 6 7 8 ; do
5683         teststring=$teststring$teststring
5684       done
5685       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5686       # If test is not a shell built-in, we'll probably end up computing a
5687       # maximum length that is only half of the actual maximum length, but
5688       # we can't tell.
5689       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5690                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5691               test $i != 17 # 1/2 MB should be enough
5692       do
5693         i=`expr $i + 1`
5694         teststring=$teststring$teststring
5695       done
5696       # Only check the string length outside the loop.
5697       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5698       teststring=
5699       # Add a significant safety factor because C++ compilers can tack on
5700       # massive amounts of additional arguments before passing them to the
5701       # linker.  It appears as though 1/2 is a usable value.
5702       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5703     fi
5704     ;;
5705   esac
5706
5707 fi
5708
5709 if test -n $lt_cv_sys_max_cmd_len ; then
5710   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5711 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5712 else
5713   { $as_echo "$as_me:$LINENO: result: none" >&5
5714 $as_echo "none" >&6; }
5715 fi
5716 max_cmd_len=$lt_cv_sys_max_cmd_len
5717
5718
5719
5720
5721
5722
5723 : ${CP="cp -f"}
5724 : ${MV="mv -f"}
5725 : ${RM="rm -f"}
5726
5727 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5728 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5729 # Try some XSI features
5730 xsi_shell=no
5731 ( _lt_dummy="a/b/c"
5732   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5733       = c,a/b,, \
5734     && eval 'test $(( 1 + 1 )) -eq 2 \
5735     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5736   && xsi_shell=yes
5737 { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
5738 $as_echo "$xsi_shell" >&6; }
5739
5740
5741 { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
5742 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5743 lt_shell_append=no
5744 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5745     >/dev/null 2>&1 \
5746   && lt_shell_append=yes
5747 { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
5748 $as_echo "$lt_shell_append" >&6; }
5749
5750
5751 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5752   lt_unset=unset
5753 else
5754   lt_unset=false
5755 fi
5756
5757
5758
5759
5760
5761 # test EBCDIC or ASCII
5762 case `echo X|tr X '\101'` in
5763  A) # ASCII based system
5764     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5765   lt_SP2NL='tr \040 \012'
5766   lt_NL2SP='tr \015\012 \040\040'
5767   ;;
5768  *) # EBCDIC based system
5769   lt_SP2NL='tr \100 \n'
5770   lt_NL2SP='tr \r\n \100\100'
5771   ;;
5772 esac
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5783 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5784 if test "${lt_cv_ld_reload_flag+set}" = set; then
5785   $as_echo_n "(cached) " >&6
5786 else
5787   lt_cv_ld_reload_flag='-r'
5788 fi
5789 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5790 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5791 reload_flag=$lt_cv_ld_reload_flag
5792 case $reload_flag in
5793 "" | " "*) ;;
5794 *) reload_flag=" $reload_flag" ;;
5795 esac
5796 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5797 case $host_os in
5798   darwin*)
5799     if test "$GCC" = yes; then
5800       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5801     else
5802       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5803     fi
5804     ;;
5805 esac
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815 if test -n "$ac_tool_prefix"; then
5816   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5817 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5818 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5819 $as_echo_n "checking for $ac_word... " >&6; }
5820 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5821   $as_echo_n "(cached) " >&6
5822 else
5823   if test -n "$OBJDUMP"; then
5824   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5825 else
5826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5827 for as_dir in $PATH
5828 do
5829   IFS=$as_save_IFS
5830   test -z "$as_dir" && as_dir=.
5831   for ac_exec_ext in '' $ac_executable_extensions; do
5832   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5833     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5834     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5835     break 2
5836   fi
5837 done
5838 done
5839 IFS=$as_save_IFS
5840
5841 fi
5842 fi
5843 OBJDUMP=$ac_cv_prog_OBJDUMP
5844 if test -n "$OBJDUMP"; then
5845   { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
5846 $as_echo "$OBJDUMP" >&6; }
5847 else
5848   { $as_echo "$as_me:$LINENO: result: no" >&5
5849 $as_echo "no" >&6; }
5850 fi
5851
5852
5853 fi
5854 if test -z "$ac_cv_prog_OBJDUMP"; then
5855   ac_ct_OBJDUMP=$OBJDUMP
5856   # Extract the first word of "objdump", so it can be a program name with args.
5857 set dummy objdump; ac_word=$2
5858 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5859 $as_echo_n "checking for $ac_word... " >&6; }
5860 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5861   $as_echo_n "(cached) " >&6
5862 else
5863   if test -n "$ac_ct_OBJDUMP"; then
5864   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5865 else
5866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5867 for as_dir in $PATH
5868 do
5869   IFS=$as_save_IFS
5870   test -z "$as_dir" && as_dir=.
5871   for ac_exec_ext in '' $ac_executable_extensions; do
5872   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5873     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5874     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5875     break 2
5876   fi
5877 done
5878 done
5879 IFS=$as_save_IFS
5880
5881 fi
5882 fi
5883 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5884 if test -n "$ac_ct_OBJDUMP"; then
5885   { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
5886 $as_echo "$ac_ct_OBJDUMP" >&6; }
5887 else
5888   { $as_echo "$as_me:$LINENO: result: no" >&5
5889 $as_echo "no" >&6; }
5890 fi
5891
5892   if test "x$ac_ct_OBJDUMP" = x; then
5893     OBJDUMP="false"
5894   else
5895     case $cross_compiling:$ac_tool_warned in
5896 yes:)
5897 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5899 ac_tool_warned=yes ;;
5900 esac
5901     OBJDUMP=$ac_ct_OBJDUMP
5902   fi
5903 else
5904   OBJDUMP="$ac_cv_prog_OBJDUMP"
5905 fi
5906
5907 test -z "$OBJDUMP" && OBJDUMP=objdump
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5918 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5919 if test "${lt_cv_deplibs_check_method+set}" = set; then
5920   $as_echo_n "(cached) " >&6
5921 else
5922   lt_cv_file_magic_cmd='$MAGIC_CMD'
5923 lt_cv_file_magic_test_file=
5924 lt_cv_deplibs_check_method='unknown'
5925 # Need to set the preceding variable on all platforms that support
5926 # interlibrary dependencies.
5927 # 'none' -- dependencies not supported.
5928 # `unknown' -- same as none, but documents that we really don't know.
5929 # 'pass_all' -- all dependencies passed with no checks.
5930 # 'test_compile' -- check by making test program.
5931 # 'file_magic [[regex]]' -- check by looking for files in library path
5932 # which responds to the $file_magic_cmd with a given extended regex.
5933 # If you have `file' or equivalent on your system and you're not sure
5934 # whether `pass_all' will *always* work, you probably want this one.
5935
5936 case $host_os in
5937 aix[4-9]*)
5938   lt_cv_deplibs_check_method=pass_all
5939   ;;
5940
5941 beos*)
5942   lt_cv_deplibs_check_method=pass_all
5943   ;;
5944
5945 bsdi[45]*)
5946   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5947   lt_cv_file_magic_cmd='/usr/bin/file -L'
5948   lt_cv_file_magic_test_file=/shlib/libc.so
5949   ;;
5950
5951 cygwin*)
5952   # func_win32_libid is a shell function defined in ltmain.sh
5953   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5954   lt_cv_file_magic_cmd='func_win32_libid'
5955   ;;
5956
5957 mingw* | pw32*)
5958   # Base MSYS/MinGW do not provide the 'file' command needed by
5959   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5960   # unless we find 'file', for example because we are cross-compiling.
5961   if ( file / ) >/dev/null 2>&1; then
5962     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5963     lt_cv_file_magic_cmd='func_win32_libid'
5964   else
5965     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5966     lt_cv_file_magic_cmd='$OBJDUMP -f'
5967   fi
5968   ;;
5969
5970 cegcc)
5971   # use the weaker test based on 'objdump'. See mingw*.
5972   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5973   lt_cv_file_magic_cmd='$OBJDUMP -f'
5974   ;;
5975
5976 darwin* | rhapsody*)
5977   lt_cv_deplibs_check_method=pass_all
5978   ;;
5979
5980 freebsd* | dragonfly*)
5981   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5982     case $host_cpu in
5983     i*86 )
5984       # Not sure whether the presence of OpenBSD here was a mistake.
5985       # Let's accept both of them until this is cleared up.
5986       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5987       lt_cv_file_magic_cmd=/usr/bin/file
5988       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5989       ;;
5990     esac
5991   else
5992     lt_cv_deplibs_check_method=pass_all
5993   fi
5994   ;;
5995
5996 gnu*)
5997   lt_cv_deplibs_check_method=pass_all
5998   ;;
5999
6000 hpux10.20* | hpux11*)
6001   lt_cv_file_magic_cmd=/usr/bin/file
6002   case $host_cpu in
6003   ia64*)
6004     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6005     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6006     ;;
6007   hppa*64*)
6008     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]'
6009     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6010     ;;
6011   *)
6012     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6013     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6014     ;;
6015   esac
6016   ;;
6017
6018 interix[3-9]*)
6019   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6020   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6021   ;;
6022
6023 irix5* | irix6* | nonstopux*)
6024   case $LD in
6025   *-32|*"-32 ") libmagic=32-bit;;
6026   *-n32|*"-n32 ") libmagic=N32;;
6027   *-64|*"-64 ") libmagic=64-bit;;
6028   *) libmagic=never-match;;
6029   esac
6030   lt_cv_deplibs_check_method=pass_all
6031   ;;
6032
6033 # This must be Linux ELF.
6034 linux* | k*bsd*-gnu)
6035   lt_cv_deplibs_check_method=pass_all
6036   ;;
6037
6038 netbsd*)
6039   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6040     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6041   else
6042     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6043   fi
6044   ;;
6045
6046 newos6*)
6047   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6048   lt_cv_file_magic_cmd=/usr/bin/file
6049   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6050   ;;
6051
6052 *nto* | *qnx*)
6053   lt_cv_deplibs_check_method=pass_all
6054   ;;
6055
6056 openbsd*)
6057   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6058     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6059   else
6060     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6061   fi
6062   ;;
6063
6064 osf3* | osf4* | osf5*)
6065   lt_cv_deplibs_check_method=pass_all
6066   ;;
6067
6068 rdos*)
6069   lt_cv_deplibs_check_method=pass_all
6070   ;;
6071
6072 solaris*)
6073   lt_cv_deplibs_check_method=pass_all
6074   ;;
6075
6076 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6077   lt_cv_deplibs_check_method=pass_all
6078   ;;
6079
6080 sysv4 | sysv4.3*)
6081   case $host_vendor in
6082   motorola)
6083     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]'
6084     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6085     ;;
6086   ncr)
6087     lt_cv_deplibs_check_method=pass_all
6088     ;;
6089   sequent)
6090     lt_cv_file_magic_cmd='/bin/file'
6091     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6092     ;;
6093   sni)
6094     lt_cv_file_magic_cmd='/bin/file'
6095     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6096     lt_cv_file_magic_test_file=/lib/libc.so
6097     ;;
6098   siemens)
6099     lt_cv_deplibs_check_method=pass_all
6100     ;;
6101   pc)
6102     lt_cv_deplibs_check_method=pass_all
6103     ;;
6104   esac
6105   ;;
6106
6107 tpf*)
6108   lt_cv_deplibs_check_method=pass_all
6109   ;;
6110 esac
6111
6112 fi
6113 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
6114 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6115 file_magic_cmd=$lt_cv_file_magic_cmd
6116 deplibs_check_method=$lt_cv_deplibs_check_method
6117 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130 if test -n "$ac_tool_prefix"; then
6131   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6132 set dummy ${ac_tool_prefix}ar; ac_word=$2
6133 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6134 $as_echo_n "checking for $ac_word... " >&6; }
6135 if test "${ac_cv_prog_AR+set}" = set; then
6136   $as_echo_n "(cached) " >&6
6137 else
6138   if test -n "$AR"; then
6139   ac_cv_prog_AR="$AR" # Let the user override the test.
6140 else
6141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6142 for as_dir in $PATH
6143 do
6144   IFS=$as_save_IFS
6145   test -z "$as_dir" && as_dir=.
6146   for ac_exec_ext in '' $ac_executable_extensions; do
6147   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6148     ac_cv_prog_AR="${ac_tool_prefix}ar"
6149     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6150     break 2
6151   fi
6152 done
6153 done
6154 IFS=$as_save_IFS
6155
6156 fi
6157 fi
6158 AR=$ac_cv_prog_AR
6159 if test -n "$AR"; then
6160   { $as_echo "$as_me:$LINENO: result: $AR" >&5
6161 $as_echo "$AR" >&6; }
6162 else
6163   { $as_echo "$as_me:$LINENO: result: no" >&5
6164 $as_echo "no" >&6; }
6165 fi
6166
6167
6168 fi
6169 if test -z "$ac_cv_prog_AR"; then
6170   ac_ct_AR=$AR
6171   # Extract the first word of "ar", so it can be a program name with args.
6172 set dummy ar; ac_word=$2
6173 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6174 $as_echo_n "checking for $ac_word... " >&6; }
6175 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6176   $as_echo_n "(cached) " >&6
6177 else
6178   if test -n "$ac_ct_AR"; then
6179   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6180 else
6181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6182 for as_dir in $PATH
6183 do
6184   IFS=$as_save_IFS
6185   test -z "$as_dir" && as_dir=.
6186   for ac_exec_ext in '' $ac_executable_extensions; do
6187   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6188     ac_cv_prog_ac_ct_AR="ar"
6189     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6190     break 2
6191   fi
6192 done
6193 done
6194 IFS=$as_save_IFS
6195
6196 fi
6197 fi
6198 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6199 if test -n "$ac_ct_AR"; then
6200   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6201 $as_echo "$ac_ct_AR" >&6; }
6202 else
6203   { $as_echo "$as_me:$LINENO: result: no" >&5
6204 $as_echo "no" >&6; }
6205 fi
6206
6207   if test "x$ac_ct_AR" = x; then
6208     AR="false"
6209   else
6210     case $cross_compiling:$ac_tool_warned in
6211 yes:)
6212 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6214 ac_tool_warned=yes ;;
6215 esac
6216     AR=$ac_ct_AR
6217   fi
6218 else
6219   AR="$ac_cv_prog_AR"
6220 fi
6221
6222 test -z "$AR" && AR=ar
6223 test -z "$AR_FLAGS" && AR_FLAGS=cru
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235 if test -n "$ac_tool_prefix"; then
6236   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6237 set dummy ${ac_tool_prefix}strip; ac_word=$2
6238 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6239 $as_echo_n "checking for $ac_word... " >&6; }
6240 if test "${ac_cv_prog_STRIP+set}" = set; then
6241   $as_echo_n "(cached) " >&6
6242 else
6243   if test -n "$STRIP"; then
6244   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6245 else
6246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6247 for as_dir in $PATH
6248 do
6249   IFS=$as_save_IFS
6250   test -z "$as_dir" && as_dir=.
6251   for ac_exec_ext in '' $ac_executable_extensions; do
6252   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6253     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6254     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6255     break 2
6256   fi
6257 done
6258 done
6259 IFS=$as_save_IFS
6260
6261 fi
6262 fi
6263 STRIP=$ac_cv_prog_STRIP
6264 if test -n "$STRIP"; then
6265   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
6266 $as_echo "$STRIP" >&6; }
6267 else
6268   { $as_echo "$as_me:$LINENO: result: no" >&5
6269 $as_echo "no" >&6; }
6270 fi
6271
6272
6273 fi
6274 if test -z "$ac_cv_prog_STRIP"; then
6275   ac_ct_STRIP=$STRIP
6276   # Extract the first word of "strip", so it can be a program name with args.
6277 set dummy strip; ac_word=$2
6278 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6279 $as_echo_n "checking for $ac_word... " >&6; }
6280 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6281   $as_echo_n "(cached) " >&6
6282 else
6283   if test -n "$ac_ct_STRIP"; then
6284   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6285 else
6286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6287 for as_dir in $PATH
6288 do
6289   IFS=$as_save_IFS
6290   test -z "$as_dir" && as_dir=.
6291   for ac_exec_ext in '' $ac_executable_extensions; do
6292   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6293     ac_cv_prog_ac_ct_STRIP="strip"
6294     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6295     break 2
6296   fi
6297 done
6298 done
6299 IFS=$as_save_IFS
6300
6301 fi
6302 fi
6303 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6304 if test -n "$ac_ct_STRIP"; then
6305   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6306 $as_echo "$ac_ct_STRIP" >&6; }
6307 else
6308   { $as_echo "$as_me:$LINENO: result: no" >&5
6309 $as_echo "no" >&6; }
6310 fi
6311
6312   if test "x$ac_ct_STRIP" = x; then
6313     STRIP=":"
6314   else
6315     case $cross_compiling:$ac_tool_warned in
6316 yes:)
6317 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6318 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6319 ac_tool_warned=yes ;;
6320 esac
6321     STRIP=$ac_ct_STRIP
6322   fi
6323 else
6324   STRIP="$ac_cv_prog_STRIP"
6325 fi
6326
6327 test -z "$STRIP" && STRIP=:
6328
6329
6330
6331
6332
6333
6334 if test -n "$ac_tool_prefix"; then
6335   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6336 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6337 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6338 $as_echo_n "checking for $ac_word... " >&6; }
6339 if test "${ac_cv_prog_RANLIB+set}" = set; then
6340   $as_echo_n "(cached) " >&6
6341 else
6342   if test -n "$RANLIB"; then
6343   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6344 else
6345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6346 for as_dir in $PATH
6347 do
6348   IFS=$as_save_IFS
6349   test -z "$as_dir" && as_dir=.
6350   for ac_exec_ext in '' $ac_executable_extensions; do
6351   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6352     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6353     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6354     break 2
6355   fi
6356 done
6357 done
6358 IFS=$as_save_IFS
6359
6360 fi
6361 fi
6362 RANLIB=$ac_cv_prog_RANLIB
6363 if test -n "$RANLIB"; then
6364   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
6365 $as_echo "$RANLIB" >&6; }
6366 else
6367   { $as_echo "$as_me:$LINENO: result: no" >&5
6368 $as_echo "no" >&6; }
6369 fi
6370
6371
6372 fi
6373 if test -z "$ac_cv_prog_RANLIB"; then
6374   ac_ct_RANLIB=$RANLIB
6375   # Extract the first word of "ranlib", so it can be a program name with args.
6376 set dummy ranlib; ac_word=$2
6377 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6378 $as_echo_n "checking for $ac_word... " >&6; }
6379 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6380   $as_echo_n "(cached) " >&6
6381 else
6382   if test -n "$ac_ct_RANLIB"; then
6383   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6384 else
6385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6386 for as_dir in $PATH
6387 do
6388   IFS=$as_save_IFS
6389   test -z "$as_dir" && as_dir=.
6390   for ac_exec_ext in '' $ac_executable_extensions; do
6391   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6392     ac_cv_prog_ac_ct_RANLIB="ranlib"
6393     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6394     break 2
6395   fi
6396 done
6397 done
6398 IFS=$as_save_IFS
6399
6400 fi
6401 fi
6402 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6403 if test -n "$ac_ct_RANLIB"; then
6404   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6405 $as_echo "$ac_ct_RANLIB" >&6; }
6406 else
6407   { $as_echo "$as_me:$LINENO: result: no" >&5
6408 $as_echo "no" >&6; }
6409 fi
6410
6411   if test "x$ac_ct_RANLIB" = x; then
6412     RANLIB=":"
6413   else
6414     case $cross_compiling:$ac_tool_warned in
6415 yes:)
6416 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6417 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6418 ac_tool_warned=yes ;;
6419 esac
6420     RANLIB=$ac_ct_RANLIB
6421   fi
6422 else
6423   RANLIB="$ac_cv_prog_RANLIB"
6424 fi
6425
6426 test -z "$RANLIB" && RANLIB=:
6427
6428
6429
6430
6431
6432
6433 # Determine commands to create old-style static archives.
6434 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6435 old_postinstall_cmds='chmod 644 $oldlib'
6436 old_postuninstall_cmds=
6437
6438 if test -n "$RANLIB"; then
6439   case $host_os in
6440   openbsd*)
6441     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6442     ;;
6443   *)
6444     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6445     ;;
6446   esac
6447   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6448 fi
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483 # If no C compiler was specified, use CC.
6484 LTCC=${LTCC-"$CC"}
6485
6486 # If no C compiler flags were specified, use CFLAGS.
6487 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6488
6489 # Allow CC to be a program name with arguments.
6490 compiler=$CC
6491
6492
6493 # Check for command to grab the raw symbol name followed by C symbol from nm.
6494 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6495 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6496 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6497   $as_echo_n "(cached) " >&6
6498 else
6499
6500 # These are sane defaults that work on at least a few old systems.
6501 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6502
6503 # Character class describing NM global symbol codes.
6504 symcode='[BCDEGRST]'
6505
6506 # Regexp to match symbols that can be accessed directly from C.
6507 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6508
6509 # Define system-specific variables.
6510 case $host_os in
6511 aix*)
6512   symcode='[BCDT]'
6513   ;;
6514 cygwin* | mingw* | pw32* | cegcc*)
6515   symcode='[ABCDGISTW]'
6516   ;;
6517 hpux*)
6518   if test "$host_cpu" = ia64; then
6519     symcode='[ABCDEGRST]'
6520   fi
6521   ;;
6522 irix* | nonstopux*)
6523   symcode='[BCDEGRST]'
6524   ;;
6525 osf*)
6526   symcode='[BCDEGQRST]'
6527   ;;
6528 solaris*)
6529   symcode='[BDRT]'
6530   ;;
6531 sco3.2v5*)
6532   symcode='[DT]'
6533   ;;
6534 sysv4.2uw2*)
6535   symcode='[DT]'
6536   ;;
6537 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6538   symcode='[ABDT]'
6539   ;;
6540 sysv4)
6541   symcode='[DFNSTU]'
6542   ;;
6543 esac
6544
6545 # If we're using GNU nm, then use its standard symbol codes.
6546 case `$NM -V 2>&1` in
6547 *GNU* | *'with BFD'*)
6548   symcode='[ABCDGIRSTW]' ;;
6549 esac
6550
6551 # Transform an extracted symbol line into a proper C declaration.
6552 # Some systems (esp. on ia64) link data and code symbols differently,
6553 # so use this general approach.
6554 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6555
6556 # Transform an extracted symbol line into symbol name and symbol address
6557 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6558 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
6559
6560 # Handle CRLF in mingw tool chain
6561 opt_cr=
6562 case $build_os in
6563 mingw*)
6564   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6565   ;;
6566 esac
6567
6568 # Try without a prefix underscore, then with it.
6569 for ac_symprfx in "" "_"; do
6570
6571   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6572   symxfrm="\\1 $ac_symprfx\\2 \\2"
6573
6574   # Write the raw and C identifiers.
6575   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6576     # Fake it for dumpbin and say T for any non-static function
6577     # and D for any global variable.
6578     # Also find C++ and __fastcall symbols from MSVC++,
6579     # which start with @ or ?.
6580     lt_cv_sys_global_symbol_pipe="$AWK '"\
6581 "     {last_section=section; section=\$ 3};"\
6582 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6583 "     \$ 0!~/External *\|/{next};"\
6584 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6585 "     {if(hide[section]) next};"\
6586 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6587 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6588 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6589 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6590 "     ' prfx=^$ac_symprfx"
6591   else
6592     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6593   fi
6594
6595   # Check to see that the pipe works correctly.
6596   pipe_works=no
6597
6598   rm -f conftest*
6599   cat > conftest.$ac_ext <<_LT_EOF
6600 #ifdef __cplusplus
6601 extern "C" {
6602 #endif
6603 char nm_test_var;
6604 void nm_test_func(void);
6605 void nm_test_func(void){}
6606 #ifdef __cplusplus
6607 }
6608 #endif
6609 int main(){nm_test_var='a';nm_test_func();return(0);}
6610 _LT_EOF
6611
6612   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6613   (eval $ac_compile) 2>&5
6614   ac_status=$?
6615   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6616   (exit $ac_status); }; then
6617     # Now try to grab the symbols.
6618     nlist=conftest.nm
6619     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6620   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6621   ac_status=$?
6622   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6623   (exit $ac_status); } && test -s "$nlist"; then
6624       # Try sorting and uniquifying the output.
6625       if sort "$nlist" | uniq > "$nlist"T; then
6626         mv -f "$nlist"T "$nlist"
6627       else
6628         rm -f "$nlist"T
6629       fi
6630
6631       # Make sure that we snagged all the symbols we need.
6632       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6633         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6634           cat <<_LT_EOF > conftest.$ac_ext
6635 #ifdef __cplusplus
6636 extern "C" {
6637 #endif
6638
6639 _LT_EOF
6640           # Now generate the symbol file.
6641           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6642
6643           cat <<_LT_EOF >> conftest.$ac_ext
6644
6645 /* The mapping between symbol names and symbols.  */
6646 const struct {
6647   const char *name;
6648   void       *address;
6649 }
6650 lt__PROGRAM__LTX_preloaded_symbols[] =
6651 {
6652   { "@PROGRAM@", (void *) 0 },
6653 _LT_EOF
6654           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6655           cat <<\_LT_EOF >> conftest.$ac_ext
6656   {0, (void *) 0}
6657 };
6658
6659 /* This works around a problem in FreeBSD linker */
6660 #ifdef FREEBSD_WORKAROUND
6661 static const void *lt_preloaded_setup() {
6662   return lt__PROGRAM__LTX_preloaded_symbols;
6663 }
6664 #endif
6665
6666 #ifdef __cplusplus
6667 }
6668 #endif
6669 _LT_EOF
6670           # Now try linking the two files.
6671           mv conftest.$ac_objext conftstm.$ac_objext
6672           lt_save_LIBS="$LIBS"
6673           lt_save_CFLAGS="$CFLAGS"
6674           LIBS="conftstm.$ac_objext"
6675           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6676           if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6677   (eval $ac_link) 2>&5
6678   ac_status=$?
6679   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6680   (exit $ac_status); } && test -s conftest${ac_exeext}; then
6681             pipe_works=yes
6682           fi
6683           LIBS="$lt_save_LIBS"
6684           CFLAGS="$lt_save_CFLAGS"
6685         else
6686           echo "cannot find nm_test_func in $nlist" >&5
6687         fi
6688       else
6689         echo "cannot find nm_test_var in $nlist" >&5
6690       fi
6691     else
6692       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6693     fi
6694   else
6695     echo "$progname: failed program was:" >&5
6696     cat conftest.$ac_ext >&5
6697   fi
6698   rm -rf conftest* conftst*
6699
6700   # Do not use the global_symbol_pipe unless it works.
6701   if test "$pipe_works" = yes; then
6702     break
6703   else
6704     lt_cv_sys_global_symbol_pipe=
6705   fi
6706 done
6707
6708 fi
6709
6710 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6711   lt_cv_sys_global_symbol_to_cdecl=
6712 fi
6713 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6714   { $as_echo "$as_me:$LINENO: result: failed" >&5
6715 $as_echo "failed" >&6; }
6716 else
6717   { $as_echo "$as_me:$LINENO: result: ok" >&5
6718 $as_echo "ok" >&6; }
6719 fi
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742 # Check whether --enable-libtool-lock was given.
6743 if test "${enable_libtool_lock+set}" = set; then
6744   enableval=$enable_libtool_lock;
6745 fi
6746
6747 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6748
6749 # Some flags need to be propagated to the compiler or linker for good
6750 # libtool support.
6751 case $host in
6752 ia64-*-hpux*)
6753   # Find out which ABI we are using.
6754   echo 'int i;' > conftest.$ac_ext
6755   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6756   (eval $ac_compile) 2>&5
6757   ac_status=$?
6758   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6759   (exit $ac_status); }; then
6760     case `/usr/bin/file conftest.$ac_objext` in
6761       *ELF-32*)
6762         HPUX_IA64_MODE="32"
6763         ;;
6764       *ELF-64*)
6765         HPUX_IA64_MODE="64"
6766         ;;
6767     esac
6768   fi
6769   rm -rf conftest*
6770   ;;
6771 *-*-irix6*)
6772   # Find out which ABI we are using.
6773   echo '#line 6773 "configure"' > conftest.$ac_ext
6774   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6775   (eval $ac_compile) 2>&5
6776   ac_status=$?
6777   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6778   (exit $ac_status); }; then
6779     if test "$lt_cv_prog_gnu_ld" = yes; then
6780       case `/usr/bin/file conftest.$ac_objext` in
6781         *32-bit*)
6782           LD="${LD-ld} -melf32bsmip"
6783           ;;
6784         *N32*)
6785           LD="${LD-ld} -melf32bmipn32"
6786           ;;
6787         *64-bit*)
6788           LD="${LD-ld} -melf64bmip"
6789         ;;
6790       esac
6791     else
6792       case `/usr/bin/file conftest.$ac_objext` in
6793         *32-bit*)
6794           LD="${LD-ld} -32"
6795           ;;
6796         *N32*)
6797           LD="${LD-ld} -n32"
6798           ;;
6799         *64-bit*)
6800           LD="${LD-ld} -64"
6801           ;;
6802       esac
6803     fi
6804   fi
6805   rm -rf conftest*
6806   ;;
6807
6808 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6809 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6810   # Find out which ABI we are using.
6811   echo 'int i;' > conftest.$ac_ext
6812   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6813   (eval $ac_compile) 2>&5
6814   ac_status=$?
6815   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6816   (exit $ac_status); }; then
6817     case `/usr/bin/file conftest.o` in
6818       *32-bit*)
6819         case $host in
6820           x86_64-*kfreebsd*-gnu)
6821             LD="${LD-ld} -m elf_i386_fbsd"
6822             ;;
6823           x86_64-*linux*)
6824             LD="${LD-ld} -m elf_i386"
6825             ;;
6826           ppc64-*linux*|powerpc64-*linux*)
6827             LD="${LD-ld} -m elf32ppclinux"
6828             ;;
6829           s390x-*linux*)
6830             LD="${LD-ld} -m elf_s390"
6831             ;;
6832           sparc64-*linux*)
6833             LD="${LD-ld} -m elf32_sparc"
6834             ;;
6835         esac
6836         ;;
6837       *64-bit*)
6838         case $host in
6839           x86_64-*kfreebsd*-gnu)
6840             LD="${LD-ld} -m elf_x86_64_fbsd"
6841             ;;
6842           x86_64-*linux*)
6843             LD="${LD-ld} -m elf_x86_64"
6844             ;;
6845           ppc*-*linux*|powerpc*-*linux*)
6846             LD="${LD-ld} -m elf64ppc"
6847             ;;
6848           s390*-*linux*|s390*-*tpf*)
6849             LD="${LD-ld} -m elf64_s390"
6850             ;;
6851           sparc*-*linux*)
6852             LD="${LD-ld} -m elf64_sparc"
6853             ;;
6854         esac
6855         ;;
6856     esac
6857   fi
6858   rm -rf conftest*
6859   ;;
6860
6861 *-*-sco3.2v5*)
6862   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6863   SAVE_CFLAGS="$CFLAGS"
6864   CFLAGS="$CFLAGS -belf"
6865   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6866 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6867 if test "${lt_cv_cc_needs_belf+set}" = set; then
6868   $as_echo_n "(cached) " >&6
6869 else
6870   ac_ext=c
6871 ac_cpp='$CPP $CPPFLAGS'
6872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6875
6876      cat >conftest.$ac_ext <<_ACEOF
6877 /* confdefs.h.  */
6878 _ACEOF
6879 cat confdefs.h >>conftest.$ac_ext
6880 cat >>conftest.$ac_ext <<_ACEOF
6881 /* end confdefs.h.  */
6882
6883 int
6884 main ()
6885 {
6886
6887   ;
6888   return 0;
6889 }
6890 _ACEOF
6891 rm -f conftest.$ac_objext conftest$ac_exeext
6892 if { (ac_try="$ac_link"
6893 case "(($ac_try" in
6894   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6895   *) ac_try_echo=$ac_try;;
6896 esac
6897 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6898 $as_echo "$ac_try_echo") >&5
6899   (eval "$ac_link") 2>conftest.er1
6900   ac_status=$?
6901   grep -v '^ *+' conftest.er1 >conftest.err
6902   rm -f conftest.er1
6903   cat conftest.err >&5
6904   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6905   (exit $ac_status); } && {
6906          test -z "$ac_c_werror_flag" ||
6907          test ! -s conftest.err
6908        } && test -s conftest$ac_exeext && {
6909          test "$cross_compiling" = yes ||
6910          $as_test_x conftest$ac_exeext
6911        }; then
6912   lt_cv_cc_needs_belf=yes
6913 else
6914   $as_echo "$as_me: failed program was:" >&5
6915 sed 's/^/| /' conftest.$ac_ext >&5
6916
6917         lt_cv_cc_needs_belf=no
6918 fi
6919
6920 rm -rf conftest.dSYM
6921 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6922       conftest$ac_exeext conftest.$ac_ext
6923      ac_ext=c
6924 ac_cpp='$CPP $CPPFLAGS'
6925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6928
6929 fi
6930 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6931 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6932   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6933     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6934     CFLAGS="$SAVE_CFLAGS"
6935   fi
6936   ;;
6937 sparc*-*solaris*)
6938   # Find out which ABI we are using.
6939   echo 'int i;' > conftest.$ac_ext
6940   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6941   (eval $ac_compile) 2>&5
6942   ac_status=$?
6943   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6944   (exit $ac_status); }; then
6945     case `/usr/bin/file conftest.o` in
6946     *64-bit*)
6947       case $lt_cv_prog_gnu_ld in
6948       yes*) LD="${LD-ld} -m elf64_sparc" ;;
6949       *)
6950         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6951           LD="${LD-ld} -64"
6952         fi
6953         ;;
6954       esac
6955       ;;
6956     esac
6957   fi
6958   rm -rf conftest*
6959   ;;
6960 esac
6961
6962 need_locks="$enable_libtool_lock"
6963
6964
6965   case $host_os in
6966     rhapsody* | darwin*)
6967     if test -n "$ac_tool_prefix"; then
6968   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6969 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6970 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6971 $as_echo_n "checking for $ac_word... " >&6; }
6972 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6973   $as_echo_n "(cached) " >&6
6974 else
6975   if test -n "$DSYMUTIL"; then
6976   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6977 else
6978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6979 for as_dir in $PATH
6980 do
6981   IFS=$as_save_IFS
6982   test -z "$as_dir" && as_dir=.
6983   for ac_exec_ext in '' $ac_executable_extensions; do
6984   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6985     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6986     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6987     break 2
6988   fi
6989 done
6990 done
6991 IFS=$as_save_IFS
6992
6993 fi
6994 fi
6995 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6996 if test -n "$DSYMUTIL"; then
6997   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
6998 $as_echo "$DSYMUTIL" >&6; }
6999 else
7000   { $as_echo "$as_me:$LINENO: result: no" >&5
7001 $as_echo "no" >&6; }
7002 fi
7003
7004
7005 fi
7006 if test -z "$ac_cv_prog_DSYMUTIL"; then
7007   ac_ct_DSYMUTIL=$DSYMUTIL
7008   # Extract the first word of "dsymutil", so it can be a program name with args.
7009 set dummy dsymutil; ac_word=$2
7010 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7011 $as_echo_n "checking for $ac_word... " >&6; }
7012 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7013   $as_echo_n "(cached) " >&6
7014 else
7015   if test -n "$ac_ct_DSYMUTIL"; then
7016   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7017 else
7018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7019 for as_dir in $PATH
7020 do
7021   IFS=$as_save_IFS
7022   test -z "$as_dir" && as_dir=.
7023   for ac_exec_ext in '' $ac_executable_extensions; do
7024   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7025     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7026     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7027     break 2
7028   fi
7029 done
7030 done
7031 IFS=$as_save_IFS
7032
7033 fi
7034 fi
7035 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7036 if test -n "$ac_ct_DSYMUTIL"; then
7037   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7038 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7039 else
7040   { $as_echo "$as_me:$LINENO: result: no" >&5
7041 $as_echo "no" >&6; }
7042 fi
7043
7044   if test "x$ac_ct_DSYMUTIL" = x; then
7045     DSYMUTIL=":"
7046   else
7047     case $cross_compiling:$ac_tool_warned in
7048 yes:)
7049 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7050 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7051 ac_tool_warned=yes ;;
7052 esac
7053     DSYMUTIL=$ac_ct_DSYMUTIL
7054   fi
7055 else
7056   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7057 fi
7058
7059     if test -n "$ac_tool_prefix"; then
7060   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7061 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7062 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7063 $as_echo_n "checking for $ac_word... " >&6; }
7064 if test "${ac_cv_prog_NMEDIT+set}" = set; then
7065   $as_echo_n "(cached) " >&6
7066 else
7067   if test -n "$NMEDIT"; then
7068   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7069 else
7070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7071 for as_dir in $PATH
7072 do
7073   IFS=$as_save_IFS
7074   test -z "$as_dir" && as_dir=.
7075   for ac_exec_ext in '' $ac_executable_extensions; do
7076   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7077     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7078     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7079     break 2
7080   fi
7081 done
7082 done
7083 IFS=$as_save_IFS
7084
7085 fi
7086 fi
7087 NMEDIT=$ac_cv_prog_NMEDIT
7088 if test -n "$NMEDIT"; then
7089   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
7090 $as_echo "$NMEDIT" >&6; }
7091 else
7092   { $as_echo "$as_me:$LINENO: result: no" >&5
7093 $as_echo "no" >&6; }
7094 fi
7095
7096
7097 fi
7098 if test -z "$ac_cv_prog_NMEDIT"; then
7099   ac_ct_NMEDIT=$NMEDIT
7100   # Extract the first word of "nmedit", so it can be a program name with args.
7101 set dummy nmedit; ac_word=$2
7102 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7103 $as_echo_n "checking for $ac_word... " >&6; }
7104 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7105   $as_echo_n "(cached) " >&6
7106 else
7107   if test -n "$ac_ct_NMEDIT"; then
7108   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7109 else
7110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7111 for as_dir in $PATH
7112 do
7113   IFS=$as_save_IFS
7114   test -z "$as_dir" && as_dir=.
7115   for ac_exec_ext in '' $ac_executable_extensions; do
7116   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7117     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7118     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7119     break 2
7120   fi
7121 done
7122 done
7123 IFS=$as_save_IFS
7124
7125 fi
7126 fi
7127 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7128 if test -n "$ac_ct_NMEDIT"; then
7129   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7130 $as_echo "$ac_ct_NMEDIT" >&6; }
7131 else
7132   { $as_echo "$as_me:$LINENO: result: no" >&5
7133 $as_echo "no" >&6; }
7134 fi
7135
7136   if test "x$ac_ct_NMEDIT" = x; then
7137     NMEDIT=":"
7138   else
7139     case $cross_compiling:$ac_tool_warned in
7140 yes:)
7141 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7142 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7143 ac_tool_warned=yes ;;
7144 esac
7145     NMEDIT=$ac_ct_NMEDIT
7146   fi
7147 else
7148   NMEDIT="$ac_cv_prog_NMEDIT"
7149 fi
7150
7151     if test -n "$ac_tool_prefix"; then
7152   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7153 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7154 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7155 $as_echo_n "checking for $ac_word... " >&6; }
7156 if test "${ac_cv_prog_LIPO+set}" = set; then
7157   $as_echo_n "(cached) " >&6
7158 else
7159   if test -n "$LIPO"; then
7160   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7161 else
7162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7163 for as_dir in $PATH
7164 do
7165   IFS=$as_save_IFS
7166   test -z "$as_dir" && as_dir=.
7167   for ac_exec_ext in '' $ac_executable_extensions; do
7168   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7169     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7170     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7171     break 2
7172   fi
7173 done
7174 done
7175 IFS=$as_save_IFS
7176
7177 fi
7178 fi
7179 LIPO=$ac_cv_prog_LIPO
7180 if test -n "$LIPO"; then
7181   { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
7182 $as_echo "$LIPO" >&6; }
7183 else
7184   { $as_echo "$as_me:$LINENO: result: no" >&5
7185 $as_echo "no" >&6; }
7186 fi
7187
7188
7189 fi
7190 if test -z "$ac_cv_prog_LIPO"; then
7191   ac_ct_LIPO=$LIPO
7192   # Extract the first word of "lipo", so it can be a program name with args.
7193 set dummy lipo; ac_word=$2
7194 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7195 $as_echo_n "checking for $ac_word... " >&6; }
7196 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
7197   $as_echo_n "(cached) " >&6
7198 else
7199   if test -n "$ac_ct_LIPO"; then
7200   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7201 else
7202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7203 for as_dir in $PATH
7204 do
7205   IFS=$as_save_IFS
7206   test -z "$as_dir" && as_dir=.
7207   for ac_exec_ext in '' $ac_executable_extensions; do
7208   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7209     ac_cv_prog_ac_ct_LIPO="lipo"
7210     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7211     break 2
7212   fi
7213 done
7214 done
7215 IFS=$as_save_IFS
7216
7217 fi
7218 fi
7219 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7220 if test -n "$ac_ct_LIPO"; then
7221   { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
7222 $as_echo "$ac_ct_LIPO" >&6; }
7223 else
7224   { $as_echo "$as_me:$LINENO: result: no" >&5
7225 $as_echo "no" >&6; }
7226 fi
7227
7228   if test "x$ac_ct_LIPO" = x; then
7229     LIPO=":"
7230   else
7231     case $cross_compiling:$ac_tool_warned in
7232 yes:)
7233 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7234 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7235 ac_tool_warned=yes ;;
7236 esac
7237     LIPO=$ac_ct_LIPO
7238   fi
7239 else
7240   LIPO="$ac_cv_prog_LIPO"
7241 fi
7242
7243     if test -n "$ac_tool_prefix"; then
7244   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7245 set dummy ${ac_tool_prefix}otool; ac_word=$2
7246 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7247 $as_echo_n "checking for $ac_word... " >&6; }
7248 if test "${ac_cv_prog_OTOOL+set}" = set; then
7249   $as_echo_n "(cached) " >&6
7250 else
7251   if test -n "$OTOOL"; then
7252   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7253 else
7254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7255 for as_dir in $PATH
7256 do
7257   IFS=$as_save_IFS
7258   test -z "$as_dir" && as_dir=.
7259   for ac_exec_ext in '' $ac_executable_extensions; do
7260   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7261     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7262     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7263     break 2
7264   fi
7265 done
7266 done
7267 IFS=$as_save_IFS
7268
7269 fi
7270 fi
7271 OTOOL=$ac_cv_prog_OTOOL
7272 if test -n "$OTOOL"; then
7273   { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
7274 $as_echo "$OTOOL" >&6; }
7275 else
7276   { $as_echo "$as_me:$LINENO: result: no" >&5
7277 $as_echo "no" >&6; }
7278 fi
7279
7280
7281 fi
7282 if test -z "$ac_cv_prog_OTOOL"; then
7283   ac_ct_OTOOL=$OTOOL
7284   # Extract the first word of "otool", so it can be a program name with args.
7285 set dummy otool; ac_word=$2
7286 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7287 $as_echo_n "checking for $ac_word... " >&6; }
7288 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
7289   $as_echo_n "(cached) " >&6
7290 else
7291   if test -n "$ac_ct_OTOOL"; then
7292   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7293 else
7294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7295 for as_dir in $PATH
7296 do
7297   IFS=$as_save_IFS
7298   test -z "$as_dir" && as_dir=.
7299   for ac_exec_ext in '' $ac_executable_extensions; do
7300   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7301     ac_cv_prog_ac_ct_OTOOL="otool"
7302     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7303     break 2
7304   fi
7305 done
7306 done
7307 IFS=$as_save_IFS
7308
7309 fi
7310 fi
7311 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7312 if test -n "$ac_ct_OTOOL"; then
7313   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
7314 $as_echo "$ac_ct_OTOOL" >&6; }
7315 else
7316   { $as_echo "$as_me:$LINENO: result: no" >&5
7317 $as_echo "no" >&6; }
7318 fi
7319
7320   if test "x$ac_ct_OTOOL" = x; then
7321     OTOOL=":"
7322   else
7323     case $cross_compiling:$ac_tool_warned in
7324 yes:)
7325 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7326 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7327 ac_tool_warned=yes ;;
7328 esac
7329     OTOOL=$ac_ct_OTOOL
7330   fi
7331 else
7332   OTOOL="$ac_cv_prog_OTOOL"
7333 fi
7334
7335     if test -n "$ac_tool_prefix"; then
7336   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7337 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7338 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7339 $as_echo_n "checking for $ac_word... " >&6; }
7340 if test "${ac_cv_prog_OTOOL64+set}" = set; then
7341   $as_echo_n "(cached) " >&6
7342 else
7343   if test -n "$OTOOL64"; then
7344   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7345 else
7346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7347 for as_dir in $PATH
7348 do
7349   IFS=$as_save_IFS
7350   test -z "$as_dir" && as_dir=.
7351   for ac_exec_ext in '' $ac_executable_extensions; do
7352   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7353     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7354     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7355     break 2
7356   fi
7357 done
7358 done
7359 IFS=$as_save_IFS
7360
7361 fi
7362 fi
7363 OTOOL64=$ac_cv_prog_OTOOL64
7364 if test -n "$OTOOL64"; then
7365   { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
7366 $as_echo "$OTOOL64" >&6; }
7367 else
7368   { $as_echo "$as_me:$LINENO: result: no" >&5
7369 $as_echo "no" >&6; }
7370 fi
7371
7372
7373 fi
7374 if test -z "$ac_cv_prog_OTOOL64"; then
7375   ac_ct_OTOOL64=$OTOOL64
7376   # Extract the first word of "otool64", so it can be a program name with args.
7377 set dummy otool64; ac_word=$2
7378 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7379 $as_echo_n "checking for $ac_word... " >&6; }
7380 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
7381   $as_echo_n "(cached) " >&6
7382 else
7383   if test -n "$ac_ct_OTOOL64"; then
7384   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7385 else
7386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7387 for as_dir in $PATH
7388 do
7389   IFS=$as_save_IFS
7390   test -z "$as_dir" && as_dir=.
7391   for ac_exec_ext in '' $ac_executable_extensions; do
7392   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7393     ac_cv_prog_ac_ct_OTOOL64="otool64"
7394     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7395     break 2
7396   fi
7397 done
7398 done
7399 IFS=$as_save_IFS
7400
7401 fi
7402 fi
7403 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7404 if test -n "$ac_ct_OTOOL64"; then
7405   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
7406 $as_echo "$ac_ct_OTOOL64" >&6; }
7407 else
7408   { $as_echo "$as_me:$LINENO: result: no" >&5
7409 $as_echo "no" >&6; }
7410 fi
7411
7412   if test "x$ac_ct_OTOOL64" = x; then
7413     OTOOL64=":"
7414   else
7415     case $cross_compiling:$ac_tool_warned in
7416 yes:)
7417 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7418 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7419 ac_tool_warned=yes ;;
7420 esac
7421     OTOOL64=$ac_ct_OTOOL64
7422   fi
7423 else
7424   OTOOL64="$ac_cv_prog_OTOOL64"
7425 fi
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7454 $as_echo_n "checking for -single_module linker flag... " >&6; }
7455 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7456   $as_echo_n "(cached) " >&6
7457 else
7458   lt_cv_apple_cc_single_mod=no
7459       if test -z "${LT_MULTI_MODULE}"; then
7460         # By default we will add the -single_module flag. You can override
7461         # by either setting the environment variable LT_MULTI_MODULE
7462         # non-empty at configure time, or by adding -multi_module to the
7463         # link flags.
7464         rm -rf libconftest.dylib*
7465         echo "int foo(void){return 1;}" > conftest.c
7466         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7467 -dynamiclib -Wl,-single_module conftest.c" >&5
7468         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7469           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7470         _lt_result=$?
7471         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7472           lt_cv_apple_cc_single_mod=yes
7473         else
7474           cat conftest.err >&5
7475         fi
7476         rm -rf libconftest.dylib*
7477         rm -f conftest.*
7478       fi
7479 fi
7480 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7481 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7482     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7483 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7484 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7485   $as_echo_n "(cached) " >&6
7486 else
7487   lt_cv_ld_exported_symbols_list=no
7488       save_LDFLAGS=$LDFLAGS
7489       echo "_main" > conftest.sym
7490       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7491       cat >conftest.$ac_ext <<_ACEOF
7492 /* confdefs.h.  */
7493 _ACEOF
7494 cat confdefs.h >>conftest.$ac_ext
7495 cat >>conftest.$ac_ext <<_ACEOF
7496 /* end confdefs.h.  */
7497
7498 int
7499 main ()
7500 {
7501
7502   ;
7503   return 0;
7504 }
7505 _ACEOF
7506 rm -f conftest.$ac_objext conftest$ac_exeext
7507 if { (ac_try="$ac_link"
7508 case "(($ac_try" in
7509   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7510   *) ac_try_echo=$ac_try;;
7511 esac
7512 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7513 $as_echo "$ac_try_echo") >&5
7514   (eval "$ac_link") 2>conftest.er1
7515   ac_status=$?
7516   grep -v '^ *+' conftest.er1 >conftest.err
7517   rm -f conftest.er1
7518   cat conftest.err >&5
7519   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7520   (exit $ac_status); } && {
7521          test -z "$ac_c_werror_flag" ||
7522          test ! -s conftest.err
7523        } && test -s conftest$ac_exeext && {
7524          test "$cross_compiling" = yes ||
7525          $as_test_x conftest$ac_exeext
7526        }; then
7527   lt_cv_ld_exported_symbols_list=yes
7528 else
7529   $as_echo "$as_me: failed program was:" >&5
7530 sed 's/^/| /' conftest.$ac_ext >&5
7531
7532         lt_cv_ld_exported_symbols_list=no
7533 fi
7534
7535 rm -rf conftest.dSYM
7536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7537       conftest$ac_exeext conftest.$ac_ext
7538         LDFLAGS="$save_LDFLAGS"
7539
7540 fi
7541 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7542 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7543     case $host_os in
7544     rhapsody* | darwin1.[012])
7545       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7546     darwin1.*)
7547       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7548     darwin*) # darwin 5.x on
7549       # if running on 10.5 or later, the deployment target defaults
7550       # to the OS version, if on x86, and 10.4, the deployment
7551       # target defaults to 10.4. Don't you love it?
7552       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7553         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7554           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7555         10.[012]*)
7556           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7557         10.*)
7558           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7559       esac
7560     ;;
7561   esac
7562     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7563       _lt_dar_single_mod='$single_module'
7564     fi
7565     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7566       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7567     else
7568       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7569     fi
7570     if test "$DSYMUTIL" != ":"; then
7571       _lt_dsymutil='~$DSYMUTIL $lib || :'
7572     else
7573       _lt_dsymutil=
7574     fi
7575     ;;
7576   esac
7577
7578 ac_ext=c
7579 ac_cpp='$CPP $CPPFLAGS'
7580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7583 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
7584 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7585 # On Suns, sometimes $CPP names a directory.
7586 if test -n "$CPP" && test -d "$CPP"; then
7587   CPP=
7588 fi
7589 if test -z "$CPP"; then
7590   if test "${ac_cv_prog_CPP+set}" = set; then
7591   $as_echo_n "(cached) " >&6
7592 else
7593       # Double quotes because CPP needs to be expanded
7594     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7595     do
7596       ac_preproc_ok=false
7597 for ac_c_preproc_warn_flag in '' yes
7598 do
7599   # Use a header file that comes with gcc, so configuring glibc
7600   # with a fresh cross-compiler works.
7601   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7602   # <limits.h> exists even on freestanding compilers.
7603   # On the NeXT, cc -E runs the code through the compiler's parser,
7604   # not just through cpp. "Syntax error" is here to catch this case.
7605   cat >conftest.$ac_ext <<_ACEOF
7606 /* confdefs.h.  */
7607 _ACEOF
7608 cat confdefs.h >>conftest.$ac_ext
7609 cat >>conftest.$ac_ext <<_ACEOF
7610 /* end confdefs.h.  */
7611 #ifdef __STDC__
7612 # include <limits.h>
7613 #else
7614 # include <assert.h>
7615 #endif
7616                      Syntax error
7617 _ACEOF
7618 if { (ac_try="$ac_cpp conftest.$ac_ext"
7619 case "(($ac_try" in
7620   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7621   *) ac_try_echo=$ac_try;;
7622 esac
7623 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7624 $as_echo "$ac_try_echo") >&5
7625   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7626   ac_status=$?
7627   grep -v '^ *+' conftest.er1 >conftest.err
7628   rm -f conftest.er1
7629   cat conftest.err >&5
7630   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7631   (exit $ac_status); } >/dev/null && {
7632          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7633          test ! -s conftest.err
7634        }; then
7635   :
7636 else
7637   $as_echo "$as_me: failed program was:" >&5
7638 sed 's/^/| /' conftest.$ac_ext >&5
7639
7640   # Broken: fails on valid input.
7641 continue
7642 fi
7643
7644 rm -f conftest.err conftest.$ac_ext
7645
7646   # OK, works on sane cases.  Now check whether nonexistent headers
7647   # can be detected and how.
7648   cat >conftest.$ac_ext <<_ACEOF
7649 /* confdefs.h.  */
7650 _ACEOF
7651 cat confdefs.h >>conftest.$ac_ext
7652 cat >>conftest.$ac_ext <<_ACEOF
7653 /* end confdefs.h.  */
7654 #include <ac_nonexistent.h>
7655 _ACEOF
7656 if { (ac_try="$ac_cpp conftest.$ac_ext"
7657 case "(($ac_try" in
7658   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7659   *) ac_try_echo=$ac_try;;
7660 esac
7661 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7662 $as_echo "$ac_try_echo") >&5
7663   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7664   ac_status=$?
7665   grep -v '^ *+' conftest.er1 >conftest.err
7666   rm -f conftest.er1
7667   cat conftest.err >&5
7668   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7669   (exit $ac_status); } >/dev/null && {
7670          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7671          test ! -s conftest.err
7672        }; then
7673   # Broken: success on invalid input.
7674 continue
7675 else
7676   $as_echo "$as_me: failed program was:" >&5
7677 sed 's/^/| /' conftest.$ac_ext >&5
7678
7679   # Passes both tests.
7680 ac_preproc_ok=:
7681 break
7682 fi
7683
7684 rm -f conftest.err conftest.$ac_ext
7685
7686 done
7687 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7688 rm -f conftest.err conftest.$ac_ext
7689 if $ac_preproc_ok; then
7690   break
7691 fi
7692
7693     done
7694     ac_cv_prog_CPP=$CPP
7695
7696 fi
7697   CPP=$ac_cv_prog_CPP
7698 else
7699   ac_cv_prog_CPP=$CPP
7700 fi
7701 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
7702 $as_echo "$CPP" >&6; }
7703 ac_preproc_ok=false
7704 for ac_c_preproc_warn_flag in '' yes
7705 do
7706   # Use a header file that comes with gcc, so configuring glibc
7707   # with a fresh cross-compiler works.
7708   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7709   # <limits.h> exists even on freestanding compilers.
7710   # On the NeXT, cc -E runs the code through the compiler's parser,
7711   # not just through cpp. "Syntax error" is here to catch this case.
7712   cat >conftest.$ac_ext <<_ACEOF
7713 /* confdefs.h.  */
7714 _ACEOF
7715 cat confdefs.h >>conftest.$ac_ext
7716 cat >>conftest.$ac_ext <<_ACEOF
7717 /* end confdefs.h.  */
7718 #ifdef __STDC__
7719 # include <limits.h>
7720 #else
7721 # include <assert.h>
7722 #endif
7723                      Syntax error
7724 _ACEOF
7725 if { (ac_try="$ac_cpp conftest.$ac_ext"
7726 case "(($ac_try" in
7727   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7728   *) ac_try_echo=$ac_try;;
7729 esac
7730 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7731 $as_echo "$ac_try_echo") >&5
7732   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7733   ac_status=$?
7734   grep -v '^ *+' conftest.er1 >conftest.err
7735   rm -f conftest.er1
7736   cat conftest.err >&5
7737   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7738   (exit $ac_status); } >/dev/null && {
7739          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7740          test ! -s conftest.err
7741        }; then
7742   :
7743 else
7744   $as_echo "$as_me: failed program was:" >&5
7745 sed 's/^/| /' conftest.$ac_ext >&5
7746
7747   # Broken: fails on valid input.
7748 continue
7749 fi
7750
7751 rm -f conftest.err conftest.$ac_ext
7752
7753   # OK, works on sane cases.  Now check whether nonexistent headers
7754   # can be detected and how.
7755   cat >conftest.$ac_ext <<_ACEOF
7756 /* confdefs.h.  */
7757 _ACEOF
7758 cat confdefs.h >>conftest.$ac_ext
7759 cat >>conftest.$ac_ext <<_ACEOF
7760 /* end confdefs.h.  */
7761 #include <ac_nonexistent.h>
7762 _ACEOF
7763 if { (ac_try="$ac_cpp conftest.$ac_ext"
7764 case "(($ac_try" in
7765   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7766   *) ac_try_echo=$ac_try;;
7767 esac
7768 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7769 $as_echo "$ac_try_echo") >&5
7770   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7771   ac_status=$?
7772   grep -v '^ *+' conftest.er1 >conftest.err
7773   rm -f conftest.er1
7774   cat conftest.err >&5
7775   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7776   (exit $ac_status); } >/dev/null && {
7777          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7778          test ! -s conftest.err
7779        }; then
7780   # Broken: success on invalid input.
7781 continue
7782 else
7783   $as_echo "$as_me: failed program was:" >&5
7784 sed 's/^/| /' conftest.$ac_ext >&5
7785
7786   # Passes both tests.
7787 ac_preproc_ok=:
7788 break
7789 fi
7790
7791 rm -f conftest.err conftest.$ac_ext
7792
7793 done
7794 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7795 rm -f conftest.err conftest.$ac_ext
7796 if $ac_preproc_ok; then
7797   :
7798 else
7799   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7801 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7802 See \`config.log' for more details." >&5
7803 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7804 See \`config.log' for more details." >&2;}
7805    { (exit 1); exit 1; }; }; }
7806 fi
7807
7808 ac_ext=c
7809 ac_cpp='$CPP $CPPFLAGS'
7810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7813
7814
7815 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7816 $as_echo_n "checking for ANSI C header files... " >&6; }
7817 if test "${ac_cv_header_stdc+set}" = set; then
7818   $as_echo_n "(cached) " >&6
7819 else
7820   cat >conftest.$ac_ext <<_ACEOF
7821 /* confdefs.h.  */
7822 _ACEOF
7823 cat confdefs.h >>conftest.$ac_ext
7824 cat >>conftest.$ac_ext <<_ACEOF
7825 /* end confdefs.h.  */
7826 #include <stdlib.h>
7827 #include <stdarg.h>
7828 #include <string.h>
7829 #include <float.h>
7830
7831 int
7832 main ()
7833 {
7834
7835   ;
7836   return 0;
7837 }
7838 _ACEOF
7839 rm -f conftest.$ac_objext
7840 if { (ac_try="$ac_compile"
7841 case "(($ac_try" in
7842   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7843   *) ac_try_echo=$ac_try;;
7844 esac
7845 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7846 $as_echo "$ac_try_echo") >&5
7847   (eval "$ac_compile") 2>conftest.er1
7848   ac_status=$?
7849   grep -v '^ *+' conftest.er1 >conftest.err
7850   rm -f conftest.er1
7851   cat conftest.err >&5
7852   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7853   (exit $ac_status); } && {
7854          test -z "$ac_c_werror_flag" ||
7855          test ! -s conftest.err
7856        } && test -s conftest.$ac_objext; then
7857   ac_cv_header_stdc=yes
7858 else
7859   $as_echo "$as_me: failed program was:" >&5
7860 sed 's/^/| /' conftest.$ac_ext >&5
7861
7862         ac_cv_header_stdc=no
7863 fi
7864
7865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7866
7867 if test $ac_cv_header_stdc = yes; then
7868   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7869   cat >conftest.$ac_ext <<_ACEOF
7870 /* confdefs.h.  */
7871 _ACEOF
7872 cat confdefs.h >>conftest.$ac_ext
7873 cat >>conftest.$ac_ext <<_ACEOF
7874 /* end confdefs.h.  */
7875 #include <string.h>
7876
7877 _ACEOF
7878 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7879   $EGREP "memchr" >/dev/null 2>&1; then
7880   :
7881 else
7882   ac_cv_header_stdc=no
7883 fi
7884 rm -f conftest*
7885
7886 fi
7887
7888 if test $ac_cv_header_stdc = yes; then
7889   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7890   cat >conftest.$ac_ext <<_ACEOF
7891 /* confdefs.h.  */
7892 _ACEOF
7893 cat confdefs.h >>conftest.$ac_ext
7894 cat >>conftest.$ac_ext <<_ACEOF
7895 /* end confdefs.h.  */
7896 #include <stdlib.h>
7897
7898 _ACEOF
7899 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7900   $EGREP "free" >/dev/null 2>&1; then
7901   :
7902 else
7903   ac_cv_header_stdc=no
7904 fi
7905 rm -f conftest*
7906
7907 fi
7908
7909 if test $ac_cv_header_stdc = yes; then
7910   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7911   if test "$cross_compiling" = yes; then
7912   :
7913 else
7914   cat >conftest.$ac_ext <<_ACEOF
7915 /* confdefs.h.  */
7916 _ACEOF
7917 cat confdefs.h >>conftest.$ac_ext
7918 cat >>conftest.$ac_ext <<_ACEOF
7919 /* end confdefs.h.  */
7920 #include <ctype.h>
7921 #include <stdlib.h>
7922 #if ((' ' & 0x0FF) == 0x020)
7923 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7924 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7925 #else
7926 # define ISLOWER(c) \
7927                    (('a' <= (c) && (c) <= 'i') \
7928                      || ('j' <= (c) && (c) <= 'r') \
7929                      || ('s' <= (c) && (c) <= 'z'))
7930 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7931 #endif
7932
7933 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7934 int
7935 main ()
7936 {
7937   int i;
7938   for (i = 0; i < 256; i++)
7939     if (XOR (islower (i), ISLOWER (i))
7940         || toupper (i) != TOUPPER (i))
7941       return 2;
7942   return 0;
7943 }
7944 _ACEOF
7945 rm -f conftest$ac_exeext
7946 if { (ac_try="$ac_link"
7947 case "(($ac_try" in
7948   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7949   *) ac_try_echo=$ac_try;;
7950 esac
7951 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7952 $as_echo "$ac_try_echo") >&5
7953   (eval "$ac_link") 2>&5
7954   ac_status=$?
7955   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7956   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7957   { (case "(($ac_try" in
7958   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7959   *) ac_try_echo=$ac_try;;
7960 esac
7961 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7962 $as_echo "$ac_try_echo") >&5
7963   (eval "$ac_try") 2>&5
7964   ac_status=$?
7965   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7966   (exit $ac_status); }; }; then
7967   :
7968 else
7969   $as_echo "$as_me: program exited with status $ac_status" >&5
7970 $as_echo "$as_me: failed program was:" >&5
7971 sed 's/^/| /' conftest.$ac_ext >&5
7972
7973 ( exit $ac_status )
7974 ac_cv_header_stdc=no
7975 fi
7976 rm -rf conftest.dSYM
7977 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7978 fi
7979
7980
7981 fi
7982 fi
7983 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7984 $as_echo "$ac_cv_header_stdc" >&6; }
7985 if test $ac_cv_header_stdc = yes; then
7986
7987 cat >>confdefs.h <<\_ACEOF
7988 #define STDC_HEADERS 1
7989 _ACEOF
7990
7991 fi
7992
7993 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8004                   inttypes.h stdint.h unistd.h
8005 do
8006 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8007 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8008 $as_echo_n "checking for $ac_header... " >&6; }
8009 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8010   $as_echo_n "(cached) " >&6
8011 else
8012   cat >conftest.$ac_ext <<_ACEOF
8013 /* confdefs.h.  */
8014 _ACEOF
8015 cat confdefs.h >>conftest.$ac_ext
8016 cat >>conftest.$ac_ext <<_ACEOF
8017 /* end confdefs.h.  */
8018 $ac_includes_default
8019
8020 #include <$ac_header>
8021 _ACEOF
8022 rm -f conftest.$ac_objext
8023 if { (ac_try="$ac_compile"
8024 case "(($ac_try" in
8025   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8026   *) ac_try_echo=$ac_try;;
8027 esac
8028 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8029 $as_echo "$ac_try_echo") >&5
8030   (eval "$ac_compile") 2>conftest.er1
8031   ac_status=$?
8032   grep -v '^ *+' conftest.er1 >conftest.err
8033   rm -f conftest.er1
8034   cat conftest.err >&5
8035   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8036   (exit $ac_status); } && {
8037          test -z "$ac_c_werror_flag" ||
8038          test ! -s conftest.err
8039        } && test -s conftest.$ac_objext; then
8040   eval "$as_ac_Header=yes"
8041 else
8042   $as_echo "$as_me: failed program was:" >&5
8043 sed 's/^/| /' conftest.$ac_ext >&5
8044
8045         eval "$as_ac_Header=no"
8046 fi
8047
8048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8049 fi
8050 ac_res=`eval 'as_val=${'$as_ac_Header'}
8051                  $as_echo "$as_val"'`
8052                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8053 $as_echo "$ac_res" >&6; }
8054 as_val=`eval 'as_val=${'$as_ac_Header'}
8055                  $as_echo "$as_val"'`
8056    if test "x$as_val" = x""yes; then
8057   cat >>confdefs.h <<_ACEOF
8058 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8059 _ACEOF
8060
8061 fi
8062
8063 done
8064
8065
8066
8067 for ac_header in dlfcn.h
8068 do
8069 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8070 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8071 $as_echo_n "checking for $ac_header... " >&6; }
8072 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8073   $as_echo_n "(cached) " >&6
8074 else
8075   cat >conftest.$ac_ext <<_ACEOF
8076 /* confdefs.h.  */
8077 _ACEOF
8078 cat confdefs.h >>conftest.$ac_ext
8079 cat >>conftest.$ac_ext <<_ACEOF
8080 /* end confdefs.h.  */
8081 $ac_includes_default
8082
8083 #include <$ac_header>
8084 _ACEOF
8085 rm -f conftest.$ac_objext
8086 if { (ac_try="$ac_compile"
8087 case "(($ac_try" in
8088   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8089   *) ac_try_echo=$ac_try;;
8090 esac
8091 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8092 $as_echo "$ac_try_echo") >&5
8093   (eval "$ac_compile") 2>conftest.er1
8094   ac_status=$?
8095   grep -v '^ *+' conftest.er1 >conftest.err
8096   rm -f conftest.er1
8097   cat conftest.err >&5
8098   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8099   (exit $ac_status); } && {
8100          test -z "$ac_c_werror_flag" ||
8101          test ! -s conftest.err
8102        } && test -s conftest.$ac_objext; then
8103   eval "$as_ac_Header=yes"
8104 else
8105   $as_echo "$as_me: failed program was:" >&5
8106 sed 's/^/| /' conftest.$ac_ext >&5
8107
8108         eval "$as_ac_Header=no"
8109 fi
8110
8111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8112 fi
8113 ac_res=`eval 'as_val=${'$as_ac_Header'}
8114                  $as_echo "$as_val"'`
8115                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8116 $as_echo "$ac_res" >&6; }
8117 as_val=`eval 'as_val=${'$as_ac_Header'}
8118                  $as_echo "$as_val"'`
8119    if test "x$as_val" = x""yes; then
8120   cat >>confdefs.h <<_ACEOF
8121 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8122 _ACEOF
8123
8124 fi
8125
8126 done
8127
8128
8129
8130 # Set options
8131
8132
8133
8134         enable_dlopen=no
8135
8136
8137   enable_win32_dll=no
8138
8139
8140             # Check whether --enable-shared was given.
8141 if test "${enable_shared+set}" = set; then
8142   enableval=$enable_shared; p=${PACKAGE-default}
8143     case $enableval in
8144     yes) enable_shared=yes ;;
8145     no) enable_shared=no ;;
8146     *)
8147       enable_shared=no
8148       # Look at the argument we got.  We use all the common list separators.
8149       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8150       for pkg in $enableval; do
8151         IFS="$lt_save_ifs"
8152         if test "X$pkg" = "X$p"; then
8153           enable_shared=yes
8154         fi
8155       done
8156       IFS="$lt_save_ifs"
8157       ;;
8158     esac
8159 else
8160   enable_shared=yes
8161 fi
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171   # Check whether --enable-static was given.
8172 if test "${enable_static+set}" = set; then
8173   enableval=$enable_static; p=${PACKAGE-default}
8174     case $enableval in
8175     yes) enable_static=yes ;;
8176     no) enable_static=no ;;
8177     *)
8178      enable_static=no
8179       # Look at the argument we got.  We use all the common list separators.
8180       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8181       for pkg in $enableval; do
8182         IFS="$lt_save_ifs"
8183         if test "X$pkg" = "X$p"; then
8184           enable_static=yes
8185         fi
8186       done
8187       IFS="$lt_save_ifs"
8188       ;;
8189     esac
8190 else
8191   enable_static=yes
8192 fi
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203 # Check whether --with-pic was given.
8204 if test "${with_pic+set}" = set; then
8205   withval=$with_pic; pic_mode="$withval"
8206 else
8207   pic_mode=default
8208 fi
8209
8210
8211 test -z "$pic_mode" && pic_mode=default
8212
8213
8214
8215
8216
8217
8218
8219   # Check whether --enable-fast-install was given.
8220 if test "${enable_fast_install+set}" = set; then
8221   enableval=$enable_fast_install; p=${PACKAGE-default}
8222     case $enableval in
8223     yes) enable_fast_install=yes ;;
8224     no) enable_fast_install=no ;;
8225     *)
8226       enable_fast_install=no
8227       # Look at the argument we got.  We use all the common list separators.
8228       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8229       for pkg in $enableval; do
8230         IFS="$lt_save_ifs"
8231         if test "X$pkg" = "X$p"; then
8232           enable_fast_install=yes
8233         fi
8234       done
8235       IFS="$lt_save_ifs"
8236       ;;
8237     esac
8238 else
8239   enable_fast_install=yes
8240 fi
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252 # This can be used to rebuild libtool when needed
8253 LIBTOOL_DEPS="$ltmain"
8254
8255 # Always use our own libtool.
8256 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282 test -z "$LN_S" && LN_S="ln -s"
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297 if test -n "${ZSH_VERSION+set}" ; then
8298    setopt NO_GLOB_SUBST
8299 fi
8300
8301 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
8302 $as_echo_n "checking for objdir... " >&6; }
8303 if test "${lt_cv_objdir+set}" = set; then
8304   $as_echo_n "(cached) " >&6
8305 else
8306   rm -f .libs 2>/dev/null
8307 mkdir .libs 2>/dev/null
8308 if test -d .libs; then
8309   lt_cv_objdir=.libs
8310 else
8311   # MS-DOS does not allow filenames that begin with a dot.
8312   lt_cv_objdir=_libs
8313 fi
8314 rmdir .libs 2>/dev/null
8315 fi
8316 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8317 $as_echo "$lt_cv_objdir" >&6; }
8318 objdir=$lt_cv_objdir
8319
8320
8321
8322
8323
8324 cat >>confdefs.h <<_ACEOF
8325 #define LT_OBJDIR "$lt_cv_objdir/"
8326 _ACEOF
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344 case $host_os in
8345 aix3*)
8346   # AIX sometimes has problems with the GCC collect2 program.  For some
8347   # reason, if we set the COLLECT_NAMES environment variable, the problems
8348   # vanish in a puff of smoke.
8349   if test "X${COLLECT_NAMES+set}" != Xset; then
8350     COLLECT_NAMES=
8351     export COLLECT_NAMES
8352   fi
8353   ;;
8354 esac
8355
8356 # Sed substitution that helps us do robust quoting.  It backslashifies
8357 # metacharacters that are still active within double-quoted strings.
8358 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8359
8360 # Same as above, but do not quote variable references.
8361 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8362
8363 # Sed substitution to delay expansion of an escaped shell variable in a
8364 # double_quote_subst'ed string.
8365 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8366
8367 # Sed substitution to delay expansion of an escaped single quote.
8368 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8369
8370 # Sed substitution to avoid accidental globbing in evaled expressions
8371 no_glob_subst='s/\*/\\\*/g'
8372
8373 # Global variables:
8374 ofile=libtool
8375 can_build_shared=yes
8376
8377 # All known linkers require a `.a' archive for static linking (except MSVC,
8378 # which needs '.lib').
8379 libext=a
8380
8381 with_gnu_ld="$lt_cv_prog_gnu_ld"
8382
8383 old_CC="$CC"
8384 old_CFLAGS="$CFLAGS"
8385
8386 # Set sane defaults for various variables
8387 test -z "$CC" && CC=cc
8388 test -z "$LTCC" && LTCC=$CC
8389 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8390 test -z "$LD" && LD=ld
8391 test -z "$ac_objext" && ac_objext=o
8392
8393 for cc_temp in $compiler""; do
8394   case $cc_temp in
8395     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8396     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8397     \-*) ;;
8398     *) break;;
8399   esac
8400 done
8401 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8402
8403
8404 # Only perform the check for file, if the check method requires it
8405 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8406 case $deplibs_check_method in
8407 file_magic*)
8408   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8409     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8410 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8411 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8412   $as_echo_n "(cached) " >&6
8413 else
8414   case $MAGIC_CMD in
8415 [\\/*] |  ?:[\\/]*)
8416   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8417   ;;
8418 *)
8419   lt_save_MAGIC_CMD="$MAGIC_CMD"
8420   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8421   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8422   for ac_dir in $ac_dummy; do
8423     IFS="$lt_save_ifs"
8424     test -z "$ac_dir" && ac_dir=.
8425     if test -f $ac_dir/${ac_tool_prefix}file; then
8426       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8427       if test -n "$file_magic_test_file"; then
8428         case $deplibs_check_method in
8429         "file_magic "*)
8430           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8431           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8432           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8433             $EGREP "$file_magic_regex" > /dev/null; then
8434             :
8435           else
8436             cat <<_LT_EOF 1>&2
8437
8438 *** Warning: the command libtool uses to detect shared libraries,
8439 *** $file_magic_cmd, produces output that libtool cannot recognize.
8440 *** The result is that libtool may fail to recognize shared libraries
8441 *** as such.  This will affect the creation of libtool libraries that
8442 *** depend on shared libraries, but programs linked with such libtool
8443 *** libraries will work regardless of this problem.  Nevertheless, you
8444 *** may want to report the problem to your system manager and/or to
8445 *** bug-libtool@gnu.org
8446
8447 _LT_EOF
8448           fi ;;
8449         esac
8450       fi
8451       break
8452     fi
8453   done
8454   IFS="$lt_save_ifs"
8455   MAGIC_CMD="$lt_save_MAGIC_CMD"
8456   ;;
8457 esac
8458 fi
8459
8460 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8461 if test -n "$MAGIC_CMD"; then
8462   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8463 $as_echo "$MAGIC_CMD" >&6; }
8464 else
8465   { $as_echo "$as_me:$LINENO: result: no" >&5
8466 $as_echo "no" >&6; }
8467 fi
8468
8469
8470
8471
8472
8473 if test -z "$lt_cv_path_MAGIC_CMD"; then
8474   if test -n "$ac_tool_prefix"; then
8475     { $as_echo "$as_me:$LINENO: checking for file" >&5
8476 $as_echo_n "checking for file... " >&6; }
8477 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8478   $as_echo_n "(cached) " >&6
8479 else
8480   case $MAGIC_CMD in
8481 [\\/*] |  ?:[\\/]*)
8482   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8483   ;;
8484 *)
8485   lt_save_MAGIC_CMD="$MAGIC_CMD"
8486   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8487   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8488   for ac_dir in $ac_dummy; do
8489     IFS="$lt_save_ifs"
8490     test -z "$ac_dir" && ac_dir=.
8491     if test -f $ac_dir/file; then
8492       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8493       if test -n "$file_magic_test_file"; then
8494         case $deplibs_check_method in
8495         "file_magic "*)
8496           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8497           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8498           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8499             $EGREP "$file_magic_regex" > /dev/null; then
8500             :
8501           else
8502             cat <<_LT_EOF 1>&2
8503
8504 *** Warning: the command libtool uses to detect shared libraries,
8505 *** $file_magic_cmd, produces output that libtool cannot recognize.
8506 *** The result is that libtool may fail to recognize shared libraries
8507 *** as such.  This will affect the creation of libtool libraries that
8508 *** depend on shared libraries, but programs linked with such libtool
8509 *** libraries will work regardless of this problem.  Nevertheless, you
8510 *** may want to report the problem to your system manager and/or to
8511 *** bug-libtool@gnu.org
8512
8513 _LT_EOF
8514           fi ;;
8515         esac
8516       fi
8517       break
8518     fi
8519   done
8520   IFS="$lt_save_ifs"
8521   MAGIC_CMD="$lt_save_MAGIC_CMD"
8522   ;;
8523 esac
8524 fi
8525
8526 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8527 if test -n "$MAGIC_CMD"; then
8528   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8529 $as_echo "$MAGIC_CMD" >&6; }
8530 else
8531   { $as_echo "$as_me:$LINENO: result: no" >&5
8532 $as_echo "no" >&6; }
8533 fi
8534
8535
8536   else
8537     MAGIC_CMD=:
8538   fi
8539 fi
8540
8541   fi
8542   ;;
8543 esac
8544
8545 # Use C for the default configuration in the libtool script
8546
8547 lt_save_CC="$CC"
8548 ac_ext=c
8549 ac_cpp='$CPP $CPPFLAGS'
8550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8553
8554
8555 # Source file extension for C test sources.
8556 ac_ext=c
8557
8558 # Object file extension for compiled C test sources.
8559 objext=o
8560 objext=$objext
8561
8562 # Code to be used in simple compile tests
8563 lt_simple_compile_test_code="int some_variable = 0;"
8564
8565 # Code to be used in simple link tests
8566 lt_simple_link_test_code='int main(){return(0);}'
8567
8568
8569
8570
8571
8572
8573
8574 # If no C compiler was specified, use CC.
8575 LTCC=${LTCC-"$CC"}
8576
8577 # If no C compiler flags were specified, use CFLAGS.
8578 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8579
8580 # Allow CC to be a program name with arguments.
8581 compiler=$CC
8582
8583 # Save the default compiler, since it gets overwritten when the other
8584 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8585 compiler_DEFAULT=$CC
8586
8587 # save warnings/boilerplate of simple test code
8588 ac_outfile=conftest.$ac_objext
8589 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8590 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8591 _lt_compiler_boilerplate=`cat conftest.err`
8592 $RM conftest*
8593
8594 ac_outfile=conftest.$ac_objext
8595 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8596 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8597 _lt_linker_boilerplate=`cat conftest.err`
8598 $RM -r conftest*
8599
8600
8601 if test -n "$compiler"; then
8602
8603 lt_prog_compiler_no_builtin_flag=
8604
8605 if test "$GCC" = yes; then
8606   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8607
8608   { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8609 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8610 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8611   $as_echo_n "(cached) " >&6
8612 else
8613   lt_cv_prog_compiler_rtti_exceptions=no
8614    ac_outfile=conftest.$ac_objext
8615    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8616    lt_compiler_flag="-fno-rtti -fno-exceptions"
8617    # Insert the option either (1) after the last *FLAGS variable, or
8618    # (2) before a word containing "conftest.", or (3) at the end.
8619    # Note that $ac_compile itself does not contain backslashes and begins
8620    # with a dollar sign (not a hyphen), so the echo should work correctly.
8621    # The option is referenced via a variable to avoid confusing sed.
8622    lt_compile=`echo "$ac_compile" | $SED \
8623    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8624    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8625    -e 's:$: $lt_compiler_flag:'`
8626    (eval echo "\"\$as_me:8626: $lt_compile\"" >&5)
8627    (eval "$lt_compile" 2>conftest.err)
8628    ac_status=$?
8629    cat conftest.err >&5
8630    echo "$as_me:8630: \$? = $ac_status" >&5
8631    if (exit $ac_status) && test -s "$ac_outfile"; then
8632      # The compiler can only warn and ignore the option if not recognized
8633      # So say no if there are warnings other than the usual output.
8634      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8635      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8636      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8637        lt_cv_prog_compiler_rtti_exceptions=yes
8638      fi
8639    fi
8640    $RM conftest*
8641
8642 fi
8643 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8644 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8645
8646 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8647     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8648 else
8649     :
8650 fi
8651
8652 fi
8653
8654
8655
8656
8657
8658
8659   lt_prog_compiler_wl=
8660 lt_prog_compiler_pic=
8661 lt_prog_compiler_static=
8662
8663 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8664 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8665
8666   if test "$GCC" = yes; then
8667     lt_prog_compiler_wl='-Wl,'
8668     lt_prog_compiler_static='-static'
8669
8670     case $host_os in
8671       aix*)
8672       # All AIX code is PIC.
8673       if test "$host_cpu" = ia64; then
8674         # AIX 5 now supports IA64 processor
8675         lt_prog_compiler_static='-Bstatic'
8676       fi
8677       ;;
8678
8679     amigaos*)
8680       case $host_cpu in
8681       powerpc)
8682             # see comment about AmigaOS4 .so support
8683             lt_prog_compiler_pic='-fPIC'
8684         ;;
8685       m68k)
8686             # FIXME: we need at least 68020 code to build shared libraries, but
8687             # adding the `-m68020' flag to GCC prevents building anything better,
8688             # like `-m68040'.
8689             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8690         ;;
8691       esac
8692       ;;
8693
8694     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8695       # PIC is the default for these OSes.
8696       ;;
8697
8698     mingw* | cygwin* | pw32* | os2* | cegcc*)
8699       # This hack is so that the source file can tell whether it is being
8700       # built for inclusion in a dll (and should export symbols for example).
8701       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8702       # (--disable-auto-import) libraries
8703       lt_prog_compiler_pic='-DDLL_EXPORT'
8704       ;;
8705
8706     darwin* | rhapsody*)
8707       # PIC is the default on this platform
8708       # Common symbols not allowed in MH_DYLIB files
8709       lt_prog_compiler_pic='-fno-common'
8710       ;;
8711
8712     hpux*)
8713       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8714       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8715       # sets the default TLS model and affects inlining.
8716       case $host_cpu in
8717       hppa*64*)
8718         # +Z the default
8719         ;;
8720       *)
8721         lt_prog_compiler_pic='-fPIC'
8722         ;;
8723       esac
8724       ;;
8725
8726     interix[3-9]*)
8727       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8728       # Instead, we relocate shared libraries at runtime.
8729       ;;
8730
8731     msdosdjgpp*)
8732       # Just because we use GCC doesn't mean we suddenly get shared libraries
8733       # on systems that don't support them.
8734       lt_prog_compiler_can_build_shared=no
8735       enable_shared=no
8736       ;;
8737
8738     *nto* | *qnx*)
8739       # QNX uses GNU C++, but need to define -shared option too, otherwise
8740       # it will coredump.
8741       lt_prog_compiler_pic='-fPIC -shared'
8742       ;;
8743
8744     sysv4*MP*)
8745       if test -d /usr/nec; then
8746         lt_prog_compiler_pic=-Kconform_pic
8747       fi
8748       ;;
8749
8750     *)
8751       lt_prog_compiler_pic='-fPIC'
8752       ;;
8753     esac
8754   else
8755     # PORTME Check for flag to pass linker flags through the system compiler.
8756     case $host_os in
8757     aix*)
8758       lt_prog_compiler_wl='-Wl,'
8759       if test "$host_cpu" = ia64; then
8760         # AIX 5 now supports IA64 processor
8761         lt_prog_compiler_static='-Bstatic'
8762       else
8763         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8764       fi
8765       ;;
8766
8767     mingw* | cygwin* | pw32* | os2* | cegcc*)
8768       # This hack is so that the source file can tell whether it is being
8769       # built for inclusion in a dll (and should export symbols for example).
8770       lt_prog_compiler_pic='-DDLL_EXPORT'
8771       ;;
8772
8773     hpux9* | hpux10* | hpux11*)
8774       lt_prog_compiler_wl='-Wl,'
8775       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8776       # not for PA HP-UX.
8777       case $host_cpu in
8778       hppa*64*|ia64*)
8779         # +Z the default
8780         ;;
8781       *)
8782         lt_prog_compiler_pic='+Z'
8783         ;;
8784       esac
8785       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8786       lt_prog_compiler_static='${wl}-a ${wl}archive'
8787       ;;
8788
8789     irix5* | irix6* | nonstopux*)
8790       lt_prog_compiler_wl='-Wl,'
8791       # PIC (with -KPIC) is the default.
8792       lt_prog_compiler_static='-non_shared'
8793       ;;
8794
8795     linux* | k*bsd*-gnu)
8796       case $cc_basename in
8797       # old Intel for x86_64 which still supported -KPIC.
8798       ecc*)
8799         lt_prog_compiler_wl='-Wl,'
8800         lt_prog_compiler_pic='-KPIC'
8801         lt_prog_compiler_static='-static'
8802         ;;
8803       # icc used to be incompatible with GCC.
8804       # ICC 10 doesn't accept -KPIC any more.
8805       icc* | ifort*)
8806         lt_prog_compiler_wl='-Wl,'
8807         lt_prog_compiler_pic='-fPIC'
8808         lt_prog_compiler_static='-static'
8809         ;;
8810       # Lahey Fortran 8.1.
8811       lf95*)
8812         lt_prog_compiler_wl='-Wl,'
8813         lt_prog_compiler_pic='--shared'
8814         lt_prog_compiler_static='--static'
8815         ;;
8816       pgcc* | pgf77* | pgf90* | pgf95*)
8817         # Portland Group compilers (*not* the Pentium gcc compiler,
8818         # which looks to be a dead project)
8819         lt_prog_compiler_wl='-Wl,'
8820         lt_prog_compiler_pic='-fpic'
8821         lt_prog_compiler_static='-Bstatic'
8822         ;;
8823       ccc*)
8824         lt_prog_compiler_wl='-Wl,'
8825         # All Alpha code is PIC.
8826         lt_prog_compiler_static='-non_shared'
8827         ;;
8828       xl*)
8829         # IBM XL C 8.0/Fortran 10.1 on PPC
8830         lt_prog_compiler_wl='-Wl,'
8831         lt_prog_compiler_pic='-qpic'
8832         lt_prog_compiler_static='-qstaticlink'
8833         ;;
8834       *)
8835         case `$CC -V 2>&1 | sed 5q` in
8836         *Sun\ C*)
8837           # Sun C 5.9
8838           lt_prog_compiler_pic='-KPIC'
8839           lt_prog_compiler_static='-Bstatic'
8840           lt_prog_compiler_wl='-Wl,'
8841           ;;
8842         *Sun\ F*)
8843           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8844           lt_prog_compiler_pic='-KPIC'
8845           lt_prog_compiler_static='-Bstatic'
8846           lt_prog_compiler_wl=''
8847           ;;
8848         esac
8849         ;;
8850       esac
8851       ;;
8852
8853     newsos6)
8854       lt_prog_compiler_pic='-KPIC'
8855       lt_prog_compiler_static='-Bstatic'
8856       ;;
8857
8858     *nto* | *qnx*)
8859       # QNX uses GNU C++, but need to define -shared option too, otherwise
8860       # it will coredump.
8861       lt_prog_compiler_pic='-fPIC -shared'
8862       ;;
8863
8864     osf3* | osf4* | osf5*)
8865       lt_prog_compiler_wl='-Wl,'
8866       # All OSF/1 code is PIC.
8867       lt_prog_compiler_static='-non_shared'
8868       ;;
8869
8870     rdos*)
8871       lt_prog_compiler_static='-non_shared'
8872       ;;
8873
8874     solaris*)
8875       lt_prog_compiler_pic='-KPIC'
8876       lt_prog_compiler_static='-Bstatic'
8877       case $cc_basename in
8878       f77* | f90* | f95*)
8879         lt_prog_compiler_wl='-Qoption ld ';;
8880       *)
8881         lt_prog_compiler_wl='-Wl,';;
8882       esac
8883       ;;
8884
8885     sunos4*)
8886       lt_prog_compiler_wl='-Qoption ld '
8887       lt_prog_compiler_pic='-PIC'
8888       lt_prog_compiler_static='-Bstatic'
8889       ;;
8890
8891     sysv4 | sysv4.2uw2* | sysv4.3*)
8892       lt_prog_compiler_wl='-Wl,'
8893       lt_prog_compiler_pic='-KPIC'
8894       lt_prog_compiler_static='-Bstatic'
8895       ;;
8896
8897     sysv4*MP*)
8898       if test -d /usr/nec ;then
8899         lt_prog_compiler_pic='-Kconform_pic'
8900         lt_prog_compiler_static='-Bstatic'
8901       fi
8902       ;;
8903
8904     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8905       lt_prog_compiler_wl='-Wl,'
8906       lt_prog_compiler_pic='-KPIC'
8907       lt_prog_compiler_static='-Bstatic'
8908       ;;
8909
8910     unicos*)
8911       lt_prog_compiler_wl='-Wl,'
8912       lt_prog_compiler_can_build_shared=no
8913       ;;
8914
8915     uts4*)
8916       lt_prog_compiler_pic='-pic'
8917       lt_prog_compiler_static='-Bstatic'
8918       ;;
8919
8920     *)
8921       lt_prog_compiler_can_build_shared=no
8922       ;;
8923     esac
8924   fi
8925
8926 case $host_os in
8927   # For platforms which do not support PIC, -DPIC is meaningless:
8928   *djgpp*)
8929     lt_prog_compiler_pic=
8930     ;;
8931   *)
8932     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8933     ;;
8934 esac
8935 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8936 $as_echo "$lt_prog_compiler_pic" >&6; }
8937
8938
8939
8940
8941
8942
8943 #
8944 # Check to make sure the PIC flag actually works.
8945 #
8946 if test -n "$lt_prog_compiler_pic"; then
8947   { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8948 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8949 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8950   $as_echo_n "(cached) " >&6
8951 else
8952   lt_cv_prog_compiler_pic_works=no
8953    ac_outfile=conftest.$ac_objext
8954    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8955    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8956    # Insert the option either (1) after the last *FLAGS variable, or
8957    # (2) before a word containing "conftest.", or (3) at the end.
8958    # Note that $ac_compile itself does not contain backslashes and begins
8959    # with a dollar sign (not a hyphen), so the echo should work correctly.
8960    # The option is referenced via a variable to avoid confusing sed.
8961    lt_compile=`echo "$ac_compile" | $SED \
8962    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8963    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8964    -e 's:$: $lt_compiler_flag:'`
8965    (eval echo "\"\$as_me:8965: $lt_compile\"" >&5)
8966    (eval "$lt_compile" 2>conftest.err)
8967    ac_status=$?
8968    cat conftest.err >&5
8969    echo "$as_me:8969: \$? = $ac_status" >&5
8970    if (exit $ac_status) && test -s "$ac_outfile"; then
8971      # The compiler can only warn and ignore the option if not recognized
8972      # So say no if there are warnings other than the usual output.
8973      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8974      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8975      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8976        lt_cv_prog_compiler_pic_works=yes
8977      fi
8978    fi
8979    $RM conftest*
8980
8981 fi
8982 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8983 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8984
8985 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8986     case $lt_prog_compiler_pic in
8987      "" | " "*) ;;
8988      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8989      esac
8990 else
8991     lt_prog_compiler_pic=
8992      lt_prog_compiler_can_build_shared=no
8993 fi
8994
8995 fi
8996
8997
8998
8999
9000
9001
9002 #
9003 # Check to make sure the static flag actually works.
9004 #
9005 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9006 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9007 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9008 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
9009   $as_echo_n "(cached) " >&6
9010 else
9011   lt_cv_prog_compiler_static_works=no
9012    save_LDFLAGS="$LDFLAGS"
9013    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9014    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9015    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9016      # The linker can only warn and ignore the option if not recognized
9017      # So say no if there are warnings
9018      if test -s conftest.err; then
9019        # Append any errors to the config.log.
9020        cat conftest.err 1>&5
9021        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9022        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9023        if diff conftest.exp conftest.er2 >/dev/null; then
9024          lt_cv_prog_compiler_static_works=yes
9025        fi
9026      else
9027        lt_cv_prog_compiler_static_works=yes
9028      fi
9029    fi
9030    $RM -r conftest*
9031    LDFLAGS="$save_LDFLAGS"
9032
9033 fi
9034 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
9035 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9036
9037 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9038     :
9039 else
9040     lt_prog_compiler_static=
9041 fi
9042
9043
9044
9045
9046
9047
9048
9049   { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9050 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9051 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9052   $as_echo_n "(cached) " >&6
9053 else
9054   lt_cv_prog_compiler_c_o=no
9055    $RM -r conftest 2>/dev/null
9056    mkdir conftest
9057    cd conftest
9058    mkdir out
9059    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9060
9061    lt_compiler_flag="-o out/conftest2.$ac_objext"
9062    # Insert the option either (1) after the last *FLAGS variable, or
9063    # (2) before a word containing "conftest.", or (3) at the end.
9064    # Note that $ac_compile itself does not contain backslashes and begins
9065    # with a dollar sign (not a hyphen), so the echo should work correctly.
9066    lt_compile=`echo "$ac_compile" | $SED \
9067    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9068    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9069    -e 's:$: $lt_compiler_flag:'`
9070    (eval echo "\"\$as_me:9070: $lt_compile\"" >&5)
9071    (eval "$lt_compile" 2>out/conftest.err)
9072    ac_status=$?
9073    cat out/conftest.err >&5
9074    echo "$as_me:9074: \$? = $ac_status" >&5
9075    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9076    then
9077      # The compiler can only warn and ignore the option if not recognized
9078      # So say no if there are warnings
9079      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9080      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9081      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9082        lt_cv_prog_compiler_c_o=yes
9083      fi
9084    fi
9085    chmod u+w . 2>&5
9086    $RM conftest*
9087    # SGI C++ compiler will create directory out/ii_files/ for
9088    # template instantiation
9089    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9090    $RM out/* && rmdir out
9091    cd ..
9092    $RM -r conftest
9093    $RM conftest*
9094
9095 fi
9096 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9097 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9098
9099
9100
9101
9102
9103
9104   { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9105 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9106 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9107   $as_echo_n "(cached) " >&6
9108 else
9109   lt_cv_prog_compiler_c_o=no
9110    $RM -r conftest 2>/dev/null
9111    mkdir conftest
9112    cd conftest
9113    mkdir out
9114    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9115
9116    lt_compiler_flag="-o out/conftest2.$ac_objext"
9117    # Insert the option either (1) after the last *FLAGS variable, or
9118    # (2) before a word containing "conftest.", or (3) at the end.
9119    # Note that $ac_compile itself does not contain backslashes and begins
9120    # with a dollar sign (not a hyphen), so the echo should work correctly.
9121    lt_compile=`echo "$ac_compile" | $SED \
9122    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9123    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9124    -e 's:$: $lt_compiler_flag:'`
9125    (eval echo "\"\$as_me:9125: $lt_compile\"" >&5)
9126    (eval "$lt_compile" 2>out/conftest.err)
9127    ac_status=$?
9128    cat out/conftest.err >&5
9129    echo "$as_me:9129: \$? = $ac_status" >&5
9130    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9131    then
9132      # The compiler can only warn and ignore the option if not recognized
9133      # So say no if there are warnings
9134      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9135      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9136      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9137        lt_cv_prog_compiler_c_o=yes
9138      fi
9139    fi
9140    chmod u+w . 2>&5
9141    $RM conftest*
9142    # SGI C++ compiler will create directory out/ii_files/ for
9143    # template instantiation
9144    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9145    $RM out/* && rmdir out
9146    cd ..
9147    $RM -r conftest
9148    $RM conftest*
9149
9150 fi
9151 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9152 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9153
9154
9155
9156
9157 hard_links="nottested"
9158 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9159   # do not overwrite the value of need_locks provided by the user
9160   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9161 $as_echo_n "checking if we can lock with hard links... " >&6; }
9162   hard_links=yes
9163   $RM conftest*
9164   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9165   touch conftest.a
9166   ln conftest.a conftest.b 2>&5 || hard_links=no
9167   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9168   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
9169 $as_echo "$hard_links" >&6; }
9170   if test "$hard_links" = no; then
9171     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9172 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9173     need_locks=warn
9174   fi
9175 else
9176   need_locks=no
9177 fi
9178
9179
9180
9181
9182
9183
9184   { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9185 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9186
9187   runpath_var=
9188   allow_undefined_flag=
9189   always_export_symbols=no
9190   archive_cmds=
9191   archive_expsym_cmds=
9192   compiler_needs_object=no
9193   enable_shared_with_static_runtimes=no
9194   export_dynamic_flag_spec=
9195   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9196   hardcode_automatic=no
9197   hardcode_direct=no
9198   hardcode_direct_absolute=no
9199   hardcode_libdir_flag_spec=
9200   hardcode_libdir_flag_spec_ld=
9201   hardcode_libdir_separator=
9202   hardcode_minus_L=no
9203   hardcode_shlibpath_var=unsupported
9204   inherit_rpath=no
9205   link_all_deplibs=unknown
9206   module_cmds=
9207   module_expsym_cmds=
9208   old_archive_from_new_cmds=
9209   old_archive_from_expsyms_cmds=
9210   thread_safe_flag_spec=
9211   whole_archive_flag_spec=
9212   # include_expsyms should be a list of space-separated symbols to be *always*
9213   # included in the symbol list
9214   include_expsyms=
9215   # exclude_expsyms can be an extended regexp of symbols to exclude
9216   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9217   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9218   # as well as any symbol that contains `d'.
9219   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9220   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9221   # platforms (ab)use it in PIC code, but their linkers get confused if
9222   # the symbol is explicitly referenced.  Since portable code cannot
9223   # rely on this symbol name, it's probably fine to never include it in
9224   # preloaded symbol tables.
9225   # Exclude shared library initialization/finalization symbols.
9226   extract_expsyms_cmds=
9227
9228   case $host_os in
9229   cygwin* | mingw* | pw32* | cegcc*)
9230     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9231     # When not using gcc, we currently assume that we are using
9232     # Microsoft Visual C++.
9233     if test "$GCC" != yes; then
9234       with_gnu_ld=no
9235     fi
9236     ;;
9237   interix*)
9238     # we just hope/assume this is gcc and not c89 (= MSVC++)
9239     with_gnu_ld=yes
9240     ;;
9241   openbsd*)
9242     with_gnu_ld=no
9243     ;;
9244   esac
9245
9246   ld_shlibs=yes
9247   if test "$with_gnu_ld" = yes; then
9248     # If archive_cmds runs LD, not CC, wlarc should be empty
9249     wlarc='${wl}'
9250
9251     # Set some defaults for GNU ld with shared library support. These
9252     # are reset later if shared libraries are not supported. Putting them
9253     # here allows them to be overridden if necessary.
9254     runpath_var=LD_RUN_PATH
9255     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9256     export_dynamic_flag_spec='${wl}--export-dynamic'
9257     # ancient GNU ld didn't support --whole-archive et. al.
9258     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9259       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9260     else
9261       whole_archive_flag_spec=
9262     fi
9263     supports_anon_versioning=no
9264     case `$LD -v 2>&1` in
9265       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9266       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9267       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9268       *\ 2.11.*) ;; # other 2.11 versions
9269       *) supports_anon_versioning=yes ;;
9270     esac
9271
9272     # See if GNU ld supports shared libraries.
9273     case $host_os in
9274     aix[3-9]*)
9275       # On AIX/PPC, the GNU linker is very broken
9276       if test "$host_cpu" != ia64; then
9277         ld_shlibs=no
9278         cat <<_LT_EOF 1>&2
9279
9280 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9281 *** to be unable to reliably create shared libraries on AIX.
9282 *** Therefore, libtool is disabling shared libraries support.  If you
9283 *** really care for shared libraries, you may want to modify your PATH
9284 *** so that a non-GNU linker is found, and then restart.
9285
9286 _LT_EOF
9287       fi
9288       ;;
9289
9290     amigaos*)
9291       case $host_cpu in
9292       powerpc)
9293             # see comment about AmigaOS4 .so support
9294             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9295             archive_expsym_cmds=''
9296         ;;
9297       m68k)
9298             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)'
9299             hardcode_libdir_flag_spec='-L$libdir'
9300             hardcode_minus_L=yes
9301         ;;
9302       esac
9303       ;;
9304
9305     beos*)
9306       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9307         allow_undefined_flag=unsupported
9308         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9309         # support --undefined.  This deserves some investigation.  FIXME
9310         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9311       else
9312         ld_shlibs=no
9313       fi
9314       ;;
9315
9316     cygwin* | mingw* | pw32* | cegcc*)
9317       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9318       # as there is no search path for DLLs.
9319       hardcode_libdir_flag_spec='-L$libdir'
9320       allow_undefined_flag=unsupported
9321       always_export_symbols=no
9322       enable_shared_with_static_runtimes=yes
9323       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9324
9325       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9326         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9327         # If the export-symbols file already is a .def file (1st line
9328         # is EXPORTS), use it as is; otherwise, prepend...
9329         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9330           cp $export_symbols $output_objdir/$soname.def;
9331         else
9332           echo EXPORTS > $output_objdir/$soname.def;
9333           cat $export_symbols >> $output_objdir/$soname.def;
9334         fi~
9335         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9336       else
9337         ld_shlibs=no
9338       fi
9339       ;;
9340
9341     interix[3-9]*)
9342       hardcode_direct=no
9343       hardcode_shlibpath_var=no
9344       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9345       export_dynamic_flag_spec='${wl}-E'
9346       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9347       # Instead, shared libraries are loaded at an image base (0x10000000 by
9348       # default) and relocated if they conflict, which is a slow very memory
9349       # consuming and fragmenting process.  To avoid this, we pick a random,
9350       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9351       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9352       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9353       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'
9354       ;;
9355
9356     gnu* | linux* | tpf* | k*bsd*-gnu)
9357       tmp_diet=no
9358       if test "$host_os" = linux-dietlibc; then
9359         case $cc_basename in
9360           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9361         esac
9362       fi
9363       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9364          && test "$tmp_diet" = no
9365       then
9366         tmp_addflag=
9367         tmp_sharedflag='-shared'
9368         case $cc_basename,$host_cpu in
9369         pgcc*)                          # Portland Group C compiler
9370           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'
9371           tmp_addflag=' $pic_flag'
9372           ;;
9373         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9374           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'
9375           tmp_addflag=' $pic_flag -Mnomain' ;;
9376         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9377           tmp_addflag=' -i_dynamic' ;;
9378         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9379           tmp_addflag=' -i_dynamic -nofor_main' ;;
9380         ifc* | ifort*)                  # Intel Fortran compiler
9381           tmp_addflag=' -nofor_main' ;;
9382         lf95*)                          # Lahey Fortran 8.1
9383           whole_archive_flag_spec=
9384           tmp_sharedflag='--shared' ;;
9385         xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9386           tmp_sharedflag='-qmkshrobj'
9387           tmp_addflag= ;;
9388         esac
9389         case `$CC -V 2>&1 | sed 5q` in
9390         *Sun\ C*)                       # Sun C 5.9
9391           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9392           compiler_needs_object=yes
9393           tmp_sharedflag='-G' ;;
9394         *Sun\ F*)                       # Sun Fortran 8.3
9395           tmp_sharedflag='-G' ;;
9396         esac
9397         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9398
9399         if test "x$supports_anon_versioning" = xyes; then
9400           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9401             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9402             echo "local: *; };" >> $output_objdir/$libname.ver~
9403             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9404         fi
9405
9406         case $cc_basename in
9407         xlf*)
9408           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9409           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9410           hardcode_libdir_flag_spec=
9411           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9412           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9413           if test "x$supports_anon_versioning" = xyes; then
9414             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9415               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9416               echo "local: *; };" >> $output_objdir/$libname.ver~
9417               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9418           fi
9419           ;;
9420         esac
9421       else
9422         ld_shlibs=no
9423       fi
9424       ;;
9425
9426     netbsd*)
9427       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9428         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9429         wlarc=
9430       else
9431         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9432         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9433       fi
9434       ;;
9435
9436     solaris*)
9437       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9438         ld_shlibs=no
9439         cat <<_LT_EOF 1>&2
9440
9441 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9442 *** create shared libraries on Solaris systems.  Therefore, libtool
9443 *** is disabling shared libraries support.  We urge you to upgrade GNU
9444 *** binutils to release 2.9.1 or newer.  Another option is to modify
9445 *** your PATH or compiler configuration so that the native linker is
9446 *** used, and then restart.
9447
9448 _LT_EOF
9449       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9450         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9451         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9452       else
9453         ld_shlibs=no
9454       fi
9455       ;;
9456
9457     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9458       case `$LD -v 2>&1` in
9459         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9460         ld_shlibs=no
9461         cat <<_LT_EOF 1>&2
9462
9463 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9464 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9465 *** is disabling shared libraries support.  We urge you to upgrade GNU
9466 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9467 *** your PATH or compiler configuration so that the native linker is
9468 *** used, and then restart.
9469
9470 _LT_EOF
9471         ;;
9472         *)
9473           # For security reasons, it is highly recommended that you always
9474           # use absolute paths for naming shared libraries, and exclude the
9475           # DT_RUNPATH tag from executables and libraries.  But doing so
9476           # requires that you compile everything twice, which is a pain.
9477           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9478             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9479             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9480             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9481           else
9482             ld_shlibs=no
9483           fi
9484         ;;
9485       esac
9486       ;;
9487
9488     sunos4*)
9489       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9490       wlarc=
9491       hardcode_direct=yes
9492       hardcode_shlibpath_var=no
9493       ;;
9494
9495     *)
9496       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9497         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9498         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9499       else
9500         ld_shlibs=no
9501       fi
9502       ;;
9503     esac
9504
9505     if test "$ld_shlibs" = no; then
9506       runpath_var=
9507       hardcode_libdir_flag_spec=
9508       export_dynamic_flag_spec=
9509       whole_archive_flag_spec=
9510     fi
9511   else
9512     # PORTME fill in a description of your system's linker (not GNU ld)
9513     case $host_os in
9514     aix3*)
9515       allow_undefined_flag=unsupported
9516       always_export_symbols=yes
9517       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'
9518       # Note: this linker hardcodes the directories in LIBPATH if there
9519       # are no directories specified by -L.
9520       hardcode_minus_L=yes
9521       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9522         # Neither direct hardcoding nor static linking is supported with a
9523         # broken collect2.
9524         hardcode_direct=unsupported
9525       fi
9526       ;;
9527
9528     aix[4-9]*)
9529       if test "$host_cpu" = ia64; then
9530         # On IA64, the linker does run time linking by default, so we don't
9531         # have to do anything special.
9532         aix_use_runtimelinking=no
9533         exp_sym_flag='-Bexport'
9534         no_entry_flag=""
9535       else
9536         # If we're using GNU nm, then we don't want the "-C" option.
9537         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9538         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9539           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'
9540         else
9541           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'
9542         fi
9543         aix_use_runtimelinking=no
9544
9545         # Test if we are trying to use run time linking or normal
9546         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9547         # need to do runtime linking.
9548         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9549           for ld_flag in $LDFLAGS; do
9550           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9551             aix_use_runtimelinking=yes
9552             break
9553           fi
9554           done
9555           ;;
9556         esac
9557
9558         exp_sym_flag='-bexport'
9559         no_entry_flag='-bnoentry'
9560       fi
9561
9562       # When large executables or shared objects are built, AIX ld can
9563       # have problems creating the table of contents.  If linking a library
9564       # or program results in "error TOC overflow" add -mminimal-toc to
9565       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9566       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9567
9568       archive_cmds=''
9569       hardcode_direct=yes
9570       hardcode_direct_absolute=yes
9571       hardcode_libdir_separator=':'
9572       link_all_deplibs=yes
9573       file_list_spec='${wl}-f,'
9574
9575       if test "$GCC" = yes; then
9576         case $host_os in aix4.[012]|aix4.[012].*)
9577         # We only want to do this on AIX 4.2 and lower, the check
9578         # below for broken collect2 doesn't work under 4.3+
9579           collect2name=`${CC} -print-prog-name=collect2`
9580           if test -f "$collect2name" &&
9581            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9582           then
9583           # We have reworked collect2
9584           :
9585           else
9586           # We have old collect2
9587           hardcode_direct=unsupported
9588           # It fails to find uninstalled libraries when the uninstalled
9589           # path is not listed in the libpath.  Setting hardcode_minus_L
9590           # to unsupported forces relinking
9591           hardcode_minus_L=yes
9592           hardcode_libdir_flag_spec='-L$libdir'
9593           hardcode_libdir_separator=
9594           fi
9595           ;;
9596         esac
9597         shared_flag='-shared'
9598         if test "$aix_use_runtimelinking" = yes; then
9599           shared_flag="$shared_flag "'${wl}-G'
9600         fi
9601       else
9602         # not using gcc
9603         if test "$host_cpu" = ia64; then
9604         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9605         # chokes on -Wl,-G. The following line is correct:
9606           shared_flag='-G'
9607         else
9608           if test "$aix_use_runtimelinking" = yes; then
9609             shared_flag='${wl}-G'
9610           else
9611             shared_flag='${wl}-bM:SRE'
9612           fi
9613         fi
9614       fi
9615
9616       export_dynamic_flag_spec='${wl}-bexpall'
9617       # It seems that -bexpall does not export symbols beginning with
9618       # underscore (_), so it is better to generate a list of symbols to export.
9619       always_export_symbols=yes
9620       if test "$aix_use_runtimelinking" = yes; then
9621         # Warning - without using the other runtime loading flags (-brtl),
9622         # -berok will link without error, but may produce a broken library.
9623         allow_undefined_flag='-berok'
9624         # Determine the default libpath from the value encoded in an
9625         # empty executable.
9626         cat >conftest.$ac_ext <<_ACEOF
9627 /* confdefs.h.  */
9628 _ACEOF
9629 cat confdefs.h >>conftest.$ac_ext
9630 cat >>conftest.$ac_ext <<_ACEOF
9631 /* end confdefs.h.  */
9632
9633 int
9634 main ()
9635 {
9636
9637   ;
9638   return 0;
9639 }
9640 _ACEOF
9641 rm -f conftest.$ac_objext conftest$ac_exeext
9642 if { (ac_try="$ac_link"
9643 case "(($ac_try" in
9644   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9645   *) ac_try_echo=$ac_try;;
9646 esac
9647 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9648 $as_echo "$ac_try_echo") >&5
9649   (eval "$ac_link") 2>conftest.er1
9650   ac_status=$?
9651   grep -v '^ *+' conftest.er1 >conftest.err
9652   rm -f conftest.er1
9653   cat conftest.err >&5
9654   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9655   (exit $ac_status); } && {
9656          test -z "$ac_c_werror_flag" ||
9657          test ! -s conftest.err
9658        } && test -s conftest$ac_exeext && {
9659          test "$cross_compiling" = yes ||
9660          $as_test_x conftest$ac_exeext
9661        }; then
9662
9663 lt_aix_libpath_sed='
9664     /Import File Strings/,/^$/ {
9665         /^0/ {
9666             s/^0  *\(.*\)$/\1/
9667             p
9668         }
9669     }'
9670 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9671 # Check for a 64-bit object if we didn't find anything.
9672 if test -z "$aix_libpath"; then
9673   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9674 fi
9675 else
9676   $as_echo "$as_me: failed program was:" >&5
9677 sed 's/^/| /' conftest.$ac_ext >&5
9678
9679
9680 fi
9681
9682 rm -rf conftest.dSYM
9683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9684       conftest$ac_exeext conftest.$ac_ext
9685 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9686
9687         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9688         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9689       else
9690         if test "$host_cpu" = ia64; then
9691           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9692           allow_undefined_flag="-z nodefs"
9693           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"
9694         else
9695          # Determine the default libpath from the value encoded in an
9696          # empty executable.
9697          cat >conftest.$ac_ext <<_ACEOF
9698 /* confdefs.h.  */
9699 _ACEOF
9700 cat confdefs.h >>conftest.$ac_ext
9701 cat >>conftest.$ac_ext <<_ACEOF
9702 /* end confdefs.h.  */
9703
9704 int
9705 main ()
9706 {
9707
9708   ;
9709   return 0;
9710 }
9711 _ACEOF
9712 rm -f conftest.$ac_objext conftest$ac_exeext
9713 if { (ac_try="$ac_link"
9714 case "(($ac_try" in
9715   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9716   *) ac_try_echo=$ac_try;;
9717 esac
9718 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9719 $as_echo "$ac_try_echo") >&5
9720   (eval "$ac_link") 2>conftest.er1
9721   ac_status=$?
9722   grep -v '^ *+' conftest.er1 >conftest.err
9723   rm -f conftest.er1
9724   cat conftest.err >&5
9725   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9726   (exit $ac_status); } && {
9727          test -z "$ac_c_werror_flag" ||
9728          test ! -s conftest.err
9729        } && test -s conftest$ac_exeext && {
9730          test "$cross_compiling" = yes ||
9731          $as_test_x conftest$ac_exeext
9732        }; then
9733
9734 lt_aix_libpath_sed='
9735     /Import File Strings/,/^$/ {
9736         /^0/ {
9737             s/^0  *\(.*\)$/\1/
9738             p
9739         }
9740     }'
9741 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9742 # Check for a 64-bit object if we didn't find anything.
9743 if test -z "$aix_libpath"; then
9744   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9745 fi
9746 else
9747   $as_echo "$as_me: failed program was:" >&5
9748 sed 's/^/| /' conftest.$ac_ext >&5
9749
9750
9751 fi
9752
9753 rm -rf conftest.dSYM
9754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9755       conftest$ac_exeext conftest.$ac_ext
9756 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9757
9758          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9759           # Warning - without using the other run time loading flags,
9760           # -berok will link without error, but may produce a broken library.
9761           no_undefined_flag=' ${wl}-bernotok'
9762           allow_undefined_flag=' ${wl}-berok'
9763           # Exported symbols can be pulled into shared objects from archives
9764           whole_archive_flag_spec='$convenience'
9765           archive_cmds_need_lc=yes
9766           # This is similar to how AIX traditionally builds its shared libraries.
9767           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'
9768         fi
9769       fi
9770       ;;
9771
9772     amigaos*)
9773       case $host_cpu in
9774       powerpc)
9775             # see comment about AmigaOS4 .so support
9776             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9777             archive_expsym_cmds=''
9778         ;;
9779       m68k)
9780             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)'
9781             hardcode_libdir_flag_spec='-L$libdir'
9782             hardcode_minus_L=yes
9783         ;;
9784       esac
9785       ;;
9786
9787     bsdi[45]*)
9788       export_dynamic_flag_spec=-rdynamic
9789       ;;
9790
9791     cygwin* | mingw* | pw32* | cegcc*)
9792       # When not using gcc, we currently assume that we are using
9793       # Microsoft Visual C++.
9794       # hardcode_libdir_flag_spec is actually meaningless, as there is
9795       # no search path for DLLs.
9796       hardcode_libdir_flag_spec=' '
9797       allow_undefined_flag=unsupported
9798       # Tell ltmain to make .lib files, not .a files.
9799       libext=lib
9800       # Tell ltmain to make .dll files, not .so files.
9801       shrext_cmds=".dll"
9802       # FIXME: Setting linknames here is a bad hack.
9803       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9804       # The linker will automatically build a .lib file if we build a DLL.
9805       old_archive_from_new_cmds='true'
9806       # FIXME: Should let the user specify the lib program.
9807       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9808       fix_srcfile_path='`cygpath -w "$srcfile"`'
9809       enable_shared_with_static_runtimes=yes
9810       ;;
9811
9812     darwin* | rhapsody*)
9813
9814
9815   archive_cmds_need_lc=no
9816   hardcode_direct=no
9817   hardcode_automatic=yes
9818   hardcode_shlibpath_var=unsupported
9819   whole_archive_flag_spec=''
9820   link_all_deplibs=yes
9821   allow_undefined_flag="$_lt_dar_allow_undefined"
9822   case $cc_basename in
9823      ifort*) _lt_dar_can_shared=yes ;;
9824      *) _lt_dar_can_shared=$GCC ;;
9825   esac
9826   if test "$_lt_dar_can_shared" = "yes"; then
9827     output_verbose_link_cmd=echo
9828     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9829     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9830     archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9831     module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9832
9833   else
9834   ld_shlibs=no
9835   fi
9836
9837       ;;
9838
9839     dgux*)
9840       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9841       hardcode_libdir_flag_spec='-L$libdir'
9842       hardcode_shlibpath_var=no
9843       ;;
9844
9845     freebsd1*)
9846       ld_shlibs=no
9847       ;;
9848
9849     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9850     # support.  Future versions do this automatically, but an explicit c++rt0.o
9851     # does not break anything, and helps significantly (at the cost of a little
9852     # extra space).
9853     freebsd2.2*)
9854       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9855       hardcode_libdir_flag_spec='-R$libdir'
9856       hardcode_direct=yes
9857       hardcode_shlibpath_var=no
9858       ;;
9859
9860     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9861     freebsd2*)
9862       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9863       hardcode_direct=yes
9864       hardcode_minus_L=yes
9865       hardcode_shlibpath_var=no
9866       ;;
9867
9868     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9869     freebsd* | dragonfly*)
9870       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9871       hardcode_libdir_flag_spec='-R$libdir'
9872       hardcode_direct=yes
9873       hardcode_shlibpath_var=no
9874       ;;
9875
9876     hpux9*)
9877       if test "$GCC" = yes; then
9878         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'
9879       else
9880         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'
9881       fi
9882       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9883       hardcode_libdir_separator=:
9884       hardcode_direct=yes
9885
9886       # hardcode_minus_L: Not really in the search PATH,
9887       # but as the default location of the library.
9888       hardcode_minus_L=yes
9889       export_dynamic_flag_spec='${wl}-E'
9890       ;;
9891
9892     hpux10*)
9893       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9894         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9895       else
9896         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9897       fi
9898       if test "$with_gnu_ld" = no; then
9899         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9900         hardcode_libdir_flag_spec_ld='+b $libdir'
9901         hardcode_libdir_separator=:
9902         hardcode_direct=yes
9903         hardcode_direct_absolute=yes
9904         export_dynamic_flag_spec='${wl}-E'
9905         # hardcode_minus_L: Not really in the search PATH,
9906         # but as the default location of the library.
9907         hardcode_minus_L=yes
9908       fi
9909       ;;
9910
9911     hpux11*)
9912       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9913         case $host_cpu in
9914         hppa*64*)
9915           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9916           ;;
9917         ia64*)
9918           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9919           ;;
9920         *)
9921           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9922           ;;
9923         esac
9924       else
9925         case $host_cpu in
9926         hppa*64*)
9927           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9928           ;;
9929         ia64*)
9930           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9931           ;;
9932         *)
9933           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9934           ;;
9935         esac
9936       fi
9937       if test "$with_gnu_ld" = no; then
9938         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9939         hardcode_libdir_separator=:
9940
9941         case $host_cpu in
9942         hppa*64*|ia64*)
9943           hardcode_direct=no
9944           hardcode_shlibpath_var=no
9945           ;;
9946         *)
9947           hardcode_direct=yes
9948           hardcode_direct_absolute=yes
9949           export_dynamic_flag_spec='${wl}-E'
9950
9951           # hardcode_minus_L: Not really in the search PATH,
9952           # but as the default location of the library.
9953           hardcode_minus_L=yes
9954           ;;
9955         esac
9956       fi
9957       ;;
9958
9959     irix5* | irix6* | nonstopux*)
9960       if test "$GCC" = yes; then
9961         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9962         # Try to use the -exported_symbol ld option, if it does not
9963         # work, assume that -exports_file does not work either and
9964         # implicitly export all symbols.
9965         save_LDFLAGS="$LDFLAGS"
9966         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9967         cat >conftest.$ac_ext <<_ACEOF
9968 int foo(void) {}
9969 _ACEOF
9970 rm -f conftest.$ac_objext conftest$ac_exeext
9971 if { (ac_try="$ac_link"
9972 case "(($ac_try" in
9973   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9974   *) ac_try_echo=$ac_try;;
9975 esac
9976 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9977 $as_echo "$ac_try_echo") >&5
9978   (eval "$ac_link") 2>conftest.er1
9979   ac_status=$?
9980   grep -v '^ *+' conftest.er1 >conftest.err
9981   rm -f conftest.er1
9982   cat conftest.err >&5
9983   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9984   (exit $ac_status); } && {
9985          test -z "$ac_c_werror_flag" ||
9986          test ! -s conftest.err
9987        } && test -s conftest$ac_exeext && {
9988          test "$cross_compiling" = yes ||
9989          $as_test_x conftest$ac_exeext
9990        }; then
9991   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9992
9993 else
9994   $as_echo "$as_me: failed program was:" >&5
9995 sed 's/^/| /' conftest.$ac_ext >&5
9996
9997
9998 fi
9999
10000 rm -rf conftest.dSYM
10001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10002       conftest$ac_exeext conftest.$ac_ext
10003         LDFLAGS="$save_LDFLAGS"
10004       else
10005         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10006         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10007       fi
10008       archive_cmds_need_lc='no'
10009       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10010       hardcode_libdir_separator=:
10011       inherit_rpath=yes
10012       link_all_deplibs=yes
10013       ;;
10014
10015     netbsd*)
10016       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10017         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10018       else
10019         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10020       fi
10021       hardcode_libdir_flag_spec='-R$libdir'
10022       hardcode_direct=yes
10023       hardcode_shlibpath_var=no
10024       ;;
10025
10026     newsos6)
10027       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10028       hardcode_direct=yes
10029       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10030       hardcode_libdir_separator=:
10031       hardcode_shlibpath_var=no
10032       ;;
10033
10034     *nto* | *qnx*)
10035       ;;
10036
10037     openbsd*)
10038       if test -f /usr/libexec/ld.so; then
10039         hardcode_direct=yes
10040         hardcode_shlibpath_var=no
10041         hardcode_direct_absolute=yes
10042         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10043           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10044           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10045           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10046           export_dynamic_flag_spec='${wl}-E'
10047         else
10048           case $host_os in
10049            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10050              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10051              hardcode_libdir_flag_spec='-R$libdir'
10052              ;;
10053            *)
10054              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10055              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10056              ;;
10057           esac
10058         fi
10059       else
10060         ld_shlibs=no
10061       fi
10062       ;;
10063
10064     os2*)
10065       hardcode_libdir_flag_spec='-L$libdir'
10066       hardcode_minus_L=yes
10067       allow_undefined_flag=unsupported
10068       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'
10069       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10070       ;;
10071
10072     osf3*)
10073       if test "$GCC" = yes; then
10074         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10075         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10076       else
10077         allow_undefined_flag=' -expect_unresolved \*'
10078         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10079       fi
10080       archive_cmds_need_lc='no'
10081       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10082       hardcode_libdir_separator=:
10083       ;;
10084
10085     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10086       if test "$GCC" = yes; then
10087         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10088         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10089         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10090       else
10091         allow_undefined_flag=' -expect_unresolved \*'
10092         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10093         archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10094         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10095
10096         # Both c and cxx compiler support -rpath directly
10097         hardcode_libdir_flag_spec='-rpath $libdir'
10098       fi
10099       archive_cmds_need_lc='no'
10100       hardcode_libdir_separator=:
10101       ;;
10102
10103     solaris*)
10104       no_undefined_flag=' -z defs'
10105       if test "$GCC" = yes; then
10106         wlarc='${wl}'
10107         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10108         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10109           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10110       else
10111         case `$CC -V 2>&1` in
10112         *"Compilers 5.0"*)
10113           wlarc=''
10114           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10115           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10116           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10117           ;;
10118         *)
10119           wlarc='${wl}'
10120           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10121           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10122           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10123           ;;
10124         esac
10125       fi
10126       hardcode_libdir_flag_spec='-R$libdir'
10127       hardcode_shlibpath_var=no
10128       case $host_os in
10129       solaris2.[0-5] | solaris2.[0-5].*) ;;
10130       *)
10131         # The compiler driver will combine and reorder linker options,
10132         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10133         # but is careful enough not to reorder.
10134         # Supported since Solaris 2.6 (maybe 2.5.1?)
10135         if test "$GCC" = yes; then
10136           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10137         else
10138           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10139         fi
10140         ;;
10141       esac
10142       link_all_deplibs=yes
10143       ;;
10144
10145     sunos4*)
10146       if test "x$host_vendor" = xsequent; then
10147         # Use $CC to link under sequent, because it throws in some extra .o
10148         # files that make .init and .fini sections work.
10149         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10150       else
10151         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10152       fi
10153       hardcode_libdir_flag_spec='-L$libdir'
10154       hardcode_direct=yes
10155       hardcode_minus_L=yes
10156       hardcode_shlibpath_var=no
10157       ;;
10158
10159     sysv4)
10160       case $host_vendor in
10161         sni)
10162           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10163           hardcode_direct=yes # is this really true???
10164         ;;
10165         siemens)
10166           ## LD is ld it makes a PLAMLIB
10167           ## CC just makes a GrossModule.
10168           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10169           reload_cmds='$CC -r -o $output$reload_objs'
10170           hardcode_direct=no
10171         ;;
10172         motorola)
10173           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10174           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10175         ;;
10176       esac
10177       runpath_var='LD_RUN_PATH'
10178       hardcode_shlibpath_var=no
10179       ;;
10180
10181     sysv4.3*)
10182       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10183       hardcode_shlibpath_var=no
10184       export_dynamic_flag_spec='-Bexport'
10185       ;;
10186
10187     sysv4*MP*)
10188       if test -d /usr/nec; then
10189         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10190         hardcode_shlibpath_var=no
10191         runpath_var=LD_RUN_PATH
10192         hardcode_runpath_var=yes
10193         ld_shlibs=yes
10194       fi
10195       ;;
10196
10197     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10198       no_undefined_flag='${wl}-z,text'
10199       archive_cmds_need_lc=no
10200       hardcode_shlibpath_var=no
10201       runpath_var='LD_RUN_PATH'
10202
10203       if test "$GCC" = yes; then
10204         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10205         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10206       else
10207         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10208         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10209       fi
10210       ;;
10211
10212     sysv5* | sco3.2v5* | sco5v6*)
10213       # Note: We can NOT use -z defs as we might desire, because we do not
10214       # link with -lc, and that would cause any symbols used from libc to
10215       # always be unresolved, which means just about no library would
10216       # ever link correctly.  If we're not using GNU ld we use -z text
10217       # though, which does catch some bad symbols but isn't as heavy-handed
10218       # as -z defs.
10219       no_undefined_flag='${wl}-z,text'
10220       allow_undefined_flag='${wl}-z,nodefs'
10221       archive_cmds_need_lc=no
10222       hardcode_shlibpath_var=no
10223       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10224       hardcode_libdir_separator=':'
10225       link_all_deplibs=yes
10226       export_dynamic_flag_spec='${wl}-Bexport'
10227       runpath_var='LD_RUN_PATH'
10228
10229       if test "$GCC" = yes; then
10230         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10231         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10232       else
10233         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10234         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10235       fi
10236       ;;
10237
10238     uts4*)
10239       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10240       hardcode_libdir_flag_spec='-L$libdir'
10241       hardcode_shlibpath_var=no
10242       ;;
10243
10244     *)
10245       ld_shlibs=no
10246       ;;
10247     esac
10248
10249     if test x$host_vendor = xsni; then
10250       case $host in
10251       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10252         export_dynamic_flag_spec='${wl}-Blargedynsym'
10253         ;;
10254       esac
10255     fi
10256   fi
10257
10258 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10259 $as_echo "$ld_shlibs" >&6; }
10260 test "$ld_shlibs" = no && can_build_shared=no
10261
10262 with_gnu_ld=$with_gnu_ld
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278 #
10279 # Do we need to explicitly link libc?
10280 #
10281 case "x$archive_cmds_need_lc" in
10282 x|xyes)
10283   # Assume -lc should be added
10284   archive_cmds_need_lc=yes
10285
10286   if test "$enable_shared" = yes && test "$GCC" = yes; then
10287     case $archive_cmds in
10288     *'~'*)
10289       # FIXME: we may have to deal with multi-command sequences.
10290       ;;
10291     '$CC '*)
10292       # Test whether the compiler implicitly links with -lc since on some
10293       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10294       # to ld, don't add -lc before -lgcc.
10295       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10296 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10297       $RM conftest*
10298       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10299
10300       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10301   (eval $ac_compile) 2>&5
10302   ac_status=$?
10303   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10304   (exit $ac_status); } 2>conftest.err; then
10305         soname=conftest
10306         lib=conftest
10307         libobjs=conftest.$ac_objext
10308         deplibs=
10309         wl=$lt_prog_compiler_wl
10310         pic_flag=$lt_prog_compiler_pic
10311         compiler_flags=-v
10312         linker_flags=-v
10313         verstring=
10314         output_objdir=.
10315         libname=conftest
10316         lt_save_allow_undefined_flag=$allow_undefined_flag
10317         allow_undefined_flag=
10318         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
10319   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10320   ac_status=$?
10321   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10322   (exit $ac_status); }
10323         then
10324           archive_cmds_need_lc=no
10325         else
10326           archive_cmds_need_lc=yes
10327         fi
10328         allow_undefined_flag=$lt_save_allow_undefined_flag
10329       else
10330         cat conftest.err 1>&5
10331       fi
10332       $RM conftest*
10333       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10334 $as_echo "$archive_cmds_need_lc" >&6; }
10335       ;;
10336     esac
10337   fi
10338   ;;
10339 esac
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497   { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10498 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10499
10500 if test "$GCC" = yes; then
10501   case $host_os in
10502     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10503     *) lt_awk_arg="/^libraries:/" ;;
10504   esac
10505   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10506   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10507     # if the path contains ";" then we assume it to be the separator
10508     # otherwise default to the standard path separator (i.e. ":") - it is
10509     # assumed that no part of a normal pathname contains ";" but that should
10510     # okay in the real world where ";" in dirpaths is itself problematic.
10511     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10512   else
10513     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10514   fi
10515   # Ok, now we have the path, separated by spaces, we can step through it
10516   # and add multilib dir if necessary.
10517   lt_tmp_lt_search_path_spec=
10518   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10519   for lt_sys_path in $lt_search_path_spec; do
10520     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10521       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10522     else
10523       test -d "$lt_sys_path" && \
10524         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10525     fi
10526   done
10527   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10528 BEGIN {RS=" "; FS="/|\n";} {
10529   lt_foo="";
10530   lt_count=0;
10531   for (lt_i = NF; lt_i > 0; lt_i--) {
10532     if ($lt_i != "" && $lt_i != ".") {
10533       if ($lt_i == "..") {
10534         lt_count++;
10535       } else {
10536         if (lt_count == 0) {
10537           lt_foo="/" $lt_i lt_foo;
10538         } else {
10539           lt_count--;
10540         }
10541       }
10542     }
10543   }
10544   if (lt_foo != "") { lt_freq[lt_foo]++; }
10545   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10546 }'`
10547   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10548 else
10549   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10550 fi
10551 library_names_spec=
10552 libname_spec='lib$name'
10553 soname_spec=
10554 shrext_cmds=".so"
10555 postinstall_cmds=
10556 postuninstall_cmds=
10557 finish_cmds=
10558 finish_eval=
10559 shlibpath_var=
10560 shlibpath_overrides_runpath=unknown
10561 version_type=none
10562 dynamic_linker="$host_os ld.so"
10563 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10564 need_lib_prefix=unknown
10565 hardcode_into_libs=no
10566
10567 # when you set need_version to no, make sure it does not cause -set_version
10568 # flags to be left without arguments
10569 need_version=unknown
10570
10571 case $host_os in
10572 aix3*)
10573   version_type=linux
10574   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10575   shlibpath_var=LIBPATH
10576
10577   # AIX 3 has no versioning support, so we append a major version to the name.
10578   soname_spec='${libname}${release}${shared_ext}$major'
10579   ;;
10580
10581 aix[4-9]*)
10582   version_type=linux
10583   need_lib_prefix=no
10584   need_version=no
10585   hardcode_into_libs=yes
10586   if test "$host_cpu" = ia64; then
10587     # AIX 5 supports IA64
10588     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10589     shlibpath_var=LD_LIBRARY_PATH
10590   else
10591     # With GCC up to 2.95.x, collect2 would create an import file
10592     # for dependence libraries.  The import file would start with
10593     # the line `#! .'.  This would cause the generated library to
10594     # depend on `.', always an invalid library.  This was fixed in
10595     # development snapshots of GCC prior to 3.0.
10596     case $host_os in
10597       aix4 | aix4.[01] | aix4.[01].*)
10598       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10599            echo ' yes '
10600            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10601         :
10602       else
10603         can_build_shared=no
10604       fi
10605       ;;
10606     esac
10607     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10608     # soname into executable. Probably we can add versioning support to
10609     # collect2, so additional links can be useful in future.
10610     if test "$aix_use_runtimelinking" = yes; then
10611       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10612       # instead of lib<name>.a to let people know that these are not
10613       # typical AIX shared libraries.
10614       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10615     else
10616       # We preserve .a as extension for shared libraries through AIX4.2
10617       # and later when we are not doing run time linking.
10618       library_names_spec='${libname}${release}.a $libname.a'
10619       soname_spec='${libname}${release}${shared_ext}$major'
10620     fi
10621     shlibpath_var=LIBPATH
10622   fi
10623   ;;
10624
10625 amigaos*)
10626   case $host_cpu in
10627   powerpc)
10628     # Since July 2007 AmigaOS4 officially supports .so libraries.
10629     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10630     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10631     ;;
10632   m68k)
10633     library_names_spec='$libname.ixlibrary $libname.a'
10634     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10635     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'
10636     ;;
10637   esac
10638   ;;
10639
10640 beos*)
10641   library_names_spec='${libname}${shared_ext}'
10642   dynamic_linker="$host_os ld.so"
10643   shlibpath_var=LIBRARY_PATH
10644   ;;
10645
10646 bsdi[45]*)
10647   version_type=linux
10648   need_version=no
10649   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10650   soname_spec='${libname}${release}${shared_ext}$major'
10651   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10652   shlibpath_var=LD_LIBRARY_PATH
10653   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10654   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10655   # the default ld.so.conf also contains /usr/contrib/lib and
10656   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10657   # libtool to hard-code these into programs
10658   ;;
10659
10660 cygwin* | mingw* | pw32* | cegcc*)
10661   version_type=windows
10662   shrext_cmds=".dll"
10663   need_version=no
10664   need_lib_prefix=no
10665
10666   case $GCC,$host_os in
10667   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10668     library_names_spec='$libname.dll.a'
10669     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10670     postinstall_cmds='base_file=`basename \${file}`~
10671       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10672       dldir=$destdir/`dirname \$dlpath`~
10673       test -d \$dldir || mkdir -p \$dldir~
10674       $install_prog $dir/$dlname \$dldir/$dlname~
10675       chmod a+x \$dldir/$dlname~
10676       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10677         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10678       fi'
10679     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10680       dlpath=$dir/\$dldll~
10681        $RM \$dlpath'
10682     shlibpath_overrides_runpath=yes
10683
10684     case $host_os in
10685     cygwin*)
10686       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10687       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10688       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10689       ;;
10690     mingw* | cegcc*)
10691       # MinGW DLLs use traditional 'lib' prefix
10692       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10693       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10694       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10695         # It is most probably a Windows format PATH printed by
10696         # mingw gcc, but we are running on Cygwin. Gcc prints its search
10697         # path with ; separators, and with drive letters. We can handle the
10698         # drive letters (cygwin fileutils understands them), so leave them,
10699         # especially as we might pass files found there to a mingw objdump,
10700         # which wouldn't understand a cygwinified path. Ahh.
10701         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10702       else
10703         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10704       fi
10705       ;;
10706     pw32*)
10707       # pw32 DLLs use 'pw' prefix rather than 'lib'
10708       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10709       ;;
10710     esac
10711     ;;
10712
10713   *)
10714     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10715     ;;
10716   esac
10717   dynamic_linker='Win32 ld.exe'
10718   # FIXME: first we should search . and the directory the executable is in
10719   shlibpath_var=PATH
10720   ;;
10721
10722 darwin* | rhapsody*)
10723   dynamic_linker="$host_os dyld"
10724   version_type=darwin
10725   need_lib_prefix=no
10726   need_version=no
10727   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10728   soname_spec='${libname}${release}${major}$shared_ext'
10729   shlibpath_overrides_runpath=yes
10730   shlibpath_var=DYLD_LIBRARY_PATH
10731   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10732
10733   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10734   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10735   ;;
10736
10737 dgux*)
10738   version_type=linux
10739   need_lib_prefix=no
10740   need_version=no
10741   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10742   soname_spec='${libname}${release}${shared_ext}$major'
10743   shlibpath_var=LD_LIBRARY_PATH
10744   ;;
10745
10746 freebsd1*)
10747   dynamic_linker=no
10748   ;;
10749
10750 freebsd* | dragonfly*)
10751   # DragonFly does not have aout.  When/if they implement a new
10752   # versioning mechanism, adjust this.
10753   if test -x /usr/bin/objformat; then
10754     objformat=`/usr/bin/objformat`
10755   else
10756     case $host_os in
10757     freebsd[123]*) objformat=aout ;;
10758     *) objformat=elf ;;
10759     esac
10760   fi
10761   version_type=freebsd-$objformat
10762   case $version_type in
10763     freebsd-elf*)
10764       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10765       need_version=no
10766       need_lib_prefix=no
10767       ;;
10768     freebsd-*)
10769       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10770       need_version=yes
10771       ;;
10772   esac
10773   shlibpath_var=LD_LIBRARY_PATH
10774   case $host_os in
10775   freebsd2*)
10776     shlibpath_overrides_runpath=yes
10777     ;;
10778   freebsd3.[01]* | freebsdelf3.[01]*)
10779     shlibpath_overrides_runpath=yes
10780     hardcode_into_libs=yes
10781     ;;
10782   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10783   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10784     shlibpath_overrides_runpath=no
10785     hardcode_into_libs=yes
10786     ;;
10787   *) # from 4.6 on, and DragonFly
10788     shlibpath_overrides_runpath=yes
10789     hardcode_into_libs=yes
10790     ;;
10791   esac
10792   ;;
10793
10794 gnu*)
10795   version_type=linux
10796   need_lib_prefix=no
10797   need_version=no
10798   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10799   soname_spec='${libname}${release}${shared_ext}$major'
10800   shlibpath_var=LD_LIBRARY_PATH
10801   hardcode_into_libs=yes
10802   ;;
10803
10804 hpux9* | hpux10* | hpux11*)
10805   # Give a soname corresponding to the major version so that dld.sl refuses to
10806   # link against other versions.
10807   version_type=sunos
10808   need_lib_prefix=no
10809   need_version=no
10810   case $host_cpu in
10811   ia64*)
10812     shrext_cmds='.so'
10813     hardcode_into_libs=yes
10814     dynamic_linker="$host_os dld.so"
10815     shlibpath_var=LD_LIBRARY_PATH
10816     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10817     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10818     soname_spec='${libname}${release}${shared_ext}$major'
10819     if test "X$HPUX_IA64_MODE" = X32; then
10820       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10821     else
10822       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10823     fi
10824     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10825     ;;
10826   hppa*64*)
10827     shrext_cmds='.sl'
10828     hardcode_into_libs=yes
10829     dynamic_linker="$host_os dld.sl"
10830     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10831     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10832     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10833     soname_spec='${libname}${release}${shared_ext}$major'
10834     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10835     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10836     ;;
10837   *)
10838     shrext_cmds='.sl'
10839     dynamic_linker="$host_os dld.sl"
10840     shlibpath_var=SHLIB_PATH
10841     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10842     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10843     soname_spec='${libname}${release}${shared_ext}$major'
10844     ;;
10845   esac
10846   # HP-UX runs *really* slowly unless shared libraries are mode 555.
10847   postinstall_cmds='chmod 555 $lib'
10848   ;;
10849
10850 interix[3-9]*)
10851   version_type=linux
10852   need_lib_prefix=no
10853   need_version=no
10854   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10855   soname_spec='${libname}${release}${shared_ext}$major'
10856   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10857   shlibpath_var=LD_LIBRARY_PATH
10858   shlibpath_overrides_runpath=no
10859   hardcode_into_libs=yes
10860   ;;
10861
10862 irix5* | irix6* | nonstopux*)
10863   case $host_os in
10864     nonstopux*) version_type=nonstopux ;;
10865     *)
10866         if test "$lt_cv_prog_gnu_ld" = yes; then
10867                 version_type=linux
10868         else
10869                 version_type=irix
10870         fi ;;
10871   esac
10872   need_lib_prefix=no
10873   need_version=no
10874   soname_spec='${libname}${release}${shared_ext}$major'
10875   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10876   case $host_os in
10877   irix5* | nonstopux*)
10878     libsuff= shlibsuff=
10879     ;;
10880   *)
10881     case $LD in # libtool.m4 will add one of these switches to LD
10882     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10883       libsuff= shlibsuff= libmagic=32-bit;;
10884     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10885       libsuff=32 shlibsuff=N32 libmagic=N32;;
10886     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10887       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10888     *) libsuff= shlibsuff= libmagic=never-match;;
10889     esac
10890     ;;
10891   esac
10892   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10893   shlibpath_overrides_runpath=no
10894   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10895   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10896   hardcode_into_libs=yes
10897   ;;
10898
10899 # No shared lib support for Linux oldld, aout, or coff.
10900 linux*oldld* | linux*aout* | linux*coff*)
10901   dynamic_linker=no
10902   ;;
10903
10904 # This must be Linux ELF.
10905 linux* | k*bsd*-gnu)
10906   version_type=linux
10907   need_lib_prefix=no
10908   need_version=no
10909   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10910   soname_spec='${libname}${release}${shared_ext}$major'
10911   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10912   shlibpath_var=LD_LIBRARY_PATH
10913   shlibpath_overrides_runpath=no
10914   # Some binutils ld are patched to set DT_RUNPATH
10915   save_LDFLAGS=$LDFLAGS
10916   save_libdir=$libdir
10917   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10918        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10919   cat >conftest.$ac_ext <<_ACEOF
10920 /* confdefs.h.  */
10921 _ACEOF
10922 cat confdefs.h >>conftest.$ac_ext
10923 cat >>conftest.$ac_ext <<_ACEOF
10924 /* end confdefs.h.  */
10925
10926 int
10927 main ()
10928 {
10929
10930   ;
10931   return 0;
10932 }
10933 _ACEOF
10934 rm -f conftest.$ac_objext conftest$ac_exeext
10935 if { (ac_try="$ac_link"
10936 case "(($ac_try" in
10937   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10938   *) ac_try_echo=$ac_try;;
10939 esac
10940 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10941 $as_echo "$ac_try_echo") >&5
10942   (eval "$ac_link") 2>conftest.er1
10943   ac_status=$?
10944   grep -v '^ *+' conftest.er1 >conftest.err
10945   rm -f conftest.er1
10946   cat conftest.err >&5
10947   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10948   (exit $ac_status); } && {
10949          test -z "$ac_c_werror_flag" ||
10950          test ! -s conftest.err
10951        } && test -s conftest$ac_exeext && {
10952          test "$cross_compiling" = yes ||
10953          $as_test_x conftest$ac_exeext
10954        }; then
10955   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10956   shlibpath_overrides_runpath=yes
10957 fi
10958
10959 else
10960   $as_echo "$as_me: failed program was:" >&5
10961 sed 's/^/| /' conftest.$ac_ext >&5
10962
10963
10964 fi
10965
10966 rm -rf conftest.dSYM
10967 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10968       conftest$ac_exeext conftest.$ac_ext
10969   LDFLAGS=$save_LDFLAGS
10970   libdir=$save_libdir
10971
10972   # This implies no fast_install, which is unacceptable.
10973   # Some rework will be needed to allow for fast_install
10974   # before this can be enabled.
10975   hardcode_into_libs=yes
10976
10977   # Add ABI-specific directories to the system library path.
10978   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10979
10980   # Append ld.so.conf contents to the search path
10981   if test -f /etc/ld.so.conf; then
10982     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10983     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10984   fi
10985
10986   # We used to test for /lib/ld.so.1 and disable shared libraries on
10987   # powerpc, because MkLinux only supported shared libraries with the
10988   # GNU dynamic linker.  Since this was broken with cross compilers,
10989   # most powerpc-linux boxes support dynamic linking these days and
10990   # people can always --disable-shared, the test was removed, and we
10991   # assume the GNU/Linux dynamic linker is in use.
10992   dynamic_linker='GNU/Linux ld.so'
10993   ;;
10994
10995 netbsd*)
10996   version_type=sunos
10997   need_lib_prefix=no
10998   need_version=no
10999   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11000     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11001     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11002     dynamic_linker='NetBSD (a.out) ld.so'
11003   else
11004     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11005     soname_spec='${libname}${release}${shared_ext}$major'
11006     dynamic_linker='NetBSD ld.elf_so'
11007   fi
11008   shlibpath_var=LD_LIBRARY_PATH
11009   shlibpath_overrides_runpath=yes
11010   hardcode_into_libs=yes
11011   ;;
11012
11013 newsos6)
11014   version_type=linux
11015   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11016   shlibpath_var=LD_LIBRARY_PATH
11017   shlibpath_overrides_runpath=yes
11018   ;;
11019
11020 *nto* | *qnx*)
11021   version_type=qnx
11022   need_lib_prefix=no
11023   need_version=no
11024   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11025   soname_spec='${libname}${release}${shared_ext}$major'
11026   shlibpath_var=LD_LIBRARY_PATH
11027   shlibpath_overrides_runpath=no
11028   hardcode_into_libs=yes
11029   dynamic_linker='ldqnx.so'
11030   ;;
11031
11032 openbsd*)
11033   version_type=sunos
11034   sys_lib_dlsearch_path_spec="/usr/lib"
11035   need_lib_prefix=no
11036   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11037   case $host_os in
11038     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11039     *)                          need_version=no  ;;
11040   esac
11041   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11042   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11043   shlibpath_var=LD_LIBRARY_PATH
11044   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11045     case $host_os in
11046       openbsd2.[89] | openbsd2.[89].*)
11047         shlibpath_overrides_runpath=no
11048         ;;
11049       *)
11050         shlibpath_overrides_runpath=yes
11051         ;;
11052       esac
11053   else
11054     shlibpath_overrides_runpath=yes
11055   fi
11056   ;;
11057
11058 os2*)
11059   libname_spec='$name'
11060   shrext_cmds=".dll"
11061   need_lib_prefix=no
11062   library_names_spec='$libname${shared_ext} $libname.a'
11063   dynamic_linker='OS/2 ld.exe'
11064   shlibpath_var=LIBPATH
11065   ;;
11066
11067 osf3* | osf4* | osf5*)
11068   version_type=osf
11069   need_lib_prefix=no
11070   need_version=no
11071   soname_spec='${libname}${release}${shared_ext}$major'
11072   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11073   shlibpath_var=LD_LIBRARY_PATH
11074   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11075   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11076   ;;
11077
11078 rdos*)
11079   dynamic_linker=no
11080   ;;
11081
11082 solaris*)
11083   version_type=linux
11084   need_lib_prefix=no
11085   need_version=no
11086   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11087   soname_spec='${libname}${release}${shared_ext}$major'
11088   shlibpath_var=LD_LIBRARY_PATH
11089   shlibpath_overrides_runpath=yes
11090   hardcode_into_libs=yes
11091   # ldd complains unless libraries are executable
11092   postinstall_cmds='chmod +x $lib'
11093   ;;
11094
11095 sunos4*)
11096   version_type=sunos
11097   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11098   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11099   shlibpath_var=LD_LIBRARY_PATH
11100   shlibpath_overrides_runpath=yes
11101   if test "$with_gnu_ld" = yes; then
11102     need_lib_prefix=no
11103   fi
11104   need_version=yes
11105   ;;
11106
11107 sysv4 | sysv4.3*)
11108   version_type=linux
11109   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11110   soname_spec='${libname}${release}${shared_ext}$major'
11111   shlibpath_var=LD_LIBRARY_PATH
11112   case $host_vendor in
11113     sni)
11114       shlibpath_overrides_runpath=no
11115       need_lib_prefix=no
11116       runpath_var=LD_RUN_PATH
11117       ;;
11118     siemens)
11119       need_lib_prefix=no
11120       ;;
11121     motorola)
11122       need_lib_prefix=no
11123       need_version=no
11124       shlibpath_overrides_runpath=no
11125       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11126       ;;
11127   esac
11128   ;;
11129
11130 sysv4*MP*)
11131   if test -d /usr/nec ;then
11132     version_type=linux
11133     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11134     soname_spec='$libname${shared_ext}.$major'
11135     shlibpath_var=LD_LIBRARY_PATH
11136   fi
11137   ;;
11138
11139 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11140   version_type=freebsd-elf
11141   need_lib_prefix=no
11142   need_version=no
11143   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11144   soname_spec='${libname}${release}${shared_ext}$major'
11145   shlibpath_var=LD_LIBRARY_PATH
11146   shlibpath_overrides_runpath=yes
11147   hardcode_into_libs=yes
11148   if test "$with_gnu_ld" = yes; then
11149     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11150   else
11151     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11152     case $host_os in
11153       sco3.2v5*)
11154         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11155         ;;
11156     esac
11157   fi
11158   sys_lib_dlsearch_path_spec='/usr/lib'
11159   ;;
11160
11161 tpf*)
11162   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11163   version_type=linux
11164   need_lib_prefix=no
11165   need_version=no
11166   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11167   shlibpath_var=LD_LIBRARY_PATH
11168   shlibpath_overrides_runpath=no
11169   hardcode_into_libs=yes
11170   ;;
11171
11172 uts4*)
11173   version_type=linux
11174   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11175   soname_spec='${libname}${release}${shared_ext}$major'
11176   shlibpath_var=LD_LIBRARY_PATH
11177   ;;
11178
11179 *)
11180   dynamic_linker=no
11181   ;;
11182 esac
11183 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11184 $as_echo "$dynamic_linker" >&6; }
11185 test "$dynamic_linker" = no && can_build_shared=no
11186
11187 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11188 if test "$GCC" = yes; then
11189   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11190 fi
11191
11192 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11193   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11194 fi
11195 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11196   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11197 fi
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285   { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11286 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11287 hardcode_action=
11288 if test -n "$hardcode_libdir_flag_spec" ||
11289    test -n "$runpath_var" ||
11290    test "X$hardcode_automatic" = "Xyes" ; then
11291
11292   # We can hardcode non-existent directories.
11293   if test "$hardcode_direct" != no &&
11294      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11295      # have to relink, otherwise we might link with an installed library
11296      # when we should be linking with a yet-to-be-installed one
11297      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11298      test "$hardcode_minus_L" != no; then
11299     # Linking always hardcodes the temporary library directory.
11300     hardcode_action=relink
11301   else
11302     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11303     hardcode_action=immediate
11304   fi
11305 else
11306   # We cannot hardcode anything, or else we can only hardcode existing
11307   # directories.
11308   hardcode_action=unsupported
11309 fi
11310 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
11311 $as_echo "$hardcode_action" >&6; }
11312
11313 if test "$hardcode_action" = relink ||
11314    test "$inherit_rpath" = yes; then
11315   # Fast installation is not supported
11316   enable_fast_install=no
11317 elif test "$shlibpath_overrides_runpath" = yes ||
11318      test "$enable_shared" = no; then
11319   # Fast installation is not necessary
11320   enable_fast_install=needless
11321 fi
11322
11323
11324
11325
11326
11327
11328   if test "x$enable_dlopen" != xyes; then
11329   enable_dlopen=unknown
11330   enable_dlopen_self=unknown
11331   enable_dlopen_self_static=unknown
11332 else
11333   lt_cv_dlopen=no
11334   lt_cv_dlopen_libs=
11335
11336   case $host_os in
11337   beos*)
11338     lt_cv_dlopen="load_add_on"
11339     lt_cv_dlopen_libs=
11340     lt_cv_dlopen_self=yes
11341     ;;
11342
11343   mingw* | pw32* | cegcc*)
11344     lt_cv_dlopen="LoadLibrary"
11345     lt_cv_dlopen_libs=
11346     ;;
11347
11348   cygwin*)
11349     lt_cv_dlopen="dlopen"
11350     lt_cv_dlopen_libs=
11351     ;;
11352
11353   darwin*)
11354   # if libdl is installed we need to link against it
11355     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11356 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11357 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11358   $as_echo_n "(cached) " >&6
11359 else
11360   ac_check_lib_save_LIBS=$LIBS
11361 LIBS="-ldl  $LIBS"
11362 cat >conftest.$ac_ext <<_ACEOF
11363 /* confdefs.h.  */
11364 _ACEOF
11365 cat confdefs.h >>conftest.$ac_ext
11366 cat >>conftest.$ac_ext <<_ACEOF
11367 /* end confdefs.h.  */
11368
11369 /* Override any GCC internal prototype to avoid an error.
11370    Use char because int might match the return type of a GCC
11371    builtin and then its argument prototype would still apply.  */
11372 #ifdef __cplusplus
11373 extern "C"
11374 #endif
11375 char dlopen ();
11376 int
11377 main ()
11378 {
11379 return dlopen ();
11380   ;
11381   return 0;
11382 }
11383 _ACEOF
11384 rm -f conftest.$ac_objext conftest$ac_exeext
11385 if { (ac_try="$ac_link"
11386 case "(($ac_try" in
11387   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11388   *) ac_try_echo=$ac_try;;
11389 esac
11390 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11391 $as_echo "$ac_try_echo") >&5
11392   (eval "$ac_link") 2>conftest.er1
11393   ac_status=$?
11394   grep -v '^ *+' conftest.er1 >conftest.err
11395   rm -f conftest.er1
11396   cat conftest.err >&5
11397   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11398   (exit $ac_status); } && {
11399          test -z "$ac_c_werror_flag" ||
11400          test ! -s conftest.err
11401        } && test -s conftest$ac_exeext && {
11402          test "$cross_compiling" = yes ||
11403          $as_test_x conftest$ac_exeext
11404        }; then
11405   ac_cv_lib_dl_dlopen=yes
11406 else
11407   $as_echo "$as_me: failed program was:" >&5
11408 sed 's/^/| /' conftest.$ac_ext >&5
11409
11410         ac_cv_lib_dl_dlopen=no
11411 fi
11412
11413 rm -rf conftest.dSYM
11414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11415       conftest$ac_exeext conftest.$ac_ext
11416 LIBS=$ac_check_lib_save_LIBS
11417 fi
11418 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11419 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11420 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
11421   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11422 else
11423
11424     lt_cv_dlopen="dyld"
11425     lt_cv_dlopen_libs=
11426     lt_cv_dlopen_self=yes
11427
11428 fi
11429
11430     ;;
11431
11432   *)
11433     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
11434 $as_echo_n "checking for shl_load... " >&6; }
11435 if test "${ac_cv_func_shl_load+set}" = set; then
11436   $as_echo_n "(cached) " >&6
11437 else
11438   cat >conftest.$ac_ext <<_ACEOF
11439 /* confdefs.h.  */
11440 _ACEOF
11441 cat confdefs.h >>conftest.$ac_ext
11442 cat >>conftest.$ac_ext <<_ACEOF
11443 /* end confdefs.h.  */
11444 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11445    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11446 #define shl_load innocuous_shl_load
11447
11448 /* System header to define __stub macros and hopefully few prototypes,
11449     which can conflict with char shl_load (); below.
11450     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11451     <limits.h> exists even on freestanding compilers.  */
11452
11453 #ifdef __STDC__
11454 # include <limits.h>
11455 #else
11456 # include <assert.h>
11457 #endif
11458
11459 #undef shl_load
11460
11461 /* Override any GCC internal prototype to avoid an error.
11462    Use char because int might match the return type of a GCC
11463    builtin and then its argument prototype would still apply.  */
11464 #ifdef __cplusplus
11465 extern "C"
11466 #endif
11467 char shl_load ();
11468 /* The GNU C library defines this for functions which it implements
11469     to always fail with ENOSYS.  Some functions are actually named
11470     something starting with __ and the normal name is an alias.  */
11471 #if defined __stub_shl_load || defined __stub___shl_load
11472 choke me
11473 #endif
11474
11475 int
11476 main ()
11477 {
11478 return shl_load ();
11479   ;
11480   return 0;
11481 }
11482 _ACEOF
11483 rm -f conftest.$ac_objext conftest$ac_exeext
11484 if { (ac_try="$ac_link"
11485 case "(($ac_try" in
11486   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11487   *) ac_try_echo=$ac_try;;
11488 esac
11489 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11490 $as_echo "$ac_try_echo") >&5
11491   (eval "$ac_link") 2>conftest.er1
11492   ac_status=$?
11493   grep -v '^ *+' conftest.er1 >conftest.err
11494   rm -f conftest.er1
11495   cat conftest.err >&5
11496   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11497   (exit $ac_status); } && {
11498          test -z "$ac_c_werror_flag" ||
11499          test ! -s conftest.err
11500        } && test -s conftest$ac_exeext && {
11501          test "$cross_compiling" = yes ||
11502          $as_test_x conftest$ac_exeext
11503        }; then
11504   ac_cv_func_shl_load=yes
11505 else
11506   $as_echo "$as_me: failed program was:" >&5
11507 sed 's/^/| /' conftest.$ac_ext >&5
11508
11509         ac_cv_func_shl_load=no
11510 fi
11511
11512 rm -rf conftest.dSYM
11513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11514       conftest$ac_exeext conftest.$ac_ext
11515 fi
11516 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11517 $as_echo "$ac_cv_func_shl_load" >&6; }
11518 if test "x$ac_cv_func_shl_load" = x""yes; then
11519   lt_cv_dlopen="shl_load"
11520 else
11521   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11522 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11523 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11524   $as_echo_n "(cached) " >&6
11525 else
11526   ac_check_lib_save_LIBS=$LIBS
11527 LIBS="-ldld  $LIBS"
11528 cat >conftest.$ac_ext <<_ACEOF
11529 /* confdefs.h.  */
11530 _ACEOF
11531 cat confdefs.h >>conftest.$ac_ext
11532 cat >>conftest.$ac_ext <<_ACEOF
11533 /* end confdefs.h.  */
11534
11535 /* Override any GCC internal prototype to avoid an error.
11536    Use char because int might match the return type of a GCC
11537    builtin and then its argument prototype would still apply.  */
11538 #ifdef __cplusplus
11539 extern "C"
11540 #endif
11541 char shl_load ();
11542 int
11543 main ()
11544 {
11545 return shl_load ();
11546   ;
11547   return 0;
11548 }
11549 _ACEOF
11550 rm -f conftest.$ac_objext conftest$ac_exeext
11551 if { (ac_try="$ac_link"
11552 case "(($ac_try" in
11553   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11554   *) ac_try_echo=$ac_try;;
11555 esac
11556 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11557 $as_echo "$ac_try_echo") >&5
11558   (eval "$ac_link") 2>conftest.er1
11559   ac_status=$?
11560   grep -v '^ *+' conftest.er1 >conftest.err
11561   rm -f conftest.er1
11562   cat conftest.err >&5
11563   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11564   (exit $ac_status); } && {
11565          test -z "$ac_c_werror_flag" ||
11566          test ! -s conftest.err
11567        } && test -s conftest$ac_exeext && {
11568          test "$cross_compiling" = yes ||
11569          $as_test_x conftest$ac_exeext
11570        }; then
11571   ac_cv_lib_dld_shl_load=yes
11572 else
11573   $as_echo "$as_me: failed program was:" >&5
11574 sed 's/^/| /' conftest.$ac_ext >&5
11575
11576         ac_cv_lib_dld_shl_load=no
11577 fi
11578
11579 rm -rf conftest.dSYM
11580 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11581       conftest$ac_exeext conftest.$ac_ext
11582 LIBS=$ac_check_lib_save_LIBS
11583 fi
11584 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11585 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11586 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
11587   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11588 else
11589   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
11590 $as_echo_n "checking for dlopen... " >&6; }
11591 if test "${ac_cv_func_dlopen+set}" = set; then
11592   $as_echo_n "(cached) " >&6
11593 else
11594   cat >conftest.$ac_ext <<_ACEOF
11595 /* confdefs.h.  */
11596 _ACEOF
11597 cat confdefs.h >>conftest.$ac_ext
11598 cat >>conftest.$ac_ext <<_ACEOF
11599 /* end confdefs.h.  */
11600 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11601    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11602 #define dlopen innocuous_dlopen
11603
11604 /* System header to define __stub macros and hopefully few prototypes,
11605     which can conflict with char dlopen (); below.
11606     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11607     <limits.h> exists even on freestanding compilers.  */
11608
11609 #ifdef __STDC__
11610 # include <limits.h>
11611 #else
11612 # include <assert.h>
11613 #endif
11614
11615 #undef dlopen
11616
11617 /* Override any GCC internal prototype to avoid an error.
11618    Use char because int might match the return type of a GCC
11619    builtin and then its argument prototype would still apply.  */
11620 #ifdef __cplusplus
11621 extern "C"
11622 #endif
11623 char dlopen ();
11624 /* The GNU C library defines this for functions which it implements
11625     to always fail with ENOSYS.  Some functions are actually named
11626     something starting with __ and the normal name is an alias.  */
11627 #if defined __stub_dlopen || defined __stub___dlopen
11628 choke me
11629 #endif
11630
11631 int
11632 main ()
11633 {
11634 return dlopen ();
11635   ;
11636   return 0;
11637 }
11638 _ACEOF
11639 rm -f conftest.$ac_objext conftest$ac_exeext
11640 if { (ac_try="$ac_link"
11641 case "(($ac_try" in
11642   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11643   *) ac_try_echo=$ac_try;;
11644 esac
11645 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11646 $as_echo "$ac_try_echo") >&5
11647   (eval "$ac_link") 2>conftest.er1
11648   ac_status=$?
11649   grep -v '^ *+' conftest.er1 >conftest.err
11650   rm -f conftest.er1
11651   cat conftest.err >&5
11652   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11653   (exit $ac_status); } && {
11654          test -z "$ac_c_werror_flag" ||
11655          test ! -s conftest.err
11656        } && test -s conftest$ac_exeext && {
11657          test "$cross_compiling" = yes ||
11658          $as_test_x conftest$ac_exeext
11659        }; then
11660   ac_cv_func_dlopen=yes
11661 else
11662   $as_echo "$as_me: failed program was:" >&5
11663 sed 's/^/| /' conftest.$ac_ext >&5
11664
11665         ac_cv_func_dlopen=no
11666 fi
11667
11668 rm -rf conftest.dSYM
11669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11670       conftest$ac_exeext conftest.$ac_ext
11671 fi
11672 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11673 $as_echo "$ac_cv_func_dlopen" >&6; }
11674 if test "x$ac_cv_func_dlopen" = x""yes; then
11675   lt_cv_dlopen="dlopen"
11676 else
11677   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11678 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11679 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11680   $as_echo_n "(cached) " >&6
11681 else
11682   ac_check_lib_save_LIBS=$LIBS
11683 LIBS="-ldl  $LIBS"
11684 cat >conftest.$ac_ext <<_ACEOF
11685 /* confdefs.h.  */
11686 _ACEOF
11687 cat confdefs.h >>conftest.$ac_ext
11688 cat >>conftest.$ac_ext <<_ACEOF
11689 /* end confdefs.h.  */
11690
11691 /* Override any GCC internal prototype to avoid an error.
11692    Use char because int might match the return type of a GCC
11693    builtin and then its argument prototype would still apply.  */
11694 #ifdef __cplusplus
11695 extern "C"
11696 #endif
11697 char dlopen ();
11698 int
11699 main ()
11700 {
11701 return dlopen ();
11702   ;
11703   return 0;
11704 }
11705 _ACEOF
11706 rm -f conftest.$ac_objext conftest$ac_exeext
11707 if { (ac_try="$ac_link"
11708 case "(($ac_try" in
11709   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11710   *) ac_try_echo=$ac_try;;
11711 esac
11712 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11713 $as_echo "$ac_try_echo") >&5
11714   (eval "$ac_link") 2>conftest.er1
11715   ac_status=$?
11716   grep -v '^ *+' conftest.er1 >conftest.err
11717   rm -f conftest.er1
11718   cat conftest.err >&5
11719   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11720   (exit $ac_status); } && {
11721          test -z "$ac_c_werror_flag" ||
11722          test ! -s conftest.err
11723        } && test -s conftest$ac_exeext && {
11724          test "$cross_compiling" = yes ||
11725          $as_test_x conftest$ac_exeext
11726        }; then
11727   ac_cv_lib_dl_dlopen=yes
11728 else
11729   $as_echo "$as_me: failed program was:" >&5
11730 sed 's/^/| /' conftest.$ac_ext >&5
11731
11732         ac_cv_lib_dl_dlopen=no
11733 fi
11734
11735 rm -rf conftest.dSYM
11736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11737       conftest$ac_exeext conftest.$ac_ext
11738 LIBS=$ac_check_lib_save_LIBS
11739 fi
11740 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11741 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11742 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
11743   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11744 else
11745   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11746 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11747 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11748   $as_echo_n "(cached) " >&6
11749 else
11750   ac_check_lib_save_LIBS=$LIBS
11751 LIBS="-lsvld  $LIBS"
11752 cat >conftest.$ac_ext <<_ACEOF
11753 /* confdefs.h.  */
11754 _ACEOF
11755 cat confdefs.h >>conftest.$ac_ext
11756 cat >>conftest.$ac_ext <<_ACEOF
11757 /* end confdefs.h.  */
11758
11759 /* Override any GCC internal prototype to avoid an error.
11760    Use char because int might match the return type of a GCC
11761    builtin and then its argument prototype would still apply.  */
11762 #ifdef __cplusplus
11763 extern "C"
11764 #endif
11765 char dlopen ();
11766 int
11767 main ()
11768 {
11769 return dlopen ();
11770   ;
11771   return 0;
11772 }
11773 _ACEOF
11774 rm -f conftest.$ac_objext conftest$ac_exeext
11775 if { (ac_try="$ac_link"
11776 case "(($ac_try" in
11777   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11778   *) ac_try_echo=$ac_try;;
11779 esac
11780 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11781 $as_echo "$ac_try_echo") >&5
11782   (eval "$ac_link") 2>conftest.er1
11783   ac_status=$?
11784   grep -v '^ *+' conftest.er1 >conftest.err
11785   rm -f conftest.er1
11786   cat conftest.err >&5
11787   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11788   (exit $ac_status); } && {
11789          test -z "$ac_c_werror_flag" ||
11790          test ! -s conftest.err
11791        } && test -s conftest$ac_exeext && {
11792          test "$cross_compiling" = yes ||
11793          $as_test_x conftest$ac_exeext
11794        }; then
11795   ac_cv_lib_svld_dlopen=yes
11796 else
11797   $as_echo "$as_me: failed program was:" >&5
11798 sed 's/^/| /' conftest.$ac_ext >&5
11799
11800         ac_cv_lib_svld_dlopen=no
11801 fi
11802
11803 rm -rf conftest.dSYM
11804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11805       conftest$ac_exeext conftest.$ac_ext
11806 LIBS=$ac_check_lib_save_LIBS
11807 fi
11808 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11809 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11810 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
11811   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11812 else
11813   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11814 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11815 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11816   $as_echo_n "(cached) " >&6
11817 else
11818   ac_check_lib_save_LIBS=$LIBS
11819 LIBS="-ldld  $LIBS"
11820 cat >conftest.$ac_ext <<_ACEOF
11821 /* confdefs.h.  */
11822 _ACEOF
11823 cat confdefs.h >>conftest.$ac_ext
11824 cat >>conftest.$ac_ext <<_ACEOF
11825 /* end confdefs.h.  */
11826
11827 /* Override any GCC internal prototype to avoid an error.
11828    Use char because int might match the return type of a GCC
11829    builtin and then its argument prototype would still apply.  */
11830 #ifdef __cplusplus
11831 extern "C"
11832 #endif
11833 char dld_link ();
11834 int
11835 main ()
11836 {
11837 return dld_link ();
11838   ;
11839   return 0;
11840 }
11841 _ACEOF
11842 rm -f conftest.$ac_objext conftest$ac_exeext
11843 if { (ac_try="$ac_link"
11844 case "(($ac_try" in
11845   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11846   *) ac_try_echo=$ac_try;;
11847 esac
11848 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11849 $as_echo "$ac_try_echo") >&5
11850   (eval "$ac_link") 2>conftest.er1
11851   ac_status=$?
11852   grep -v '^ *+' conftest.er1 >conftest.err
11853   rm -f conftest.er1
11854   cat conftest.err >&5
11855   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11856   (exit $ac_status); } && {
11857          test -z "$ac_c_werror_flag" ||
11858          test ! -s conftest.err
11859        } && test -s conftest$ac_exeext && {
11860          test "$cross_compiling" = yes ||
11861          $as_test_x conftest$ac_exeext
11862        }; then
11863   ac_cv_lib_dld_dld_link=yes
11864 else
11865   $as_echo "$as_me: failed program was:" >&5
11866 sed 's/^/| /' conftest.$ac_ext >&5
11867
11868         ac_cv_lib_dld_dld_link=no
11869 fi
11870
11871 rm -rf conftest.dSYM
11872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11873       conftest$ac_exeext conftest.$ac_ext
11874 LIBS=$ac_check_lib_save_LIBS
11875 fi
11876 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11877 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11878 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
11879   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11880 fi
11881
11882
11883 fi
11884
11885
11886 fi
11887
11888
11889 fi
11890
11891
11892 fi
11893
11894
11895 fi
11896
11897     ;;
11898   esac
11899
11900   if test "x$lt_cv_dlopen" != xno; then
11901     enable_dlopen=yes
11902   else
11903     enable_dlopen=no
11904   fi
11905
11906   case $lt_cv_dlopen in
11907   dlopen)
11908     save_CPPFLAGS="$CPPFLAGS"
11909     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11910
11911     save_LDFLAGS="$LDFLAGS"
11912     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11913
11914     save_LIBS="$LIBS"
11915     LIBS="$lt_cv_dlopen_libs $LIBS"
11916
11917     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11918 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11919 if test "${lt_cv_dlopen_self+set}" = set; then
11920   $as_echo_n "(cached) " >&6
11921 else
11922           if test "$cross_compiling" = yes; then :
11923   lt_cv_dlopen_self=cross
11924 else
11925   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11926   lt_status=$lt_dlunknown
11927   cat > conftest.$ac_ext <<_LT_EOF
11928 #line 11928 "configure"
11929 #include "confdefs.h"
11930
11931 #if HAVE_DLFCN_H
11932 #include <dlfcn.h>
11933 #endif
11934
11935 #include <stdio.h>
11936
11937 #ifdef RTLD_GLOBAL
11938 #  define LT_DLGLOBAL           RTLD_GLOBAL
11939 #else
11940 #  ifdef DL_GLOBAL
11941 #    define LT_DLGLOBAL         DL_GLOBAL
11942 #  else
11943 #    define LT_DLGLOBAL         0
11944 #  endif
11945 #endif
11946
11947 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11948    find out it does not work in some platform. */
11949 #ifndef LT_DLLAZY_OR_NOW
11950 #  ifdef RTLD_LAZY
11951 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11952 #  else
11953 #    ifdef DL_LAZY
11954 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11955 #    else
11956 #      ifdef RTLD_NOW
11957 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11958 #      else
11959 #        ifdef DL_NOW
11960 #          define LT_DLLAZY_OR_NOW      DL_NOW
11961 #        else
11962 #          define LT_DLLAZY_OR_NOW      0
11963 #        endif
11964 #      endif
11965 #    endif
11966 #  endif
11967 #endif
11968
11969 void fnord() { int i=42;}
11970 int main ()
11971 {
11972   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11973   int status = $lt_dlunknown;
11974
11975   if (self)
11976     {
11977       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11978       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11979       /* dlclose (self); */
11980     }
11981   else
11982     puts (dlerror ());
11983
11984   return status;
11985 }
11986 _LT_EOF
11987   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11988   (eval $ac_link) 2>&5
11989   ac_status=$?
11990   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11991   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11992     (./conftest; exit; ) >&5 2>/dev/null
11993     lt_status=$?
11994     case x$lt_status in
11995       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11996       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11997       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11998     esac
11999   else :
12000     # compilation failed
12001     lt_cv_dlopen_self=no
12002   fi
12003 fi
12004 rm -fr conftest*
12005
12006
12007 fi
12008 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12009 $as_echo "$lt_cv_dlopen_self" >&6; }
12010
12011     if test "x$lt_cv_dlopen_self" = xyes; then
12012       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12013       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12014 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12015 if test "${lt_cv_dlopen_self_static+set}" = set; then
12016   $as_echo_n "(cached) " >&6
12017 else
12018           if test "$cross_compiling" = yes; then :
12019   lt_cv_dlopen_self_static=cross
12020 else
12021   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12022   lt_status=$lt_dlunknown
12023   cat > conftest.$ac_ext <<_LT_EOF
12024 #line 12024 "configure"
12025 #include "confdefs.h"
12026
12027 #if HAVE_DLFCN_H
12028 #include <dlfcn.h>
12029 #endif
12030
12031 #include <stdio.h>
12032
12033 #ifdef RTLD_GLOBAL
12034 #  define LT_DLGLOBAL           RTLD_GLOBAL
12035 #else
12036 #  ifdef DL_GLOBAL
12037 #    define LT_DLGLOBAL         DL_GLOBAL
12038 #  else
12039 #    define LT_DLGLOBAL         0
12040 #  endif
12041 #endif
12042
12043 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12044    find out it does not work in some platform. */
12045 #ifndef LT_DLLAZY_OR_NOW
12046 #  ifdef RTLD_LAZY
12047 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12048 #  else
12049 #    ifdef DL_LAZY
12050 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12051 #    else
12052 #      ifdef RTLD_NOW
12053 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12054 #      else
12055 #        ifdef DL_NOW
12056 #          define LT_DLLAZY_OR_NOW      DL_NOW
12057 #        else
12058 #          define LT_DLLAZY_OR_NOW      0
12059 #        endif
12060 #      endif
12061 #    endif
12062 #  endif
12063 #endif
12064
12065 void fnord() { int i=42;}
12066 int main ()
12067 {
12068   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12069   int status = $lt_dlunknown;
12070
12071   if (self)
12072     {
12073       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12074       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12075       /* dlclose (self); */
12076     }
12077   else
12078     puts (dlerror ());
12079
12080   return status;
12081 }
12082 _LT_EOF
12083   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12084   (eval $ac_link) 2>&5
12085   ac_status=$?
12086   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12087   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12088     (./conftest; exit; ) >&5 2>/dev/null
12089     lt_status=$?
12090     case x$lt_status in
12091       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12092       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12093       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12094     esac
12095   else :
12096     # compilation failed
12097     lt_cv_dlopen_self_static=no
12098   fi
12099 fi
12100 rm -fr conftest*
12101
12102
12103 fi
12104 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12105 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12106     fi
12107
12108     CPPFLAGS="$save_CPPFLAGS"
12109     LDFLAGS="$save_LDFLAGS"
12110     LIBS="$save_LIBS"
12111     ;;
12112   esac
12113
12114   case $lt_cv_dlopen_self in
12115   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12116   *) enable_dlopen_self=unknown ;;
12117   esac
12118
12119   case $lt_cv_dlopen_self_static in
12120   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12121   *) enable_dlopen_self_static=unknown ;;
12122   esac
12123 fi
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141 striplib=
12142 old_striplib=
12143 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12144 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12145 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12146   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12147   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12148   { $as_echo "$as_me:$LINENO: result: yes" >&5
12149 $as_echo "yes" >&6; }
12150 else
12151 # FIXME - insert some real tests, host_os isn't really good enough
12152   case $host_os in
12153   darwin*)
12154     if test -n "$STRIP" ; then
12155       striplib="$STRIP -x"
12156       old_striplib="$STRIP -S"
12157       { $as_echo "$as_me:$LINENO: result: yes" >&5
12158 $as_echo "yes" >&6; }
12159     else
12160       { $as_echo "$as_me:$LINENO: result: no" >&5
12161 $as_echo "no" >&6; }
12162     fi
12163     ;;
12164   *)
12165     { $as_echo "$as_me:$LINENO: result: no" >&5
12166 $as_echo "no" >&6; }
12167     ;;
12168   esac
12169 fi
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182   # Report which library types will actually be built
12183   { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12184 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12185   { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
12186 $as_echo "$can_build_shared" >&6; }
12187
12188   { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12189 $as_echo_n "checking whether to build shared libraries... " >&6; }
12190   test "$can_build_shared" = "no" && enable_shared=no
12191
12192   # On AIX, shared libraries and static libraries use the same namespace, and
12193   # are all built from PIC.
12194   case $host_os in
12195   aix3*)
12196     test "$enable_shared" = yes && enable_static=no
12197     if test -n "$RANLIB"; then
12198       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12199       postinstall_cmds='$RANLIB $lib'
12200     fi
12201     ;;
12202
12203   aix[4-9]*)
12204     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12205       test "$enable_shared" = yes && enable_static=no
12206     fi
12207     ;;
12208   esac
12209   { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
12210 $as_echo "$enable_shared" >&6; }
12211
12212   { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12213 $as_echo_n "checking whether to build static libraries... " >&6; }
12214   # Make sure either enable_shared or enable_static is yes.
12215   test "$enable_shared" = yes || enable_static=yes
12216   { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
12217 $as_echo "$enable_static" >&6; }
12218
12219
12220
12221
12222 fi
12223 ac_ext=c
12224 ac_cpp='$CPP $CPPFLAGS'
12225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12228
12229 CC="$lt_save_CC"
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243         ac_config_commands="$ac_config_commands libtool"
12244
12245
12246
12247
12248 # Only expand once:
12249
12250
12251
12252 { $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
12253 $as_echo_n "checking for library containing strerror... " >&6; }
12254 if test "${ac_cv_search_strerror+set}" = set; then
12255   $as_echo_n "(cached) " >&6
12256 else
12257   ac_func_search_save_LIBS=$LIBS
12258 cat >conftest.$ac_ext <<_ACEOF
12259 /* confdefs.h.  */
12260 _ACEOF
12261 cat confdefs.h >>conftest.$ac_ext
12262 cat >>conftest.$ac_ext <<_ACEOF
12263 /* end confdefs.h.  */
12264
12265 /* Override any GCC internal prototype to avoid an error.
12266    Use char because int might match the return type of a GCC
12267    builtin and then its argument prototype would still apply.  */
12268 #ifdef __cplusplus
12269 extern "C"
12270 #endif
12271 char strerror ();
12272 int
12273 main ()
12274 {
12275 return strerror ();
12276   ;
12277   return 0;
12278 }
12279 _ACEOF
12280 for ac_lib in '' cposix; do
12281   if test -z "$ac_lib"; then
12282     ac_res="none required"
12283   else
12284     ac_res=-l$ac_lib
12285     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12286   fi
12287   rm -f conftest.$ac_objext conftest$ac_exeext
12288 if { (ac_try="$ac_link"
12289 case "(($ac_try" in
12290   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12291   *) ac_try_echo=$ac_try;;
12292 esac
12293 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12294 $as_echo "$ac_try_echo") >&5
12295   (eval "$ac_link") 2>conftest.er1
12296   ac_status=$?
12297   grep -v '^ *+' conftest.er1 >conftest.err
12298   rm -f conftest.er1
12299   cat conftest.err >&5
12300   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12301   (exit $ac_status); } && {
12302          test -z "$ac_c_werror_flag" ||
12303          test ! -s conftest.err
12304        } && test -s conftest$ac_exeext && {
12305          test "$cross_compiling" = yes ||
12306          $as_test_x conftest$ac_exeext
12307        }; then
12308   ac_cv_search_strerror=$ac_res
12309 else
12310   $as_echo "$as_me: failed program was:" >&5
12311 sed 's/^/| /' conftest.$ac_ext >&5
12312
12313
12314 fi
12315
12316 rm -rf conftest.dSYM
12317 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12318       conftest$ac_exeext
12319   if test "${ac_cv_search_strerror+set}" = set; then
12320   break
12321 fi
12322 done
12323 if test "${ac_cv_search_strerror+set}" = set; then
12324   :
12325 else
12326   ac_cv_search_strerror=no
12327 fi
12328 rm conftest.$ac_ext
12329 LIBS=$ac_func_search_save_LIBS
12330 fi
12331 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
12332 $as_echo "$ac_cv_search_strerror" >&6; }
12333 ac_res=$ac_cv_search_strerror
12334 if test "$ac_res" != no; then
12335   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12336
12337 fi
12338
12339 ac_ext=c
12340 ac_cpp='$CPP $CPPFLAGS'
12341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12344 if test -n "$ac_tool_prefix"; then
12345   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12346 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12347 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12348 $as_echo_n "checking for $ac_word... " >&6; }
12349 if test "${ac_cv_prog_CC+set}" = set; then
12350   $as_echo_n "(cached) " >&6
12351 else
12352   if test -n "$CC"; then
12353   ac_cv_prog_CC="$CC" # Let the user override the test.
12354 else
12355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12356 for as_dir in $PATH
12357 do
12358   IFS=$as_save_IFS
12359   test -z "$as_dir" && as_dir=.
12360   for ac_exec_ext in '' $ac_executable_extensions; do
12361   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12362     ac_cv_prog_CC="${ac_tool_prefix}gcc"
12363     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12364     break 2
12365   fi
12366 done
12367 done
12368 IFS=$as_save_IFS
12369
12370 fi
12371 fi
12372 CC=$ac_cv_prog_CC
12373 if test -n "$CC"; then
12374   { $as_echo "$as_me:$LINENO: result: $CC" >&5
12375 $as_echo "$CC" >&6; }
12376 else
12377   { $as_echo "$as_me:$LINENO: result: no" >&5
12378 $as_echo "no" >&6; }
12379 fi
12380
12381
12382 fi
12383 if test -z "$ac_cv_prog_CC"; then
12384   ac_ct_CC=$CC
12385   # Extract the first word of "gcc", so it can be a program name with args.
12386 set dummy gcc; ac_word=$2
12387 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12388 $as_echo_n "checking for $ac_word... " >&6; }
12389 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12390   $as_echo_n "(cached) " >&6
12391 else
12392   if test -n "$ac_ct_CC"; then
12393   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12394 else
12395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12396 for as_dir in $PATH
12397 do
12398   IFS=$as_save_IFS
12399   test -z "$as_dir" && as_dir=.
12400   for ac_exec_ext in '' $ac_executable_extensions; do
12401   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12402     ac_cv_prog_ac_ct_CC="gcc"
12403     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12404     break 2
12405   fi
12406 done
12407 done
12408 IFS=$as_save_IFS
12409
12410 fi
12411 fi
12412 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12413 if test -n "$ac_ct_CC"; then
12414   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12415 $as_echo "$ac_ct_CC" >&6; }
12416 else
12417   { $as_echo "$as_me:$LINENO: result: no" >&5
12418 $as_echo "no" >&6; }
12419 fi
12420
12421   if test "x$ac_ct_CC" = x; then
12422     CC=""
12423   else
12424     case $cross_compiling:$ac_tool_warned in
12425 yes:)
12426 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
12427 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12428 ac_tool_warned=yes ;;
12429 esac
12430     CC=$ac_ct_CC
12431   fi
12432 else
12433   CC="$ac_cv_prog_CC"
12434 fi
12435
12436 if test -z "$CC"; then
12437           if test -n "$ac_tool_prefix"; then
12438     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12439 set dummy ${ac_tool_prefix}cc; ac_word=$2
12440 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12441 $as_echo_n "checking for $ac_word... " >&6; }
12442 if test "${ac_cv_prog_CC+set}" = set; then
12443   $as_echo_n "(cached) " >&6
12444 else
12445   if test -n "$CC"; then
12446   ac_cv_prog_CC="$CC" # Let the user override the test.
12447 else
12448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12449 for as_dir in $PATH
12450 do
12451   IFS=$as_save_IFS
12452   test -z "$as_dir" && as_dir=.
12453   for ac_exec_ext in '' $ac_executable_extensions; do
12454   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12455     ac_cv_prog_CC="${ac_tool_prefix}cc"
12456     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12457     break 2
12458   fi
12459 done
12460 done
12461 IFS=$as_save_IFS
12462
12463 fi
12464 fi
12465 CC=$ac_cv_prog_CC
12466 if test -n "$CC"; then
12467   { $as_echo "$as_me:$LINENO: result: $CC" >&5
12468 $as_echo "$CC" >&6; }
12469 else
12470   { $as_echo "$as_me:$LINENO: result: no" >&5
12471 $as_echo "no" >&6; }
12472 fi
12473
12474
12475   fi
12476 fi
12477 if test -z "$CC"; then
12478   # Extract the first word of "cc", so it can be a program name with args.
12479 set dummy cc; ac_word=$2
12480 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12481 $as_echo_n "checking for $ac_word... " >&6; }
12482 if test "${ac_cv_prog_CC+set}" = set; then
12483   $as_echo_n "(cached) " >&6
12484 else
12485   if test -n "$CC"; then
12486   ac_cv_prog_CC="$CC" # Let the user override the test.
12487 else
12488   ac_prog_rejected=no
12489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12490 for as_dir in $PATH
12491 do
12492   IFS=$as_save_IFS
12493   test -z "$as_dir" && as_dir=.
12494   for ac_exec_ext in '' $ac_executable_extensions; do
12495   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12496     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12497        ac_prog_rejected=yes
12498        continue
12499      fi
12500     ac_cv_prog_CC="cc"
12501     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12502     break 2
12503   fi
12504 done
12505 done
12506 IFS=$as_save_IFS
12507
12508 if test $ac_prog_rejected = yes; then
12509   # We found a bogon in the path, so make sure we never use it.
12510   set dummy $ac_cv_prog_CC
12511   shift
12512   if test $# != 0; then
12513     # We chose a different compiler from the bogus one.
12514     # However, it has the same basename, so the bogon will be chosen
12515     # first if we set CC to just the basename; use the full file name.
12516     shift
12517     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12518   fi
12519 fi
12520 fi
12521 fi
12522 CC=$ac_cv_prog_CC
12523 if test -n "$CC"; then
12524   { $as_echo "$as_me:$LINENO: result: $CC" >&5
12525 $as_echo "$CC" >&6; }
12526 else
12527   { $as_echo "$as_me:$LINENO: result: no" >&5
12528 $as_echo "no" >&6; }
12529 fi
12530
12531
12532 fi
12533 if test -z "$CC"; then
12534   if test -n "$ac_tool_prefix"; then
12535   for ac_prog in cl.exe
12536   do
12537     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12538 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12539 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12540 $as_echo_n "checking for $ac_word... " >&6; }
12541 if test "${ac_cv_prog_CC+set}" = set; then
12542   $as_echo_n "(cached) " >&6
12543 else
12544   if test -n "$CC"; then
12545   ac_cv_prog_CC="$CC" # Let the user override the test.
12546 else
12547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12548 for as_dir in $PATH
12549 do
12550   IFS=$as_save_IFS
12551   test -z "$as_dir" && as_dir=.
12552   for ac_exec_ext in '' $ac_executable_extensions; do
12553   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12554     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12555     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12556     break 2
12557   fi
12558 done
12559 done
12560 IFS=$as_save_IFS
12561
12562 fi
12563 fi
12564 CC=$ac_cv_prog_CC
12565 if test -n "$CC"; then
12566   { $as_echo "$as_me:$LINENO: result: $CC" >&5
12567 $as_echo "$CC" >&6; }
12568 else
12569   { $as_echo "$as_me:$LINENO: result: no" >&5
12570 $as_echo "no" >&6; }
12571 fi
12572
12573
12574     test -n "$CC" && break
12575   done
12576 fi
12577 if test -z "$CC"; then
12578   ac_ct_CC=$CC
12579   for ac_prog in cl.exe
12580 do
12581   # Extract the first word of "$ac_prog", so it can be a program name with args.
12582 set dummy $ac_prog; ac_word=$2
12583 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12584 $as_echo_n "checking for $ac_word... " >&6; }
12585 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12586   $as_echo_n "(cached) " >&6
12587 else
12588   if test -n "$ac_ct_CC"; then
12589   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12590 else
12591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12592 for as_dir in $PATH
12593 do
12594   IFS=$as_save_IFS
12595   test -z "$as_dir" && as_dir=.
12596   for ac_exec_ext in '' $ac_executable_extensions; do
12597   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12598     ac_cv_prog_ac_ct_CC="$ac_prog"
12599     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12600     break 2
12601   fi
12602 done
12603 done
12604 IFS=$as_save_IFS
12605
12606 fi
12607 fi
12608 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12609 if test -n "$ac_ct_CC"; then
12610   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12611 $as_echo "$ac_ct_CC" >&6; }
12612 else
12613   { $as_echo "$as_me:$LINENO: result: no" >&5
12614 $as_echo "no" >&6; }
12615 fi
12616
12617
12618   test -n "$ac_ct_CC" && break
12619 done
12620
12621   if test "x$ac_ct_CC" = x; then
12622     CC=""
12623   else
12624     case $cross_compiling:$ac_tool_warned in
12625 yes:)
12626 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
12627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12628 ac_tool_warned=yes ;;
12629 esac
12630     CC=$ac_ct_CC
12631   fi
12632 fi
12633
12634 fi
12635
12636
12637 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12638 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12639 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12640 See \`config.log' for more details." >&5
12641 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
12642 See \`config.log' for more details." >&2;}
12643    { (exit 1); exit 1; }; }; }
12644
12645 # Provide some information about the compiler.
12646 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
12647 set X $ac_compile
12648 ac_compiler=$2
12649 { (ac_try="$ac_compiler --version >&5"
12650 case "(($ac_try" in
12651   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12652   *) ac_try_echo=$ac_try;;
12653 esac
12654 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12655 $as_echo "$ac_try_echo") >&5
12656   (eval "$ac_compiler --version >&5") 2>&5
12657   ac_status=$?
12658   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12659   (exit $ac_status); }
12660 { (ac_try="$ac_compiler -v >&5"
12661 case "(($ac_try" in
12662   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12663   *) ac_try_echo=$ac_try;;
12664 esac
12665 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12666 $as_echo "$ac_try_echo") >&5
12667   (eval "$ac_compiler -v >&5") 2>&5
12668   ac_status=$?
12669   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12670   (exit $ac_status); }
12671 { (ac_try="$ac_compiler -V >&5"
12672 case "(($ac_try" in
12673   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12674   *) ac_try_echo=$ac_try;;
12675 esac
12676 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12677 $as_echo "$ac_try_echo") >&5
12678   (eval "$ac_compiler -V >&5") 2>&5
12679   ac_status=$?
12680   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12681   (exit $ac_status); }
12682
12683 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12684 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12685 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12686   $as_echo_n "(cached) " >&6
12687 else
12688   cat >conftest.$ac_ext <<_ACEOF
12689 /* confdefs.h.  */
12690 _ACEOF
12691 cat confdefs.h >>conftest.$ac_ext
12692 cat >>conftest.$ac_ext <<_ACEOF
12693 /* end confdefs.h.  */
12694
12695 int
12696 main ()
12697 {
12698 #ifndef __GNUC__
12699        choke me
12700 #endif
12701
12702   ;
12703   return 0;
12704 }
12705 _ACEOF
12706 rm -f conftest.$ac_objext
12707 if { (ac_try="$ac_compile"
12708 case "(($ac_try" in
12709   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12710   *) ac_try_echo=$ac_try;;
12711 esac
12712 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12713 $as_echo "$ac_try_echo") >&5
12714   (eval "$ac_compile") 2>conftest.er1
12715   ac_status=$?
12716   grep -v '^ *+' conftest.er1 >conftest.err
12717   rm -f conftest.er1
12718   cat conftest.err >&5
12719   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12720   (exit $ac_status); } && {
12721          test -z "$ac_c_werror_flag" ||
12722          test ! -s conftest.err
12723        } && test -s conftest.$ac_objext; then
12724   ac_compiler_gnu=yes
12725 else
12726   $as_echo "$as_me: failed program was:" >&5
12727 sed 's/^/| /' conftest.$ac_ext >&5
12728
12729         ac_compiler_gnu=no
12730 fi
12731
12732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12733 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12734
12735 fi
12736 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12737 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12738 if test $ac_compiler_gnu = yes; then
12739   GCC=yes
12740 else
12741   GCC=
12742 fi
12743 ac_test_CFLAGS=${CFLAGS+set}
12744 ac_save_CFLAGS=$CFLAGS
12745 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12746 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12747 if test "${ac_cv_prog_cc_g+set}" = set; then
12748   $as_echo_n "(cached) " >&6
12749 else
12750   ac_save_c_werror_flag=$ac_c_werror_flag
12751    ac_c_werror_flag=yes
12752    ac_cv_prog_cc_g=no
12753    CFLAGS="-g"
12754    cat >conftest.$ac_ext <<_ACEOF
12755 /* confdefs.h.  */
12756 _ACEOF
12757 cat confdefs.h >>conftest.$ac_ext
12758 cat >>conftest.$ac_ext <<_ACEOF
12759 /* end confdefs.h.  */
12760
12761 int
12762 main ()
12763 {
12764
12765   ;
12766   return 0;
12767 }
12768 _ACEOF
12769 rm -f conftest.$ac_objext
12770 if { (ac_try="$ac_compile"
12771 case "(($ac_try" in
12772   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12773   *) ac_try_echo=$ac_try;;
12774 esac
12775 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12776 $as_echo "$ac_try_echo") >&5
12777   (eval "$ac_compile") 2>conftest.er1
12778   ac_status=$?
12779   grep -v '^ *+' conftest.er1 >conftest.err
12780   rm -f conftest.er1
12781   cat conftest.err >&5
12782   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12783   (exit $ac_status); } && {
12784          test -z "$ac_c_werror_flag" ||
12785          test ! -s conftest.err
12786        } && test -s conftest.$ac_objext; then
12787   ac_cv_prog_cc_g=yes
12788 else
12789   $as_echo "$as_me: failed program was:" >&5
12790 sed 's/^/| /' conftest.$ac_ext >&5
12791
12792         CFLAGS=""
12793       cat >conftest.$ac_ext <<_ACEOF
12794 /* confdefs.h.  */
12795 _ACEOF
12796 cat confdefs.h >>conftest.$ac_ext
12797 cat >>conftest.$ac_ext <<_ACEOF
12798 /* end confdefs.h.  */
12799
12800 int
12801 main ()
12802 {
12803
12804   ;
12805   return 0;
12806 }
12807 _ACEOF
12808 rm -f conftest.$ac_objext
12809 if { (ac_try="$ac_compile"
12810 case "(($ac_try" in
12811   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12812   *) ac_try_echo=$ac_try;;
12813 esac
12814 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12815 $as_echo "$ac_try_echo") >&5
12816   (eval "$ac_compile") 2>conftest.er1
12817   ac_status=$?
12818   grep -v '^ *+' conftest.er1 >conftest.err
12819   rm -f conftest.er1
12820   cat conftest.err >&5
12821   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12822   (exit $ac_status); } && {
12823          test -z "$ac_c_werror_flag" ||
12824          test ! -s conftest.err
12825        } && test -s conftest.$ac_objext; then
12826   :
12827 else
12828   $as_echo "$as_me: failed program was:" >&5
12829 sed 's/^/| /' conftest.$ac_ext >&5
12830
12831         ac_c_werror_flag=$ac_save_c_werror_flag
12832          CFLAGS="-g"
12833          cat >conftest.$ac_ext <<_ACEOF
12834 /* confdefs.h.  */
12835 _ACEOF
12836 cat confdefs.h >>conftest.$ac_ext
12837 cat >>conftest.$ac_ext <<_ACEOF
12838 /* end confdefs.h.  */
12839
12840 int
12841 main ()
12842 {
12843
12844   ;
12845   return 0;
12846 }
12847 _ACEOF
12848 rm -f conftest.$ac_objext
12849 if { (ac_try="$ac_compile"
12850 case "(($ac_try" in
12851   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12852   *) ac_try_echo=$ac_try;;
12853 esac
12854 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12855 $as_echo "$ac_try_echo") >&5
12856   (eval "$ac_compile") 2>conftest.er1
12857   ac_status=$?
12858   grep -v '^ *+' conftest.er1 >conftest.err
12859   rm -f conftest.er1
12860   cat conftest.err >&5
12861   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12862   (exit $ac_status); } && {
12863          test -z "$ac_c_werror_flag" ||
12864          test ! -s conftest.err
12865        } && test -s conftest.$ac_objext; then
12866   ac_cv_prog_cc_g=yes
12867 else
12868   $as_echo "$as_me: failed program was:" >&5
12869 sed 's/^/| /' conftest.$ac_ext >&5
12870
12871
12872 fi
12873
12874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12875 fi
12876
12877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12878 fi
12879
12880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12881    ac_c_werror_flag=$ac_save_c_werror_flag
12882 fi
12883 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12884 $as_echo "$ac_cv_prog_cc_g" >&6; }
12885 if test "$ac_test_CFLAGS" = set; then
12886   CFLAGS=$ac_save_CFLAGS
12887 elif test $ac_cv_prog_cc_g = yes; then
12888   if test "$GCC" = yes; then
12889     CFLAGS="-g -O2"
12890   else
12891     CFLAGS="-g"
12892   fi
12893 else
12894   if test "$GCC" = yes; then
12895     CFLAGS="-O2"
12896   else
12897     CFLAGS=
12898   fi
12899 fi
12900 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
12901 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12902 if test "${ac_cv_prog_cc_c89+set}" = set; then
12903   $as_echo_n "(cached) " >&6
12904 else
12905   ac_cv_prog_cc_c89=no
12906 ac_save_CC=$CC
12907 cat >conftest.$ac_ext <<_ACEOF
12908 /* confdefs.h.  */
12909 _ACEOF
12910 cat confdefs.h >>conftest.$ac_ext
12911 cat >>conftest.$ac_ext <<_ACEOF
12912 /* end confdefs.h.  */
12913 #include <stdarg.h>
12914 #include <stdio.h>
12915 #include <sys/types.h>
12916 #include <sys/stat.h>
12917 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
12918 struct buf { int x; };
12919 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12920 static char *e (p, i)
12921      char **p;
12922      int i;
12923 {
12924   return p[i];
12925 }
12926 static char *f (char * (*g) (char **, int), char **p, ...)
12927 {
12928   char *s;
12929   va_list v;
12930   va_start (v,p);
12931   s = g (p, va_arg (v,int));
12932   va_end (v);
12933   return s;
12934 }
12935
12936 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
12937    function prototypes and stuff, but not '\xHH' hex character constants.
12938    These don't provoke an error unfortunately, instead are silently treated
12939    as 'x'.  The following induces an error, until -std is added to get
12940    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
12941    array size at least.  It's necessary to write '\x00'==0 to get something
12942    that's true only with -std.  */
12943 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12944
12945 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12946    inside strings and character constants.  */
12947 #define FOO(x) 'x'
12948 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12949
12950 int test (int i, double x);
12951 struct s1 {int (*f) (int a);};
12952 struct s2 {int (*f) (double a);};
12953 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12954 int argc;
12955 char **argv;
12956 int
12957 main ()
12958 {
12959 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12960   ;
12961   return 0;
12962 }
12963 _ACEOF
12964 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12965         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12966 do
12967   CC="$ac_save_CC $ac_arg"
12968   rm -f conftest.$ac_objext
12969 if { (ac_try="$ac_compile"
12970 case "(($ac_try" in
12971   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12972   *) ac_try_echo=$ac_try;;
12973 esac
12974 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12975 $as_echo "$ac_try_echo") >&5
12976   (eval "$ac_compile") 2>conftest.er1
12977   ac_status=$?
12978   grep -v '^ *+' conftest.er1 >conftest.err
12979   rm -f conftest.er1
12980   cat conftest.err >&5
12981   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12982   (exit $ac_status); } && {
12983          test -z "$ac_c_werror_flag" ||
12984          test ! -s conftest.err
12985        } && test -s conftest.$ac_objext; then
12986   ac_cv_prog_cc_c89=$ac_arg
12987 else
12988   $as_echo "$as_me: failed program was:" >&5
12989 sed 's/^/| /' conftest.$ac_ext >&5
12990
12991
12992 fi
12993
12994 rm -f core conftest.err conftest.$ac_objext
12995   test "x$ac_cv_prog_cc_c89" != "xno" && break
12996 done
12997 rm -f conftest.$ac_ext
12998 CC=$ac_save_CC
12999
13000 fi
13001 # AC_CACHE_VAL
13002 case "x$ac_cv_prog_cc_c89" in
13003   x)
13004     { $as_echo "$as_me:$LINENO: result: none needed" >&5
13005 $as_echo "none needed" >&6; } ;;
13006   xno)
13007     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
13008 $as_echo "unsupported" >&6; } ;;
13009   *)
13010     CC="$CC $ac_cv_prog_cc_c89"
13011     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
13012 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13013 esac
13014
13015
13016 ac_ext=c
13017 ac_cpp='$CPP $CPPFLAGS'
13018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13021
13022 depcc="$CC"   am_compiler_list=
13023
13024 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
13025 $as_echo_n "checking dependency style of $depcc... " >&6; }
13026 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
13027   $as_echo_n "(cached) " >&6
13028 else
13029   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13030   # We make a subdir and do the tests there.  Otherwise we can end up
13031   # making bogus files that we don't know about and never remove.  For
13032   # instance it was reported that on HP-UX the gcc test will end up
13033   # making a dummy file named `D' -- because `-MD' means `put the output
13034   # in D'.
13035   mkdir conftest.dir
13036   # Copy depcomp to subdir because otherwise we won't find it if we're
13037   # using a relative directory.
13038   cp "$am_depcomp" conftest.dir
13039   cd conftest.dir
13040   # We will build objects and dependencies in a subdirectory because
13041   # it helps to detect inapplicable dependency modes.  For instance
13042   # both Tru64's cc and ICC support -MD to output dependencies as a
13043   # side effect of compilation, but ICC will put the dependencies in
13044   # the current directory while Tru64 will put them in the object
13045   # directory.
13046   mkdir sub
13047
13048   am_cv_CC_dependencies_compiler_type=none
13049   if test "$am_compiler_list" = ""; then
13050      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13051   fi
13052   am__universal=false
13053   case " $depcc " in #(
13054      *\ -arch\ *\ -arch\ *) am__universal=true ;;
13055      esac
13056
13057   for depmode in $am_compiler_list; do
13058     # Setup a source with many dependencies, because some compilers
13059     # like to wrap large dependency lists on column 80 (with \), and
13060     # we should not choose a depcomp mode which is confused by this.
13061     #
13062     # We need to recreate these files for each test, as the compiler may
13063     # overwrite some of them when testing with obscure command lines.
13064     # This happens at least with the AIX C compiler.
13065     : > sub/conftest.c
13066     for i in 1 2 3 4 5 6; do
13067       echo '#include "conftst'$i'.h"' >> sub/conftest.c
13068       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13069       # Solaris 8's {/usr,}/bin/sh.
13070       touch sub/conftst$i.h
13071     done
13072     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13073
13074     # We check with `-c' and `-o' for the sake of the "dashmstdout"
13075     # mode.  It turns out that the SunPro C++ compiler does not properly
13076     # handle `-M -o', and we need to detect this.  Also, some Intel
13077     # versions had trouble with output in subdirs
13078     am__obj=sub/conftest.${OBJEXT-o}
13079     am__minus_obj="-o $am__obj"
13080     case $depmode in
13081     gcc)
13082       # This depmode causes a compiler race in universal mode.
13083       test "$am__universal" = false || continue
13084       ;;
13085     nosideeffect)
13086       # after this tag, mechanisms are not by side-effect, so they'll
13087       # only be used when explicitly requested
13088       if test "x$enable_dependency_tracking" = xyes; then
13089         continue
13090       else
13091         break
13092       fi
13093       ;;
13094     msvisualcpp | msvcmsys)
13095       # This compiler won't grok `-c -o', but also, the minuso test has
13096       # not run yet.  These depmodes are late enough in the game, and
13097       # so weak that their functioning should not be impacted.
13098       am__obj=conftest.${OBJEXT-o}
13099       am__minus_obj=
13100       ;;
13101     none) break ;;
13102     esac
13103     if depmode=$depmode \
13104        source=sub/conftest.c object=$am__obj \
13105        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13106        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13107          >/dev/null 2>conftest.err &&
13108        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13109        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13110        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13111        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13112       # icc doesn't choke on unknown options, it will just issue warnings
13113       # or remarks (even with -Werror).  So we grep stderr for any message
13114       # that says an option was ignored or not supported.
13115       # When given -MP, icc 7.0 and 7.1 complain thusly:
13116       #   icc: Command line warning: ignoring option '-M'; no argument required
13117       # The diagnosis changed in icc 8.0:
13118       #   icc: Command line remark: option '-MP' not supported
13119       if (grep 'ignoring option' conftest.err ||
13120           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13121         am_cv_CC_dependencies_compiler_type=$depmode
13122         break
13123       fi
13124     fi
13125   done
13126
13127   cd ..
13128   rm -rf conftest.dir
13129 else
13130   am_cv_CC_dependencies_compiler_type=none
13131 fi
13132
13133 fi
13134 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
13135 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13136 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13137
13138  if
13139   test "x$enable_dependency_tracking" != xno \
13140   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13141   am__fastdepCC_TRUE=
13142   am__fastdepCC_FALSE='#'
13143 else
13144   am__fastdepCC_TRUE='#'
13145   am__fastdepCC_FALSE=
13146 fi
13147
13148
13149 ac_ext=c
13150 ac_cpp='$CPP $CPPFLAGS'
13151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13154 if test -n "$ac_tool_prefix"; then
13155   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13156 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13157 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13158 $as_echo_n "checking for $ac_word... " >&6; }
13159 if test "${ac_cv_prog_CC+set}" = set; then
13160   $as_echo_n "(cached) " >&6
13161 else
13162   if test -n "$CC"; then
13163   ac_cv_prog_CC="$CC" # Let the user override the test.
13164 else
13165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13166 for as_dir in $PATH
13167 do
13168   IFS=$as_save_IFS
13169   test -z "$as_dir" && as_dir=.
13170   for ac_exec_ext in '' $ac_executable_extensions; do
13171   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13172     ac_cv_prog_CC="${ac_tool_prefix}gcc"
13173     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13174     break 2
13175   fi
13176 done
13177 done
13178 IFS=$as_save_IFS
13179
13180 fi
13181 fi
13182 CC=$ac_cv_prog_CC
13183 if test -n "$CC"; then
13184   { $as_echo "$as_me:$LINENO: result: $CC" >&5
13185 $as_echo "$CC" >&6; }
13186 else
13187   { $as_echo "$as_me:$LINENO: result: no" >&5
13188 $as_echo "no" >&6; }
13189 fi
13190
13191
13192 fi
13193 if test -z "$ac_cv_prog_CC"; then
13194   ac_ct_CC=$CC
13195   # Extract the first word of "gcc", so it can be a program name with args.
13196 set dummy gcc; ac_word=$2
13197 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13198 $as_echo_n "checking for $ac_word... " >&6; }
13199 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13200   $as_echo_n "(cached) " >&6
13201 else
13202   if test -n "$ac_ct_CC"; then
13203   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13204 else
13205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13206 for as_dir in $PATH
13207 do
13208   IFS=$as_save_IFS
13209   test -z "$as_dir" && as_dir=.
13210   for ac_exec_ext in '' $ac_executable_extensions; do
13211   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13212     ac_cv_prog_ac_ct_CC="gcc"
13213     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13214     break 2
13215   fi
13216 done
13217 done
13218 IFS=$as_save_IFS
13219
13220 fi
13221 fi
13222 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13223 if test -n "$ac_ct_CC"; then
13224   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13225 $as_echo "$ac_ct_CC" >&6; }
13226 else
13227   { $as_echo "$as_me:$LINENO: result: no" >&5
13228 $as_echo "no" >&6; }
13229 fi
13230
13231   if test "x$ac_ct_CC" = x; then
13232     CC=""
13233   else
13234     case $cross_compiling:$ac_tool_warned in
13235 yes:)
13236 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
13237 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13238 ac_tool_warned=yes ;;
13239 esac
13240     CC=$ac_ct_CC
13241   fi
13242 else
13243   CC="$ac_cv_prog_CC"
13244 fi
13245
13246 if test -z "$CC"; then
13247           if test -n "$ac_tool_prefix"; then
13248     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13249 set dummy ${ac_tool_prefix}cc; ac_word=$2
13250 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13251 $as_echo_n "checking for $ac_word... " >&6; }
13252 if test "${ac_cv_prog_CC+set}" = set; then
13253   $as_echo_n "(cached) " >&6
13254 else
13255   if test -n "$CC"; then
13256   ac_cv_prog_CC="$CC" # Let the user override the test.
13257 else
13258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13259 for as_dir in $PATH
13260 do
13261   IFS=$as_save_IFS
13262   test -z "$as_dir" && as_dir=.
13263   for ac_exec_ext in '' $ac_executable_extensions; do
13264   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13265     ac_cv_prog_CC="${ac_tool_prefix}cc"
13266     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13267     break 2
13268   fi
13269 done
13270 done
13271 IFS=$as_save_IFS
13272
13273 fi
13274 fi
13275 CC=$ac_cv_prog_CC
13276 if test -n "$CC"; then
13277   { $as_echo "$as_me:$LINENO: result: $CC" >&5
13278 $as_echo "$CC" >&6; }
13279 else
13280   { $as_echo "$as_me:$LINENO: result: no" >&5
13281 $as_echo "no" >&6; }
13282 fi
13283
13284
13285   fi
13286 fi
13287 if test -z "$CC"; then
13288   # Extract the first word of "cc", so it can be a program name with args.
13289 set dummy cc; ac_word=$2
13290 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13291 $as_echo_n "checking for $ac_word... " >&6; }
13292 if test "${ac_cv_prog_CC+set}" = set; then
13293   $as_echo_n "(cached) " >&6
13294 else
13295   if test -n "$CC"; then
13296   ac_cv_prog_CC="$CC" # Let the user override the test.
13297 else
13298   ac_prog_rejected=no
13299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13300 for as_dir in $PATH
13301 do
13302   IFS=$as_save_IFS
13303   test -z "$as_dir" && as_dir=.
13304   for ac_exec_ext in '' $ac_executable_extensions; do
13305   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13306     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13307        ac_prog_rejected=yes
13308        continue
13309      fi
13310     ac_cv_prog_CC="cc"
13311     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13312     break 2
13313   fi
13314 done
13315 done
13316 IFS=$as_save_IFS
13317
13318 if test $ac_prog_rejected = yes; then
13319   # We found a bogon in the path, so make sure we never use it.
13320   set dummy $ac_cv_prog_CC
13321   shift
13322   if test $# != 0; then
13323     # We chose a different compiler from the bogus one.
13324     # However, it has the same basename, so the bogon will be chosen
13325     # first if we set CC to just the basename; use the full file name.
13326     shift
13327     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13328   fi
13329 fi
13330 fi
13331 fi
13332 CC=$ac_cv_prog_CC
13333 if test -n "$CC"; then
13334   { $as_echo "$as_me:$LINENO: result: $CC" >&5
13335 $as_echo "$CC" >&6; }
13336 else
13337   { $as_echo "$as_me:$LINENO: result: no" >&5
13338 $as_echo "no" >&6; }
13339 fi
13340
13341
13342 fi
13343 if test -z "$CC"; then
13344   if test -n "$ac_tool_prefix"; then
13345   for ac_prog in cl.exe
13346   do
13347     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13348 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13349 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13350 $as_echo_n "checking for $ac_word... " >&6; }
13351 if test "${ac_cv_prog_CC+set}" = set; then
13352   $as_echo_n "(cached) " >&6
13353 else
13354   if test -n "$CC"; then
13355   ac_cv_prog_CC="$CC" # Let the user override the test.
13356 else
13357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13358 for as_dir in $PATH
13359 do
13360   IFS=$as_save_IFS
13361   test -z "$as_dir" && as_dir=.
13362   for ac_exec_ext in '' $ac_executable_extensions; do
13363   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13364     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13365     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13366     break 2
13367   fi
13368 done
13369 done
13370 IFS=$as_save_IFS
13371
13372 fi
13373 fi
13374 CC=$ac_cv_prog_CC
13375 if test -n "$CC"; then
13376   { $as_echo "$as_me:$LINENO: result: $CC" >&5
13377 $as_echo "$CC" >&6; }
13378 else
13379   { $as_echo "$as_me:$LINENO: result: no" >&5
13380 $as_echo "no" >&6; }
13381 fi
13382
13383
13384     test -n "$CC" && break
13385   done
13386 fi
13387 if test -z "$CC"; then
13388   ac_ct_CC=$CC
13389   for ac_prog in cl.exe
13390 do
13391   # Extract the first word of "$ac_prog", so it can be a program name with args.
13392 set dummy $ac_prog; ac_word=$2
13393 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13394 $as_echo_n "checking for $ac_word... " >&6; }
13395 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13396   $as_echo_n "(cached) " >&6
13397 else
13398   if test -n "$ac_ct_CC"; then
13399   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13400 else
13401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13402 for as_dir in $PATH
13403 do
13404   IFS=$as_save_IFS
13405   test -z "$as_dir" && as_dir=.
13406   for ac_exec_ext in '' $ac_executable_extensions; do
13407   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13408     ac_cv_prog_ac_ct_CC="$ac_prog"
13409     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13410     break 2
13411   fi
13412 done
13413 done
13414 IFS=$as_save_IFS
13415
13416 fi
13417 fi
13418 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13419 if test -n "$ac_ct_CC"; then
13420   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13421 $as_echo "$ac_ct_CC" >&6; }
13422 else
13423   { $as_echo "$as_me:$LINENO: result: no" >&5
13424 $as_echo "no" >&6; }
13425 fi
13426
13427
13428   test -n "$ac_ct_CC" && break
13429 done
13430
13431   if test "x$ac_ct_CC" = x; then
13432     CC=""
13433   else
13434     case $cross_compiling:$ac_tool_warned in
13435 yes:)
13436 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
13437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13438 ac_tool_warned=yes ;;
13439 esac
13440     CC=$ac_ct_CC
13441   fi
13442 fi
13443
13444 fi
13445
13446
13447 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13448 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13449 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13450 See \`config.log' for more details." >&5
13451 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
13452 See \`config.log' for more details." >&2;}
13453    { (exit 1); exit 1; }; }; }
13454
13455 # Provide some information about the compiler.
13456 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
13457 set X $ac_compile
13458 ac_compiler=$2
13459 { (ac_try="$ac_compiler --version >&5"
13460 case "(($ac_try" in
13461   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13462   *) ac_try_echo=$ac_try;;
13463 esac
13464 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13465 $as_echo "$ac_try_echo") >&5
13466   (eval "$ac_compiler --version >&5") 2>&5
13467   ac_status=$?
13468   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13469   (exit $ac_status); }
13470 { (ac_try="$ac_compiler -v >&5"
13471 case "(($ac_try" in
13472   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13473   *) ac_try_echo=$ac_try;;
13474 esac
13475 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13476 $as_echo "$ac_try_echo") >&5
13477   (eval "$ac_compiler -v >&5") 2>&5
13478   ac_status=$?
13479   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13480   (exit $ac_status); }
13481 { (ac_try="$ac_compiler -V >&5"
13482 case "(($ac_try" in
13483   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13484   *) ac_try_echo=$ac_try;;
13485 esac
13486 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13487 $as_echo "$ac_try_echo") >&5
13488   (eval "$ac_compiler -V >&5") 2>&5
13489   ac_status=$?
13490   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13491   (exit $ac_status); }
13492
13493 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
13494 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13495 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13496   $as_echo_n "(cached) " >&6
13497 else
13498   cat >conftest.$ac_ext <<_ACEOF
13499 /* confdefs.h.  */
13500 _ACEOF
13501 cat confdefs.h >>conftest.$ac_ext
13502 cat >>conftest.$ac_ext <<_ACEOF
13503 /* end confdefs.h.  */
13504
13505 int
13506 main ()
13507 {
13508 #ifndef __GNUC__
13509        choke me
13510 #endif
13511
13512   ;
13513   return 0;
13514 }
13515 _ACEOF
13516 rm -f conftest.$ac_objext
13517 if { (ac_try="$ac_compile"
13518 case "(($ac_try" in
13519   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13520   *) ac_try_echo=$ac_try;;
13521 esac
13522 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13523 $as_echo "$ac_try_echo") >&5
13524   (eval "$ac_compile") 2>conftest.er1
13525   ac_status=$?
13526   grep -v '^ *+' conftest.er1 >conftest.err
13527   rm -f conftest.er1
13528   cat conftest.err >&5
13529   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13530   (exit $ac_status); } && {
13531          test -z "$ac_c_werror_flag" ||
13532          test ! -s conftest.err
13533        } && test -s conftest.$ac_objext; then
13534   ac_compiler_gnu=yes
13535 else
13536   $as_echo "$as_me: failed program was:" >&5
13537 sed 's/^/| /' conftest.$ac_ext >&5
13538
13539         ac_compiler_gnu=no
13540 fi
13541
13542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13543 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13544
13545 fi
13546 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
13547 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13548 if test $ac_compiler_gnu = yes; then
13549   GCC=yes
13550 else
13551   GCC=
13552 fi
13553 ac_test_CFLAGS=${CFLAGS+set}
13554 ac_save_CFLAGS=$CFLAGS
13555 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13556 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13557 if test "${ac_cv_prog_cc_g+set}" = set; then
13558   $as_echo_n "(cached) " >&6
13559 else
13560   ac_save_c_werror_flag=$ac_c_werror_flag
13561    ac_c_werror_flag=yes
13562    ac_cv_prog_cc_g=no
13563    CFLAGS="-g"
13564    cat >conftest.$ac_ext <<_ACEOF
13565 /* confdefs.h.  */
13566 _ACEOF
13567 cat confdefs.h >>conftest.$ac_ext
13568 cat >>conftest.$ac_ext <<_ACEOF
13569 /* end confdefs.h.  */
13570
13571 int
13572 main ()
13573 {
13574
13575   ;
13576   return 0;
13577 }
13578 _ACEOF
13579 rm -f conftest.$ac_objext
13580 if { (ac_try="$ac_compile"
13581 case "(($ac_try" in
13582   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13583   *) ac_try_echo=$ac_try;;
13584 esac
13585 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13586 $as_echo "$ac_try_echo") >&5
13587   (eval "$ac_compile") 2>conftest.er1
13588   ac_status=$?
13589   grep -v '^ *+' conftest.er1 >conftest.err
13590   rm -f conftest.er1
13591   cat conftest.err >&5
13592   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13593   (exit $ac_status); } && {
13594          test -z "$ac_c_werror_flag" ||
13595          test ! -s conftest.err
13596        } && test -s conftest.$ac_objext; then
13597   ac_cv_prog_cc_g=yes
13598 else
13599   $as_echo "$as_me: failed program was:" >&5
13600 sed 's/^/| /' conftest.$ac_ext >&5
13601
13602         CFLAGS=""
13603       cat >conftest.$ac_ext <<_ACEOF
13604 /* confdefs.h.  */
13605 _ACEOF
13606 cat confdefs.h >>conftest.$ac_ext
13607 cat >>conftest.$ac_ext <<_ACEOF
13608 /* end confdefs.h.  */
13609
13610 int
13611 main ()
13612 {
13613
13614   ;
13615   return 0;
13616 }
13617 _ACEOF
13618 rm -f conftest.$ac_objext
13619 if { (ac_try="$ac_compile"
13620 case "(($ac_try" in
13621   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13622   *) ac_try_echo=$ac_try;;
13623 esac
13624 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13625 $as_echo "$ac_try_echo") >&5
13626   (eval "$ac_compile") 2>conftest.er1
13627   ac_status=$?
13628   grep -v '^ *+' conftest.er1 >conftest.err
13629   rm -f conftest.er1
13630   cat conftest.err >&5
13631   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13632   (exit $ac_status); } && {
13633          test -z "$ac_c_werror_flag" ||
13634          test ! -s conftest.err
13635        } && test -s conftest.$ac_objext; then
13636   :
13637 else
13638   $as_echo "$as_me: failed program was:" >&5
13639 sed 's/^/| /' conftest.$ac_ext >&5
13640
13641         ac_c_werror_flag=$ac_save_c_werror_flag
13642          CFLAGS="-g"
13643          cat >conftest.$ac_ext <<_ACEOF
13644 /* confdefs.h.  */
13645 _ACEOF
13646 cat confdefs.h >>conftest.$ac_ext
13647 cat >>conftest.$ac_ext <<_ACEOF
13648 /* end confdefs.h.  */
13649
13650 int
13651 main ()
13652 {
13653
13654   ;
13655   return 0;
13656 }
13657 _ACEOF
13658 rm -f conftest.$ac_objext
13659 if { (ac_try="$ac_compile"
13660 case "(($ac_try" in
13661   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13662   *) ac_try_echo=$ac_try;;
13663 esac
13664 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13665 $as_echo "$ac_try_echo") >&5
13666   (eval "$ac_compile") 2>conftest.er1
13667   ac_status=$?
13668   grep -v '^ *+' conftest.er1 >conftest.err
13669   rm -f conftest.er1
13670   cat conftest.err >&5
13671   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13672   (exit $ac_status); } && {
13673          test -z "$ac_c_werror_flag" ||
13674          test ! -s conftest.err
13675        } && test -s conftest.$ac_objext; then
13676   ac_cv_prog_cc_g=yes
13677 else
13678   $as_echo "$as_me: failed program was:" >&5
13679 sed 's/^/| /' conftest.$ac_ext >&5
13680
13681
13682 fi
13683
13684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13685 fi
13686
13687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13688 fi
13689
13690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13691    ac_c_werror_flag=$ac_save_c_werror_flag
13692 fi
13693 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13694 $as_echo "$ac_cv_prog_cc_g" >&6; }
13695 if test "$ac_test_CFLAGS" = set; then
13696   CFLAGS=$ac_save_CFLAGS
13697 elif test $ac_cv_prog_cc_g = yes; then
13698   if test "$GCC" = yes; then
13699     CFLAGS="-g -O2"
13700   else
13701     CFLAGS="-g"
13702   fi
13703 else
13704   if test "$GCC" = yes; then
13705     CFLAGS="-O2"
13706   else
13707     CFLAGS=
13708   fi
13709 fi
13710 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
13711 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13712 if test "${ac_cv_prog_cc_c89+set}" = set; then
13713   $as_echo_n "(cached) " >&6
13714 else
13715   ac_cv_prog_cc_c89=no
13716 ac_save_CC=$CC
13717 cat >conftest.$ac_ext <<_ACEOF
13718 /* confdefs.h.  */
13719 _ACEOF
13720 cat confdefs.h >>conftest.$ac_ext
13721 cat >>conftest.$ac_ext <<_ACEOF
13722 /* end confdefs.h.  */
13723 #include <stdarg.h>
13724 #include <stdio.h>
13725 #include <sys/types.h>
13726 #include <sys/stat.h>
13727 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
13728 struct buf { int x; };
13729 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13730 static char *e (p, i)
13731      char **p;
13732      int i;
13733 {
13734   return p[i];
13735 }
13736 static char *f (char * (*g) (char **, int), char **p, ...)
13737 {
13738   char *s;
13739   va_list v;
13740   va_start (v,p);
13741   s = g (p, va_arg (v,int));
13742   va_end (v);
13743   return s;
13744 }
13745
13746 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
13747    function prototypes and stuff, but not '\xHH' hex character constants.
13748    These don't provoke an error unfortunately, instead are silently treated
13749    as 'x'.  The following induces an error, until -std is added to get
13750    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
13751    array size at least.  It's necessary to write '\x00'==0 to get something
13752    that's true only with -std.  */
13753 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13754
13755 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13756    inside strings and character constants.  */
13757 #define FOO(x) 'x'
13758 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13759
13760 int test (int i, double x);
13761 struct s1 {int (*f) (int a);};
13762 struct s2 {int (*f) (double a);};
13763 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13764 int argc;
13765 char **argv;
13766 int
13767 main ()
13768 {
13769 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
13770   ;
13771   return 0;
13772 }
13773 _ACEOF
13774 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13775         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13776 do
13777   CC="$ac_save_CC $ac_arg"
13778   rm -f conftest.$ac_objext
13779 if { (ac_try="$ac_compile"
13780 case "(($ac_try" in
13781   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13782   *) ac_try_echo=$ac_try;;
13783 esac
13784 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13785 $as_echo "$ac_try_echo") >&5
13786   (eval "$ac_compile") 2>conftest.er1
13787   ac_status=$?
13788   grep -v '^ *+' conftest.er1 >conftest.err
13789   rm -f conftest.er1
13790   cat conftest.err >&5
13791   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13792   (exit $ac_status); } && {
13793          test -z "$ac_c_werror_flag" ||
13794          test ! -s conftest.err
13795        } && test -s conftest.$ac_objext; then
13796   ac_cv_prog_cc_c89=$ac_arg
13797 else
13798   $as_echo "$as_me: failed program was:" >&5
13799 sed 's/^/| /' conftest.$ac_ext >&5
13800
13801
13802 fi
13803
13804 rm -f core conftest.err conftest.$ac_objext
13805   test "x$ac_cv_prog_cc_c89" != "xno" && break
13806 done
13807 rm -f conftest.$ac_ext
13808 CC=$ac_save_CC
13809
13810 fi
13811 # AC_CACHE_VAL
13812 case "x$ac_cv_prog_cc_c89" in
13813   x)
13814     { $as_echo "$as_me:$LINENO: result: none needed" >&5
13815 $as_echo "none needed" >&6; } ;;
13816   xno)
13817     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
13818 $as_echo "unsupported" >&6; } ;;
13819   *)
13820     CC="$CC $ac_cv_prog_cc_c89"
13821     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
13822 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13823 esac
13824
13825
13826 ac_ext=c
13827 ac_cpp='$CPP $CPPFLAGS'
13828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13831
13832 depcc="$CC"   am_compiler_list=
13833
13834 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
13835 $as_echo_n "checking dependency style of $depcc... " >&6; }
13836 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
13837   $as_echo_n "(cached) " >&6
13838 else
13839   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13840   # We make a subdir and do the tests there.  Otherwise we can end up
13841   # making bogus files that we don't know about and never remove.  For
13842   # instance it was reported that on HP-UX the gcc test will end up
13843   # making a dummy file named `D' -- because `-MD' means `put the output
13844   # in D'.
13845   mkdir conftest.dir
13846   # Copy depcomp to subdir because otherwise we won't find it if we're
13847   # using a relative directory.
13848   cp "$am_depcomp" conftest.dir
13849   cd conftest.dir
13850   # We will build objects and dependencies in a subdirectory because
13851   # it helps to detect inapplicable dependency modes.  For instance
13852   # both Tru64's cc and ICC support -MD to output dependencies as a
13853   # side effect of compilation, but ICC will put the dependencies in
13854   # the current directory while Tru64 will put them in the object
13855   # directory.
13856   mkdir sub
13857
13858   am_cv_CC_dependencies_compiler_type=none
13859   if test "$am_compiler_list" = ""; then
13860      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13861   fi
13862   am__universal=false
13863   case " $depcc " in #(
13864      *\ -arch\ *\ -arch\ *) am__universal=true ;;
13865      esac
13866
13867   for depmode in $am_compiler_list; do
13868     # Setup a source with many dependencies, because some compilers
13869     # like to wrap large dependency lists on column 80 (with \), and
13870     # we should not choose a depcomp mode which is confused by this.
13871     #
13872     # We need to recreate these files for each test, as the compiler may
13873     # overwrite some of them when testing with obscure command lines.
13874     # This happens at least with the AIX C compiler.
13875     : > sub/conftest.c
13876     for i in 1 2 3 4 5 6; do
13877       echo '#include "conftst'$i'.h"' >> sub/conftest.c
13878       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13879       # Solaris 8's {/usr,}/bin/sh.
13880       touch sub/conftst$i.h
13881     done
13882     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13883
13884     # We check with `-c' and `-o' for the sake of the "dashmstdout"
13885     # mode.  It turns out that the SunPro C++ compiler does not properly
13886     # handle `-M -o', and we need to detect this.  Also, some Intel
13887     # versions had trouble with output in subdirs
13888     am__obj=sub/conftest.${OBJEXT-o}
13889     am__minus_obj="-o $am__obj"
13890     case $depmode in
13891     gcc)
13892       # This depmode causes a compiler race in universal mode.
13893       test "$am__universal" = false || continue
13894       ;;
13895     nosideeffect)
13896       # after this tag, mechanisms are not by side-effect, so they'll
13897       # only be used when explicitly requested
13898       if test "x$enable_dependency_tracking" = xyes; then
13899         continue
13900       else
13901         break
13902       fi
13903       ;;
13904     msvisualcpp | msvcmsys)
13905       # This compiler won't grok `-c -o', but also, the minuso test has
13906       # not run yet.  These depmodes are late enough in the game, and
13907       # so weak that their functioning should not be impacted.
13908       am__obj=conftest.${OBJEXT-o}
13909       am__minus_obj=
13910       ;;
13911     none) break ;;
13912     esac
13913     if depmode=$depmode \
13914        source=sub/conftest.c object=$am__obj \
13915        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13916        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13917          >/dev/null 2>conftest.err &&
13918        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13919        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13920        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13921        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13922       # icc doesn't choke on unknown options, it will just issue warnings
13923       # or remarks (even with -Werror).  So we grep stderr for any message
13924       # that says an option was ignored or not supported.
13925       # When given -MP, icc 7.0 and 7.1 complain thusly:
13926       #   icc: Command line warning: ignoring option '-M'; no argument required
13927       # The diagnosis changed in icc 8.0:
13928       #   icc: Command line remark: option '-MP' not supported
13929       if (grep 'ignoring option' conftest.err ||
13930           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13931         am_cv_CC_dependencies_compiler_type=$depmode
13932         break
13933       fi
13934     fi
13935   done
13936
13937   cd ..
13938   rm -rf conftest.dir
13939 else
13940   am_cv_CC_dependencies_compiler_type=none
13941 fi
13942
13943 fi
13944 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
13945 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13946 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13947
13948  if
13949   test "x$enable_dependency_tracking" != xno \
13950   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13951   am__fastdepCC_TRUE=
13952   am__fastdepCC_FALSE='#'
13953 else
13954   am__fastdepCC_TRUE='#'
13955   am__fastdepCC_FALSE=
13956 fi
13957
13958
13959
13960 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
13961
13962 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13963 $as_echo_n "checking for ANSI C header files... " >&6; }
13964 if test "${ac_cv_header_stdc+set}" = set; then
13965   $as_echo_n "(cached) " >&6
13966 else
13967   cat >conftest.$ac_ext <<_ACEOF
13968 /* confdefs.h.  */
13969 _ACEOF
13970 cat confdefs.h >>conftest.$ac_ext
13971 cat >>conftest.$ac_ext <<_ACEOF
13972 /* end confdefs.h.  */
13973 #include <stdlib.h>
13974 #include <stdarg.h>
13975 #include <string.h>
13976 #include <float.h>
13977
13978 int
13979 main ()
13980 {
13981
13982   ;
13983   return 0;
13984 }
13985 _ACEOF
13986 rm -f conftest.$ac_objext
13987 if { (ac_try="$ac_compile"
13988 case "(($ac_try" in
13989   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13990   *) ac_try_echo=$ac_try;;
13991 esac
13992 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13993 $as_echo "$ac_try_echo") >&5
13994   (eval "$ac_compile") 2>conftest.er1
13995   ac_status=$?
13996   grep -v '^ *+' conftest.er1 >conftest.err
13997   rm -f conftest.er1
13998   cat conftest.err >&5
13999   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14000   (exit $ac_status); } && {
14001          test -z "$ac_c_werror_flag" ||
14002          test ! -s conftest.err
14003        } && test -s conftest.$ac_objext; then
14004   ac_cv_header_stdc=yes
14005 else
14006   $as_echo "$as_me: failed program was:" >&5
14007 sed 's/^/| /' conftest.$ac_ext >&5
14008
14009         ac_cv_header_stdc=no
14010 fi
14011
14012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14013
14014 if test $ac_cv_header_stdc = yes; then
14015   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14016   cat >conftest.$ac_ext <<_ACEOF
14017 /* confdefs.h.  */
14018 _ACEOF
14019 cat confdefs.h >>conftest.$ac_ext
14020 cat >>conftest.$ac_ext <<_ACEOF
14021 /* end confdefs.h.  */
14022 #include <string.h>
14023
14024 _ACEOF
14025 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14026   $EGREP "memchr" >/dev/null 2>&1; then
14027   :
14028 else
14029   ac_cv_header_stdc=no
14030 fi
14031 rm -f conftest*
14032
14033 fi
14034
14035 if test $ac_cv_header_stdc = yes; then
14036   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14037   cat >conftest.$ac_ext <<_ACEOF
14038 /* confdefs.h.  */
14039 _ACEOF
14040 cat confdefs.h >>conftest.$ac_ext
14041 cat >>conftest.$ac_ext <<_ACEOF
14042 /* end confdefs.h.  */
14043 #include <stdlib.h>
14044
14045 _ACEOF
14046 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14047   $EGREP "free" >/dev/null 2>&1; then
14048   :
14049 else
14050   ac_cv_header_stdc=no
14051 fi
14052 rm -f conftest*
14053
14054 fi
14055
14056 if test $ac_cv_header_stdc = yes; then
14057   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14058   if test "$cross_compiling" = yes; then
14059   :
14060 else
14061   cat >conftest.$ac_ext <<_ACEOF
14062 /* confdefs.h.  */
14063 _ACEOF
14064 cat confdefs.h >>conftest.$ac_ext
14065 cat >>conftest.$ac_ext <<_ACEOF
14066 /* end confdefs.h.  */
14067 #include <ctype.h>
14068 #include <stdlib.h>
14069 #if ((' ' & 0x0FF) == 0x020)
14070 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14071 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14072 #else
14073 # define ISLOWER(c) \
14074                    (('a' <= (c) && (c) <= 'i') \
14075                      || ('j' <= (c) && (c) <= 'r') \
14076                      || ('s' <= (c) && (c) <= 'z'))
14077 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14078 #endif
14079
14080 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14081 int
14082 main ()
14083 {
14084   int i;
14085   for (i = 0; i < 256; i++)
14086     if (XOR (islower (i), ISLOWER (i))
14087         || toupper (i) != TOUPPER (i))
14088       return 2;
14089   return 0;
14090 }
14091 _ACEOF
14092 rm -f conftest$ac_exeext
14093 if { (ac_try="$ac_link"
14094 case "(($ac_try" in
14095   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14096   *) ac_try_echo=$ac_try;;
14097 esac
14098 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14099 $as_echo "$ac_try_echo") >&5
14100   (eval "$ac_link") 2>&5
14101   ac_status=$?
14102   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14103   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14104   { (case "(($ac_try" in
14105   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14106   *) ac_try_echo=$ac_try;;
14107 esac
14108 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14109 $as_echo "$ac_try_echo") >&5
14110   (eval "$ac_try") 2>&5
14111   ac_status=$?
14112   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14113   (exit $ac_status); }; }; then
14114   :
14115 else
14116   $as_echo "$as_me: program exited with status $ac_status" >&5
14117 $as_echo "$as_me: failed program was:" >&5
14118 sed 's/^/| /' conftest.$ac_ext >&5
14119
14120 ( exit $ac_status )
14121 ac_cv_header_stdc=no
14122 fi
14123 rm -rf conftest.dSYM
14124 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14125 fi
14126
14127
14128 fi
14129 fi
14130 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14131 $as_echo "$ac_cv_header_stdc" >&6; }
14132 if test $ac_cv_header_stdc = yes; then
14133
14134 cat >>confdefs.h <<\_ACEOF
14135 #define STDC_HEADERS 1
14136 _ACEOF
14137
14138 fi
14139
14140
14141
14142
14143     # Check whether --enable-compile-warnings was given.
14144 if test "${enable_compile_warnings+set}" = set; then
14145   enableval=$enable_compile_warnings;
14146 else
14147   enable_compile_warnings="yes"
14148 fi
14149
14150
14151     warnCFLAGS=
14152     if test "x$GCC" != xyes; then
14153         enable_compile_warnings=no
14154     fi
14155
14156     warning_flags=
14157     realsave_CFLAGS="$CFLAGS"
14158
14159     case "$enable_compile_warnings" in
14160     no)
14161         warning_flags=
14162         ;;
14163     minimum)
14164         warning_flags="-Wall"
14165         ;;
14166     yes)
14167         warning_flags="-Wall -Wmissing-prototypes"
14168         ;;
14169     maximum|error)
14170         warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
14171         CFLAGS="$warning_flags $CFLAGS"
14172         for option in -Wno-sign-compare; do
14173                 SAVE_CFLAGS="$CFLAGS"
14174                 CFLAGS="$CFLAGS $option"
14175                 { $as_echo "$as_me:$LINENO: checking whether gcc understands $option" >&5
14176 $as_echo_n "checking whether gcc understands $option... " >&6; }
14177                 cat >conftest.$ac_ext <<_ACEOF
14178 /* confdefs.h.  */
14179 _ACEOF
14180 cat confdefs.h >>conftest.$ac_ext
14181 cat >>conftest.$ac_ext <<_ACEOF
14182 /* end confdefs.h.  */
14183
14184 int
14185 main ()
14186 {
14187
14188   ;
14189   return 0;
14190 }
14191 _ACEOF
14192 rm -f conftest.$ac_objext
14193 if { (ac_try="$ac_compile"
14194 case "(($ac_try" in
14195   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14196   *) ac_try_echo=$ac_try;;
14197 esac
14198 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14199 $as_echo "$ac_try_echo") >&5
14200   (eval "$ac_compile") 2>conftest.er1
14201   ac_status=$?
14202   grep -v '^ *+' conftest.er1 >conftest.err
14203   rm -f conftest.er1
14204   cat conftest.err >&5
14205   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14206   (exit $ac_status); } && {
14207          test -z "$ac_c_werror_flag" ||
14208          test ! -s conftest.err
14209        } && test -s conftest.$ac_objext; then
14210   has_option=yes
14211 else
14212   $as_echo "$as_me: failed program was:" >&5
14213 sed 's/^/| /' conftest.$ac_ext >&5
14214
14215         has_option=no
14216 fi
14217
14218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14219                 CFLAGS="$SAVE_CFLAGS"
14220                 { $as_echo "$as_me:$LINENO: result: $has_option" >&5
14221 $as_echo "$has_option" >&6; }
14222                 if test $has_option = yes; then
14223                   warning_flags="$warning_flags $option"
14224                 fi
14225                 unset has_option
14226                 unset SAVE_CFLAGS
14227         done
14228         unset option
14229         if test "$enable_compile_warnings" = "error" ; then
14230             warning_flags="$warning_flags -Werror"
14231         fi
14232         ;;
14233     *)
14234         { { $as_echo "$as_me:$LINENO: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&5
14235 $as_echo "$as_me: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&2;}
14236    { (exit 1); exit 1; }; }
14237         ;;
14238     esac
14239     CFLAGS="$realsave_CFLAGS"
14240     { $as_echo "$as_me:$LINENO: checking what warning flags to pass to the C compiler" >&5
14241 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
14242     { $as_echo "$as_me:$LINENO: result: $warning_flags" >&5
14243 $as_echo "$warning_flags" >&6; }
14244
14245     # Check whether --enable-iso-c was given.
14246 if test "${enable_iso_c+set}" = set; then
14247   enableval=$enable_iso_c;
14248 else
14249   enable_iso_c=no
14250 fi
14251
14252
14253     { $as_echo "$as_me:$LINENO: checking what language compliance flags to pass to the C compiler" >&5
14254 $as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
14255     complCFLAGS=
14256     if test "x$enable_iso_c" != "xno"; then
14257         if test "x$GCC" = "xyes"; then
14258         case " $CFLAGS " in
14259             *\ \        -ansi\ \        *) ;;
14260             *) complCFLAGS="$complCFLAGS -ansi" ;;
14261         esac
14262         case " $CFLAGS " in
14263             *\ \        -pedantic\ \    *) ;;
14264             *) complCFLAGS="$complCFLAGS -pedantic" ;;
14265         esac
14266         fi
14267     fi
14268     { $as_echo "$as_me:$LINENO: result: $complCFLAGS" >&5
14269 $as_echo "$complCFLAGS" >&6; }
14270
14271     WARN_CFLAGS="$warning_flags $complCFLAGS"
14272
14273
14274
14275 # Extract the first word of "glib-genmarshal", so it can be a program name with args.
14276 set dummy glib-genmarshal; ac_word=$2
14277 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14278 $as_echo_n "checking for $ac_word... " >&6; }
14279 if test "${ac_cv_path_GLIB_GENMARSHAL+set}" = set; then
14280   $as_echo_n "(cached) " >&6
14281 else
14282   case $GLIB_GENMARSHAL in
14283   [\\/]* | ?:[\\/]*)
14284   ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
14285   ;;
14286   *)
14287   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14288 for as_dir in $PATH
14289 do
14290   IFS=$as_save_IFS
14291   test -z "$as_dir" && as_dir=.
14292   for ac_exec_ext in '' $ac_executable_extensions; do
14293   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14294     ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
14295     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14296     break 2
14297   fi
14298 done
14299 done
14300 IFS=$as_save_IFS
14301
14302   ;;
14303 esac
14304 fi
14305 GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
14306 if test -n "$GLIB_GENMARSHAL"; then
14307   { $as_echo "$as_me:$LINENO: result: $GLIB_GENMARSHAL" >&5
14308 $as_echo "$GLIB_GENMARSHAL" >&6; }
14309 else
14310   { $as_echo "$as_me:$LINENO: result: no" >&5
14311 $as_echo "no" >&6; }
14312 fi
14313
14314
14315
14316
14317
14318 # Check whether --with-html-dir was given.
14319 if test "${with_html_dir+set}" = set; then
14320   withval=$with_html_dir;
14321 else
14322   with_html_dir='${datadir}/gtk-doc/html'
14323 fi
14324
14325   HTML_DIR="$with_html_dir"
14326
14327
14328     # Check whether --enable-gtk-doc was given.
14329 if test "${enable_gtk_doc+set}" = set; then
14330   enableval=$enable_gtk_doc;
14331 else
14332   enable_gtk_doc=no
14333 fi
14334
14335
14336   if test x$enable_gtk_doc = xyes; then
14337     if test -n "$PKG_CONFIG" && \
14338     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.0\"") >&5
14339   ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.0") 2>&5
14340   ac_status=$?
14341   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14342   (exit $ac_status); }; then
14343   :
14344 else
14345   { { $as_echo "$as_me:$LINENO: error: You need to have gtk-doc >= 1.0 installed to build gtk-doc" >&5
14346 $as_echo "$as_me: error: You need to have gtk-doc >= 1.0 installed to build gtk-doc" >&2;}
14347    { (exit 1); exit 1; }; }
14348 fi
14349   fi
14350
14351   { $as_echo "$as_me:$LINENO: checking whether to build gtk-doc documentation" >&5
14352 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
14353   { $as_echo "$as_me:$LINENO: result: $enable_gtk_doc" >&5
14354 $as_echo "$enable_gtk_doc" >&6; }
14355
14356   for ac_prog in gtkdoc-check
14357 do
14358   # Extract the first word of "$ac_prog", so it can be a program name with args.
14359 set dummy $ac_prog; ac_word=$2
14360 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14361 $as_echo_n "checking for $ac_word... " >&6; }
14362 if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then
14363   $as_echo_n "(cached) " >&6
14364 else
14365   case $GTKDOC_CHECK in
14366   [\\/]* | ?:[\\/]*)
14367   ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
14368   ;;
14369   *)
14370   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14371 for as_dir in $PATH
14372 do
14373   IFS=$as_save_IFS
14374   test -z "$as_dir" && as_dir=.
14375   for ac_exec_ext in '' $ac_executable_extensions; do
14376   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14377     ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
14378     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14379     break 2
14380   fi
14381 done
14382 done
14383 IFS=$as_save_IFS
14384
14385   ;;
14386 esac
14387 fi
14388 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
14389 if test -n "$GTKDOC_CHECK"; then
14390   { $as_echo "$as_me:$LINENO: result: $GTKDOC_CHECK" >&5
14391 $as_echo "$GTKDOC_CHECK" >&6; }
14392 else
14393   { $as_echo "$as_me:$LINENO: result: no" >&5
14394 $as_echo "no" >&6; }
14395 fi
14396
14397
14398   test -n "$GTKDOC_CHECK" && break
14399 done
14400
14401
14402    if test x$enable_gtk_doc = xyes; then
14403   ENABLE_GTK_DOC_TRUE=
14404   ENABLE_GTK_DOC_FALSE='#'
14405 else
14406   ENABLE_GTK_DOC_TRUE='#'
14407   ENABLE_GTK_DOC_FALSE=
14408 fi
14409
14410    if test -n "$LIBTOOL"; then
14411   GTK_DOC_USE_LIBTOOL_TRUE=
14412   GTK_DOC_USE_LIBTOOL_FALSE='#'
14413 else
14414   GTK_DOC_USE_LIBTOOL_TRUE='#'
14415   GTK_DOC_USE_LIBTOOL_FALSE=
14416 fi
14417
14418
14419
14420 LIBGLABELS_C=6
14421 LIBGLABELS_R=2
14422 LIBGLABELS_A=1
14423
14424 LIBGLABELS_VERSION_INFO=${LIBGLABELS_C}:${LIBGLABELS_R}:${LIBGLABELS_A}
14425
14426
14427
14428 GLIB_REQUIRED=2.12.0
14429 GTK_REQUIRED=2.10.0
14430 LIBGNOME_REQUIRED=2.16.0
14431 LIBGNOMEUI_REQUIRED=2.16.0
14432 LIBXML_REQUIRED=2.6.0
14433 LIBGLADE_REQUIRED=2.6.0
14434 LIBEBOOK_REQUIRED=1.8.0
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446 # Check whether --with-libebook was given.
14447 if test "${with_libebook+set}" = set; then
14448   withval=$with_libebook;
14449 fi
14450
14451 have_libebook=no
14452 if test "x$with_libebook" != xno; then
14453
14454 pkg_failed=no
14455 { $as_echo "$as_me:$LINENO: checking for LIBEBOOK" >&5
14456 $as_echo_n "checking for LIBEBOOK... " >&6; }
14457
14458 if test -n "$LIBEBOOK_CFLAGS"; then
14459     pkg_cv_LIBEBOOK_CFLAGS="$LIBEBOOK_CFLAGS"
14460  elif test -n "$PKG_CONFIG"; then
14461     if test -n "$PKG_CONFIG" && \
14462     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libebook-1.2 >= \$LIBEBOOK_REQUIRED\"") >&5
14463   ($PKG_CONFIG --exists --print-errors "libebook-1.2 >= $LIBEBOOK_REQUIRED") 2>&5
14464   ac_status=$?
14465   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14466   (exit $ac_status); }; then
14467   pkg_cv_LIBEBOOK_CFLAGS=`$PKG_CONFIG --cflags "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>/dev/null`
14468 else
14469   pkg_failed=yes
14470 fi
14471  else
14472     pkg_failed=untried
14473 fi
14474 if test -n "$LIBEBOOK_LIBS"; then
14475     pkg_cv_LIBEBOOK_LIBS="$LIBEBOOK_LIBS"
14476  elif test -n "$PKG_CONFIG"; then
14477     if test -n "$PKG_CONFIG" && \
14478     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libebook-1.2 >= \$LIBEBOOK_REQUIRED\"") >&5
14479   ($PKG_CONFIG --exists --print-errors "libebook-1.2 >= $LIBEBOOK_REQUIRED") 2>&5
14480   ac_status=$?
14481   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14482   (exit $ac_status); }; then
14483   pkg_cv_LIBEBOOK_LIBS=`$PKG_CONFIG --libs "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>/dev/null`
14484 else
14485   pkg_failed=yes
14486 fi
14487  else
14488     pkg_failed=untried
14489 fi
14490
14491
14492
14493 if test $pkg_failed = yes; then
14494
14495 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14496         _pkg_short_errors_supported=yes
14497 else
14498         _pkg_short_errors_supported=no
14499 fi
14500         if test $_pkg_short_errors_supported = yes; then
14501                 LIBEBOOK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>&1`
14502         else
14503                 LIBEBOOK_PKG_ERRORS=`$PKG_CONFIG --print-errors "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>&1`
14504         fi
14505         # Put the nasty error message in config.log where it belongs
14506         echo "$LIBEBOOK_PKG_ERRORS" >&5
14507
14508         { $as_echo "$as_me:$LINENO: result: no" >&5
14509 $as_echo "no" >&6; }
14510                 have_libebook=no
14511 elif test $pkg_failed = untried; then
14512         have_libebook=no
14513 else
14514         LIBEBOOK_CFLAGS=$pkg_cv_LIBEBOOK_CFLAGS
14515         LIBEBOOK_LIBS=$pkg_cv_LIBEBOOK_LIBS
14516         { $as_echo "$as_me:$LINENO: result: yes" >&5
14517 $as_echo "yes" >&6; }
14518         have_libebook=yes
14519 fi
14520 fi
14521
14522 if test "x$have_libebook" = "xyes"; then
14523
14524 cat >>confdefs.h <<\_ACEOF
14525 #define HAVE_LIBEBOOK 1
14526 _ACEOF
14527
14528         OPTIONAL_MODULES="$OPTIONAL_MODULES libebook-1.2 >= $LIBEBOOK_REQUIRED"
14529 fi
14530
14531
14532
14533 pkg_failed=no
14534 { $as_echo "$as_me:$LINENO: checking for GLABELS" >&5
14535 $as_echo_n "checking for GLABELS... " >&6; }
14536
14537 if test -n "$GLABELS_CFLAGS"; then
14538     pkg_cv_GLABELS_CFLAGS="$GLABELS_CFLAGS"
14539  elif test -n "$PKG_CONFIG"; then
14540     if test -n "$PKG_CONFIG" && \
14541     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\\
14542 glib-2.0 >= \$GLIB_REQUIRED \\
14543 gtk+-2.0 >= \$GTK_REQUIRED \\
14544 libgnome-2.0 >= \$LIBGNOME_REQUIRED \\
14545 libgnomeui-2.0 >= \$LIBGNOMEUI_REQUIRED \\
14546 libxml-2.0 >= \$LIBXML_REQUIRED \\
14547 libglade-2.0 >= \$LIBGLADE_REQUIRED \\
14548 \$OPTIONAL_MODULES \\
14549 \"") >&5
14550   ($PKG_CONFIG --exists --print-errors "\
14551 glib-2.0 >= $GLIB_REQUIRED \
14552 gtk+-2.0 >= $GTK_REQUIRED \
14553 libgnome-2.0 >= $LIBGNOME_REQUIRED \
14554 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED \
14555 libxml-2.0 >= $LIBXML_REQUIRED \
14556 libglade-2.0 >= $LIBGLADE_REQUIRED \
14557 $OPTIONAL_MODULES \
14558 ") 2>&5
14559   ac_status=$?
14560   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14561   (exit $ac_status); }; then
14562   pkg_cv_GLABELS_CFLAGS=`$PKG_CONFIG --cflags "\
14563 glib-2.0 >= $GLIB_REQUIRED \
14564 gtk+-2.0 >= $GTK_REQUIRED \
14565 libgnome-2.0 >= $LIBGNOME_REQUIRED \
14566 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED \
14567 libxml-2.0 >= $LIBXML_REQUIRED \
14568 libglade-2.0 >= $LIBGLADE_REQUIRED \
14569 $OPTIONAL_MODULES \
14570 " 2>/dev/null`
14571 else
14572   pkg_failed=yes
14573 fi
14574  else
14575     pkg_failed=untried
14576 fi
14577 if test -n "$GLABELS_LIBS"; then
14578     pkg_cv_GLABELS_LIBS="$GLABELS_LIBS"
14579  elif test -n "$PKG_CONFIG"; then
14580     if test -n "$PKG_CONFIG" && \
14581     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\\
14582 glib-2.0 >= \$GLIB_REQUIRED \\
14583 gtk+-2.0 >= \$GTK_REQUIRED \\
14584 libgnome-2.0 >= \$LIBGNOME_REQUIRED \\
14585 libgnomeui-2.0 >= \$LIBGNOMEUI_REQUIRED \\
14586 libxml-2.0 >= \$LIBXML_REQUIRED \\
14587 libglade-2.0 >= \$LIBGLADE_REQUIRED \\
14588 \$OPTIONAL_MODULES \\
14589 \"") >&5
14590   ($PKG_CONFIG --exists --print-errors "\
14591 glib-2.0 >= $GLIB_REQUIRED \
14592 gtk+-2.0 >= $GTK_REQUIRED \
14593 libgnome-2.0 >= $LIBGNOME_REQUIRED \
14594 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED \
14595 libxml-2.0 >= $LIBXML_REQUIRED \
14596 libglade-2.0 >= $LIBGLADE_REQUIRED \
14597 $OPTIONAL_MODULES \
14598 ") 2>&5
14599   ac_status=$?
14600   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14601   (exit $ac_status); }; then
14602   pkg_cv_GLABELS_LIBS=`$PKG_CONFIG --libs "\
14603 glib-2.0 >= $GLIB_REQUIRED \
14604 gtk+-2.0 >= $GTK_REQUIRED \
14605 libgnome-2.0 >= $LIBGNOME_REQUIRED \
14606 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED \
14607 libxml-2.0 >= $LIBXML_REQUIRED \
14608 libglade-2.0 >= $LIBGLADE_REQUIRED \
14609 $OPTIONAL_MODULES \
14610 " 2>/dev/null`
14611 else
14612   pkg_failed=yes
14613 fi
14614  else
14615     pkg_failed=untried
14616 fi
14617
14618
14619
14620 if test $pkg_failed = yes; then
14621
14622 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14623         _pkg_short_errors_supported=yes
14624 else
14625         _pkg_short_errors_supported=no
14626 fi
14627         if test $_pkg_short_errors_supported = yes; then
14628                 GLABELS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\
14629 glib-2.0 >= $GLIB_REQUIRED \
14630 gtk+-2.0 >= $GTK_REQUIRED \
14631 libgnome-2.0 >= $LIBGNOME_REQUIRED \
14632 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED \
14633 libxml-2.0 >= $LIBXML_REQUIRED \
14634 libglade-2.0 >= $LIBGLADE_REQUIRED \
14635 $OPTIONAL_MODULES \
14636 " 2>&1`
14637         else
14638                 GLABELS_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
14639 glib-2.0 >= $GLIB_REQUIRED \
14640 gtk+-2.0 >= $GTK_REQUIRED \
14641 libgnome-2.0 >= $LIBGNOME_REQUIRED \
14642 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED \
14643 libxml-2.0 >= $LIBXML_REQUIRED \
14644 libglade-2.0 >= $LIBGLADE_REQUIRED \
14645 $OPTIONAL_MODULES \
14646 " 2>&1`
14647         fi
14648         # Put the nasty error message in config.log where it belongs
14649         echo "$GLABELS_PKG_ERRORS" >&5
14650
14651         { { $as_echo "$as_me:$LINENO: error: Package requirements (\
14652 glib-2.0 >= $GLIB_REQUIRED \
14653 gtk+-2.0 >= $GTK_REQUIRED \
14654 libgnome-2.0 >= $LIBGNOME_REQUIRED \
14655 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED \
14656 libxml-2.0 >= $LIBXML_REQUIRED \
14657 libglade-2.0 >= $LIBGLADE_REQUIRED \
14658 $OPTIONAL_MODULES \
14659 ) were not met:
14660
14661 $GLABELS_PKG_ERRORS
14662
14663 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14664 installed software in a non-standard prefix.
14665
14666 Alternatively, you may set the environment variables GLABELS_CFLAGS
14667 and GLABELS_LIBS to avoid the need to call pkg-config.
14668 See the pkg-config man page for more details.
14669 " >&5
14670 $as_echo "$as_me: error: Package requirements (\
14671 glib-2.0 >= $GLIB_REQUIRED \
14672 gtk+-2.0 >= $GTK_REQUIRED \
14673 libgnome-2.0 >= $LIBGNOME_REQUIRED \
14674 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED \
14675 libxml-2.0 >= $LIBXML_REQUIRED \
14676 libglade-2.0 >= $LIBGLADE_REQUIRED \
14677 $OPTIONAL_MODULES \
14678 ) were not met:
14679
14680 $GLABELS_PKG_ERRORS
14681
14682 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14683 installed software in a non-standard prefix.
14684
14685 Alternatively, you may set the environment variables GLABELS_CFLAGS
14686 and GLABELS_LIBS to avoid the need to call pkg-config.
14687 See the pkg-config man page for more details.
14688 " >&2;}
14689    { (exit 1); exit 1; }; }
14690 elif test $pkg_failed = untried; then
14691         { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
14692 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14693 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
14694 is in your PATH or set the PKG_CONFIG environment variable to the full
14695 path to pkg-config.
14696
14697 Alternatively, you may set the environment variables GLABELS_CFLAGS
14698 and GLABELS_LIBS to avoid the need to call pkg-config.
14699 See the pkg-config man page for more details.
14700
14701 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14702 See \`config.log' for more details." >&5
14703 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
14704 is in your PATH or set the PKG_CONFIG environment variable to the full
14705 path to pkg-config.
14706
14707 Alternatively, you may set the environment variables GLABELS_CFLAGS
14708 and GLABELS_LIBS to avoid the need to call pkg-config.
14709 See the pkg-config man page for more details.
14710
14711 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14712 See \`config.log' for more details." >&2;}
14713    { (exit 1); exit 1; }; }; }
14714 else
14715         GLABELS_CFLAGS=$pkg_cv_GLABELS_CFLAGS
14716         GLABELS_LIBS=$pkg_cv_GLABELS_LIBS
14717         { $as_echo "$as_me:$LINENO: result: yes" >&5
14718 $as_echo "yes" >&6; }
14719         :
14720 fi
14721
14722
14723
14724
14725
14726
14727 pkg_failed=no
14728 { $as_echo "$as_me:$LINENO: checking for LIBGLABELS" >&5
14729 $as_echo_n "checking for LIBGLABELS... " >&6; }
14730
14731 if test -n "$LIBGLABELS_CFLAGS"; then
14732     pkg_cv_LIBGLABELS_CFLAGS="$LIBGLABELS_CFLAGS"
14733  elif test -n "$PKG_CONFIG"; then
14734     if test -n "$PKG_CONFIG" && \
14735     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\\
14736 glib-2.0 >= \$GLIB_REQUIRED \\
14737 libxml-2.0 >= \$LIBXML_REQUIRED \\
14738 \"") >&5
14739   ($PKG_CONFIG --exists --print-errors "\
14740 glib-2.0 >= $GLIB_REQUIRED \
14741 libxml-2.0 >= $LIBXML_REQUIRED \
14742 ") 2>&5
14743   ac_status=$?
14744   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14745   (exit $ac_status); }; then
14746   pkg_cv_LIBGLABELS_CFLAGS=`$PKG_CONFIG --cflags "\
14747 glib-2.0 >= $GLIB_REQUIRED \
14748 libxml-2.0 >= $LIBXML_REQUIRED \
14749 " 2>/dev/null`
14750 else
14751   pkg_failed=yes
14752 fi
14753  else
14754     pkg_failed=untried
14755 fi
14756 if test -n "$LIBGLABELS_LIBS"; then
14757     pkg_cv_LIBGLABELS_LIBS="$LIBGLABELS_LIBS"
14758  elif test -n "$PKG_CONFIG"; then
14759     if test -n "$PKG_CONFIG" && \
14760     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\\
14761 glib-2.0 >= \$GLIB_REQUIRED \\
14762 libxml-2.0 >= \$LIBXML_REQUIRED \\
14763 \"") >&5
14764   ($PKG_CONFIG --exists --print-errors "\
14765 glib-2.0 >= $GLIB_REQUIRED \
14766 libxml-2.0 >= $LIBXML_REQUIRED \
14767 ") 2>&5
14768   ac_status=$?
14769   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14770   (exit $ac_status); }; then
14771   pkg_cv_LIBGLABELS_LIBS=`$PKG_CONFIG --libs "\
14772 glib-2.0 >= $GLIB_REQUIRED \
14773 libxml-2.0 >= $LIBXML_REQUIRED \
14774 " 2>/dev/null`
14775 else
14776   pkg_failed=yes
14777 fi
14778  else
14779     pkg_failed=untried
14780 fi
14781
14782
14783
14784 if test $pkg_failed = yes; then
14785
14786 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14787         _pkg_short_errors_supported=yes
14788 else
14789         _pkg_short_errors_supported=no
14790 fi
14791         if test $_pkg_short_errors_supported = yes; then
14792                 LIBGLABELS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\
14793 glib-2.0 >= $GLIB_REQUIRED \
14794 libxml-2.0 >= $LIBXML_REQUIRED \
14795 " 2>&1`
14796         else
14797                 LIBGLABELS_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
14798 glib-2.0 >= $GLIB_REQUIRED \
14799 libxml-2.0 >= $LIBXML_REQUIRED \
14800 " 2>&1`
14801         fi
14802         # Put the nasty error message in config.log where it belongs
14803         echo "$LIBGLABELS_PKG_ERRORS" >&5
14804
14805         { { $as_echo "$as_me:$LINENO: error: Package requirements (\
14806 glib-2.0 >= $GLIB_REQUIRED \
14807 libxml-2.0 >= $LIBXML_REQUIRED \
14808 ) were not met:
14809
14810 $LIBGLABELS_PKG_ERRORS
14811
14812 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14813 installed software in a non-standard prefix.
14814
14815 Alternatively, you may set the environment variables LIBGLABELS_CFLAGS
14816 and LIBGLABELS_LIBS to avoid the need to call pkg-config.
14817 See the pkg-config man page for more details.
14818 " >&5
14819 $as_echo "$as_me: error: Package requirements (\
14820 glib-2.0 >= $GLIB_REQUIRED \
14821 libxml-2.0 >= $LIBXML_REQUIRED \
14822 ) were not met:
14823
14824 $LIBGLABELS_PKG_ERRORS
14825
14826 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14827 installed software in a non-standard prefix.
14828
14829 Alternatively, you may set the environment variables LIBGLABELS_CFLAGS
14830 and LIBGLABELS_LIBS to avoid the need to call pkg-config.
14831 See the pkg-config man page for more details.
14832 " >&2;}
14833    { (exit 1); exit 1; }; }
14834 elif test $pkg_failed = untried; then
14835         { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
14836 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14837 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
14838 is in your PATH or set the PKG_CONFIG environment variable to the full
14839 path to pkg-config.
14840
14841 Alternatively, you may set the environment variables LIBGLABELS_CFLAGS
14842 and LIBGLABELS_LIBS to avoid the need to call pkg-config.
14843 See the pkg-config man page for more details.
14844
14845 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14846 See \`config.log' for more details." >&5
14847 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
14848 is in your PATH or set the PKG_CONFIG environment variable to the full
14849 path to pkg-config.
14850
14851 Alternatively, you may set the environment variables LIBGLABELS_CFLAGS
14852 and LIBGLABELS_LIBS to avoid the need to call pkg-config.
14853 See the pkg-config man page for more details.
14854
14855 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14856 See \`config.log' for more details." >&2;}
14857    { (exit 1); exit 1; }; }; }
14858 else
14859         LIBGLABELS_CFLAGS=$pkg_cv_LIBGLABELS_CFLAGS
14860         LIBGLABELS_LIBS=$pkg_cv_LIBGLABELS_LIBS
14861         { $as_echo "$as_me:$LINENO: result: yes" >&5
14862 $as_echo "yes" >&6; }
14863         :
14864 fi
14865
14866
14867
14868
14869
14870
14871 pkg_failed=no
14872 { $as_echo "$as_me:$LINENO: checking for MYGAL" >&5
14873 $as_echo_n "checking for MYGAL... " >&6; }
14874
14875 if test -n "$MYGAL_CFLAGS"; then
14876     pkg_cv_MYGAL_CFLAGS="$MYGAL_CFLAGS"
14877  elif test -n "$PKG_CONFIG"; then
14878     if test -n "$PKG_CONFIG" && \
14879     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\\
14880 gtk+-2.0 >= \$GTK_REQUIRED \\
14881 libgnomeui-2.0 >= \$LIBGNOMEUI_REQUIRED \\
14882 \"") >&5
14883   ($PKG_CONFIG --exists --print-errors "\
14884 gtk+-2.0 >= $GTK_REQUIRED \
14885 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED \
14886 ") 2>&5
14887   ac_status=$?
14888   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14889   (exit $ac_status); }; then
14890   pkg_cv_MYGAL_CFLAGS=`$PKG_CONFIG --cflags "\
14891 gtk+-2.0 >= $GTK_REQUIRED \
14892 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED \
14893 " 2>/dev/null`
14894 else
14895   pkg_failed=yes
14896 fi
14897  else
14898     pkg_failed=untried
14899 fi
14900 if test -n "$MYGAL_LIBS"; then
14901     pkg_cv_MYGAL_LIBS="$MYGAL_LIBS"
14902  elif test -n "$PKG_CONFIG"; then
14903     if test -n "$PKG_CONFIG" && \
14904     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\\
14905 gtk+-2.0 >= \$GTK_REQUIRED \\
14906 libgnomeui-2.0 >= \$LIBGNOMEUI_REQUIRED \\
14907 \"") >&5
14908   ($PKG_CONFIG --exists --print-errors "\
14909 gtk+-2.0 >= $GTK_REQUIRED \
14910 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED \
14911 ") 2>&5
14912   ac_status=$?
14913   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14914   (exit $ac_status); }; then
14915   pkg_cv_MYGAL_LIBS=`$PKG_CONFIG --libs "\
14916 gtk+-2.0 >= $GTK_REQUIRED \
14917 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED \
14918 " 2>/dev/null`
14919 else
14920   pkg_failed=yes
14921 fi
14922  else
14923     pkg_failed=untried
14924 fi
14925
14926
14927
14928 if test $pkg_failed = yes; then
14929
14930 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14931         _pkg_short_errors_supported=yes
14932 else
14933         _pkg_short_errors_supported=no
14934 fi
14935         if test $_pkg_short_errors_supported = yes; then
14936                 MYGAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\
14937 gtk+-2.0 >= $GTK_REQUIRED \
14938 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED \
14939 " 2>&1`
14940         else
14941                 MYGAL_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
14942 gtk+-2.0 >= $GTK_REQUIRED \
14943 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED \
14944 " 2>&1`
14945         fi
14946         # Put the nasty error message in config.log where it belongs
14947         echo "$MYGAL_PKG_ERRORS" >&5
14948
14949         { { $as_echo "$as_me:$LINENO: error: Package requirements (\
14950 gtk+-2.0 >= $GTK_REQUIRED \
14951 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED \
14952 ) were not met:
14953
14954 $MYGAL_PKG_ERRORS
14955
14956 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14957 installed software in a non-standard prefix.
14958
14959 Alternatively, you may set the environment variables MYGAL_CFLAGS
14960 and MYGAL_LIBS to avoid the need to call pkg-config.
14961 See the pkg-config man page for more details.
14962 " >&5
14963 $as_echo "$as_me: error: Package requirements (\
14964 gtk+-2.0 >= $GTK_REQUIRED \
14965 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED \
14966 ) were not met:
14967
14968 $MYGAL_PKG_ERRORS
14969
14970 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14971 installed software in a non-standard prefix.
14972
14973 Alternatively, you may set the environment variables MYGAL_CFLAGS
14974 and MYGAL_LIBS to avoid the need to call pkg-config.
14975 See the pkg-config man page for more details.
14976 " >&2;}
14977    { (exit 1); exit 1; }; }
14978 elif test $pkg_failed = untried; then
14979         { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
14980 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14981 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
14982 is in your PATH or set the PKG_CONFIG environment variable to the full
14983 path to pkg-config.
14984
14985 Alternatively, you may set the environment variables MYGAL_CFLAGS
14986 and MYGAL_LIBS to avoid the need to call pkg-config.
14987 See the pkg-config man page for more details.
14988
14989 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14990 See \`config.log' for more details." >&5
14991 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
14992 is in your PATH or set the PKG_CONFIG environment variable to the full
14993 path to pkg-config.
14994
14995 Alternatively, you may set the environment variables MYGAL_CFLAGS
14996 and MYGAL_LIBS to avoid the need to call pkg-config.
14997 See the pkg-config man page for more details.
14998
14999 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15000 See \`config.log' for more details." >&2;}
15001    { (exit 1); exit 1; }; }; }
15002 else
15003         MYGAL_CFLAGS=$pkg_cv_MYGAL_CFLAGS
15004         MYGAL_LIBS=$pkg_cv_MYGAL_LIBS
15005         { $as_echo "$as_me:$LINENO: result: yes" >&5
15006 $as_echo "yes" >&6; }
15007         :
15008 fi
15009
15010
15011
15012
15013
15014
15015 pkg_failed=no
15016 { $as_echo "$as_me:$LINENO: checking for XML_PARSE_HUGE" >&5
15017 $as_echo_n "checking for XML_PARSE_HUGE... " >&6; }
15018
15019 if test -n "$XML_PARSE_HUGE_CFLAGS"; then
15020     pkg_cv_XML_PARSE_HUGE_CFLAGS="$XML_PARSE_HUGE_CFLAGS"
15021  elif test -n "$PKG_CONFIG"; then
15022     if test -n "$PKG_CONFIG" && \
15023     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.7.0\"") >&5
15024   ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.7.0") 2>&5
15025   ac_status=$?
15026   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15027   (exit $ac_status); }; then
15028   pkg_cv_XML_PARSE_HUGE_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.7.0" 2>/dev/null`
15029 else
15030   pkg_failed=yes
15031 fi
15032  else
15033     pkg_failed=untried
15034 fi
15035 if test -n "$XML_PARSE_HUGE_LIBS"; then
15036     pkg_cv_XML_PARSE_HUGE_LIBS="$XML_PARSE_HUGE_LIBS"
15037  elif test -n "$PKG_CONFIG"; then
15038     if test -n "$PKG_CONFIG" && \
15039     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.7.0\"") >&5
15040   ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.7.0") 2>&5
15041   ac_status=$?
15042   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15043   (exit $ac_status); }; then
15044   pkg_cv_XML_PARSE_HUGE_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.7.0" 2>/dev/null`
15045 else
15046   pkg_failed=yes
15047 fi
15048  else
15049     pkg_failed=untried
15050 fi
15051
15052
15053
15054 if test $pkg_failed = yes; then
15055
15056 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15057         _pkg_short_errors_supported=yes
15058 else
15059         _pkg_short_errors_supported=no
15060 fi
15061         if test $_pkg_short_errors_supported = yes; then
15062                 XML_PARSE_HUGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxml-2.0 >= 2.7.0" 2>&1`
15063         else
15064                 XML_PARSE_HUGE_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxml-2.0 >= 2.7.0" 2>&1`
15065         fi
15066         # Put the nasty error message in config.log where it belongs
15067         echo "$XML_PARSE_HUGE_PKG_ERRORS" >&5
15068
15069         { $as_echo "$as_me:$LINENO: result: no" >&5
15070 $as_echo "no" >&6; }
15071                 HAVE_XML_PARSE_HUGE="-UHAVE_XML_PARSE_HUGE"
15072 elif test $pkg_failed = untried; then
15073         HAVE_XML_PARSE_HUGE="-UHAVE_XML_PARSE_HUGE"
15074 else
15075         XML_PARSE_HUGE_CFLAGS=$pkg_cv_XML_PARSE_HUGE_CFLAGS
15076         XML_PARSE_HUGE_LIBS=$pkg_cv_XML_PARSE_HUGE_LIBS
15077         { $as_echo "$as_me:$LINENO: result: yes" >&5
15078 $as_echo "yes" >&6; }
15079         HAVE_XML_PARSE_HUGE="-DHAVE_XML_PARSE_HUGE"
15080 fi
15081
15082
15083
15084 # Check whether --enable-deprecations was given.
15085 if test "${enable_deprecations+set}" = set; then
15086   enableval=$enable_deprecations;
15087 else
15088   enable_deprecations=no
15089 fi
15090
15091
15092 if test "x$enable_deprecations" = "xyes"; then
15093    DISABLE_DEPRECATED_CFLAGS="\
15094 -DG_DISABLE_DEPRECATED \
15095 -DGDK_DISABLE_DEPRECATED \
15096 -DGTK_DISABLE_DEPRECATED \
15097 -DGDK_PIXBUF_DISABLE_DEPRECATED \
15098 -DGNOME_DISABLE_DEPRECATED \
15099 -DLIBGLADE_DISABLE_DEPRECATED"
15100
15101 fi
15102
15103
15104 # Extract the first word of "update-mime-database", so it can be a program name with args.
15105 set dummy update-mime-database; ac_word=$2
15106 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15107 $as_echo_n "checking for $ac_word... " >&6; }
15108 if test "${ac_cv_path_UPDATE_MIME_DATABASE+set}" = set; then
15109   $as_echo_n "(cached) " >&6
15110 else
15111   case $UPDATE_MIME_DATABASE in
15112   [\\/]* | ?:[\\/]*)
15113   ac_cv_path_UPDATE_MIME_DATABASE="$UPDATE_MIME_DATABASE" # Let the user override the test with a path.
15114   ;;
15115   *)
15116   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15117 for as_dir in $PATH
15118 do
15119   IFS=$as_save_IFS
15120   test -z "$as_dir" && as_dir=.
15121   for ac_exec_ext in '' $ac_executable_extensions; do
15122   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15123     ac_cv_path_UPDATE_MIME_DATABASE="$as_dir/$ac_word$ac_exec_ext"
15124     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15125     break 2
15126   fi
15127 done
15128 done
15129 IFS=$as_save_IFS
15130
15131   test -z "$ac_cv_path_UPDATE_MIME_DATABASE" && ac_cv_path_UPDATE_MIME_DATABASE="no"
15132   ;;
15133 esac
15134 fi
15135 UPDATE_MIME_DATABASE=$ac_cv_path_UPDATE_MIME_DATABASE
15136 if test -n "$UPDATE_MIME_DATABASE"; then
15137   { $as_echo "$as_me:$LINENO: result: $UPDATE_MIME_DATABASE" >&5
15138 $as_echo "$UPDATE_MIME_DATABASE" >&6; }
15139 else
15140   { $as_echo "$as_me:$LINENO: result: no" >&5
15141 $as_echo "no" >&6; }
15142 fi
15143
15144
15145  if test x$UPDATE_MIME_DATABASE != xno; then
15146   HAVE_NEW_MIME_TRUE=
15147   HAVE_NEW_MIME_FALSE='#'
15148 else
15149   HAVE_NEW_MIME_TRUE='#'
15150   HAVE_NEW_MIME_FALSE=
15151 fi
15152
15153
15154 # Extract the first word of "update-desktop-database", so it can be a program name with args.
15155 set dummy update-desktop-database; ac_word=$2
15156 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15157 $as_echo_n "checking for $ac_word... " >&6; }
15158 if test "${ac_cv_path_UPDATE_DESKTOP_DATABASE+set}" = set; then
15159   $as_echo_n "(cached) " >&6
15160 else
15161   case $UPDATE_DESKTOP_DATABASE in
15162   [\\/]* | ?:[\\/]*)
15163   ac_cv_path_UPDATE_DESKTOP_DATABASE="$UPDATE_DESKTOP_DATABASE" # Let the user override the test with a path.
15164   ;;
15165   *)
15166   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15167 for as_dir in $PATH
15168 do
15169   IFS=$as_save_IFS
15170   test -z "$as_dir" && as_dir=.
15171   for ac_exec_ext in '' $ac_executable_extensions; do
15172   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15173     ac_cv_path_UPDATE_DESKTOP_DATABASE="$as_dir/$ac_word$ac_exec_ext"
15174     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15175     break 2
15176   fi
15177 done
15178 done
15179 IFS=$as_save_IFS
15180
15181   test -z "$ac_cv_path_UPDATE_DESKTOP_DATABASE" && ac_cv_path_UPDATE_DESKTOP_DATABASE="no"
15182   ;;
15183 esac
15184 fi
15185 UPDATE_DESKTOP_DATABASE=$ac_cv_path_UPDATE_DESKTOP_DATABASE
15186 if test -n "$UPDATE_DESKTOP_DATABASE"; then
15187   { $as_echo "$as_me:$LINENO: result: $UPDATE_DESKTOP_DATABASE" >&5
15188 $as_echo "$UPDATE_DESKTOP_DATABASE" >&6; }
15189 else
15190   { $as_echo "$as_me:$LINENO: result: no" >&5
15191 $as_echo "no" >&6; }
15192 fi
15193
15194
15195  if test x$UPDATE_DESKTOP_DATABASE != xno; then
15196   HAVE_NEWER_MIME_TRUE=
15197   HAVE_NEWER_MIME_FALSE='#'
15198 else
15199   HAVE_NEWER_MIME_TRUE='#'
15200   HAVE_NEWER_MIME_FALSE=
15201 fi
15202
15203
15204 # Check whether --enable-update-mimedb was given.
15205 if test "${enable_update_mimedb+set}" = set; then
15206   enableval=$enable_update_mimedb;
15207 else
15208   enable_update_mimedb=yes
15209 fi
15210
15211  if test x$enable_update_mimedb = xyes; then
15212   ENABLE_UPDATE_MIMEDB_TRUE=
15213   ENABLE_UPDATE_MIMEDB_FALSE='#'
15214 else
15215   ENABLE_UPDATE_MIMEDB_TRUE='#'
15216   ENABLE_UPDATE_MIMEDB_FALSE=
15217 fi
15218
15219
15220 # Check whether --enable-update-desktopdb was given.
15221 if test "${enable_update_desktopdb+set}" = set; then
15222   enableval=$enable_update_desktopdb;
15223 else
15224   enable_update_desktopdb=yes
15225 fi
15226
15227  if test x$enable_update_desktopdb = xyes; then
15228   ENABLE_UPDATE_DESKTOPDB_TRUE=
15229   ENABLE_UPDATE_DESKTOPDB_FALSE='#'
15230 else
15231   ENABLE_UPDATE_DESKTOPDB_TRUE='#'
15232   ENABLE_UPDATE_DESKTOPDB_FALSE=
15233 fi
15234
15235
15236
15237 GETTEXT_PACKAGE=glabels
15238
15239
15240 cat >>confdefs.h <<_ACEOF
15241 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
15242 _ACEOF
15243
15244
15245
15246
15247 for ac_header in locale.h
15248 do
15249 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15250 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15251   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15252 $as_echo_n "checking for $ac_header... " >&6; }
15253 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15254   $as_echo_n "(cached) " >&6
15255 fi
15256 ac_res=`eval 'as_val=${'$as_ac_Header'}
15257                  $as_echo "$as_val"'`
15258                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15259 $as_echo "$ac_res" >&6; }
15260 else
15261   # Is the header compilable?
15262 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15263 $as_echo_n "checking $ac_header usability... " >&6; }
15264 cat >conftest.$ac_ext <<_ACEOF
15265 /* confdefs.h.  */
15266 _ACEOF
15267 cat confdefs.h >>conftest.$ac_ext
15268 cat >>conftest.$ac_ext <<_ACEOF
15269 /* end confdefs.h.  */
15270 $ac_includes_default
15271 #include <$ac_header>
15272 _ACEOF
15273 rm -f conftest.$ac_objext
15274 if { (ac_try="$ac_compile"
15275 case "(($ac_try" in
15276   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15277   *) ac_try_echo=$ac_try;;
15278 esac
15279 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15280 $as_echo "$ac_try_echo") >&5
15281   (eval "$ac_compile") 2>conftest.er1
15282   ac_status=$?
15283   grep -v '^ *+' conftest.er1 >conftest.err
15284   rm -f conftest.er1
15285   cat conftest.err >&5
15286   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15287   (exit $ac_status); } && {
15288          test -z "$ac_c_werror_flag" ||
15289          test ! -s conftest.err
15290        } && test -s conftest.$ac_objext; then
15291   ac_header_compiler=yes
15292 else
15293   $as_echo "$as_me: failed program was:" >&5
15294 sed 's/^/| /' conftest.$ac_ext >&5
15295
15296         ac_header_compiler=no
15297 fi
15298
15299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15300 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15301 $as_echo "$ac_header_compiler" >&6; }
15302
15303 # Is the header present?
15304 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15305 $as_echo_n "checking $ac_header presence... " >&6; }
15306 cat >conftest.$ac_ext <<_ACEOF
15307 /* confdefs.h.  */
15308 _ACEOF
15309 cat confdefs.h >>conftest.$ac_ext
15310 cat >>conftest.$ac_ext <<_ACEOF
15311 /* end confdefs.h.  */
15312 #include <$ac_header>
15313 _ACEOF
15314 if { (ac_try="$ac_cpp conftest.$ac_ext"
15315 case "(($ac_try" in
15316   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15317   *) ac_try_echo=$ac_try;;
15318 esac
15319 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15320 $as_echo "$ac_try_echo") >&5
15321   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15322   ac_status=$?
15323   grep -v '^ *+' conftest.er1 >conftest.err
15324   rm -f conftest.er1
15325   cat conftest.err >&5
15326   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327   (exit $ac_status); } >/dev/null && {
15328          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15329          test ! -s conftest.err
15330        }; then
15331   ac_header_preproc=yes
15332 else
15333   $as_echo "$as_me: failed program was:" >&5
15334 sed 's/^/| /' conftest.$ac_ext >&5
15335
15336   ac_header_preproc=no
15337 fi
15338
15339 rm -f conftest.err conftest.$ac_ext
15340 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15341 $as_echo "$ac_header_preproc" >&6; }
15342
15343 # So?  What about this header?
15344 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15345   yes:no: )
15346     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15347 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15348     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15349 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15350     ac_header_preproc=yes
15351     ;;
15352   no:yes:* )
15353     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15354 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15355     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15356 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15357     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15358 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15359     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15360 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15361     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15362 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15363     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15364 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15365     ( cat <<\_ASBOX
15366 ## ---------------------------------------------------------------------------------- ##
15367 ## Report this to http://sourceforge.net/tracker/?func=add&group_id=46122&atid=445116 ##
15368 ## ---------------------------------------------------------------------------------- ##
15369 _ASBOX
15370      ) | sed "s/^/$as_me: WARNING:     /" >&2
15371     ;;
15372 esac
15373 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15374 $as_echo_n "checking for $ac_header... " >&6; }
15375 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15376   $as_echo_n "(cached) " >&6
15377 else
15378   eval "$as_ac_Header=\$ac_header_preproc"
15379 fi
15380 ac_res=`eval 'as_val=${'$as_ac_Header'}
15381                  $as_echo "$as_val"'`
15382                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15383 $as_echo "$ac_res" >&6; }
15384
15385 fi
15386 as_val=`eval 'as_val=${'$as_ac_Header'}
15387                  $as_echo "$as_val"'`
15388    if test "x$as_val" = x""yes; then
15389   cat >>confdefs.h <<_ACEOF
15390 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15391 _ACEOF
15392
15393 fi
15394
15395 done
15396
15397     if test $ac_cv_header_locale_h = yes; then
15398     { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
15399 $as_echo_n "checking for LC_MESSAGES... " >&6; }
15400 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
15401   $as_echo_n "(cached) " >&6
15402 else
15403   cat >conftest.$ac_ext <<_ACEOF
15404 /* confdefs.h.  */
15405 _ACEOF
15406 cat confdefs.h >>conftest.$ac_ext
15407 cat >>conftest.$ac_ext <<_ACEOF
15408 /* end confdefs.h.  */
15409 #include <locale.h>
15410 int
15411 main ()
15412 {
15413 return LC_MESSAGES
15414   ;
15415   return 0;
15416 }
15417 _ACEOF
15418 rm -f conftest.$ac_objext conftest$ac_exeext
15419 if { (ac_try="$ac_link"
15420 case "(($ac_try" in
15421   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15422   *) ac_try_echo=$ac_try;;
15423 esac
15424 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15425 $as_echo "$ac_try_echo") >&5
15426   (eval "$ac_link") 2>conftest.er1
15427   ac_status=$?
15428   grep -v '^ *+' conftest.er1 >conftest.err
15429   rm -f conftest.er1
15430   cat conftest.err >&5
15431   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15432   (exit $ac_status); } && {
15433          test -z "$ac_c_werror_flag" ||
15434          test ! -s conftest.err
15435        } && test -s conftest$ac_exeext && {
15436          test "$cross_compiling" = yes ||
15437          $as_test_x conftest$ac_exeext
15438        }; then
15439   am_cv_val_LC_MESSAGES=yes
15440 else
15441   $as_echo "$as_me: failed program was:" >&5
15442 sed 's/^/| /' conftest.$ac_ext >&5
15443
15444         am_cv_val_LC_MESSAGES=no
15445 fi
15446
15447 rm -rf conftest.dSYM
15448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15449       conftest$ac_exeext conftest.$ac_ext
15450 fi
15451 { $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
15452 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
15453     if test $am_cv_val_LC_MESSAGES = yes; then
15454
15455 cat >>confdefs.h <<\_ACEOF
15456 #define HAVE_LC_MESSAGES 1
15457 _ACEOF
15458
15459     fi
15460   fi
15461      USE_NLS=yes
15462
15463
15464     gt_cv_have_gettext=no
15465
15466     CATOBJEXT=NONE
15467     XGETTEXT=:
15468     INTLLIBS=
15469
15470     if test "${ac_cv_header_libintl_h+set}" = set; then
15471   { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
15472 $as_echo_n "checking for libintl.h... " >&6; }
15473 if test "${ac_cv_header_libintl_h+set}" = set; then
15474   $as_echo_n "(cached) " >&6
15475 fi
15476 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
15477 $as_echo "$ac_cv_header_libintl_h" >&6; }
15478 else
15479   # Is the header compilable?
15480 { $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
15481 $as_echo_n "checking libintl.h usability... " >&6; }
15482 cat >conftest.$ac_ext <<_ACEOF
15483 /* confdefs.h.  */
15484 _ACEOF
15485 cat confdefs.h >>conftest.$ac_ext
15486 cat >>conftest.$ac_ext <<_ACEOF
15487 /* end confdefs.h.  */
15488 $ac_includes_default
15489 #include <libintl.h>
15490 _ACEOF
15491 rm -f conftest.$ac_objext
15492 if { (ac_try="$ac_compile"
15493 case "(($ac_try" in
15494   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15495   *) ac_try_echo=$ac_try;;
15496 esac
15497 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15498 $as_echo "$ac_try_echo") >&5
15499   (eval "$ac_compile") 2>conftest.er1
15500   ac_status=$?
15501   grep -v '^ *+' conftest.er1 >conftest.err
15502   rm -f conftest.er1
15503   cat conftest.err >&5
15504   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15505   (exit $ac_status); } && {
15506          test -z "$ac_c_werror_flag" ||
15507          test ! -s conftest.err
15508        } && test -s conftest.$ac_objext; then
15509   ac_header_compiler=yes
15510 else
15511   $as_echo "$as_me: failed program was:" >&5
15512 sed 's/^/| /' conftest.$ac_ext >&5
15513
15514         ac_header_compiler=no
15515 fi
15516
15517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15518 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15519 $as_echo "$ac_header_compiler" >&6; }
15520
15521 # Is the header present?
15522 { $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
15523 $as_echo_n "checking libintl.h presence... " >&6; }
15524 cat >conftest.$ac_ext <<_ACEOF
15525 /* confdefs.h.  */
15526 _ACEOF
15527 cat confdefs.h >>conftest.$ac_ext
15528 cat >>conftest.$ac_ext <<_ACEOF
15529 /* end confdefs.h.  */
15530 #include <libintl.h>
15531 _ACEOF
15532 if { (ac_try="$ac_cpp conftest.$ac_ext"
15533 case "(($ac_try" in
15534   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15535   *) ac_try_echo=$ac_try;;
15536 esac
15537 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15538 $as_echo "$ac_try_echo") >&5
15539   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15540   ac_status=$?
15541   grep -v '^ *+' conftest.er1 >conftest.err
15542   rm -f conftest.er1
15543   cat conftest.err >&5
15544   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15545   (exit $ac_status); } >/dev/null && {
15546          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15547          test ! -s conftest.err
15548        }; then
15549   ac_header_preproc=yes
15550 else
15551   $as_echo "$as_me: failed program was:" >&5
15552 sed 's/^/| /' conftest.$ac_ext >&5
15553
15554   ac_header_preproc=no
15555 fi
15556
15557 rm -f conftest.err conftest.$ac_ext
15558 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15559 $as_echo "$ac_header_preproc" >&6; }
15560
15561 # So?  What about this header?
15562 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15563   yes:no: )
15564     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
15565 $as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15566     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
15567 $as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
15568     ac_header_preproc=yes
15569     ;;
15570   no:yes:* )
15571     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
15572 $as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
15573     { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
15574 $as_echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
15575     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
15576 $as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
15577     { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
15578 $as_echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
15579     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
15580 $as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
15581     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
15582 $as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
15583     ( cat <<\_ASBOX
15584 ## ---------------------------------------------------------------------------------- ##
15585 ## Report this to http://sourceforge.net/tracker/?func=add&group_id=46122&atid=445116 ##
15586 ## ---------------------------------------------------------------------------------- ##
15587 _ASBOX
15588      ) | sed "s/^/$as_me: WARNING:     /" >&2
15589     ;;
15590 esac
15591 { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
15592 $as_echo_n "checking for libintl.h... " >&6; }
15593 if test "${ac_cv_header_libintl_h+set}" = set; then
15594   $as_echo_n "(cached) " >&6
15595 else
15596   ac_cv_header_libintl_h=$ac_header_preproc
15597 fi
15598 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
15599 $as_echo "$ac_cv_header_libintl_h" >&6; }
15600
15601 fi
15602 if test "x$ac_cv_header_libintl_h" = x""yes; then
15603   gt_cv_func_dgettext_libintl="no"
15604       libintl_extra_libs=""
15605
15606       #
15607       # First check in libc
15608       #
15609       { $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
15610 $as_echo_n "checking for ngettext in libc... " >&6; }
15611 if test "${gt_cv_func_ngettext_libc+set}" = set; then
15612   $as_echo_n "(cached) " >&6
15613 else
15614   cat >conftest.$ac_ext <<_ACEOF
15615 /* confdefs.h.  */
15616 _ACEOF
15617 cat confdefs.h >>conftest.$ac_ext
15618 cat >>conftest.$ac_ext <<_ACEOF
15619 /* end confdefs.h.  */
15620
15621 #include <libintl.h>
15622
15623 int
15624 main ()
15625 {
15626 return !ngettext ("","", 1)
15627   ;
15628   return 0;
15629 }
15630 _ACEOF
15631 rm -f conftest.$ac_objext conftest$ac_exeext
15632 if { (ac_try="$ac_link"
15633 case "(($ac_try" in
15634   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15635   *) ac_try_echo=$ac_try;;
15636 esac
15637 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15638 $as_echo "$ac_try_echo") >&5
15639   (eval "$ac_link") 2>conftest.er1
15640   ac_status=$?
15641   grep -v '^ *+' conftest.er1 >conftest.err
15642   rm -f conftest.er1
15643   cat conftest.err >&5
15644   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15645   (exit $ac_status); } && {
15646          test -z "$ac_c_werror_flag" ||
15647          test ! -s conftest.err
15648        } && test -s conftest$ac_exeext && {
15649          test "$cross_compiling" = yes ||
15650          $as_test_x conftest$ac_exeext
15651        }; then
15652   gt_cv_func_ngettext_libc=yes
15653 else
15654   $as_echo "$as_me: failed program was:" >&5
15655 sed 's/^/| /' conftest.$ac_ext >&5
15656
15657         gt_cv_func_ngettext_libc=no
15658 fi
15659
15660 rm -rf conftest.dSYM
15661 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15662       conftest$ac_exeext conftest.$ac_ext
15663
15664 fi
15665 { $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
15666 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
15667
15668       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
15669               { $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5
15670 $as_echo_n "checking for dgettext in libc... " >&6; }
15671 if test "${gt_cv_func_dgettext_libc+set}" = set; then
15672   $as_echo_n "(cached) " >&6
15673 else
15674   cat >conftest.$ac_ext <<_ACEOF
15675 /* confdefs.h.  */
15676 _ACEOF
15677 cat confdefs.h >>conftest.$ac_ext
15678 cat >>conftest.$ac_ext <<_ACEOF
15679 /* end confdefs.h.  */
15680
15681 #include <libintl.h>
15682
15683 int
15684 main ()
15685 {
15686 return !dgettext ("","")
15687   ;
15688   return 0;
15689 }
15690 _ACEOF
15691 rm -f conftest.$ac_objext conftest$ac_exeext
15692 if { (ac_try="$ac_link"
15693 case "(($ac_try" in
15694   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15695   *) ac_try_echo=$ac_try;;
15696 esac
15697 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15698 $as_echo "$ac_try_echo") >&5
15699   (eval "$ac_link") 2>conftest.er1
15700   ac_status=$?
15701   grep -v '^ *+' conftest.er1 >conftest.err
15702   rm -f conftest.er1
15703   cat conftest.err >&5
15704   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15705   (exit $ac_status); } && {
15706          test -z "$ac_c_werror_flag" ||
15707          test ! -s conftest.err
15708        } && test -s conftest$ac_exeext && {
15709          test "$cross_compiling" = yes ||
15710          $as_test_x conftest$ac_exeext
15711        }; then
15712   gt_cv_func_dgettext_libc=yes
15713 else
15714   $as_echo "$as_me: failed program was:" >&5
15715 sed 's/^/| /' conftest.$ac_ext >&5
15716
15717         gt_cv_func_dgettext_libc=no
15718 fi
15719
15720 rm -rf conftest.dSYM
15721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15722       conftest$ac_exeext conftest.$ac_ext
15723
15724 fi
15725 { $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
15726 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
15727       fi
15728
15729       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
15730
15731 for ac_func in bind_textdomain_codeset
15732 do
15733 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15734 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15735 $as_echo_n "checking for $ac_func... " >&6; }
15736 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15737   $as_echo_n "(cached) " >&6
15738 else
15739   cat >conftest.$ac_ext <<_ACEOF
15740 /* confdefs.h.  */
15741 _ACEOF
15742 cat confdefs.h >>conftest.$ac_ext
15743 cat >>conftest.$ac_ext <<_ACEOF
15744 /* end confdefs.h.  */
15745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15746    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15747 #define $ac_func innocuous_$ac_func
15748
15749 /* System header to define __stub macros and hopefully few prototypes,
15750     which can conflict with char $ac_func (); below.
15751     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15752     <limits.h> exists even on freestanding compilers.  */
15753
15754 #ifdef __STDC__
15755 # include <limits.h>
15756 #else
15757 # include <assert.h>
15758 #endif
15759
15760 #undef $ac_func
15761
15762 /* Override any GCC internal prototype to avoid an error.
15763    Use char because int might match the return type of a GCC
15764    builtin and then its argument prototype would still apply.  */
15765 #ifdef __cplusplus
15766 extern "C"
15767 #endif
15768 char $ac_func ();
15769 /* The GNU C library defines this for functions which it implements
15770     to always fail with ENOSYS.  Some functions are actually named
15771     something starting with __ and the normal name is an alias.  */
15772 #if defined __stub_$ac_func || defined __stub___$ac_func
15773 choke me
15774 #endif
15775
15776 int
15777 main ()
15778 {
15779 return $ac_func ();
15780   ;
15781   return 0;
15782 }
15783 _ACEOF
15784 rm -f conftest.$ac_objext conftest$ac_exeext
15785 if { (ac_try="$ac_link"
15786 case "(($ac_try" in
15787   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15788   *) ac_try_echo=$ac_try;;
15789 esac
15790 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15791 $as_echo "$ac_try_echo") >&5
15792   (eval "$ac_link") 2>conftest.er1
15793   ac_status=$?
15794   grep -v '^ *+' conftest.er1 >conftest.err
15795   rm -f conftest.er1
15796   cat conftest.err >&5
15797   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15798   (exit $ac_status); } && {
15799          test -z "$ac_c_werror_flag" ||
15800          test ! -s conftest.err
15801        } && test -s conftest$ac_exeext && {
15802          test "$cross_compiling" = yes ||
15803          $as_test_x conftest$ac_exeext
15804        }; then
15805   eval "$as_ac_var=yes"
15806 else
15807   $as_echo "$as_me: failed program was:" >&5
15808 sed 's/^/| /' conftest.$ac_ext >&5
15809
15810         eval "$as_ac_var=no"
15811 fi
15812
15813 rm -rf conftest.dSYM
15814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15815       conftest$ac_exeext conftest.$ac_ext
15816 fi
15817 ac_res=`eval 'as_val=${'$as_ac_var'}
15818                  $as_echo "$as_val"'`
15819                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15820 $as_echo "$ac_res" >&6; }
15821 as_val=`eval 'as_val=${'$as_ac_var'}
15822                  $as_echo "$as_val"'`
15823    if test "x$as_val" = x""yes; then
15824   cat >>confdefs.h <<_ACEOF
15825 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15826 _ACEOF
15827
15828 fi
15829 done
15830
15831       fi
15832
15833       #
15834       # If we don't have everything we want, check in libintl
15835       #
15836       if test "$gt_cv_func_dgettext_libc" != "yes" \
15837          || test "$gt_cv_func_ngettext_libc" != "yes" \
15838          || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
15839
15840         { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
15841 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
15842 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
15843   $as_echo_n "(cached) " >&6
15844 else
15845   ac_check_lib_save_LIBS=$LIBS
15846 LIBS="-lintl  $LIBS"
15847 cat >conftest.$ac_ext <<_ACEOF
15848 /* confdefs.h.  */
15849 _ACEOF
15850 cat confdefs.h >>conftest.$ac_ext
15851 cat >>conftest.$ac_ext <<_ACEOF
15852 /* end confdefs.h.  */
15853
15854 /* Override any GCC internal prototype to avoid an error.
15855    Use char because int might match the return type of a GCC
15856    builtin and then its argument prototype would still apply.  */
15857 #ifdef __cplusplus
15858 extern "C"
15859 #endif
15860 char bindtextdomain ();
15861 int
15862 main ()
15863 {
15864 return bindtextdomain ();
15865   ;
15866   return 0;
15867 }
15868 _ACEOF
15869 rm -f conftest.$ac_objext conftest$ac_exeext
15870 if { (ac_try="$ac_link"
15871 case "(($ac_try" in
15872   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15873   *) ac_try_echo=$ac_try;;
15874 esac
15875 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15876 $as_echo "$ac_try_echo") >&5
15877   (eval "$ac_link") 2>conftest.er1
15878   ac_status=$?
15879   grep -v '^ *+' conftest.er1 >conftest.err
15880   rm -f conftest.er1
15881   cat conftest.err >&5
15882   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15883   (exit $ac_status); } && {
15884          test -z "$ac_c_werror_flag" ||
15885          test ! -s conftest.err
15886        } && test -s conftest$ac_exeext && {
15887          test "$cross_compiling" = yes ||
15888          $as_test_x conftest$ac_exeext
15889        }; then
15890   ac_cv_lib_intl_bindtextdomain=yes
15891 else
15892   $as_echo "$as_me: failed program was:" >&5
15893 sed 's/^/| /' conftest.$ac_ext >&5
15894
15895         ac_cv_lib_intl_bindtextdomain=no
15896 fi
15897
15898 rm -rf conftest.dSYM
15899 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15900       conftest$ac_exeext conftest.$ac_ext
15901 LIBS=$ac_check_lib_save_LIBS
15902 fi
15903 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
15904 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
15905 if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then
15906   { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
15907 $as_echo_n "checking for ngettext in -lintl... " >&6; }
15908 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
15909   $as_echo_n "(cached) " >&6
15910 else
15911   ac_check_lib_save_LIBS=$LIBS
15912 LIBS="-lintl  $LIBS"
15913 cat >conftest.$ac_ext <<_ACEOF
15914 /* confdefs.h.  */
15915 _ACEOF
15916 cat confdefs.h >>conftest.$ac_ext
15917 cat >>conftest.$ac_ext <<_ACEOF
15918 /* end confdefs.h.  */
15919
15920 /* Override any GCC internal prototype to avoid an error.
15921    Use char because int might match the return type of a GCC
15922    builtin and then its argument prototype would still apply.  */
15923 #ifdef __cplusplus
15924 extern "C"
15925 #endif
15926 char ngettext ();
15927 int
15928 main ()
15929 {
15930 return ngettext ();
15931   ;
15932   return 0;
15933 }
15934 _ACEOF
15935 rm -f conftest.$ac_objext conftest$ac_exeext
15936 if { (ac_try="$ac_link"
15937 case "(($ac_try" in
15938   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15939   *) ac_try_echo=$ac_try;;
15940 esac
15941 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15942 $as_echo "$ac_try_echo") >&5
15943   (eval "$ac_link") 2>conftest.er1
15944   ac_status=$?
15945   grep -v '^ *+' conftest.er1 >conftest.err
15946   rm -f conftest.er1
15947   cat conftest.err >&5
15948   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15949   (exit $ac_status); } && {
15950          test -z "$ac_c_werror_flag" ||
15951          test ! -s conftest.err
15952        } && test -s conftest$ac_exeext && {
15953          test "$cross_compiling" = yes ||
15954          $as_test_x conftest$ac_exeext
15955        }; then
15956   ac_cv_lib_intl_ngettext=yes
15957 else
15958   $as_echo "$as_me: failed program was:" >&5
15959 sed 's/^/| /' conftest.$ac_ext >&5
15960
15961         ac_cv_lib_intl_ngettext=no
15962 fi
15963
15964 rm -rf conftest.dSYM
15965 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15966       conftest$ac_exeext conftest.$ac_ext
15967 LIBS=$ac_check_lib_save_LIBS
15968 fi
15969 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
15970 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
15971 if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
15972   { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
15973 $as_echo_n "checking for dgettext in -lintl... " >&6; }
15974 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
15975   $as_echo_n "(cached) " >&6
15976 else
15977   ac_check_lib_save_LIBS=$LIBS
15978 LIBS="-lintl  $LIBS"
15979 cat >conftest.$ac_ext <<_ACEOF
15980 /* confdefs.h.  */
15981 _ACEOF
15982 cat confdefs.h >>conftest.$ac_ext
15983 cat >>conftest.$ac_ext <<_ACEOF
15984 /* end confdefs.h.  */
15985
15986 /* Override any GCC internal prototype to avoid an error.
15987    Use char because int might match the return type of a GCC
15988    builtin and then its argument prototype would still apply.  */
15989 #ifdef __cplusplus
15990 extern "C"
15991 #endif
15992 char dgettext ();
15993 int
15994 main ()
15995 {
15996 return dgettext ();
15997   ;
15998   return 0;
15999 }
16000 _ACEOF
16001 rm -f conftest.$ac_objext conftest$ac_exeext
16002 if { (ac_try="$ac_link"
16003 case "(($ac_try" in
16004   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16005   *) ac_try_echo=$ac_try;;
16006 esac
16007 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16008 $as_echo "$ac_try_echo") >&5
16009   (eval "$ac_link") 2>conftest.er1
16010   ac_status=$?
16011   grep -v '^ *+' conftest.er1 >conftest.err
16012   rm -f conftest.er1
16013   cat conftest.err >&5
16014   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16015   (exit $ac_status); } && {
16016          test -z "$ac_c_werror_flag" ||
16017          test ! -s conftest.err
16018        } && test -s conftest$ac_exeext && {
16019          test "$cross_compiling" = yes ||
16020          $as_test_x conftest$ac_exeext
16021        }; then
16022   ac_cv_lib_intl_dgettext=yes
16023 else
16024   $as_echo "$as_me: failed program was:" >&5
16025 sed 's/^/| /' conftest.$ac_ext >&5
16026
16027         ac_cv_lib_intl_dgettext=no
16028 fi
16029
16030 rm -rf conftest.dSYM
16031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16032       conftest$ac_exeext conftest.$ac_ext
16033 LIBS=$ac_check_lib_save_LIBS
16034 fi
16035 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
16036 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
16037 if test "x$ac_cv_lib_intl_dgettext" = x""yes; then
16038   gt_cv_func_dgettext_libintl=yes
16039 fi
16040
16041 fi
16042
16043 fi
16044
16045
16046         if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
16047           { $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
16048 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
16049           { $as_echo "$as_me:$LINENO: result: " >&5
16050 $as_echo "" >&6; }
16051           { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
16052 $as_echo_n "checking for ngettext in -lintl... " >&6; }
16053 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
16054   $as_echo_n "(cached) " >&6
16055 else
16056   ac_check_lib_save_LIBS=$LIBS
16057 LIBS="-lintl -liconv $LIBS"
16058 cat >conftest.$ac_ext <<_ACEOF
16059 /* confdefs.h.  */
16060 _ACEOF
16061 cat confdefs.h >>conftest.$ac_ext
16062 cat >>conftest.$ac_ext <<_ACEOF
16063 /* end confdefs.h.  */
16064
16065 /* Override any GCC internal prototype to avoid an error.
16066    Use char because int might match the return type of a GCC
16067    builtin and then its argument prototype would still apply.  */
16068 #ifdef __cplusplus
16069 extern "C"
16070 #endif
16071 char ngettext ();
16072 int
16073 main ()
16074 {
16075 return ngettext ();
16076   ;
16077   return 0;
16078 }
16079 _ACEOF
16080 rm -f conftest.$ac_objext conftest$ac_exeext
16081 if { (ac_try="$ac_link"
16082 case "(($ac_try" in
16083   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16084   *) ac_try_echo=$ac_try;;
16085 esac
16086 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16087 $as_echo "$ac_try_echo") >&5
16088   (eval "$ac_link") 2>conftest.er1
16089   ac_status=$?
16090   grep -v '^ *+' conftest.er1 >conftest.err
16091   rm -f conftest.er1
16092   cat conftest.err >&5
16093   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16094   (exit $ac_status); } && {
16095          test -z "$ac_c_werror_flag" ||
16096          test ! -s conftest.err
16097        } && test -s conftest$ac_exeext && {
16098          test "$cross_compiling" = yes ||
16099          $as_test_x conftest$ac_exeext
16100        }; then
16101   ac_cv_lib_intl_ngettext=yes
16102 else
16103   $as_echo "$as_me: failed program was:" >&5
16104 sed 's/^/| /' conftest.$ac_ext >&5
16105
16106         ac_cv_lib_intl_ngettext=no
16107 fi
16108
16109 rm -rf conftest.dSYM
16110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16111       conftest$ac_exeext conftest.$ac_ext
16112 LIBS=$ac_check_lib_save_LIBS
16113 fi
16114 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
16115 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
16116 if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
16117   { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
16118 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
16119 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
16120   $as_echo_n "(cached) " >&6
16121 else
16122   ac_check_lib_save_LIBS=$LIBS
16123 LIBS="-lintl -liconv $LIBS"
16124 cat >conftest.$ac_ext <<_ACEOF
16125 /* confdefs.h.  */
16126 _ACEOF
16127 cat confdefs.h >>conftest.$ac_ext
16128 cat >>conftest.$ac_ext <<_ACEOF
16129 /* end confdefs.h.  */
16130
16131 /* Override any GCC internal prototype to avoid an error.
16132    Use char because int might match the return type of a GCC
16133    builtin and then its argument prototype would still apply.  */
16134 #ifdef __cplusplus
16135 extern "C"
16136 #endif
16137 char dcgettext ();
16138 int
16139 main ()
16140 {
16141 return dcgettext ();
16142   ;
16143   return 0;
16144 }
16145 _ACEOF
16146 rm -f conftest.$ac_objext conftest$ac_exeext
16147 if { (ac_try="$ac_link"
16148 case "(($ac_try" in
16149   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16150   *) ac_try_echo=$ac_try;;
16151 esac
16152 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16153 $as_echo "$ac_try_echo") >&5
16154   (eval "$ac_link") 2>conftest.er1
16155   ac_status=$?
16156   grep -v '^ *+' conftest.er1 >conftest.err
16157   rm -f conftest.er1
16158   cat conftest.err >&5
16159   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16160   (exit $ac_status); } && {
16161          test -z "$ac_c_werror_flag" ||
16162          test ! -s conftest.err
16163        } && test -s conftest$ac_exeext && {
16164          test "$cross_compiling" = yes ||
16165          $as_test_x conftest$ac_exeext
16166        }; then
16167   ac_cv_lib_intl_dcgettext=yes
16168 else
16169   $as_echo "$as_me: failed program was:" >&5
16170 sed 's/^/| /' conftest.$ac_ext >&5
16171
16172         ac_cv_lib_intl_dcgettext=no
16173 fi
16174
16175 rm -rf conftest.dSYM
16176 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16177       conftest$ac_exeext conftest.$ac_ext
16178 LIBS=$ac_check_lib_save_LIBS
16179 fi
16180 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
16181 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
16182 if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then
16183   gt_cv_func_dgettext_libintl=yes
16184                         libintl_extra_libs=-liconv
16185 else
16186   :
16187 fi
16188
16189 else
16190   :
16191 fi
16192
16193         fi
16194
16195         #
16196         # If we found libintl, then check in it for bind_textdomain_codeset();
16197         # we'll prefer libc if neither have bind_textdomain_codeset(),
16198         # and both have dgettext and ngettext
16199         #
16200         if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
16201           glib_save_LIBS="$LIBS"
16202           LIBS="$LIBS -lintl $libintl_extra_libs"
16203           unset ac_cv_func_bind_textdomain_codeset
16204
16205 for ac_func in bind_textdomain_codeset
16206 do
16207 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16208 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16209 $as_echo_n "checking for $ac_func... " >&6; }
16210 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16211   $as_echo_n "(cached) " >&6
16212 else
16213   cat >conftest.$ac_ext <<_ACEOF
16214 /* confdefs.h.  */
16215 _ACEOF
16216 cat confdefs.h >>conftest.$ac_ext
16217 cat >>conftest.$ac_ext <<_ACEOF
16218 /* end confdefs.h.  */
16219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16220    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16221 #define $ac_func innocuous_$ac_func
16222
16223 /* System header to define __stub macros and hopefully few prototypes,
16224     which can conflict with char $ac_func (); below.
16225     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16226     <limits.h> exists even on freestanding compilers.  */
16227
16228 #ifdef __STDC__
16229 # include <limits.h>
16230 #else
16231 # include <assert.h>
16232 #endif
16233
16234 #undef $ac_func
16235
16236 /* Override any GCC internal prototype to avoid an error.
16237    Use char because int might match the return type of a GCC
16238    builtin and then its argument prototype would still apply.  */
16239 #ifdef __cplusplus
16240 extern "C"
16241 #endif
16242 char $ac_func ();
16243 /* The GNU C library defines this for functions which it implements
16244     to always fail with ENOSYS.  Some functions are actually named
16245     something starting with __ and the normal name is an alias.  */
16246 #if defined __stub_$ac_func || defined __stub___$ac_func
16247 choke me
16248 #endif
16249
16250 int
16251 main ()
16252 {
16253 return $ac_func ();
16254   ;
16255   return 0;
16256 }
16257 _ACEOF
16258 rm -f conftest.$ac_objext conftest$ac_exeext
16259 if { (ac_try="$ac_link"
16260 case "(($ac_try" in
16261   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16262   *) ac_try_echo=$ac_try;;
16263 esac
16264 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16265 $as_echo "$ac_try_echo") >&5
16266   (eval "$ac_link") 2>conftest.er1
16267   ac_status=$?
16268   grep -v '^ *+' conftest.er1 >conftest.err
16269   rm -f conftest.er1
16270   cat conftest.err >&5
16271   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16272   (exit $ac_status); } && {
16273          test -z "$ac_c_werror_flag" ||
16274          test ! -s conftest.err
16275        } && test -s conftest$ac_exeext && {
16276          test "$cross_compiling" = yes ||
16277          $as_test_x conftest$ac_exeext
16278        }; then
16279   eval "$as_ac_var=yes"
16280 else
16281   $as_echo "$as_me: failed program was:" >&5
16282 sed 's/^/| /' conftest.$ac_ext >&5
16283
16284         eval "$as_ac_var=no"
16285 fi
16286
16287 rm -rf conftest.dSYM
16288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16289       conftest$ac_exeext conftest.$ac_ext
16290 fi
16291 ac_res=`eval 'as_val=${'$as_ac_var'}
16292                  $as_echo "$as_val"'`
16293                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16294 $as_echo "$ac_res" >&6; }
16295 as_val=`eval 'as_val=${'$as_ac_var'}
16296                  $as_echo "$as_val"'`
16297    if test "x$as_val" = x""yes; then
16298   cat >>confdefs.h <<_ACEOF
16299 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16300 _ACEOF
16301
16302 fi
16303 done
16304
16305           LIBS="$glib_save_LIBS"
16306
16307           if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
16308             gt_cv_func_dgettext_libc=no
16309           else
16310             if test "$gt_cv_func_dgettext_libc" = "yes" \
16311                 && test "$gt_cv_func_ngettext_libc" = "yes"; then
16312               gt_cv_func_dgettext_libintl=no
16313             fi
16314           fi
16315         fi
16316       fi
16317
16318       if test "$gt_cv_func_dgettext_libc" = "yes" \
16319         || test "$gt_cv_func_dgettext_libintl" = "yes"; then
16320         gt_cv_have_gettext=yes
16321       fi
16322
16323       if test "$gt_cv_func_dgettext_libintl" = "yes"; then
16324         INTLLIBS="-lintl $libintl_extra_libs"
16325       fi
16326
16327       if test "$gt_cv_have_gettext" = "yes"; then
16328
16329 cat >>confdefs.h <<\_ACEOF
16330 #define HAVE_GETTEXT 1
16331 _ACEOF
16332
16333         # Extract the first word of "msgfmt", so it can be a program name with args.
16334 set dummy msgfmt; ac_word=$2
16335 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16336 $as_echo_n "checking for $ac_word... " >&6; }
16337 if test "${ac_cv_path_MSGFMT+set}" = set; then
16338   $as_echo_n "(cached) " >&6
16339 else
16340   case "$MSGFMT" in
16341   /*)
16342   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
16343   ;;
16344   *)
16345   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
16346   for ac_dir in $PATH; do
16347     test -z "$ac_dir" && ac_dir=.
16348     if test -f $ac_dir/$ac_word; then
16349       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
16350         ac_cv_path_MSGFMT="$ac_dir/$ac_word"
16351         break
16352       fi
16353     fi
16354   done
16355   IFS="$ac_save_ifs"
16356   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
16357   ;;
16358 esac
16359 fi
16360 MSGFMT="$ac_cv_path_MSGFMT"
16361 if test "$MSGFMT" != "no"; then
16362   { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
16363 $as_echo "$MSGFMT" >&6; }
16364 else
16365   { $as_echo "$as_me:$LINENO: result: no" >&5
16366 $as_echo "no" >&6; }
16367 fi
16368         if test "$MSGFMT" != "no"; then
16369           glib_save_LIBS="$LIBS"
16370           LIBS="$LIBS $INTLLIBS"
16371
16372 for ac_func in dcgettext
16373 do
16374 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16375 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16376 $as_echo_n "checking for $ac_func... " >&6; }
16377 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16378   $as_echo_n "(cached) " >&6
16379 else
16380   cat >conftest.$ac_ext <<_ACEOF
16381 /* confdefs.h.  */
16382 _ACEOF
16383 cat confdefs.h >>conftest.$ac_ext
16384 cat >>conftest.$ac_ext <<_ACEOF
16385 /* end confdefs.h.  */
16386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16387    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16388 #define $ac_func innocuous_$ac_func
16389
16390 /* System header to define __stub macros and hopefully few prototypes,
16391     which can conflict with char $ac_func (); below.
16392     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16393     <limits.h> exists even on freestanding compilers.  */
16394
16395 #ifdef __STDC__
16396 # include <limits.h>
16397 #else
16398 # include <assert.h>
16399 #endif
16400
16401 #undef $ac_func
16402
16403 /* Override any GCC internal prototype to avoid an error.
16404    Use char because int might match the return type of a GCC
16405    builtin and then its argument prototype would still apply.  */
16406 #ifdef __cplusplus
16407 extern "C"
16408 #endif
16409 char $ac_func ();
16410 /* The GNU C library defines this for functions which it implements
16411     to always fail with ENOSYS.  Some functions are actually named
16412     something starting with __ and the normal name is an alias.  */
16413 #if defined __stub_$ac_func || defined __stub___$ac_func
16414 choke me
16415 #endif
16416
16417 int
16418 main ()
16419 {
16420 return $ac_func ();
16421   ;
16422   return 0;
16423 }
16424 _ACEOF
16425 rm -f conftest.$ac_objext conftest$ac_exeext
16426 if { (ac_try="$ac_link"
16427 case "(($ac_try" in
16428   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16429   *) ac_try_echo=$ac_try;;
16430 esac
16431 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16432 $as_echo "$ac_try_echo") >&5
16433   (eval "$ac_link") 2>conftest.er1
16434   ac_status=$?
16435   grep -v '^ *+' conftest.er1 >conftest.err
16436   rm -f conftest.er1
16437   cat conftest.err >&5
16438   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16439   (exit $ac_status); } && {
16440          test -z "$ac_c_werror_flag" ||
16441          test ! -s conftest.err
16442        } && test -s conftest$ac_exeext && {
16443          test "$cross_compiling" = yes ||
16444          $as_test_x conftest$ac_exeext
16445        }; then
16446   eval "$as_ac_var=yes"
16447 else
16448   $as_echo "$as_me: failed program was:" >&5
16449 sed 's/^/| /' conftest.$ac_ext >&5
16450
16451         eval "$as_ac_var=no"
16452 fi
16453
16454 rm -rf conftest.dSYM
16455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16456       conftest$ac_exeext conftest.$ac_ext
16457 fi
16458 ac_res=`eval 'as_val=${'$as_ac_var'}
16459                  $as_echo "$as_val"'`
16460                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16461 $as_echo "$ac_res" >&6; }
16462 as_val=`eval 'as_val=${'$as_ac_var'}
16463                  $as_echo "$as_val"'`
16464    if test "x$as_val" = x""yes; then
16465   cat >>confdefs.h <<_ACEOF
16466 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16467 _ACEOF
16468
16469 fi
16470 done
16471
16472           MSGFMT_OPTS=
16473           { $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
16474 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
16475           cat >conftest.foo <<_ACEOF
16476
16477 msgid ""
16478 msgstr ""
16479 "Content-Type: text/plain; charset=UTF-8\n"
16480 "Project-Id-Version: test 1.0\n"
16481 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
16482 "Last-Translator: test <foo@bar.xx>\n"
16483 "Language-Team: C <LL@li.org>\n"
16484 "MIME-Version: 1.0\n"
16485 "Content-Transfer-Encoding: 8bit\n"
16486
16487 _ACEOF
16488 if { ($as_echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
16489   ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
16490   ac_status=$?
16491   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16492   (exit $ac_status); }; then
16493   MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5
16494 $as_echo "yes" >&6; }
16495 else { $as_echo "$as_me:$LINENO: result: no" >&5
16496 $as_echo "no" >&6; }
16497 echo "$as_me: failed input was:" >&5
16498 sed 's/^/| /' conftest.foo >&5
16499 fi
16500
16501           # Extract the first word of "gmsgfmt", so it can be a program name with args.
16502 set dummy gmsgfmt; ac_word=$2
16503 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16504 $as_echo_n "checking for $ac_word... " >&6; }
16505 if test "${ac_cv_path_GMSGFMT+set}" = set; then
16506   $as_echo_n "(cached) " >&6
16507 else
16508   case $GMSGFMT in
16509   [\\/]* | ?:[\\/]*)
16510   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
16511   ;;
16512   *)
16513   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16514 for as_dir in $PATH
16515 do
16516   IFS=$as_save_IFS
16517   test -z "$as_dir" && as_dir=.
16518   for ac_exec_ext in '' $ac_executable_extensions; do
16519   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16520     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
16521     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16522     break 2
16523   fi
16524 done
16525 done
16526 IFS=$as_save_IFS
16527
16528   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
16529   ;;
16530 esac
16531 fi
16532 GMSGFMT=$ac_cv_path_GMSGFMT
16533 if test -n "$GMSGFMT"; then
16534   { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
16535 $as_echo "$GMSGFMT" >&6; }
16536 else
16537   { $as_echo "$as_me:$LINENO: result: no" >&5
16538 $as_echo "no" >&6; }
16539 fi
16540
16541
16542           # Extract the first word of "xgettext", so it can be a program name with args.
16543 set dummy xgettext; ac_word=$2
16544 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16545 $as_echo_n "checking for $ac_word... " >&6; }
16546 if test "${ac_cv_path_XGETTEXT+set}" = set; then
16547   $as_echo_n "(cached) " >&6
16548 else
16549   case "$XGETTEXT" in
16550   /*)
16551   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
16552   ;;
16553   *)
16554   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
16555   for ac_dir in $PATH; do
16556     test -z "$ac_dir" && ac_dir=.
16557     if test -f $ac_dir/$ac_word; then
16558       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
16559         ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
16560         break
16561       fi
16562     fi
16563   done
16564   IFS="$ac_save_ifs"
16565   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
16566   ;;
16567 esac
16568 fi
16569 XGETTEXT="$ac_cv_path_XGETTEXT"
16570 if test "$XGETTEXT" != ":"; then
16571   { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
16572 $as_echo "$XGETTEXT" >&6; }
16573 else
16574   { $as_echo "$as_me:$LINENO: result: no" >&5
16575 $as_echo "no" >&6; }
16576 fi
16577
16578           cat >conftest.$ac_ext <<_ACEOF
16579 /* confdefs.h.  */
16580 _ACEOF
16581 cat confdefs.h >>conftest.$ac_ext
16582 cat >>conftest.$ac_ext <<_ACEOF
16583 /* end confdefs.h.  */
16584
16585 int
16586 main ()
16587 {
16588 extern int _nl_msg_cat_cntr;
16589                          return _nl_msg_cat_cntr
16590   ;
16591   return 0;
16592 }
16593 _ACEOF
16594 rm -f conftest.$ac_objext conftest$ac_exeext
16595 if { (ac_try="$ac_link"
16596 case "(($ac_try" in
16597   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16598   *) ac_try_echo=$ac_try;;
16599 esac
16600 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16601 $as_echo "$ac_try_echo") >&5
16602   (eval "$ac_link") 2>conftest.er1
16603   ac_status=$?
16604   grep -v '^ *+' conftest.er1 >conftest.err
16605   rm -f conftest.er1
16606   cat conftest.err >&5
16607   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16608   (exit $ac_status); } && {
16609          test -z "$ac_c_werror_flag" ||
16610          test ! -s conftest.err
16611        } && test -s conftest$ac_exeext && {
16612          test "$cross_compiling" = yes ||
16613          $as_test_x conftest$ac_exeext
16614        }; then
16615   CATOBJEXT=.gmo
16616              DATADIRNAME=share
16617 else
16618   $as_echo "$as_me: failed program was:" >&5
16619 sed 's/^/| /' conftest.$ac_ext >&5
16620
16621         case $host in
16622             *-*-solaris*)
16623                                                                 { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
16624 $as_echo_n "checking for bind_textdomain_codeset... " >&6; }
16625 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
16626   $as_echo_n "(cached) " >&6
16627 else
16628   cat >conftest.$ac_ext <<_ACEOF
16629 /* confdefs.h.  */
16630 _ACEOF
16631 cat confdefs.h >>conftest.$ac_ext
16632 cat >>conftest.$ac_ext <<_ACEOF
16633 /* end confdefs.h.  */
16634 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
16635    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16636 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
16637
16638 /* System header to define __stub macros and hopefully few prototypes,
16639     which can conflict with char bind_textdomain_codeset (); below.
16640     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16641     <limits.h> exists even on freestanding compilers.  */
16642
16643 #ifdef __STDC__
16644 # include <limits.h>
16645 #else
16646 # include <assert.h>
16647 #endif
16648
16649 #undef bind_textdomain_codeset
16650
16651 /* Override any GCC internal prototype to avoid an error.
16652    Use char because int might match the return type of a GCC
16653    builtin and then its argument prototype would still apply.  */
16654 #ifdef __cplusplus
16655 extern "C"
16656 #endif
16657 char bind_textdomain_codeset ();
16658 /* The GNU C library defines this for functions which it implements
16659     to always fail with ENOSYS.  Some functions are actually named
16660     something starting with __ and the normal name is an alias.  */
16661 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
16662 choke me
16663 #endif
16664
16665 int
16666 main ()
16667 {
16668 return bind_textdomain_codeset ();
16669   ;
16670   return 0;
16671 }
16672 _ACEOF
16673 rm -f conftest.$ac_objext conftest$ac_exeext
16674 if { (ac_try="$ac_link"
16675 case "(($ac_try" in
16676   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16677   *) ac_try_echo=$ac_try;;
16678 esac
16679 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16680 $as_echo "$ac_try_echo") >&5
16681   (eval "$ac_link") 2>conftest.er1
16682   ac_status=$?
16683   grep -v '^ *+' conftest.er1 >conftest.err
16684   rm -f conftest.er1
16685   cat conftest.err >&5
16686   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16687   (exit $ac_status); } && {
16688          test -z "$ac_c_werror_flag" ||
16689          test ! -s conftest.err
16690        } && test -s conftest$ac_exeext && {
16691          test "$cross_compiling" = yes ||
16692          $as_test_x conftest$ac_exeext
16693        }; then
16694   ac_cv_func_bind_textdomain_codeset=yes
16695 else
16696   $as_echo "$as_me: failed program was:" >&5
16697 sed 's/^/| /' conftest.$ac_ext >&5
16698
16699         ac_cv_func_bind_textdomain_codeset=no
16700 fi
16701
16702 rm -rf conftest.dSYM
16703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16704       conftest$ac_exeext conftest.$ac_ext
16705 fi
16706 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
16707 $as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
16708 if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
16709   CATOBJEXT=.gmo
16710                DATADIRNAME=share
16711 else
16712   CATOBJEXT=.mo
16713                DATADIRNAME=lib
16714 fi
16715
16716             ;;
16717             *)
16718             CATOBJEXT=.mo
16719             DATADIRNAME=lib
16720             ;;
16721             esac
16722 fi
16723
16724 rm -rf conftest.dSYM
16725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16726       conftest$ac_exeext conftest.$ac_ext
16727           LIBS="$glib_save_LIBS"
16728           INSTOBJEXT=.mo
16729         else
16730           gt_cv_have_gettext=no
16731         fi
16732       fi
16733
16734 fi
16735
16736
16737
16738     if test "$gt_cv_have_gettext" = "yes" ; then
16739
16740 cat >>confdefs.h <<\_ACEOF
16741 #define ENABLE_NLS 1
16742 _ACEOF
16743
16744     fi
16745
16746         if test "$XGETTEXT" != ":"; then
16747                   if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
16748         : ;
16749       else
16750         { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
16751 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
16752         XGETTEXT=":"
16753       fi
16754     fi
16755
16756     # We need to process the po/ directory.
16757     POSUB=po
16758
16759     ac_config_commands="$ac_config_commands default-1"
16760
16761
16762                 for lang in $ALL_LINGUAS; do
16763       GMOFILES="$GMOFILES $lang.gmo"
16764       POFILES="$POFILES $lang.po"
16765     done
16766
16767
16768
16769
16770
16771
16772
16773
16774
16775
16776
16777
16778
16779    if test "$gt_cv_have_gettext" = "yes"; then
16780      if test "x$ALL_LINGUAS" = "x"; then
16781        LINGUAS=
16782      else
16783        { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
16784 $as_echo_n "checking for catalogs to be installed... " >&6; }
16785        NEW_LINGUAS=
16786        for presentlang in $ALL_LINGUAS; do
16787          useit=no
16788          if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
16789            desiredlanguages="$LINGUAS"
16790          else
16791            desiredlanguages="$ALL_LINGUAS"
16792          fi
16793          for desiredlang in $desiredlanguages; do
16794            # Use the presentlang catalog if desiredlang is
16795            #   a. equal to presentlang, or
16796            #   b. a variant of presentlang (because in this case,
16797            #      presentlang can be used as a fallback for messages
16798            #      which are not translated in the desiredlang catalog).
16799            case "$desiredlang" in
16800              "$presentlang"*) useit=yes;;
16801            esac
16802          done
16803          if test $useit = yes; then
16804            NEW_LINGUAS="$NEW_LINGUAS $presentlang"
16805          fi
16806        done
16807        LINGUAS=$NEW_LINGUAS
16808        { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5
16809 $as_echo "$LINGUAS" >&6; }
16810      fi
16811
16812           if test -n "$LINGUAS"; then
16813        for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
16814      fi
16815    fi
16816
16817             MKINSTALLDIRS=
16818    if test -n "$ac_aux_dir"; then
16819      MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
16820    fi
16821    if test -z "$MKINSTALLDIRS"; then
16822      MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
16823    fi
16824
16825
16826          test -d po || mkdir po
16827    if test "x$srcdir" != "x."; then
16828      if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
16829        posrcprefix="$srcdir/"
16830      else
16831        posrcprefix="../$srcdir/"
16832      fi
16833    else
16834      posrcprefix="../"
16835    fi
16836    rm -f po/POTFILES
16837    sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
16838         < $srcdir/po/POTFILES.in > po/POTFILES
16839
16840
16841
16842 ac_config_files="$ac_config_files Makefile barcode-0.98/Makefile iec16022-0.2.1/Makefile libglabels/Makefile libglabels/libglabels.pc src/Makefile src/pixmaps/Makefile src/stock-pixmaps/Makefile src/mygal/Makefile data/Makefile data/templates/Makefile data/pixmaps/Makefile data/mime/Makefile data/glade/Makefile data/desktop/Makefile data/dtd/Makefile data/man/Makefile po/Makefile.in help/Makefile docs/Makefile docs/libglabels/Makefile glabels.spec"
16843
16844 cat >confcache <<\_ACEOF
16845 # This file is a shell script that caches the results of configure
16846 # tests run on this system so they can be shared between configure
16847 # scripts and configure runs, see configure's option --config-cache.
16848 # It is not useful on other systems.  If it contains results you don't
16849 # want to keep, you may remove or edit it.
16850 #
16851 # config.status only pays attention to the cache file if you give it
16852 # the --recheck option to rerun configure.
16853 #
16854 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16855 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16856 # following values.
16857
16858 _ACEOF
16859
16860 # The following way of writing the cache mishandles newlines in values,
16861 # but we know of no workaround that is simple, portable, and efficient.
16862 # So, we kill variables containing newlines.
16863 # Ultrix sh set writes to stderr and can't be redirected directly,
16864 # and sets the high bit in the cache file unless we assign to the vars.
16865 (
16866   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16867     eval ac_val=\$$ac_var
16868     case $ac_val in #(
16869     *${as_nl}*)
16870       case $ac_var in #(
16871       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
16872 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16873       esac
16874       case $ac_var in #(
16875       _ | IFS | as_nl) ;; #(
16876       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16877       *) $as_unset $ac_var ;;
16878       esac ;;
16879     esac
16880   done
16881
16882   (set) 2>&1 |
16883     case $as_nl`(ac_space=' '; set) 2>&1` in #(
16884     *${as_nl}ac_space=\ *)
16885       # `set' does not quote correctly, so add quotes (double-quote
16886       # substitution turns \\\\ into \\, and sed turns \\ into \).
16887       sed -n \
16888         "s/'/'\\\\''/g;
16889           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16890       ;; #(
16891     *)
16892       # `set' quotes correctly as required by POSIX, so do not add quotes.
16893       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16894       ;;
16895     esac |
16896     sort
16897 ) |
16898   sed '
16899      /^ac_cv_env_/b end
16900      t clear
16901      :clear
16902      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16903      t end
16904      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16905      :end' >>confcache
16906 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16907   if test -w "$cache_file"; then
16908     test "x$cache_file" != "x/dev/null" &&
16909       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
16910 $as_echo "$as_me: updating cache $cache_file" >&6;}
16911     cat confcache >$cache_file
16912   else
16913     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
16914 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16915   fi
16916 fi
16917 rm -f confcache
16918
16919 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16920 # Let make expand exec_prefix.
16921 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16922
16923 DEFS=-DHAVE_CONFIG_H
16924
16925 ac_libobjs=
16926 ac_ltlibobjs=
16927 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16928   # 1. Remove the extension, and $U if already installed.
16929   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16930   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16931   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16932   #    will be set to the directory where LIBOBJS objects are built.
16933   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16934   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
16935 done
16936 LIBOBJS=$ac_libobjs
16937
16938 LTLIBOBJS=$ac_ltlibobjs
16939
16940
16941  if test -n "$EXEEXT"; then
16942   am__EXEEXT_TRUE=
16943   am__EXEEXT_FALSE='#'
16944 else
16945   am__EXEEXT_TRUE='#'
16946   am__EXEEXT_FALSE=
16947 fi
16948
16949 if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
16950   { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_SK\" was never defined.
16951 Usually this means the macro was only invoked conditionally." >&5
16952 $as_echo "$as_me: error: conditional \"ENABLE_SK\" was never defined.
16953 Usually this means the macro was only invoked conditionally." >&2;}
16954    { (exit 1); exit 1; }; }
16955 fi
16956 if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then
16957   { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
16958 Usually this means the macro was only invoked conditionally." >&5
16959 $as_echo "$as_me: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
16960 Usually this means the macro was only invoked conditionally." >&2;}
16961    { (exit 1); exit 1; }; }
16962 fi
16963 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16964   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
16965 Usually this means the macro was only invoked conditionally." >&5
16966 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
16967 Usually this means the macro was only invoked conditionally." >&2;}
16968    { (exit 1); exit 1; }; }
16969 fi
16970 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16971   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
16972 Usually this means the macro was only invoked conditionally." >&5
16973 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
16974 Usually this means the macro was only invoked conditionally." >&2;}
16975    { (exit 1); exit 1; }; }
16976 fi
16977 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16978   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
16979 Usually this means the macro was only invoked conditionally." >&5
16980 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
16981 Usually this means the macro was only invoked conditionally." >&2;}
16982    { (exit 1); exit 1; }; }
16983 fi
16984
16985   ac_config_commands="$ac_config_commands po/stamp-it"
16986
16987
16988 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16989   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
16990 Usually this means the macro was only invoked conditionally." >&5
16991 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
16992 Usually this means the macro was only invoked conditionally." >&2;}
16993    { (exit 1); exit 1; }; }
16994 fi
16995 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16996   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
16997 Usually this means the macro was only invoked conditionally." >&5
16998 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
16999 Usually this means the macro was only invoked conditionally." >&2;}
17000    { (exit 1); exit 1; }; }
17001 fi
17002 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
17003   { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_GTK_DOC\" was never defined.
17004 Usually this means the macro was only invoked conditionally." >&5
17005 $as_echo "$as_me: error: conditional \"ENABLE_GTK_DOC\" was never defined.
17006 Usually this means the macro was only invoked conditionally." >&2;}
17007    { (exit 1); exit 1; }; }
17008 fi
17009 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
17010   { { $as_echo "$as_me:$LINENO: error: conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
17011 Usually this means the macro was only invoked conditionally." >&5
17012 $as_echo "$as_me: error: conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
17013 Usually this means the macro was only invoked conditionally." >&2;}
17014    { (exit 1); exit 1; }; }
17015 fi
17016 if test -z "${HAVE_NEW_MIME_TRUE}" && test -z "${HAVE_NEW_MIME_FALSE}"; then
17017   { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_NEW_MIME\" was never defined.
17018 Usually this means the macro was only invoked conditionally." >&5
17019 $as_echo "$as_me: error: conditional \"HAVE_NEW_MIME\" was never defined.
17020 Usually this means the macro was only invoked conditionally." >&2;}
17021    { (exit 1); exit 1; }; }
17022 fi
17023 if test -z "${HAVE_NEWER_MIME_TRUE}" && test -z "${HAVE_NEWER_MIME_FALSE}"; then
17024   { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_NEWER_MIME\" was never defined.
17025 Usually this means the macro was only invoked conditionally." >&5
17026 $as_echo "$as_me: error: conditional \"HAVE_NEWER_MIME\" was never defined.
17027 Usually this means the macro was only invoked conditionally." >&2;}
17028    { (exit 1); exit 1; }; }
17029 fi
17030 if test -z "${ENABLE_UPDATE_MIMEDB_TRUE}" && test -z "${ENABLE_UPDATE_MIMEDB_FALSE}"; then
17031   { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_UPDATE_MIMEDB\" was never defined.
17032 Usually this means the macro was only invoked conditionally." >&5
17033 $as_echo "$as_me: error: conditional \"ENABLE_UPDATE_MIMEDB\" was never defined.
17034 Usually this means the macro was only invoked conditionally." >&2;}
17035    { (exit 1); exit 1; }; }
17036 fi
17037 if test -z "${ENABLE_UPDATE_DESKTOPDB_TRUE}" && test -z "${ENABLE_UPDATE_DESKTOPDB_FALSE}"; then
17038   { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_UPDATE_DESKTOPDB\" was never defined.
17039 Usually this means the macro was only invoked conditionally." >&5
17040 $as_echo "$as_me: error: conditional \"ENABLE_UPDATE_DESKTOPDB\" was never defined.
17041 Usually this means the macro was only invoked conditionally." >&2;}
17042    { (exit 1); exit 1; }; }
17043 fi
17044
17045 : ${CONFIG_STATUS=./config.status}
17046 ac_write_fail=0
17047 ac_clean_files_save=$ac_clean_files
17048 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17049 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
17050 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17051 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17052 #! $SHELL
17053 # Generated by $as_me.
17054 # Run this file to recreate the current configuration.
17055 # Compiler output produced by configure, useful for debugging
17056 # configure, is in config.log if it exists.
17057
17058 debug=false
17059 ac_cs_recheck=false
17060 ac_cs_silent=false
17061 SHELL=\${CONFIG_SHELL-$SHELL}
17062 _ACEOF
17063
17064 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17065 ## --------------------- ##
17066 ## M4sh Initialization.  ##
17067 ## --------------------- ##
17068
17069 # Be more Bourne compatible
17070 DUALCASE=1; export DUALCASE # for MKS sh
17071 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17072   emulate sh
17073   NULLCMD=:
17074   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17075   # is contrary to our usage.  Disable this feature.
17076   alias -g '${1+"$@"}'='"$@"'
17077   setopt NO_GLOB_SUBST
17078 else
17079   case `(set -o) 2>/dev/null` in
17080   *posix*) set -o posix ;;
17081 esac
17082
17083 fi
17084
17085
17086
17087
17088 # PATH needs CR
17089 # Avoid depending upon Character Ranges.
17090 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17091 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17092 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17093 as_cr_digits='0123456789'
17094 as_cr_alnum=$as_cr_Letters$as_cr_digits
17095
17096 as_nl='
17097 '
17098 export as_nl
17099 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17100 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17101 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17102 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17103 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17104   as_echo='printf %s\n'
17105   as_echo_n='printf %s'
17106 else
17107   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17108     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17109     as_echo_n='/usr/ucb/echo -n'
17110   else
17111     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17112     as_echo_n_body='eval
17113       arg=$1;
17114       case $arg in
17115       *"$as_nl"*)
17116         expr "X$arg" : "X\\(.*\\)$as_nl";
17117         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17118       esac;
17119       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17120     '
17121     export as_echo_n_body
17122     as_echo_n='sh -c $as_echo_n_body as_echo'
17123   fi
17124   export as_echo_body
17125   as_echo='sh -c $as_echo_body as_echo'
17126 fi
17127
17128 # The user is always right.
17129 if test "${PATH_SEPARATOR+set}" != set; then
17130   PATH_SEPARATOR=:
17131   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17132     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17133       PATH_SEPARATOR=';'
17134   }
17135 fi
17136
17137 # Support unset when possible.
17138 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
17139   as_unset=unset
17140 else
17141   as_unset=false
17142 fi
17143
17144
17145 # IFS
17146 # We need space, tab and new line, in precisely that order.  Quoting is
17147 # there to prevent editors from complaining about space-tab.
17148 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17149 # splitting by setting IFS to empty value.)
17150 IFS=" ""        $as_nl"
17151
17152 # Find who we are.  Look in the path if we contain no directory separator.
17153 case $0 in
17154   *[\\/]* ) as_myself=$0 ;;
17155   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17156 for as_dir in $PATH
17157 do
17158   IFS=$as_save_IFS
17159   test -z "$as_dir" && as_dir=.
17160   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17161 done
17162 IFS=$as_save_IFS
17163
17164      ;;
17165 esac
17166 # We did not find ourselves, most probably we were run as `sh COMMAND'
17167 # in which case we are not to be found in the path.
17168 if test "x$as_myself" = x; then
17169   as_myself=$0
17170 fi
17171 if test ! -f "$as_myself"; then
17172   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17173   { (exit 1); exit 1; }
17174 fi
17175
17176 # Work around bugs in pre-3.0 UWIN ksh.
17177 for as_var in ENV MAIL MAILPATH
17178 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
17179 done
17180 PS1='$ '
17181 PS2='> '
17182 PS4='+ '
17183
17184 # NLS nuisances.
17185 LC_ALL=C
17186 export LC_ALL
17187 LANGUAGE=C
17188 export LANGUAGE
17189
17190 # Required to use basename.
17191 if expr a : '\(a\)' >/dev/null 2>&1 &&
17192    test "X`expr 00001 : '.*\(...\)'`" = X001; then
17193   as_expr=expr
17194 else
17195   as_expr=false
17196 fi
17197
17198 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17199   as_basename=basename
17200 else
17201   as_basename=false
17202 fi
17203
17204
17205 # Name of the executable.
17206 as_me=`$as_basename -- "$0" ||
17207 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17208          X"$0" : 'X\(//\)$' \| \
17209          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17210 $as_echo X/"$0" |
17211     sed '/^.*\/\([^/][^/]*\)\/*$/{
17212             s//\1/
17213             q
17214           }
17215           /^X\/\(\/\/\)$/{
17216             s//\1/
17217             q
17218           }
17219           /^X\/\(\/\).*/{
17220             s//\1/
17221             q
17222           }
17223           s/.*/./; q'`
17224
17225 # CDPATH.
17226 $as_unset CDPATH
17227
17228
17229
17230   as_lineno_1=$LINENO
17231   as_lineno_2=$LINENO
17232   test "x$as_lineno_1" != "x$as_lineno_2" &&
17233   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
17234
17235   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
17236   # uniformly replaced by the line number.  The first 'sed' inserts a
17237   # line-number line after each line using $LINENO; the second 'sed'
17238   # does the real work.  The second script uses 'N' to pair each
17239   # line-number line with the line containing $LINENO, and appends
17240   # trailing '-' during substitution so that $LINENO is not a special
17241   # case at line end.
17242   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
17243   # scripts with optimization help from Paolo Bonzini.  Blame Lee
17244   # E. McMahon (1931-1989) for sed's syntax.  :-)
17245   sed -n '
17246     p
17247     /[$]LINENO/=
17248   ' <$as_myself |
17249     sed '
17250       s/[$]LINENO.*/&-/
17251       t lineno
17252       b
17253       :lineno
17254       N
17255       :loop
17256       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
17257       t loop
17258       s/-\n.*//
17259     ' >$as_me.lineno &&
17260   chmod +x "$as_me.lineno" ||
17261     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
17262    { (exit 1); exit 1; }; }
17263
17264   # Don't try to exec as it changes $[0], causing all sort of problems
17265   # (the dirname of $[0] is not the place where we might find the
17266   # original and so on.  Autoconf is especially sensitive to this).
17267   . "./$as_me.lineno"
17268   # Exit status is that of the last command.
17269   exit
17270 }
17271
17272
17273 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17274   as_dirname=dirname
17275 else
17276   as_dirname=false
17277 fi
17278
17279 ECHO_C= ECHO_N= ECHO_T=
17280 case `echo -n x` in
17281 -n*)
17282   case `echo 'x\c'` in
17283   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
17284   *)   ECHO_C='\c';;
17285   esac;;
17286 *)
17287   ECHO_N='-n';;
17288 esac
17289 if expr a : '\(a\)' >/dev/null 2>&1 &&
17290    test "X`expr 00001 : '.*\(...\)'`" = X001; then
17291   as_expr=expr
17292 else
17293   as_expr=false
17294 fi
17295
17296 rm -f conf$$ conf$$.exe conf$$.file
17297 if test -d conf$$.dir; then
17298   rm -f conf$$.dir/conf$$.file
17299 else
17300   rm -f conf$$.dir
17301   mkdir conf$$.dir 2>/dev/null
17302 fi
17303 if (echo >conf$$.file) 2>/dev/null; then
17304   if ln -s conf$$.file conf$$ 2>/dev/null; then
17305     as_ln_s='ln -s'
17306     # ... but there are two gotchas:
17307     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17308     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17309     # In both cases, we have to default to `cp -p'.
17310     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17311       as_ln_s='cp -p'
17312   elif ln conf$$.file conf$$ 2>/dev/null; then
17313     as_ln_s=ln
17314   else
17315     as_ln_s='cp -p'
17316   fi
17317 else
17318   as_ln_s='cp -p'
17319 fi
17320 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17321 rmdir conf$$.dir 2>/dev/null
17322
17323 if mkdir -p . 2>/dev/null; then
17324   as_mkdir_p=:
17325 else
17326   test -d ./-p && rmdir ./-p
17327   as_mkdir_p=false
17328 fi
17329
17330 if test -x / >/dev/null 2>&1; then
17331   as_test_x='test -x'
17332 else
17333   if ls -dL / >/dev/null 2>&1; then
17334     as_ls_L_option=L
17335   else
17336     as_ls_L_option=
17337   fi
17338   as_test_x='
17339     eval sh -c '\''
17340       if test -d "$1"; then
17341         test -d "$1/.";
17342       else
17343         case $1 in
17344         -*)set "./$1";;
17345         esac;
17346         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
17347         ???[sx]*):;;*)false;;esac;fi
17348     '\'' sh
17349   '
17350 fi
17351 as_executable_p=$as_test_x
17352
17353 # Sed expression to map a string onto a valid CPP name.
17354 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17355
17356 # Sed expression to map a string onto a valid variable name.
17357 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17358
17359
17360 exec 6>&1
17361
17362 # Save the log message, to keep $[0] and so on meaningful, and to
17363 # report actual input values of CONFIG_FILES etc. instead of their
17364 # values after options handling.
17365 ac_log="
17366 This file was extended by glabels $as_me 2.2.8, which was
17367 generated by GNU Autoconf 2.63.  Invocation command line was
17368
17369   CONFIG_FILES    = $CONFIG_FILES
17370   CONFIG_HEADERS  = $CONFIG_HEADERS
17371   CONFIG_LINKS    = $CONFIG_LINKS
17372   CONFIG_COMMANDS = $CONFIG_COMMANDS
17373   $ $0 $@
17374
17375 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17376 "
17377
17378 _ACEOF
17379
17380 case $ac_config_files in *"
17381 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17382 esac
17383
17384 case $ac_config_headers in *"
17385 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17386 esac
17387
17388
17389 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17390 # Files that config.status was made for.
17391 config_files="$ac_config_files"
17392 config_headers="$ac_config_headers"
17393 config_commands="$ac_config_commands"
17394
17395 _ACEOF
17396
17397 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17398 ac_cs_usage="\
17399 \`$as_me' instantiates files from templates according to the
17400 current configuration.
17401
17402 Usage: $0 [OPTION]... [FILE]...
17403
17404   -h, --help       print this help, then exit
17405   -V, --version    print version number and configuration settings, then exit
17406   -q, --quiet, --silent
17407                    do not print progress messages
17408   -d, --debug      don't remove temporary files
17409       --recheck    update $as_me by reconfiguring in the same conditions
17410       --file=FILE[:TEMPLATE]
17411                    instantiate the configuration file FILE
17412       --header=FILE[:TEMPLATE]
17413                    instantiate the configuration header FILE
17414
17415 Configuration files:
17416 $config_files
17417
17418 Configuration headers:
17419 $config_headers
17420
17421 Configuration commands:
17422 $config_commands
17423
17424 Report bugs to <bug-autoconf@gnu.org>."
17425
17426 _ACEOF
17427 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17428 ac_cs_version="\\
17429 glabels config.status 2.2.8
17430 configured by $0, generated by GNU Autoconf 2.63,
17431   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
17432
17433 Copyright (C) 2008 Free Software Foundation, Inc.
17434 This config.status script is free software; the Free Software Foundation
17435 gives unlimited permission to copy, distribute and modify it."
17436
17437 ac_pwd='$ac_pwd'
17438 srcdir='$srcdir'
17439 INSTALL='$INSTALL'
17440 MKDIR_P='$MKDIR_P'
17441 AWK='$AWK'
17442 test -n "\$AWK" || AWK=awk
17443 _ACEOF
17444
17445 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17446 # The default lists apply if the user does not specify any file.
17447 ac_need_defaults=:
17448 while test $# != 0
17449 do
17450   case $1 in
17451   --*=*)
17452     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17453     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17454     ac_shift=:
17455     ;;
17456   *)
17457     ac_option=$1
17458     ac_optarg=$2
17459     ac_shift=shift
17460     ;;
17461   esac
17462
17463   case $ac_option in
17464   # Handling of the options.
17465   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17466     ac_cs_recheck=: ;;
17467   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17468     $as_echo "$ac_cs_version"; exit ;;
17469   --debug | --debu | --deb | --de | --d | -d )
17470     debug=: ;;
17471   --file | --fil | --fi | --f )
17472     $ac_shift
17473     case $ac_optarg in
17474     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17475     esac
17476     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
17477     ac_need_defaults=false;;
17478   --header | --heade | --head | --hea )
17479     $ac_shift
17480     case $ac_optarg in
17481     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17482     esac
17483     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
17484     ac_need_defaults=false;;
17485   --he | --h)
17486     # Conflict between --help and --header
17487     { $as_echo "$as_me: error: ambiguous option: $1
17488 Try \`$0 --help' for more information." >&2
17489    { (exit 1); exit 1; }; };;
17490   --help | --hel | -h )
17491     $as_echo "$ac_cs_usage"; exit ;;
17492   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17493   | -silent | --silent | --silen | --sile | --sil | --si | --s)
17494     ac_cs_silent=: ;;
17495
17496   # This is an error.
17497   -*) { $as_echo "$as_me: error: unrecognized option: $1
17498 Try \`$0 --help' for more information." >&2
17499    { (exit 1); exit 1; }; } ;;
17500
17501   *) ac_config_targets="$ac_config_targets $1"
17502      ac_need_defaults=false ;;
17503
17504   esac
17505   shift
17506 done
17507
17508 ac_configure_extra_args=
17509
17510 if $ac_cs_silent; then
17511   exec 6>/dev/null
17512   ac_configure_extra_args="$ac_configure_extra_args --silent"
17513 fi
17514
17515 _ACEOF
17516 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17517 if \$ac_cs_recheck; then
17518   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17519   shift
17520   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17521   CONFIG_SHELL='$SHELL'
17522   export CONFIG_SHELL
17523   exec "\$@"
17524 fi
17525
17526 _ACEOF
17527 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17528 exec 5>>config.log
17529 {
17530   echo
17531   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17532 ## Running $as_me. ##
17533 _ASBOX
17534   $as_echo "$ac_log"
17535 } >&5
17536
17537 _ACEOF
17538 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17539 #
17540 # INIT-COMMANDS
17541 #
17542 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17543
17544
17545 # The HP-UX ksh and POSIX shell print the target directory to stdout
17546 # if CDPATH is set.
17547 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17548
17549 sed_quote_subst='$sed_quote_subst'
17550 double_quote_subst='$double_quote_subst'
17551 delay_variable_subst='$delay_variable_subst'
17552 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
17553 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
17554 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
17555 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
17556 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
17557 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
17558 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
17559 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
17560 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
17561 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
17562 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
17563 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
17564 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
17565 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
17566 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
17567 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
17568 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
17569 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
17570 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
17571 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
17572 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
17573 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
17574 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
17575 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
17576 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
17577 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17578 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17579 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17580 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
17581 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17582 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17583 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
17584 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17585 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
17586 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
17587 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17588 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17589 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17590 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
17591 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17592 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
17593 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
17594 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
17595 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
17596 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
17597 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17598 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
17599 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
17600 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
17601 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
17602 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
17603 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
17604 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
17605 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
17606 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
17607 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
17608 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
17609 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
17610 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
17611 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17612 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
17613 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
17614 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17615 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17616 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
17617 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
17618 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17619 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17620 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
17621 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17622 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17623 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17624 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17625 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17626 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17627 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
17628 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17629 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17630 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17631 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
17632 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
17633 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
17634 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
17635 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
17636 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17637 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
17638 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
17639 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
17640 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
17641 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
17642 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17643 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17644 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17645 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17646 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
17647 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
17648 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17649 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
17650 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
17651 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17652 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17653 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
17654 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17655 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
17656 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17657 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17658 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17659 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17660 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
17661 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
17662 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17663 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17664 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
17665 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
17666 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
17667 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
17668 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
17669 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
17670
17671 LTCC='$LTCC'
17672 LTCFLAGS='$LTCFLAGS'
17673 compiler='$compiler_DEFAULT'
17674
17675 # Quote evaled strings.
17676 for var in SED \
17677 GREP \
17678 EGREP \
17679 FGREP \
17680 LD \
17681 NM \
17682 LN_S \
17683 lt_SP2NL \
17684 lt_NL2SP \
17685 reload_flag \
17686 OBJDUMP \
17687 deplibs_check_method \
17688 file_magic_cmd \
17689 AR \
17690 AR_FLAGS \
17691 STRIP \
17692 RANLIB \
17693 CC \
17694 CFLAGS \
17695 compiler \
17696 lt_cv_sys_global_symbol_pipe \
17697 lt_cv_sys_global_symbol_to_cdecl \
17698 lt_cv_sys_global_symbol_to_c_name_address \
17699 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17700 SHELL \
17701 ECHO \
17702 lt_prog_compiler_no_builtin_flag \
17703 lt_prog_compiler_wl \
17704 lt_prog_compiler_pic \
17705 lt_prog_compiler_static \
17706 lt_cv_prog_compiler_c_o \
17707 need_locks \
17708 DSYMUTIL \
17709 NMEDIT \
17710 LIPO \
17711 OTOOL \
17712 OTOOL64 \
17713 shrext_cmds \
17714 export_dynamic_flag_spec \
17715 whole_archive_flag_spec \
17716 compiler_needs_object \
17717 with_gnu_ld \
17718 allow_undefined_flag \
17719 no_undefined_flag \
17720 hardcode_libdir_flag_spec \
17721 hardcode_libdir_flag_spec_ld \
17722 hardcode_libdir_separator \
17723 fix_srcfile_path \
17724 exclude_expsyms \
17725 include_expsyms \
17726 file_list_spec \
17727 variables_saved_for_relink \
17728 libname_spec \
17729 library_names_spec \
17730 soname_spec \
17731 finish_eval \
17732 old_striplib \
17733 striplib; do
17734     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17735     *[\\\\\\\`\\"\\\$]*)
17736       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17737       ;;
17738     *)
17739       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17740       ;;
17741     esac
17742 done
17743
17744 # Double-quote double-evaled strings.
17745 for var in reload_cmds \
17746 old_postinstall_cmds \
17747 old_postuninstall_cmds \
17748 old_archive_cmds \
17749 extract_expsyms_cmds \
17750 old_archive_from_new_cmds \
17751 old_archive_from_expsyms_cmds \
17752 archive_cmds \
17753 archive_expsym_cmds \
17754 module_cmds \
17755 module_expsym_cmds \
17756 export_symbols_cmds \
17757 prelink_cmds \
17758 postinstall_cmds \
17759 postuninstall_cmds \
17760 finish_cmds \
17761 sys_lib_search_path_spec \
17762 sys_lib_dlsearch_path_spec; do
17763     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17764     *[\\\\\\\`\\"\\\$]*)
17765       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17766       ;;
17767     *)
17768       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17769       ;;
17770     esac
17771 done
17772
17773 # Fix-up fallback echo if it was mangled by the above quoting rules.
17774 case \$lt_ECHO in
17775 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
17776   ;;
17777 esac
17778
17779 ac_aux_dir='$ac_aux_dir'
17780 xsi_shell='$xsi_shell'
17781 lt_shell_append='$lt_shell_append'
17782
17783 # See if we are running on zsh, and set the options which allow our
17784 # commands through without removal of \ escapes INIT.
17785 if test -n "\${ZSH_VERSION+set}" ; then
17786    setopt NO_GLOB_SUBST
17787 fi
17788
17789
17790     PACKAGE='$PACKAGE'
17791     VERSION='$VERSION'
17792     TIMESTAMP='$TIMESTAMP'
17793     RM='$RM'
17794     ofile='$ofile'
17795
17796
17797
17798
17799
17800 _ACEOF
17801
17802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17803
17804 # Handling of arguments.
17805 for ac_config_target in $ac_config_targets
17806 do
17807   case $ac_config_target in
17808     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17809     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17810     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17811     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
17812     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17813     "barcode-0.98/Makefile") CONFIG_FILES="$CONFIG_FILES barcode-0.98/Makefile" ;;
17814     "iec16022-0.2.1/Makefile") CONFIG_FILES="$CONFIG_FILES iec16022-0.2.1/Makefile" ;;
17815     "libglabels/Makefile") CONFIG_FILES="$CONFIG_FILES libglabels/Makefile" ;;
17816     "libglabels/libglabels.pc") CONFIG_FILES="$CONFIG_FILES libglabels/libglabels.pc" ;;
17817     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
17818     "src/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES src/pixmaps/Makefile" ;;
17819     "src/stock-pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES src/stock-pixmaps/Makefile" ;;
17820     "src/mygal/Makefile") CONFIG_FILES="$CONFIG_FILES src/mygal/Makefile" ;;
17821     "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
17822     "data/templates/Makefile") CONFIG_FILES="$CONFIG_FILES data/templates/Makefile" ;;
17823     "data/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES data/pixmaps/Makefile" ;;
17824     "data/mime/Makefile") CONFIG_FILES="$CONFIG_FILES data/mime/Makefile" ;;
17825     "data/glade/Makefile") CONFIG_FILES="$CONFIG_FILES data/glade/Makefile" ;;
17826     "data/desktop/Makefile") CONFIG_FILES="$CONFIG_FILES data/desktop/Makefile" ;;
17827     "data/dtd/Makefile") CONFIG_FILES="$CONFIG_FILES data/dtd/Makefile" ;;
17828     "data/man/Makefile") CONFIG_FILES="$CONFIG_FILES data/man/Makefile" ;;
17829     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
17830     "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
17831     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
17832     "docs/libglabels/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libglabels/Makefile" ;;
17833     "glabels.spec") CONFIG_FILES="$CONFIG_FILES glabels.spec" ;;
17834     "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
17835
17836   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
17837 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
17838    { (exit 1); exit 1; }; };;
17839   esac
17840 done
17841
17842
17843 # If the user did not use the arguments to specify the items to instantiate,
17844 # then the envvar interface is used.  Set only those that are not.
17845 # We use the long form for the default assignment because of an extremely
17846 # bizarre bug on SunOS 4.1.3.
17847 if $ac_need_defaults; then
17848   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17849   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17850   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17851 fi
17852
17853 # Have a temporary directory for convenience.  Make it in the build tree
17854 # simply because there is no reason against having it here, and in addition,
17855 # creating and moving files from /tmp can sometimes cause problems.
17856 # Hook for its removal unless debugging.
17857 # Note that there is a small window in which the directory will not be cleaned:
17858 # after its creation but before its name has been assigned to `$tmp'.
17859 $debug ||
17860 {
17861   tmp=
17862   trap 'exit_status=$?
17863   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17864 ' 0
17865   trap '{ (exit 1); exit 1; }' 1 2 13 15
17866 }
17867 # Create a (secure) tmp directory for tmp files.
17868
17869 {
17870   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17871   test -n "$tmp" && test -d "$tmp"
17872 }  ||
17873 {
17874   tmp=./conf$$-$RANDOM
17875   (umask 077 && mkdir "$tmp")
17876 } ||
17877 {
17878    $as_echo "$as_me: cannot create a temporary directory in ." >&2
17879    { (exit 1); exit 1; }
17880 }
17881
17882 # Set up the scripts for CONFIG_FILES section.
17883 # No need to generate them if there are no CONFIG_FILES.
17884 # This happens for instance with `./config.status config.h'.
17885 if test -n "$CONFIG_FILES"; then
17886
17887
17888 ac_cr='\r'
17889 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17890 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17891   ac_cs_awk_cr='\\r'
17892 else
17893   ac_cs_awk_cr=$ac_cr
17894 fi
17895
17896 echo 'BEGIN {' >"$tmp/subs1.awk" &&
17897 _ACEOF
17898
17899
17900 {
17901   echo "cat >conf$$subs.awk <<_ACEOF" &&
17902   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17903   echo "_ACEOF"
17904 } >conf$$subs.sh ||
17905   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
17906 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
17907    { (exit 1); exit 1; }; }
17908 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
17909 ac_delim='%!_!# '
17910 for ac_last_try in false false false false false :; do
17911   . ./conf$$subs.sh ||
17912     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
17913 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
17914    { (exit 1); exit 1; }; }
17915
17916   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17917   if test $ac_delim_n = $ac_delim_num; then
17918     break
17919   elif $ac_last_try; then
17920     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
17921 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
17922    { (exit 1); exit 1; }; }
17923   else
17924     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17925   fi
17926 done
17927 rm -f conf$$subs.sh
17928
17929 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17930 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
17931 _ACEOF
17932 sed -n '
17933 h
17934 s/^/S["/; s/!.*/"]=/
17935 p
17936 g
17937 s/^[^!]*!//
17938 :repl
17939 t repl
17940 s/'"$ac_delim"'$//
17941 t delim
17942 :nl
17943 h
17944 s/\(.\{148\}\).*/\1/
17945 t more1
17946 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17947 p
17948 n
17949 b repl
17950 :more1
17951 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17952 p
17953 g
17954 s/.\{148\}//
17955 t nl
17956 :delim
17957 h
17958 s/\(.\{148\}\).*/\1/
17959 t more2
17960 s/["\\]/\\&/g; s/^/"/; s/$/"/
17961 p
17962 b
17963 :more2
17964 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17965 p
17966 g
17967 s/.\{148\}//
17968 t delim
17969 ' <conf$$subs.awk | sed '
17970 /^[^""]/{
17971   N
17972   s/\n//
17973 }
17974 ' >>$CONFIG_STATUS || ac_write_fail=1
17975 rm -f conf$$subs.awk
17976 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17977 _ACAWK
17978 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
17979   for (key in S) S_is_set[key] = 1
17980   FS = "\a"
17981
17982 }
17983 {
17984   line = $ 0
17985   nfields = split(line, field, "@")
17986   substed = 0
17987   len = length(field[1])
17988   for (i = 2; i < nfields; i++) {
17989     key = field[i]
17990     keylen = length(key)
17991     if (S_is_set[key]) {
17992       value = S[key]
17993       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17994       len += length(value) + length(field[++i])
17995       substed = 1
17996     } else
17997       len += 1 + keylen
17998   }
17999
18000   print line
18001 }
18002
18003 _ACAWK
18004 _ACEOF
18005 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18006 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18007   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18008 else
18009   cat
18010 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
18011   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
18012 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
18013    { (exit 1); exit 1; }; }
18014 _ACEOF
18015
18016 # VPATH may cause trouble with some makes, so we remove $(srcdir),
18017 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
18018 # trailing colons and then remove the whole line if VPATH becomes empty
18019 # (actually we leave an empty line to preserve line numbers).
18020 if test "x$srcdir" = x.; then
18021   ac_vpsub='/^[  ]*VPATH[        ]*=/{
18022 s/:*\$(srcdir):*/:/
18023 s/:*\${srcdir}:*/:/
18024 s/:*@srcdir@:*/:/
18025 s/^\([^=]*=[     ]*\):*/\1/
18026 s/:*$//
18027 s/^[^=]*=[       ]*$//
18028 }'
18029 fi
18030
18031 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18032 fi # test -n "$CONFIG_FILES"
18033
18034 # Set up the scripts for CONFIG_HEADERS section.
18035 # No need to generate them if there are no CONFIG_HEADERS.
18036 # This happens for instance with `./config.status Makefile'.
18037 if test -n "$CONFIG_HEADERS"; then
18038 cat >"$tmp/defines.awk" <<\_ACAWK ||
18039 BEGIN {
18040 _ACEOF
18041
18042 # Transform confdefs.h into an awk script `defines.awk', embedded as
18043 # here-document in config.status, that substitutes the proper values into
18044 # config.h.in to produce config.h.
18045
18046 # Create a delimiter string that does not exist in confdefs.h, to ease
18047 # handling of long lines.
18048 ac_delim='%!_!# '
18049 for ac_last_try in false false :; do
18050   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
18051   if test -z "$ac_t"; then
18052     break
18053   elif $ac_last_try; then
18054     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
18055 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
18056    { (exit 1); exit 1; }; }
18057   else
18058     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18059   fi
18060 done
18061
18062 # For the awk script, D is an array of macro values keyed by name,
18063 # likewise P contains macro parameters if any.  Preserve backslash
18064 # newline sequences.
18065
18066 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18067 sed -n '
18068 s/.\{148\}/&'"$ac_delim"'/g
18069 t rset
18070 :rset
18071 s/^[     ]*#[    ]*define[       ][      ]*/ /
18072 t def
18073 d
18074 :def
18075 s/\\$//
18076 t bsnl
18077 s/["\\]/\\&/g
18078 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
18079 D["\1"]=" \3"/p
18080 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
18081 d
18082 :bsnl
18083 s/["\\]/\\&/g
18084 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
18085 D["\1"]=" \3\\\\\\n"\\/p
18086 t cont
18087 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18088 t cont
18089 d
18090 :cont
18091 n
18092 s/.\{148\}/&'"$ac_delim"'/g
18093 t clear
18094 :clear
18095 s/\\$//
18096 t bsnlc
18097 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18098 d
18099 :bsnlc
18100 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18101 b cont
18102 ' <confdefs.h | sed '
18103 s/'"$ac_delim"'/"\\\
18104 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18105
18106 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18107   for (key in D) D_is_set[key] = 1
18108   FS = "\a"
18109 }
18110 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18111   line = \$ 0
18112   split(line, arg, " ")
18113   if (arg[1] == "#") {
18114     defundef = arg[2]
18115     mac1 = arg[3]
18116   } else {
18117     defundef = substr(arg[1], 2)
18118     mac1 = arg[2]
18119   }
18120   split(mac1, mac2, "(") #)
18121   macro = mac2[1]
18122   prefix = substr(line, 1, index(line, defundef) - 1)
18123   if (D_is_set[macro]) {
18124     # Preserve the white space surrounding the "#".
18125     print prefix "define", macro P[macro] D[macro]
18126     next
18127   } else {
18128     # Replace #undef with comments.  This is necessary, for example,
18129     # in the case of _POSIX_SOURCE, which is predefined and required
18130     # on some systems where configure will not decide to define it.
18131     if (defundef == "undef") {
18132       print "/*", prefix defundef, macro, "*/"
18133       next
18134     }
18135   }
18136 }
18137 { print }
18138 _ACAWK
18139 _ACEOF
18140 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18141   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
18142 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
18143    { (exit 1); exit 1; }; }
18144 fi # test -n "$CONFIG_HEADERS"
18145
18146
18147 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
18148 shift
18149 for ac_tag
18150 do
18151   case $ac_tag in
18152   :[FHLC]) ac_mode=$ac_tag; continue;;
18153   esac
18154   case $ac_mode$ac_tag in
18155   :[FHL]*:*);;
18156   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
18157 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
18158    { (exit 1); exit 1; }; };;
18159   :[FH]-) ac_tag=-:-;;
18160   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18161   esac
18162   ac_save_IFS=$IFS
18163   IFS=:
18164   set x $ac_tag
18165   IFS=$ac_save_IFS
18166   shift
18167   ac_file=$1
18168   shift
18169
18170   case $ac_mode in
18171   :L) ac_source=$1;;
18172   :[FH])
18173     ac_file_inputs=
18174     for ac_f
18175     do
18176       case $ac_f in
18177       -) ac_f="$tmp/stdin";;
18178       *) # Look for the file first in the build tree, then in the source tree
18179          # (if the path is not absolute).  The absolute path cannot be DOS-style,
18180          # because $ac_f cannot contain `:'.
18181          test -f "$ac_f" ||
18182            case $ac_f in
18183            [\\/$]*) false;;
18184            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18185            esac ||
18186            { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
18187 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
18188    { (exit 1); exit 1; }; };;
18189       esac
18190       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18191       ac_file_inputs="$ac_file_inputs '$ac_f'"
18192     done
18193
18194     # Let's still pretend it is `configure' which instantiates (i.e., don't
18195     # use $as_me), people would be surprised to read:
18196     #    /* config.h.  Generated by config.status.  */
18197     configure_input='Generated from '`
18198           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18199         `' by configure.'
18200     if test x"$ac_file" != x-; then
18201       configure_input="$ac_file.  $configure_input"
18202       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
18203 $as_echo "$as_me: creating $ac_file" >&6;}
18204     fi
18205     # Neutralize special characters interpreted by sed in replacement strings.
18206     case $configure_input in #(
18207     *\&* | *\|* | *\\* )
18208        ac_sed_conf_input=`$as_echo "$configure_input" |
18209        sed 's/[\\\\&|]/\\\\&/g'`;; #(
18210     *) ac_sed_conf_input=$configure_input;;
18211     esac
18212
18213     case $ac_tag in
18214     *:-:* | *:-) cat >"$tmp/stdin" \
18215       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18216 $as_echo "$as_me: error: could not create $ac_file" >&2;}
18217    { (exit 1); exit 1; }; } ;;
18218     esac
18219     ;;
18220   esac
18221
18222   ac_dir=`$as_dirname -- "$ac_file" ||
18223 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18224          X"$ac_file" : 'X\(//\)[^/]' \| \
18225          X"$ac_file" : 'X\(//\)$' \| \
18226          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18227 $as_echo X"$ac_file" |
18228     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18229             s//\1/
18230             q
18231           }
18232           /^X\(\/\/\)[^/].*/{
18233             s//\1/
18234             q
18235           }
18236           /^X\(\/\/\)$/{
18237             s//\1/
18238             q
18239           }
18240           /^X\(\/\).*/{
18241             s//\1/
18242             q
18243           }
18244           s/.*/./; q'`
18245   { as_dir="$ac_dir"
18246   case $as_dir in #(
18247   -*) as_dir=./$as_dir;;
18248   esac
18249   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
18250     as_dirs=
18251     while :; do
18252       case $as_dir in #(
18253       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18254       *) as_qdir=$as_dir;;
18255       esac
18256       as_dirs="'$as_qdir' $as_dirs"
18257       as_dir=`$as_dirname -- "$as_dir" ||
18258 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18259          X"$as_dir" : 'X\(//\)[^/]' \| \
18260          X"$as_dir" : 'X\(//\)$' \| \
18261          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18262 $as_echo X"$as_dir" |
18263     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18264             s//\1/
18265             q
18266           }
18267           /^X\(\/\/\)[^/].*/{
18268             s//\1/
18269             q
18270           }
18271           /^X\(\/\/\)$/{
18272             s//\1/
18273             q
18274           }
18275           /^X\(\/\).*/{
18276             s//\1/
18277             q
18278           }
18279           s/.*/./; q'`
18280       test -d "$as_dir" && break
18281     done
18282     test -z "$as_dirs" || eval "mkdir $as_dirs"
18283   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
18284 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
18285    { (exit 1); exit 1; }; }; }
18286   ac_builddir=.
18287
18288 case "$ac_dir" in
18289 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18290 *)
18291   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18292   # A ".." for each directory in $ac_dir_suffix.
18293   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18294   case $ac_top_builddir_sub in
18295   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18296   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18297   esac ;;
18298 esac
18299 ac_abs_top_builddir=$ac_pwd
18300 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18301 # for backward compatibility:
18302 ac_top_builddir=$ac_top_build_prefix
18303
18304 case $srcdir in
18305   .)  # We are building in place.
18306     ac_srcdir=.
18307     ac_top_srcdir=$ac_top_builddir_sub
18308     ac_abs_top_srcdir=$ac_pwd ;;
18309   [\\/]* | ?:[\\/]* )  # Absolute name.
18310     ac_srcdir=$srcdir$ac_dir_suffix;
18311     ac_top_srcdir=$srcdir
18312     ac_abs_top_srcdir=$srcdir ;;
18313   *) # Relative name.
18314     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18315     ac_top_srcdir=$ac_top_build_prefix$srcdir
18316     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18317 esac
18318 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18319
18320
18321   case $ac_mode in
18322   :F)
18323   #
18324   # CONFIG_FILE
18325   #
18326
18327   case $INSTALL in
18328   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18329   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18330   esac
18331   ac_MKDIR_P=$MKDIR_P
18332   case $MKDIR_P in
18333   [\\/$]* | ?:[\\/]* ) ;;
18334   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18335   esac
18336 _ACEOF
18337
18338 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18339 # If the template does not know about datarootdir, expand it.
18340 # FIXME: This hack should be removed a few years after 2.60.
18341 ac_datarootdir_hack=; ac_datarootdir_seen=
18342
18343 ac_sed_dataroot='
18344 /datarootdir/ {
18345   p
18346   q
18347 }
18348 /@datadir@/p
18349 /@docdir@/p
18350 /@infodir@/p
18351 /@localedir@/p
18352 /@mandir@/p
18353 '
18354 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18355 *datarootdir*) ac_datarootdir_seen=yes;;
18356 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18357   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18358 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18359 _ACEOF
18360 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18361   ac_datarootdir_hack='
18362   s&@datadir@&$datadir&g
18363   s&@docdir@&$docdir&g
18364   s&@infodir@&$infodir&g
18365   s&@localedir@&$localedir&g
18366   s&@mandir@&$mandir&g
18367     s&\\\${datarootdir}&$datarootdir&g' ;;
18368 esac
18369 _ACEOF
18370
18371 # Neutralize VPATH when `$srcdir' = `.'.
18372 # Shell code in configure.ac might set extrasub.
18373 # FIXME: do we really want to maintain this feature?
18374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18375 ac_sed_extra="$ac_vpsub
18376 $extrasub
18377 _ACEOF
18378 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18379 :t
18380 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18381 s|@configure_input@|$ac_sed_conf_input|;t t
18382 s&@top_builddir@&$ac_top_builddir_sub&;t t
18383 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18384 s&@srcdir@&$ac_srcdir&;t t
18385 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18386 s&@top_srcdir@&$ac_top_srcdir&;t t
18387 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18388 s&@builddir@&$ac_builddir&;t t
18389 s&@abs_builddir@&$ac_abs_builddir&;t t
18390 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18391 s&@INSTALL@&$ac_INSTALL&;t t
18392 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18393 $ac_datarootdir_hack
18394 "
18395 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
18396   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18397 $as_echo "$as_me: error: could not create $ac_file" >&2;}
18398    { (exit 1); exit 1; }; }
18399
18400 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18401   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
18402   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
18403   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18404 which seems to be undefined.  Please make sure it is defined." >&5
18405 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18406 which seems to be undefined.  Please make sure it is defined." >&2;}
18407
18408   rm -f "$tmp/stdin"
18409   case $ac_file in
18410   -) cat "$tmp/out" && rm -f "$tmp/out";;
18411   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
18412   esac \
18413   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18414 $as_echo "$as_me: error: could not create $ac_file" >&2;}
18415    { (exit 1); exit 1; }; }
18416  ;;
18417   :H)
18418   #
18419   # CONFIG_HEADER
18420   #
18421   if test x"$ac_file" != x-; then
18422     {
18423       $as_echo "/* $configure_input  */" \
18424       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
18425     } >"$tmp/config.h" \
18426       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18427 $as_echo "$as_me: error: could not create $ac_file" >&2;}
18428    { (exit 1); exit 1; }; }
18429     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
18430       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
18431 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18432     else
18433       rm -f "$ac_file"
18434       mv "$tmp/config.h" "$ac_file" \
18435         || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18436 $as_echo "$as_me: error: could not create $ac_file" >&2;}
18437    { (exit 1); exit 1; }; }
18438     fi
18439   else
18440     $as_echo "/* $configure_input  */" \
18441       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
18442       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
18443 $as_echo "$as_me: error: could not create -" >&2;}
18444    { (exit 1); exit 1; }; }
18445   fi
18446 # Compute "$ac_file"'s index in $config_headers.
18447 _am_arg="$ac_file"
18448 _am_stamp_count=1
18449 for _am_header in $config_headers :; do
18450   case $_am_header in
18451     $_am_arg | $_am_arg:* )
18452       break ;;
18453     * )
18454       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18455   esac
18456 done
18457 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18458 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18459          X"$_am_arg" : 'X\(//\)[^/]' \| \
18460          X"$_am_arg" : 'X\(//\)$' \| \
18461          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18462 $as_echo X"$_am_arg" |
18463     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18464             s//\1/
18465             q
18466           }
18467           /^X\(\/\/\)[^/].*/{
18468             s//\1/
18469             q
18470           }
18471           /^X\(\/\/\)$/{
18472             s//\1/
18473             q
18474           }
18475           /^X\(\/\).*/{
18476             s//\1/
18477             q
18478           }
18479           s/.*/./; q'`/stamp-h$_am_stamp_count
18480  ;;
18481
18482   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
18483 $as_echo "$as_me: executing $ac_file commands" >&6;}
18484  ;;
18485   esac
18486
18487
18488   case $ac_file$ac_mode in
18489     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18490   # Autoconf 2.62 quotes --file arguments for eval, but not when files
18491   # are listed without --file.  Let's play safe and only enable the eval
18492   # if we detect the quoting.
18493   case $CONFIG_FILES in
18494   *\'*) eval set x "$CONFIG_FILES" ;;
18495   *)   set x $CONFIG_FILES ;;
18496   esac
18497   shift
18498   for mf
18499   do
18500     # Strip MF so we end up with the name of the file.
18501     mf=`echo "$mf" | sed -e 's/:.*$//'`
18502     # Check whether this is an Automake generated Makefile or not.
18503     # We used to match only the files named `Makefile.in', but
18504     # some people rename them; so instead we look at the file content.
18505     # Grep'ing the first line is not enough: some people post-process
18506     # each Makefile.in and add a new line on top of each file to say so.
18507     # Grep'ing the whole file is not good either: AIX grep has a line
18508     # limit of 2048, but all sed's we know have understand at least 4000.
18509     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18510       dirpart=`$as_dirname -- "$mf" ||
18511 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18512          X"$mf" : 'X\(//\)[^/]' \| \
18513          X"$mf" : 'X\(//\)$' \| \
18514          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18515 $as_echo X"$mf" |
18516     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18517             s//\1/
18518             q
18519           }
18520           /^X\(\/\/\)[^/].*/{
18521             s//\1/
18522             q
18523           }
18524           /^X\(\/\/\)$/{
18525             s//\1/
18526             q
18527           }
18528           /^X\(\/\).*/{
18529             s//\1/
18530             q
18531           }
18532           s/.*/./; q'`
18533     else
18534       continue
18535     fi
18536     # Extract the definition of DEPDIR, am__include, and am__quote
18537     # from the Makefile without running `make'.
18538     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18539     test -z "$DEPDIR" && continue
18540     am__include=`sed -n 's/^am__include = //p' < "$mf"`
18541     test -z "am__include" && continue
18542     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18543     # When using ansi2knr, U may be empty or an underscore; expand it
18544     U=`sed -n 's/^U = //p' < "$mf"`
18545     # Find all dependency output files, they are included files with
18546     # $(DEPDIR) in their names.  We invoke sed twice because it is the
18547     # simplest approach to changing $(DEPDIR) to its actual value in the
18548     # expansion.
18549     for file in `sed -n "
18550       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18551          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18552       # Make sure the directory exists.
18553       test -f "$dirpart/$file" && continue
18554       fdir=`$as_dirname -- "$file" ||
18555 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18556          X"$file" : 'X\(//\)[^/]' \| \
18557          X"$file" : 'X\(//\)$' \| \
18558          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18559 $as_echo X"$file" |
18560     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18561             s//\1/
18562             q
18563           }
18564           /^X\(\/\/\)[^/].*/{
18565             s//\1/
18566             q
18567           }
18568           /^X\(\/\/\)$/{
18569             s//\1/
18570             q
18571           }
18572           /^X\(\/\).*/{
18573             s//\1/
18574             q
18575           }
18576           s/.*/./; q'`
18577       { as_dir=$dirpart/$fdir
18578   case $as_dir in #(
18579   -*) as_dir=./$as_dir;;
18580   esac
18581   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
18582     as_dirs=
18583     while :; do
18584       case $as_dir in #(
18585       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18586       *) as_qdir=$as_dir;;
18587       esac
18588       as_dirs="'$as_qdir' $as_dirs"
18589       as_dir=`$as_dirname -- "$as_dir" ||
18590 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18591          X"$as_dir" : 'X\(//\)[^/]' \| \
18592          X"$as_dir" : 'X\(//\)$' \| \
18593          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18594 $as_echo X"$as_dir" |
18595     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18596             s//\1/
18597             q
18598           }
18599           /^X\(\/\/\)[^/].*/{
18600             s//\1/
18601             q
18602           }
18603           /^X\(\/\/\)$/{
18604             s//\1/
18605             q
18606           }
18607           /^X\(\/\).*/{
18608             s//\1/
18609             q
18610           }
18611           s/.*/./; q'`
18612       test -d "$as_dir" && break
18613     done
18614     test -z "$as_dirs" || eval "mkdir $as_dirs"
18615   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
18616 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
18617    { (exit 1); exit 1; }; }; }
18618       # echo "creating $dirpart/$file"
18619       echo '# dummy' > "$dirpart/$file"
18620     done
18621   done
18622 }
18623  ;;
18624     "libtool":C)
18625
18626     # See if we are running on zsh, and set the options which allow our
18627     # commands through without removal of \ escapes.
18628     if test -n "${ZSH_VERSION+set}" ; then
18629       setopt NO_GLOB_SUBST
18630     fi
18631
18632     cfgfile="${ofile}T"
18633     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18634     $RM "$cfgfile"
18635
18636     cat <<_LT_EOF >> "$cfgfile"
18637 #! $SHELL
18638
18639 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18640 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18641 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18642 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18643 #
18644 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18645 #                 2006, 2007, 2008 Free Software Foundation, Inc.
18646 #   Written by Gordon Matzigkeit, 1996
18647 #
18648 #   This file is part of GNU Libtool.
18649 #
18650 # GNU Libtool is free software; you can redistribute it and/or
18651 # modify it under the terms of the GNU General Public License as
18652 # published by the Free Software Foundation; either version 2 of
18653 # the License, or (at your option) any later version.
18654 #
18655 # As a special exception to the GNU General Public License,
18656 # if you distribute this file as part of a program or library that
18657 # is built using GNU Libtool, you may include this file under the
18658 # same distribution terms that you use for the rest of that program.
18659 #
18660 # GNU Libtool is distributed in the hope that it will be useful,
18661 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18662 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18663 # GNU General Public License for more details.
18664 #
18665 # You should have received a copy of the GNU General Public License
18666 # along with GNU Libtool; see the file COPYING.  If not, a copy
18667 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18668 # obtained by writing to the Free Software Foundation, Inc.,
18669 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18670
18671
18672 # The names of the tagged configurations supported by this script.
18673 available_tags=""
18674
18675 # ### BEGIN LIBTOOL CONFIG
18676
18677 # Which release of libtool.m4 was used?
18678 macro_version=$macro_version
18679 macro_revision=$macro_revision
18680
18681 # Whether or not to build shared libraries.
18682 build_libtool_libs=$enable_shared
18683
18684 # Whether or not to build static libraries.
18685 build_old_libs=$enable_static
18686
18687 # What type of objects to build.
18688 pic_mode=$pic_mode
18689
18690 # Whether or not to optimize for fast installation.
18691 fast_install=$enable_fast_install
18692
18693 # The host system.
18694 host_alias=$host_alias
18695 host=$host
18696 host_os=$host_os
18697
18698 # The build system.
18699 build_alias=$build_alias
18700 build=$build
18701 build_os=$build_os
18702
18703 # A sed program that does not truncate output.
18704 SED=$lt_SED
18705
18706 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18707 Xsed="\$SED -e 1s/^X//"
18708
18709 # A grep program that handles long lines.
18710 GREP=$lt_GREP
18711
18712 # An ERE matcher.
18713 EGREP=$lt_EGREP
18714
18715 # A literal string matcher.
18716 FGREP=$lt_FGREP
18717
18718 # A BSD- or MS-compatible name lister.
18719 NM=$lt_NM
18720
18721 # Whether we need soft or hard links.
18722 LN_S=$lt_LN_S
18723
18724 # What is the maximum length of a command?
18725 max_cmd_len=$max_cmd_len
18726
18727 # Object file suffix (normally "o").
18728 objext=$ac_objext
18729
18730 # Executable file suffix (normally "").
18731 exeext=$exeext
18732
18733 # whether the shell understands "unset".
18734 lt_unset=$lt_unset
18735
18736 # turn spaces into newlines.
18737 SP2NL=$lt_lt_SP2NL
18738
18739 # turn newlines into spaces.
18740 NL2SP=$lt_lt_NL2SP
18741
18742 # How to create reloadable object files.
18743 reload_flag=$lt_reload_flag
18744 reload_cmds=$lt_reload_cmds
18745
18746 # An object symbol dumper.
18747 OBJDUMP=$lt_OBJDUMP
18748
18749 # Method to check whether dependent libraries are shared objects.
18750 deplibs_check_method=$lt_deplibs_check_method
18751
18752 # Command to use when deplibs_check_method == "file_magic".
18753 file_magic_cmd=$lt_file_magic_cmd
18754
18755 # The archiver.
18756 AR=$lt_AR
18757 AR_FLAGS=$lt_AR_FLAGS
18758
18759 # A symbol stripping program.
18760 STRIP=$lt_STRIP
18761
18762 # Commands used to install an old-style archive.
18763 RANLIB=$lt_RANLIB
18764 old_postinstall_cmds=$lt_old_postinstall_cmds
18765 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18766
18767 # A C compiler.
18768 LTCC=$lt_CC
18769
18770 # LTCC compiler flags.
18771 LTCFLAGS=$lt_CFLAGS
18772
18773 # Take the output of nm and produce a listing of raw symbols and C names.
18774 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18775
18776 # Transform the output of nm in a proper C declaration.
18777 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18778
18779 # Transform the output of nm in a C name address pair.
18780 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18781
18782 # Transform the output of nm in a C name address pair when lib prefix is needed.
18783 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18784
18785 # The name of the directory that contains temporary libtool files.
18786 objdir=$objdir
18787
18788 # Shell to use when invoking shell scripts.
18789 SHELL=$lt_SHELL
18790
18791 # An echo program that does not interpret backslashes.
18792 ECHO=$lt_ECHO
18793
18794 # Used to examine libraries when file_magic_cmd begins with "file".
18795 MAGIC_CMD=$MAGIC_CMD
18796
18797 # Must we lock files when doing compilation?
18798 need_locks=$lt_need_locks
18799
18800 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18801 DSYMUTIL=$lt_DSYMUTIL
18802
18803 # Tool to change global to local symbols on Mac OS X.
18804 NMEDIT=$lt_NMEDIT
18805
18806 # Tool to manipulate fat objects and archives on Mac OS X.
18807 LIPO=$lt_LIPO
18808
18809 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18810 OTOOL=$lt_OTOOL
18811
18812 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18813 OTOOL64=$lt_OTOOL64
18814
18815 # Old archive suffix (normally "a").
18816 libext=$libext
18817
18818 # Shared library suffix (normally ".so").
18819 shrext_cmds=$lt_shrext_cmds
18820
18821 # The commands to extract the exported symbol list from a shared archive.
18822 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18823
18824 # Variables whose values should be saved in libtool wrapper scripts and
18825 # restored at link time.
18826 variables_saved_for_relink=$lt_variables_saved_for_relink
18827
18828 # Do we need the "lib" prefix for modules?
18829 need_lib_prefix=$need_lib_prefix
18830
18831 # Do we need a version for libraries?
18832 need_version=$need_version
18833
18834 # Library versioning type.
18835 version_type=$version_type
18836
18837 # Shared library runtime path variable.
18838 runpath_var=$runpath_var
18839
18840 # Shared library path variable.
18841 shlibpath_var=$shlibpath_var
18842
18843 # Is shlibpath searched before the hard-coded library search path?
18844 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18845
18846 # Format of library name prefix.
18847 libname_spec=$lt_libname_spec
18848
18849 # List of archive names.  First name is the real one, the rest are links.
18850 # The last name is the one that the linker finds with -lNAME
18851 library_names_spec=$lt_library_names_spec
18852
18853 # The coded name of the library, if different from the real name.
18854 soname_spec=$lt_soname_spec
18855
18856 # Command to use after installation of a shared archive.
18857 postinstall_cmds=$lt_postinstall_cmds
18858
18859 # Command to use after uninstallation of a shared archive.
18860 postuninstall_cmds=$lt_postuninstall_cmds
18861
18862 # Commands used to finish a libtool library installation in a directory.
18863 finish_cmds=$lt_finish_cmds
18864
18865 # As "finish_cmds", except a single script fragment to be evaled but
18866 # not shown.
18867 finish_eval=$lt_finish_eval
18868
18869 # Whether we should hardcode library paths into libraries.
18870 hardcode_into_libs=$hardcode_into_libs
18871
18872 # Compile-time system search path for libraries.
18873 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18874
18875 # Run-time system search path for libraries.
18876 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18877
18878 # Whether dlopen is supported.
18879 dlopen_support=$enable_dlopen
18880
18881 # Whether dlopen of programs is supported.
18882 dlopen_self=$enable_dlopen_self
18883
18884 # Whether dlopen of statically linked programs is supported.
18885 dlopen_self_static=$enable_dlopen_self_static
18886
18887 # Commands to strip libraries.
18888 old_striplib=$lt_old_striplib
18889 striplib=$lt_striplib
18890
18891
18892 # The linker used to build libraries.
18893 LD=$lt_LD
18894
18895 # Commands used to build an old-style archive.
18896 old_archive_cmds=$lt_old_archive_cmds
18897
18898 # A language specific compiler.
18899 CC=$lt_compiler
18900
18901 # Is the compiler the GNU compiler?
18902 with_gcc=$GCC
18903
18904 # Compiler flag to turn off builtin functions.
18905 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18906
18907 # How to pass a linker flag through the compiler.
18908 wl=$lt_lt_prog_compiler_wl
18909
18910 # Additional compiler flags for building library objects.
18911 pic_flag=$lt_lt_prog_compiler_pic
18912
18913 # Compiler flag to prevent dynamic linking.
18914 link_static_flag=$lt_lt_prog_compiler_static
18915
18916 # Does compiler simultaneously support -c and -o options?
18917 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18918
18919 # Whether or not to add -lc for building shared libraries.
18920 build_libtool_need_lc=$archive_cmds_need_lc
18921
18922 # Whether or not to disallow shared libs when runtime libs are static.
18923 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18924
18925 # Compiler flag to allow reflexive dlopens.
18926 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18927
18928 # Compiler flag to generate shared objects directly from archives.
18929 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18930
18931 # Whether the compiler copes with passing no objects directly.
18932 compiler_needs_object=$lt_compiler_needs_object
18933
18934 # Create an old-style archive from a shared archive.
18935 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18936
18937 # Create a temporary old-style archive to link instead of a shared archive.
18938 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18939
18940 # Commands used to build a shared archive.
18941 archive_cmds=$lt_archive_cmds
18942 archive_expsym_cmds=$lt_archive_expsym_cmds
18943
18944 # Commands used to build a loadable module if different from building
18945 # a shared archive.
18946 module_cmds=$lt_module_cmds
18947 module_expsym_cmds=$lt_module_expsym_cmds
18948
18949 # Whether we are building with GNU ld or not.
18950 with_gnu_ld=$lt_with_gnu_ld
18951
18952 # Flag that allows shared libraries with undefined symbols to be built.
18953 allow_undefined_flag=$lt_allow_undefined_flag
18954
18955 # Flag that enforces no undefined symbols.
18956 no_undefined_flag=$lt_no_undefined_flag
18957
18958 # Flag to hardcode \$libdir into a binary during linking.
18959 # This must work even if \$libdir does not exist
18960 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18961
18962 # If ld is used when linking, flag to hardcode \$libdir into a binary
18963 # during linking.  This must work even if \$libdir does not exist.
18964 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18965
18966 # Whether we need a single "-rpath" flag with a separated argument.
18967 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18968
18969 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18970 # DIR into the resulting binary.
18971 hardcode_direct=$hardcode_direct
18972
18973 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18974 # DIR into the resulting binary and the resulting library dependency is
18975 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18976 # library is relocated.
18977 hardcode_direct_absolute=$hardcode_direct_absolute
18978
18979 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18980 # into the resulting binary.
18981 hardcode_minus_L=$hardcode_minus_L
18982
18983 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18984 # into the resulting binary.
18985 hardcode_shlibpath_var=$hardcode_shlibpath_var
18986
18987 # Set to "yes" if building a shared library automatically hardcodes DIR
18988 # into the library and all subsequent libraries and executables linked
18989 # against it.
18990 hardcode_automatic=$hardcode_automatic
18991
18992 # Set to yes if linker adds runtime paths of dependent libraries
18993 # to runtime path list.
18994 inherit_rpath=$inherit_rpath
18995
18996 # Whether libtool must link a program against all its dependency libraries.
18997 link_all_deplibs=$link_all_deplibs
18998
18999 # Fix the shell variable \$srcfile for the compiler.
19000 fix_srcfile_path=$lt_fix_srcfile_path
19001
19002 # Set to "yes" if exported symbols are required.
19003 always_export_symbols=$always_export_symbols
19004
19005 # The commands to list exported symbols.
19006 export_symbols_cmds=$lt_export_symbols_cmds
19007
19008 # Symbols that should not be listed in the preloaded symbols.
19009 exclude_expsyms=$lt_exclude_expsyms
19010
19011 # Symbols that must always be exported.
19012 include_expsyms=$lt_include_expsyms
19013
19014 # Commands necessary for linking programs (against libraries) with templates.
19015 prelink_cmds=$lt_prelink_cmds
19016
19017 # Specify filename containing input files.
19018 file_list_spec=$lt_file_list_spec
19019
19020 # How to hardcode a shared library path into an executable.
19021 hardcode_action=$hardcode_action
19022
19023 # ### END LIBTOOL CONFIG
19024
19025 _LT_EOF
19026
19027   case $host_os in
19028   aix3*)
19029     cat <<\_LT_EOF >> "$cfgfile"
19030 # AIX sometimes has problems with the GCC collect2 program.  For some
19031 # reason, if we set the COLLECT_NAMES environment variable, the problems
19032 # vanish in a puff of smoke.
19033 if test "X${COLLECT_NAMES+set}" != Xset; then
19034   COLLECT_NAMES=
19035   export COLLECT_NAMES
19036 fi
19037 _LT_EOF
19038     ;;
19039   esac
19040
19041
19042 ltmain="$ac_aux_dir/ltmain.sh"
19043
19044
19045   # We use sed instead of cat because bash on DJGPP gets confused if
19046   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
19047   # text mode, it properly converts lines to CR/LF.  This bash problem
19048   # is reportedly fixed, but why not run on old versions too?
19049   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
19050     || (rm -f "$cfgfile"; exit 1)
19051
19052   case $xsi_shell in
19053   yes)
19054     cat << \_LT_EOF >> "$cfgfile"
19055
19056 # func_dirname file append nondir_replacement
19057 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
19058 # otherwise set result to NONDIR_REPLACEMENT.
19059 func_dirname ()
19060 {
19061   case ${1} in
19062     */*) func_dirname_result="${1%/*}${2}" ;;
19063     *  ) func_dirname_result="${3}" ;;
19064   esac
19065 }
19066
19067 # func_basename file
19068 func_basename ()
19069 {
19070   func_basename_result="${1##*/}"
19071 }
19072
19073 # func_dirname_and_basename file append nondir_replacement
19074 # perform func_basename and func_dirname in a single function
19075 # call:
19076 #   dirname:  Compute the dirname of FILE.  If nonempty,
19077 #             add APPEND to the result, otherwise set result
19078 #             to NONDIR_REPLACEMENT.
19079 #             value returned in "$func_dirname_result"
19080 #   basename: Compute filename of FILE.
19081 #             value retuned in "$func_basename_result"
19082 # Implementation must be kept synchronized with func_dirname
19083 # and func_basename. For efficiency, we do not delegate to
19084 # those functions but instead duplicate the functionality here.
19085 func_dirname_and_basename ()
19086 {
19087   case ${1} in
19088     */*) func_dirname_result="${1%/*}${2}" ;;
19089     *  ) func_dirname_result="${3}" ;;
19090   esac
19091   func_basename_result="${1##*/}"
19092 }
19093
19094 # func_stripname prefix suffix name
19095 # strip PREFIX and SUFFIX off of NAME.
19096 # PREFIX and SUFFIX must not contain globbing or regex special
19097 # characters, hashes, percent signs, but SUFFIX may contain a leading
19098 # dot (in which case that matches only a dot).
19099 func_stripname ()
19100 {
19101   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
19102   # positional parameters, so assign one to ordinary parameter first.
19103   func_stripname_result=${3}
19104   func_stripname_result=${func_stripname_result#"${1}"}
19105   func_stripname_result=${func_stripname_result%"${2}"}
19106 }
19107
19108 # func_opt_split
19109 func_opt_split ()
19110 {
19111   func_opt_split_opt=${1%%=*}
19112   func_opt_split_arg=${1#*=}
19113 }
19114
19115 # func_lo2o object
19116 func_lo2o ()
19117 {
19118   case ${1} in
19119     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
19120     *)    func_lo2o_result=${1} ;;
19121   esac
19122 }
19123
19124 # func_xform libobj-or-source
19125 func_xform ()
19126 {
19127   func_xform_result=${1%.*}.lo
19128 }
19129
19130 # func_arith arithmetic-term...
19131 func_arith ()
19132 {
19133   func_arith_result=$(( $* ))
19134 }
19135
19136 # func_len string
19137 # STRING may not start with a hyphen.
19138 func_len ()
19139 {
19140   func_len_result=${#1}
19141 }
19142
19143 _LT_EOF
19144     ;;
19145   *) # Bourne compatible functions.
19146     cat << \_LT_EOF >> "$cfgfile"
19147
19148 # func_dirname file append nondir_replacement
19149 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
19150 # otherwise set result to NONDIR_REPLACEMENT.
19151 func_dirname ()
19152 {
19153   # Extract subdirectory from the argument.
19154   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
19155   if test "X$func_dirname_result" = "X${1}"; then
19156     func_dirname_result="${3}"
19157   else
19158     func_dirname_result="$func_dirname_result${2}"
19159   fi
19160 }
19161
19162 # func_basename file
19163 func_basename ()
19164 {
19165   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
19166 }
19167
19168
19169 # func_stripname prefix suffix name
19170 # strip PREFIX and SUFFIX off of NAME.
19171 # PREFIX and SUFFIX must not contain globbing or regex special
19172 # characters, hashes, percent signs, but SUFFIX may contain a leading
19173 # dot (in which case that matches only a dot).
19174 # func_strip_suffix prefix name
19175 func_stripname ()
19176 {
19177   case ${2} in
19178     .*) func_stripname_result=`$ECHO "X${3}" \
19179            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
19180     *)  func_stripname_result=`$ECHO "X${3}" \
19181            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
19182   esac
19183 }
19184
19185 # sed scripts:
19186 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
19187 my_sed_long_arg='1s/^-[^=]*=//'
19188
19189 # func_opt_split
19190 func_opt_split ()
19191 {
19192   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
19193   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
19194 }
19195
19196 # func_lo2o object
19197 func_lo2o ()
19198 {
19199   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
19200 }
19201
19202 # func_xform libobj-or-source
19203 func_xform ()
19204 {
19205   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
19206 }
19207
19208 # func_arith arithmetic-term...
19209 func_arith ()
19210 {
19211   func_arith_result=`expr "$@"`
19212 }
19213
19214 # func_len string
19215 # STRING may not start with a hyphen.
19216 func_len ()
19217 {
19218   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
19219 }
19220
19221 _LT_EOF
19222 esac
19223
19224 case $lt_shell_append in
19225   yes)
19226     cat << \_LT_EOF >> "$cfgfile"
19227
19228 # func_append var value
19229 # Append VALUE to the end of shell variable VAR.
19230 func_append ()
19231 {
19232   eval "$1+=\$2"
19233 }
19234 _LT_EOF
19235     ;;
19236   *)
19237     cat << \_LT_EOF >> "$cfgfile"
19238
19239 # func_append var value
19240 # Append VALUE to the end of shell variable VAR.
19241 func_append ()
19242 {
19243   eval "$1=\$$1\$2"
19244 }
19245
19246 _LT_EOF
19247     ;;
19248   esac
19249
19250
19251   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
19252     || (rm -f "$cfgfile"; exit 1)
19253
19254   mv -f "$cfgfile" "$ofile" ||
19255     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19256   chmod +x "$ofile"
19257
19258  ;;
19259     "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
19260         sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
19261       esac ;;
19262     "po/stamp-it":C)
19263     if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
19264        { { $as_echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
19265 $as_echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;}
19266    { (exit 1); exit 1; }; }
19267     fi
19268     rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
19269     >"po/stamp-it.tmp"
19270     sed '/^#/d
19271          s/^[[].*] *//
19272          /^[    ]*$/d
19273         '"s|^|  $ac_top_srcdir/|" \
19274       "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
19275
19276     sed '/^POTFILES =/,/[^\\]$/ {
19277                 /^POTFILES =/!d
19278                 r po/POTFILES
19279           }
19280          ' "po/Makefile.in" >"po/Makefile"
19281     rm -f "po/Makefile.tmp"
19282     mv "po/stamp-it.tmp" "po/stamp-it"
19283    ;;
19284
19285   esac
19286 done # for ac_tag
19287
19288
19289 { (exit 0); exit 0; }
19290 _ACEOF
19291 chmod +x $CONFIG_STATUS
19292 ac_clean_files=$ac_clean_files_save
19293
19294 test $ac_write_fail = 0 ||
19295   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
19296 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
19297    { (exit 1); exit 1; }; }
19298
19299
19300 # configure is writing to config.log, and then calls config.status.
19301 # config.status does its own redirection, appending to config.log.
19302 # Unfortunately, on DOS this fails, as config.log is still kept open
19303 # by configure, so config.status won't be able to write to it; its
19304 # output is simply discarded.  So we exec the FD to /dev/null,
19305 # effectively closing config.log, so it can be properly (re)opened and
19306 # appended to by config.status.  When coming back to configure, we
19307 # need to make the FD available again.
19308 if test "$no_create" != yes; then
19309   ac_cs_success=:
19310   ac_config_status_args=
19311   test "$silent" = yes &&
19312     ac_config_status_args="$ac_config_status_args --quiet"
19313   exec 5>/dev/null
19314   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19315   exec 5>>config.log
19316   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19317   # would make configure fail if this is the last instruction.
19318   $ac_cs_success || { (exit 1); exit 1; }
19319 fi
19320 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19321   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19322 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19323 fi
19324
19325
19326
19327 echo "
19328 Configuration:
19329
19330         Package:                        ${PACKAGE}-${VERSION}:
19331         Installation prefix             ${prefix}
19332         Source code location:           ${srcdir}
19333         Compiler:                       ${CC}
19334         Evolution Data Server support:  ${have_libebook}
19335
19336 "
19337