initial commit
[gconf-editor] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for GConf Editor 2.28.0.
4 #
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gconf-editor>.
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='GConf Editor'
747 PACKAGE_TARNAME='gconf-editor'
748 PACKAGE_VERSION='2.28.0'
749 PACKAGE_STRING='GConf Editor 2.28.0'
750 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gconf-editor'
751
752 ac_unique_file="src/main.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 DISABLE_DEPRECATED
794 WARN_CFLAGS
795 ACLOCAL_AMFLAGS
796 MKINSTALLDIRS
797 POSUB
798 POFILES
799 PO_IN_DATADIR_FALSE
800 PO_IN_DATADIR_TRUE
801 INTLLIBS
802 INSTOBJEXT
803 GMOFILES
804 CATOBJEXT
805 CATALOGS
806 MSGFMT_OPTS
807 GETTEXT_PACKAGE
808 GLIB_GENMARSHAL
809 DISABLE_DEPRECATED_CFLAGS
810 GCONF_EDITOR_LIBS
811 GCONF_EDITOR_CFLAGS
812 HAVE_GNOME_DOC_UTILS_FALSE
813 HAVE_GNOME_DOC_UTILS_TRUE
814 DISTCHECK_CONFIGURE_FLAGS
815 ENABLE_SK_FALSE
816 ENABLE_SK_TRUE
817 DOC_USER_FORMATS
818 OMF_DIR
819 HELP_DIR
820 PKG_CONFIG
821 GCONF_SCHEMAS_INSTALL_FALSE
822 GCONF_SCHEMAS_INSTALL_TRUE
823 GCONF_SCHEMA_FILE_DIR
824 GCONF_SCHEMA_CONFIG_SOURCE
825 GCONFTOOL
826 OTOOL64
827 OTOOL
828 LIPO
829 NMEDIT
830 DSYMUTIL
831 lt_ECHO
832 RANLIB
833 AR
834 OBJDUMP
835 LN_S
836 NM
837 ac_ct_DUMPBIN
838 DUMPBIN
839 LD
840 FGREP
841 SED
842 host_os
843 host_vendor
844 host_cpu
845 host
846 build_os
847 build_vendor
848 build_cpu
849 build
850 LIBTOOL
851 EGREP
852 GREP
853 CPP
854 DATADIRNAME
855 am__fastdepCC_FALSE
856 am__fastdepCC_TRUE
857 CCDEPMODE
858 AMDEPBACKSLASH
859 AMDEP_FALSE
860 AMDEP_TRUE
861 am__quote
862 am__include
863 DEPDIR
864 OBJEXT
865 EXEEXT
866 ac_ct_CC
867 CPPFLAGS
868 LDFLAGS
869 CFLAGS
870 CC
871 ALL_LINGUAS
872 INTLTOOL_PERL
873 GMSGFMT
874 MSGFMT
875 MSGMERGE
876 XGETTEXT
877 INTLTOOL_POLICY_RULE
878 INTLTOOL_SERVICE_RULE
879 INTLTOOL_THEME_RULE
880 INTLTOOL_SCHEMAS_RULE
881 INTLTOOL_CAVES_RULE
882 INTLTOOL_XML_NOMERGE_RULE
883 INTLTOOL_XML_RULE
884 INTLTOOL_KBD_RULE
885 INTLTOOL_XAM_RULE
886 INTLTOOL_UI_RULE
887 INTLTOOL_SOUNDLIST_RULE
888 INTLTOOL_SHEET_RULE
889 INTLTOOL_SERVER_RULE
890 INTLTOOL_PONG_RULE
891 INTLTOOL_OAF_RULE
892 INTLTOOL_PROP_RULE
893 INTLTOOL_KEYS_RULE
894 INTLTOOL_DIRECTORY_RULE
895 INTLTOOL_DESKTOP_RULE
896 INTLTOOL_EXTRACT
897 INTLTOOL_MERGE
898 INTLTOOL_UPDATE
899 USE_NLS
900 MAINT
901 MAINTAINER_MODE_FALSE
902 MAINTAINER_MODE_TRUE
903 am__untar
904 am__tar
905 AMTAR
906 am__leading_dot
907 SET_MAKE
908 AWK
909 mkdir_p
910 MKDIR_P
911 INSTALL_STRIP_PROGRAM
912 STRIP
913 install_sh
914 MAKEINFO
915 AUTOHEADER
916 AUTOMAKE
917 AUTOCONF
918 ACLOCAL
919 VERSION
920 PACKAGE
921 CYGPATH_W
922 am__isrc
923 INSTALL_DATA
924 INSTALL_SCRIPT
925 INSTALL_PROGRAM
926 target_alias
927 host_alias
928 build_alias
929 LIBS
930 ECHO_T
931 ECHO_N
932 ECHO_C
933 DEFS
934 mandir
935 localedir
936 libdir
937 psdir
938 pdfdir
939 dvidir
940 htmldir
941 infodir
942 docdir
943 oldincludedir
944 includedir
945 localstatedir
946 sharedstatedir
947 sysconfdir
948 datadir
949 datarootdir
950 libexecdir
951 sbindir
952 bindir
953 program_transform_name
954 prefix
955 exec_prefix
956 PACKAGE_BUGREPORT
957 PACKAGE_STRING
958 PACKAGE_VERSION
959 PACKAGE_TARNAME
960 PACKAGE_NAME
961 PATH_SEPARATOR
962 SHELL'
963 ac_subst_files=''
964 ac_user_opts='
965 enable_option_checking
966 enable_maintainer_mode
967 enable_nls
968 enable_dependency_tracking
969 enable_shared
970 enable_static
971 with_pic
972 enable_fast_install
973 with_gnu_ld
974 enable_libtool_lock
975 with_gconf_source
976 with_gconf_schema_file_dir
977 enable_schemas_install
978 with_help_dir
979 with_omf_dir
980 with_help_formats
981 enable_scrollkeeper
982 enable_compile_warnings
983 enable_iso_c
984 with_gconf_defaults_source
985 with_gconf_mandatory_source
986 '
987       ac_precious_vars='build_alias
988 host_alias
989 target_alias
990 CC
991 CFLAGS
992 LDFLAGS
993 LIBS
994 CPPFLAGS
995 CPP
996 PKG_CONFIG
997 GCONF_EDITOR_CFLAGS
998 GCONF_EDITOR_LIBS'
999
1000
1001 # Initialize some variables set by options.
1002 ac_init_help=
1003 ac_init_version=false
1004 ac_unrecognized_opts=
1005 ac_unrecognized_sep=
1006 # The variables have the same names as the options, with
1007 # dashes changed to underlines.
1008 cache_file=/dev/null
1009 exec_prefix=NONE
1010 no_create=
1011 no_recursion=
1012 prefix=NONE
1013 program_prefix=NONE
1014 program_suffix=NONE
1015 program_transform_name=s,x,x,
1016 silent=
1017 site=
1018 srcdir=
1019 verbose=
1020 x_includes=NONE
1021 x_libraries=NONE
1022
1023 # Installation directory options.
1024 # These are left unexpanded so users can "make install exec_prefix=/foo"
1025 # and all the variables that are supposed to be based on exec_prefix
1026 # by default will actually change.
1027 # Use braces instead of parens because sh, perl, etc. also accept them.
1028 # (The list follows the same order as the GNU Coding Standards.)
1029 bindir='${exec_prefix}/bin'
1030 sbindir='${exec_prefix}/sbin'
1031 libexecdir='${exec_prefix}/libexec'
1032 datarootdir='${prefix}/share'
1033 datadir='${datarootdir}'
1034 sysconfdir='${prefix}/etc'
1035 sharedstatedir='${prefix}/com'
1036 localstatedir='${prefix}/var'
1037 includedir='${prefix}/include'
1038 oldincludedir='/usr/include'
1039 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1040 infodir='${datarootdir}/info'
1041 htmldir='${docdir}'
1042 dvidir='${docdir}'
1043 pdfdir='${docdir}'
1044 psdir='${docdir}'
1045 libdir='${exec_prefix}/lib'
1046 localedir='${datarootdir}/locale'
1047 mandir='${datarootdir}/man'
1048
1049 ac_prev=
1050 ac_dashdash=
1051 for ac_option
1052 do
1053   # If the previous option needs an argument, assign it.
1054   if test -n "$ac_prev"; then
1055     eval $ac_prev=\$ac_option
1056     ac_prev=
1057     continue
1058   fi
1059
1060   case $ac_option in
1061   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1062   *)    ac_optarg=yes ;;
1063   esac
1064
1065   # Accept the important Cygnus configure options, so we can diagnose typos.
1066
1067   case $ac_dashdash$ac_option in
1068   --)
1069     ac_dashdash=yes ;;
1070
1071   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1072     ac_prev=bindir ;;
1073   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1074     bindir=$ac_optarg ;;
1075
1076   -build | --build | --buil | --bui | --bu)
1077     ac_prev=build_alias ;;
1078   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1079     build_alias=$ac_optarg ;;
1080
1081   -cache-file | --cache-file | --cache-fil | --cache-fi \
1082   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1083     ac_prev=cache_file ;;
1084   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1085   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1086     cache_file=$ac_optarg ;;
1087
1088   --config-cache | -C)
1089     cache_file=config.cache ;;
1090
1091   -datadir | --datadir | --datadi | --datad)
1092     ac_prev=datadir ;;
1093   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1094     datadir=$ac_optarg ;;
1095
1096   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1097   | --dataroo | --dataro | --datar)
1098     ac_prev=datarootdir ;;
1099   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1100   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1101     datarootdir=$ac_optarg ;;
1102
1103   -disable-* | --disable-*)
1104     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1105     # Reject names that are not valid shell variable names.
1106     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1107       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1108    { (exit 1); exit 1; }; }
1109     ac_useropt_orig=$ac_useropt
1110     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1111     case $ac_user_opts in
1112       *"
1113 "enable_$ac_useropt"
1114 "*) ;;
1115       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1116          ac_unrecognized_sep=', ';;
1117     esac
1118     eval enable_$ac_useropt=no ;;
1119
1120   -docdir | --docdir | --docdi | --doc | --do)
1121     ac_prev=docdir ;;
1122   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1123     docdir=$ac_optarg ;;
1124
1125   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1126     ac_prev=dvidir ;;
1127   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1128     dvidir=$ac_optarg ;;
1129
1130   -enable-* | --enable-*)
1131     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1132     # Reject names that are not valid shell variable names.
1133     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1134       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1135    { (exit 1); exit 1; }; }
1136     ac_useropt_orig=$ac_useropt
1137     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1138     case $ac_user_opts in
1139       *"
1140 "enable_$ac_useropt"
1141 "*) ;;
1142       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1143          ac_unrecognized_sep=', ';;
1144     esac
1145     eval enable_$ac_useropt=\$ac_optarg ;;
1146
1147   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1148   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1149   | --exec | --exe | --ex)
1150     ac_prev=exec_prefix ;;
1151   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1152   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1153   | --exec=* | --exe=* | --ex=*)
1154     exec_prefix=$ac_optarg ;;
1155
1156   -gas | --gas | --ga | --g)
1157     # Obsolete; use --with-gas.
1158     with_gas=yes ;;
1159
1160   -help | --help | --hel | --he | -h)
1161     ac_init_help=long ;;
1162   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1163     ac_init_help=recursive ;;
1164   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1165     ac_init_help=short ;;
1166
1167   -host | --host | --hos | --ho)
1168     ac_prev=host_alias ;;
1169   -host=* | --host=* | --hos=* | --ho=*)
1170     host_alias=$ac_optarg ;;
1171
1172   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1173     ac_prev=htmldir ;;
1174   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1175   | --ht=*)
1176     htmldir=$ac_optarg ;;
1177
1178   -includedir | --includedir | --includedi | --included | --include \
1179   | --includ | --inclu | --incl | --inc)
1180     ac_prev=includedir ;;
1181   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1182   | --includ=* | --inclu=* | --incl=* | --inc=*)
1183     includedir=$ac_optarg ;;
1184
1185   -infodir | --infodir | --infodi | --infod | --info | --inf)
1186     ac_prev=infodir ;;
1187   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1188     infodir=$ac_optarg ;;
1189
1190   -libdir | --libdir | --libdi | --libd)
1191     ac_prev=libdir ;;
1192   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1193     libdir=$ac_optarg ;;
1194
1195   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1196   | --libexe | --libex | --libe)
1197     ac_prev=libexecdir ;;
1198   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1199   | --libexe=* | --libex=* | --libe=*)
1200     libexecdir=$ac_optarg ;;
1201
1202   -localedir | --localedir | --localedi | --localed | --locale)
1203     ac_prev=localedir ;;
1204   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1205     localedir=$ac_optarg ;;
1206
1207   -localstatedir | --localstatedir | --localstatedi | --localstated \
1208   | --localstate | --localstat | --localsta | --localst | --locals)
1209     ac_prev=localstatedir ;;
1210   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1211   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1212     localstatedir=$ac_optarg ;;
1213
1214   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1215     ac_prev=mandir ;;
1216   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1217     mandir=$ac_optarg ;;
1218
1219   -nfp | --nfp | --nf)
1220     # Obsolete; use --without-fp.
1221     with_fp=no ;;
1222
1223   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1224   | --no-cr | --no-c | -n)
1225     no_create=yes ;;
1226
1227   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1228   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1229     no_recursion=yes ;;
1230
1231   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1232   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1233   | --oldin | --oldi | --old | --ol | --o)
1234     ac_prev=oldincludedir ;;
1235   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1236   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1237   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1238     oldincludedir=$ac_optarg ;;
1239
1240   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1241     ac_prev=prefix ;;
1242   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1243     prefix=$ac_optarg ;;
1244
1245   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1246   | --program-pre | --program-pr | --program-p)
1247     ac_prev=program_prefix ;;
1248   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1249   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1250     program_prefix=$ac_optarg ;;
1251
1252   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1253   | --program-suf | --program-su | --program-s)
1254     ac_prev=program_suffix ;;
1255   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1256   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1257     program_suffix=$ac_optarg ;;
1258
1259   -program-transform-name | --program-transform-name \
1260   | --program-transform-nam | --program-transform-na \
1261   | --program-transform-n | --program-transform- \
1262   | --program-transform | --program-transfor \
1263   | --program-transfo | --program-transf \
1264   | --program-trans | --program-tran \
1265   | --progr-tra | --program-tr | --program-t)
1266     ac_prev=program_transform_name ;;
1267   -program-transform-name=* | --program-transform-name=* \
1268   | --program-transform-nam=* | --program-transform-na=* \
1269   | --program-transform-n=* | --program-transform-=* \
1270   | --program-transform=* | --program-transfor=* \
1271   | --program-transfo=* | --program-transf=* \
1272   | --program-trans=* | --program-tran=* \
1273   | --progr-tra=* | --program-tr=* | --program-t=*)
1274     program_transform_name=$ac_optarg ;;
1275
1276   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1277     ac_prev=pdfdir ;;
1278   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1279     pdfdir=$ac_optarg ;;
1280
1281   -psdir | --psdir | --psdi | --psd | --ps)
1282     ac_prev=psdir ;;
1283   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1284     psdir=$ac_optarg ;;
1285
1286   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1287   | -silent | --silent | --silen | --sile | --sil)
1288     silent=yes ;;
1289
1290   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1291     ac_prev=sbindir ;;
1292   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1293   | --sbi=* | --sb=*)
1294     sbindir=$ac_optarg ;;
1295
1296   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1297   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1298   | --sharedst | --shareds | --shared | --share | --shar \
1299   | --sha | --sh)
1300     ac_prev=sharedstatedir ;;
1301   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1302   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1303   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1304   | --sha=* | --sh=*)
1305     sharedstatedir=$ac_optarg ;;
1306
1307   -site | --site | --sit)
1308     ac_prev=site ;;
1309   -site=* | --site=* | --sit=*)
1310     site=$ac_optarg ;;
1311
1312   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1313     ac_prev=srcdir ;;
1314   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1315     srcdir=$ac_optarg ;;
1316
1317   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1318   | --syscon | --sysco | --sysc | --sys | --sy)
1319     ac_prev=sysconfdir ;;
1320   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1321   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1322     sysconfdir=$ac_optarg ;;
1323
1324   -target | --target | --targe | --targ | --tar | --ta | --t)
1325     ac_prev=target_alias ;;
1326   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1327     target_alias=$ac_optarg ;;
1328
1329   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1330     verbose=yes ;;
1331
1332   -version | --version | --versio | --versi | --vers | -V)
1333     ac_init_version=: ;;
1334
1335   -with-* | --with-*)
1336     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1337     # Reject names that are not valid shell variable names.
1338     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1339       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1340    { (exit 1); exit 1; }; }
1341     ac_useropt_orig=$ac_useropt
1342     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1343     case $ac_user_opts in
1344       *"
1345 "with_$ac_useropt"
1346 "*) ;;
1347       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1348          ac_unrecognized_sep=', ';;
1349     esac
1350     eval with_$ac_useropt=\$ac_optarg ;;
1351
1352   -without-* | --without-*)
1353     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1354     # Reject names that are not valid shell variable names.
1355     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1356       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1357    { (exit 1); exit 1; }; }
1358     ac_useropt_orig=$ac_useropt
1359     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1360     case $ac_user_opts in
1361       *"
1362 "with_$ac_useropt"
1363 "*) ;;
1364       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1365          ac_unrecognized_sep=', ';;
1366     esac
1367     eval with_$ac_useropt=no ;;
1368
1369   --x)
1370     # Obsolete; use --with-x.
1371     with_x=yes ;;
1372
1373   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1374   | --x-incl | --x-inc | --x-in | --x-i)
1375     ac_prev=x_includes ;;
1376   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1377   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1378     x_includes=$ac_optarg ;;
1379
1380   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1381   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1382     ac_prev=x_libraries ;;
1383   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1384   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1385     x_libraries=$ac_optarg ;;
1386
1387   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1388 Try \`$0 --help' for more information." >&2
1389    { (exit 1); exit 1; }; }
1390     ;;
1391
1392   *=*)
1393     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1394     # Reject names that are not valid shell variable names.
1395     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1396       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1397    { (exit 1); exit 1; }; }
1398     eval $ac_envvar=\$ac_optarg
1399     export $ac_envvar ;;
1400
1401   *)
1402     # FIXME: should be removed in autoconf 3.0.
1403     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1404     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1405       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1406     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1407     ;;
1408
1409   esac
1410 done
1411
1412 if test -n "$ac_prev"; then
1413   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1414   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1415    { (exit 1); exit 1; }; }
1416 fi
1417
1418 if test -n "$ac_unrecognized_opts"; then
1419   case $enable_option_checking in
1420     no) ;;
1421     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1422    { (exit 1); exit 1; }; } ;;
1423     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1424   esac
1425 fi
1426
1427 # Check all directory arguments for consistency.
1428 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1429                 datadir sysconfdir sharedstatedir localstatedir includedir \
1430                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1431                 libdir localedir mandir
1432 do
1433   eval ac_val=\$$ac_var
1434   # Remove trailing slashes.
1435   case $ac_val in
1436     */ )
1437       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1438       eval $ac_var=\$ac_val;;
1439   esac
1440   # Be sure to have absolute directory names.
1441   case $ac_val in
1442     [\\/$]* | ?:[\\/]* )  continue;;
1443     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1444   esac
1445   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1446    { (exit 1); exit 1; }; }
1447 done
1448
1449 # There might be people who depend on the old broken behavior: `$host'
1450 # used to hold the argument of --host etc.
1451 # FIXME: To remove some day.
1452 build=$build_alias
1453 host=$host_alias
1454 target=$target_alias
1455
1456 # FIXME: To remove some day.
1457 if test "x$host_alias" != x; then
1458   if test "x$build_alias" = x; then
1459     cross_compiling=maybe
1460     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1461     If a cross compiler is detected then cross compile mode will be used." >&2
1462   elif test "x$build_alias" != "x$host_alias"; then
1463     cross_compiling=yes
1464   fi
1465 fi
1466
1467 ac_tool_prefix=
1468 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1469
1470 test "$silent" = yes && exec 6>/dev/null
1471
1472
1473 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1474 ac_ls_di=`ls -di .` &&
1475 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1476   { $as_echo "$as_me: error: working directory cannot be determined" >&2
1477    { (exit 1); exit 1; }; }
1478 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1479   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1480    { (exit 1); exit 1; }; }
1481
1482
1483 # Find the source files, if location was not specified.
1484 if test -z "$srcdir"; then
1485   ac_srcdir_defaulted=yes
1486   # Try the directory containing this script, then the parent directory.
1487   ac_confdir=`$as_dirname -- "$as_myself" ||
1488 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1489          X"$as_myself" : 'X\(//\)[^/]' \| \
1490          X"$as_myself" : 'X\(//\)$' \| \
1491          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1492 $as_echo X"$as_myself" |
1493     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1494             s//\1/
1495             q
1496           }
1497           /^X\(\/\/\)[^/].*/{
1498             s//\1/
1499             q
1500           }
1501           /^X\(\/\/\)$/{
1502             s//\1/
1503             q
1504           }
1505           /^X\(\/\).*/{
1506             s//\1/
1507             q
1508           }
1509           s/.*/./; q'`
1510   srcdir=$ac_confdir
1511   if test ! -r "$srcdir/$ac_unique_file"; then
1512     srcdir=..
1513   fi
1514 else
1515   ac_srcdir_defaulted=no
1516 fi
1517 if test ! -r "$srcdir/$ac_unique_file"; then
1518   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1519   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1520    { (exit 1); exit 1; }; }
1521 fi
1522 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1523 ac_abs_confdir=`(
1524         cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1525    { (exit 1); exit 1; }; }
1526         pwd)`
1527 # When building in place, set srcdir=.
1528 if test "$ac_abs_confdir" = "$ac_pwd"; then
1529   srcdir=.
1530 fi
1531 # Remove unnecessary trailing slashes from srcdir.
1532 # Double slashes in file names in object file debugging info
1533 # mess up M-x gdb in Emacs.
1534 case $srcdir in
1535 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1536 esac
1537 for ac_var in $ac_precious_vars; do
1538   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1539   eval ac_env_${ac_var}_value=\$${ac_var}
1540   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1541   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1542 done
1543
1544 #
1545 # Report the --help message.
1546 #
1547 if test "$ac_init_help" = "long"; then
1548   # Omit some internal or obsolete options to make the list less imposing.
1549   # This message is too long to be a string in the A/UX 3.1 sh.
1550   cat <<_ACEOF
1551 \`configure' configures GConf Editor 2.28.0 to adapt to many kinds of systems.
1552
1553 Usage: $0 [OPTION]... [VAR=VALUE]...
1554
1555 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1556 VAR=VALUE.  See below for descriptions of some of the useful variables.
1557
1558 Defaults for the options are specified in brackets.
1559
1560 Configuration:
1561   -h, --help              display this help and exit
1562       --help=short        display options specific to this package
1563       --help=recursive    display the short help of all the included packages
1564   -V, --version           display version information and exit
1565   -q, --quiet, --silent   do not print \`checking...' messages
1566       --cache-file=FILE   cache test results in FILE [disabled]
1567   -C, --config-cache      alias for \`--cache-file=config.cache'
1568   -n, --no-create         do not create output files
1569       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1570
1571 Installation directories:
1572   --prefix=PREFIX         install architecture-independent files in PREFIX
1573                           [$ac_default_prefix]
1574   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1575                           [PREFIX]
1576
1577 By default, \`make install' will install all the files in
1578 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1579 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1580 for instance \`--prefix=\$HOME'.
1581
1582 For better control, use the options below.
1583
1584 Fine tuning of the installation directories:
1585   --bindir=DIR            user executables [EPREFIX/bin]
1586   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1587   --libexecdir=DIR        program executables [EPREFIX/libexec]
1588   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1589   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1590   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1591   --libdir=DIR            object code libraries [EPREFIX/lib]
1592   --includedir=DIR        C header files [PREFIX/include]
1593   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1594   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1595   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1596   --infodir=DIR           info documentation [DATAROOTDIR/info]
1597   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1598   --mandir=DIR            man documentation [DATAROOTDIR/man]
1599   --docdir=DIR            documentation root [DATAROOTDIR/doc/gconf-editor]
1600   --htmldir=DIR           html documentation [DOCDIR]
1601   --dvidir=DIR            dvi documentation [DOCDIR]
1602   --pdfdir=DIR            pdf documentation [DOCDIR]
1603   --psdir=DIR             ps documentation [DOCDIR]
1604 _ACEOF
1605
1606   cat <<\_ACEOF
1607
1608 Program names:
1609   --program-prefix=PREFIX            prepend PREFIX to installed program names
1610   --program-suffix=SUFFIX            append SUFFIX to installed program names
1611   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1612
1613 System types:
1614   --build=BUILD     configure for building on BUILD [guessed]
1615   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1616 _ACEOF
1617 fi
1618
1619 if test -n "$ac_init_help"; then
1620   case $ac_init_help in
1621      short | recursive ) echo "Configuration of GConf Editor 2.28.0:";;
1622    esac
1623   cat <<\_ACEOF
1624
1625 Optional Features:
1626   --disable-option-checking  ignore unrecognized --enable/--with options
1627   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1628   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1629   --disable-maintainer-mode  disable make rules and dependencies not useful
1630                           (and sometimes confusing) to the casual installer
1631   --disable-nls           do not use Native Language Support
1632   --disable-dependency-tracking  speeds up one-time build
1633   --enable-dependency-tracking   do not reject slow dependency extractors
1634   --enable-shared[=PKGS]  build shared libraries [default=yes]
1635   --enable-static[=PKGS]  build static libraries [default=yes]
1636   --enable-fast-install[=PKGS]
1637                           optimize for fast installation [default=yes]
1638   --disable-libtool-lock  avoid locking (might break parallel builds)
1639   --disable-schemas-install
1640                           Disable the schemas installation
1641   --disable-scrollkeeper  do not make updates to the scrollkeeper database
1642   --enable-compile-warnings=[no/minimum/yes/maximum/error]
1643                           Turn on compiler warnings
1644   --enable-iso-c          Try to warn if code is not ISO C
1645
1646 Optional Packages:
1647   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1648   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1649   --with-pic              try to use only PIC/non-PIC objects [default=use
1650                           both]
1651   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1652   --with-gconf-source=sourceaddress
1653                           Config database for installing schema files.
1654   --with-gconf-schema-file-dir=dir
1655                           Directory for installing schema files.
1656   --with-help-dir=DIR     path to help docs
1657   --with-omf-dir=DIR      path to OMF files
1658   --with-help-formats=FORMATS
1659                           list of formats
1660   --with-gconf-defaults-source
1661                           The GConf source of the default values
1662   --with-gconf-mandatory-source
1663                           The GConf source of the mandatory values
1664
1665 Some influential environment variables:
1666   CC          C compiler command
1667   CFLAGS      C compiler flags
1668   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1669               nonstandard directory <lib dir>
1670   LIBS        libraries to pass to the linker, e.g. -l<library>
1671   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1672               you have headers in a nonstandard directory <include dir>
1673   CPP         C preprocessor
1674   PKG_CONFIG  path to pkg-config utility
1675   GCONF_EDITOR_CFLAGS
1676               C compiler flags for GCONF_EDITOR, overriding pkg-config
1677   GCONF_EDITOR_LIBS
1678               linker flags for GCONF_EDITOR, overriding pkg-config
1679
1680 Use these variables to override the choices made by `configure' or to help
1681 it to find libraries and programs with nonstandard names/locations.
1682
1683 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gconf-editor>.
1684 _ACEOF
1685 ac_status=$?
1686 fi
1687
1688 if test "$ac_init_help" = "recursive"; then
1689   # If there are subdirs, report their specific --help.
1690   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1691     test -d "$ac_dir" ||
1692       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1693       continue
1694     ac_builddir=.
1695
1696 case "$ac_dir" in
1697 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1698 *)
1699   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1700   # A ".." for each directory in $ac_dir_suffix.
1701   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1702   case $ac_top_builddir_sub in
1703   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1704   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1705   esac ;;
1706 esac
1707 ac_abs_top_builddir=$ac_pwd
1708 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1709 # for backward compatibility:
1710 ac_top_builddir=$ac_top_build_prefix
1711
1712 case $srcdir in
1713   .)  # We are building in place.
1714     ac_srcdir=.
1715     ac_top_srcdir=$ac_top_builddir_sub
1716     ac_abs_top_srcdir=$ac_pwd ;;
1717   [\\/]* | ?:[\\/]* )  # Absolute name.
1718     ac_srcdir=$srcdir$ac_dir_suffix;
1719     ac_top_srcdir=$srcdir
1720     ac_abs_top_srcdir=$srcdir ;;
1721   *) # Relative name.
1722     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1723     ac_top_srcdir=$ac_top_build_prefix$srcdir
1724     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1725 esac
1726 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1727
1728     cd "$ac_dir" || { ac_status=$?; continue; }
1729     # Check for guested configure.
1730     if test -f "$ac_srcdir/configure.gnu"; then
1731       echo &&
1732       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1733     elif test -f "$ac_srcdir/configure"; then
1734       echo &&
1735       $SHELL "$ac_srcdir/configure" --help=recursive
1736     else
1737       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1738     fi || ac_status=$?
1739     cd "$ac_pwd" || { ac_status=$?; break; }
1740   done
1741 fi
1742
1743 test -n "$ac_init_help" && exit $ac_status
1744 if $ac_init_version; then
1745   cat <<\_ACEOF
1746 GConf Editor configure 2.28.0
1747 generated by GNU Autoconf 2.63
1748
1749 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1750 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1751 This configure script is free software; the Free Software Foundation
1752 gives unlimited permission to copy, distribute and modify it.
1753 _ACEOF
1754   exit
1755 fi
1756 cat >config.log <<_ACEOF
1757 This file contains any messages produced by compilers while
1758 running configure, to aid debugging if configure makes a mistake.
1759
1760 It was created by GConf Editor $as_me 2.28.0, which was
1761 generated by GNU Autoconf 2.63.  Invocation command line was
1762
1763   $ $0 $@
1764
1765 _ACEOF
1766 exec 5>>config.log
1767 {
1768 cat <<_ASUNAME
1769 ## --------- ##
1770 ## Platform. ##
1771 ## --------- ##
1772
1773 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1774 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1775 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1776 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1777 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1778
1779 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1780 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1781
1782 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1783 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1784 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1785 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1786 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1787 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1788 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1789
1790 _ASUNAME
1791
1792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1793 for as_dir in $PATH
1794 do
1795   IFS=$as_save_IFS
1796   test -z "$as_dir" && as_dir=.
1797   $as_echo "PATH: $as_dir"
1798 done
1799 IFS=$as_save_IFS
1800
1801 } >&5
1802
1803 cat >&5 <<_ACEOF
1804
1805
1806 ## ----------- ##
1807 ## Core tests. ##
1808 ## ----------- ##
1809
1810 _ACEOF
1811
1812
1813 # Keep a trace of the command line.
1814 # Strip out --no-create and --no-recursion so they do not pile up.
1815 # Strip out --silent because we don't want to record it for future runs.
1816 # Also quote any args containing shell meta-characters.
1817 # Make two passes to allow for proper duplicate-argument suppression.
1818 ac_configure_args=
1819 ac_configure_args0=
1820 ac_configure_args1=
1821 ac_must_keep_next=false
1822 for ac_pass in 1 2
1823 do
1824   for ac_arg
1825   do
1826     case $ac_arg in
1827     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1828     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1829     | -silent | --silent | --silen | --sile | --sil)
1830       continue ;;
1831     *\'*)
1832       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1833     esac
1834     case $ac_pass in
1835     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1836     2)
1837       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1838       if test $ac_must_keep_next = true; then
1839         ac_must_keep_next=false # Got value, back to normal.
1840       else
1841         case $ac_arg in
1842           *=* | --config-cache | -C | -disable-* | --disable-* \
1843           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1844           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1845           | -with-* | --with-* | -without-* | --without-* | --x)
1846             case "$ac_configure_args0 " in
1847               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1848             esac
1849             ;;
1850           -* ) ac_must_keep_next=true ;;
1851         esac
1852       fi
1853       ac_configure_args="$ac_configure_args '$ac_arg'"
1854       ;;
1855     esac
1856   done
1857 done
1858 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1859 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1860
1861 # When interrupted or exit'd, cleanup temporary files, and complete
1862 # config.log.  We remove comments because anyway the quotes in there
1863 # would cause problems or look ugly.
1864 # WARNING: Use '\'' to represent an apostrophe within the trap.
1865 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1866 trap 'exit_status=$?
1867   # Save into config.log some information that might help in debugging.
1868   {
1869     echo
1870
1871     cat <<\_ASBOX
1872 ## ---------------- ##
1873 ## Cache variables. ##
1874 ## ---------------- ##
1875 _ASBOX
1876     echo
1877     # The following way of writing the cache mishandles newlines in values,
1878 (
1879   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1880     eval ac_val=\$$ac_var
1881     case $ac_val in #(
1882     *${as_nl}*)
1883       case $ac_var in #(
1884       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1885 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1886       esac
1887       case $ac_var in #(
1888       _ | IFS | as_nl) ;; #(
1889       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1890       *) $as_unset $ac_var ;;
1891       esac ;;
1892     esac
1893   done
1894   (set) 2>&1 |
1895     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1896     *${as_nl}ac_space=\ *)
1897       sed -n \
1898         "s/'\''/'\''\\\\'\'''\''/g;
1899           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1900       ;; #(
1901     *)
1902       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1903       ;;
1904     esac |
1905     sort
1906 )
1907     echo
1908
1909     cat <<\_ASBOX
1910 ## ----------------- ##
1911 ## Output variables. ##
1912 ## ----------------- ##
1913 _ASBOX
1914     echo
1915     for ac_var in $ac_subst_vars
1916     do
1917       eval ac_val=\$$ac_var
1918       case $ac_val in
1919       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1920       esac
1921       $as_echo "$ac_var='\''$ac_val'\''"
1922     done | sort
1923     echo
1924
1925     if test -n "$ac_subst_files"; then
1926       cat <<\_ASBOX
1927 ## ------------------- ##
1928 ## File substitutions. ##
1929 ## ------------------- ##
1930 _ASBOX
1931       echo
1932       for ac_var in $ac_subst_files
1933       do
1934         eval ac_val=\$$ac_var
1935         case $ac_val in
1936         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1937         esac
1938         $as_echo "$ac_var='\''$ac_val'\''"
1939       done | sort
1940       echo
1941     fi
1942
1943     if test -s confdefs.h; then
1944       cat <<\_ASBOX
1945 ## ----------- ##
1946 ## confdefs.h. ##
1947 ## ----------- ##
1948 _ASBOX
1949       echo
1950       cat confdefs.h
1951       echo
1952     fi
1953     test "$ac_signal" != 0 &&
1954       $as_echo "$as_me: caught signal $ac_signal"
1955     $as_echo "$as_me: exit $exit_status"
1956   } >&5
1957   rm -f core *.core core.conftest.* &&
1958     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1959     exit $exit_status
1960 ' 0
1961 for ac_signal in 1 2 13 15; do
1962   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1963 done
1964 ac_signal=0
1965
1966 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1967 rm -f -r conftest* confdefs.h
1968
1969 # Predefined preprocessor variables.
1970
1971 cat >>confdefs.h <<_ACEOF
1972 #define PACKAGE_NAME "$PACKAGE_NAME"
1973 _ACEOF
1974
1975
1976 cat >>confdefs.h <<_ACEOF
1977 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1978 _ACEOF
1979
1980
1981 cat >>confdefs.h <<_ACEOF
1982 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1983 _ACEOF
1984
1985
1986 cat >>confdefs.h <<_ACEOF
1987 #define PACKAGE_STRING "$PACKAGE_STRING"
1988 _ACEOF
1989
1990
1991 cat >>confdefs.h <<_ACEOF
1992 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1993 _ACEOF
1994
1995
1996 # Let the site file select an alternate cache file if it wants to.
1997 # Prefer an explicitly selected file to automatically selected ones.
1998 ac_site_file1=NONE
1999 ac_site_file2=NONE
2000 if test -n "$CONFIG_SITE"; then
2001   ac_site_file1=$CONFIG_SITE
2002 elif test "x$prefix" != xNONE; then
2003   ac_site_file1=$prefix/share/config.site
2004   ac_site_file2=$prefix/etc/config.site
2005 else
2006   ac_site_file1=$ac_default_prefix/share/config.site
2007   ac_site_file2=$ac_default_prefix/etc/config.site
2008 fi
2009 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2010 do
2011   test "x$ac_site_file" = xNONE && continue
2012   if test -r "$ac_site_file"; then
2013     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2014 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2015     sed 's/^/| /' "$ac_site_file" >&5
2016     . "$ac_site_file"
2017   fi
2018 done
2019
2020 if test -r "$cache_file"; then
2021   # Some versions of bash will fail to source /dev/null (special
2022   # files actually), so we avoid doing that.
2023   if test -f "$cache_file"; then
2024     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2025 $as_echo "$as_me: loading cache $cache_file" >&6;}
2026     case $cache_file in
2027       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2028       *)                      . "./$cache_file";;
2029     esac
2030   fi
2031 else
2032   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2033 $as_echo "$as_me: creating cache $cache_file" >&6;}
2034   >$cache_file
2035 fi
2036
2037 # Check that the precious variables saved in the cache have kept the same
2038 # value.
2039 ac_cache_corrupted=false
2040 for ac_var in $ac_precious_vars; do
2041   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2042   eval ac_new_set=\$ac_env_${ac_var}_set
2043   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2044   eval ac_new_val=\$ac_env_${ac_var}_value
2045   case $ac_old_set,$ac_new_set in
2046     set,)
2047       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2048 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2049       ac_cache_corrupted=: ;;
2050     ,set)
2051       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2052 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2053       ac_cache_corrupted=: ;;
2054     ,);;
2055     *)
2056       if test "x$ac_old_val" != "x$ac_new_val"; then
2057         # differences in whitespace do not lead to failure.
2058         ac_old_val_w=`echo x $ac_old_val`
2059         ac_new_val_w=`echo x $ac_new_val`
2060         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2061           { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2062 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2063           ac_cache_corrupted=:
2064         else
2065           { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2066 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2067           eval $ac_var=\$ac_old_val
2068         fi
2069         { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
2070 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2071         { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
2072 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2073       fi;;
2074   esac
2075   # Pass precious variables to config.status.
2076   if test "$ac_new_set" = set; then
2077     case $ac_new_val in
2078     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2079     *) ac_arg=$ac_var=$ac_new_val ;;
2080     esac
2081     case " $ac_configure_args " in
2082       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2083       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2084     esac
2085   fi
2086 done
2087 if $ac_cache_corrupted; then
2088   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2089 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2090   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2091 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2092   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2093 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2094    { (exit 1); exit 1; }; }
2095 fi
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121 ac_ext=c
2122 ac_cpp='$CPP $CPPFLAGS'
2123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2126
2127
2128
2129
2130 am__api_version='1.11'
2131
2132 ac_aux_dir=
2133 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2134   if test -f "$ac_dir/install-sh"; then
2135     ac_aux_dir=$ac_dir
2136     ac_install_sh="$ac_aux_dir/install-sh -c"
2137     break
2138   elif test -f "$ac_dir/install.sh"; then
2139     ac_aux_dir=$ac_dir
2140     ac_install_sh="$ac_aux_dir/install.sh -c"
2141     break
2142   elif test -f "$ac_dir/shtool"; then
2143     ac_aux_dir=$ac_dir
2144     ac_install_sh="$ac_aux_dir/shtool install -c"
2145     break
2146   fi
2147 done
2148 if test -z "$ac_aux_dir"; then
2149   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2150 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2151    { (exit 1); exit 1; }; }
2152 fi
2153
2154 # These three variables are undocumented and unsupported,
2155 # and are intended to be withdrawn in a future Autoconf release.
2156 # They can cause serious problems if a builder's source tree is in a directory
2157 # whose full name contains unusual characters.
2158 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2159 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2160 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2161
2162
2163 # Find a good install program.  We prefer a C program (faster),
2164 # so one script is as good as another.  But avoid the broken or
2165 # incompatible versions:
2166 # SysV /etc/install, /usr/sbin/install
2167 # SunOS /usr/etc/install
2168 # IRIX /sbin/install
2169 # AIX /bin/install
2170 # AmigaOS /C/install, which installs bootblocks on floppy discs
2171 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2172 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2173 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2174 # OS/2's system install, which has a completely different semantic
2175 # ./install, which can be erroneously created by make from ./install.sh.
2176 # Reject install programs that cannot install multiple files.
2177 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2178 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2179 if test -z "$INSTALL"; then
2180 if test "${ac_cv_path_install+set}" = set; then
2181   $as_echo_n "(cached) " >&6
2182 else
2183   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2184 for as_dir in $PATH
2185 do
2186   IFS=$as_save_IFS
2187   test -z "$as_dir" && as_dir=.
2188   # Account for people who put trailing slashes in PATH elements.
2189 case $as_dir/ in
2190   ./ | .// | /cC/* | \
2191   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2192   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2193   /usr/ucb/* ) ;;
2194   *)
2195     # OSF1 and SCO ODT 3.0 have their own names for install.
2196     # Don't use installbsd from OSF since it installs stuff as root
2197     # by default.
2198     for ac_prog in ginstall scoinst install; do
2199       for ac_exec_ext in '' $ac_executable_extensions; do
2200         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2201           if test $ac_prog = install &&
2202             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2203             # AIX install.  It has an incompatible calling convention.
2204             :
2205           elif test $ac_prog = install &&
2206             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2207             # program-specific install script used by HP pwplus--don't use.
2208             :
2209           else
2210             rm -rf conftest.one conftest.two conftest.dir
2211             echo one > conftest.one
2212             echo two > conftest.two
2213             mkdir conftest.dir
2214             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2215               test -s conftest.one && test -s conftest.two &&
2216               test -s conftest.dir/conftest.one &&
2217               test -s conftest.dir/conftest.two
2218             then
2219               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2220               break 3
2221             fi
2222           fi
2223         fi
2224       done
2225     done
2226     ;;
2227 esac
2228
2229 done
2230 IFS=$as_save_IFS
2231
2232 rm -rf conftest.one conftest.two conftest.dir
2233
2234 fi
2235   if test "${ac_cv_path_install+set}" = set; then
2236     INSTALL=$ac_cv_path_install
2237   else
2238     # As a last resort, use the slow shell script.  Don't cache a
2239     # value for INSTALL within a source directory, because that will
2240     # break other packages using the cache if that directory is
2241     # removed, or if the value is a relative name.
2242     INSTALL=$ac_install_sh
2243   fi
2244 fi
2245 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2246 $as_echo "$INSTALL" >&6; }
2247
2248 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2249 # It thinks the first close brace ends the variable substitution.
2250 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2251
2252 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2253
2254 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2255
2256 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2257 $as_echo_n "checking whether build environment is sane... " >&6; }
2258 # Just in case
2259 sleep 1
2260 echo timestamp > conftest.file
2261 # Reject unsafe characters in $srcdir or the absolute working directory
2262 # name.  Accept space and tab only in the latter.
2263 am_lf='
2264 '
2265 case `pwd` in
2266   *[\\\"\#\$\&\'\`$am_lf]*)
2267     { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2268 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2269    { (exit 1); exit 1; }; };;
2270 esac
2271 case $srcdir in
2272   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2273     { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2274 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2275    { (exit 1); exit 1; }; };;
2276 esac
2277
2278 # Do `set' in a subshell so we don't clobber the current shell's
2279 # arguments.  Must try -L first in case configure is actually a
2280 # symlink; some systems play weird games with the mod time of symlinks
2281 # (eg FreeBSD returns the mod time of the symlink's containing
2282 # directory).
2283 if (
2284    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2285    if test "$*" = "X"; then
2286       # -L didn't work.
2287       set X `ls -t "$srcdir/configure" conftest.file`
2288    fi
2289    rm -f conftest.file
2290    if test "$*" != "X $srcdir/configure conftest.file" \
2291       && test "$*" != "X conftest.file $srcdir/configure"; then
2292
2293       # If neither matched, then we have a broken ls.  This can happen
2294       # if, for instance, CONFIG_SHELL is bash and it inherits a
2295       # broken ls alias from the environment.  This has actually
2296       # happened.  Such a system could not be considered "sane".
2297       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2298 alias in your environment" >&5
2299 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2300 alias in your environment" >&2;}
2301    { (exit 1); exit 1; }; }
2302    fi
2303
2304    test "$2" = conftest.file
2305    )
2306 then
2307    # Ok.
2308    :
2309 else
2310    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2311 Check your system clock" >&5
2312 $as_echo "$as_me: error: newly created file is older than distributed files!
2313 Check your system clock" >&2;}
2314    { (exit 1); exit 1; }; }
2315 fi
2316 { $as_echo "$as_me:$LINENO: result: yes" >&5
2317 $as_echo "yes" >&6; }
2318 test "$program_prefix" != NONE &&
2319   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2320 # Use a double $ so make ignores it.
2321 test "$program_suffix" != NONE &&
2322   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2323 # Double any \ or $.
2324 # By default was `s,x,x', remove it if useless.
2325 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2326 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2327
2328 # expand $ac_aux_dir to an absolute path
2329 am_aux_dir=`cd $ac_aux_dir && pwd`
2330
2331 if test x"${MISSING+set}" != xset; then
2332   case $am_aux_dir in
2333   *\ * | *\     *)
2334     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2335   *)
2336     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2337   esac
2338 fi
2339 # Use eval to expand $SHELL
2340 if eval "$MISSING --run true"; then
2341   am_missing_run="$MISSING --run "
2342 else
2343   am_missing_run=
2344   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2345 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2346 fi
2347
2348 if test x"${install_sh}" != xset; then
2349   case $am_aux_dir in
2350   *\ * | *\     *)
2351     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2352   *)
2353     install_sh="\${SHELL} $am_aux_dir/install-sh"
2354   esac
2355 fi
2356
2357 # Installed binaries are usually stripped using `strip' when the user
2358 # run `make install-strip'.  However `strip' might not be the right
2359 # tool to use in cross-compilation environments, therefore Automake
2360 # will honor the `STRIP' environment variable to overrule this program.
2361 if test "$cross_compiling" != no; then
2362   if test -n "$ac_tool_prefix"; then
2363   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2364 set dummy ${ac_tool_prefix}strip; ac_word=$2
2365 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2366 $as_echo_n "checking for $ac_word... " >&6; }
2367 if test "${ac_cv_prog_STRIP+set}" = set; then
2368   $as_echo_n "(cached) " >&6
2369 else
2370   if test -n "$STRIP"; then
2371   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2372 else
2373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2374 for as_dir in $PATH
2375 do
2376   IFS=$as_save_IFS
2377   test -z "$as_dir" && as_dir=.
2378   for ac_exec_ext in '' $ac_executable_extensions; do
2379   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2380     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2381     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2382     break 2
2383   fi
2384 done
2385 done
2386 IFS=$as_save_IFS
2387
2388 fi
2389 fi
2390 STRIP=$ac_cv_prog_STRIP
2391 if test -n "$STRIP"; then
2392   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2393 $as_echo "$STRIP" >&6; }
2394 else
2395   { $as_echo "$as_me:$LINENO: result: no" >&5
2396 $as_echo "no" >&6; }
2397 fi
2398
2399
2400 fi
2401 if test -z "$ac_cv_prog_STRIP"; then
2402   ac_ct_STRIP=$STRIP
2403   # Extract the first word of "strip", so it can be a program name with args.
2404 set dummy strip; ac_word=$2
2405 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2406 $as_echo_n "checking for $ac_word... " >&6; }
2407 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2408   $as_echo_n "(cached) " >&6
2409 else
2410   if test -n "$ac_ct_STRIP"; then
2411   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2412 else
2413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2414 for as_dir in $PATH
2415 do
2416   IFS=$as_save_IFS
2417   test -z "$as_dir" && as_dir=.
2418   for ac_exec_ext in '' $ac_executable_extensions; do
2419   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2420     ac_cv_prog_ac_ct_STRIP="strip"
2421     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2422     break 2
2423   fi
2424 done
2425 done
2426 IFS=$as_save_IFS
2427
2428 fi
2429 fi
2430 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2431 if test -n "$ac_ct_STRIP"; then
2432   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2433 $as_echo "$ac_ct_STRIP" >&6; }
2434 else
2435   { $as_echo "$as_me:$LINENO: result: no" >&5
2436 $as_echo "no" >&6; }
2437 fi
2438
2439   if test "x$ac_ct_STRIP" = x; then
2440     STRIP=":"
2441   else
2442     case $cross_compiling:$ac_tool_warned in
2443 yes:)
2444 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2445 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2446 ac_tool_warned=yes ;;
2447 esac
2448     STRIP=$ac_ct_STRIP
2449   fi
2450 else
2451   STRIP="$ac_cv_prog_STRIP"
2452 fi
2453
2454 fi
2455 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2456
2457 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2458 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2459 if test -z "$MKDIR_P"; then
2460   if test "${ac_cv_path_mkdir+set}" = set; then
2461   $as_echo_n "(cached) " >&6
2462 else
2463   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2464 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2465 do
2466   IFS=$as_save_IFS
2467   test -z "$as_dir" && as_dir=.
2468   for ac_prog in mkdir gmkdir; do
2469          for ac_exec_ext in '' $ac_executable_extensions; do
2470            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2471            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2472              'mkdir (GNU coreutils) '* | \
2473              'mkdir (coreutils) '* | \
2474              'mkdir (fileutils) '4.1*)
2475                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2476                break 3;;
2477            esac
2478          done
2479        done
2480 done
2481 IFS=$as_save_IFS
2482
2483 fi
2484
2485   if test "${ac_cv_path_mkdir+set}" = set; then
2486     MKDIR_P="$ac_cv_path_mkdir -p"
2487   else
2488     # As a last resort, use the slow shell script.  Don't cache a
2489     # value for MKDIR_P within a source directory, because that will
2490     # break other packages using the cache if that directory is
2491     # removed, or if the value is a relative name.
2492     test -d ./--version && rmdir ./--version
2493     MKDIR_P="$ac_install_sh -d"
2494   fi
2495 fi
2496 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2497 $as_echo "$MKDIR_P" >&6; }
2498
2499 mkdir_p="$MKDIR_P"
2500 case $mkdir_p in
2501   [\\/$]* | ?:[\\/]*) ;;
2502   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2503 esac
2504
2505 for ac_prog in gawk mawk nawk awk
2506 do
2507   # Extract the first word of "$ac_prog", so it can be a program name with args.
2508 set dummy $ac_prog; ac_word=$2
2509 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2510 $as_echo_n "checking for $ac_word... " >&6; }
2511 if test "${ac_cv_prog_AWK+set}" = set; then
2512   $as_echo_n "(cached) " >&6
2513 else
2514   if test -n "$AWK"; then
2515   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2516 else
2517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2518 for as_dir in $PATH
2519 do
2520   IFS=$as_save_IFS
2521   test -z "$as_dir" && as_dir=.
2522   for ac_exec_ext in '' $ac_executable_extensions; do
2523   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2524     ac_cv_prog_AWK="$ac_prog"
2525     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2526     break 2
2527   fi
2528 done
2529 done
2530 IFS=$as_save_IFS
2531
2532 fi
2533 fi
2534 AWK=$ac_cv_prog_AWK
2535 if test -n "$AWK"; then
2536   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2537 $as_echo "$AWK" >&6; }
2538 else
2539   { $as_echo "$as_me:$LINENO: result: no" >&5
2540 $as_echo "no" >&6; }
2541 fi
2542
2543
2544   test -n "$AWK" && break
2545 done
2546
2547 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2548 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2549 set x ${MAKE-make}
2550 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2551 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2552   $as_echo_n "(cached) " >&6
2553 else
2554   cat >conftest.make <<\_ACEOF
2555 SHELL = /bin/sh
2556 all:
2557         @echo '@@@%%%=$(MAKE)=@@@%%%'
2558 _ACEOF
2559 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2560 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2561   *@@@%%%=?*=@@@%%%*)
2562     eval ac_cv_prog_make_${ac_make}_set=yes;;
2563   *)
2564     eval ac_cv_prog_make_${ac_make}_set=no;;
2565 esac
2566 rm -f conftest.make
2567 fi
2568 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2569   { $as_echo "$as_me:$LINENO: result: yes" >&5
2570 $as_echo "yes" >&6; }
2571   SET_MAKE=
2572 else
2573   { $as_echo "$as_me:$LINENO: result: no" >&5
2574 $as_echo "no" >&6; }
2575   SET_MAKE="MAKE=${MAKE-make}"
2576 fi
2577
2578 rm -rf .tst 2>/dev/null
2579 mkdir .tst 2>/dev/null
2580 if test -d .tst; then
2581   am__leading_dot=.
2582 else
2583   am__leading_dot=_
2584 fi
2585 rmdir .tst 2>/dev/null
2586
2587 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2588   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2589   # is not polluted with repeated "-I."
2590   am__isrc=' -I$(srcdir)'
2591   # test to see if srcdir already configured
2592   if test -f $srcdir/config.status; then
2593     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2594 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2595    { (exit 1); exit 1; }; }
2596   fi
2597 fi
2598
2599 # test whether we have cygpath
2600 if test -z "$CYGPATH_W"; then
2601   if (cygpath --version) >/dev/null 2>/dev/null; then
2602     CYGPATH_W='cygpath -w'
2603   else
2604     CYGPATH_W=echo
2605   fi
2606 fi
2607
2608
2609 # Define the identity of the package.
2610  PACKAGE='gconf-editor'
2611  VERSION='2.28.0'
2612
2613
2614 cat >>confdefs.h <<_ACEOF
2615 #define PACKAGE "$PACKAGE"
2616 _ACEOF
2617
2618
2619 cat >>confdefs.h <<_ACEOF
2620 #define VERSION "$VERSION"
2621 _ACEOF
2622
2623 # Some tools Automake needs.
2624
2625 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2626
2627
2628 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2629
2630
2631 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2632
2633
2634 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2635
2636
2637 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2638
2639 # We need awk for the "check" target.  The system "awk" is bad on
2640 # some platforms.
2641 # Always define AMTAR for backward compatibility.
2642
2643 AMTAR=${AMTAR-"${am_missing_run}tar"}
2644
2645 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2646
2647
2648
2649
2650
2651 ac_config_headers="$ac_config_headers config.h"
2652
2653
2654 if test -z "$enable_maintainer_mode"; then
2655   enable_maintainer_mode=yes
2656 fi
2657
2658 { $as_echo "$as_me:$LINENO: checking whether to disable maintainer-specific portions of Makefiles" >&5
2659 $as_echo_n "checking whether to disable maintainer-specific portions of Makefiles... " >&6; }
2660     # Check whether --enable-maintainer-mode was given.
2661 if test "${enable_maintainer_mode+set}" = set; then
2662   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2663 else
2664   USE_MAINTAINER_MODE=yes
2665 fi
2666
2667   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2668 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2669    if test $USE_MAINTAINER_MODE = yes; then
2670   MAINTAINER_MODE_TRUE=
2671   MAINTAINER_MODE_FALSE='#'
2672 else
2673   MAINTAINER_MODE_TRUE='#'
2674   MAINTAINER_MODE_FALSE=
2675 fi
2676
2677   MAINT=$MAINTAINER_MODE_TRUE
2678
2679
2680
2681
2682   { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
2683 $as_echo_n "checking whether NLS is requested... " >&6; }
2684     # Check whether --enable-nls was given.
2685 if test "${enable_nls+set}" = set; then
2686   enableval=$enable_nls; USE_NLS=$enableval
2687 else
2688   USE_NLS=yes
2689 fi
2690
2691   { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
2692 $as_echo "$USE_NLS" >&6; }
2693
2694
2695 DEPDIR="${am__leading_dot}deps"
2696
2697 ac_config_commands="$ac_config_commands depfiles"
2698
2699
2700 am_make=${MAKE-make}
2701 cat > confinc << 'END'
2702 am__doit:
2703         @echo this is the am__doit target
2704 .PHONY: am__doit
2705 END
2706 # If we don't find an include directive, just comment out the code.
2707 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2708 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2709 am__include="#"
2710 am__quote=
2711 _am_result=none
2712 # First try GNU make style include.
2713 echo "include confinc" > confmf
2714 # Ignore all kinds of additional output from `make'.
2715 case `$am_make -s -f confmf 2> /dev/null` in #(
2716 *the\ am__doit\ target*)
2717   am__include=include
2718   am__quote=
2719   _am_result=GNU
2720   ;;
2721 esac
2722 # Now try BSD make style include.
2723 if test "$am__include" = "#"; then
2724    echo '.include "confinc"' > confmf
2725    case `$am_make -s -f confmf 2> /dev/null` in #(
2726    *the\ am__doit\ target*)
2727      am__include=.include
2728      am__quote="\""
2729      _am_result=BSD
2730      ;;
2731    esac
2732 fi
2733
2734
2735 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2736 $as_echo "$_am_result" >&6; }
2737 rm -f confinc confmf
2738
2739 # Check whether --enable-dependency-tracking was given.
2740 if test "${enable_dependency_tracking+set}" = set; then
2741   enableval=$enable_dependency_tracking;
2742 fi
2743
2744 if test "x$enable_dependency_tracking" != xno; then
2745   am_depcomp="$ac_aux_dir/depcomp"
2746   AMDEPBACKSLASH='\'
2747 fi
2748  if test "x$enable_dependency_tracking" != xno; then
2749   AMDEP_TRUE=
2750   AMDEP_FALSE='#'
2751 else
2752   AMDEP_TRUE='#'
2753   AMDEP_FALSE=
2754 fi
2755
2756
2757 ac_ext=c
2758 ac_cpp='$CPP $CPPFLAGS'
2759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2762 if test -n "$ac_tool_prefix"; then
2763   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2764 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2765 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2766 $as_echo_n "checking for $ac_word... " >&6; }
2767 if test "${ac_cv_prog_CC+set}" = set; then
2768   $as_echo_n "(cached) " >&6
2769 else
2770   if test -n "$CC"; then
2771   ac_cv_prog_CC="$CC" # Let the user override the test.
2772 else
2773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2774 for as_dir in $PATH
2775 do
2776   IFS=$as_save_IFS
2777   test -z "$as_dir" && as_dir=.
2778   for ac_exec_ext in '' $ac_executable_extensions; do
2779   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2780     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2781     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2782     break 2
2783   fi
2784 done
2785 done
2786 IFS=$as_save_IFS
2787
2788 fi
2789 fi
2790 CC=$ac_cv_prog_CC
2791 if test -n "$CC"; then
2792   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2793 $as_echo "$CC" >&6; }
2794 else
2795   { $as_echo "$as_me:$LINENO: result: no" >&5
2796 $as_echo "no" >&6; }
2797 fi
2798
2799
2800 fi
2801 if test -z "$ac_cv_prog_CC"; then
2802   ac_ct_CC=$CC
2803   # Extract the first word of "gcc", so it can be a program name with args.
2804 set dummy gcc; ac_word=$2
2805 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2806 $as_echo_n "checking for $ac_word... " >&6; }
2807 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2808   $as_echo_n "(cached) " >&6
2809 else
2810   if test -n "$ac_ct_CC"; then
2811   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2812 else
2813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2814 for as_dir in $PATH
2815 do
2816   IFS=$as_save_IFS
2817   test -z "$as_dir" && as_dir=.
2818   for ac_exec_ext in '' $ac_executable_extensions; do
2819   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2820     ac_cv_prog_ac_ct_CC="gcc"
2821     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2822     break 2
2823   fi
2824 done
2825 done
2826 IFS=$as_save_IFS
2827
2828 fi
2829 fi
2830 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2831 if test -n "$ac_ct_CC"; then
2832   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2833 $as_echo "$ac_ct_CC" >&6; }
2834 else
2835   { $as_echo "$as_me:$LINENO: result: no" >&5
2836 $as_echo "no" >&6; }
2837 fi
2838
2839   if test "x$ac_ct_CC" = x; then
2840     CC=""
2841   else
2842     case $cross_compiling:$ac_tool_warned in
2843 yes:)
2844 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2845 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2846 ac_tool_warned=yes ;;
2847 esac
2848     CC=$ac_ct_CC
2849   fi
2850 else
2851   CC="$ac_cv_prog_CC"
2852 fi
2853
2854 if test -z "$CC"; then
2855           if test -n "$ac_tool_prefix"; then
2856     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2857 set dummy ${ac_tool_prefix}cc; ac_word=$2
2858 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2859 $as_echo_n "checking for $ac_word... " >&6; }
2860 if test "${ac_cv_prog_CC+set}" = set; then
2861   $as_echo_n "(cached) " >&6
2862 else
2863   if test -n "$CC"; then
2864   ac_cv_prog_CC="$CC" # Let the user override the test.
2865 else
2866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2867 for as_dir in $PATH
2868 do
2869   IFS=$as_save_IFS
2870   test -z "$as_dir" && as_dir=.
2871   for ac_exec_ext in '' $ac_executable_extensions; do
2872   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2873     ac_cv_prog_CC="${ac_tool_prefix}cc"
2874     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2875     break 2
2876   fi
2877 done
2878 done
2879 IFS=$as_save_IFS
2880
2881 fi
2882 fi
2883 CC=$ac_cv_prog_CC
2884 if test -n "$CC"; then
2885   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2886 $as_echo "$CC" >&6; }
2887 else
2888   { $as_echo "$as_me:$LINENO: result: no" >&5
2889 $as_echo "no" >&6; }
2890 fi
2891
2892
2893   fi
2894 fi
2895 if test -z "$CC"; then
2896   # Extract the first word of "cc", so it can be a program name with args.
2897 set dummy cc; ac_word=$2
2898 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2899 $as_echo_n "checking for $ac_word... " >&6; }
2900 if test "${ac_cv_prog_CC+set}" = set; then
2901   $as_echo_n "(cached) " >&6
2902 else
2903   if test -n "$CC"; then
2904   ac_cv_prog_CC="$CC" # Let the user override the test.
2905 else
2906   ac_prog_rejected=no
2907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2908 for as_dir in $PATH
2909 do
2910   IFS=$as_save_IFS
2911   test -z "$as_dir" && as_dir=.
2912   for ac_exec_ext in '' $ac_executable_extensions; do
2913   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2914     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2915        ac_prog_rejected=yes
2916        continue
2917      fi
2918     ac_cv_prog_CC="cc"
2919     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2920     break 2
2921   fi
2922 done
2923 done
2924 IFS=$as_save_IFS
2925
2926 if test $ac_prog_rejected = yes; then
2927   # We found a bogon in the path, so make sure we never use it.
2928   set dummy $ac_cv_prog_CC
2929   shift
2930   if test $# != 0; then
2931     # We chose a different compiler from the bogus one.
2932     # However, it has the same basename, so the bogon will be chosen
2933     # first if we set CC to just the basename; use the full file name.
2934     shift
2935     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2936   fi
2937 fi
2938 fi
2939 fi
2940 CC=$ac_cv_prog_CC
2941 if test -n "$CC"; then
2942   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2943 $as_echo "$CC" >&6; }
2944 else
2945   { $as_echo "$as_me:$LINENO: result: no" >&5
2946 $as_echo "no" >&6; }
2947 fi
2948
2949
2950 fi
2951 if test -z "$CC"; then
2952   if test -n "$ac_tool_prefix"; then
2953   for ac_prog in cl.exe
2954   do
2955     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2956 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2957 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2958 $as_echo_n "checking for $ac_word... " >&6; }
2959 if test "${ac_cv_prog_CC+set}" = set; then
2960   $as_echo_n "(cached) " >&6
2961 else
2962   if test -n "$CC"; then
2963   ac_cv_prog_CC="$CC" # Let the user override the test.
2964 else
2965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2966 for as_dir in $PATH
2967 do
2968   IFS=$as_save_IFS
2969   test -z "$as_dir" && as_dir=.
2970   for ac_exec_ext in '' $ac_executable_extensions; do
2971   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2972     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2973     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2974     break 2
2975   fi
2976 done
2977 done
2978 IFS=$as_save_IFS
2979
2980 fi
2981 fi
2982 CC=$ac_cv_prog_CC
2983 if test -n "$CC"; then
2984   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2985 $as_echo "$CC" >&6; }
2986 else
2987   { $as_echo "$as_me:$LINENO: result: no" >&5
2988 $as_echo "no" >&6; }
2989 fi
2990
2991
2992     test -n "$CC" && break
2993   done
2994 fi
2995 if test -z "$CC"; then
2996   ac_ct_CC=$CC
2997   for ac_prog in cl.exe
2998 do
2999   # Extract the first word of "$ac_prog", so it can be a program name with args.
3000 set dummy $ac_prog; ac_word=$2
3001 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3002 $as_echo_n "checking for $ac_word... " >&6; }
3003 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3004   $as_echo_n "(cached) " >&6
3005 else
3006   if test -n "$ac_ct_CC"; then
3007   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3008 else
3009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3010 for as_dir in $PATH
3011 do
3012   IFS=$as_save_IFS
3013   test -z "$as_dir" && as_dir=.
3014   for ac_exec_ext in '' $ac_executable_extensions; do
3015   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3016     ac_cv_prog_ac_ct_CC="$ac_prog"
3017     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3018     break 2
3019   fi
3020 done
3021 done
3022 IFS=$as_save_IFS
3023
3024 fi
3025 fi
3026 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3027 if test -n "$ac_ct_CC"; then
3028   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3029 $as_echo "$ac_ct_CC" >&6; }
3030 else
3031   { $as_echo "$as_me:$LINENO: result: no" >&5
3032 $as_echo "no" >&6; }
3033 fi
3034
3035
3036   test -n "$ac_ct_CC" && break
3037 done
3038
3039   if test "x$ac_ct_CC" = x; then
3040     CC=""
3041   else
3042     case $cross_compiling:$ac_tool_warned in
3043 yes:)
3044 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3045 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3046 ac_tool_warned=yes ;;
3047 esac
3048     CC=$ac_ct_CC
3049   fi
3050 fi
3051
3052 fi
3053
3054
3055 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3056 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3057 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3058 See \`config.log' for more details." >&5
3059 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3060 See \`config.log' for more details." >&2;}
3061    { (exit 1); exit 1; }; }; }
3062
3063 # Provide some information about the compiler.
3064 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3065 set X $ac_compile
3066 ac_compiler=$2
3067 { (ac_try="$ac_compiler --version >&5"
3068 case "(($ac_try" in
3069   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3070   *) ac_try_echo=$ac_try;;
3071 esac
3072 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3073 $as_echo "$ac_try_echo") >&5
3074   (eval "$ac_compiler --version >&5") 2>&5
3075   ac_status=$?
3076   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3077   (exit $ac_status); }
3078 { (ac_try="$ac_compiler -v >&5"
3079 case "(($ac_try" in
3080   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3081   *) ac_try_echo=$ac_try;;
3082 esac
3083 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3084 $as_echo "$ac_try_echo") >&5
3085   (eval "$ac_compiler -v >&5") 2>&5
3086   ac_status=$?
3087   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088   (exit $ac_status); }
3089 { (ac_try="$ac_compiler -V >&5"
3090 case "(($ac_try" in
3091   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3092   *) ac_try_echo=$ac_try;;
3093 esac
3094 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3095 $as_echo "$ac_try_echo") >&5
3096   (eval "$ac_compiler -V >&5") 2>&5
3097   ac_status=$?
3098   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3099   (exit $ac_status); }
3100
3101 cat >conftest.$ac_ext <<_ACEOF
3102 /* confdefs.h.  */
3103 _ACEOF
3104 cat confdefs.h >>conftest.$ac_ext
3105 cat >>conftest.$ac_ext <<_ACEOF
3106 /* end confdefs.h.  */
3107
3108 int
3109 main ()
3110 {
3111
3112   ;
3113   return 0;
3114 }
3115 _ACEOF
3116 ac_clean_files_save=$ac_clean_files
3117 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3118 # Try to create an executable without -o first, disregard a.out.
3119 # It will help us diagnose broken compilers, and finding out an intuition
3120 # of exeext.
3121 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3122 $as_echo_n "checking for C compiler default output file name... " >&6; }
3123 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3124
3125 # The possible output files:
3126 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3127
3128 ac_rmfiles=
3129 for ac_file in $ac_files
3130 do
3131   case $ac_file in
3132     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3133     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3134   esac
3135 done
3136 rm -f $ac_rmfiles
3137
3138 if { (ac_try="$ac_link_default"
3139 case "(($ac_try" in
3140   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3141   *) ac_try_echo=$ac_try;;
3142 esac
3143 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3144 $as_echo "$ac_try_echo") >&5
3145   (eval "$ac_link_default") 2>&5
3146   ac_status=$?
3147   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148   (exit $ac_status); }; then
3149   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3150 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3151 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3152 # so that the user can short-circuit this test for compilers unknown to
3153 # Autoconf.
3154 for ac_file in $ac_files ''
3155 do
3156   test -f "$ac_file" || continue
3157   case $ac_file in
3158     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3159         ;;
3160     [ab].out )
3161         # We found the default executable, but exeext='' is most
3162         # certainly right.
3163         break;;
3164     *.* )
3165         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3166         then :; else
3167            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3168         fi
3169         # We set ac_cv_exeext here because the later test for it is not
3170         # safe: cross compilers may not add the suffix if given an `-o'
3171         # argument, so we may need to know it at that point already.
3172         # Even if this section looks crufty: it has the advantage of
3173         # actually working.
3174         break;;
3175     * )
3176         break;;
3177   esac
3178 done
3179 test "$ac_cv_exeext" = no && ac_cv_exeext=
3180
3181 else
3182   ac_file=''
3183 fi
3184
3185 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3186 $as_echo "$ac_file" >&6; }
3187 if test -z "$ac_file"; then
3188   $as_echo "$as_me: failed program was:" >&5
3189 sed 's/^/| /' conftest.$ac_ext >&5
3190
3191 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3193 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3194 See \`config.log' for more details." >&5
3195 $as_echo "$as_me: error: C compiler cannot create executables
3196 See \`config.log' for more details." >&2;}
3197    { (exit 77); exit 77; }; }; }
3198 fi
3199
3200 ac_exeext=$ac_cv_exeext
3201
3202 # Check that the compiler produces executables we can run.  If not, either
3203 # the compiler is broken, or we cross compile.
3204 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3205 $as_echo_n "checking whether the C compiler works... " >&6; }
3206 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3207 # If not cross compiling, check that we can run a simple program.
3208 if test "$cross_compiling" != yes; then
3209   if { ac_try='./$ac_file'
3210   { (case "(($ac_try" in
3211   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3212   *) ac_try_echo=$ac_try;;
3213 esac
3214 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3215 $as_echo "$ac_try_echo") >&5
3216   (eval "$ac_try") 2>&5
3217   ac_status=$?
3218   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3219   (exit $ac_status); }; }; then
3220     cross_compiling=no
3221   else
3222     if test "$cross_compiling" = maybe; then
3223         cross_compiling=yes
3224     else
3225         { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3227 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3228 If you meant to cross compile, use \`--host'.
3229 See \`config.log' for more details." >&5
3230 $as_echo "$as_me: error: cannot run C compiled programs.
3231 If you meant to cross compile, use \`--host'.
3232 See \`config.log' for more details." >&2;}
3233    { (exit 1); exit 1; }; }; }
3234     fi
3235   fi
3236 fi
3237 { $as_echo "$as_me:$LINENO: result: yes" >&5
3238 $as_echo "yes" >&6; }
3239
3240 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3241 ac_clean_files=$ac_clean_files_save
3242 # Check that the compiler produces executables we can run.  If not, either
3243 # the compiler is broken, or we cross compile.
3244 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3245 $as_echo_n "checking whether we are cross compiling... " >&6; }
3246 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3247 $as_echo "$cross_compiling" >&6; }
3248
3249 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3250 $as_echo_n "checking for suffix of executables... " >&6; }
3251 if { (ac_try="$ac_link"
3252 case "(($ac_try" in
3253   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3254   *) ac_try_echo=$ac_try;;
3255 esac
3256 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3257 $as_echo "$ac_try_echo") >&5
3258   (eval "$ac_link") 2>&5
3259   ac_status=$?
3260   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3261   (exit $ac_status); }; then
3262   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3263 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3264 # work properly (i.e., refer to `conftest.exe'), while it won't with
3265 # `rm'.
3266 for ac_file in conftest.exe conftest conftest.*; do
3267   test -f "$ac_file" || continue
3268   case $ac_file in
3269     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3270     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3271           break;;
3272     * ) break;;
3273   esac
3274 done
3275 else
3276   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3277 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3278 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3279 See \`config.log' for more details." >&5
3280 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3281 See \`config.log' for more details." >&2;}
3282    { (exit 1); exit 1; }; }; }
3283 fi
3284
3285 rm -f conftest$ac_cv_exeext
3286 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3287 $as_echo "$ac_cv_exeext" >&6; }
3288
3289 rm -f conftest.$ac_ext
3290 EXEEXT=$ac_cv_exeext
3291 ac_exeext=$EXEEXT
3292 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3293 $as_echo_n "checking for suffix of object files... " >&6; }
3294 if test "${ac_cv_objext+set}" = set; then
3295   $as_echo_n "(cached) " >&6
3296 else
3297   cat >conftest.$ac_ext <<_ACEOF
3298 /* confdefs.h.  */
3299 _ACEOF
3300 cat confdefs.h >>conftest.$ac_ext
3301 cat >>conftest.$ac_ext <<_ACEOF
3302 /* end confdefs.h.  */
3303
3304 int
3305 main ()
3306 {
3307
3308   ;
3309   return 0;
3310 }
3311 _ACEOF
3312 rm -f conftest.o conftest.obj
3313 if { (ac_try="$ac_compile"
3314 case "(($ac_try" in
3315   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3316   *) ac_try_echo=$ac_try;;
3317 esac
3318 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3319 $as_echo "$ac_try_echo") >&5
3320   (eval "$ac_compile") 2>&5
3321   ac_status=$?
3322   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3323   (exit $ac_status); }; then
3324   for ac_file in conftest.o conftest.obj conftest.*; do
3325   test -f "$ac_file" || continue;
3326   case $ac_file in
3327     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3328     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3329        break;;
3330   esac
3331 done
3332 else
3333   $as_echo "$as_me: failed program was:" >&5
3334 sed 's/^/| /' conftest.$ac_ext >&5
3335
3336 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3338 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3339 See \`config.log' for more details." >&5
3340 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3341 See \`config.log' for more details." >&2;}
3342    { (exit 1); exit 1; }; }; }
3343 fi
3344
3345 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3346 fi
3347 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3348 $as_echo "$ac_cv_objext" >&6; }
3349 OBJEXT=$ac_cv_objext
3350 ac_objext=$OBJEXT
3351 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3352 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3353 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3354   $as_echo_n "(cached) " >&6
3355 else
3356   cat >conftest.$ac_ext <<_ACEOF
3357 /* confdefs.h.  */
3358 _ACEOF
3359 cat confdefs.h >>conftest.$ac_ext
3360 cat >>conftest.$ac_ext <<_ACEOF
3361 /* end confdefs.h.  */
3362
3363 int
3364 main ()
3365 {
3366 #ifndef __GNUC__
3367        choke me
3368 #endif
3369
3370   ;
3371   return 0;
3372 }
3373 _ACEOF
3374 rm -f conftest.$ac_objext
3375 if { (ac_try="$ac_compile"
3376 case "(($ac_try" in
3377   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3378   *) ac_try_echo=$ac_try;;
3379 esac
3380 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3381 $as_echo "$ac_try_echo") >&5
3382   (eval "$ac_compile") 2>conftest.er1
3383   ac_status=$?
3384   grep -v '^ *+' conftest.er1 >conftest.err
3385   rm -f conftest.er1
3386   cat conftest.err >&5
3387   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3388   (exit $ac_status); } && {
3389          test -z "$ac_c_werror_flag" ||
3390          test ! -s conftest.err
3391        } && test -s conftest.$ac_objext; then
3392   ac_compiler_gnu=yes
3393 else
3394   $as_echo "$as_me: failed program was:" >&5
3395 sed 's/^/| /' conftest.$ac_ext >&5
3396
3397         ac_compiler_gnu=no
3398 fi
3399
3400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3401 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3402
3403 fi
3404 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3405 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3406 if test $ac_compiler_gnu = yes; then
3407   GCC=yes
3408 else
3409   GCC=
3410 fi
3411 ac_test_CFLAGS=${CFLAGS+set}
3412 ac_save_CFLAGS=$CFLAGS
3413 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3414 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3415 if test "${ac_cv_prog_cc_g+set}" = set; then
3416   $as_echo_n "(cached) " >&6
3417 else
3418   ac_save_c_werror_flag=$ac_c_werror_flag
3419    ac_c_werror_flag=yes
3420    ac_cv_prog_cc_g=no
3421    CFLAGS="-g"
3422    cat >conftest.$ac_ext <<_ACEOF
3423 /* confdefs.h.  */
3424 _ACEOF
3425 cat confdefs.h >>conftest.$ac_ext
3426 cat >>conftest.$ac_ext <<_ACEOF
3427 /* end confdefs.h.  */
3428
3429 int
3430 main ()
3431 {
3432
3433   ;
3434   return 0;
3435 }
3436 _ACEOF
3437 rm -f conftest.$ac_objext
3438 if { (ac_try="$ac_compile"
3439 case "(($ac_try" in
3440   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3441   *) ac_try_echo=$ac_try;;
3442 esac
3443 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3444 $as_echo "$ac_try_echo") >&5
3445   (eval "$ac_compile") 2>conftest.er1
3446   ac_status=$?
3447   grep -v '^ *+' conftest.er1 >conftest.err
3448   rm -f conftest.er1
3449   cat conftest.err >&5
3450   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3451   (exit $ac_status); } && {
3452          test -z "$ac_c_werror_flag" ||
3453          test ! -s conftest.err
3454        } && test -s conftest.$ac_objext; then
3455   ac_cv_prog_cc_g=yes
3456 else
3457   $as_echo "$as_me: failed program was:" >&5
3458 sed 's/^/| /' conftest.$ac_ext >&5
3459
3460         CFLAGS=""
3461       cat >conftest.$ac_ext <<_ACEOF
3462 /* confdefs.h.  */
3463 _ACEOF
3464 cat confdefs.h >>conftest.$ac_ext
3465 cat >>conftest.$ac_ext <<_ACEOF
3466 /* end confdefs.h.  */
3467
3468 int
3469 main ()
3470 {
3471
3472   ;
3473   return 0;
3474 }
3475 _ACEOF
3476 rm -f conftest.$ac_objext
3477 if { (ac_try="$ac_compile"
3478 case "(($ac_try" in
3479   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3480   *) ac_try_echo=$ac_try;;
3481 esac
3482 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3483 $as_echo "$ac_try_echo") >&5
3484   (eval "$ac_compile") 2>conftest.er1
3485   ac_status=$?
3486   grep -v '^ *+' conftest.er1 >conftest.err
3487   rm -f conftest.er1
3488   cat conftest.err >&5
3489   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3490   (exit $ac_status); } && {
3491          test -z "$ac_c_werror_flag" ||
3492          test ! -s conftest.err
3493        } && test -s conftest.$ac_objext; then
3494   :
3495 else
3496   $as_echo "$as_me: failed program was:" >&5
3497 sed 's/^/| /' conftest.$ac_ext >&5
3498
3499         ac_c_werror_flag=$ac_save_c_werror_flag
3500          CFLAGS="-g"
3501          cat >conftest.$ac_ext <<_ACEOF
3502 /* confdefs.h.  */
3503 _ACEOF
3504 cat confdefs.h >>conftest.$ac_ext
3505 cat >>conftest.$ac_ext <<_ACEOF
3506 /* end confdefs.h.  */
3507
3508 int
3509 main ()
3510 {
3511
3512   ;
3513   return 0;
3514 }
3515 _ACEOF
3516 rm -f conftest.$ac_objext
3517 if { (ac_try="$ac_compile"
3518 case "(($ac_try" in
3519   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3520   *) ac_try_echo=$ac_try;;
3521 esac
3522 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3523 $as_echo "$ac_try_echo") >&5
3524   (eval "$ac_compile") 2>conftest.er1
3525   ac_status=$?
3526   grep -v '^ *+' conftest.er1 >conftest.err
3527   rm -f conftest.er1
3528   cat conftest.err >&5
3529   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3530   (exit $ac_status); } && {
3531          test -z "$ac_c_werror_flag" ||
3532          test ! -s conftest.err
3533        } && test -s conftest.$ac_objext; then
3534   ac_cv_prog_cc_g=yes
3535 else
3536   $as_echo "$as_me: failed program was:" >&5
3537 sed 's/^/| /' conftest.$ac_ext >&5
3538
3539
3540 fi
3541
3542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3543 fi
3544
3545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3546 fi
3547
3548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3549    ac_c_werror_flag=$ac_save_c_werror_flag
3550 fi
3551 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3552 $as_echo "$ac_cv_prog_cc_g" >&6; }
3553 if test "$ac_test_CFLAGS" = set; then
3554   CFLAGS=$ac_save_CFLAGS
3555 elif test $ac_cv_prog_cc_g = yes; then
3556   if test "$GCC" = yes; then
3557     CFLAGS="-g -O2"
3558   else
3559     CFLAGS="-g"
3560   fi
3561 else
3562   if test "$GCC" = yes; then
3563     CFLAGS="-O2"
3564   else
3565     CFLAGS=
3566   fi
3567 fi
3568 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3569 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3570 if test "${ac_cv_prog_cc_c89+set}" = set; then
3571   $as_echo_n "(cached) " >&6
3572 else
3573   ac_cv_prog_cc_c89=no
3574 ac_save_CC=$CC
3575 cat >conftest.$ac_ext <<_ACEOF
3576 /* confdefs.h.  */
3577 _ACEOF
3578 cat confdefs.h >>conftest.$ac_ext
3579 cat >>conftest.$ac_ext <<_ACEOF
3580 /* end confdefs.h.  */
3581 #include <stdarg.h>
3582 #include <stdio.h>
3583 #include <sys/types.h>
3584 #include <sys/stat.h>
3585 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3586 struct buf { int x; };
3587 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3588 static char *e (p, i)
3589      char **p;
3590      int i;
3591 {
3592   return p[i];
3593 }
3594 static char *f (char * (*g) (char **, int), char **p, ...)
3595 {
3596   char *s;
3597   va_list v;
3598   va_start (v,p);
3599   s = g (p, va_arg (v,int));
3600   va_end (v);
3601   return s;
3602 }
3603
3604 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3605    function prototypes and stuff, but not '\xHH' hex character constants.
3606    These don't provoke an error unfortunately, instead are silently treated
3607    as 'x'.  The following induces an error, until -std is added to get
3608    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3609    array size at least.  It's necessary to write '\x00'==0 to get something
3610    that's true only with -std.  */
3611 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3612
3613 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3614    inside strings and character constants.  */
3615 #define FOO(x) 'x'
3616 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3617
3618 int test (int i, double x);
3619 struct s1 {int (*f) (int a);};
3620 struct s2 {int (*f) (double a);};
3621 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3622 int argc;
3623 char **argv;
3624 int
3625 main ()
3626 {
3627 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3628   ;
3629   return 0;
3630 }
3631 _ACEOF
3632 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3633         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3634 do
3635   CC="$ac_save_CC $ac_arg"
3636   rm -f conftest.$ac_objext
3637 if { (ac_try="$ac_compile"
3638 case "(($ac_try" in
3639   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3640   *) ac_try_echo=$ac_try;;
3641 esac
3642 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3643 $as_echo "$ac_try_echo") >&5
3644   (eval "$ac_compile") 2>conftest.er1
3645   ac_status=$?
3646   grep -v '^ *+' conftest.er1 >conftest.err
3647   rm -f conftest.er1
3648   cat conftest.err >&5
3649   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3650   (exit $ac_status); } && {
3651          test -z "$ac_c_werror_flag" ||
3652          test ! -s conftest.err
3653        } && test -s conftest.$ac_objext; then
3654   ac_cv_prog_cc_c89=$ac_arg
3655 else
3656   $as_echo "$as_me: failed program was:" >&5
3657 sed 's/^/| /' conftest.$ac_ext >&5
3658
3659
3660 fi
3661
3662 rm -f core conftest.err conftest.$ac_objext
3663   test "x$ac_cv_prog_cc_c89" != "xno" && break
3664 done
3665 rm -f conftest.$ac_ext
3666 CC=$ac_save_CC
3667
3668 fi
3669 # AC_CACHE_VAL
3670 case "x$ac_cv_prog_cc_c89" in
3671   x)
3672     { $as_echo "$as_me:$LINENO: result: none needed" >&5
3673 $as_echo "none needed" >&6; } ;;
3674   xno)
3675     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3676 $as_echo "unsupported" >&6; } ;;
3677   *)
3678     CC="$CC $ac_cv_prog_cc_c89"
3679     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3680 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3681 esac
3682
3683
3684 ac_ext=c
3685 ac_cpp='$CPP $CPPFLAGS'
3686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3689
3690 depcc="$CC"   am_compiler_list=
3691
3692 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3693 $as_echo_n "checking dependency style of $depcc... " >&6; }
3694 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3695   $as_echo_n "(cached) " >&6
3696 else
3697   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3698   # We make a subdir and do the tests there.  Otherwise we can end up
3699   # making bogus files that we don't know about and never remove.  For
3700   # instance it was reported that on HP-UX the gcc test will end up
3701   # making a dummy file named `D' -- because `-MD' means `put the output
3702   # in D'.
3703   mkdir conftest.dir
3704   # Copy depcomp to subdir because otherwise we won't find it if we're
3705   # using a relative directory.
3706   cp "$am_depcomp" conftest.dir
3707   cd conftest.dir
3708   # We will build objects and dependencies in a subdirectory because
3709   # it helps to detect inapplicable dependency modes.  For instance
3710   # both Tru64's cc and ICC support -MD to output dependencies as a
3711   # side effect of compilation, but ICC will put the dependencies in
3712   # the current directory while Tru64 will put them in the object
3713   # directory.
3714   mkdir sub
3715
3716   am_cv_CC_dependencies_compiler_type=none
3717   if test "$am_compiler_list" = ""; then
3718      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3719   fi
3720   am__universal=false
3721   case " $depcc " in #(
3722      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3723      esac
3724
3725   for depmode in $am_compiler_list; do
3726     # Setup a source with many dependencies, because some compilers
3727     # like to wrap large dependency lists on column 80 (with \), and
3728     # we should not choose a depcomp mode which is confused by this.
3729     #
3730     # We need to recreate these files for each test, as the compiler may
3731     # overwrite some of them when testing with obscure command lines.
3732     # This happens at least with the AIX C compiler.
3733     : > sub/conftest.c
3734     for i in 1 2 3 4 5 6; do
3735       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3736       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3737       # Solaris 8's {/usr,}/bin/sh.
3738       touch sub/conftst$i.h
3739     done
3740     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3741
3742     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3743     # mode.  It turns out that the SunPro C++ compiler does not properly
3744     # handle `-M -o', and we need to detect this.  Also, some Intel
3745     # versions had trouble with output in subdirs
3746     am__obj=sub/conftest.${OBJEXT-o}
3747     am__minus_obj="-o $am__obj"
3748     case $depmode in
3749     gcc)
3750       # This depmode causes a compiler race in universal mode.
3751       test "$am__universal" = false || continue
3752       ;;
3753     nosideeffect)
3754       # after this tag, mechanisms are not by side-effect, so they'll
3755       # only be used when explicitly requested
3756       if test "x$enable_dependency_tracking" = xyes; then
3757         continue
3758       else
3759         break
3760       fi
3761       ;;
3762     msvisualcpp | msvcmsys)
3763       # This compiler won't grok `-c -o', but also, the minuso test has
3764       # not run yet.  These depmodes are late enough in the game, and
3765       # so weak that their functioning should not be impacted.
3766       am__obj=conftest.${OBJEXT-o}
3767       am__minus_obj=
3768       ;;
3769     none) break ;;
3770     esac
3771     if depmode=$depmode \
3772        source=sub/conftest.c object=$am__obj \
3773        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3774        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3775          >/dev/null 2>conftest.err &&
3776        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3777        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3778        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3779        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3780       # icc doesn't choke on unknown options, it will just issue warnings
3781       # or remarks (even with -Werror).  So we grep stderr for any message
3782       # that says an option was ignored or not supported.
3783       # When given -MP, icc 7.0 and 7.1 complain thusly:
3784       #   icc: Command line warning: ignoring option '-M'; no argument required
3785       # The diagnosis changed in icc 8.0:
3786       #   icc: Command line remark: option '-MP' not supported
3787       if (grep 'ignoring option' conftest.err ||
3788           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3789         am_cv_CC_dependencies_compiler_type=$depmode
3790         break
3791       fi
3792     fi
3793   done
3794
3795   cd ..
3796   rm -rf conftest.dir
3797 else
3798   am_cv_CC_dependencies_compiler_type=none
3799 fi
3800
3801 fi
3802 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3803 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3804 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3805
3806  if
3807   test "x$enable_dependency_tracking" != xno \
3808   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3809   am__fastdepCC_TRUE=
3810   am__fastdepCC_FALSE='#'
3811 else
3812   am__fastdepCC_TRUE='#'
3813   am__fastdepCC_FALSE=
3814 fi
3815
3816
3817
3818
3819
3820 case "$am__api_version" in
3821     1.01234)
3822         { { $as_echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
3823 $as_echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
3824    { (exit 1); exit 1; }; }
3825     ;;
3826     *)
3827     ;;
3828 esac
3829
3830 if test -n "0.35.0"; then
3831     { $as_echo "$as_me:$LINENO: checking for intltool >= 0.35.0" >&5
3832 $as_echo_n "checking for intltool >= 0.35.0... " >&6; }
3833
3834     INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3835     INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
3836     INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3837
3838     { $as_echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
3839 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
3840     test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
3841         { { $as_echo "$as_me:$LINENO: error: Your intltool is too old.  You need intltool 0.35.0 or later." >&5
3842 $as_echo "$as_me: error: Your intltool is too old.  You need intltool 0.35.0 or later." >&2;}
3843    { (exit 1); exit 1; }; }
3844 fi
3845
3846 # Extract the first word of "intltool-update", so it can be a program name with args.
3847 set dummy intltool-update; ac_word=$2
3848 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3849 $as_echo_n "checking for $ac_word... " >&6; }
3850 if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then
3851   $as_echo_n "(cached) " >&6
3852 else
3853   case $INTLTOOL_UPDATE in
3854   [\\/]* | ?:[\\/]*)
3855   ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
3856   ;;
3857   *)
3858   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3859 for as_dir in $PATH
3860 do
3861   IFS=$as_save_IFS
3862   test -z "$as_dir" && as_dir=.
3863   for ac_exec_ext in '' $ac_executable_extensions; do
3864   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3865     ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
3866     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3867     break 2
3868   fi
3869 done
3870 done
3871 IFS=$as_save_IFS
3872
3873   ;;
3874 esac
3875 fi
3876 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
3877 if test -n "$INTLTOOL_UPDATE"; then
3878   { $as_echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5
3879 $as_echo "$INTLTOOL_UPDATE" >&6; }
3880 else
3881   { $as_echo "$as_me:$LINENO: result: no" >&5
3882 $as_echo "no" >&6; }
3883 fi
3884
3885
3886 # Extract the first word of "intltool-merge", so it can be a program name with args.
3887 set dummy intltool-merge; ac_word=$2
3888 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3889 $as_echo_n "checking for $ac_word... " >&6; }
3890 if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then
3891   $as_echo_n "(cached) " >&6
3892 else
3893   case $INTLTOOL_MERGE in
3894   [\\/]* | ?:[\\/]*)
3895   ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
3896   ;;
3897   *)
3898   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3899 for as_dir in $PATH
3900 do
3901   IFS=$as_save_IFS
3902   test -z "$as_dir" && as_dir=.
3903   for ac_exec_ext in '' $ac_executable_extensions; do
3904   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3905     ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
3906     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3907     break 2
3908   fi
3909 done
3910 done
3911 IFS=$as_save_IFS
3912
3913   ;;
3914 esac
3915 fi
3916 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
3917 if test -n "$INTLTOOL_MERGE"; then
3918   { $as_echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5
3919 $as_echo "$INTLTOOL_MERGE" >&6; }
3920 else
3921   { $as_echo "$as_me:$LINENO: result: no" >&5
3922 $as_echo "no" >&6; }
3923 fi
3924
3925
3926 # Extract the first word of "intltool-extract", so it can be a program name with args.
3927 set dummy intltool-extract; ac_word=$2
3928 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3929 $as_echo_n "checking for $ac_word... " >&6; }
3930 if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then
3931   $as_echo_n "(cached) " >&6
3932 else
3933   case $INTLTOOL_EXTRACT in
3934   [\\/]* | ?:[\\/]*)
3935   ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
3936   ;;
3937   *)
3938   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3939 for as_dir in $PATH
3940 do
3941   IFS=$as_save_IFS
3942   test -z "$as_dir" && as_dir=.
3943   for ac_exec_ext in '' $ac_executable_extensions; do
3944   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3945     ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
3946     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3947     break 2
3948   fi
3949 done
3950 done
3951 IFS=$as_save_IFS
3952
3953   ;;
3954 esac
3955 fi
3956 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
3957 if test -n "$INTLTOOL_EXTRACT"; then
3958   { $as_echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5
3959 $as_echo "$INTLTOOL_EXTRACT" >&6; }
3960 else
3961   { $as_echo "$as_me:$LINENO: result: no" >&5
3962 $as_echo "no" >&6; }
3963 fi
3964
3965
3966 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
3967     { { $as_echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5
3968 $as_echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;}
3969    { (exit 1); exit 1; }; }
3970 fi
3971
3972   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 $< $@'
3973 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 $< $@'
3974      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 $< $@'
3975      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 $< $@'
3976       INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
3977      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 $< $@'
3978    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 $< $@'
3979     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 $< $@'
3980 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 $< $@'
3981        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 $< $@'
3982       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 $< $@'
3983       INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
3984       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 $< $@'
3985       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 $< $@'
3986     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 $< $@'
3987   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 $< $@'
3988     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 $< $@'
3989     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 $< $@'
3990    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 $< $@'
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088 # Check the gettext tools to make sure they are GNU
4089 # Extract the first word of "xgettext", so it can be a program name with args.
4090 set dummy xgettext; ac_word=$2
4091 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4092 $as_echo_n "checking for $ac_word... " >&6; }
4093 if test "${ac_cv_path_XGETTEXT+set}" = set; then
4094   $as_echo_n "(cached) " >&6
4095 else
4096   case $XGETTEXT in
4097   [\\/]* | ?:[\\/]*)
4098   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4099   ;;
4100   *)
4101   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4102 for as_dir in $PATH
4103 do
4104   IFS=$as_save_IFS
4105   test -z "$as_dir" && as_dir=.
4106   for ac_exec_ext in '' $ac_executable_extensions; do
4107   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4108     ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4109     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4110     break 2
4111   fi
4112 done
4113 done
4114 IFS=$as_save_IFS
4115
4116   ;;
4117 esac
4118 fi
4119 XGETTEXT=$ac_cv_path_XGETTEXT
4120 if test -n "$XGETTEXT"; then
4121   { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
4122 $as_echo "$XGETTEXT" >&6; }
4123 else
4124   { $as_echo "$as_me:$LINENO: result: no" >&5
4125 $as_echo "no" >&6; }
4126 fi
4127
4128
4129 # Extract the first word of "msgmerge", so it can be a program name with args.
4130 set dummy msgmerge; ac_word=$2
4131 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4132 $as_echo_n "checking for $ac_word... " >&6; }
4133 if test "${ac_cv_path_MSGMERGE+set}" = set; then
4134   $as_echo_n "(cached) " >&6
4135 else
4136   case $MSGMERGE in
4137   [\\/]* | ?:[\\/]*)
4138   ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4139   ;;
4140   *)
4141   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4142 for as_dir in $PATH
4143 do
4144   IFS=$as_save_IFS
4145   test -z "$as_dir" && as_dir=.
4146   for ac_exec_ext in '' $ac_executable_extensions; do
4147   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4148     ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
4149     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4150     break 2
4151   fi
4152 done
4153 done
4154 IFS=$as_save_IFS
4155
4156   ;;
4157 esac
4158 fi
4159 MSGMERGE=$ac_cv_path_MSGMERGE
4160 if test -n "$MSGMERGE"; then
4161   { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
4162 $as_echo "$MSGMERGE" >&6; }
4163 else
4164   { $as_echo "$as_me:$LINENO: result: no" >&5
4165 $as_echo "no" >&6; }
4166 fi
4167
4168
4169 # Extract the first word of "msgfmt", so it can be a program name with args.
4170 set dummy msgfmt; ac_word=$2
4171 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4172 $as_echo_n "checking for $ac_word... " >&6; }
4173 if test "${ac_cv_path_MSGFMT+set}" = set; then
4174   $as_echo_n "(cached) " >&6
4175 else
4176   case $MSGFMT in
4177   [\\/]* | ?:[\\/]*)
4178   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4179   ;;
4180   *)
4181   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4182 for as_dir in $PATH
4183 do
4184   IFS=$as_save_IFS
4185   test -z "$as_dir" && as_dir=.
4186   for ac_exec_ext in '' $ac_executable_extensions; do
4187   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4188     ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4189     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4190     break 2
4191   fi
4192 done
4193 done
4194 IFS=$as_save_IFS
4195
4196   ;;
4197 esac
4198 fi
4199 MSGFMT=$ac_cv_path_MSGFMT
4200 if test -n "$MSGFMT"; then
4201   { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
4202 $as_echo "$MSGFMT" >&6; }
4203 else
4204   { $as_echo "$as_me:$LINENO: result: no" >&5
4205 $as_echo "no" >&6; }
4206 fi
4207
4208
4209 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4210 set dummy gmsgfmt; ac_word=$2
4211 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4212 $as_echo_n "checking for $ac_word... " >&6; }
4213 if test "${ac_cv_path_GMSGFMT+set}" = set; then
4214   $as_echo_n "(cached) " >&6
4215 else
4216   case $GMSGFMT in
4217   [\\/]* | ?:[\\/]*)
4218   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4219   ;;
4220   *)
4221   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4222 for as_dir in $PATH
4223 do
4224   IFS=$as_save_IFS
4225   test -z "$as_dir" && as_dir=.
4226   for ac_exec_ext in '' $ac_executable_extensions; do
4227   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4228     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4229     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4230     break 2
4231   fi
4232 done
4233 done
4234 IFS=$as_save_IFS
4235
4236   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4237   ;;
4238 esac
4239 fi
4240 GMSGFMT=$ac_cv_path_GMSGFMT
4241 if test -n "$GMSGFMT"; then
4242   { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
4243 $as_echo "$GMSGFMT" >&6; }
4244 else
4245   { $as_echo "$as_me:$LINENO: result: no" >&5
4246 $as_echo "no" >&6; }
4247 fi
4248
4249
4250 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
4251     { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
4252 $as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
4253    { (exit 1); exit 1; }; }
4254 fi
4255 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4256 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4257 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4258 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
4259     { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
4260 $as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
4261    { (exit 1); exit 1; }; }
4262 fi
4263
4264 # Extract the first word of "perl", so it can be a program name with args.
4265 set dummy perl; ac_word=$2
4266 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4267 $as_echo_n "checking for $ac_word... " >&6; }
4268 if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
4269   $as_echo_n "(cached) " >&6
4270 else
4271   case $INTLTOOL_PERL in
4272   [\\/]* | ?:[\\/]*)
4273   ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
4274   ;;
4275   *)
4276   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4277 for as_dir in $PATH
4278 do
4279   IFS=$as_save_IFS
4280   test -z "$as_dir" && as_dir=.
4281   for ac_exec_ext in '' $ac_executable_extensions; do
4282   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4283     ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
4284     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4285     break 2
4286   fi
4287 done
4288 done
4289 IFS=$as_save_IFS
4290
4291   ;;
4292 esac
4293 fi
4294 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
4295 if test -n "$INTLTOOL_PERL"; then
4296   { $as_echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
4297 $as_echo "$INTLTOOL_PERL" >&6; }
4298 else
4299   { $as_echo "$as_me:$LINENO: result: no" >&5
4300 $as_echo "no" >&6; }
4301 fi
4302
4303
4304 if test -z "$INTLTOOL_PERL"; then
4305    { { $as_echo "$as_me:$LINENO: error: perl not found" >&5
4306 $as_echo "$as_me: error: perl not found" >&2;}
4307    { (exit 1); exit 1; }; }
4308 fi
4309 { $as_echo "$as_me:$LINENO: checking for perl >= 5.8.1" >&5
4310 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
4311 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4312 if test $? -ne 0; then
4313    { { $as_echo "$as_me:$LINENO: error: perl 5.8.1 is required for intltool" >&5
4314 $as_echo "$as_me: error: perl 5.8.1 is required for intltool" >&2;}
4315    { (exit 1); exit 1; }; }
4316 else
4317    IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
4318    { $as_echo "$as_me:$LINENO: result: $IT_PERL_VERSION" >&5
4319 $as_echo "$IT_PERL_VERSION" >&6; }
4320 fi
4321 if test "x" != "xno-xml"; then
4322    { $as_echo "$as_me:$LINENO: checking for XML::Parser" >&5
4323 $as_echo_n "checking for XML::Parser... " >&6; }
4324    if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4325        { $as_echo "$as_me:$LINENO: result: ok" >&5
4326 $as_echo "ok" >&6; }
4327    else
4328        { { $as_echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
4329 $as_echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
4330    { (exit 1); exit 1; }; }
4331    fi
4332 fi
4333
4334 # Substitute ALL_LINGUAS so we can use it in po/Makefile
4335
4336
4337 # Set DATADIRNAME correctly if it is not set yet
4338 # (copied from glib-gettext.m4)
4339 if test -z "$DATADIRNAME"; then
4340   cat >conftest.$ac_ext <<_ACEOF
4341 /* confdefs.h.  */
4342 _ACEOF
4343 cat confdefs.h >>conftest.$ac_ext
4344 cat >>conftest.$ac_ext <<_ACEOF
4345 /* end confdefs.h.  */
4346
4347 int
4348 main ()
4349 {
4350 extern int _nl_msg_cat_cntr;
4351                        return _nl_msg_cat_cntr
4352   ;
4353   return 0;
4354 }
4355 _ACEOF
4356 rm -f conftest.$ac_objext conftest$ac_exeext
4357 if { (ac_try="$ac_link"
4358 case "(($ac_try" in
4359   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4360   *) ac_try_echo=$ac_try;;
4361 esac
4362 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4363 $as_echo "$ac_try_echo") >&5
4364   (eval "$ac_link") 2>conftest.er1
4365   ac_status=$?
4366   grep -v '^ *+' conftest.er1 >conftest.err
4367   rm -f conftest.er1
4368   cat conftest.err >&5
4369   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4370   (exit $ac_status); } && {
4371          test -z "$ac_c_werror_flag" ||
4372          test ! -s conftest.err
4373        } && test -s conftest$ac_exeext && {
4374          test "$cross_compiling" = yes ||
4375          $as_test_x conftest$ac_exeext
4376        }; then
4377   DATADIRNAME=share
4378 else
4379   $as_echo "$as_me: failed program was:" >&5
4380 sed 's/^/| /' conftest.$ac_ext >&5
4381
4382         case $host in
4383     *-*-solaris*)
4384                         { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
4385 $as_echo_n "checking for bind_textdomain_codeset... " >&6; }
4386 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
4387   $as_echo_n "(cached) " >&6
4388 else
4389   cat >conftest.$ac_ext <<_ACEOF
4390 /* confdefs.h.  */
4391 _ACEOF
4392 cat confdefs.h >>conftest.$ac_ext
4393 cat >>conftest.$ac_ext <<_ACEOF
4394 /* end confdefs.h.  */
4395 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
4396    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4397 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
4398
4399 /* System header to define __stub macros and hopefully few prototypes,
4400     which can conflict with char bind_textdomain_codeset (); below.
4401     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4402     <limits.h> exists even on freestanding compilers.  */
4403
4404 #ifdef __STDC__
4405 # include <limits.h>
4406 #else
4407 # include <assert.h>
4408 #endif
4409
4410 #undef bind_textdomain_codeset
4411
4412 /* Override any GCC internal prototype to avoid an error.
4413    Use char because int might match the return type of a GCC
4414    builtin and then its argument prototype would still apply.  */
4415 #ifdef __cplusplus
4416 extern "C"
4417 #endif
4418 char bind_textdomain_codeset ();
4419 /* The GNU C library defines this for functions which it implements
4420     to always fail with ENOSYS.  Some functions are actually named
4421     something starting with __ and the normal name is an alias.  */
4422 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
4423 choke me
4424 #endif
4425
4426 int
4427 main ()
4428 {
4429 return bind_textdomain_codeset ();
4430   ;
4431   return 0;
4432 }
4433 _ACEOF
4434 rm -f conftest.$ac_objext conftest$ac_exeext
4435 if { (ac_try="$ac_link"
4436 case "(($ac_try" in
4437   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4438   *) ac_try_echo=$ac_try;;
4439 esac
4440 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4441 $as_echo "$ac_try_echo") >&5
4442   (eval "$ac_link") 2>conftest.er1
4443   ac_status=$?
4444   grep -v '^ *+' conftest.er1 >conftest.err
4445   rm -f conftest.er1
4446   cat conftest.err >&5
4447   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4448   (exit $ac_status); } && {
4449          test -z "$ac_c_werror_flag" ||
4450          test ! -s conftest.err
4451        } && test -s conftest$ac_exeext && {
4452          test "$cross_compiling" = yes ||
4453          $as_test_x conftest$ac_exeext
4454        }; then
4455   ac_cv_func_bind_textdomain_codeset=yes
4456 else
4457   $as_echo "$as_me: failed program was:" >&5
4458 sed 's/^/| /' conftest.$ac_ext >&5
4459
4460         ac_cv_func_bind_textdomain_codeset=no
4461 fi
4462
4463 rm -rf conftest.dSYM
4464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4465       conftest$ac_exeext conftest.$ac_ext
4466 fi
4467 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
4468 $as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
4469 if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
4470   DATADIRNAME=share
4471 else
4472   DATADIRNAME=lib
4473 fi
4474
4475     ;;
4476     *)
4477     DATADIRNAME=lib
4478     ;;
4479     esac
4480 fi
4481
4482 rm -rf conftest.dSYM
4483 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4484       conftest$ac_exeext conftest.$ac_ext
4485 fi
4486
4487
4488
4489
4490
4491
4492 ac_ext=c
4493 ac_cpp='$CPP $CPPFLAGS'
4494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4497 if test -n "$ac_tool_prefix"; then
4498   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4499 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4500 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4501 $as_echo_n "checking for $ac_word... " >&6; }
4502 if test "${ac_cv_prog_CC+set}" = set; then
4503   $as_echo_n "(cached) " >&6
4504 else
4505   if test -n "$CC"; then
4506   ac_cv_prog_CC="$CC" # Let the user override the test.
4507 else
4508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4509 for as_dir in $PATH
4510 do
4511   IFS=$as_save_IFS
4512   test -z "$as_dir" && as_dir=.
4513   for ac_exec_ext in '' $ac_executable_extensions; do
4514   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4515     ac_cv_prog_CC="${ac_tool_prefix}gcc"
4516     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4517     break 2
4518   fi
4519 done
4520 done
4521 IFS=$as_save_IFS
4522
4523 fi
4524 fi
4525 CC=$ac_cv_prog_CC
4526 if test -n "$CC"; then
4527   { $as_echo "$as_me:$LINENO: result: $CC" >&5
4528 $as_echo "$CC" >&6; }
4529 else
4530   { $as_echo "$as_me:$LINENO: result: no" >&5
4531 $as_echo "no" >&6; }
4532 fi
4533
4534
4535 fi
4536 if test -z "$ac_cv_prog_CC"; then
4537   ac_ct_CC=$CC
4538   # Extract the first word of "gcc", so it can be a program name with args.
4539 set dummy gcc; ac_word=$2
4540 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4541 $as_echo_n "checking for $ac_word... " >&6; }
4542 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4543   $as_echo_n "(cached) " >&6
4544 else
4545   if test -n "$ac_ct_CC"; then
4546   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4547 else
4548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4549 for as_dir in $PATH
4550 do
4551   IFS=$as_save_IFS
4552   test -z "$as_dir" && as_dir=.
4553   for ac_exec_ext in '' $ac_executable_extensions; do
4554   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4555     ac_cv_prog_ac_ct_CC="gcc"
4556     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4557     break 2
4558   fi
4559 done
4560 done
4561 IFS=$as_save_IFS
4562
4563 fi
4564 fi
4565 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4566 if test -n "$ac_ct_CC"; then
4567   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4568 $as_echo "$ac_ct_CC" >&6; }
4569 else
4570   { $as_echo "$as_me:$LINENO: result: no" >&5
4571 $as_echo "no" >&6; }
4572 fi
4573
4574   if test "x$ac_ct_CC" = x; then
4575     CC=""
4576   else
4577     case $cross_compiling:$ac_tool_warned in
4578 yes:)
4579 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4580 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4581 ac_tool_warned=yes ;;
4582 esac
4583     CC=$ac_ct_CC
4584   fi
4585 else
4586   CC="$ac_cv_prog_CC"
4587 fi
4588
4589 if test -z "$CC"; then
4590           if test -n "$ac_tool_prefix"; then
4591     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4592 set dummy ${ac_tool_prefix}cc; ac_word=$2
4593 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4594 $as_echo_n "checking for $ac_word... " >&6; }
4595 if test "${ac_cv_prog_CC+set}" = set; then
4596   $as_echo_n "(cached) " >&6
4597 else
4598   if test -n "$CC"; then
4599   ac_cv_prog_CC="$CC" # Let the user override the test.
4600 else
4601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4602 for as_dir in $PATH
4603 do
4604   IFS=$as_save_IFS
4605   test -z "$as_dir" && as_dir=.
4606   for ac_exec_ext in '' $ac_executable_extensions; do
4607   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4608     ac_cv_prog_CC="${ac_tool_prefix}cc"
4609     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4610     break 2
4611   fi
4612 done
4613 done
4614 IFS=$as_save_IFS
4615
4616 fi
4617 fi
4618 CC=$ac_cv_prog_CC
4619 if test -n "$CC"; then
4620   { $as_echo "$as_me:$LINENO: result: $CC" >&5
4621 $as_echo "$CC" >&6; }
4622 else
4623   { $as_echo "$as_me:$LINENO: result: no" >&5
4624 $as_echo "no" >&6; }
4625 fi
4626
4627
4628   fi
4629 fi
4630 if test -z "$CC"; then
4631   # Extract the first word of "cc", so it can be a program name with args.
4632 set dummy cc; ac_word=$2
4633 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4634 $as_echo_n "checking for $ac_word... " >&6; }
4635 if test "${ac_cv_prog_CC+set}" = set; then
4636   $as_echo_n "(cached) " >&6
4637 else
4638   if test -n "$CC"; then
4639   ac_cv_prog_CC="$CC" # Let the user override the test.
4640 else
4641   ac_prog_rejected=no
4642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4643 for as_dir in $PATH
4644 do
4645   IFS=$as_save_IFS
4646   test -z "$as_dir" && as_dir=.
4647   for ac_exec_ext in '' $ac_executable_extensions; do
4648   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4649     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4650        ac_prog_rejected=yes
4651        continue
4652      fi
4653     ac_cv_prog_CC="cc"
4654     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4655     break 2
4656   fi
4657 done
4658 done
4659 IFS=$as_save_IFS
4660
4661 if test $ac_prog_rejected = yes; then
4662   # We found a bogon in the path, so make sure we never use it.
4663   set dummy $ac_cv_prog_CC
4664   shift
4665   if test $# != 0; then
4666     # We chose a different compiler from the bogus one.
4667     # However, it has the same basename, so the bogon will be chosen
4668     # first if we set CC to just the basename; use the full file name.
4669     shift
4670     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4671   fi
4672 fi
4673 fi
4674 fi
4675 CC=$ac_cv_prog_CC
4676 if test -n "$CC"; then
4677   { $as_echo "$as_me:$LINENO: result: $CC" >&5
4678 $as_echo "$CC" >&6; }
4679 else
4680   { $as_echo "$as_me:$LINENO: result: no" >&5
4681 $as_echo "no" >&6; }
4682 fi
4683
4684
4685 fi
4686 if test -z "$CC"; then
4687   if test -n "$ac_tool_prefix"; then
4688   for ac_prog in cl.exe
4689   do
4690     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4691 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4692 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4693 $as_echo_n "checking for $ac_word... " >&6; }
4694 if test "${ac_cv_prog_CC+set}" = set; then
4695   $as_echo_n "(cached) " >&6
4696 else
4697   if test -n "$CC"; then
4698   ac_cv_prog_CC="$CC" # Let the user override the test.
4699 else
4700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4701 for as_dir in $PATH
4702 do
4703   IFS=$as_save_IFS
4704   test -z "$as_dir" && as_dir=.
4705   for ac_exec_ext in '' $ac_executable_extensions; do
4706   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4707     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4708     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4709     break 2
4710   fi
4711 done
4712 done
4713 IFS=$as_save_IFS
4714
4715 fi
4716 fi
4717 CC=$ac_cv_prog_CC
4718 if test -n "$CC"; then
4719   { $as_echo "$as_me:$LINENO: result: $CC" >&5
4720 $as_echo "$CC" >&6; }
4721 else
4722   { $as_echo "$as_me:$LINENO: result: no" >&5
4723 $as_echo "no" >&6; }
4724 fi
4725
4726
4727     test -n "$CC" && break
4728   done
4729 fi
4730 if test -z "$CC"; then
4731   ac_ct_CC=$CC
4732   for ac_prog in cl.exe
4733 do
4734   # Extract the first word of "$ac_prog", so it can be a program name with args.
4735 set dummy $ac_prog; ac_word=$2
4736 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4737 $as_echo_n "checking for $ac_word... " >&6; }
4738 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4739   $as_echo_n "(cached) " >&6
4740 else
4741   if test -n "$ac_ct_CC"; then
4742   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4743 else
4744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4745 for as_dir in $PATH
4746 do
4747   IFS=$as_save_IFS
4748   test -z "$as_dir" && as_dir=.
4749   for ac_exec_ext in '' $ac_executable_extensions; do
4750   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4751     ac_cv_prog_ac_ct_CC="$ac_prog"
4752     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4753     break 2
4754   fi
4755 done
4756 done
4757 IFS=$as_save_IFS
4758
4759 fi
4760 fi
4761 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4762 if test -n "$ac_ct_CC"; then
4763   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4764 $as_echo "$ac_ct_CC" >&6; }
4765 else
4766   { $as_echo "$as_me:$LINENO: result: no" >&5
4767 $as_echo "no" >&6; }
4768 fi
4769
4770
4771   test -n "$ac_ct_CC" && break
4772 done
4773
4774   if test "x$ac_ct_CC" = x; then
4775     CC=""
4776   else
4777     case $cross_compiling:$ac_tool_warned in
4778 yes:)
4779 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4780 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4781 ac_tool_warned=yes ;;
4782 esac
4783     CC=$ac_ct_CC
4784   fi
4785 fi
4786
4787 fi
4788
4789
4790 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4791 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4792 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4793 See \`config.log' for more details." >&5
4794 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4795 See \`config.log' for more details." >&2;}
4796    { (exit 1); exit 1; }; }; }
4797
4798 # Provide some information about the compiler.
4799 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4800 set X $ac_compile
4801 ac_compiler=$2
4802 { (ac_try="$ac_compiler --version >&5"
4803 case "(($ac_try" in
4804   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4805   *) ac_try_echo=$ac_try;;
4806 esac
4807 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4808 $as_echo "$ac_try_echo") >&5
4809   (eval "$ac_compiler --version >&5") 2>&5
4810   ac_status=$?
4811   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4812   (exit $ac_status); }
4813 { (ac_try="$ac_compiler -v >&5"
4814 case "(($ac_try" in
4815   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4816   *) ac_try_echo=$ac_try;;
4817 esac
4818 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4819 $as_echo "$ac_try_echo") >&5
4820   (eval "$ac_compiler -v >&5") 2>&5
4821   ac_status=$?
4822   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4823   (exit $ac_status); }
4824 { (ac_try="$ac_compiler -V >&5"
4825 case "(($ac_try" in
4826   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4827   *) ac_try_echo=$ac_try;;
4828 esac
4829 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4830 $as_echo "$ac_try_echo") >&5
4831   (eval "$ac_compiler -V >&5") 2>&5
4832   ac_status=$?
4833   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4834   (exit $ac_status); }
4835
4836 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4837 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4838 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4839   $as_echo_n "(cached) " >&6
4840 else
4841   cat >conftest.$ac_ext <<_ACEOF
4842 /* confdefs.h.  */
4843 _ACEOF
4844 cat confdefs.h >>conftest.$ac_ext
4845 cat >>conftest.$ac_ext <<_ACEOF
4846 /* end confdefs.h.  */
4847
4848 int
4849 main ()
4850 {
4851 #ifndef __GNUC__
4852        choke me
4853 #endif
4854
4855   ;
4856   return 0;
4857 }
4858 _ACEOF
4859 rm -f conftest.$ac_objext
4860 if { (ac_try="$ac_compile"
4861 case "(($ac_try" in
4862   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4863   *) ac_try_echo=$ac_try;;
4864 esac
4865 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4866 $as_echo "$ac_try_echo") >&5
4867   (eval "$ac_compile") 2>conftest.er1
4868   ac_status=$?
4869   grep -v '^ *+' conftest.er1 >conftest.err
4870   rm -f conftest.er1
4871   cat conftest.err >&5
4872   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4873   (exit $ac_status); } && {
4874          test -z "$ac_c_werror_flag" ||
4875          test ! -s conftest.err
4876        } && test -s conftest.$ac_objext; then
4877   ac_compiler_gnu=yes
4878 else
4879   $as_echo "$as_me: failed program was:" >&5
4880 sed 's/^/| /' conftest.$ac_ext >&5
4881
4882         ac_compiler_gnu=no
4883 fi
4884
4885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4886 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4887
4888 fi
4889 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4890 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4891 if test $ac_compiler_gnu = yes; then
4892   GCC=yes
4893 else
4894   GCC=
4895 fi
4896 ac_test_CFLAGS=${CFLAGS+set}
4897 ac_save_CFLAGS=$CFLAGS
4898 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4899 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4900 if test "${ac_cv_prog_cc_g+set}" = set; then
4901   $as_echo_n "(cached) " >&6
4902 else
4903   ac_save_c_werror_flag=$ac_c_werror_flag
4904    ac_c_werror_flag=yes
4905    ac_cv_prog_cc_g=no
4906    CFLAGS="-g"
4907    cat >conftest.$ac_ext <<_ACEOF
4908 /* confdefs.h.  */
4909 _ACEOF
4910 cat confdefs.h >>conftest.$ac_ext
4911 cat >>conftest.$ac_ext <<_ACEOF
4912 /* end confdefs.h.  */
4913
4914 int
4915 main ()
4916 {
4917
4918   ;
4919   return 0;
4920 }
4921 _ACEOF
4922 rm -f conftest.$ac_objext
4923 if { (ac_try="$ac_compile"
4924 case "(($ac_try" in
4925   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4926   *) ac_try_echo=$ac_try;;
4927 esac
4928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4929 $as_echo "$ac_try_echo") >&5
4930   (eval "$ac_compile") 2>conftest.er1
4931   ac_status=$?
4932   grep -v '^ *+' conftest.er1 >conftest.err
4933   rm -f conftest.er1
4934   cat conftest.err >&5
4935   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4936   (exit $ac_status); } && {
4937          test -z "$ac_c_werror_flag" ||
4938          test ! -s conftest.err
4939        } && test -s conftest.$ac_objext; then
4940   ac_cv_prog_cc_g=yes
4941 else
4942   $as_echo "$as_me: failed program was:" >&5
4943 sed 's/^/| /' conftest.$ac_ext >&5
4944
4945         CFLAGS=""
4946       cat >conftest.$ac_ext <<_ACEOF
4947 /* confdefs.h.  */
4948 _ACEOF
4949 cat confdefs.h >>conftest.$ac_ext
4950 cat >>conftest.$ac_ext <<_ACEOF
4951 /* end confdefs.h.  */
4952
4953 int
4954 main ()
4955 {
4956
4957   ;
4958   return 0;
4959 }
4960 _ACEOF
4961 rm -f conftest.$ac_objext
4962 if { (ac_try="$ac_compile"
4963 case "(($ac_try" in
4964   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4965   *) ac_try_echo=$ac_try;;
4966 esac
4967 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4968 $as_echo "$ac_try_echo") >&5
4969   (eval "$ac_compile") 2>conftest.er1
4970   ac_status=$?
4971   grep -v '^ *+' conftest.er1 >conftest.err
4972   rm -f conftest.er1
4973   cat conftest.err >&5
4974   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4975   (exit $ac_status); } && {
4976          test -z "$ac_c_werror_flag" ||
4977          test ! -s conftest.err
4978        } && test -s conftest.$ac_objext; then
4979   :
4980 else
4981   $as_echo "$as_me: failed program was:" >&5
4982 sed 's/^/| /' conftest.$ac_ext >&5
4983
4984         ac_c_werror_flag=$ac_save_c_werror_flag
4985          CFLAGS="-g"
4986          cat >conftest.$ac_ext <<_ACEOF
4987 /* confdefs.h.  */
4988 _ACEOF
4989 cat confdefs.h >>conftest.$ac_ext
4990 cat >>conftest.$ac_ext <<_ACEOF
4991 /* end confdefs.h.  */
4992
4993 int
4994 main ()
4995 {
4996
4997   ;
4998   return 0;
4999 }
5000 _ACEOF
5001 rm -f conftest.$ac_objext
5002 if { (ac_try="$ac_compile"
5003 case "(($ac_try" in
5004   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5005   *) ac_try_echo=$ac_try;;
5006 esac
5007 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5008 $as_echo "$ac_try_echo") >&5
5009   (eval "$ac_compile") 2>conftest.er1
5010   ac_status=$?
5011   grep -v '^ *+' conftest.er1 >conftest.err
5012   rm -f conftest.er1
5013   cat conftest.err >&5
5014   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5015   (exit $ac_status); } && {
5016          test -z "$ac_c_werror_flag" ||
5017          test ! -s conftest.err
5018        } && test -s conftest.$ac_objext; then
5019   ac_cv_prog_cc_g=yes
5020 else
5021   $as_echo "$as_me: failed program was:" >&5
5022 sed 's/^/| /' conftest.$ac_ext >&5
5023
5024
5025 fi
5026
5027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5028 fi
5029
5030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5031 fi
5032
5033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5034    ac_c_werror_flag=$ac_save_c_werror_flag
5035 fi
5036 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5037 $as_echo "$ac_cv_prog_cc_g" >&6; }
5038 if test "$ac_test_CFLAGS" = set; then
5039   CFLAGS=$ac_save_CFLAGS
5040 elif test $ac_cv_prog_cc_g = yes; then
5041   if test "$GCC" = yes; then
5042     CFLAGS="-g -O2"
5043   else
5044     CFLAGS="-g"
5045   fi
5046 else
5047   if test "$GCC" = yes; then
5048     CFLAGS="-O2"
5049   else
5050     CFLAGS=
5051   fi
5052 fi
5053 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5054 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5055 if test "${ac_cv_prog_cc_c89+set}" = set; then
5056   $as_echo_n "(cached) " >&6
5057 else
5058   ac_cv_prog_cc_c89=no
5059 ac_save_CC=$CC
5060 cat >conftest.$ac_ext <<_ACEOF
5061 /* confdefs.h.  */
5062 _ACEOF
5063 cat confdefs.h >>conftest.$ac_ext
5064 cat >>conftest.$ac_ext <<_ACEOF
5065 /* end confdefs.h.  */
5066 #include <stdarg.h>
5067 #include <stdio.h>
5068 #include <sys/types.h>
5069 #include <sys/stat.h>
5070 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5071 struct buf { int x; };
5072 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5073 static char *e (p, i)
5074      char **p;
5075      int i;
5076 {
5077   return p[i];
5078 }
5079 static char *f (char * (*g) (char **, int), char **p, ...)
5080 {
5081   char *s;
5082   va_list v;
5083   va_start (v,p);
5084   s = g (p, va_arg (v,int));
5085   va_end (v);
5086   return s;
5087 }
5088
5089 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5090    function prototypes and stuff, but not '\xHH' hex character constants.
5091    These don't provoke an error unfortunately, instead are silently treated
5092    as 'x'.  The following induces an error, until -std is added to get
5093    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5094    array size at least.  It's necessary to write '\x00'==0 to get something
5095    that's true only with -std.  */
5096 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5097
5098 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5099    inside strings and character constants.  */
5100 #define FOO(x) 'x'
5101 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5102
5103 int test (int i, double x);
5104 struct s1 {int (*f) (int a);};
5105 struct s2 {int (*f) (double a);};
5106 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5107 int argc;
5108 char **argv;
5109 int
5110 main ()
5111 {
5112 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5113   ;
5114   return 0;
5115 }
5116 _ACEOF
5117 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5118         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5119 do
5120   CC="$ac_save_CC $ac_arg"
5121   rm -f conftest.$ac_objext
5122 if { (ac_try="$ac_compile"
5123 case "(($ac_try" in
5124   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5125   *) ac_try_echo=$ac_try;;
5126 esac
5127 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5128 $as_echo "$ac_try_echo") >&5
5129   (eval "$ac_compile") 2>conftest.er1
5130   ac_status=$?
5131   grep -v '^ *+' conftest.er1 >conftest.err
5132   rm -f conftest.er1
5133   cat conftest.err >&5
5134   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5135   (exit $ac_status); } && {
5136          test -z "$ac_c_werror_flag" ||
5137          test ! -s conftest.err
5138        } && test -s conftest.$ac_objext; then
5139   ac_cv_prog_cc_c89=$ac_arg
5140 else
5141   $as_echo "$as_me: failed program was:" >&5
5142 sed 's/^/| /' conftest.$ac_ext >&5
5143
5144
5145 fi
5146
5147 rm -f core conftest.err conftest.$ac_objext
5148   test "x$ac_cv_prog_cc_c89" != "xno" && break
5149 done
5150 rm -f conftest.$ac_ext
5151 CC=$ac_save_CC
5152
5153 fi
5154 # AC_CACHE_VAL
5155 case "x$ac_cv_prog_cc_c89" in
5156   x)
5157     { $as_echo "$as_me:$LINENO: result: none needed" >&5
5158 $as_echo "none needed" >&6; } ;;
5159   xno)
5160     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
5161 $as_echo "unsupported" >&6; } ;;
5162   *)
5163     CC="$CC $ac_cv_prog_cc_c89"
5164     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5165 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5166 esac
5167
5168
5169 ac_ext=c
5170 ac_cpp='$CPP $CPPFLAGS'
5171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5174
5175 depcc="$CC"   am_compiler_list=
5176
5177 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5178 $as_echo_n "checking dependency style of $depcc... " >&6; }
5179 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5180   $as_echo_n "(cached) " >&6
5181 else
5182   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5183   # We make a subdir and do the tests there.  Otherwise we can end up
5184   # making bogus files that we don't know about and never remove.  For
5185   # instance it was reported that on HP-UX the gcc test will end up
5186   # making a dummy file named `D' -- because `-MD' means `put the output
5187   # in D'.
5188   mkdir conftest.dir
5189   # Copy depcomp to subdir because otherwise we won't find it if we're
5190   # using a relative directory.
5191   cp "$am_depcomp" conftest.dir
5192   cd conftest.dir
5193   # We will build objects and dependencies in a subdirectory because
5194   # it helps to detect inapplicable dependency modes.  For instance
5195   # both Tru64's cc and ICC support -MD to output dependencies as a
5196   # side effect of compilation, but ICC will put the dependencies in
5197   # the current directory while Tru64 will put them in the object
5198   # directory.
5199   mkdir sub
5200
5201   am_cv_CC_dependencies_compiler_type=none
5202   if test "$am_compiler_list" = ""; then
5203      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5204   fi
5205   am__universal=false
5206   case " $depcc " in #(
5207      *\ -arch\ *\ -arch\ *) am__universal=true ;;
5208      esac
5209
5210   for depmode in $am_compiler_list; do
5211     # Setup a source with many dependencies, because some compilers
5212     # like to wrap large dependency lists on column 80 (with \), and
5213     # we should not choose a depcomp mode which is confused by this.
5214     #
5215     # We need to recreate these files for each test, as the compiler may
5216     # overwrite some of them when testing with obscure command lines.
5217     # This happens at least with the AIX C compiler.
5218     : > sub/conftest.c
5219     for i in 1 2 3 4 5 6; do
5220       echo '#include "conftst'$i'.h"' >> sub/conftest.c
5221       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5222       # Solaris 8's {/usr,}/bin/sh.
5223       touch sub/conftst$i.h
5224     done
5225     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5226
5227     # We check with `-c' and `-o' for the sake of the "dashmstdout"
5228     # mode.  It turns out that the SunPro C++ compiler does not properly
5229     # handle `-M -o', and we need to detect this.  Also, some Intel
5230     # versions had trouble with output in subdirs
5231     am__obj=sub/conftest.${OBJEXT-o}
5232     am__minus_obj="-o $am__obj"
5233     case $depmode in
5234     gcc)
5235       # This depmode causes a compiler race in universal mode.
5236       test "$am__universal" = false || continue
5237       ;;
5238     nosideeffect)
5239       # after this tag, mechanisms are not by side-effect, so they'll
5240       # only be used when explicitly requested
5241       if test "x$enable_dependency_tracking" = xyes; then
5242         continue
5243       else
5244         break
5245       fi
5246       ;;
5247     msvisualcpp | msvcmsys)
5248       # This compiler won't grok `-c -o', but also, the minuso test has
5249       # not run yet.  These depmodes are late enough in the game, and
5250       # so weak that their functioning should not be impacted.
5251       am__obj=conftest.${OBJEXT-o}
5252       am__minus_obj=
5253       ;;
5254     none) break ;;
5255     esac
5256     if depmode=$depmode \
5257        source=sub/conftest.c object=$am__obj \
5258        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5259        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5260          >/dev/null 2>conftest.err &&
5261        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5262        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5263        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5264        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5265       # icc doesn't choke on unknown options, it will just issue warnings
5266       # or remarks (even with -Werror).  So we grep stderr for any message
5267       # that says an option was ignored or not supported.
5268       # When given -MP, icc 7.0 and 7.1 complain thusly:
5269       #   icc: Command line warning: ignoring option '-M'; no argument required
5270       # The diagnosis changed in icc 8.0:
5271       #   icc: Command line remark: option '-MP' not supported
5272       if (grep 'ignoring option' conftest.err ||
5273           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5274         am_cv_CC_dependencies_compiler_type=$depmode
5275         break
5276       fi
5277     fi
5278   done
5279
5280   cd ..
5281   rm -rf conftest.dir
5282 else
5283   am_cv_CC_dependencies_compiler_type=none
5284 fi
5285
5286 fi
5287 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5288 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5289 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5290
5291  if
5292   test "x$enable_dependency_tracking" != xno \
5293   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5294   am__fastdepCC_TRUE=
5295   am__fastdepCC_FALSE='#'
5296 else
5297   am__fastdepCC_TRUE='#'
5298   am__fastdepCC_FALSE=
5299 fi
5300
5301
5302 ac_ext=c
5303 ac_cpp='$CPP $CPPFLAGS'
5304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5307 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5308 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5309 # On Suns, sometimes $CPP names a directory.
5310 if test -n "$CPP" && test -d "$CPP"; then
5311   CPP=
5312 fi
5313 if test -z "$CPP"; then
5314   if test "${ac_cv_prog_CPP+set}" = set; then
5315   $as_echo_n "(cached) " >&6
5316 else
5317       # Double quotes because CPP needs to be expanded
5318     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5319     do
5320       ac_preproc_ok=false
5321 for ac_c_preproc_warn_flag in '' yes
5322 do
5323   # Use a header file that comes with gcc, so configuring glibc
5324   # with a fresh cross-compiler works.
5325   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5326   # <limits.h> exists even on freestanding compilers.
5327   # On the NeXT, cc -E runs the code through the compiler's parser,
5328   # not just through cpp. "Syntax error" is here to catch this case.
5329   cat >conftest.$ac_ext <<_ACEOF
5330 /* confdefs.h.  */
5331 _ACEOF
5332 cat confdefs.h >>conftest.$ac_ext
5333 cat >>conftest.$ac_ext <<_ACEOF
5334 /* end confdefs.h.  */
5335 #ifdef __STDC__
5336 # include <limits.h>
5337 #else
5338 # include <assert.h>
5339 #endif
5340                      Syntax error
5341 _ACEOF
5342 if { (ac_try="$ac_cpp conftest.$ac_ext"
5343 case "(($ac_try" in
5344   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5345   *) ac_try_echo=$ac_try;;
5346 esac
5347 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5348 $as_echo "$ac_try_echo") >&5
5349   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5350   ac_status=$?
5351   grep -v '^ *+' conftest.er1 >conftest.err
5352   rm -f conftest.er1
5353   cat conftest.err >&5
5354   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5355   (exit $ac_status); } >/dev/null && {
5356          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5357          test ! -s conftest.err
5358        }; then
5359   :
5360 else
5361   $as_echo "$as_me: failed program was:" >&5
5362 sed 's/^/| /' conftest.$ac_ext >&5
5363
5364   # Broken: fails on valid input.
5365 continue
5366 fi
5367
5368 rm -f conftest.err conftest.$ac_ext
5369
5370   # OK, works on sane cases.  Now check whether nonexistent headers
5371   # can be detected and how.
5372   cat >conftest.$ac_ext <<_ACEOF
5373 /* confdefs.h.  */
5374 _ACEOF
5375 cat confdefs.h >>conftest.$ac_ext
5376 cat >>conftest.$ac_ext <<_ACEOF
5377 /* end confdefs.h.  */
5378 #include <ac_nonexistent.h>
5379 _ACEOF
5380 if { (ac_try="$ac_cpp conftest.$ac_ext"
5381 case "(($ac_try" in
5382   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5383   *) ac_try_echo=$ac_try;;
5384 esac
5385 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5386 $as_echo "$ac_try_echo") >&5
5387   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5388   ac_status=$?
5389   grep -v '^ *+' conftest.er1 >conftest.err
5390   rm -f conftest.er1
5391   cat conftest.err >&5
5392   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5393   (exit $ac_status); } >/dev/null && {
5394          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5395          test ! -s conftest.err
5396        }; then
5397   # Broken: success on invalid input.
5398 continue
5399 else
5400   $as_echo "$as_me: failed program was:" >&5
5401 sed 's/^/| /' conftest.$ac_ext >&5
5402
5403   # Passes both tests.
5404 ac_preproc_ok=:
5405 break
5406 fi
5407
5408 rm -f conftest.err conftest.$ac_ext
5409
5410 done
5411 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5412 rm -f conftest.err conftest.$ac_ext
5413 if $ac_preproc_ok; then
5414   break
5415 fi
5416
5417     done
5418     ac_cv_prog_CPP=$CPP
5419
5420 fi
5421   CPP=$ac_cv_prog_CPP
5422 else
5423   ac_cv_prog_CPP=$CPP
5424 fi
5425 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
5426 $as_echo "$CPP" >&6; }
5427 ac_preproc_ok=false
5428 for ac_c_preproc_warn_flag in '' yes
5429 do
5430   # Use a header file that comes with gcc, so configuring glibc
5431   # with a fresh cross-compiler works.
5432   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5433   # <limits.h> exists even on freestanding compilers.
5434   # On the NeXT, cc -E runs the code through the compiler's parser,
5435   # not just through cpp. "Syntax error" is here to catch this case.
5436   cat >conftest.$ac_ext <<_ACEOF
5437 /* confdefs.h.  */
5438 _ACEOF
5439 cat confdefs.h >>conftest.$ac_ext
5440 cat >>conftest.$ac_ext <<_ACEOF
5441 /* end confdefs.h.  */
5442 #ifdef __STDC__
5443 # include <limits.h>
5444 #else
5445 # include <assert.h>
5446 #endif
5447                      Syntax error
5448 _ACEOF
5449 if { (ac_try="$ac_cpp conftest.$ac_ext"
5450 case "(($ac_try" in
5451   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5452   *) ac_try_echo=$ac_try;;
5453 esac
5454 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5455 $as_echo "$ac_try_echo") >&5
5456   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5457   ac_status=$?
5458   grep -v '^ *+' conftest.er1 >conftest.err
5459   rm -f conftest.er1
5460   cat conftest.err >&5
5461   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5462   (exit $ac_status); } >/dev/null && {
5463          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5464          test ! -s conftest.err
5465        }; then
5466   :
5467 else
5468   $as_echo "$as_me: failed program was:" >&5
5469 sed 's/^/| /' conftest.$ac_ext >&5
5470
5471   # Broken: fails on valid input.
5472 continue
5473 fi
5474
5475 rm -f conftest.err conftest.$ac_ext
5476
5477   # OK, works on sane cases.  Now check whether nonexistent headers
5478   # can be detected and how.
5479   cat >conftest.$ac_ext <<_ACEOF
5480 /* confdefs.h.  */
5481 _ACEOF
5482 cat confdefs.h >>conftest.$ac_ext
5483 cat >>conftest.$ac_ext <<_ACEOF
5484 /* end confdefs.h.  */
5485 #include <ac_nonexistent.h>
5486 _ACEOF
5487 if { (ac_try="$ac_cpp conftest.$ac_ext"
5488 case "(($ac_try" in
5489   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5490   *) ac_try_echo=$ac_try;;
5491 esac
5492 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5493 $as_echo "$ac_try_echo") >&5
5494   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5495   ac_status=$?
5496   grep -v '^ *+' conftest.er1 >conftest.err
5497   rm -f conftest.er1
5498   cat conftest.err >&5
5499   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5500   (exit $ac_status); } >/dev/null && {
5501          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5502          test ! -s conftest.err
5503        }; then
5504   # Broken: success on invalid input.
5505 continue
5506 else
5507   $as_echo "$as_me: failed program was:" >&5
5508 sed 's/^/| /' conftest.$ac_ext >&5
5509
5510   # Passes both tests.
5511 ac_preproc_ok=:
5512 break
5513 fi
5514
5515 rm -f conftest.err conftest.$ac_ext
5516
5517 done
5518 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5519 rm -f conftest.err conftest.$ac_ext
5520 if $ac_preproc_ok; then
5521   :
5522 else
5523   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5524 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5525 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5526 See \`config.log' for more details." >&5
5527 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5528 See \`config.log' for more details." >&2;}
5529    { (exit 1); exit 1; }; }; }
5530 fi
5531
5532 ac_ext=c
5533 ac_cpp='$CPP $CPPFLAGS'
5534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5537
5538
5539 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5540 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5541 if test "${ac_cv_path_GREP+set}" = set; then
5542   $as_echo_n "(cached) " >&6
5543 else
5544   if test -z "$GREP"; then
5545   ac_path_GREP_found=false
5546   # Loop through the user's path and test for each of PROGNAME-LIST
5547   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5548 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5549 do
5550   IFS=$as_save_IFS
5551   test -z "$as_dir" && as_dir=.
5552   for ac_prog in grep ggrep; do
5553     for ac_exec_ext in '' $ac_executable_extensions; do
5554       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5555       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5556 # Check for GNU ac_path_GREP and select it if it is found.
5557   # Check for GNU $ac_path_GREP
5558 case `"$ac_path_GREP" --version 2>&1` in
5559 *GNU*)
5560   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5561 *)
5562   ac_count=0
5563   $as_echo_n 0123456789 >"conftest.in"
5564   while :
5565   do
5566     cat "conftest.in" "conftest.in" >"conftest.tmp"
5567     mv "conftest.tmp" "conftest.in"
5568     cp "conftest.in" "conftest.nl"
5569     $as_echo 'GREP' >> "conftest.nl"
5570     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5571     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5572     ac_count=`expr $ac_count + 1`
5573     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5574       # Best one so far, save it but keep looking for a better one
5575       ac_cv_path_GREP="$ac_path_GREP"
5576       ac_path_GREP_max=$ac_count
5577     fi
5578     # 10*(2^10) chars as input seems more than enough
5579     test $ac_count -gt 10 && break
5580   done
5581   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5582 esac
5583
5584       $ac_path_GREP_found && break 3
5585     done
5586   done
5587 done
5588 IFS=$as_save_IFS
5589   if test -z "$ac_cv_path_GREP"; then
5590     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5591 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5592    { (exit 1); exit 1; }; }
5593   fi
5594 else
5595   ac_cv_path_GREP=$GREP
5596 fi
5597
5598 fi
5599 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5600 $as_echo "$ac_cv_path_GREP" >&6; }
5601  GREP="$ac_cv_path_GREP"
5602
5603
5604 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
5605 $as_echo_n "checking for egrep... " >&6; }
5606 if test "${ac_cv_path_EGREP+set}" = set; then
5607   $as_echo_n "(cached) " >&6
5608 else
5609   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5610    then ac_cv_path_EGREP="$GREP -E"
5611    else
5612      if test -z "$EGREP"; then
5613   ac_path_EGREP_found=false
5614   # Loop through the user's path and test for each of PROGNAME-LIST
5615   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5616 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5617 do
5618   IFS=$as_save_IFS
5619   test -z "$as_dir" && as_dir=.
5620   for ac_prog in egrep; do
5621     for ac_exec_ext in '' $ac_executable_extensions; do
5622       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5623       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5624 # Check for GNU ac_path_EGREP and select it if it is found.
5625   # Check for GNU $ac_path_EGREP
5626 case `"$ac_path_EGREP" --version 2>&1` in
5627 *GNU*)
5628   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5629 *)
5630   ac_count=0
5631   $as_echo_n 0123456789 >"conftest.in"
5632   while :
5633   do
5634     cat "conftest.in" "conftest.in" >"conftest.tmp"
5635     mv "conftest.tmp" "conftest.in"
5636     cp "conftest.in" "conftest.nl"
5637     $as_echo 'EGREP' >> "conftest.nl"
5638     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5639     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5640     ac_count=`expr $ac_count + 1`
5641     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5642       # Best one so far, save it but keep looking for a better one
5643       ac_cv_path_EGREP="$ac_path_EGREP"
5644       ac_path_EGREP_max=$ac_count
5645     fi
5646     # 10*(2^10) chars as input seems more than enough
5647     test $ac_count -gt 10 && break
5648   done
5649   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5650 esac
5651
5652       $ac_path_EGREP_found && break 3
5653     done
5654   done
5655 done
5656 IFS=$as_save_IFS
5657   if test -z "$ac_cv_path_EGREP"; then
5658     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5659 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5660    { (exit 1); exit 1; }; }
5661   fi
5662 else
5663   ac_cv_path_EGREP=$EGREP
5664 fi
5665
5666    fi
5667 fi
5668 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5669 $as_echo "$ac_cv_path_EGREP" >&6; }
5670  EGREP="$ac_cv_path_EGREP"
5671
5672
5673 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5674 $as_echo_n "checking for ANSI C header files... " >&6; }
5675 if test "${ac_cv_header_stdc+set}" = set; then
5676   $as_echo_n "(cached) " >&6
5677 else
5678   cat >conftest.$ac_ext <<_ACEOF
5679 /* confdefs.h.  */
5680 _ACEOF
5681 cat confdefs.h >>conftest.$ac_ext
5682 cat >>conftest.$ac_ext <<_ACEOF
5683 /* end confdefs.h.  */
5684 #include <stdlib.h>
5685 #include <stdarg.h>
5686 #include <string.h>
5687 #include <float.h>
5688
5689 int
5690 main ()
5691 {
5692
5693   ;
5694   return 0;
5695 }
5696 _ACEOF
5697 rm -f conftest.$ac_objext
5698 if { (ac_try="$ac_compile"
5699 case "(($ac_try" in
5700   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5701   *) ac_try_echo=$ac_try;;
5702 esac
5703 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5704 $as_echo "$ac_try_echo") >&5
5705   (eval "$ac_compile") 2>conftest.er1
5706   ac_status=$?
5707   grep -v '^ *+' conftest.er1 >conftest.err
5708   rm -f conftest.er1
5709   cat conftest.err >&5
5710   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5711   (exit $ac_status); } && {
5712          test -z "$ac_c_werror_flag" ||
5713          test ! -s conftest.err
5714        } && test -s conftest.$ac_objext; then
5715   ac_cv_header_stdc=yes
5716 else
5717   $as_echo "$as_me: failed program was:" >&5
5718 sed 's/^/| /' conftest.$ac_ext >&5
5719
5720         ac_cv_header_stdc=no
5721 fi
5722
5723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5724
5725 if test $ac_cv_header_stdc = yes; then
5726   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5727   cat >conftest.$ac_ext <<_ACEOF
5728 /* confdefs.h.  */
5729 _ACEOF
5730 cat confdefs.h >>conftest.$ac_ext
5731 cat >>conftest.$ac_ext <<_ACEOF
5732 /* end confdefs.h.  */
5733 #include <string.h>
5734
5735 _ACEOF
5736 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5737   $EGREP "memchr" >/dev/null 2>&1; then
5738   :
5739 else
5740   ac_cv_header_stdc=no
5741 fi
5742 rm -f conftest*
5743
5744 fi
5745
5746 if test $ac_cv_header_stdc = yes; then
5747   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5748   cat >conftest.$ac_ext <<_ACEOF
5749 /* confdefs.h.  */
5750 _ACEOF
5751 cat confdefs.h >>conftest.$ac_ext
5752 cat >>conftest.$ac_ext <<_ACEOF
5753 /* end confdefs.h.  */
5754 #include <stdlib.h>
5755
5756 _ACEOF
5757 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5758   $EGREP "free" >/dev/null 2>&1; then
5759   :
5760 else
5761   ac_cv_header_stdc=no
5762 fi
5763 rm -f conftest*
5764
5765 fi
5766
5767 if test $ac_cv_header_stdc = yes; then
5768   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5769   if test "$cross_compiling" = yes; then
5770   :
5771 else
5772   cat >conftest.$ac_ext <<_ACEOF
5773 /* confdefs.h.  */
5774 _ACEOF
5775 cat confdefs.h >>conftest.$ac_ext
5776 cat >>conftest.$ac_ext <<_ACEOF
5777 /* end confdefs.h.  */
5778 #include <ctype.h>
5779 #include <stdlib.h>
5780 #if ((' ' & 0x0FF) == 0x020)
5781 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5782 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5783 #else
5784 # define ISLOWER(c) \
5785                    (('a' <= (c) && (c) <= 'i') \
5786                      || ('j' <= (c) && (c) <= 'r') \
5787                      || ('s' <= (c) && (c) <= 'z'))
5788 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5789 #endif
5790
5791 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5792 int
5793 main ()
5794 {
5795   int i;
5796   for (i = 0; i < 256; i++)
5797     if (XOR (islower (i), ISLOWER (i))
5798         || toupper (i) != TOUPPER (i))
5799       return 2;
5800   return 0;
5801 }
5802 _ACEOF
5803 rm -f conftest$ac_exeext
5804 if { (ac_try="$ac_link"
5805 case "(($ac_try" in
5806   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5807   *) ac_try_echo=$ac_try;;
5808 esac
5809 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5810 $as_echo "$ac_try_echo") >&5
5811   (eval "$ac_link") 2>&5
5812   ac_status=$?
5813   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5814   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5815   { (case "(($ac_try" in
5816   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5817   *) ac_try_echo=$ac_try;;
5818 esac
5819 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5820 $as_echo "$ac_try_echo") >&5
5821   (eval "$ac_try") 2>&5
5822   ac_status=$?
5823   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5824   (exit $ac_status); }; }; then
5825   :
5826 else
5827   $as_echo "$as_me: program exited with status $ac_status" >&5
5828 $as_echo "$as_me: failed program was:" >&5
5829 sed 's/^/| /' conftest.$ac_ext >&5
5830
5831 ( exit $ac_status )
5832 ac_cv_header_stdc=no
5833 fi
5834 rm -rf conftest.dSYM
5835 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5836 fi
5837
5838
5839 fi
5840 fi
5841 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5842 $as_echo "$ac_cv_header_stdc" >&6; }
5843 if test $ac_cv_header_stdc = yes; then
5844
5845 cat >>confdefs.h <<\_ACEOF
5846 #define STDC_HEADERS 1
5847 _ACEOF
5848
5849 fi
5850
5851 case `pwd` in
5852   *\ * | *\     *)
5853     { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5854 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5855 esac
5856
5857
5858
5859 macro_version='2.2.6'
5860 macro_revision='1.3012'
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874 ltmain="$ac_aux_dir/ltmain.sh"
5875
5876 # Make sure we can run config.sub.
5877 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5878   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
5879 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
5880    { (exit 1); exit 1; }; }
5881
5882 { $as_echo "$as_me:$LINENO: checking build system type" >&5
5883 $as_echo_n "checking build system type... " >&6; }
5884 if test "${ac_cv_build+set}" = set; then
5885   $as_echo_n "(cached) " >&6
5886 else
5887   ac_build_alias=$build_alias
5888 test "x$ac_build_alias" = x &&
5889   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5890 test "x$ac_build_alias" = x &&
5891   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
5892 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5893    { (exit 1); exit 1; }; }
5894 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5895   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
5896 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
5897    { (exit 1); exit 1; }; }
5898
5899 fi
5900 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5901 $as_echo "$ac_cv_build" >&6; }
5902 case $ac_cv_build in
5903 *-*-*) ;;
5904 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
5905 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
5906    { (exit 1); exit 1; }; };;
5907 esac
5908 build=$ac_cv_build
5909 ac_save_IFS=$IFS; IFS='-'
5910 set x $ac_cv_build
5911 shift
5912 build_cpu=$1
5913 build_vendor=$2
5914 shift; shift
5915 # Remember, the first character of IFS is used to create $*,
5916 # except with old shells:
5917 build_os=$*
5918 IFS=$ac_save_IFS
5919 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5920
5921
5922 { $as_echo "$as_me:$LINENO: checking host system type" >&5
5923 $as_echo_n "checking host system type... " >&6; }
5924 if test "${ac_cv_host+set}" = set; then
5925   $as_echo_n "(cached) " >&6
5926 else
5927   if test "x$host_alias" = x; then
5928   ac_cv_host=$ac_cv_build
5929 else
5930   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5931     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
5932 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
5933    { (exit 1); exit 1; }; }
5934 fi
5935
5936 fi
5937 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5938 $as_echo "$ac_cv_host" >&6; }
5939 case $ac_cv_host in
5940 *-*-*) ;;
5941 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
5942 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
5943    { (exit 1); exit 1; }; };;
5944 esac
5945 host=$ac_cv_host
5946 ac_save_IFS=$IFS; IFS='-'
5947 set x $ac_cv_host
5948 shift
5949 host_cpu=$1
5950 host_vendor=$2
5951 shift; shift
5952 # Remember, the first character of IFS is used to create $*,
5953 # except with old shells:
5954 host_os=$*
5955 IFS=$ac_save_IFS
5956 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5957
5958
5959 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5960 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5961 if test "${ac_cv_path_SED+set}" = set; then
5962   $as_echo_n "(cached) " >&6
5963 else
5964             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5965      for ac_i in 1 2 3 4 5 6 7; do
5966        ac_script="$ac_script$as_nl$ac_script"
5967      done
5968      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5969      $as_unset ac_script || ac_script=
5970      if test -z "$SED"; then
5971   ac_path_SED_found=false
5972   # Loop through the user's path and test for each of PROGNAME-LIST
5973   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5974 for as_dir in $PATH
5975 do
5976   IFS=$as_save_IFS
5977   test -z "$as_dir" && as_dir=.
5978   for ac_prog in sed gsed; do
5979     for ac_exec_ext in '' $ac_executable_extensions; do
5980       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5981       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5982 # Check for GNU ac_path_SED and select it if it is found.
5983   # Check for GNU $ac_path_SED
5984 case `"$ac_path_SED" --version 2>&1` in
5985 *GNU*)
5986   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5987 *)
5988   ac_count=0
5989   $as_echo_n 0123456789 >"conftest.in"
5990   while :
5991   do
5992     cat "conftest.in" "conftest.in" >"conftest.tmp"
5993     mv "conftest.tmp" "conftest.in"
5994     cp "conftest.in" "conftest.nl"
5995     $as_echo '' >> "conftest.nl"
5996     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5997     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5998     ac_count=`expr $ac_count + 1`
5999     if test $ac_count -gt ${ac_path_SED_max-0}; then
6000       # Best one so far, save it but keep looking for a better one
6001       ac_cv_path_SED="$ac_path_SED"
6002       ac_path_SED_max=$ac_count
6003     fi
6004     # 10*(2^10) chars as input seems more than enough
6005     test $ac_count -gt 10 && break
6006   done
6007   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6008 esac
6009
6010       $ac_path_SED_found && break 3
6011     done
6012   done
6013 done
6014 IFS=$as_save_IFS
6015   if test -z "$ac_cv_path_SED"; then
6016     { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
6017 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
6018    { (exit 1); exit 1; }; }
6019   fi
6020 else
6021   ac_cv_path_SED=$SED
6022 fi
6023
6024 fi
6025 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
6026 $as_echo "$ac_cv_path_SED" >&6; }
6027  SED="$ac_cv_path_SED"
6028   rm -f conftest.sed
6029
6030 test -z "$SED" && SED=sed
6031 Xsed="$SED -e 1s/^X//"
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
6044 $as_echo_n "checking for fgrep... " >&6; }
6045 if test "${ac_cv_path_FGREP+set}" = set; then
6046   $as_echo_n "(cached) " >&6
6047 else
6048   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6049    then ac_cv_path_FGREP="$GREP -F"
6050    else
6051      if test -z "$FGREP"; then
6052   ac_path_FGREP_found=false
6053   # Loop through the user's path and test for each of PROGNAME-LIST
6054   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6055 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6056 do
6057   IFS=$as_save_IFS
6058   test -z "$as_dir" && as_dir=.
6059   for ac_prog in fgrep; do
6060     for ac_exec_ext in '' $ac_executable_extensions; do
6061       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6062       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6063 # Check for GNU ac_path_FGREP and select it if it is found.
6064   # Check for GNU $ac_path_FGREP
6065 case `"$ac_path_FGREP" --version 2>&1` in
6066 *GNU*)
6067   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6068 *)
6069   ac_count=0
6070   $as_echo_n 0123456789 >"conftest.in"
6071   while :
6072   do
6073     cat "conftest.in" "conftest.in" >"conftest.tmp"
6074     mv "conftest.tmp" "conftest.in"
6075     cp "conftest.in" "conftest.nl"
6076     $as_echo 'FGREP' >> "conftest.nl"
6077     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6078     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6079     ac_count=`expr $ac_count + 1`
6080     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6081       # Best one so far, save it but keep looking for a better one
6082       ac_cv_path_FGREP="$ac_path_FGREP"
6083       ac_path_FGREP_max=$ac_count
6084     fi
6085     # 10*(2^10) chars as input seems more than enough
6086     test $ac_count -gt 10 && break
6087   done
6088   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6089 esac
6090
6091       $ac_path_FGREP_found && break 3
6092     done
6093   done
6094 done
6095 IFS=$as_save_IFS
6096   if test -z "$ac_cv_path_FGREP"; then
6097     { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6098 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6099    { (exit 1); exit 1; }; }
6100   fi
6101 else
6102   ac_cv_path_FGREP=$FGREP
6103 fi
6104
6105    fi
6106 fi
6107 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
6108 $as_echo "$ac_cv_path_FGREP" >&6; }
6109  FGREP="$ac_cv_path_FGREP"
6110
6111
6112 test -z "$GREP" && GREP=grep
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132 # Check whether --with-gnu-ld was given.
6133 if test "${with_gnu_ld+set}" = set; then
6134   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6135 else
6136   with_gnu_ld=no
6137 fi
6138
6139 ac_prog=ld
6140 if test "$GCC" = yes; then
6141   # Check if gcc -print-prog-name=ld gives a path.
6142   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
6143 $as_echo_n "checking for ld used by $CC... " >&6; }
6144   case $host in
6145   *-*-mingw*)
6146     # gcc leaves a trailing carriage return which upsets mingw
6147     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6148   *)
6149     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6150   esac
6151   case $ac_prog in
6152     # Accept absolute paths.
6153     [\\/]* | ?:[\\/]*)
6154       re_direlt='/[^/][^/]*/\.\./'
6155       # Canonicalize the pathname of ld
6156       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6157       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6158         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6159       done
6160       test -z "$LD" && LD="$ac_prog"
6161       ;;
6162   "")
6163     # If it fails, then pretend we aren't using GCC.
6164     ac_prog=ld
6165     ;;
6166   *)
6167     # If it is relative, then search for the first ld in PATH.
6168     with_gnu_ld=unknown
6169     ;;
6170   esac
6171 elif test "$with_gnu_ld" = yes; then
6172   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
6173 $as_echo_n "checking for GNU ld... " >&6; }
6174 else
6175   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6176 $as_echo_n "checking for non-GNU ld... " >&6; }
6177 fi
6178 if test "${lt_cv_path_LD+set}" = set; then
6179   $as_echo_n "(cached) " >&6
6180 else
6181   if test -z "$LD"; then
6182   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6183   for ac_dir in $PATH; do
6184     IFS="$lt_save_ifs"
6185     test -z "$ac_dir" && ac_dir=.
6186     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6187       lt_cv_path_LD="$ac_dir/$ac_prog"
6188       # Check to see if the program is GNU ld.  I'd rather use --version,
6189       # but apparently some variants of GNU ld only accept -v.
6190       # Break only if it was the GNU/non-GNU ld that we prefer.
6191       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6192       *GNU* | *'with BFD'*)
6193         test "$with_gnu_ld" != no && break
6194         ;;
6195       *)
6196         test "$with_gnu_ld" != yes && break
6197         ;;
6198       esac
6199     fi
6200   done
6201   IFS="$lt_save_ifs"
6202 else
6203   lt_cv_path_LD="$LD" # Let the user override the test with a path.
6204 fi
6205 fi
6206
6207 LD="$lt_cv_path_LD"
6208 if test -n "$LD"; then
6209   { $as_echo "$as_me:$LINENO: result: $LD" >&5
6210 $as_echo "$LD" >&6; }
6211 else
6212   { $as_echo "$as_me:$LINENO: result: no" >&5
6213 $as_echo "no" >&6; }
6214 fi
6215 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6216 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6217    { (exit 1); exit 1; }; }
6218 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6219 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6220 if test "${lt_cv_prog_gnu_ld+set}" = set; then
6221   $as_echo_n "(cached) " >&6
6222 else
6223   # I'd rather use --version here, but apparently some GNU lds only accept -v.
6224 case `$LD -v 2>&1 </dev/null` in
6225 *GNU* | *'with BFD'*)
6226   lt_cv_prog_gnu_ld=yes
6227   ;;
6228 *)
6229   lt_cv_prog_gnu_ld=no
6230   ;;
6231 esac
6232 fi
6233 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
6234 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6235 with_gnu_ld=$lt_cv_prog_gnu_ld
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
6246 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6247 if test "${lt_cv_path_NM+set}" = set; then
6248   $as_echo_n "(cached) " >&6
6249 else
6250   if test -n "$NM"; then
6251   # Let the user override the test.
6252   lt_cv_path_NM="$NM"
6253 else
6254   lt_nm_to_check="${ac_tool_prefix}nm"
6255   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6256     lt_nm_to_check="$lt_nm_to_check nm"
6257   fi
6258   for lt_tmp_nm in $lt_nm_to_check; do
6259     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6260     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6261       IFS="$lt_save_ifs"
6262       test -z "$ac_dir" && ac_dir=.
6263       tmp_nm="$ac_dir/$lt_tmp_nm"
6264       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6265         # Check to see if the nm accepts a BSD-compat flag.
6266         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6267         #   nm: unknown option "B" ignored
6268         # Tru64's nm complains that /dev/null is an invalid object file
6269         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6270         */dev/null* | *'Invalid file or object type'*)
6271           lt_cv_path_NM="$tmp_nm -B"
6272           break
6273           ;;
6274         *)
6275           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6276           */dev/null*)
6277             lt_cv_path_NM="$tmp_nm -p"
6278             break
6279             ;;
6280           *)
6281             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6282             continue # so that we can try to find one that supports BSD flags
6283             ;;
6284           esac
6285           ;;
6286         esac
6287       fi
6288     done
6289     IFS="$lt_save_ifs"
6290   done
6291   : ${lt_cv_path_NM=no}
6292 fi
6293 fi
6294 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6295 $as_echo "$lt_cv_path_NM" >&6; }
6296 if test "$lt_cv_path_NM" != "no"; then
6297   NM="$lt_cv_path_NM"
6298 else
6299   # Didn't find any BSD compatible name lister, look for dumpbin.
6300   if test -n "$ac_tool_prefix"; then
6301   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6302   do
6303     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6304 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6305 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6306 $as_echo_n "checking for $ac_word... " >&6; }
6307 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
6308   $as_echo_n "(cached) " >&6
6309 else
6310   if test -n "$DUMPBIN"; then
6311   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6312 else
6313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6314 for as_dir in $PATH
6315 do
6316   IFS=$as_save_IFS
6317   test -z "$as_dir" && as_dir=.
6318   for ac_exec_ext in '' $ac_executable_extensions; do
6319   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6320     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6321     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6322     break 2
6323   fi
6324 done
6325 done
6326 IFS=$as_save_IFS
6327
6328 fi
6329 fi
6330 DUMPBIN=$ac_cv_prog_DUMPBIN
6331 if test -n "$DUMPBIN"; then
6332   { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
6333 $as_echo "$DUMPBIN" >&6; }
6334 else
6335   { $as_echo "$as_me:$LINENO: result: no" >&5
6336 $as_echo "no" >&6; }
6337 fi
6338
6339
6340     test -n "$DUMPBIN" && break
6341   done
6342 fi
6343 if test -z "$DUMPBIN"; then
6344   ac_ct_DUMPBIN=$DUMPBIN
6345   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6346 do
6347   # Extract the first word of "$ac_prog", so it can be a program name with args.
6348 set dummy $ac_prog; ac_word=$2
6349 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6350 $as_echo_n "checking for $ac_word... " >&6; }
6351 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
6352   $as_echo_n "(cached) " >&6
6353 else
6354   if test -n "$ac_ct_DUMPBIN"; then
6355   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6356 else
6357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6358 for as_dir in $PATH
6359 do
6360   IFS=$as_save_IFS
6361   test -z "$as_dir" && as_dir=.
6362   for ac_exec_ext in '' $ac_executable_extensions; do
6363   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6364     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6365     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6366     break 2
6367   fi
6368 done
6369 done
6370 IFS=$as_save_IFS
6371
6372 fi
6373 fi
6374 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6375 if test -n "$ac_ct_DUMPBIN"; then
6376   { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
6377 $as_echo "$ac_ct_DUMPBIN" >&6; }
6378 else
6379   { $as_echo "$as_me:$LINENO: result: no" >&5
6380 $as_echo "no" >&6; }
6381 fi
6382
6383
6384   test -n "$ac_ct_DUMPBIN" && break
6385 done
6386
6387   if test "x$ac_ct_DUMPBIN" = x; then
6388     DUMPBIN=":"
6389   else
6390     case $cross_compiling:$ac_tool_warned in
6391 yes:)
6392 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6393 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6394 ac_tool_warned=yes ;;
6395 esac
6396     DUMPBIN=$ac_ct_DUMPBIN
6397   fi
6398 fi
6399
6400
6401   if test "$DUMPBIN" != ":"; then
6402     NM="$DUMPBIN"
6403   fi
6404 fi
6405 test -z "$NM" && NM=nm
6406
6407
6408
6409
6410
6411
6412 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
6413 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6414 if test "${lt_cv_nm_interface+set}" = set; then
6415   $as_echo_n "(cached) " >&6
6416 else
6417   lt_cv_nm_interface="BSD nm"
6418   echo "int some_variable = 0;" > conftest.$ac_ext
6419   (eval echo "\"\$as_me:6419: $ac_compile\"" >&5)
6420   (eval "$ac_compile" 2>conftest.err)
6421   cat conftest.err >&5
6422   (eval echo "\"\$as_me:6422: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6423   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6424   cat conftest.err >&5
6425   (eval echo "\"\$as_me:6425: output\"" >&5)
6426   cat conftest.out >&5
6427   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6428     lt_cv_nm_interface="MS dumpbin"
6429   fi
6430   rm -f conftest*
6431 fi
6432 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
6433 $as_echo "$lt_cv_nm_interface" >&6; }
6434
6435 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
6436 $as_echo_n "checking whether ln -s works... " >&6; }
6437 LN_S=$as_ln_s
6438 if test "$LN_S" = "ln -s"; then
6439   { $as_echo "$as_me:$LINENO: result: yes" >&5
6440 $as_echo "yes" >&6; }
6441 else
6442   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6443 $as_echo "no, using $LN_S" >&6; }
6444 fi
6445
6446 # find the maximum length of command line arguments
6447 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6448 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6449 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6450   $as_echo_n "(cached) " >&6
6451 else
6452     i=0
6453   teststring="ABCD"
6454
6455   case $build_os in
6456   msdosdjgpp*)
6457     # On DJGPP, this test can blow up pretty badly due to problems in libc
6458     # (any single argument exceeding 2000 bytes causes a buffer overrun
6459     # during glob expansion).  Even if it were fixed, the result of this
6460     # check would be larger than it should be.
6461     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6462     ;;
6463
6464   gnu*)
6465     # Under GNU Hurd, this test is not required because there is
6466     # no limit to the length of command line arguments.
6467     # Libtool will interpret -1 as no limit whatsoever
6468     lt_cv_sys_max_cmd_len=-1;
6469     ;;
6470
6471   cygwin* | mingw* | cegcc*)
6472     # On Win9x/ME, this test blows up -- it succeeds, but takes
6473     # about 5 minutes as the teststring grows exponentially.
6474     # Worse, since 9x/ME are not pre-emptively multitasking,
6475     # you end up with a "frozen" computer, even though with patience
6476     # the test eventually succeeds (with a max line length of 256k).
6477     # Instead, let's just punt: use the minimum linelength reported by
6478     # all of the supported platforms: 8192 (on NT/2K/XP).
6479     lt_cv_sys_max_cmd_len=8192;
6480     ;;
6481
6482   amigaos*)
6483     # On AmigaOS with pdksh, this test takes hours, literally.
6484     # So we just punt and use a minimum line length of 8192.
6485     lt_cv_sys_max_cmd_len=8192;
6486     ;;
6487
6488   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6489     # This has been around since 386BSD, at least.  Likely further.
6490     if test -x /sbin/sysctl; then
6491       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6492     elif test -x /usr/sbin/sysctl; then
6493       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6494     else
6495       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6496     fi
6497     # And add a safety zone
6498     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6499     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6500     ;;
6501
6502   interix*)
6503     # We know the value 262144 and hardcode it with a safety zone (like BSD)
6504     lt_cv_sys_max_cmd_len=196608
6505     ;;
6506
6507   osf*)
6508     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6509     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6510     # nice to cause kernel panics so lets avoid the loop below.
6511     # First set a reasonable default.
6512     lt_cv_sys_max_cmd_len=16384
6513     #
6514     if test -x /sbin/sysconfig; then
6515       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6516         *1*) lt_cv_sys_max_cmd_len=-1 ;;
6517       esac
6518     fi
6519     ;;
6520   sco3.2v5*)
6521     lt_cv_sys_max_cmd_len=102400
6522     ;;
6523   sysv5* | sco5v6* | sysv4.2uw2*)
6524     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6525     if test -n "$kargmax"; then
6526       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
6527     else
6528       lt_cv_sys_max_cmd_len=32768
6529     fi
6530     ;;
6531   *)
6532     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6533     if test -n "$lt_cv_sys_max_cmd_len"; then
6534       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6535       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6536     else
6537       # Make teststring a little bigger before we do anything with it.
6538       # a 1K string should be a reasonable start.
6539       for i in 1 2 3 4 5 6 7 8 ; do
6540         teststring=$teststring$teststring
6541       done
6542       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6543       # If test is not a shell built-in, we'll probably end up computing a
6544       # maximum length that is only half of the actual maximum length, but
6545       # we can't tell.
6546       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6547                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
6548               test $i != 17 # 1/2 MB should be enough
6549       do
6550         i=`expr $i + 1`
6551         teststring=$teststring$teststring
6552       done
6553       # Only check the string length outside the loop.
6554       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6555       teststring=
6556       # Add a significant safety factor because C++ compilers can tack on
6557       # massive amounts of additional arguments before passing them to the
6558       # linker.  It appears as though 1/2 is a usable value.
6559       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6560     fi
6561     ;;
6562   esac
6563
6564 fi
6565
6566 if test -n $lt_cv_sys_max_cmd_len ; then
6567   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6568 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6569 else
6570   { $as_echo "$as_me:$LINENO: result: none" >&5
6571 $as_echo "none" >&6; }
6572 fi
6573 max_cmd_len=$lt_cv_sys_max_cmd_len
6574
6575
6576
6577
6578
6579
6580 : ${CP="cp -f"}
6581 : ${MV="mv -f"}
6582 : ${RM="rm -f"}
6583
6584 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
6585 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6586 # Try some XSI features
6587 xsi_shell=no
6588 ( _lt_dummy="a/b/c"
6589   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6590       = c,a/b,, \
6591     && eval 'test $(( 1 + 1 )) -eq 2 \
6592     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6593   && xsi_shell=yes
6594 { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
6595 $as_echo "$xsi_shell" >&6; }
6596
6597
6598 { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
6599 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6600 lt_shell_append=no
6601 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6602     >/dev/null 2>&1 \
6603   && lt_shell_append=yes
6604 { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
6605 $as_echo "$lt_shell_append" >&6; }
6606
6607
6608 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6609   lt_unset=unset
6610 else
6611   lt_unset=false
6612 fi
6613
6614
6615
6616
6617
6618 # test EBCDIC or ASCII
6619 case `echo X|tr X '\101'` in
6620  A) # ASCII based system
6621     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6622   lt_SP2NL='tr \040 \012'
6623   lt_NL2SP='tr \015\012 \040\040'
6624   ;;
6625  *) # EBCDIC based system
6626   lt_SP2NL='tr \100 \n'
6627   lt_NL2SP='tr \r\n \100\100'
6628   ;;
6629 esac
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
6640 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6641 if test "${lt_cv_ld_reload_flag+set}" = set; then
6642   $as_echo_n "(cached) " >&6
6643 else
6644   lt_cv_ld_reload_flag='-r'
6645 fi
6646 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
6647 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6648 reload_flag=$lt_cv_ld_reload_flag
6649 case $reload_flag in
6650 "" | " "*) ;;
6651 *) reload_flag=" $reload_flag" ;;
6652 esac
6653 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6654 case $host_os in
6655   darwin*)
6656     if test "$GCC" = yes; then
6657       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6658     else
6659       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6660     fi
6661     ;;
6662 esac
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672 if test -n "$ac_tool_prefix"; then
6673   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6674 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6675 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6676 $as_echo_n "checking for $ac_word... " >&6; }
6677 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
6678   $as_echo_n "(cached) " >&6
6679 else
6680   if test -n "$OBJDUMP"; then
6681   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6682 else
6683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6684 for as_dir in $PATH
6685 do
6686   IFS=$as_save_IFS
6687   test -z "$as_dir" && as_dir=.
6688   for ac_exec_ext in '' $ac_executable_extensions; do
6689   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6690     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6691     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6692     break 2
6693   fi
6694 done
6695 done
6696 IFS=$as_save_IFS
6697
6698 fi
6699 fi
6700 OBJDUMP=$ac_cv_prog_OBJDUMP
6701 if test -n "$OBJDUMP"; then
6702   { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
6703 $as_echo "$OBJDUMP" >&6; }
6704 else
6705   { $as_echo "$as_me:$LINENO: result: no" >&5
6706 $as_echo "no" >&6; }
6707 fi
6708
6709
6710 fi
6711 if test -z "$ac_cv_prog_OBJDUMP"; then
6712   ac_ct_OBJDUMP=$OBJDUMP
6713   # Extract the first word of "objdump", so it can be a program name with args.
6714 set dummy objdump; ac_word=$2
6715 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6716 $as_echo_n "checking for $ac_word... " >&6; }
6717 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
6718   $as_echo_n "(cached) " >&6
6719 else
6720   if test -n "$ac_ct_OBJDUMP"; then
6721   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6722 else
6723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6724 for as_dir in $PATH
6725 do
6726   IFS=$as_save_IFS
6727   test -z "$as_dir" && as_dir=.
6728   for ac_exec_ext in '' $ac_executable_extensions; do
6729   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6730     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6731     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6732     break 2
6733   fi
6734 done
6735 done
6736 IFS=$as_save_IFS
6737
6738 fi
6739 fi
6740 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6741 if test -n "$ac_ct_OBJDUMP"; then
6742   { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
6743 $as_echo "$ac_ct_OBJDUMP" >&6; }
6744 else
6745   { $as_echo "$as_me:$LINENO: result: no" >&5
6746 $as_echo "no" >&6; }
6747 fi
6748
6749   if test "x$ac_ct_OBJDUMP" = x; then
6750     OBJDUMP="false"
6751   else
6752     case $cross_compiling:$ac_tool_warned in
6753 yes:)
6754 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6755 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6756 ac_tool_warned=yes ;;
6757 esac
6758     OBJDUMP=$ac_ct_OBJDUMP
6759   fi
6760 else
6761   OBJDUMP="$ac_cv_prog_OBJDUMP"
6762 fi
6763
6764 test -z "$OBJDUMP" && OBJDUMP=objdump
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
6775 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6776 if test "${lt_cv_deplibs_check_method+set}" = set; then
6777   $as_echo_n "(cached) " >&6
6778 else
6779   lt_cv_file_magic_cmd='$MAGIC_CMD'
6780 lt_cv_file_magic_test_file=
6781 lt_cv_deplibs_check_method='unknown'
6782 # Need to set the preceding variable on all platforms that support
6783 # interlibrary dependencies.
6784 # 'none' -- dependencies not supported.
6785 # `unknown' -- same as none, but documents that we really don't know.
6786 # 'pass_all' -- all dependencies passed with no checks.
6787 # 'test_compile' -- check by making test program.
6788 # 'file_magic [[regex]]' -- check by looking for files in library path
6789 # which responds to the $file_magic_cmd with a given extended regex.
6790 # If you have `file' or equivalent on your system and you're not sure
6791 # whether `pass_all' will *always* work, you probably want this one.
6792
6793 case $host_os in
6794 aix[4-9]*)
6795   lt_cv_deplibs_check_method=pass_all
6796   ;;
6797
6798 beos*)
6799   lt_cv_deplibs_check_method=pass_all
6800   ;;
6801
6802 bsdi[45]*)
6803   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6804   lt_cv_file_magic_cmd='/usr/bin/file -L'
6805   lt_cv_file_magic_test_file=/shlib/libc.so
6806   ;;
6807
6808 cygwin*)
6809   # func_win32_libid is a shell function defined in ltmain.sh
6810   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6811   lt_cv_file_magic_cmd='func_win32_libid'
6812   ;;
6813
6814 mingw* | pw32*)
6815   # Base MSYS/MinGW do not provide the 'file' command needed by
6816   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6817   # unless we find 'file', for example because we are cross-compiling.
6818   if ( file / ) >/dev/null 2>&1; then
6819     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6820     lt_cv_file_magic_cmd='func_win32_libid'
6821   else
6822     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6823     lt_cv_file_magic_cmd='$OBJDUMP -f'
6824   fi
6825   ;;
6826
6827 cegcc)
6828   # use the weaker test based on 'objdump'. See mingw*.
6829   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6830   lt_cv_file_magic_cmd='$OBJDUMP -f'
6831   ;;
6832
6833 darwin* | rhapsody*)
6834   lt_cv_deplibs_check_method=pass_all
6835   ;;
6836
6837 freebsd* | dragonfly*)
6838   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6839     case $host_cpu in
6840     i*86 )
6841       # Not sure whether the presence of OpenBSD here was a mistake.
6842       # Let's accept both of them until this is cleared up.
6843       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6844       lt_cv_file_magic_cmd=/usr/bin/file
6845       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6846       ;;
6847     esac
6848   else
6849     lt_cv_deplibs_check_method=pass_all
6850   fi
6851   ;;
6852
6853 gnu*)
6854   lt_cv_deplibs_check_method=pass_all
6855   ;;
6856
6857 hpux10.20* | hpux11*)
6858   lt_cv_file_magic_cmd=/usr/bin/file
6859   case $host_cpu in
6860   ia64*)
6861     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6862     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6863     ;;
6864   hppa*64*)
6865     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]'
6866     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6867     ;;
6868   *)
6869     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6870     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6871     ;;
6872   esac
6873   ;;
6874
6875 interix[3-9]*)
6876   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6877   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6878   ;;
6879
6880 irix5* | irix6* | nonstopux*)
6881   case $LD in
6882   *-32|*"-32 ") libmagic=32-bit;;
6883   *-n32|*"-n32 ") libmagic=N32;;
6884   *-64|*"-64 ") libmagic=64-bit;;
6885   *) libmagic=never-match;;
6886   esac
6887   lt_cv_deplibs_check_method=pass_all
6888   ;;
6889
6890 # This must be Linux ELF.
6891 linux* | k*bsd*-gnu)
6892   lt_cv_deplibs_check_method=pass_all
6893   ;;
6894
6895 netbsd*)
6896   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6897     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6898   else
6899     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6900   fi
6901   ;;
6902
6903 newos6*)
6904   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6905   lt_cv_file_magic_cmd=/usr/bin/file
6906   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6907   ;;
6908
6909 *nto* | *qnx*)
6910   lt_cv_deplibs_check_method=pass_all
6911   ;;
6912
6913 openbsd*)
6914   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6915     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6916   else
6917     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6918   fi
6919   ;;
6920
6921 osf3* | osf4* | osf5*)
6922   lt_cv_deplibs_check_method=pass_all
6923   ;;
6924
6925 rdos*)
6926   lt_cv_deplibs_check_method=pass_all
6927   ;;
6928
6929 solaris*)
6930   lt_cv_deplibs_check_method=pass_all
6931   ;;
6932
6933 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6934   lt_cv_deplibs_check_method=pass_all
6935   ;;
6936
6937 sysv4 | sysv4.3*)
6938   case $host_vendor in
6939   motorola)
6940     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]'
6941     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6942     ;;
6943   ncr)
6944     lt_cv_deplibs_check_method=pass_all
6945     ;;
6946   sequent)
6947     lt_cv_file_magic_cmd='/bin/file'
6948     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6949     ;;
6950   sni)
6951     lt_cv_file_magic_cmd='/bin/file'
6952     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6953     lt_cv_file_magic_test_file=/lib/libc.so
6954     ;;
6955   siemens)
6956     lt_cv_deplibs_check_method=pass_all
6957     ;;
6958   pc)
6959     lt_cv_deplibs_check_method=pass_all
6960     ;;
6961   esac
6962   ;;
6963
6964 tpf*)
6965   lt_cv_deplibs_check_method=pass_all
6966   ;;
6967 esac
6968
6969 fi
6970 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
6971 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6972 file_magic_cmd=$lt_cv_file_magic_cmd
6973 deplibs_check_method=$lt_cv_deplibs_check_method
6974 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987 if test -n "$ac_tool_prefix"; then
6988   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6989 set dummy ${ac_tool_prefix}ar; ac_word=$2
6990 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6991 $as_echo_n "checking for $ac_word... " >&6; }
6992 if test "${ac_cv_prog_AR+set}" = set; then
6993   $as_echo_n "(cached) " >&6
6994 else
6995   if test -n "$AR"; then
6996   ac_cv_prog_AR="$AR" # Let the user override the test.
6997 else
6998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6999 for as_dir in $PATH
7000 do
7001   IFS=$as_save_IFS
7002   test -z "$as_dir" && as_dir=.
7003   for ac_exec_ext in '' $ac_executable_extensions; do
7004   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7005     ac_cv_prog_AR="${ac_tool_prefix}ar"
7006     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7007     break 2
7008   fi
7009 done
7010 done
7011 IFS=$as_save_IFS
7012
7013 fi
7014 fi
7015 AR=$ac_cv_prog_AR
7016 if test -n "$AR"; then
7017   { $as_echo "$as_me:$LINENO: result: $AR" >&5
7018 $as_echo "$AR" >&6; }
7019 else
7020   { $as_echo "$as_me:$LINENO: result: no" >&5
7021 $as_echo "no" >&6; }
7022 fi
7023
7024
7025 fi
7026 if test -z "$ac_cv_prog_AR"; then
7027   ac_ct_AR=$AR
7028   # Extract the first word of "ar", so it can be a program name with args.
7029 set dummy ar; ac_word=$2
7030 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7031 $as_echo_n "checking for $ac_word... " >&6; }
7032 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7033   $as_echo_n "(cached) " >&6
7034 else
7035   if test -n "$ac_ct_AR"; then
7036   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7037 else
7038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7039 for as_dir in $PATH
7040 do
7041   IFS=$as_save_IFS
7042   test -z "$as_dir" && as_dir=.
7043   for ac_exec_ext in '' $ac_executable_extensions; do
7044   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7045     ac_cv_prog_ac_ct_AR="ar"
7046     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7047     break 2
7048   fi
7049 done
7050 done
7051 IFS=$as_save_IFS
7052
7053 fi
7054 fi
7055 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7056 if test -n "$ac_ct_AR"; then
7057   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7058 $as_echo "$ac_ct_AR" >&6; }
7059 else
7060   { $as_echo "$as_me:$LINENO: result: no" >&5
7061 $as_echo "no" >&6; }
7062 fi
7063
7064   if test "x$ac_ct_AR" = x; then
7065     AR="false"
7066   else
7067     case $cross_compiling:$ac_tool_warned in
7068 yes:)
7069 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7070 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7071 ac_tool_warned=yes ;;
7072 esac
7073     AR=$ac_ct_AR
7074   fi
7075 else
7076   AR="$ac_cv_prog_AR"
7077 fi
7078
7079 test -z "$AR" && AR=ar
7080 test -z "$AR_FLAGS" && AR_FLAGS=cru
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092 if test -n "$ac_tool_prefix"; then
7093   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7094 set dummy ${ac_tool_prefix}strip; ac_word=$2
7095 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7096 $as_echo_n "checking for $ac_word... " >&6; }
7097 if test "${ac_cv_prog_STRIP+set}" = set; then
7098   $as_echo_n "(cached) " >&6
7099 else
7100   if test -n "$STRIP"; then
7101   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7102 else
7103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7104 for as_dir in $PATH
7105 do
7106   IFS=$as_save_IFS
7107   test -z "$as_dir" && as_dir=.
7108   for ac_exec_ext in '' $ac_executable_extensions; do
7109   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7110     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7111     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7112     break 2
7113   fi
7114 done
7115 done
7116 IFS=$as_save_IFS
7117
7118 fi
7119 fi
7120 STRIP=$ac_cv_prog_STRIP
7121 if test -n "$STRIP"; then
7122   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
7123 $as_echo "$STRIP" >&6; }
7124 else
7125   { $as_echo "$as_me:$LINENO: result: no" >&5
7126 $as_echo "no" >&6; }
7127 fi
7128
7129
7130 fi
7131 if test -z "$ac_cv_prog_STRIP"; then
7132   ac_ct_STRIP=$STRIP
7133   # Extract the first word of "strip", so it can be a program name with args.
7134 set dummy strip; ac_word=$2
7135 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7136 $as_echo_n "checking for $ac_word... " >&6; }
7137 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7138   $as_echo_n "(cached) " >&6
7139 else
7140   if test -n "$ac_ct_STRIP"; then
7141   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7142 else
7143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7144 for as_dir in $PATH
7145 do
7146   IFS=$as_save_IFS
7147   test -z "$as_dir" && as_dir=.
7148   for ac_exec_ext in '' $ac_executable_extensions; do
7149   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7150     ac_cv_prog_ac_ct_STRIP="strip"
7151     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7152     break 2
7153   fi
7154 done
7155 done
7156 IFS=$as_save_IFS
7157
7158 fi
7159 fi
7160 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7161 if test -n "$ac_ct_STRIP"; then
7162   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7163 $as_echo "$ac_ct_STRIP" >&6; }
7164 else
7165   { $as_echo "$as_me:$LINENO: result: no" >&5
7166 $as_echo "no" >&6; }
7167 fi
7168
7169   if test "x$ac_ct_STRIP" = x; then
7170     STRIP=":"
7171   else
7172     case $cross_compiling:$ac_tool_warned in
7173 yes:)
7174 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7176 ac_tool_warned=yes ;;
7177 esac
7178     STRIP=$ac_ct_STRIP
7179   fi
7180 else
7181   STRIP="$ac_cv_prog_STRIP"
7182 fi
7183
7184 test -z "$STRIP" && STRIP=:
7185
7186
7187
7188
7189
7190
7191 if test -n "$ac_tool_prefix"; then
7192   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7193 set dummy ${ac_tool_prefix}ranlib; 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_RANLIB+set}" = set; then
7197   $as_echo_n "(cached) " >&6
7198 else
7199   if test -n "$RANLIB"; then
7200   ac_cv_prog_RANLIB="$RANLIB" # 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_RANLIB="${ac_tool_prefix}ranlib"
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 RANLIB=$ac_cv_prog_RANLIB
7220 if test -n "$RANLIB"; then
7221   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
7222 $as_echo "$RANLIB" >&6; }
7223 else
7224   { $as_echo "$as_me:$LINENO: result: no" >&5
7225 $as_echo "no" >&6; }
7226 fi
7227
7228
7229 fi
7230 if test -z "$ac_cv_prog_RANLIB"; then
7231   ac_ct_RANLIB=$RANLIB
7232   # Extract the first word of "ranlib", so it can be a program name with args.
7233 set dummy ranlib; ac_word=$2
7234 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7235 $as_echo_n "checking for $ac_word... " >&6; }
7236 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7237   $as_echo_n "(cached) " >&6
7238 else
7239   if test -n "$ac_ct_RANLIB"; then
7240   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7241 else
7242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7243 for as_dir in $PATH
7244 do
7245   IFS=$as_save_IFS
7246   test -z "$as_dir" && as_dir=.
7247   for ac_exec_ext in '' $ac_executable_extensions; do
7248   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7249     ac_cv_prog_ac_ct_RANLIB="ranlib"
7250     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7251     break 2
7252   fi
7253 done
7254 done
7255 IFS=$as_save_IFS
7256
7257 fi
7258 fi
7259 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7260 if test -n "$ac_ct_RANLIB"; then
7261   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7262 $as_echo "$ac_ct_RANLIB" >&6; }
7263 else
7264   { $as_echo "$as_me:$LINENO: result: no" >&5
7265 $as_echo "no" >&6; }
7266 fi
7267
7268   if test "x$ac_ct_RANLIB" = x; then
7269     RANLIB=":"
7270   else
7271     case $cross_compiling:$ac_tool_warned in
7272 yes:)
7273 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7274 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7275 ac_tool_warned=yes ;;
7276 esac
7277     RANLIB=$ac_ct_RANLIB
7278   fi
7279 else
7280   RANLIB="$ac_cv_prog_RANLIB"
7281 fi
7282
7283 test -z "$RANLIB" && RANLIB=:
7284
7285
7286
7287
7288
7289
7290 # Determine commands to create old-style static archives.
7291 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7292 old_postinstall_cmds='chmod 644 $oldlib'
7293 old_postuninstall_cmds=
7294
7295 if test -n "$RANLIB"; then
7296   case $host_os in
7297   openbsd*)
7298     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7299     ;;
7300   *)
7301     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7302     ;;
7303   esac
7304   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7305 fi
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340 # If no C compiler was specified, use CC.
7341 LTCC=${LTCC-"$CC"}
7342
7343 # If no C compiler flags were specified, use CFLAGS.
7344 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7345
7346 # Allow CC to be a program name with arguments.
7347 compiler=$CC
7348
7349
7350 # Check for command to grab the raw symbol name followed by C symbol from nm.
7351 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7352 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7353 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7354   $as_echo_n "(cached) " >&6
7355 else
7356
7357 # These are sane defaults that work on at least a few old systems.
7358 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7359
7360 # Character class describing NM global symbol codes.
7361 symcode='[BCDEGRST]'
7362
7363 # Regexp to match symbols that can be accessed directly from C.
7364 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7365
7366 # Define system-specific variables.
7367 case $host_os in
7368 aix*)
7369   symcode='[BCDT]'
7370   ;;
7371 cygwin* | mingw* | pw32* | cegcc*)
7372   symcode='[ABCDGISTW]'
7373   ;;
7374 hpux*)
7375   if test "$host_cpu" = ia64; then
7376     symcode='[ABCDEGRST]'
7377   fi
7378   ;;
7379 irix* | nonstopux*)
7380   symcode='[BCDEGRST]'
7381   ;;
7382 osf*)
7383   symcode='[BCDEGQRST]'
7384   ;;
7385 solaris*)
7386   symcode='[BDRT]'
7387   ;;
7388 sco3.2v5*)
7389   symcode='[DT]'
7390   ;;
7391 sysv4.2uw2*)
7392   symcode='[DT]'
7393   ;;
7394 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7395   symcode='[ABDT]'
7396   ;;
7397 sysv4)
7398   symcode='[DFNSTU]'
7399   ;;
7400 esac
7401
7402 # If we're using GNU nm, then use its standard symbol codes.
7403 case `$NM -V 2>&1` in
7404 *GNU* | *'with BFD'*)
7405   symcode='[ABCDGIRSTW]' ;;
7406 esac
7407
7408 # Transform an extracted symbol line into a proper C declaration.
7409 # Some systems (esp. on ia64) link data and code symbols differently,
7410 # so use this general approach.
7411 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7412
7413 # Transform an extracted symbol line into symbol name and symbol address
7414 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7415 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'"
7416
7417 # Handle CRLF in mingw tool chain
7418 opt_cr=
7419 case $build_os in
7420 mingw*)
7421   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7422   ;;
7423 esac
7424
7425 # Try without a prefix underscore, then with it.
7426 for ac_symprfx in "" "_"; do
7427
7428   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7429   symxfrm="\\1 $ac_symprfx\\2 \\2"
7430
7431   # Write the raw and C identifiers.
7432   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7433     # Fake it for dumpbin and say T for any non-static function
7434     # and D for any global variable.
7435     # Also find C++ and __fastcall symbols from MSVC++,
7436     # which start with @ or ?.
7437     lt_cv_sys_global_symbol_pipe="$AWK '"\
7438 "     {last_section=section; section=\$ 3};"\
7439 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7440 "     \$ 0!~/External *\|/{next};"\
7441 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7442 "     {if(hide[section]) next};"\
7443 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7444 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7445 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7446 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7447 "     ' prfx=^$ac_symprfx"
7448   else
7449     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7450   fi
7451
7452   # Check to see that the pipe works correctly.
7453   pipe_works=no
7454
7455   rm -f conftest*
7456   cat > conftest.$ac_ext <<_LT_EOF
7457 #ifdef __cplusplus
7458 extern "C" {
7459 #endif
7460 char nm_test_var;
7461 void nm_test_func(void);
7462 void nm_test_func(void){}
7463 #ifdef __cplusplus
7464 }
7465 #endif
7466 int main(){nm_test_var='a';nm_test_func();return(0);}
7467 _LT_EOF
7468
7469   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7470   (eval $ac_compile) 2>&5
7471   ac_status=$?
7472   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7473   (exit $ac_status); }; then
7474     # Now try to grab the symbols.
7475     nlist=conftest.nm
7476     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
7477   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7478   ac_status=$?
7479   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7480   (exit $ac_status); } && test -s "$nlist"; then
7481       # Try sorting and uniquifying the output.
7482       if sort "$nlist" | uniq > "$nlist"T; then
7483         mv -f "$nlist"T "$nlist"
7484       else
7485         rm -f "$nlist"T
7486       fi
7487
7488       # Make sure that we snagged all the symbols we need.
7489       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7490         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7491           cat <<_LT_EOF > conftest.$ac_ext
7492 #ifdef __cplusplus
7493 extern "C" {
7494 #endif
7495
7496 _LT_EOF
7497           # Now generate the symbol file.
7498           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7499
7500           cat <<_LT_EOF >> conftest.$ac_ext
7501
7502 /* The mapping between symbol names and symbols.  */
7503 const struct {
7504   const char *name;
7505   void       *address;
7506 }
7507 lt__PROGRAM__LTX_preloaded_symbols[] =
7508 {
7509   { "@PROGRAM@", (void *) 0 },
7510 _LT_EOF
7511           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7512           cat <<\_LT_EOF >> conftest.$ac_ext
7513   {0, (void *) 0}
7514 };
7515
7516 /* This works around a problem in FreeBSD linker */
7517 #ifdef FREEBSD_WORKAROUND
7518 static const void *lt_preloaded_setup() {
7519   return lt__PROGRAM__LTX_preloaded_symbols;
7520 }
7521 #endif
7522
7523 #ifdef __cplusplus
7524 }
7525 #endif
7526 _LT_EOF
7527           # Now try linking the two files.
7528           mv conftest.$ac_objext conftstm.$ac_objext
7529           lt_save_LIBS="$LIBS"
7530           lt_save_CFLAGS="$CFLAGS"
7531           LIBS="conftstm.$ac_objext"
7532           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7533           if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7534   (eval $ac_link) 2>&5
7535   ac_status=$?
7536   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7537   (exit $ac_status); } && test -s conftest${ac_exeext}; then
7538             pipe_works=yes
7539           fi
7540           LIBS="$lt_save_LIBS"
7541           CFLAGS="$lt_save_CFLAGS"
7542         else
7543           echo "cannot find nm_test_func in $nlist" >&5
7544         fi
7545       else
7546         echo "cannot find nm_test_var in $nlist" >&5
7547       fi
7548     else
7549       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7550     fi
7551   else
7552     echo "$progname: failed program was:" >&5
7553     cat conftest.$ac_ext >&5
7554   fi
7555   rm -rf conftest* conftst*
7556
7557   # Do not use the global_symbol_pipe unless it works.
7558   if test "$pipe_works" = yes; then
7559     break
7560   else
7561     lt_cv_sys_global_symbol_pipe=
7562   fi
7563 done
7564
7565 fi
7566
7567 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7568   lt_cv_sys_global_symbol_to_cdecl=
7569 fi
7570 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7571   { $as_echo "$as_me:$LINENO: result: failed" >&5
7572 $as_echo "failed" >&6; }
7573 else
7574   { $as_echo "$as_me:$LINENO: result: ok" >&5
7575 $as_echo "ok" >&6; }
7576 fi
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599 # Check whether --enable-libtool-lock was given.
7600 if test "${enable_libtool_lock+set}" = set; then
7601   enableval=$enable_libtool_lock;
7602 fi
7603
7604 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7605
7606 # Some flags need to be propagated to the compiler or linker for good
7607 # libtool support.
7608 case $host in
7609 ia64-*-hpux*)
7610   # Find out which ABI we are using.
7611   echo 'int i;' > conftest.$ac_ext
7612   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7613   (eval $ac_compile) 2>&5
7614   ac_status=$?
7615   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7616   (exit $ac_status); }; then
7617     case `/usr/bin/file conftest.$ac_objext` in
7618       *ELF-32*)
7619         HPUX_IA64_MODE="32"
7620         ;;
7621       *ELF-64*)
7622         HPUX_IA64_MODE="64"
7623         ;;
7624     esac
7625   fi
7626   rm -rf conftest*
7627   ;;
7628 *-*-irix6*)
7629   # Find out which ABI we are using.
7630   echo '#line 7630 "configure"' > conftest.$ac_ext
7631   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7632   (eval $ac_compile) 2>&5
7633   ac_status=$?
7634   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7635   (exit $ac_status); }; then
7636     if test "$lt_cv_prog_gnu_ld" = yes; then
7637       case `/usr/bin/file conftest.$ac_objext` in
7638         *32-bit*)
7639           LD="${LD-ld} -melf32bsmip"
7640           ;;
7641         *N32*)
7642           LD="${LD-ld} -melf32bmipn32"
7643           ;;
7644         *64-bit*)
7645           LD="${LD-ld} -melf64bmip"
7646         ;;
7647       esac
7648     else
7649       case `/usr/bin/file conftest.$ac_objext` in
7650         *32-bit*)
7651           LD="${LD-ld} -32"
7652           ;;
7653         *N32*)
7654           LD="${LD-ld} -n32"
7655           ;;
7656         *64-bit*)
7657           LD="${LD-ld} -64"
7658           ;;
7659       esac
7660     fi
7661   fi
7662   rm -rf conftest*
7663   ;;
7664
7665 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7666 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7667   # Find out which ABI we are using.
7668   echo 'int i;' > conftest.$ac_ext
7669   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7670   (eval $ac_compile) 2>&5
7671   ac_status=$?
7672   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7673   (exit $ac_status); }; then
7674     case `/usr/bin/file conftest.o` in
7675       *32-bit*)
7676         case $host in
7677           x86_64-*kfreebsd*-gnu)
7678             LD="${LD-ld} -m elf_i386_fbsd"
7679             ;;
7680           x86_64-*linux*)
7681             LD="${LD-ld} -m elf_i386"
7682             ;;
7683           ppc64-*linux*|powerpc64-*linux*)
7684             LD="${LD-ld} -m elf32ppclinux"
7685             ;;
7686           s390x-*linux*)
7687             LD="${LD-ld} -m elf_s390"
7688             ;;
7689           sparc64-*linux*)
7690             LD="${LD-ld} -m elf32_sparc"
7691             ;;
7692         esac
7693         ;;
7694       *64-bit*)
7695         case $host in
7696           x86_64-*kfreebsd*-gnu)
7697             LD="${LD-ld} -m elf_x86_64_fbsd"
7698             ;;
7699           x86_64-*linux*)
7700             LD="${LD-ld} -m elf_x86_64"
7701             ;;
7702           ppc*-*linux*|powerpc*-*linux*)
7703             LD="${LD-ld} -m elf64ppc"
7704             ;;
7705           s390*-*linux*|s390*-*tpf*)
7706             LD="${LD-ld} -m elf64_s390"
7707             ;;
7708           sparc*-*linux*)
7709             LD="${LD-ld} -m elf64_sparc"
7710             ;;
7711         esac
7712         ;;
7713     esac
7714   fi
7715   rm -rf conftest*
7716   ;;
7717
7718 *-*-sco3.2v5*)
7719   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7720   SAVE_CFLAGS="$CFLAGS"
7721   CFLAGS="$CFLAGS -belf"
7722   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
7723 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7724 if test "${lt_cv_cc_needs_belf+set}" = set; then
7725   $as_echo_n "(cached) " >&6
7726 else
7727   ac_ext=c
7728 ac_cpp='$CPP $CPPFLAGS'
7729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7732
7733      cat >conftest.$ac_ext <<_ACEOF
7734 /* confdefs.h.  */
7735 _ACEOF
7736 cat confdefs.h >>conftest.$ac_ext
7737 cat >>conftest.$ac_ext <<_ACEOF
7738 /* end confdefs.h.  */
7739
7740 int
7741 main ()
7742 {
7743
7744   ;
7745   return 0;
7746 }
7747 _ACEOF
7748 rm -f conftest.$ac_objext conftest$ac_exeext
7749 if { (ac_try="$ac_link"
7750 case "(($ac_try" in
7751   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7752   *) ac_try_echo=$ac_try;;
7753 esac
7754 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7755 $as_echo "$ac_try_echo") >&5
7756   (eval "$ac_link") 2>conftest.er1
7757   ac_status=$?
7758   grep -v '^ *+' conftest.er1 >conftest.err
7759   rm -f conftest.er1
7760   cat conftest.err >&5
7761   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7762   (exit $ac_status); } && {
7763          test -z "$ac_c_werror_flag" ||
7764          test ! -s conftest.err
7765        } && test -s conftest$ac_exeext && {
7766          test "$cross_compiling" = yes ||
7767          $as_test_x conftest$ac_exeext
7768        }; then
7769   lt_cv_cc_needs_belf=yes
7770 else
7771   $as_echo "$as_me: failed program was:" >&5
7772 sed 's/^/| /' conftest.$ac_ext >&5
7773
7774         lt_cv_cc_needs_belf=no
7775 fi
7776
7777 rm -rf conftest.dSYM
7778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7779       conftest$ac_exeext conftest.$ac_ext
7780      ac_ext=c
7781 ac_cpp='$CPP $CPPFLAGS'
7782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7785
7786 fi
7787 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
7788 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7789   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7790     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7791     CFLAGS="$SAVE_CFLAGS"
7792   fi
7793   ;;
7794 sparc*-*solaris*)
7795   # Find out which ABI we are using.
7796   echo 'int i;' > conftest.$ac_ext
7797   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7798   (eval $ac_compile) 2>&5
7799   ac_status=$?
7800   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7801   (exit $ac_status); }; then
7802     case `/usr/bin/file conftest.o` in
7803     *64-bit*)
7804       case $lt_cv_prog_gnu_ld in
7805       yes*) LD="${LD-ld} -m elf64_sparc" ;;
7806       *)
7807         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7808           LD="${LD-ld} -64"
7809         fi
7810         ;;
7811       esac
7812       ;;
7813     esac
7814   fi
7815   rm -rf conftest*
7816   ;;
7817 esac
7818
7819 need_locks="$enable_libtool_lock"
7820
7821
7822   case $host_os in
7823     rhapsody* | darwin*)
7824     if test -n "$ac_tool_prefix"; then
7825   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7826 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7827 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7828 $as_echo_n "checking for $ac_word... " >&6; }
7829 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7830   $as_echo_n "(cached) " >&6
7831 else
7832   if test -n "$DSYMUTIL"; then
7833   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7834 else
7835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7836 for as_dir in $PATH
7837 do
7838   IFS=$as_save_IFS
7839   test -z "$as_dir" && as_dir=.
7840   for ac_exec_ext in '' $ac_executable_extensions; do
7841   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7842     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7843     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7844     break 2
7845   fi
7846 done
7847 done
7848 IFS=$as_save_IFS
7849
7850 fi
7851 fi
7852 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7853 if test -n "$DSYMUTIL"; then
7854   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7855 $as_echo "$DSYMUTIL" >&6; }
7856 else
7857   { $as_echo "$as_me:$LINENO: result: no" >&5
7858 $as_echo "no" >&6; }
7859 fi
7860
7861
7862 fi
7863 if test -z "$ac_cv_prog_DSYMUTIL"; then
7864   ac_ct_DSYMUTIL=$DSYMUTIL
7865   # Extract the first word of "dsymutil", so it can be a program name with args.
7866 set dummy dsymutil; ac_word=$2
7867 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7868 $as_echo_n "checking for $ac_word... " >&6; }
7869 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7870   $as_echo_n "(cached) " >&6
7871 else
7872   if test -n "$ac_ct_DSYMUTIL"; then
7873   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7874 else
7875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7876 for as_dir in $PATH
7877 do
7878   IFS=$as_save_IFS
7879   test -z "$as_dir" && as_dir=.
7880   for ac_exec_ext in '' $ac_executable_extensions; do
7881   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7882     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7883     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7884     break 2
7885   fi
7886 done
7887 done
7888 IFS=$as_save_IFS
7889
7890 fi
7891 fi
7892 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7893 if test -n "$ac_ct_DSYMUTIL"; then
7894   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7895 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7896 else
7897   { $as_echo "$as_me:$LINENO: result: no" >&5
7898 $as_echo "no" >&6; }
7899 fi
7900
7901   if test "x$ac_ct_DSYMUTIL" = x; then
7902     DSYMUTIL=":"
7903   else
7904     case $cross_compiling:$ac_tool_warned in
7905 yes:)
7906 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7907 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7908 ac_tool_warned=yes ;;
7909 esac
7910     DSYMUTIL=$ac_ct_DSYMUTIL
7911   fi
7912 else
7913   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7914 fi
7915
7916     if test -n "$ac_tool_prefix"; then
7917   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7918 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7919 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7920 $as_echo_n "checking for $ac_word... " >&6; }
7921 if test "${ac_cv_prog_NMEDIT+set}" = set; then
7922   $as_echo_n "(cached) " >&6
7923 else
7924   if test -n "$NMEDIT"; then
7925   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7926 else
7927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7928 for as_dir in $PATH
7929 do
7930   IFS=$as_save_IFS
7931   test -z "$as_dir" && as_dir=.
7932   for ac_exec_ext in '' $ac_executable_extensions; do
7933   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7934     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7935     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7936     break 2
7937   fi
7938 done
7939 done
7940 IFS=$as_save_IFS
7941
7942 fi
7943 fi
7944 NMEDIT=$ac_cv_prog_NMEDIT
7945 if test -n "$NMEDIT"; then
7946   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
7947 $as_echo "$NMEDIT" >&6; }
7948 else
7949   { $as_echo "$as_me:$LINENO: result: no" >&5
7950 $as_echo "no" >&6; }
7951 fi
7952
7953
7954 fi
7955 if test -z "$ac_cv_prog_NMEDIT"; then
7956   ac_ct_NMEDIT=$NMEDIT
7957   # Extract the first word of "nmedit", so it can be a program name with args.
7958 set dummy nmedit; ac_word=$2
7959 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7960 $as_echo_n "checking for $ac_word... " >&6; }
7961 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7962   $as_echo_n "(cached) " >&6
7963 else
7964   if test -n "$ac_ct_NMEDIT"; then
7965   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7966 else
7967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7968 for as_dir in $PATH
7969 do
7970   IFS=$as_save_IFS
7971   test -z "$as_dir" && as_dir=.
7972   for ac_exec_ext in '' $ac_executable_extensions; do
7973   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7974     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7975     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7976     break 2
7977   fi
7978 done
7979 done
7980 IFS=$as_save_IFS
7981
7982 fi
7983 fi
7984 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7985 if test -n "$ac_ct_NMEDIT"; then
7986   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7987 $as_echo "$ac_ct_NMEDIT" >&6; }
7988 else
7989   { $as_echo "$as_me:$LINENO: result: no" >&5
7990 $as_echo "no" >&6; }
7991 fi
7992
7993   if test "x$ac_ct_NMEDIT" = x; then
7994     NMEDIT=":"
7995   else
7996     case $cross_compiling:$ac_tool_warned in
7997 yes:)
7998 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8000 ac_tool_warned=yes ;;
8001 esac
8002     NMEDIT=$ac_ct_NMEDIT
8003   fi
8004 else
8005   NMEDIT="$ac_cv_prog_NMEDIT"
8006 fi
8007
8008     if test -n "$ac_tool_prefix"; then
8009   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8010 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8011 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8012 $as_echo_n "checking for $ac_word... " >&6; }
8013 if test "${ac_cv_prog_LIPO+set}" = set; then
8014   $as_echo_n "(cached) " >&6
8015 else
8016   if test -n "$LIPO"; then
8017   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8018 else
8019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8020 for as_dir in $PATH
8021 do
8022   IFS=$as_save_IFS
8023   test -z "$as_dir" && as_dir=.
8024   for ac_exec_ext in '' $ac_executable_extensions; do
8025   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8026     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8027     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8028     break 2
8029   fi
8030 done
8031 done
8032 IFS=$as_save_IFS
8033
8034 fi
8035 fi
8036 LIPO=$ac_cv_prog_LIPO
8037 if test -n "$LIPO"; then
8038   { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
8039 $as_echo "$LIPO" >&6; }
8040 else
8041   { $as_echo "$as_me:$LINENO: result: no" >&5
8042 $as_echo "no" >&6; }
8043 fi
8044
8045
8046 fi
8047 if test -z "$ac_cv_prog_LIPO"; then
8048   ac_ct_LIPO=$LIPO
8049   # Extract the first word of "lipo", so it can be a program name with args.
8050 set dummy lipo; ac_word=$2
8051 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8052 $as_echo_n "checking for $ac_word... " >&6; }
8053 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
8054   $as_echo_n "(cached) " >&6
8055 else
8056   if test -n "$ac_ct_LIPO"; then
8057   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8058 else
8059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8060 for as_dir in $PATH
8061 do
8062   IFS=$as_save_IFS
8063   test -z "$as_dir" && as_dir=.
8064   for ac_exec_ext in '' $ac_executable_extensions; do
8065   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8066     ac_cv_prog_ac_ct_LIPO="lipo"
8067     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8068     break 2
8069   fi
8070 done
8071 done
8072 IFS=$as_save_IFS
8073
8074 fi
8075 fi
8076 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8077 if test -n "$ac_ct_LIPO"; then
8078   { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
8079 $as_echo "$ac_ct_LIPO" >&6; }
8080 else
8081   { $as_echo "$as_me:$LINENO: result: no" >&5
8082 $as_echo "no" >&6; }
8083 fi
8084
8085   if test "x$ac_ct_LIPO" = x; then
8086     LIPO=":"
8087   else
8088     case $cross_compiling:$ac_tool_warned in
8089 yes:)
8090 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8091 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8092 ac_tool_warned=yes ;;
8093 esac
8094     LIPO=$ac_ct_LIPO
8095   fi
8096 else
8097   LIPO="$ac_cv_prog_LIPO"
8098 fi
8099
8100     if test -n "$ac_tool_prefix"; then
8101   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8102 set dummy ${ac_tool_prefix}otool; ac_word=$2
8103 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8104 $as_echo_n "checking for $ac_word... " >&6; }
8105 if test "${ac_cv_prog_OTOOL+set}" = set; then
8106   $as_echo_n "(cached) " >&6
8107 else
8108   if test -n "$OTOOL"; then
8109   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8110 else
8111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8112 for as_dir in $PATH
8113 do
8114   IFS=$as_save_IFS
8115   test -z "$as_dir" && as_dir=.
8116   for ac_exec_ext in '' $ac_executable_extensions; do
8117   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8118     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8119     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8120     break 2
8121   fi
8122 done
8123 done
8124 IFS=$as_save_IFS
8125
8126 fi
8127 fi
8128 OTOOL=$ac_cv_prog_OTOOL
8129 if test -n "$OTOOL"; then
8130   { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
8131 $as_echo "$OTOOL" >&6; }
8132 else
8133   { $as_echo "$as_me:$LINENO: result: no" >&5
8134 $as_echo "no" >&6; }
8135 fi
8136
8137
8138 fi
8139 if test -z "$ac_cv_prog_OTOOL"; then
8140   ac_ct_OTOOL=$OTOOL
8141   # Extract the first word of "otool", so it can be a program name with args.
8142 set dummy otool; ac_word=$2
8143 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8144 $as_echo_n "checking for $ac_word... " >&6; }
8145 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
8146   $as_echo_n "(cached) " >&6
8147 else
8148   if test -n "$ac_ct_OTOOL"; then
8149   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8150 else
8151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8152 for as_dir in $PATH
8153 do
8154   IFS=$as_save_IFS
8155   test -z "$as_dir" && as_dir=.
8156   for ac_exec_ext in '' $ac_executable_extensions; do
8157   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8158     ac_cv_prog_ac_ct_OTOOL="otool"
8159     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8160     break 2
8161   fi
8162 done
8163 done
8164 IFS=$as_save_IFS
8165
8166 fi
8167 fi
8168 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8169 if test -n "$ac_ct_OTOOL"; then
8170   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
8171 $as_echo "$ac_ct_OTOOL" >&6; }
8172 else
8173   { $as_echo "$as_me:$LINENO: result: no" >&5
8174 $as_echo "no" >&6; }
8175 fi
8176
8177   if test "x$ac_ct_OTOOL" = x; then
8178     OTOOL=":"
8179   else
8180     case $cross_compiling:$ac_tool_warned in
8181 yes:)
8182 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8183 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8184 ac_tool_warned=yes ;;
8185 esac
8186     OTOOL=$ac_ct_OTOOL
8187   fi
8188 else
8189   OTOOL="$ac_cv_prog_OTOOL"
8190 fi
8191
8192     if test -n "$ac_tool_prefix"; then
8193   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8194 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8195 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8196 $as_echo_n "checking for $ac_word... " >&6; }
8197 if test "${ac_cv_prog_OTOOL64+set}" = set; then
8198   $as_echo_n "(cached) " >&6
8199 else
8200   if test -n "$OTOOL64"; then
8201   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8202 else
8203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8204 for as_dir in $PATH
8205 do
8206   IFS=$as_save_IFS
8207   test -z "$as_dir" && as_dir=.
8208   for ac_exec_ext in '' $ac_executable_extensions; do
8209   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8210     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8211     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8212     break 2
8213   fi
8214 done
8215 done
8216 IFS=$as_save_IFS
8217
8218 fi
8219 fi
8220 OTOOL64=$ac_cv_prog_OTOOL64
8221 if test -n "$OTOOL64"; then
8222   { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
8223 $as_echo "$OTOOL64" >&6; }
8224 else
8225   { $as_echo "$as_me:$LINENO: result: no" >&5
8226 $as_echo "no" >&6; }
8227 fi
8228
8229
8230 fi
8231 if test -z "$ac_cv_prog_OTOOL64"; then
8232   ac_ct_OTOOL64=$OTOOL64
8233   # Extract the first word of "otool64", so it can be a program name with args.
8234 set dummy otool64; ac_word=$2
8235 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8236 $as_echo_n "checking for $ac_word... " >&6; }
8237 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
8238   $as_echo_n "(cached) " >&6
8239 else
8240   if test -n "$ac_ct_OTOOL64"; then
8241   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8242 else
8243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8244 for as_dir in $PATH
8245 do
8246   IFS=$as_save_IFS
8247   test -z "$as_dir" && as_dir=.
8248   for ac_exec_ext in '' $ac_executable_extensions; do
8249   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8250     ac_cv_prog_ac_ct_OTOOL64="otool64"
8251     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8252     break 2
8253   fi
8254 done
8255 done
8256 IFS=$as_save_IFS
8257
8258 fi
8259 fi
8260 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8261 if test -n "$ac_ct_OTOOL64"; then
8262   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
8263 $as_echo "$ac_ct_OTOOL64" >&6; }
8264 else
8265   { $as_echo "$as_me:$LINENO: result: no" >&5
8266 $as_echo "no" >&6; }
8267 fi
8268
8269   if test "x$ac_ct_OTOOL64" = x; then
8270     OTOOL64=":"
8271   else
8272     case $cross_compiling:$ac_tool_warned in
8273 yes:)
8274 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8275 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8276 ac_tool_warned=yes ;;
8277 esac
8278     OTOOL64=$ac_ct_OTOOL64
8279   fi
8280 else
8281   OTOOL64="$ac_cv_prog_OTOOL64"
8282 fi
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
8311 $as_echo_n "checking for -single_module linker flag... " >&6; }
8312 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8313   $as_echo_n "(cached) " >&6
8314 else
8315   lt_cv_apple_cc_single_mod=no
8316       if test -z "${LT_MULTI_MODULE}"; then
8317         # By default we will add the -single_module flag. You can override
8318         # by either setting the environment variable LT_MULTI_MODULE
8319         # non-empty at configure time, or by adding -multi_module to the
8320         # link flags.
8321         rm -rf libconftest.dylib*
8322         echo "int foo(void){return 1;}" > conftest.c
8323         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8324 -dynamiclib -Wl,-single_module conftest.c" >&5
8325         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8326           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8327         _lt_result=$?
8328         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8329           lt_cv_apple_cc_single_mod=yes
8330         else
8331           cat conftest.err >&5
8332         fi
8333         rm -rf libconftest.dylib*
8334         rm -f conftest.*
8335       fi
8336 fi
8337 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
8338 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8339     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
8340 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8341 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
8342   $as_echo_n "(cached) " >&6
8343 else
8344   lt_cv_ld_exported_symbols_list=no
8345       save_LDFLAGS=$LDFLAGS
8346       echo "_main" > conftest.sym
8347       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8348       cat >conftest.$ac_ext <<_ACEOF
8349 /* confdefs.h.  */
8350 _ACEOF
8351 cat confdefs.h >>conftest.$ac_ext
8352 cat >>conftest.$ac_ext <<_ACEOF
8353 /* end confdefs.h.  */
8354
8355 int
8356 main ()
8357 {
8358
8359   ;
8360   return 0;
8361 }
8362 _ACEOF
8363 rm -f conftest.$ac_objext conftest$ac_exeext
8364 if { (ac_try="$ac_link"
8365 case "(($ac_try" in
8366   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8367   *) ac_try_echo=$ac_try;;
8368 esac
8369 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8370 $as_echo "$ac_try_echo") >&5
8371   (eval "$ac_link") 2>conftest.er1
8372   ac_status=$?
8373   grep -v '^ *+' conftest.er1 >conftest.err
8374   rm -f conftest.er1
8375   cat conftest.err >&5
8376   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8377   (exit $ac_status); } && {
8378          test -z "$ac_c_werror_flag" ||
8379          test ! -s conftest.err
8380        } && test -s conftest$ac_exeext && {
8381          test "$cross_compiling" = yes ||
8382          $as_test_x conftest$ac_exeext
8383        }; then
8384   lt_cv_ld_exported_symbols_list=yes
8385 else
8386   $as_echo "$as_me: failed program was:" >&5
8387 sed 's/^/| /' conftest.$ac_ext >&5
8388
8389         lt_cv_ld_exported_symbols_list=no
8390 fi
8391
8392 rm -rf conftest.dSYM
8393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8394       conftest$ac_exeext conftest.$ac_ext
8395         LDFLAGS="$save_LDFLAGS"
8396
8397 fi
8398 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
8399 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8400     case $host_os in
8401     rhapsody* | darwin1.[012])
8402       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8403     darwin1.*)
8404       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8405     darwin*) # darwin 5.x on
8406       # if running on 10.5 or later, the deployment target defaults
8407       # to the OS version, if on x86, and 10.4, the deployment
8408       # target defaults to 10.4. Don't you love it?
8409       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8410         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8411           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8412         10.[012]*)
8413           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8414         10.*)
8415           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8416       esac
8417     ;;
8418   esac
8419     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8420       _lt_dar_single_mod='$single_module'
8421     fi
8422     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8423       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8424     else
8425       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8426     fi
8427     if test "$DSYMUTIL" != ":"; then
8428       _lt_dsymutil='~$DSYMUTIL $lib || :'
8429     else
8430       _lt_dsymutil=
8431     fi
8432     ;;
8433   esac
8434
8435 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8446                   inttypes.h stdint.h unistd.h
8447 do
8448 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8449 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8450 $as_echo_n "checking for $ac_header... " >&6; }
8451 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8452   $as_echo_n "(cached) " >&6
8453 else
8454   cat >conftest.$ac_ext <<_ACEOF
8455 /* confdefs.h.  */
8456 _ACEOF
8457 cat confdefs.h >>conftest.$ac_ext
8458 cat >>conftest.$ac_ext <<_ACEOF
8459 /* end confdefs.h.  */
8460 $ac_includes_default
8461
8462 #include <$ac_header>
8463 _ACEOF
8464 rm -f conftest.$ac_objext
8465 if { (ac_try="$ac_compile"
8466 case "(($ac_try" in
8467   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8468   *) ac_try_echo=$ac_try;;
8469 esac
8470 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8471 $as_echo "$ac_try_echo") >&5
8472   (eval "$ac_compile") 2>conftest.er1
8473   ac_status=$?
8474   grep -v '^ *+' conftest.er1 >conftest.err
8475   rm -f conftest.er1
8476   cat conftest.err >&5
8477   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8478   (exit $ac_status); } && {
8479          test -z "$ac_c_werror_flag" ||
8480          test ! -s conftest.err
8481        } && test -s conftest.$ac_objext; then
8482   eval "$as_ac_Header=yes"
8483 else
8484   $as_echo "$as_me: failed program was:" >&5
8485 sed 's/^/| /' conftest.$ac_ext >&5
8486
8487         eval "$as_ac_Header=no"
8488 fi
8489
8490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8491 fi
8492 ac_res=`eval 'as_val=${'$as_ac_Header'}
8493                  $as_echo "$as_val"'`
8494                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8495 $as_echo "$ac_res" >&6; }
8496 as_val=`eval 'as_val=${'$as_ac_Header'}
8497                  $as_echo "$as_val"'`
8498    if test "x$as_val" = x""yes; then
8499   cat >>confdefs.h <<_ACEOF
8500 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8501 _ACEOF
8502
8503 fi
8504
8505 done
8506
8507
8508
8509 for ac_header in dlfcn.h
8510 do
8511 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8512 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8513 $as_echo_n "checking for $ac_header... " >&6; }
8514 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8515   $as_echo_n "(cached) " >&6
8516 else
8517   cat >conftest.$ac_ext <<_ACEOF
8518 /* confdefs.h.  */
8519 _ACEOF
8520 cat confdefs.h >>conftest.$ac_ext
8521 cat >>conftest.$ac_ext <<_ACEOF
8522 /* end confdefs.h.  */
8523 $ac_includes_default
8524
8525 #include <$ac_header>
8526 _ACEOF
8527 rm -f conftest.$ac_objext
8528 if { (ac_try="$ac_compile"
8529 case "(($ac_try" in
8530   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8531   *) ac_try_echo=$ac_try;;
8532 esac
8533 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8534 $as_echo "$ac_try_echo") >&5
8535   (eval "$ac_compile") 2>conftest.er1
8536   ac_status=$?
8537   grep -v '^ *+' conftest.er1 >conftest.err
8538   rm -f conftest.er1
8539   cat conftest.err >&5
8540   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8541   (exit $ac_status); } && {
8542          test -z "$ac_c_werror_flag" ||
8543          test ! -s conftest.err
8544        } && test -s conftest.$ac_objext; then
8545   eval "$as_ac_Header=yes"
8546 else
8547   $as_echo "$as_me: failed program was:" >&5
8548 sed 's/^/| /' conftest.$ac_ext >&5
8549
8550         eval "$as_ac_Header=no"
8551 fi
8552
8553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8554 fi
8555 ac_res=`eval 'as_val=${'$as_ac_Header'}
8556                  $as_echo "$as_val"'`
8557                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8558 $as_echo "$ac_res" >&6; }
8559 as_val=`eval 'as_val=${'$as_ac_Header'}
8560                  $as_echo "$as_val"'`
8561    if test "x$as_val" = x""yes; then
8562   cat >>confdefs.h <<_ACEOF
8563 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8564 _ACEOF
8565
8566 fi
8567
8568 done
8569
8570
8571
8572 # Set options
8573
8574
8575
8576         enable_dlopen=no
8577
8578
8579   enable_win32_dll=no
8580
8581
8582             # Check whether --enable-shared was given.
8583 if test "${enable_shared+set}" = set; then
8584   enableval=$enable_shared; p=${PACKAGE-default}
8585     case $enableval in
8586     yes) enable_shared=yes ;;
8587     no) enable_shared=no ;;
8588     *)
8589       enable_shared=no
8590       # Look at the argument we got.  We use all the common list separators.
8591       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8592       for pkg in $enableval; do
8593         IFS="$lt_save_ifs"
8594         if test "X$pkg" = "X$p"; then
8595           enable_shared=yes
8596         fi
8597       done
8598       IFS="$lt_save_ifs"
8599       ;;
8600     esac
8601 else
8602   enable_shared=yes
8603 fi
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613   # Check whether --enable-static was given.
8614 if test "${enable_static+set}" = set; then
8615   enableval=$enable_static; p=${PACKAGE-default}
8616     case $enableval in
8617     yes) enable_static=yes ;;
8618     no) enable_static=no ;;
8619     *)
8620      enable_static=no
8621       # Look at the argument we got.  We use all the common list separators.
8622       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8623       for pkg in $enableval; do
8624         IFS="$lt_save_ifs"
8625         if test "X$pkg" = "X$p"; then
8626           enable_static=yes
8627         fi
8628       done
8629       IFS="$lt_save_ifs"
8630       ;;
8631     esac
8632 else
8633   enable_static=yes
8634 fi
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645 # Check whether --with-pic was given.
8646 if test "${with_pic+set}" = set; then
8647   withval=$with_pic; pic_mode="$withval"
8648 else
8649   pic_mode=default
8650 fi
8651
8652
8653 test -z "$pic_mode" && pic_mode=default
8654
8655
8656
8657
8658
8659
8660
8661   # Check whether --enable-fast-install was given.
8662 if test "${enable_fast_install+set}" = set; then
8663   enableval=$enable_fast_install; p=${PACKAGE-default}
8664     case $enableval in
8665     yes) enable_fast_install=yes ;;
8666     no) enable_fast_install=no ;;
8667     *)
8668       enable_fast_install=no
8669       # Look at the argument we got.  We use all the common list separators.
8670       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8671       for pkg in $enableval; do
8672         IFS="$lt_save_ifs"
8673         if test "X$pkg" = "X$p"; then
8674           enable_fast_install=yes
8675         fi
8676       done
8677       IFS="$lt_save_ifs"
8678       ;;
8679     esac
8680 else
8681   enable_fast_install=yes
8682 fi
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694 # This can be used to rebuild libtool when needed
8695 LIBTOOL_DEPS="$ltmain"
8696
8697 # Always use our own libtool.
8698 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724 test -z "$LN_S" && LN_S="ln -s"
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739 if test -n "${ZSH_VERSION+set}" ; then
8740    setopt NO_GLOB_SUBST
8741 fi
8742
8743 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
8744 $as_echo_n "checking for objdir... " >&6; }
8745 if test "${lt_cv_objdir+set}" = set; then
8746   $as_echo_n "(cached) " >&6
8747 else
8748   rm -f .libs 2>/dev/null
8749 mkdir .libs 2>/dev/null
8750 if test -d .libs; then
8751   lt_cv_objdir=.libs
8752 else
8753   # MS-DOS does not allow filenames that begin with a dot.
8754   lt_cv_objdir=_libs
8755 fi
8756 rmdir .libs 2>/dev/null
8757 fi
8758 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8759 $as_echo "$lt_cv_objdir" >&6; }
8760 objdir=$lt_cv_objdir
8761
8762
8763
8764
8765
8766 cat >>confdefs.h <<_ACEOF
8767 #define LT_OBJDIR "$lt_cv_objdir/"
8768 _ACEOF
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786 case $host_os in
8787 aix3*)
8788   # AIX sometimes has problems with the GCC collect2 program.  For some
8789   # reason, if we set the COLLECT_NAMES environment variable, the problems
8790   # vanish in a puff of smoke.
8791   if test "X${COLLECT_NAMES+set}" != Xset; then
8792     COLLECT_NAMES=
8793     export COLLECT_NAMES
8794   fi
8795   ;;
8796 esac
8797
8798 # Sed substitution that helps us do robust quoting.  It backslashifies
8799 # metacharacters that are still active within double-quoted strings.
8800 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8801
8802 # Same as above, but do not quote variable references.
8803 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8804
8805 # Sed substitution to delay expansion of an escaped shell variable in a
8806 # double_quote_subst'ed string.
8807 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8808
8809 # Sed substitution to delay expansion of an escaped single quote.
8810 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8811
8812 # Sed substitution to avoid accidental globbing in evaled expressions
8813 no_glob_subst='s/\*/\\\*/g'
8814
8815 # Global variables:
8816 ofile=libtool
8817 can_build_shared=yes
8818
8819 # All known linkers require a `.a' archive for static linking (except MSVC,
8820 # which needs '.lib').
8821 libext=a
8822
8823 with_gnu_ld="$lt_cv_prog_gnu_ld"
8824
8825 old_CC="$CC"
8826 old_CFLAGS="$CFLAGS"
8827
8828 # Set sane defaults for various variables
8829 test -z "$CC" && CC=cc
8830 test -z "$LTCC" && LTCC=$CC
8831 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8832 test -z "$LD" && LD=ld
8833 test -z "$ac_objext" && ac_objext=o
8834
8835 for cc_temp in $compiler""; do
8836   case $cc_temp in
8837     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8838     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8839     \-*) ;;
8840     *) break;;
8841   esac
8842 done
8843 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8844
8845
8846 # Only perform the check for file, if the check method requires it
8847 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8848 case $deplibs_check_method in
8849 file_magic*)
8850   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8851     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8852 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8853 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8854   $as_echo_n "(cached) " >&6
8855 else
8856   case $MAGIC_CMD in
8857 [\\/*] |  ?:[\\/]*)
8858   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8859   ;;
8860 *)
8861   lt_save_MAGIC_CMD="$MAGIC_CMD"
8862   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8863   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8864   for ac_dir in $ac_dummy; do
8865     IFS="$lt_save_ifs"
8866     test -z "$ac_dir" && ac_dir=.
8867     if test -f $ac_dir/${ac_tool_prefix}file; then
8868       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8869       if test -n "$file_magic_test_file"; then
8870         case $deplibs_check_method in
8871         "file_magic "*)
8872           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8873           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8874           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8875             $EGREP "$file_magic_regex" > /dev/null; then
8876             :
8877           else
8878             cat <<_LT_EOF 1>&2
8879
8880 *** Warning: the command libtool uses to detect shared libraries,
8881 *** $file_magic_cmd, produces output that libtool cannot recognize.
8882 *** The result is that libtool may fail to recognize shared libraries
8883 *** as such.  This will affect the creation of libtool libraries that
8884 *** depend on shared libraries, but programs linked with such libtool
8885 *** libraries will work regardless of this problem.  Nevertheless, you
8886 *** may want to report the problem to your system manager and/or to
8887 *** bug-libtool@gnu.org
8888
8889 _LT_EOF
8890           fi ;;
8891         esac
8892       fi
8893       break
8894     fi
8895   done
8896   IFS="$lt_save_ifs"
8897   MAGIC_CMD="$lt_save_MAGIC_CMD"
8898   ;;
8899 esac
8900 fi
8901
8902 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8903 if test -n "$MAGIC_CMD"; then
8904   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8905 $as_echo "$MAGIC_CMD" >&6; }
8906 else
8907   { $as_echo "$as_me:$LINENO: result: no" >&5
8908 $as_echo "no" >&6; }
8909 fi
8910
8911
8912
8913
8914
8915 if test -z "$lt_cv_path_MAGIC_CMD"; then
8916   if test -n "$ac_tool_prefix"; then
8917     { $as_echo "$as_me:$LINENO: checking for file" >&5
8918 $as_echo_n "checking for file... " >&6; }
8919 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8920   $as_echo_n "(cached) " >&6
8921 else
8922   case $MAGIC_CMD in
8923 [\\/*] |  ?:[\\/]*)
8924   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8925   ;;
8926 *)
8927   lt_save_MAGIC_CMD="$MAGIC_CMD"
8928   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8929   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8930   for ac_dir in $ac_dummy; do
8931     IFS="$lt_save_ifs"
8932     test -z "$ac_dir" && ac_dir=.
8933     if test -f $ac_dir/file; then
8934       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8935       if test -n "$file_magic_test_file"; then
8936         case $deplibs_check_method in
8937         "file_magic "*)
8938           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8939           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8940           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8941             $EGREP "$file_magic_regex" > /dev/null; then
8942             :
8943           else
8944             cat <<_LT_EOF 1>&2
8945
8946 *** Warning: the command libtool uses to detect shared libraries,
8947 *** $file_magic_cmd, produces output that libtool cannot recognize.
8948 *** The result is that libtool may fail to recognize shared libraries
8949 *** as such.  This will affect the creation of libtool libraries that
8950 *** depend on shared libraries, but programs linked with such libtool
8951 *** libraries will work regardless of this problem.  Nevertheless, you
8952 *** may want to report the problem to your system manager and/or to
8953 *** bug-libtool@gnu.org
8954
8955 _LT_EOF
8956           fi ;;
8957         esac
8958       fi
8959       break
8960     fi
8961   done
8962   IFS="$lt_save_ifs"
8963   MAGIC_CMD="$lt_save_MAGIC_CMD"
8964   ;;
8965 esac
8966 fi
8967
8968 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8969 if test -n "$MAGIC_CMD"; then
8970   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8971 $as_echo "$MAGIC_CMD" >&6; }
8972 else
8973   { $as_echo "$as_me:$LINENO: result: no" >&5
8974 $as_echo "no" >&6; }
8975 fi
8976
8977
8978   else
8979     MAGIC_CMD=:
8980   fi
8981 fi
8982
8983   fi
8984   ;;
8985 esac
8986
8987 # Use C for the default configuration in the libtool script
8988
8989 lt_save_CC="$CC"
8990 ac_ext=c
8991 ac_cpp='$CPP $CPPFLAGS'
8992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8995
8996
8997 # Source file extension for C test sources.
8998 ac_ext=c
8999
9000 # Object file extension for compiled C test sources.
9001 objext=o
9002 objext=$objext
9003
9004 # Code to be used in simple compile tests
9005 lt_simple_compile_test_code="int some_variable = 0;"
9006
9007 # Code to be used in simple link tests
9008 lt_simple_link_test_code='int main(){return(0);}'
9009
9010
9011
9012
9013
9014
9015
9016 # If no C compiler was specified, use CC.
9017 LTCC=${LTCC-"$CC"}
9018
9019 # If no C compiler flags were specified, use CFLAGS.
9020 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9021
9022 # Allow CC to be a program name with arguments.
9023 compiler=$CC
9024
9025 # Save the default compiler, since it gets overwritten when the other
9026 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9027 compiler_DEFAULT=$CC
9028
9029 # save warnings/boilerplate of simple test code
9030 ac_outfile=conftest.$ac_objext
9031 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9032 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9033 _lt_compiler_boilerplate=`cat conftest.err`
9034 $RM conftest*
9035
9036 ac_outfile=conftest.$ac_objext
9037 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9038 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9039 _lt_linker_boilerplate=`cat conftest.err`
9040 $RM -r conftest*
9041
9042
9043 ## CAVEAT EMPTOR:
9044 ## There is no encapsulation within the following macros, do not change
9045 ## the running order or otherwise move them around unless you know exactly
9046 ## what you are doing...
9047 if test -n "$compiler"; then
9048
9049 lt_prog_compiler_no_builtin_flag=
9050
9051 if test "$GCC" = yes; then
9052   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9053
9054   { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9055 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9056 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
9057   $as_echo_n "(cached) " >&6
9058 else
9059   lt_cv_prog_compiler_rtti_exceptions=no
9060    ac_outfile=conftest.$ac_objext
9061    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9062    lt_compiler_flag="-fno-rtti -fno-exceptions"
9063    # Insert the option either (1) after the last *FLAGS variable, or
9064    # (2) before a word containing "conftest.", or (3) at the end.
9065    # Note that $ac_compile itself does not contain backslashes and begins
9066    # with a dollar sign (not a hyphen), so the echo should work correctly.
9067    # The option is referenced via a variable to avoid confusing sed.
9068    lt_compile=`echo "$ac_compile" | $SED \
9069    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9070    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9071    -e 's:$: $lt_compiler_flag:'`
9072    (eval echo "\"\$as_me:9072: $lt_compile\"" >&5)
9073    (eval "$lt_compile" 2>conftest.err)
9074    ac_status=$?
9075    cat conftest.err >&5
9076    echo "$as_me:9076: \$? = $ac_status" >&5
9077    if (exit $ac_status) && test -s "$ac_outfile"; then
9078      # The compiler can only warn and ignore the option if not recognized
9079      # So say no if there are warnings other than the usual output.
9080      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9081      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9082      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9083        lt_cv_prog_compiler_rtti_exceptions=yes
9084      fi
9085    fi
9086    $RM conftest*
9087
9088 fi
9089 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9090 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9091
9092 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9093     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9094 else
9095     :
9096 fi
9097
9098 fi
9099
9100
9101
9102
9103
9104
9105   lt_prog_compiler_wl=
9106 lt_prog_compiler_pic=
9107 lt_prog_compiler_static=
9108
9109 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
9110 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9111
9112   if test "$GCC" = yes; then
9113     lt_prog_compiler_wl='-Wl,'
9114     lt_prog_compiler_static='-static'
9115
9116     case $host_os in
9117       aix*)
9118       # All AIX code is PIC.
9119       if test "$host_cpu" = ia64; then
9120         # AIX 5 now supports IA64 processor
9121         lt_prog_compiler_static='-Bstatic'
9122       fi
9123       ;;
9124
9125     amigaos*)
9126       case $host_cpu in
9127       powerpc)
9128             # see comment about AmigaOS4 .so support
9129             lt_prog_compiler_pic='-fPIC'
9130         ;;
9131       m68k)
9132             # FIXME: we need at least 68020 code to build shared libraries, but
9133             # adding the `-m68020' flag to GCC prevents building anything better,
9134             # like `-m68040'.
9135             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9136         ;;
9137       esac
9138       ;;
9139
9140     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9141       # PIC is the default for these OSes.
9142       ;;
9143
9144     mingw* | cygwin* | pw32* | os2* | cegcc*)
9145       # This hack is so that the source file can tell whether it is being
9146       # built for inclusion in a dll (and should export symbols for example).
9147       # Although the cygwin gcc ignores -fPIC, still need this for old-style
9148       # (--disable-auto-import) libraries
9149       lt_prog_compiler_pic='-DDLL_EXPORT'
9150       ;;
9151
9152     darwin* | rhapsody*)
9153       # PIC is the default on this platform
9154       # Common symbols not allowed in MH_DYLIB files
9155       lt_prog_compiler_pic='-fno-common'
9156       ;;
9157
9158     hpux*)
9159       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9160       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9161       # sets the default TLS model and affects inlining.
9162       case $host_cpu in
9163       hppa*64*)
9164         # +Z the default
9165         ;;
9166       *)
9167         lt_prog_compiler_pic='-fPIC'
9168         ;;
9169       esac
9170       ;;
9171
9172     interix[3-9]*)
9173       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9174       # Instead, we relocate shared libraries at runtime.
9175       ;;
9176
9177     msdosdjgpp*)
9178       # Just because we use GCC doesn't mean we suddenly get shared libraries
9179       # on systems that don't support them.
9180       lt_prog_compiler_can_build_shared=no
9181       enable_shared=no
9182       ;;
9183
9184     *nto* | *qnx*)
9185       # QNX uses GNU C++, but need to define -shared option too, otherwise
9186       # it will coredump.
9187       lt_prog_compiler_pic='-fPIC -shared'
9188       ;;
9189
9190     sysv4*MP*)
9191       if test -d /usr/nec; then
9192         lt_prog_compiler_pic=-Kconform_pic
9193       fi
9194       ;;
9195
9196     *)
9197       lt_prog_compiler_pic='-fPIC'
9198       ;;
9199     esac
9200   else
9201     # PORTME Check for flag to pass linker flags through the system compiler.
9202     case $host_os in
9203     aix*)
9204       lt_prog_compiler_wl='-Wl,'
9205       if test "$host_cpu" = ia64; then
9206         # AIX 5 now supports IA64 processor
9207         lt_prog_compiler_static='-Bstatic'
9208       else
9209         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9210       fi
9211       ;;
9212
9213     mingw* | cygwin* | pw32* | os2* | cegcc*)
9214       # This hack is so that the source file can tell whether it is being
9215       # built for inclusion in a dll (and should export symbols for example).
9216       lt_prog_compiler_pic='-DDLL_EXPORT'
9217       ;;
9218
9219     hpux9* | hpux10* | hpux11*)
9220       lt_prog_compiler_wl='-Wl,'
9221       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9222       # not for PA HP-UX.
9223       case $host_cpu in
9224       hppa*64*|ia64*)
9225         # +Z the default
9226         ;;
9227       *)
9228         lt_prog_compiler_pic='+Z'
9229         ;;
9230       esac
9231       # Is there a better lt_prog_compiler_static that works with the bundled CC?
9232       lt_prog_compiler_static='${wl}-a ${wl}archive'
9233       ;;
9234
9235     irix5* | irix6* | nonstopux*)
9236       lt_prog_compiler_wl='-Wl,'
9237       # PIC (with -KPIC) is the default.
9238       lt_prog_compiler_static='-non_shared'
9239       ;;
9240
9241     linux* | k*bsd*-gnu)
9242       case $cc_basename in
9243       # old Intel for x86_64 which still supported -KPIC.
9244       ecc*)
9245         lt_prog_compiler_wl='-Wl,'
9246         lt_prog_compiler_pic='-KPIC'
9247         lt_prog_compiler_static='-static'
9248         ;;
9249       # icc used to be incompatible with GCC.
9250       # ICC 10 doesn't accept -KPIC any more.
9251       icc* | ifort*)
9252         lt_prog_compiler_wl='-Wl,'
9253         lt_prog_compiler_pic='-fPIC'
9254         lt_prog_compiler_static='-static'
9255         ;;
9256       # Lahey Fortran 8.1.
9257       lf95*)
9258         lt_prog_compiler_wl='-Wl,'
9259         lt_prog_compiler_pic='--shared'
9260         lt_prog_compiler_static='--static'
9261         ;;
9262       pgcc* | pgf77* | pgf90* | pgf95*)
9263         # Portland Group compilers (*not* the Pentium gcc compiler,
9264         # which looks to be a dead project)
9265         lt_prog_compiler_wl='-Wl,'
9266         lt_prog_compiler_pic='-fpic'
9267         lt_prog_compiler_static='-Bstatic'
9268         ;;
9269       ccc*)
9270         lt_prog_compiler_wl='-Wl,'
9271         # All Alpha code is PIC.
9272         lt_prog_compiler_static='-non_shared'
9273         ;;
9274       xl*)
9275         # IBM XL C 8.0/Fortran 10.1 on PPC
9276         lt_prog_compiler_wl='-Wl,'
9277         lt_prog_compiler_pic='-qpic'
9278         lt_prog_compiler_static='-qstaticlink'
9279         ;;
9280       *)
9281         case `$CC -V 2>&1 | sed 5q` in
9282         *Sun\ C*)
9283           # Sun C 5.9
9284           lt_prog_compiler_pic='-KPIC'
9285           lt_prog_compiler_static='-Bstatic'
9286           lt_prog_compiler_wl='-Wl,'
9287           ;;
9288         *Sun\ F*)
9289           # Sun Fortran 8.3 passes all unrecognized flags to the linker
9290           lt_prog_compiler_pic='-KPIC'
9291           lt_prog_compiler_static='-Bstatic'
9292           lt_prog_compiler_wl=''
9293           ;;
9294         esac
9295         ;;
9296       esac
9297       ;;
9298
9299     newsos6)
9300       lt_prog_compiler_pic='-KPIC'
9301       lt_prog_compiler_static='-Bstatic'
9302       ;;
9303
9304     *nto* | *qnx*)
9305       # QNX uses GNU C++, but need to define -shared option too, otherwise
9306       # it will coredump.
9307       lt_prog_compiler_pic='-fPIC -shared'
9308       ;;
9309
9310     osf3* | osf4* | osf5*)
9311       lt_prog_compiler_wl='-Wl,'
9312       # All OSF/1 code is PIC.
9313       lt_prog_compiler_static='-non_shared'
9314       ;;
9315
9316     rdos*)
9317       lt_prog_compiler_static='-non_shared'
9318       ;;
9319
9320     solaris*)
9321       lt_prog_compiler_pic='-KPIC'
9322       lt_prog_compiler_static='-Bstatic'
9323       case $cc_basename in
9324       f77* | f90* | f95*)
9325         lt_prog_compiler_wl='-Qoption ld ';;
9326       *)
9327         lt_prog_compiler_wl='-Wl,';;
9328       esac
9329       ;;
9330
9331     sunos4*)
9332       lt_prog_compiler_wl='-Qoption ld '
9333       lt_prog_compiler_pic='-PIC'
9334       lt_prog_compiler_static='-Bstatic'
9335       ;;
9336
9337     sysv4 | sysv4.2uw2* | sysv4.3*)
9338       lt_prog_compiler_wl='-Wl,'
9339       lt_prog_compiler_pic='-KPIC'
9340       lt_prog_compiler_static='-Bstatic'
9341       ;;
9342
9343     sysv4*MP*)
9344       if test -d /usr/nec ;then
9345         lt_prog_compiler_pic='-Kconform_pic'
9346         lt_prog_compiler_static='-Bstatic'
9347       fi
9348       ;;
9349
9350     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9351       lt_prog_compiler_wl='-Wl,'
9352       lt_prog_compiler_pic='-KPIC'
9353       lt_prog_compiler_static='-Bstatic'
9354       ;;
9355
9356     unicos*)
9357       lt_prog_compiler_wl='-Wl,'
9358       lt_prog_compiler_can_build_shared=no
9359       ;;
9360
9361     uts4*)
9362       lt_prog_compiler_pic='-pic'
9363       lt_prog_compiler_static='-Bstatic'
9364       ;;
9365
9366     *)
9367       lt_prog_compiler_can_build_shared=no
9368       ;;
9369     esac
9370   fi
9371
9372 case $host_os in
9373   # For platforms which do not support PIC, -DPIC is meaningless:
9374   *djgpp*)
9375     lt_prog_compiler_pic=
9376     ;;
9377   *)
9378     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9379     ;;
9380 esac
9381 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9382 $as_echo "$lt_prog_compiler_pic" >&6; }
9383
9384
9385
9386
9387
9388
9389 #
9390 # Check to make sure the PIC flag actually works.
9391 #
9392 if test -n "$lt_prog_compiler_pic"; then
9393   { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9394 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9395 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
9396   $as_echo_n "(cached) " >&6
9397 else
9398   lt_cv_prog_compiler_pic_works=no
9399    ac_outfile=conftest.$ac_objext
9400    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9401    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9402    # Insert the option either (1) after the last *FLAGS variable, or
9403    # (2) before a word containing "conftest.", or (3) at the end.
9404    # Note that $ac_compile itself does not contain backslashes and begins
9405    # with a dollar sign (not a hyphen), so the echo should work correctly.
9406    # The option is referenced via a variable to avoid confusing sed.
9407    lt_compile=`echo "$ac_compile" | $SED \
9408    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9409    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9410    -e 's:$: $lt_compiler_flag:'`
9411    (eval echo "\"\$as_me:9411: $lt_compile\"" >&5)
9412    (eval "$lt_compile" 2>conftest.err)
9413    ac_status=$?
9414    cat conftest.err >&5
9415    echo "$as_me:9415: \$? = $ac_status" >&5
9416    if (exit $ac_status) && test -s "$ac_outfile"; then
9417      # The compiler can only warn and ignore the option if not recognized
9418      # So say no if there are warnings other than the usual output.
9419      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9420      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9421      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9422        lt_cv_prog_compiler_pic_works=yes
9423      fi
9424    fi
9425    $RM conftest*
9426
9427 fi
9428 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
9429 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9430
9431 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9432     case $lt_prog_compiler_pic in
9433      "" | " "*) ;;
9434      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9435      esac
9436 else
9437     lt_prog_compiler_pic=
9438      lt_prog_compiler_can_build_shared=no
9439 fi
9440
9441 fi
9442
9443
9444
9445
9446
9447
9448 #
9449 # Check to make sure the static flag actually works.
9450 #
9451 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9452 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9453 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9454 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
9455   $as_echo_n "(cached) " >&6
9456 else
9457   lt_cv_prog_compiler_static_works=no
9458    save_LDFLAGS="$LDFLAGS"
9459    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9460    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9461    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9462      # The linker can only warn and ignore the option if not recognized
9463      # So say no if there are warnings
9464      if test -s conftest.err; then
9465        # Append any errors to the config.log.
9466        cat conftest.err 1>&5
9467        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9468        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9469        if diff conftest.exp conftest.er2 >/dev/null; then
9470          lt_cv_prog_compiler_static_works=yes
9471        fi
9472      else
9473        lt_cv_prog_compiler_static_works=yes
9474      fi
9475    fi
9476    $RM -r conftest*
9477    LDFLAGS="$save_LDFLAGS"
9478
9479 fi
9480 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
9481 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9482
9483 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9484     :
9485 else
9486     lt_prog_compiler_static=
9487 fi
9488
9489
9490
9491
9492
9493
9494
9495   { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9496 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9497 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9498   $as_echo_n "(cached) " >&6
9499 else
9500   lt_cv_prog_compiler_c_o=no
9501    $RM -r conftest 2>/dev/null
9502    mkdir conftest
9503    cd conftest
9504    mkdir out
9505    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9506
9507    lt_compiler_flag="-o out/conftest2.$ac_objext"
9508    # Insert the option either (1) after the last *FLAGS variable, or
9509    # (2) before a word containing "conftest.", or (3) at the end.
9510    # Note that $ac_compile itself does not contain backslashes and begins
9511    # with a dollar sign (not a hyphen), so the echo should work correctly.
9512    lt_compile=`echo "$ac_compile" | $SED \
9513    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9514    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9515    -e 's:$: $lt_compiler_flag:'`
9516    (eval echo "\"\$as_me:9516: $lt_compile\"" >&5)
9517    (eval "$lt_compile" 2>out/conftest.err)
9518    ac_status=$?
9519    cat out/conftest.err >&5
9520    echo "$as_me:9520: \$? = $ac_status" >&5
9521    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9522    then
9523      # The compiler can only warn and ignore the option if not recognized
9524      # So say no if there are warnings
9525      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9526      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9527      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9528        lt_cv_prog_compiler_c_o=yes
9529      fi
9530    fi
9531    chmod u+w . 2>&5
9532    $RM conftest*
9533    # SGI C++ compiler will create directory out/ii_files/ for
9534    # template instantiation
9535    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9536    $RM out/* && rmdir out
9537    cd ..
9538    $RM -r conftest
9539    $RM conftest*
9540
9541 fi
9542 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9543 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9544
9545
9546
9547
9548
9549
9550   { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9551 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9552 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9553   $as_echo_n "(cached) " >&6
9554 else
9555   lt_cv_prog_compiler_c_o=no
9556    $RM -r conftest 2>/dev/null
9557    mkdir conftest
9558    cd conftest
9559    mkdir out
9560    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9561
9562    lt_compiler_flag="-o out/conftest2.$ac_objext"
9563    # Insert the option either (1) after the last *FLAGS variable, or
9564    # (2) before a word containing "conftest.", or (3) at the end.
9565    # Note that $ac_compile itself does not contain backslashes and begins
9566    # with a dollar sign (not a hyphen), so the echo should work correctly.
9567    lt_compile=`echo "$ac_compile" | $SED \
9568    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9569    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9570    -e 's:$: $lt_compiler_flag:'`
9571    (eval echo "\"\$as_me:9571: $lt_compile\"" >&5)
9572    (eval "$lt_compile" 2>out/conftest.err)
9573    ac_status=$?
9574    cat out/conftest.err >&5
9575    echo "$as_me:9575: \$? = $ac_status" >&5
9576    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9577    then
9578      # The compiler can only warn and ignore the option if not recognized
9579      # So say no if there are warnings
9580      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9581      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9582      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9583        lt_cv_prog_compiler_c_o=yes
9584      fi
9585    fi
9586    chmod u+w . 2>&5
9587    $RM conftest*
9588    # SGI C++ compiler will create directory out/ii_files/ for
9589    # template instantiation
9590    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9591    $RM out/* && rmdir out
9592    cd ..
9593    $RM -r conftest
9594    $RM conftest*
9595
9596 fi
9597 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9598 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9599
9600
9601
9602
9603 hard_links="nottested"
9604 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9605   # do not overwrite the value of need_locks provided by the user
9606   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9607 $as_echo_n "checking if we can lock with hard links... " >&6; }
9608   hard_links=yes
9609   $RM conftest*
9610   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9611   touch conftest.a
9612   ln conftest.a conftest.b 2>&5 || hard_links=no
9613   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9614   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
9615 $as_echo "$hard_links" >&6; }
9616   if test "$hard_links" = no; then
9617     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9618 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9619     need_locks=warn
9620   fi
9621 else
9622   need_locks=no
9623 fi
9624
9625
9626
9627
9628
9629
9630   { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9631 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9632
9633   runpath_var=
9634   allow_undefined_flag=
9635   always_export_symbols=no
9636   archive_cmds=
9637   archive_expsym_cmds=
9638   compiler_needs_object=no
9639   enable_shared_with_static_runtimes=no
9640   export_dynamic_flag_spec=
9641   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9642   hardcode_automatic=no
9643   hardcode_direct=no
9644   hardcode_direct_absolute=no
9645   hardcode_libdir_flag_spec=
9646   hardcode_libdir_flag_spec_ld=
9647   hardcode_libdir_separator=
9648   hardcode_minus_L=no
9649   hardcode_shlibpath_var=unsupported
9650   inherit_rpath=no
9651   link_all_deplibs=unknown
9652   module_cmds=
9653   module_expsym_cmds=
9654   old_archive_from_new_cmds=
9655   old_archive_from_expsyms_cmds=
9656   thread_safe_flag_spec=
9657   whole_archive_flag_spec=
9658   # include_expsyms should be a list of space-separated symbols to be *always*
9659   # included in the symbol list
9660   include_expsyms=
9661   # exclude_expsyms can be an extended regexp of symbols to exclude
9662   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9663   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9664   # as well as any symbol that contains `d'.
9665   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9666   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9667   # platforms (ab)use it in PIC code, but their linkers get confused if
9668   # the symbol is explicitly referenced.  Since portable code cannot
9669   # rely on this symbol name, it's probably fine to never include it in
9670   # preloaded symbol tables.
9671   # Exclude shared library initialization/finalization symbols.
9672   extract_expsyms_cmds=
9673
9674   case $host_os in
9675   cygwin* | mingw* | pw32* | cegcc*)
9676     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9677     # When not using gcc, we currently assume that we are using
9678     # Microsoft Visual C++.
9679     if test "$GCC" != yes; then
9680       with_gnu_ld=no
9681     fi
9682     ;;
9683   interix*)
9684     # we just hope/assume this is gcc and not c89 (= MSVC++)
9685     with_gnu_ld=yes
9686     ;;
9687   openbsd*)
9688     with_gnu_ld=no
9689     ;;
9690   esac
9691
9692   ld_shlibs=yes
9693   if test "$with_gnu_ld" = yes; then
9694     # If archive_cmds runs LD, not CC, wlarc should be empty
9695     wlarc='${wl}'
9696
9697     # Set some defaults for GNU ld with shared library support. These
9698     # are reset later if shared libraries are not supported. Putting them
9699     # here allows them to be overridden if necessary.
9700     runpath_var=LD_RUN_PATH
9701     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9702     export_dynamic_flag_spec='${wl}--export-dynamic'
9703     # ancient GNU ld didn't support --whole-archive et. al.
9704     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9705       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9706     else
9707       whole_archive_flag_spec=
9708     fi
9709     supports_anon_versioning=no
9710     case `$LD -v 2>&1` in
9711       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9712       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9713       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9714       *\ 2.11.*) ;; # other 2.11 versions
9715       *) supports_anon_versioning=yes ;;
9716     esac
9717
9718     # See if GNU ld supports shared libraries.
9719     case $host_os in
9720     aix[3-9]*)
9721       # On AIX/PPC, the GNU linker is very broken
9722       if test "$host_cpu" != ia64; then
9723         ld_shlibs=no
9724         cat <<_LT_EOF 1>&2
9725
9726 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9727 *** to be unable to reliably create shared libraries on AIX.
9728 *** Therefore, libtool is disabling shared libraries support.  If you
9729 *** really care for shared libraries, you may want to modify your PATH
9730 *** so that a non-GNU linker is found, and then restart.
9731
9732 _LT_EOF
9733       fi
9734       ;;
9735
9736     amigaos*)
9737       case $host_cpu in
9738       powerpc)
9739             # see comment about AmigaOS4 .so support
9740             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9741             archive_expsym_cmds=''
9742         ;;
9743       m68k)
9744             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)'
9745             hardcode_libdir_flag_spec='-L$libdir'
9746             hardcode_minus_L=yes
9747         ;;
9748       esac
9749       ;;
9750
9751     beos*)
9752       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9753         allow_undefined_flag=unsupported
9754         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9755         # support --undefined.  This deserves some investigation.  FIXME
9756         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9757       else
9758         ld_shlibs=no
9759       fi
9760       ;;
9761
9762     cygwin* | mingw* | pw32* | cegcc*)
9763       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9764       # as there is no search path for DLLs.
9765       hardcode_libdir_flag_spec='-L$libdir'
9766       allow_undefined_flag=unsupported
9767       always_export_symbols=no
9768       enable_shared_with_static_runtimes=yes
9769       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9770
9771       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9772         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9773         # If the export-symbols file already is a .def file (1st line
9774         # is EXPORTS), use it as is; otherwise, prepend...
9775         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9776           cp $export_symbols $output_objdir/$soname.def;
9777         else
9778           echo EXPORTS > $output_objdir/$soname.def;
9779           cat $export_symbols >> $output_objdir/$soname.def;
9780         fi~
9781         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9782       else
9783         ld_shlibs=no
9784       fi
9785       ;;
9786
9787     interix[3-9]*)
9788       hardcode_direct=no
9789       hardcode_shlibpath_var=no
9790       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9791       export_dynamic_flag_spec='${wl}-E'
9792       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9793       # Instead, shared libraries are loaded at an image base (0x10000000 by
9794       # default) and relocated if they conflict, which is a slow very memory
9795       # consuming and fragmenting process.  To avoid this, we pick a random,
9796       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9797       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9798       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9799       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'
9800       ;;
9801
9802     gnu* | linux* | tpf* | k*bsd*-gnu)
9803       tmp_diet=no
9804       if test "$host_os" = linux-dietlibc; then
9805         case $cc_basename in
9806           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9807         esac
9808       fi
9809       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9810          && test "$tmp_diet" = no
9811       then
9812         tmp_addflag=
9813         tmp_sharedflag='-shared'
9814         case $cc_basename,$host_cpu in
9815         pgcc*)                          # Portland Group C compiler
9816           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'
9817           tmp_addflag=' $pic_flag'
9818           ;;
9819         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9820           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'
9821           tmp_addflag=' $pic_flag -Mnomain' ;;
9822         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9823           tmp_addflag=' -i_dynamic' ;;
9824         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9825           tmp_addflag=' -i_dynamic -nofor_main' ;;
9826         ifc* | ifort*)                  # Intel Fortran compiler
9827           tmp_addflag=' -nofor_main' ;;
9828         lf95*)                          # Lahey Fortran 8.1
9829           whole_archive_flag_spec=
9830           tmp_sharedflag='--shared' ;;
9831         xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9832           tmp_sharedflag='-qmkshrobj'
9833           tmp_addflag= ;;
9834         esac
9835         case `$CC -V 2>&1 | sed 5q` in
9836         *Sun\ C*)                       # Sun C 5.9
9837           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'
9838           compiler_needs_object=yes
9839           tmp_sharedflag='-G' ;;
9840         *Sun\ F*)                       # Sun Fortran 8.3
9841           tmp_sharedflag='-G' ;;
9842         esac
9843         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9844
9845         if test "x$supports_anon_versioning" = xyes; then
9846           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9847             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9848             echo "local: *; };" >> $output_objdir/$libname.ver~
9849             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9850         fi
9851
9852         case $cc_basename in
9853         xlf*)
9854           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9855           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9856           hardcode_libdir_flag_spec=
9857           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9858           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9859           if test "x$supports_anon_versioning" = xyes; then
9860             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9861               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9862               echo "local: *; };" >> $output_objdir/$libname.ver~
9863               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9864           fi
9865           ;;
9866         esac
9867       else
9868         ld_shlibs=no
9869       fi
9870       ;;
9871
9872     netbsd*)
9873       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9874         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9875         wlarc=
9876       else
9877         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9878         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9879       fi
9880       ;;
9881
9882     solaris*)
9883       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9884         ld_shlibs=no
9885         cat <<_LT_EOF 1>&2
9886
9887 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9888 *** create shared libraries on Solaris systems.  Therefore, libtool
9889 *** is disabling shared libraries support.  We urge you to upgrade GNU
9890 *** binutils to release 2.9.1 or newer.  Another option is to modify
9891 *** your PATH or compiler configuration so that the native linker is
9892 *** used, and then restart.
9893
9894 _LT_EOF
9895       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9896         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9897         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9898       else
9899         ld_shlibs=no
9900       fi
9901       ;;
9902
9903     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9904       case `$LD -v 2>&1` in
9905         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9906         ld_shlibs=no
9907         cat <<_LT_EOF 1>&2
9908
9909 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9910 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9911 *** is disabling shared libraries support.  We urge you to upgrade GNU
9912 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9913 *** your PATH or compiler configuration so that the native linker is
9914 *** used, and then restart.
9915
9916 _LT_EOF
9917         ;;
9918         *)
9919           # For security reasons, it is highly recommended that you always
9920           # use absolute paths for naming shared libraries, and exclude the
9921           # DT_RUNPATH tag from executables and libraries.  But doing so
9922           # requires that you compile everything twice, which is a pain.
9923           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9924             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9925             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9926             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9927           else
9928             ld_shlibs=no
9929           fi
9930         ;;
9931       esac
9932       ;;
9933
9934     sunos4*)
9935       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9936       wlarc=
9937       hardcode_direct=yes
9938       hardcode_shlibpath_var=no
9939       ;;
9940
9941     *)
9942       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9943         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9944         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9945       else
9946         ld_shlibs=no
9947       fi
9948       ;;
9949     esac
9950
9951     if test "$ld_shlibs" = no; then
9952       runpath_var=
9953       hardcode_libdir_flag_spec=
9954       export_dynamic_flag_spec=
9955       whole_archive_flag_spec=
9956     fi
9957   else
9958     # PORTME fill in a description of your system's linker (not GNU ld)
9959     case $host_os in
9960     aix3*)
9961       allow_undefined_flag=unsupported
9962       always_export_symbols=yes
9963       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'
9964       # Note: this linker hardcodes the directories in LIBPATH if there
9965       # are no directories specified by -L.
9966       hardcode_minus_L=yes
9967       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9968         # Neither direct hardcoding nor static linking is supported with a
9969         # broken collect2.
9970         hardcode_direct=unsupported
9971       fi
9972       ;;
9973
9974     aix[4-9]*)
9975       if test "$host_cpu" = ia64; then
9976         # On IA64, the linker does run time linking by default, so we don't
9977         # have to do anything special.
9978         aix_use_runtimelinking=no
9979         exp_sym_flag='-Bexport'
9980         no_entry_flag=""
9981       else
9982         # If we're using GNU nm, then we don't want the "-C" option.
9983         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9984         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9985           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'
9986         else
9987           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'
9988         fi
9989         aix_use_runtimelinking=no
9990
9991         # Test if we are trying to use run time linking or normal
9992         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9993         # need to do runtime linking.
9994         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9995           for ld_flag in $LDFLAGS; do
9996           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9997             aix_use_runtimelinking=yes
9998             break
9999           fi
10000           done
10001           ;;
10002         esac
10003
10004         exp_sym_flag='-bexport'
10005         no_entry_flag='-bnoentry'
10006       fi
10007
10008       # When large executables or shared objects are built, AIX ld can
10009       # have problems creating the table of contents.  If linking a library
10010       # or program results in "error TOC overflow" add -mminimal-toc to
10011       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10012       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10013
10014       archive_cmds=''
10015       hardcode_direct=yes
10016       hardcode_direct_absolute=yes
10017       hardcode_libdir_separator=':'
10018       link_all_deplibs=yes
10019       file_list_spec='${wl}-f,'
10020
10021       if test "$GCC" = yes; then
10022         case $host_os in aix4.[012]|aix4.[012].*)
10023         # We only want to do this on AIX 4.2 and lower, the check
10024         # below for broken collect2 doesn't work under 4.3+
10025           collect2name=`${CC} -print-prog-name=collect2`
10026           if test -f "$collect2name" &&
10027            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10028           then
10029           # We have reworked collect2
10030           :
10031           else
10032           # We have old collect2
10033           hardcode_direct=unsupported
10034           # It fails to find uninstalled libraries when the uninstalled
10035           # path is not listed in the libpath.  Setting hardcode_minus_L
10036           # to unsupported forces relinking
10037           hardcode_minus_L=yes
10038           hardcode_libdir_flag_spec='-L$libdir'
10039           hardcode_libdir_separator=
10040           fi
10041           ;;
10042         esac
10043         shared_flag='-shared'
10044         if test "$aix_use_runtimelinking" = yes; then
10045           shared_flag="$shared_flag "'${wl}-G'
10046         fi
10047       else
10048         # not using gcc
10049         if test "$host_cpu" = ia64; then
10050         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10051         # chokes on -Wl,-G. The following line is correct:
10052           shared_flag='-G'
10053         else
10054           if test "$aix_use_runtimelinking" = yes; then
10055             shared_flag='${wl}-G'
10056           else
10057             shared_flag='${wl}-bM:SRE'
10058           fi
10059         fi
10060       fi
10061
10062       export_dynamic_flag_spec='${wl}-bexpall'
10063       # It seems that -bexpall does not export symbols beginning with
10064       # underscore (_), so it is better to generate a list of symbols to export.
10065       always_export_symbols=yes
10066       if test "$aix_use_runtimelinking" = yes; then
10067         # Warning - without using the other runtime loading flags (-brtl),
10068         # -berok will link without error, but may produce a broken library.
10069         allow_undefined_flag='-berok'
10070         # Determine the default libpath from the value encoded in an
10071         # empty executable.
10072         cat >conftest.$ac_ext <<_ACEOF
10073 /* confdefs.h.  */
10074 _ACEOF
10075 cat confdefs.h >>conftest.$ac_ext
10076 cat >>conftest.$ac_ext <<_ACEOF
10077 /* end confdefs.h.  */
10078
10079 int
10080 main ()
10081 {
10082
10083   ;
10084   return 0;
10085 }
10086 _ACEOF
10087 rm -f conftest.$ac_objext conftest$ac_exeext
10088 if { (ac_try="$ac_link"
10089 case "(($ac_try" in
10090   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10091   *) ac_try_echo=$ac_try;;
10092 esac
10093 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10094 $as_echo "$ac_try_echo") >&5
10095   (eval "$ac_link") 2>conftest.er1
10096   ac_status=$?
10097   grep -v '^ *+' conftest.er1 >conftest.err
10098   rm -f conftest.er1
10099   cat conftest.err >&5
10100   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10101   (exit $ac_status); } && {
10102          test -z "$ac_c_werror_flag" ||
10103          test ! -s conftest.err
10104        } && test -s conftest$ac_exeext && {
10105          test "$cross_compiling" = yes ||
10106          $as_test_x conftest$ac_exeext
10107        }; then
10108
10109 lt_aix_libpath_sed='
10110     /Import File Strings/,/^$/ {
10111         /^0/ {
10112             s/^0  *\(.*\)$/\1/
10113             p
10114         }
10115     }'
10116 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10117 # Check for a 64-bit object if we didn't find anything.
10118 if test -z "$aix_libpath"; then
10119   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10120 fi
10121 else
10122   $as_echo "$as_me: failed program was:" >&5
10123 sed 's/^/| /' conftest.$ac_ext >&5
10124
10125
10126 fi
10127
10128 rm -rf conftest.dSYM
10129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10130       conftest$ac_exeext conftest.$ac_ext
10131 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10132
10133         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10134         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"
10135       else
10136         if test "$host_cpu" = ia64; then
10137           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10138           allow_undefined_flag="-z nodefs"
10139           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"
10140         else
10141          # Determine the default libpath from the value encoded in an
10142          # empty executable.
10143          cat >conftest.$ac_ext <<_ACEOF
10144 /* confdefs.h.  */
10145 _ACEOF
10146 cat confdefs.h >>conftest.$ac_ext
10147 cat >>conftest.$ac_ext <<_ACEOF
10148 /* end confdefs.h.  */
10149
10150 int
10151 main ()
10152 {
10153
10154   ;
10155   return 0;
10156 }
10157 _ACEOF
10158 rm -f conftest.$ac_objext conftest$ac_exeext
10159 if { (ac_try="$ac_link"
10160 case "(($ac_try" in
10161   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10162   *) ac_try_echo=$ac_try;;
10163 esac
10164 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10165 $as_echo "$ac_try_echo") >&5
10166   (eval "$ac_link") 2>conftest.er1
10167   ac_status=$?
10168   grep -v '^ *+' conftest.er1 >conftest.err
10169   rm -f conftest.er1
10170   cat conftest.err >&5
10171   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10172   (exit $ac_status); } && {
10173          test -z "$ac_c_werror_flag" ||
10174          test ! -s conftest.err
10175        } && test -s conftest$ac_exeext && {
10176          test "$cross_compiling" = yes ||
10177          $as_test_x conftest$ac_exeext
10178        }; then
10179
10180 lt_aix_libpath_sed='
10181     /Import File Strings/,/^$/ {
10182         /^0/ {
10183             s/^0  *\(.*\)$/\1/
10184             p
10185         }
10186     }'
10187 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10188 # Check for a 64-bit object if we didn't find anything.
10189 if test -z "$aix_libpath"; then
10190   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10191 fi
10192 else
10193   $as_echo "$as_me: failed program was:" >&5
10194 sed 's/^/| /' conftest.$ac_ext >&5
10195
10196
10197 fi
10198
10199 rm -rf conftest.dSYM
10200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10201       conftest$ac_exeext conftest.$ac_ext
10202 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10203
10204          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10205           # Warning - without using the other run time loading flags,
10206           # -berok will link without error, but may produce a broken library.
10207           no_undefined_flag=' ${wl}-bernotok'
10208           allow_undefined_flag=' ${wl}-berok'
10209           # Exported symbols can be pulled into shared objects from archives
10210           whole_archive_flag_spec='$convenience'
10211           archive_cmds_need_lc=yes
10212           # This is similar to how AIX traditionally builds its shared libraries.
10213           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'
10214         fi
10215       fi
10216       ;;
10217
10218     amigaos*)
10219       case $host_cpu in
10220       powerpc)
10221             # see comment about AmigaOS4 .so support
10222             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10223             archive_expsym_cmds=''
10224         ;;
10225       m68k)
10226             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)'
10227             hardcode_libdir_flag_spec='-L$libdir'
10228             hardcode_minus_L=yes
10229         ;;
10230       esac
10231       ;;
10232
10233     bsdi[45]*)
10234       export_dynamic_flag_spec=-rdynamic
10235       ;;
10236
10237     cygwin* | mingw* | pw32* | cegcc*)
10238       # When not using gcc, we currently assume that we are using
10239       # Microsoft Visual C++.
10240       # hardcode_libdir_flag_spec is actually meaningless, as there is
10241       # no search path for DLLs.
10242       hardcode_libdir_flag_spec=' '
10243       allow_undefined_flag=unsupported
10244       # Tell ltmain to make .lib files, not .a files.
10245       libext=lib
10246       # Tell ltmain to make .dll files, not .so files.
10247       shrext_cmds=".dll"
10248       # FIXME: Setting linknames here is a bad hack.
10249       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10250       # The linker will automatically build a .lib file if we build a DLL.
10251       old_archive_from_new_cmds='true'
10252       # FIXME: Should let the user specify the lib program.
10253       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10254       fix_srcfile_path='`cygpath -w "$srcfile"`'
10255       enable_shared_with_static_runtimes=yes
10256       ;;
10257
10258     darwin* | rhapsody*)
10259
10260
10261   archive_cmds_need_lc=no
10262   hardcode_direct=no
10263   hardcode_automatic=yes
10264   hardcode_shlibpath_var=unsupported
10265   whole_archive_flag_spec=''
10266   link_all_deplibs=yes
10267   allow_undefined_flag="$_lt_dar_allow_undefined"
10268   case $cc_basename in
10269      ifort*) _lt_dar_can_shared=yes ;;
10270      *) _lt_dar_can_shared=$GCC ;;
10271   esac
10272   if test "$_lt_dar_can_shared" = "yes"; then
10273     output_verbose_link_cmd=echo
10274     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10275     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10276     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}"
10277     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}"
10278
10279   else
10280   ld_shlibs=no
10281   fi
10282
10283       ;;
10284
10285     dgux*)
10286       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10287       hardcode_libdir_flag_spec='-L$libdir'
10288       hardcode_shlibpath_var=no
10289       ;;
10290
10291     freebsd1*)
10292       ld_shlibs=no
10293       ;;
10294
10295     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10296     # support.  Future versions do this automatically, but an explicit c++rt0.o
10297     # does not break anything, and helps significantly (at the cost of a little
10298     # extra space).
10299     freebsd2.2*)
10300       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10301       hardcode_libdir_flag_spec='-R$libdir'
10302       hardcode_direct=yes
10303       hardcode_shlibpath_var=no
10304       ;;
10305
10306     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10307     freebsd2*)
10308       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10309       hardcode_direct=yes
10310       hardcode_minus_L=yes
10311       hardcode_shlibpath_var=no
10312       ;;
10313
10314     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10315     freebsd* | dragonfly*)
10316       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10317       hardcode_libdir_flag_spec='-R$libdir'
10318       hardcode_direct=yes
10319       hardcode_shlibpath_var=no
10320       ;;
10321
10322     hpux9*)
10323       if test "$GCC" = yes; then
10324         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'
10325       else
10326         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'
10327       fi
10328       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10329       hardcode_libdir_separator=:
10330       hardcode_direct=yes
10331
10332       # hardcode_minus_L: Not really in the search PATH,
10333       # but as the default location of the library.
10334       hardcode_minus_L=yes
10335       export_dynamic_flag_spec='${wl}-E'
10336       ;;
10337
10338     hpux10*)
10339       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10340         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10341       else
10342         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10343       fi
10344       if test "$with_gnu_ld" = no; then
10345         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10346         hardcode_libdir_flag_spec_ld='+b $libdir'
10347         hardcode_libdir_separator=:
10348         hardcode_direct=yes
10349         hardcode_direct_absolute=yes
10350         export_dynamic_flag_spec='${wl}-E'
10351         # hardcode_minus_L: Not really in the search PATH,
10352         # but as the default location of the library.
10353         hardcode_minus_L=yes
10354       fi
10355       ;;
10356
10357     hpux11*)
10358       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10359         case $host_cpu in
10360         hppa*64*)
10361           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10362           ;;
10363         ia64*)
10364           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10365           ;;
10366         *)
10367           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10368           ;;
10369         esac
10370       else
10371         case $host_cpu in
10372         hppa*64*)
10373           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10374           ;;
10375         ia64*)
10376           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10377           ;;
10378         *)
10379           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10380           ;;
10381         esac
10382       fi
10383       if test "$with_gnu_ld" = no; then
10384         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10385         hardcode_libdir_separator=:
10386
10387         case $host_cpu in
10388         hppa*64*|ia64*)
10389           hardcode_direct=no
10390           hardcode_shlibpath_var=no
10391           ;;
10392         *)
10393           hardcode_direct=yes
10394           hardcode_direct_absolute=yes
10395           export_dynamic_flag_spec='${wl}-E'
10396
10397           # hardcode_minus_L: Not really in the search PATH,
10398           # but as the default location of the library.
10399           hardcode_minus_L=yes
10400           ;;
10401         esac
10402       fi
10403       ;;
10404
10405     irix5* | irix6* | nonstopux*)
10406       if test "$GCC" = yes; then
10407         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'
10408         # Try to use the -exported_symbol ld option, if it does not
10409         # work, assume that -exports_file does not work either and
10410         # implicitly export all symbols.
10411         save_LDFLAGS="$LDFLAGS"
10412         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10413         cat >conftest.$ac_ext <<_ACEOF
10414 int foo(void) {}
10415 _ACEOF
10416 rm -f conftest.$ac_objext conftest$ac_exeext
10417 if { (ac_try="$ac_link"
10418 case "(($ac_try" in
10419   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10420   *) ac_try_echo=$ac_try;;
10421 esac
10422 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10423 $as_echo "$ac_try_echo") >&5
10424   (eval "$ac_link") 2>conftest.er1
10425   ac_status=$?
10426   grep -v '^ *+' conftest.er1 >conftest.err
10427   rm -f conftest.er1
10428   cat conftest.err >&5
10429   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10430   (exit $ac_status); } && {
10431          test -z "$ac_c_werror_flag" ||
10432          test ! -s conftest.err
10433        } && test -s conftest$ac_exeext && {
10434          test "$cross_compiling" = yes ||
10435          $as_test_x conftest$ac_exeext
10436        }; then
10437   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'
10438
10439 else
10440   $as_echo "$as_me: failed program was:" >&5
10441 sed 's/^/| /' conftest.$ac_ext >&5
10442
10443
10444 fi
10445
10446 rm -rf conftest.dSYM
10447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10448       conftest$ac_exeext conftest.$ac_ext
10449         LDFLAGS="$save_LDFLAGS"
10450       else
10451         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'
10452         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'
10453       fi
10454       archive_cmds_need_lc='no'
10455       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10456       hardcode_libdir_separator=:
10457       inherit_rpath=yes
10458       link_all_deplibs=yes
10459       ;;
10460
10461     netbsd*)
10462       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10463         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10464       else
10465         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10466       fi
10467       hardcode_libdir_flag_spec='-R$libdir'
10468       hardcode_direct=yes
10469       hardcode_shlibpath_var=no
10470       ;;
10471
10472     newsos6)
10473       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10474       hardcode_direct=yes
10475       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10476       hardcode_libdir_separator=:
10477       hardcode_shlibpath_var=no
10478       ;;
10479
10480     *nto* | *qnx*)
10481       ;;
10482
10483     openbsd*)
10484       if test -f /usr/libexec/ld.so; then
10485         hardcode_direct=yes
10486         hardcode_shlibpath_var=no
10487         hardcode_direct_absolute=yes
10488         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10489           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10490           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10491           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10492           export_dynamic_flag_spec='${wl}-E'
10493         else
10494           case $host_os in
10495            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10496              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10497              hardcode_libdir_flag_spec='-R$libdir'
10498              ;;
10499            *)
10500              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10501              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10502              ;;
10503           esac
10504         fi
10505       else
10506         ld_shlibs=no
10507       fi
10508       ;;
10509
10510     os2*)
10511       hardcode_libdir_flag_spec='-L$libdir'
10512       hardcode_minus_L=yes
10513       allow_undefined_flag=unsupported
10514       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'
10515       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10516       ;;
10517
10518     osf3*)
10519       if test "$GCC" = yes; then
10520         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10521         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'
10522       else
10523         allow_undefined_flag=' -expect_unresolved \*'
10524         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'
10525       fi
10526       archive_cmds_need_lc='no'
10527       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10528       hardcode_libdir_separator=:
10529       ;;
10530
10531     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10532       if test "$GCC" = yes; then
10533         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10534         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'
10535         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10536       else
10537         allow_undefined_flag=' -expect_unresolved \*'
10538         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'
10539         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~
10540         $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'
10541
10542         # Both c and cxx compiler support -rpath directly
10543         hardcode_libdir_flag_spec='-rpath $libdir'
10544       fi
10545       archive_cmds_need_lc='no'
10546       hardcode_libdir_separator=:
10547       ;;
10548
10549     solaris*)
10550       no_undefined_flag=' -z defs'
10551       if test "$GCC" = yes; then
10552         wlarc='${wl}'
10553         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10554         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10555           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10556       else
10557         case `$CC -V 2>&1` in
10558         *"Compilers 5.0"*)
10559           wlarc=''
10560           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10561           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10562           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10563           ;;
10564         *)
10565           wlarc='${wl}'
10566           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10567           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10568           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10569           ;;
10570         esac
10571       fi
10572       hardcode_libdir_flag_spec='-R$libdir'
10573       hardcode_shlibpath_var=no
10574       case $host_os in
10575       solaris2.[0-5] | solaris2.[0-5].*) ;;
10576       *)
10577         # The compiler driver will combine and reorder linker options,
10578         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10579         # but is careful enough not to reorder.
10580         # Supported since Solaris 2.6 (maybe 2.5.1?)
10581         if test "$GCC" = yes; then
10582           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10583         else
10584           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10585         fi
10586         ;;
10587       esac
10588       link_all_deplibs=yes
10589       ;;
10590
10591     sunos4*)
10592       if test "x$host_vendor" = xsequent; then
10593         # Use $CC to link under sequent, because it throws in some extra .o
10594         # files that make .init and .fini sections work.
10595         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10596       else
10597         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10598       fi
10599       hardcode_libdir_flag_spec='-L$libdir'
10600       hardcode_direct=yes
10601       hardcode_minus_L=yes
10602       hardcode_shlibpath_var=no
10603       ;;
10604
10605     sysv4)
10606       case $host_vendor in
10607         sni)
10608           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10609           hardcode_direct=yes # is this really true???
10610         ;;
10611         siemens)
10612           ## LD is ld it makes a PLAMLIB
10613           ## CC just makes a GrossModule.
10614           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10615           reload_cmds='$CC -r -o $output$reload_objs'
10616           hardcode_direct=no
10617         ;;
10618         motorola)
10619           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10620           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10621         ;;
10622       esac
10623       runpath_var='LD_RUN_PATH'
10624       hardcode_shlibpath_var=no
10625       ;;
10626
10627     sysv4.3*)
10628       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10629       hardcode_shlibpath_var=no
10630       export_dynamic_flag_spec='-Bexport'
10631       ;;
10632
10633     sysv4*MP*)
10634       if test -d /usr/nec; then
10635         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10636         hardcode_shlibpath_var=no
10637         runpath_var=LD_RUN_PATH
10638         hardcode_runpath_var=yes
10639         ld_shlibs=yes
10640       fi
10641       ;;
10642
10643     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10644       no_undefined_flag='${wl}-z,text'
10645       archive_cmds_need_lc=no
10646       hardcode_shlibpath_var=no
10647       runpath_var='LD_RUN_PATH'
10648
10649       if test "$GCC" = yes; then
10650         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10651         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10652       else
10653         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10654         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10655       fi
10656       ;;
10657
10658     sysv5* | sco3.2v5* | sco5v6*)
10659       # Note: We can NOT use -z defs as we might desire, because we do not
10660       # link with -lc, and that would cause any symbols used from libc to
10661       # always be unresolved, which means just about no library would
10662       # ever link correctly.  If we're not using GNU ld we use -z text
10663       # though, which does catch some bad symbols but isn't as heavy-handed
10664       # as -z defs.
10665       no_undefined_flag='${wl}-z,text'
10666       allow_undefined_flag='${wl}-z,nodefs'
10667       archive_cmds_need_lc=no
10668       hardcode_shlibpath_var=no
10669       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10670       hardcode_libdir_separator=':'
10671       link_all_deplibs=yes
10672       export_dynamic_flag_spec='${wl}-Bexport'
10673       runpath_var='LD_RUN_PATH'
10674
10675       if test "$GCC" = yes; then
10676         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10677         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10678       else
10679         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10680         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10681       fi
10682       ;;
10683
10684     uts4*)
10685       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10686       hardcode_libdir_flag_spec='-L$libdir'
10687       hardcode_shlibpath_var=no
10688       ;;
10689
10690     *)
10691       ld_shlibs=no
10692       ;;
10693     esac
10694
10695     if test x$host_vendor = xsni; then
10696       case $host in
10697       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10698         export_dynamic_flag_spec='${wl}-Blargedynsym'
10699         ;;
10700       esac
10701     fi
10702   fi
10703
10704 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10705 $as_echo "$ld_shlibs" >&6; }
10706 test "$ld_shlibs" = no && can_build_shared=no
10707
10708 with_gnu_ld=$with_gnu_ld
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724 #
10725 # Do we need to explicitly link libc?
10726 #
10727 case "x$archive_cmds_need_lc" in
10728 x|xyes)
10729   # Assume -lc should be added
10730   archive_cmds_need_lc=yes
10731
10732   if test "$enable_shared" = yes && test "$GCC" = yes; then
10733     case $archive_cmds in
10734     *'~'*)
10735       # FIXME: we may have to deal with multi-command sequences.
10736       ;;
10737     '$CC '*)
10738       # Test whether the compiler implicitly links with -lc since on some
10739       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10740       # to ld, don't add -lc before -lgcc.
10741       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10742 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10743       $RM conftest*
10744       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10745
10746       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10747   (eval $ac_compile) 2>&5
10748   ac_status=$?
10749   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10750   (exit $ac_status); } 2>conftest.err; then
10751         soname=conftest
10752         lib=conftest
10753         libobjs=conftest.$ac_objext
10754         deplibs=
10755         wl=$lt_prog_compiler_wl
10756         pic_flag=$lt_prog_compiler_pic
10757         compiler_flags=-v
10758         linker_flags=-v
10759         verstring=
10760         output_objdir=.
10761         libname=conftest
10762         lt_save_allow_undefined_flag=$allow_undefined_flag
10763         allow_undefined_flag=
10764         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
10765   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10766   ac_status=$?
10767   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10768   (exit $ac_status); }
10769         then
10770           archive_cmds_need_lc=no
10771         else
10772           archive_cmds_need_lc=yes
10773         fi
10774         allow_undefined_flag=$lt_save_allow_undefined_flag
10775       else
10776         cat conftest.err 1>&5
10777       fi
10778       $RM conftest*
10779       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10780 $as_echo "$archive_cmds_need_lc" >&6; }
10781       ;;
10782     esac
10783   fi
10784   ;;
10785 esac
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943   { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10944 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10945
10946 if test "$GCC" = yes; then
10947   case $host_os in
10948     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10949     *) lt_awk_arg="/^libraries:/" ;;
10950   esac
10951   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10952   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10953     # if the path contains ";" then we assume it to be the separator
10954     # otherwise default to the standard path separator (i.e. ":") - it is
10955     # assumed that no part of a normal pathname contains ";" but that should
10956     # okay in the real world where ";" in dirpaths is itself problematic.
10957     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10958   else
10959     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10960   fi
10961   # Ok, now we have the path, separated by spaces, we can step through it
10962   # and add multilib dir if necessary.
10963   lt_tmp_lt_search_path_spec=
10964   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10965   for lt_sys_path in $lt_search_path_spec; do
10966     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10967       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10968     else
10969       test -d "$lt_sys_path" && \
10970         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10971     fi
10972   done
10973   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10974 BEGIN {RS=" "; FS="/|\n";} {
10975   lt_foo="";
10976   lt_count=0;
10977   for (lt_i = NF; lt_i > 0; lt_i--) {
10978     if ($lt_i != "" && $lt_i != ".") {
10979       if ($lt_i == "..") {
10980         lt_count++;
10981       } else {
10982         if (lt_count == 0) {
10983           lt_foo="/" $lt_i lt_foo;
10984         } else {
10985           lt_count--;
10986         }
10987       }
10988     }
10989   }
10990   if (lt_foo != "") { lt_freq[lt_foo]++; }
10991   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10992 }'`
10993   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10994 else
10995   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10996 fi
10997 library_names_spec=
10998 libname_spec='lib$name'
10999 soname_spec=
11000 shrext_cmds=".so"
11001 postinstall_cmds=
11002 postuninstall_cmds=
11003 finish_cmds=
11004 finish_eval=
11005 shlibpath_var=
11006 shlibpath_overrides_runpath=unknown
11007 version_type=none
11008 dynamic_linker="$host_os ld.so"
11009 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11010 need_lib_prefix=unknown
11011 hardcode_into_libs=no
11012
11013 # when you set need_version to no, make sure it does not cause -set_version
11014 # flags to be left without arguments
11015 need_version=unknown
11016
11017 case $host_os in
11018 aix3*)
11019   version_type=linux
11020   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11021   shlibpath_var=LIBPATH
11022
11023   # AIX 3 has no versioning support, so we append a major version to the name.
11024   soname_spec='${libname}${release}${shared_ext}$major'
11025   ;;
11026
11027 aix[4-9]*)
11028   version_type=linux
11029   need_lib_prefix=no
11030   need_version=no
11031   hardcode_into_libs=yes
11032   if test "$host_cpu" = ia64; then
11033     # AIX 5 supports IA64
11034     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11035     shlibpath_var=LD_LIBRARY_PATH
11036   else
11037     # With GCC up to 2.95.x, collect2 would create an import file
11038     # for dependence libraries.  The import file would start with
11039     # the line `#! .'.  This would cause the generated library to
11040     # depend on `.', always an invalid library.  This was fixed in
11041     # development snapshots of GCC prior to 3.0.
11042     case $host_os in
11043       aix4 | aix4.[01] | aix4.[01].*)
11044       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11045            echo ' yes '
11046            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11047         :
11048       else
11049         can_build_shared=no
11050       fi
11051       ;;
11052     esac
11053     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11054     # soname into executable. Probably we can add versioning support to
11055     # collect2, so additional links can be useful in future.
11056     if test "$aix_use_runtimelinking" = yes; then
11057       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11058       # instead of lib<name>.a to let people know that these are not
11059       # typical AIX shared libraries.
11060       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11061     else
11062       # We preserve .a as extension for shared libraries through AIX4.2
11063       # and later when we are not doing run time linking.
11064       library_names_spec='${libname}${release}.a $libname.a'
11065       soname_spec='${libname}${release}${shared_ext}$major'
11066     fi
11067     shlibpath_var=LIBPATH
11068   fi
11069   ;;
11070
11071 amigaos*)
11072   case $host_cpu in
11073   powerpc)
11074     # Since July 2007 AmigaOS4 officially supports .so libraries.
11075     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11076     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11077     ;;
11078   m68k)
11079     library_names_spec='$libname.ixlibrary $libname.a'
11080     # Create ${libname}_ixlibrary.a entries in /sys/libs.
11081     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'
11082     ;;
11083   esac
11084   ;;
11085
11086 beos*)
11087   library_names_spec='${libname}${shared_ext}'
11088   dynamic_linker="$host_os ld.so"
11089   shlibpath_var=LIBRARY_PATH
11090   ;;
11091
11092 bsdi[45]*)
11093   version_type=linux
11094   need_version=no
11095   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11096   soname_spec='${libname}${release}${shared_ext}$major'
11097   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11098   shlibpath_var=LD_LIBRARY_PATH
11099   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11100   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11101   # the default ld.so.conf also contains /usr/contrib/lib and
11102   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11103   # libtool to hard-code these into programs
11104   ;;
11105
11106 cygwin* | mingw* | pw32* | cegcc*)
11107   version_type=windows
11108   shrext_cmds=".dll"
11109   need_version=no
11110   need_lib_prefix=no
11111
11112   case $GCC,$host_os in
11113   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11114     library_names_spec='$libname.dll.a'
11115     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11116     postinstall_cmds='base_file=`basename \${file}`~
11117       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11118       dldir=$destdir/`dirname \$dlpath`~
11119       test -d \$dldir || mkdir -p \$dldir~
11120       $install_prog $dir/$dlname \$dldir/$dlname~
11121       chmod a+x \$dldir/$dlname~
11122       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11123         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11124       fi'
11125     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11126       dlpath=$dir/\$dldll~
11127        $RM \$dlpath'
11128     shlibpath_overrides_runpath=yes
11129
11130     case $host_os in
11131     cygwin*)
11132       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11133       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11134       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11135       ;;
11136     mingw* | cegcc*)
11137       # MinGW DLLs use traditional 'lib' prefix
11138       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11139       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11140       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11141         # It is most probably a Windows format PATH printed by
11142         # mingw gcc, but we are running on Cygwin. Gcc prints its search
11143         # path with ; separators, and with drive letters. We can handle the
11144         # drive letters (cygwin fileutils understands them), so leave them,
11145         # especially as we might pass files found there to a mingw objdump,
11146         # which wouldn't understand a cygwinified path. Ahh.
11147         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11148       else
11149         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11150       fi
11151       ;;
11152     pw32*)
11153       # pw32 DLLs use 'pw' prefix rather than 'lib'
11154       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11155       ;;
11156     esac
11157     ;;
11158
11159   *)
11160     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11161     ;;
11162   esac
11163   dynamic_linker='Win32 ld.exe'
11164   # FIXME: first we should search . and the directory the executable is in
11165   shlibpath_var=PATH
11166   ;;
11167
11168 darwin* | rhapsody*)
11169   dynamic_linker="$host_os dyld"
11170   version_type=darwin
11171   need_lib_prefix=no
11172   need_version=no
11173   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11174   soname_spec='${libname}${release}${major}$shared_ext'
11175   shlibpath_overrides_runpath=yes
11176   shlibpath_var=DYLD_LIBRARY_PATH
11177   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11178
11179   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11180   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11181   ;;
11182
11183 dgux*)
11184   version_type=linux
11185   need_lib_prefix=no
11186   need_version=no
11187   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11188   soname_spec='${libname}${release}${shared_ext}$major'
11189   shlibpath_var=LD_LIBRARY_PATH
11190   ;;
11191
11192 freebsd1*)
11193   dynamic_linker=no
11194   ;;
11195
11196 freebsd* | dragonfly*)
11197   # DragonFly does not have aout.  When/if they implement a new
11198   # versioning mechanism, adjust this.
11199   if test -x /usr/bin/objformat; then
11200     objformat=`/usr/bin/objformat`
11201   else
11202     case $host_os in
11203     freebsd[123]*) objformat=aout ;;
11204     *) objformat=elf ;;
11205     esac
11206   fi
11207   version_type=freebsd-$objformat
11208   case $version_type in
11209     freebsd-elf*)
11210       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11211       need_version=no
11212       need_lib_prefix=no
11213       ;;
11214     freebsd-*)
11215       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11216       need_version=yes
11217       ;;
11218   esac
11219   shlibpath_var=LD_LIBRARY_PATH
11220   case $host_os in
11221   freebsd2*)
11222     shlibpath_overrides_runpath=yes
11223     ;;
11224   freebsd3.[01]* | freebsdelf3.[01]*)
11225     shlibpath_overrides_runpath=yes
11226     hardcode_into_libs=yes
11227     ;;
11228   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11229   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11230     shlibpath_overrides_runpath=no
11231     hardcode_into_libs=yes
11232     ;;
11233   *) # from 4.6 on, and DragonFly
11234     shlibpath_overrides_runpath=yes
11235     hardcode_into_libs=yes
11236     ;;
11237   esac
11238   ;;
11239
11240 gnu*)
11241   version_type=linux
11242   need_lib_prefix=no
11243   need_version=no
11244   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11245   soname_spec='${libname}${release}${shared_ext}$major'
11246   shlibpath_var=LD_LIBRARY_PATH
11247   hardcode_into_libs=yes
11248   ;;
11249
11250 hpux9* | hpux10* | hpux11*)
11251   # Give a soname corresponding to the major version so that dld.sl refuses to
11252   # link against other versions.
11253   version_type=sunos
11254   need_lib_prefix=no
11255   need_version=no
11256   case $host_cpu in
11257   ia64*)
11258     shrext_cmds='.so'
11259     hardcode_into_libs=yes
11260     dynamic_linker="$host_os dld.so"
11261     shlibpath_var=LD_LIBRARY_PATH
11262     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11263     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11264     soname_spec='${libname}${release}${shared_ext}$major'
11265     if test "X$HPUX_IA64_MODE" = X32; then
11266       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11267     else
11268       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11269     fi
11270     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11271     ;;
11272   hppa*64*)
11273     shrext_cmds='.sl'
11274     hardcode_into_libs=yes
11275     dynamic_linker="$host_os dld.sl"
11276     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11277     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11278     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11279     soname_spec='${libname}${release}${shared_ext}$major'
11280     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11281     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11282     ;;
11283   *)
11284     shrext_cmds='.sl'
11285     dynamic_linker="$host_os dld.sl"
11286     shlibpath_var=SHLIB_PATH
11287     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11288     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11289     soname_spec='${libname}${release}${shared_ext}$major'
11290     ;;
11291   esac
11292   # HP-UX runs *really* slowly unless shared libraries are mode 555.
11293   postinstall_cmds='chmod 555 $lib'
11294   ;;
11295
11296 interix[3-9]*)
11297   version_type=linux
11298   need_lib_prefix=no
11299   need_version=no
11300   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11301   soname_spec='${libname}${release}${shared_ext}$major'
11302   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11303   shlibpath_var=LD_LIBRARY_PATH
11304   shlibpath_overrides_runpath=no
11305   hardcode_into_libs=yes
11306   ;;
11307
11308 irix5* | irix6* | nonstopux*)
11309   case $host_os in
11310     nonstopux*) version_type=nonstopux ;;
11311     *)
11312         if test "$lt_cv_prog_gnu_ld" = yes; then
11313                 version_type=linux
11314         else
11315                 version_type=irix
11316         fi ;;
11317   esac
11318   need_lib_prefix=no
11319   need_version=no
11320   soname_spec='${libname}${release}${shared_ext}$major'
11321   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11322   case $host_os in
11323   irix5* | nonstopux*)
11324     libsuff= shlibsuff=
11325     ;;
11326   *)
11327     case $LD in # libtool.m4 will add one of these switches to LD
11328     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11329       libsuff= shlibsuff= libmagic=32-bit;;
11330     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11331       libsuff=32 shlibsuff=N32 libmagic=N32;;
11332     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11333       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11334     *) libsuff= shlibsuff= libmagic=never-match;;
11335     esac
11336     ;;
11337   esac
11338   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11339   shlibpath_overrides_runpath=no
11340   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11341   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11342   hardcode_into_libs=yes
11343   ;;
11344
11345 # No shared lib support for Linux oldld, aout, or coff.
11346 linux*oldld* | linux*aout* | linux*coff*)
11347   dynamic_linker=no
11348   ;;
11349
11350 # This must be Linux ELF.
11351 linux* | k*bsd*-gnu)
11352   version_type=linux
11353   need_lib_prefix=no
11354   need_version=no
11355   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11356   soname_spec='${libname}${release}${shared_ext}$major'
11357   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11358   shlibpath_var=LD_LIBRARY_PATH
11359   shlibpath_overrides_runpath=no
11360   # Some binutils ld are patched to set DT_RUNPATH
11361   save_LDFLAGS=$LDFLAGS
11362   save_libdir=$libdir
11363   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11364        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11365   cat >conftest.$ac_ext <<_ACEOF
11366 /* confdefs.h.  */
11367 _ACEOF
11368 cat confdefs.h >>conftest.$ac_ext
11369 cat >>conftest.$ac_ext <<_ACEOF
11370 /* end confdefs.h.  */
11371
11372 int
11373 main ()
11374 {
11375
11376   ;
11377   return 0;
11378 }
11379 _ACEOF
11380 rm -f conftest.$ac_objext conftest$ac_exeext
11381 if { (ac_try="$ac_link"
11382 case "(($ac_try" in
11383   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11384   *) ac_try_echo=$ac_try;;
11385 esac
11386 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11387 $as_echo "$ac_try_echo") >&5
11388   (eval "$ac_link") 2>conftest.er1
11389   ac_status=$?
11390   grep -v '^ *+' conftest.er1 >conftest.err
11391   rm -f conftest.er1
11392   cat conftest.err >&5
11393   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11394   (exit $ac_status); } && {
11395          test -z "$ac_c_werror_flag" ||
11396          test ! -s conftest.err
11397        } && test -s conftest$ac_exeext && {
11398          test "$cross_compiling" = yes ||
11399          $as_test_x conftest$ac_exeext
11400        }; then
11401   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
11402   shlibpath_overrides_runpath=yes
11403 fi
11404
11405 else
11406   $as_echo "$as_me: failed program was:" >&5
11407 sed 's/^/| /' conftest.$ac_ext >&5
11408
11409
11410 fi
11411
11412 rm -rf conftest.dSYM
11413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11414       conftest$ac_exeext conftest.$ac_ext
11415   LDFLAGS=$save_LDFLAGS
11416   libdir=$save_libdir
11417
11418   # This implies no fast_install, which is unacceptable.
11419   # Some rework will be needed to allow for fast_install
11420   # before this can be enabled.
11421   hardcode_into_libs=yes
11422
11423   # Add ABI-specific directories to the system library path.
11424   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11425
11426   # Append ld.so.conf contents to the search path
11427   if test -f /etc/ld.so.conf; then
11428     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' ' '`
11429     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11430   fi
11431
11432   # We used to test for /lib/ld.so.1 and disable shared libraries on
11433   # powerpc, because MkLinux only supported shared libraries with the
11434   # GNU dynamic linker.  Since this was broken with cross compilers,
11435   # most powerpc-linux boxes support dynamic linking these days and
11436   # people can always --disable-shared, the test was removed, and we
11437   # assume the GNU/Linux dynamic linker is in use.
11438   dynamic_linker='GNU/Linux ld.so'
11439   ;;
11440
11441 netbsd*)
11442   version_type=sunos
11443   need_lib_prefix=no
11444   need_version=no
11445   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11446     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11447     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11448     dynamic_linker='NetBSD (a.out) ld.so'
11449   else
11450     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11451     soname_spec='${libname}${release}${shared_ext}$major'
11452     dynamic_linker='NetBSD ld.elf_so'
11453   fi
11454   shlibpath_var=LD_LIBRARY_PATH
11455   shlibpath_overrides_runpath=yes
11456   hardcode_into_libs=yes
11457   ;;
11458
11459 newsos6)
11460   version_type=linux
11461   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11462   shlibpath_var=LD_LIBRARY_PATH
11463   shlibpath_overrides_runpath=yes
11464   ;;
11465
11466 *nto* | *qnx*)
11467   version_type=qnx
11468   need_lib_prefix=no
11469   need_version=no
11470   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11471   soname_spec='${libname}${release}${shared_ext}$major'
11472   shlibpath_var=LD_LIBRARY_PATH
11473   shlibpath_overrides_runpath=no
11474   hardcode_into_libs=yes
11475   dynamic_linker='ldqnx.so'
11476   ;;
11477
11478 openbsd*)
11479   version_type=sunos
11480   sys_lib_dlsearch_path_spec="/usr/lib"
11481   need_lib_prefix=no
11482   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11483   case $host_os in
11484     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11485     *)                          need_version=no  ;;
11486   esac
11487   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11488   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11489   shlibpath_var=LD_LIBRARY_PATH
11490   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11491     case $host_os in
11492       openbsd2.[89] | openbsd2.[89].*)
11493         shlibpath_overrides_runpath=no
11494         ;;
11495       *)
11496         shlibpath_overrides_runpath=yes
11497         ;;
11498       esac
11499   else
11500     shlibpath_overrides_runpath=yes
11501   fi
11502   ;;
11503
11504 os2*)
11505   libname_spec='$name'
11506   shrext_cmds=".dll"
11507   need_lib_prefix=no
11508   library_names_spec='$libname${shared_ext} $libname.a'
11509   dynamic_linker='OS/2 ld.exe'
11510   shlibpath_var=LIBPATH
11511   ;;
11512
11513 osf3* | osf4* | osf5*)
11514   version_type=osf
11515   need_lib_prefix=no
11516   need_version=no
11517   soname_spec='${libname}${release}${shared_ext}$major'
11518   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11519   shlibpath_var=LD_LIBRARY_PATH
11520   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11521   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11522   ;;
11523
11524 rdos*)
11525   dynamic_linker=no
11526   ;;
11527
11528 solaris*)
11529   version_type=linux
11530   need_lib_prefix=no
11531   need_version=no
11532   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11533   soname_spec='${libname}${release}${shared_ext}$major'
11534   shlibpath_var=LD_LIBRARY_PATH
11535   shlibpath_overrides_runpath=yes
11536   hardcode_into_libs=yes
11537   # ldd complains unless libraries are executable
11538   postinstall_cmds='chmod +x $lib'
11539   ;;
11540
11541 sunos4*)
11542   version_type=sunos
11543   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11544   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11545   shlibpath_var=LD_LIBRARY_PATH
11546   shlibpath_overrides_runpath=yes
11547   if test "$with_gnu_ld" = yes; then
11548     need_lib_prefix=no
11549   fi
11550   need_version=yes
11551   ;;
11552
11553 sysv4 | sysv4.3*)
11554   version_type=linux
11555   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11556   soname_spec='${libname}${release}${shared_ext}$major'
11557   shlibpath_var=LD_LIBRARY_PATH
11558   case $host_vendor in
11559     sni)
11560       shlibpath_overrides_runpath=no
11561       need_lib_prefix=no
11562       runpath_var=LD_RUN_PATH
11563       ;;
11564     siemens)
11565       need_lib_prefix=no
11566       ;;
11567     motorola)
11568       need_lib_prefix=no
11569       need_version=no
11570       shlibpath_overrides_runpath=no
11571       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11572       ;;
11573   esac
11574   ;;
11575
11576 sysv4*MP*)
11577   if test -d /usr/nec ;then
11578     version_type=linux
11579     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11580     soname_spec='$libname${shared_ext}.$major'
11581     shlibpath_var=LD_LIBRARY_PATH
11582   fi
11583   ;;
11584
11585 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11586   version_type=freebsd-elf
11587   need_lib_prefix=no
11588   need_version=no
11589   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11590   soname_spec='${libname}${release}${shared_ext}$major'
11591   shlibpath_var=LD_LIBRARY_PATH
11592   shlibpath_overrides_runpath=yes
11593   hardcode_into_libs=yes
11594   if test "$with_gnu_ld" = yes; then
11595     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11596   else
11597     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11598     case $host_os in
11599       sco3.2v5*)
11600         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11601         ;;
11602     esac
11603   fi
11604   sys_lib_dlsearch_path_spec='/usr/lib'
11605   ;;
11606
11607 tpf*)
11608   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11609   version_type=linux
11610   need_lib_prefix=no
11611   need_version=no
11612   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11613   shlibpath_var=LD_LIBRARY_PATH
11614   shlibpath_overrides_runpath=no
11615   hardcode_into_libs=yes
11616   ;;
11617
11618 uts4*)
11619   version_type=linux
11620   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11621   soname_spec='${libname}${release}${shared_ext}$major'
11622   shlibpath_var=LD_LIBRARY_PATH
11623   ;;
11624
11625 *)
11626   dynamic_linker=no
11627   ;;
11628 esac
11629 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11630 $as_echo "$dynamic_linker" >&6; }
11631 test "$dynamic_linker" = no && can_build_shared=no
11632
11633 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11634 if test "$GCC" = yes; then
11635   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11636 fi
11637
11638 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11639   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11640 fi
11641 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11642   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11643 fi
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731   { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11732 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11733 hardcode_action=
11734 if test -n "$hardcode_libdir_flag_spec" ||
11735    test -n "$runpath_var" ||
11736    test "X$hardcode_automatic" = "Xyes" ; then
11737
11738   # We can hardcode non-existent directories.
11739   if test "$hardcode_direct" != no &&
11740      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11741      # have to relink, otherwise we might link with an installed library
11742      # when we should be linking with a yet-to-be-installed one
11743      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11744      test "$hardcode_minus_L" != no; then
11745     # Linking always hardcodes the temporary library directory.
11746     hardcode_action=relink
11747   else
11748     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11749     hardcode_action=immediate
11750   fi
11751 else
11752   # We cannot hardcode anything, or else we can only hardcode existing
11753   # directories.
11754   hardcode_action=unsupported
11755 fi
11756 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
11757 $as_echo "$hardcode_action" >&6; }
11758
11759 if test "$hardcode_action" = relink ||
11760    test "$inherit_rpath" = yes; then
11761   # Fast installation is not supported
11762   enable_fast_install=no
11763 elif test "$shlibpath_overrides_runpath" = yes ||
11764      test "$enable_shared" = no; then
11765   # Fast installation is not necessary
11766   enable_fast_install=needless
11767 fi
11768
11769
11770
11771
11772
11773
11774   if test "x$enable_dlopen" != xyes; then
11775   enable_dlopen=unknown
11776   enable_dlopen_self=unknown
11777   enable_dlopen_self_static=unknown
11778 else
11779   lt_cv_dlopen=no
11780   lt_cv_dlopen_libs=
11781
11782   case $host_os in
11783   beos*)
11784     lt_cv_dlopen="load_add_on"
11785     lt_cv_dlopen_libs=
11786     lt_cv_dlopen_self=yes
11787     ;;
11788
11789   mingw* | pw32* | cegcc*)
11790     lt_cv_dlopen="LoadLibrary"
11791     lt_cv_dlopen_libs=
11792     ;;
11793
11794   cygwin*)
11795     lt_cv_dlopen="dlopen"
11796     lt_cv_dlopen_libs=
11797     ;;
11798
11799   darwin*)
11800   # if libdl is installed we need to link against it
11801     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11802 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11803 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11804   $as_echo_n "(cached) " >&6
11805 else
11806   ac_check_lib_save_LIBS=$LIBS
11807 LIBS="-ldl  $LIBS"
11808 cat >conftest.$ac_ext <<_ACEOF
11809 /* confdefs.h.  */
11810 _ACEOF
11811 cat confdefs.h >>conftest.$ac_ext
11812 cat >>conftest.$ac_ext <<_ACEOF
11813 /* end confdefs.h.  */
11814
11815 /* Override any GCC internal prototype to avoid an error.
11816    Use char because int might match the return type of a GCC
11817    builtin and then its argument prototype would still apply.  */
11818 #ifdef __cplusplus
11819 extern "C"
11820 #endif
11821 char dlopen ();
11822 int
11823 main ()
11824 {
11825 return dlopen ();
11826   ;
11827   return 0;
11828 }
11829 _ACEOF
11830 rm -f conftest.$ac_objext conftest$ac_exeext
11831 if { (ac_try="$ac_link"
11832 case "(($ac_try" in
11833   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11834   *) ac_try_echo=$ac_try;;
11835 esac
11836 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11837 $as_echo "$ac_try_echo") >&5
11838   (eval "$ac_link") 2>conftest.er1
11839   ac_status=$?
11840   grep -v '^ *+' conftest.er1 >conftest.err
11841   rm -f conftest.er1
11842   cat conftest.err >&5
11843   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11844   (exit $ac_status); } && {
11845          test -z "$ac_c_werror_flag" ||
11846          test ! -s conftest.err
11847        } && test -s conftest$ac_exeext && {
11848          test "$cross_compiling" = yes ||
11849          $as_test_x conftest$ac_exeext
11850        }; then
11851   ac_cv_lib_dl_dlopen=yes
11852 else
11853   $as_echo "$as_me: failed program was:" >&5
11854 sed 's/^/| /' conftest.$ac_ext >&5
11855
11856         ac_cv_lib_dl_dlopen=no
11857 fi
11858
11859 rm -rf conftest.dSYM
11860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11861       conftest$ac_exeext conftest.$ac_ext
11862 LIBS=$ac_check_lib_save_LIBS
11863 fi
11864 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11865 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11866 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
11867   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11868 else
11869
11870     lt_cv_dlopen="dyld"
11871     lt_cv_dlopen_libs=
11872     lt_cv_dlopen_self=yes
11873
11874 fi
11875
11876     ;;
11877
11878   *)
11879     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
11880 $as_echo_n "checking for shl_load... " >&6; }
11881 if test "${ac_cv_func_shl_load+set}" = set; then
11882   $as_echo_n "(cached) " >&6
11883 else
11884   cat >conftest.$ac_ext <<_ACEOF
11885 /* confdefs.h.  */
11886 _ACEOF
11887 cat confdefs.h >>conftest.$ac_ext
11888 cat >>conftest.$ac_ext <<_ACEOF
11889 /* end confdefs.h.  */
11890 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11891    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11892 #define shl_load innocuous_shl_load
11893
11894 /* System header to define __stub macros and hopefully few prototypes,
11895     which can conflict with char shl_load (); below.
11896     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11897     <limits.h> exists even on freestanding compilers.  */
11898
11899 #ifdef __STDC__
11900 # include <limits.h>
11901 #else
11902 # include <assert.h>
11903 #endif
11904
11905 #undef shl_load
11906
11907 /* Override any GCC internal prototype to avoid an error.
11908    Use char because int might match the return type of a GCC
11909    builtin and then its argument prototype would still apply.  */
11910 #ifdef __cplusplus
11911 extern "C"
11912 #endif
11913 char shl_load ();
11914 /* The GNU C library defines this for functions which it implements
11915     to always fail with ENOSYS.  Some functions are actually named
11916     something starting with __ and the normal name is an alias.  */
11917 #if defined __stub_shl_load || defined __stub___shl_load
11918 choke me
11919 #endif
11920
11921 int
11922 main ()
11923 {
11924 return shl_load ();
11925   ;
11926   return 0;
11927 }
11928 _ACEOF
11929 rm -f conftest.$ac_objext conftest$ac_exeext
11930 if { (ac_try="$ac_link"
11931 case "(($ac_try" in
11932   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11933   *) ac_try_echo=$ac_try;;
11934 esac
11935 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11936 $as_echo "$ac_try_echo") >&5
11937   (eval "$ac_link") 2>conftest.er1
11938   ac_status=$?
11939   grep -v '^ *+' conftest.er1 >conftest.err
11940   rm -f conftest.er1
11941   cat conftest.err >&5
11942   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11943   (exit $ac_status); } && {
11944          test -z "$ac_c_werror_flag" ||
11945          test ! -s conftest.err
11946        } && test -s conftest$ac_exeext && {
11947          test "$cross_compiling" = yes ||
11948          $as_test_x conftest$ac_exeext
11949        }; then
11950   ac_cv_func_shl_load=yes
11951 else
11952   $as_echo "$as_me: failed program was:" >&5
11953 sed 's/^/| /' conftest.$ac_ext >&5
11954
11955         ac_cv_func_shl_load=no
11956 fi
11957
11958 rm -rf conftest.dSYM
11959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11960       conftest$ac_exeext conftest.$ac_ext
11961 fi
11962 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11963 $as_echo "$ac_cv_func_shl_load" >&6; }
11964 if test "x$ac_cv_func_shl_load" = x""yes; then
11965   lt_cv_dlopen="shl_load"
11966 else
11967   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11968 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11969 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11970   $as_echo_n "(cached) " >&6
11971 else
11972   ac_check_lib_save_LIBS=$LIBS
11973 LIBS="-ldld  $LIBS"
11974 cat >conftest.$ac_ext <<_ACEOF
11975 /* confdefs.h.  */
11976 _ACEOF
11977 cat confdefs.h >>conftest.$ac_ext
11978 cat >>conftest.$ac_ext <<_ACEOF
11979 /* end confdefs.h.  */
11980
11981 /* Override any GCC internal prototype to avoid an error.
11982    Use char because int might match the return type of a GCC
11983    builtin and then its argument prototype would still apply.  */
11984 #ifdef __cplusplus
11985 extern "C"
11986 #endif
11987 char shl_load ();
11988 int
11989 main ()
11990 {
11991 return shl_load ();
11992   ;
11993   return 0;
11994 }
11995 _ACEOF
11996 rm -f conftest.$ac_objext conftest$ac_exeext
11997 if { (ac_try="$ac_link"
11998 case "(($ac_try" in
11999   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12000   *) ac_try_echo=$ac_try;;
12001 esac
12002 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12003 $as_echo "$ac_try_echo") >&5
12004   (eval "$ac_link") 2>conftest.er1
12005   ac_status=$?
12006   grep -v '^ *+' conftest.er1 >conftest.err
12007   rm -f conftest.er1
12008   cat conftest.err >&5
12009   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12010   (exit $ac_status); } && {
12011          test -z "$ac_c_werror_flag" ||
12012          test ! -s conftest.err
12013        } && test -s conftest$ac_exeext && {
12014          test "$cross_compiling" = yes ||
12015          $as_test_x conftest$ac_exeext
12016        }; then
12017   ac_cv_lib_dld_shl_load=yes
12018 else
12019   $as_echo "$as_me: failed program was:" >&5
12020 sed 's/^/| /' conftest.$ac_ext >&5
12021
12022         ac_cv_lib_dld_shl_load=no
12023 fi
12024
12025 rm -rf conftest.dSYM
12026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12027       conftest$ac_exeext conftest.$ac_ext
12028 LIBS=$ac_check_lib_save_LIBS
12029 fi
12030 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12031 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12032 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
12033   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12034 else
12035   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
12036 $as_echo_n "checking for dlopen... " >&6; }
12037 if test "${ac_cv_func_dlopen+set}" = set; then
12038   $as_echo_n "(cached) " >&6
12039 else
12040   cat >conftest.$ac_ext <<_ACEOF
12041 /* confdefs.h.  */
12042 _ACEOF
12043 cat confdefs.h >>conftest.$ac_ext
12044 cat >>conftest.$ac_ext <<_ACEOF
12045 /* end confdefs.h.  */
12046 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12047    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12048 #define dlopen innocuous_dlopen
12049
12050 /* System header to define __stub macros and hopefully few prototypes,
12051     which can conflict with char dlopen (); below.
12052     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12053     <limits.h> exists even on freestanding compilers.  */
12054
12055 #ifdef __STDC__
12056 # include <limits.h>
12057 #else
12058 # include <assert.h>
12059 #endif
12060
12061 #undef dlopen
12062
12063 /* Override any GCC internal prototype to avoid an error.
12064    Use char because int might match the return type of a GCC
12065    builtin and then its argument prototype would still apply.  */
12066 #ifdef __cplusplus
12067 extern "C"
12068 #endif
12069 char dlopen ();
12070 /* The GNU C library defines this for functions which it implements
12071     to always fail with ENOSYS.  Some functions are actually named
12072     something starting with __ and the normal name is an alias.  */
12073 #if defined __stub_dlopen || defined __stub___dlopen
12074 choke me
12075 #endif
12076
12077 int
12078 main ()
12079 {
12080 return dlopen ();
12081   ;
12082   return 0;
12083 }
12084 _ACEOF
12085 rm -f conftest.$ac_objext conftest$ac_exeext
12086 if { (ac_try="$ac_link"
12087 case "(($ac_try" in
12088   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12089   *) ac_try_echo=$ac_try;;
12090 esac
12091 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12092 $as_echo "$ac_try_echo") >&5
12093   (eval "$ac_link") 2>conftest.er1
12094   ac_status=$?
12095   grep -v '^ *+' conftest.er1 >conftest.err
12096   rm -f conftest.er1
12097   cat conftest.err >&5
12098   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12099   (exit $ac_status); } && {
12100          test -z "$ac_c_werror_flag" ||
12101          test ! -s conftest.err
12102        } && test -s conftest$ac_exeext && {
12103          test "$cross_compiling" = yes ||
12104          $as_test_x conftest$ac_exeext
12105        }; then
12106   ac_cv_func_dlopen=yes
12107 else
12108   $as_echo "$as_me: failed program was:" >&5
12109 sed 's/^/| /' conftest.$ac_ext >&5
12110
12111         ac_cv_func_dlopen=no
12112 fi
12113
12114 rm -rf conftest.dSYM
12115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12116       conftest$ac_exeext conftest.$ac_ext
12117 fi
12118 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12119 $as_echo "$ac_cv_func_dlopen" >&6; }
12120 if test "x$ac_cv_func_dlopen" = x""yes; then
12121   lt_cv_dlopen="dlopen"
12122 else
12123   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12124 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12125 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12126   $as_echo_n "(cached) " >&6
12127 else
12128   ac_check_lib_save_LIBS=$LIBS
12129 LIBS="-ldl  $LIBS"
12130 cat >conftest.$ac_ext <<_ACEOF
12131 /* confdefs.h.  */
12132 _ACEOF
12133 cat confdefs.h >>conftest.$ac_ext
12134 cat >>conftest.$ac_ext <<_ACEOF
12135 /* end confdefs.h.  */
12136
12137 /* Override any GCC internal prototype to avoid an error.
12138    Use char because int might match the return type of a GCC
12139    builtin and then its argument prototype would still apply.  */
12140 #ifdef __cplusplus
12141 extern "C"
12142 #endif
12143 char dlopen ();
12144 int
12145 main ()
12146 {
12147 return dlopen ();
12148   ;
12149   return 0;
12150 }
12151 _ACEOF
12152 rm -f conftest.$ac_objext conftest$ac_exeext
12153 if { (ac_try="$ac_link"
12154 case "(($ac_try" in
12155   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12156   *) ac_try_echo=$ac_try;;
12157 esac
12158 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12159 $as_echo "$ac_try_echo") >&5
12160   (eval "$ac_link") 2>conftest.er1
12161   ac_status=$?
12162   grep -v '^ *+' conftest.er1 >conftest.err
12163   rm -f conftest.er1
12164   cat conftest.err >&5
12165   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12166   (exit $ac_status); } && {
12167          test -z "$ac_c_werror_flag" ||
12168          test ! -s conftest.err
12169        } && test -s conftest$ac_exeext && {
12170          test "$cross_compiling" = yes ||
12171          $as_test_x conftest$ac_exeext
12172        }; then
12173   ac_cv_lib_dl_dlopen=yes
12174 else
12175   $as_echo "$as_me: failed program was:" >&5
12176 sed 's/^/| /' conftest.$ac_ext >&5
12177
12178         ac_cv_lib_dl_dlopen=no
12179 fi
12180
12181 rm -rf conftest.dSYM
12182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12183       conftest$ac_exeext conftest.$ac_ext
12184 LIBS=$ac_check_lib_save_LIBS
12185 fi
12186 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12187 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12188 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
12189   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12190 else
12191   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12192 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12193 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12194   $as_echo_n "(cached) " >&6
12195 else
12196   ac_check_lib_save_LIBS=$LIBS
12197 LIBS="-lsvld  $LIBS"
12198 cat >conftest.$ac_ext <<_ACEOF
12199 /* confdefs.h.  */
12200 _ACEOF
12201 cat confdefs.h >>conftest.$ac_ext
12202 cat >>conftest.$ac_ext <<_ACEOF
12203 /* end confdefs.h.  */
12204
12205 /* Override any GCC internal prototype to avoid an error.
12206    Use char because int might match the return type of a GCC
12207    builtin and then its argument prototype would still apply.  */
12208 #ifdef __cplusplus
12209 extern "C"
12210 #endif
12211 char dlopen ();
12212 int
12213 main ()
12214 {
12215 return dlopen ();
12216   ;
12217   return 0;
12218 }
12219 _ACEOF
12220 rm -f conftest.$ac_objext conftest$ac_exeext
12221 if { (ac_try="$ac_link"
12222 case "(($ac_try" in
12223   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12224   *) ac_try_echo=$ac_try;;
12225 esac
12226 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12227 $as_echo "$ac_try_echo") >&5
12228   (eval "$ac_link") 2>conftest.er1
12229   ac_status=$?
12230   grep -v '^ *+' conftest.er1 >conftest.err
12231   rm -f conftest.er1
12232   cat conftest.err >&5
12233   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12234   (exit $ac_status); } && {
12235          test -z "$ac_c_werror_flag" ||
12236          test ! -s conftest.err
12237        } && test -s conftest$ac_exeext && {
12238          test "$cross_compiling" = yes ||
12239          $as_test_x conftest$ac_exeext
12240        }; then
12241   ac_cv_lib_svld_dlopen=yes
12242 else
12243   $as_echo "$as_me: failed program was:" >&5
12244 sed 's/^/| /' conftest.$ac_ext >&5
12245
12246         ac_cv_lib_svld_dlopen=no
12247 fi
12248
12249 rm -rf conftest.dSYM
12250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12251       conftest$ac_exeext conftest.$ac_ext
12252 LIBS=$ac_check_lib_save_LIBS
12253 fi
12254 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12255 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12256 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
12257   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12258 else
12259   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12260 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12261 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12262   $as_echo_n "(cached) " >&6
12263 else
12264   ac_check_lib_save_LIBS=$LIBS
12265 LIBS="-ldld  $LIBS"
12266 cat >conftest.$ac_ext <<_ACEOF
12267 /* confdefs.h.  */
12268 _ACEOF
12269 cat confdefs.h >>conftest.$ac_ext
12270 cat >>conftest.$ac_ext <<_ACEOF
12271 /* end confdefs.h.  */
12272
12273 /* Override any GCC internal prototype to avoid an error.
12274    Use char because int might match the return type of a GCC
12275    builtin and then its argument prototype would still apply.  */
12276 #ifdef __cplusplus
12277 extern "C"
12278 #endif
12279 char dld_link ();
12280 int
12281 main ()
12282 {
12283 return dld_link ();
12284   ;
12285   return 0;
12286 }
12287 _ACEOF
12288 rm -f conftest.$ac_objext conftest$ac_exeext
12289 if { (ac_try="$ac_link"
12290 case "(($ac_try" in
12291   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12292   *) ac_try_echo=$ac_try;;
12293 esac
12294 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12295 $as_echo "$ac_try_echo") >&5
12296   (eval "$ac_link") 2>conftest.er1
12297   ac_status=$?
12298   grep -v '^ *+' conftest.er1 >conftest.err
12299   rm -f conftest.er1
12300   cat conftest.err >&5
12301   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12302   (exit $ac_status); } && {
12303          test -z "$ac_c_werror_flag" ||
12304          test ! -s conftest.err
12305        } && test -s conftest$ac_exeext && {
12306          test "$cross_compiling" = yes ||
12307          $as_test_x conftest$ac_exeext
12308        }; then
12309   ac_cv_lib_dld_dld_link=yes
12310 else
12311   $as_echo "$as_me: failed program was:" >&5
12312 sed 's/^/| /' conftest.$ac_ext >&5
12313
12314         ac_cv_lib_dld_dld_link=no
12315 fi
12316
12317 rm -rf conftest.dSYM
12318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12319       conftest$ac_exeext conftest.$ac_ext
12320 LIBS=$ac_check_lib_save_LIBS
12321 fi
12322 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12323 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12324 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
12325   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12326 fi
12327
12328
12329 fi
12330
12331
12332 fi
12333
12334
12335 fi
12336
12337
12338 fi
12339
12340
12341 fi
12342
12343     ;;
12344   esac
12345
12346   if test "x$lt_cv_dlopen" != xno; then
12347     enable_dlopen=yes
12348   else
12349     enable_dlopen=no
12350   fi
12351
12352   case $lt_cv_dlopen in
12353   dlopen)
12354     save_CPPFLAGS="$CPPFLAGS"
12355     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12356
12357     save_LDFLAGS="$LDFLAGS"
12358     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12359
12360     save_LIBS="$LIBS"
12361     LIBS="$lt_cv_dlopen_libs $LIBS"
12362
12363     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12364 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12365 if test "${lt_cv_dlopen_self+set}" = set; then
12366   $as_echo_n "(cached) " >&6
12367 else
12368           if test "$cross_compiling" = yes; then :
12369   lt_cv_dlopen_self=cross
12370 else
12371   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12372   lt_status=$lt_dlunknown
12373   cat > conftest.$ac_ext <<_LT_EOF
12374 #line 12374 "configure"
12375 #include "confdefs.h"
12376
12377 #if HAVE_DLFCN_H
12378 #include <dlfcn.h>
12379 #endif
12380
12381 #include <stdio.h>
12382
12383 #ifdef RTLD_GLOBAL
12384 #  define LT_DLGLOBAL           RTLD_GLOBAL
12385 #else
12386 #  ifdef DL_GLOBAL
12387 #    define LT_DLGLOBAL         DL_GLOBAL
12388 #  else
12389 #    define LT_DLGLOBAL         0
12390 #  endif
12391 #endif
12392
12393 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12394    find out it does not work in some platform. */
12395 #ifndef LT_DLLAZY_OR_NOW
12396 #  ifdef RTLD_LAZY
12397 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12398 #  else
12399 #    ifdef DL_LAZY
12400 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12401 #    else
12402 #      ifdef RTLD_NOW
12403 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12404 #      else
12405 #        ifdef DL_NOW
12406 #          define LT_DLLAZY_OR_NOW      DL_NOW
12407 #        else
12408 #          define LT_DLLAZY_OR_NOW      0
12409 #        endif
12410 #      endif
12411 #    endif
12412 #  endif
12413 #endif
12414
12415 void fnord() { int i=42;}
12416 int main ()
12417 {
12418   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12419   int status = $lt_dlunknown;
12420
12421   if (self)
12422     {
12423       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12424       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12425       /* dlclose (self); */
12426     }
12427   else
12428     puts (dlerror ());
12429
12430   return status;
12431 }
12432 _LT_EOF
12433   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12434   (eval $ac_link) 2>&5
12435   ac_status=$?
12436   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12437   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12438     (./conftest; exit; ) >&5 2>/dev/null
12439     lt_status=$?
12440     case x$lt_status in
12441       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12442       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12443       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12444     esac
12445   else :
12446     # compilation failed
12447     lt_cv_dlopen_self=no
12448   fi
12449 fi
12450 rm -fr conftest*
12451
12452
12453 fi
12454 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12455 $as_echo "$lt_cv_dlopen_self" >&6; }
12456
12457     if test "x$lt_cv_dlopen_self" = xyes; then
12458       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12459       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12460 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12461 if test "${lt_cv_dlopen_self_static+set}" = set; then
12462   $as_echo_n "(cached) " >&6
12463 else
12464           if test "$cross_compiling" = yes; then :
12465   lt_cv_dlopen_self_static=cross
12466 else
12467   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12468   lt_status=$lt_dlunknown
12469   cat > conftest.$ac_ext <<_LT_EOF
12470 #line 12470 "configure"
12471 #include "confdefs.h"
12472
12473 #if HAVE_DLFCN_H
12474 #include <dlfcn.h>
12475 #endif
12476
12477 #include <stdio.h>
12478
12479 #ifdef RTLD_GLOBAL
12480 #  define LT_DLGLOBAL           RTLD_GLOBAL
12481 #else
12482 #  ifdef DL_GLOBAL
12483 #    define LT_DLGLOBAL         DL_GLOBAL
12484 #  else
12485 #    define LT_DLGLOBAL         0
12486 #  endif
12487 #endif
12488
12489 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12490    find out it does not work in some platform. */
12491 #ifndef LT_DLLAZY_OR_NOW
12492 #  ifdef RTLD_LAZY
12493 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12494 #  else
12495 #    ifdef DL_LAZY
12496 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12497 #    else
12498 #      ifdef RTLD_NOW
12499 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12500 #      else
12501 #        ifdef DL_NOW
12502 #          define LT_DLLAZY_OR_NOW      DL_NOW
12503 #        else
12504 #          define LT_DLLAZY_OR_NOW      0
12505 #        endif
12506 #      endif
12507 #    endif
12508 #  endif
12509 #endif
12510
12511 void fnord() { int i=42;}
12512 int main ()
12513 {
12514   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12515   int status = $lt_dlunknown;
12516
12517   if (self)
12518     {
12519       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12520       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12521       /* dlclose (self); */
12522     }
12523   else
12524     puts (dlerror ());
12525
12526   return status;
12527 }
12528 _LT_EOF
12529   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12530   (eval $ac_link) 2>&5
12531   ac_status=$?
12532   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12533   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12534     (./conftest; exit; ) >&5 2>/dev/null
12535     lt_status=$?
12536     case x$lt_status in
12537       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12538       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12539       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12540     esac
12541   else :
12542     # compilation failed
12543     lt_cv_dlopen_self_static=no
12544   fi
12545 fi
12546 rm -fr conftest*
12547
12548
12549 fi
12550 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12551 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12552     fi
12553
12554     CPPFLAGS="$save_CPPFLAGS"
12555     LDFLAGS="$save_LDFLAGS"
12556     LIBS="$save_LIBS"
12557     ;;
12558   esac
12559
12560   case $lt_cv_dlopen_self in
12561   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12562   *) enable_dlopen_self=unknown ;;
12563   esac
12564
12565   case $lt_cv_dlopen_self_static in
12566   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12567   *) enable_dlopen_self_static=unknown ;;
12568   esac
12569 fi
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587 striplib=
12588 old_striplib=
12589 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12590 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12591 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12592   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12593   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12594   { $as_echo "$as_me:$LINENO: result: yes" >&5
12595 $as_echo "yes" >&6; }
12596 else
12597 # FIXME - insert some real tests, host_os isn't really good enough
12598   case $host_os in
12599   darwin*)
12600     if test -n "$STRIP" ; then
12601       striplib="$STRIP -x"
12602       old_striplib="$STRIP -S"
12603       { $as_echo "$as_me:$LINENO: result: yes" >&5
12604 $as_echo "yes" >&6; }
12605     else
12606       { $as_echo "$as_me:$LINENO: result: no" >&5
12607 $as_echo "no" >&6; }
12608     fi
12609     ;;
12610   *)
12611     { $as_echo "$as_me:$LINENO: result: no" >&5
12612 $as_echo "no" >&6; }
12613     ;;
12614   esac
12615 fi
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628   # Report which library types will actually be built
12629   { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12630 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12631   { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
12632 $as_echo "$can_build_shared" >&6; }
12633
12634   { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12635 $as_echo_n "checking whether to build shared libraries... " >&6; }
12636   test "$can_build_shared" = "no" && enable_shared=no
12637
12638   # On AIX, shared libraries and static libraries use the same namespace, and
12639   # are all built from PIC.
12640   case $host_os in
12641   aix3*)
12642     test "$enable_shared" = yes && enable_static=no
12643     if test -n "$RANLIB"; then
12644       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12645       postinstall_cmds='$RANLIB $lib'
12646     fi
12647     ;;
12648
12649   aix[4-9]*)
12650     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12651       test "$enable_shared" = yes && enable_static=no
12652     fi
12653     ;;
12654   esac
12655   { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
12656 $as_echo "$enable_shared" >&6; }
12657
12658   { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12659 $as_echo_n "checking whether to build static libraries... " >&6; }
12660   # Make sure either enable_shared or enable_static is yes.
12661   test "$enable_shared" = yes || enable_static=yes
12662   { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
12663 $as_echo "$enable_static" >&6; }
12664
12665
12666
12667
12668 fi
12669 ac_ext=c
12670 ac_cpp='$CPP $CPPFLAGS'
12671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12674
12675 CC="$lt_save_CC"
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689         ac_config_commands="$ac_config_commands libtool"
12690
12691
12692
12693
12694 # Only expand once:
12695
12696
12697 # Extract the first word of "gconftool-2", so it can be a program name with args.
12698 set dummy gconftool-2; ac_word=$2
12699 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12700 $as_echo_n "checking for $ac_word... " >&6; }
12701 if test "${ac_cv_path_GCONFTOOL+set}" = set; then
12702   $as_echo_n "(cached) " >&6
12703 else
12704   case $GCONFTOOL in
12705   [\\/]* | ?:[\\/]*)
12706   ac_cv_path_GCONFTOOL="$GCONFTOOL" # Let the user override the test with a path.
12707   ;;
12708   *)
12709   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12710 for as_dir in $PATH
12711 do
12712   IFS=$as_save_IFS
12713   test -z "$as_dir" && as_dir=.
12714   for ac_exec_ext in '' $ac_executable_extensions; do
12715   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12716     ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
12717     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12718     break 2
12719   fi
12720 done
12721 done
12722 IFS=$as_save_IFS
12723
12724   ;;
12725 esac
12726 fi
12727 GCONFTOOL=$ac_cv_path_GCONFTOOL
12728 if test -n "$GCONFTOOL"; then
12729   { $as_echo "$as_me:$LINENO: result: $GCONFTOOL" >&5
12730 $as_echo "$GCONFTOOL" >&6; }
12731 else
12732   { $as_echo "$as_me:$LINENO: result: no" >&5
12733 $as_echo "no" >&6; }
12734 fi
12735
12736
12737
12738   if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
12739     GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
12740   else
12741     GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
12742   fi
12743
12744
12745 # Check whether --with-gconf-source was given.
12746 if test "${with_gconf_source+set}" = set; then
12747   withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
12748 fi
12749
12750
12751
12752   { $as_echo "$as_me:$LINENO: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
12753 $as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
12754
12755   if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
12756     GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
12757   fi
12758
12759
12760 # Check whether --with-gconf-schema-file-dir was given.
12761 if test "${with_gconf_schema_file_dir+set}" = set; then
12762   withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
12763 fi
12764
12765
12766
12767   { $as_echo "$as_me:$LINENO: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
12768 $as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
12769
12770   # Check whether --enable-schemas-install was given.
12771 if test "${enable_schemas_install+set}" = set; then
12772   enableval=$enable_schemas_install; case ${enableval} in
12773        yes|no) ;;
12774        *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-schemas-install" >&5
12775 $as_echo "$as_me: error: bad value ${enableval} for --enable-schemas-install" >&2;}
12776    { (exit 1); exit 1; }; } ;;
12777       esac
12778 fi
12779
12780    if test "$enable_schemas_install" != no; then
12781   GCONF_SCHEMAS_INSTALL_TRUE=
12782   GCONF_SCHEMAS_INSTALL_FALSE='#'
12783 else
12784   GCONF_SCHEMAS_INSTALL_TRUE='#'
12785   GCONF_SCHEMAS_INSTALL_FALSE=
12786 fi
12787
12788
12789
12790
12791
12792
12793 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12794         if test -n "$ac_tool_prefix"; then
12795   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12796 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12797 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12798 $as_echo_n "checking for $ac_word... " >&6; }
12799 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12800   $as_echo_n "(cached) " >&6
12801 else
12802   case $PKG_CONFIG in
12803   [\\/]* | ?:[\\/]*)
12804   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12805   ;;
12806   *)
12807   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12808 for as_dir in $PATH
12809 do
12810   IFS=$as_save_IFS
12811   test -z "$as_dir" && as_dir=.
12812   for ac_exec_ext in '' $ac_executable_extensions; do
12813   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12814     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12815     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12816     break 2
12817   fi
12818 done
12819 done
12820 IFS=$as_save_IFS
12821
12822   ;;
12823 esac
12824 fi
12825 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12826 if test -n "$PKG_CONFIG"; then
12827   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12828 $as_echo "$PKG_CONFIG" >&6; }
12829 else
12830   { $as_echo "$as_me:$LINENO: result: no" >&5
12831 $as_echo "no" >&6; }
12832 fi
12833
12834
12835 fi
12836 if test -z "$ac_cv_path_PKG_CONFIG"; then
12837   ac_pt_PKG_CONFIG=$PKG_CONFIG
12838   # Extract the first word of "pkg-config", so it can be a program name with args.
12839 set dummy pkg-config; ac_word=$2
12840 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12841 $as_echo_n "checking for $ac_word... " >&6; }
12842 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
12843   $as_echo_n "(cached) " >&6
12844 else
12845   case $ac_pt_PKG_CONFIG in
12846   [\\/]* | ?:[\\/]*)
12847   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12848   ;;
12849   *)
12850   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12851 for as_dir in $PATH
12852 do
12853   IFS=$as_save_IFS
12854   test -z "$as_dir" && as_dir=.
12855   for ac_exec_ext in '' $ac_executable_extensions; do
12856   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12857     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12858     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12859     break 2
12860   fi
12861 done
12862 done
12863 IFS=$as_save_IFS
12864
12865   ;;
12866 esac
12867 fi
12868 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12869 if test -n "$ac_pt_PKG_CONFIG"; then
12870   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
12871 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12872 else
12873   { $as_echo "$as_me:$LINENO: result: no" >&5
12874 $as_echo "no" >&6; }
12875 fi
12876
12877   if test "x$ac_pt_PKG_CONFIG" = x; then
12878     PKG_CONFIG=""
12879   else
12880     case $cross_compiling:$ac_tool_warned in
12881 yes:)
12882 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
12883 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12884 ac_tool_warned=yes ;;
12885 esac
12886     PKG_CONFIG=$ac_pt_PKG_CONFIG
12887   fi
12888 else
12889   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12890 fi
12891
12892 fi
12893 if test -n "$PKG_CONFIG"; then
12894         _pkg_min_version=0.9.0
12895         { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
12896 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12897         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12898                 { $as_echo "$as_me:$LINENO: result: yes" >&5
12899 $as_echo "yes" >&6; }
12900         else
12901                 { $as_echo "$as_me:$LINENO: result: no" >&5
12902 $as_echo "no" >&6; }
12903                 PKG_CONFIG=""
12904         fi
12905
12906 fi
12907
12908 gdu_cv_version_required=0.3.2
12909
12910 { $as_echo "$as_me:$LINENO: checking gnome-doc-utils >= $gdu_cv_version_required" >&5
12911 $as_echo_n "checking gnome-doc-utils >= $gdu_cv_version_required... " >&6; }
12912 if test -n "$PKG_CONFIG" && \
12913     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\"") >&5
12914   ($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
12915   ac_status=$?
12916   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12917   (exit $ac_status); }; then
12918   gdu_cv_have_gdu=yes
12919 else
12920   gdu_cv_have_gdu=no
12921 fi
12922
12923 if test "$gdu_cv_have_gdu" = "yes"; then
12924         { $as_echo "$as_me:$LINENO: result: yes" >&5
12925 $as_echo "yes" >&6; }
12926         :
12927 else
12928         { $as_echo "$as_me:$LINENO: result: no" >&5
12929 $as_echo "no" >&6; }
12930         { { $as_echo "$as_me:$LINENO: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&5
12931 $as_echo "$as_me: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&2;}
12932    { (exit 1); exit 1; }; }
12933 fi
12934
12935
12936
12937 # Check whether --with-help-dir was given.
12938 if test "${with_help_dir+set}" = set; then
12939   withval=$with_help_dir;
12940 else
12941   with_help_dir='${datadir}/gnome/help'
12942 fi
12943
12944 HELP_DIR="$with_help_dir"
12945
12946
12947
12948 # Check whether --with-omf-dir was given.
12949 if test "${with_omf_dir+set}" = set; then
12950   withval=$with_omf_dir;
12951 else
12952   with_omf_dir='${datadir}/omf'
12953 fi
12954
12955 OMF_DIR="$with_omf_dir"
12956
12957
12958
12959 # Check whether --with-help-formats was given.
12960 if test "${with_help_formats+set}" = set; then
12961   withval=$with_help_formats;
12962 else
12963   with_help_formats=''
12964 fi
12965
12966 DOC_USER_FORMATS="$with_help_formats"
12967
12968
12969 # Check whether --enable-scrollkeeper was given.
12970 if test "${enable_scrollkeeper+set}" = set; then
12971   enableval=$enable_scrollkeeper;
12972 else
12973   enable_scrollkeeper=yes
12974 fi
12975
12976  if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then
12977   ENABLE_SK_TRUE=
12978   ENABLE_SK_FALSE='#'
12979 else
12980   ENABLE_SK_TRUE='#'
12981   ENABLE_SK_FALSE=
12982 fi
12983
12984
12985 DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS"
12986
12987
12988  if test "$gdu_cv_have_gdu" = "yes"; then
12989   HAVE_GNOME_DOC_UTILS_TRUE=
12990   HAVE_GNOME_DOC_UTILS_FALSE='#'
12991 else
12992   HAVE_GNOME_DOC_UTILS_TRUE='#'
12993   HAVE_GNOME_DOC_UTILS_FALSE=
12994 fi
12995
12996
12997
12998
12999 if test "x$GCC" = "xyes"; then
13000   case " $CFLAGS " in
13001   *[\ \ ]-Wall[\ \      ]*) ;;
13002   *) CFLAGS="$CFLAGS -Wall" ;;
13003   esac
13004 fi
13005
13006
13007 pkg_failed=no
13008 { $as_echo "$as_me:$LINENO: checking for GCONF_EDITOR" >&5
13009 $as_echo_n "checking for GCONF_EDITOR... " >&6; }
13010
13011 if test -n "$GCONF_EDITOR_CFLAGS"; then
13012     pkg_cv_GCONF_EDITOR_CFLAGS="$GCONF_EDITOR_CFLAGS"
13013  elif test -n "$PKG_CONFIG"; then
13014     if test -n "$PKG_CONFIG" && \
13015     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gconf-2.0 >= 2.9.2
13016                   gtk+-2.0 >= 2.12.0
13017                   dbus-glib-1\"") >&5
13018   ($PKG_CONFIG --exists --print-errors "gconf-2.0 >= 2.9.2
13019                   gtk+-2.0 >= 2.12.0
13020                   dbus-glib-1") 2>&5
13021   ac_status=$?
13022   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13023   (exit $ac_status); }; then
13024   pkg_cv_GCONF_EDITOR_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.9.2
13025                   gtk+-2.0 >= 2.12.0
13026                   dbus-glib-1" 2>/dev/null`
13027 else
13028   pkg_failed=yes
13029 fi
13030  else
13031     pkg_failed=untried
13032 fi
13033 if test -n "$GCONF_EDITOR_LIBS"; then
13034     pkg_cv_GCONF_EDITOR_LIBS="$GCONF_EDITOR_LIBS"
13035  elif test -n "$PKG_CONFIG"; then
13036     if test -n "$PKG_CONFIG" && \
13037     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gconf-2.0 >= 2.9.2
13038                   gtk+-2.0 >= 2.12.0
13039                   dbus-glib-1\"") >&5
13040   ($PKG_CONFIG --exists --print-errors "gconf-2.0 >= 2.9.2
13041                   gtk+-2.0 >= 2.12.0
13042                   dbus-glib-1") 2>&5
13043   ac_status=$?
13044   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13045   (exit $ac_status); }; then
13046   pkg_cv_GCONF_EDITOR_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.9.2
13047                   gtk+-2.0 >= 2.12.0
13048                   dbus-glib-1" 2>/dev/null`
13049 else
13050   pkg_failed=yes
13051 fi
13052  else
13053     pkg_failed=untried
13054 fi
13055
13056
13057
13058 if test $pkg_failed = yes; then
13059
13060 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13061         _pkg_short_errors_supported=yes
13062 else
13063         _pkg_short_errors_supported=no
13064 fi
13065         if test $_pkg_short_errors_supported = yes; then
13066                 GCONF_EDITOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gconf-2.0 >= 2.9.2
13067                   gtk+-2.0 >= 2.12.0
13068                   dbus-glib-1" 2>&1`
13069         else
13070                 GCONF_EDITOR_PKG_ERRORS=`$PKG_CONFIG --print-errors "gconf-2.0 >= 2.9.2
13071                   gtk+-2.0 >= 2.12.0
13072                   dbus-glib-1" 2>&1`
13073         fi
13074         # Put the nasty error message in config.log where it belongs
13075         echo "$GCONF_EDITOR_PKG_ERRORS" >&5
13076
13077         { { $as_echo "$as_me:$LINENO: error: Package requirements (gconf-2.0 >= 2.9.2
13078                   gtk+-2.0 >= 2.12.0
13079                   dbus-glib-1) were not met:
13080
13081 $GCONF_EDITOR_PKG_ERRORS
13082
13083 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13084 installed software in a non-standard prefix.
13085
13086 Alternatively, you may set the environment variables GCONF_EDITOR_CFLAGS
13087 and GCONF_EDITOR_LIBS to avoid the need to call pkg-config.
13088 See the pkg-config man page for more details.
13089 " >&5
13090 $as_echo "$as_me: error: Package requirements (gconf-2.0 >= 2.9.2
13091                   gtk+-2.0 >= 2.12.0
13092                   dbus-glib-1) were not met:
13093
13094 $GCONF_EDITOR_PKG_ERRORS
13095
13096 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13097 installed software in a non-standard prefix.
13098
13099 Alternatively, you may set the environment variables GCONF_EDITOR_CFLAGS
13100 and GCONF_EDITOR_LIBS to avoid the need to call pkg-config.
13101 See the pkg-config man page for more details.
13102 " >&2;}
13103    { (exit 1); exit 1; }; }
13104 elif test $pkg_failed = untried; then
13105         { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13107 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
13108 is in your PATH or set the PKG_CONFIG environment variable to the full
13109 path to pkg-config.
13110
13111 Alternatively, you may set the environment variables GCONF_EDITOR_CFLAGS
13112 and GCONF_EDITOR_LIBS to avoid the need to call pkg-config.
13113 See the pkg-config man page for more details.
13114
13115 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13116 See \`config.log' for more details." >&5
13117 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
13118 is in your PATH or set the PKG_CONFIG environment variable to the full
13119 path to pkg-config.
13120
13121 Alternatively, you may set the environment variables GCONF_EDITOR_CFLAGS
13122 and GCONF_EDITOR_LIBS to avoid the need to call pkg-config.
13123 See the pkg-config man page for more details.
13124
13125 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13126 See \`config.log' for more details." >&2;}
13127    { (exit 1); exit 1; }; }; }
13128 else
13129         GCONF_EDITOR_CFLAGS=$pkg_cv_GCONF_EDITOR_CFLAGS
13130         GCONF_EDITOR_LIBS=$pkg_cv_GCONF_EDITOR_LIBS
13131         { $as_echo "$as_me:$LINENO: result: yes" >&5
13132 $as_echo "yes" >&6; }
13133         :
13134 fi
13135
13136 if test "$enable_maintainer_mode" = "yes"; then
13137         DISABLE_DEPRECATED_CFLAGS="-DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED \
13138 -DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES"
13139
13140 fi
13141
13142 # Extract the first word of "glib-genmarshal", so it can be a program name with args.
13143 set dummy glib-genmarshal; ac_word=$2
13144 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13145 $as_echo_n "checking for $ac_word... " >&6; }
13146 if test "${ac_cv_path_GLIB_GENMARSHAL+set}" = set; then
13147   $as_echo_n "(cached) " >&6
13148 else
13149   case $GLIB_GENMARSHAL in
13150   [\\/]* | ?:[\\/]*)
13151   ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
13152   ;;
13153   *)
13154   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13155 for as_dir in $PATH
13156 do
13157   IFS=$as_save_IFS
13158   test -z "$as_dir" && as_dir=.
13159   for ac_exec_ext in '' $ac_executable_extensions; do
13160   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13161     ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
13162     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13163     break 2
13164   fi
13165 done
13166 done
13167 IFS=$as_save_IFS
13168
13169   ;;
13170 esac
13171 fi
13172 GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
13173 if test -n "$GLIB_GENMARSHAL"; then
13174   { $as_echo "$as_me:$LINENO: result: $GLIB_GENMARSHAL" >&5
13175 $as_echo "$GLIB_GENMARSHAL" >&6; }
13176 else
13177   { $as_echo "$as_me:$LINENO: result: no" >&5
13178 $as_echo "no" >&6; }
13179 fi
13180
13181
13182
13183 GETTEXT_PACKAGE=gconf-editor
13184
13185
13186 cat >>confdefs.h <<_ACEOF
13187 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
13188 _ACEOF
13189
13190
13191
13192
13193 for ac_header in locale.h
13194 do
13195 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13196 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13197   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13198 $as_echo_n "checking for $ac_header... " >&6; }
13199 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13200   $as_echo_n "(cached) " >&6
13201 fi
13202 ac_res=`eval 'as_val=${'$as_ac_Header'}
13203                  $as_echo "$as_val"'`
13204                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13205 $as_echo "$ac_res" >&6; }
13206 else
13207   # Is the header compilable?
13208 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13209 $as_echo_n "checking $ac_header usability... " >&6; }
13210 cat >conftest.$ac_ext <<_ACEOF
13211 /* confdefs.h.  */
13212 _ACEOF
13213 cat confdefs.h >>conftest.$ac_ext
13214 cat >>conftest.$ac_ext <<_ACEOF
13215 /* end confdefs.h.  */
13216 $ac_includes_default
13217 #include <$ac_header>
13218 _ACEOF
13219 rm -f conftest.$ac_objext
13220 if { (ac_try="$ac_compile"
13221 case "(($ac_try" in
13222   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13223   *) ac_try_echo=$ac_try;;
13224 esac
13225 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13226 $as_echo "$ac_try_echo") >&5
13227   (eval "$ac_compile") 2>conftest.er1
13228   ac_status=$?
13229   grep -v '^ *+' conftest.er1 >conftest.err
13230   rm -f conftest.er1
13231   cat conftest.err >&5
13232   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13233   (exit $ac_status); } && {
13234          test -z "$ac_c_werror_flag" ||
13235          test ! -s conftest.err
13236        } && test -s conftest.$ac_objext; then
13237   ac_header_compiler=yes
13238 else
13239   $as_echo "$as_me: failed program was:" >&5
13240 sed 's/^/| /' conftest.$ac_ext >&5
13241
13242         ac_header_compiler=no
13243 fi
13244
13245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13246 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13247 $as_echo "$ac_header_compiler" >&6; }
13248
13249 # Is the header present?
13250 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13251 $as_echo_n "checking $ac_header presence... " >&6; }
13252 cat >conftest.$ac_ext <<_ACEOF
13253 /* confdefs.h.  */
13254 _ACEOF
13255 cat confdefs.h >>conftest.$ac_ext
13256 cat >>conftest.$ac_ext <<_ACEOF
13257 /* end confdefs.h.  */
13258 #include <$ac_header>
13259 _ACEOF
13260 if { (ac_try="$ac_cpp conftest.$ac_ext"
13261 case "(($ac_try" in
13262   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13263   *) ac_try_echo=$ac_try;;
13264 esac
13265 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13266 $as_echo "$ac_try_echo") >&5
13267   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13268   ac_status=$?
13269   grep -v '^ *+' conftest.er1 >conftest.err
13270   rm -f conftest.er1
13271   cat conftest.err >&5
13272   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13273   (exit $ac_status); } >/dev/null && {
13274          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13275          test ! -s conftest.err
13276        }; then
13277   ac_header_preproc=yes
13278 else
13279   $as_echo "$as_me: failed program was:" >&5
13280 sed 's/^/| /' conftest.$ac_ext >&5
13281
13282   ac_header_preproc=no
13283 fi
13284
13285 rm -f conftest.err conftest.$ac_ext
13286 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13287 $as_echo "$ac_header_preproc" >&6; }
13288
13289 # So?  What about this header?
13290 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13291   yes:no: )
13292     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13293 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13294     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13295 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13296     ac_header_preproc=yes
13297     ;;
13298   no:yes:* )
13299     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13300 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13301     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
13302 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
13303     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13304 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13305     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
13306 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
13307     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13308 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13309     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13310 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13311     ( cat <<\_ASBOX
13312 ## --------------------------------------------------------------------------- ##
13313 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gconf-editor ##
13314 ## --------------------------------------------------------------------------- ##
13315 _ASBOX
13316      ) | sed "s/^/$as_me: WARNING:     /" >&2
13317     ;;
13318 esac
13319 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13320 $as_echo_n "checking for $ac_header... " >&6; }
13321 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13322   $as_echo_n "(cached) " >&6
13323 else
13324   eval "$as_ac_Header=\$ac_header_preproc"
13325 fi
13326 ac_res=`eval 'as_val=${'$as_ac_Header'}
13327                  $as_echo "$as_val"'`
13328                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13329 $as_echo "$ac_res" >&6; }
13330
13331 fi
13332 as_val=`eval 'as_val=${'$as_ac_Header'}
13333                  $as_echo "$as_val"'`
13334    if test "x$as_val" = x""yes; then
13335   cat >>confdefs.h <<_ACEOF
13336 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13337 _ACEOF
13338
13339 fi
13340
13341 done
13342
13343     if test $ac_cv_header_locale_h = yes; then
13344     { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
13345 $as_echo_n "checking for LC_MESSAGES... " >&6; }
13346 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
13347   $as_echo_n "(cached) " >&6
13348 else
13349   cat >conftest.$ac_ext <<_ACEOF
13350 /* confdefs.h.  */
13351 _ACEOF
13352 cat confdefs.h >>conftest.$ac_ext
13353 cat >>conftest.$ac_ext <<_ACEOF
13354 /* end confdefs.h.  */
13355 #include <locale.h>
13356 int
13357 main ()
13358 {
13359 return LC_MESSAGES
13360   ;
13361   return 0;
13362 }
13363 _ACEOF
13364 rm -f conftest.$ac_objext conftest$ac_exeext
13365 if { (ac_try="$ac_link"
13366 case "(($ac_try" in
13367   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13368   *) ac_try_echo=$ac_try;;
13369 esac
13370 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13371 $as_echo "$ac_try_echo") >&5
13372   (eval "$ac_link") 2>conftest.er1
13373   ac_status=$?
13374   grep -v '^ *+' conftest.er1 >conftest.err
13375   rm -f conftest.er1
13376   cat conftest.err >&5
13377   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13378   (exit $ac_status); } && {
13379          test -z "$ac_c_werror_flag" ||
13380          test ! -s conftest.err
13381        } && test -s conftest$ac_exeext && {
13382          test "$cross_compiling" = yes ||
13383          $as_test_x conftest$ac_exeext
13384        }; then
13385   am_cv_val_LC_MESSAGES=yes
13386 else
13387   $as_echo "$as_me: failed program was:" >&5
13388 sed 's/^/| /' conftest.$ac_ext >&5
13389
13390         am_cv_val_LC_MESSAGES=no
13391 fi
13392
13393 rm -rf conftest.dSYM
13394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13395       conftest$ac_exeext conftest.$ac_ext
13396 fi
13397 { $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
13398 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
13399     if test $am_cv_val_LC_MESSAGES = yes; then
13400
13401 cat >>confdefs.h <<\_ACEOF
13402 #define HAVE_LC_MESSAGES 1
13403 _ACEOF
13404
13405     fi
13406   fi
13407      USE_NLS=yes
13408
13409
13410     gt_cv_have_gettext=no
13411
13412     CATOBJEXT=NONE
13413     XGETTEXT=:
13414     INTLLIBS=
13415
13416     if test "${ac_cv_header_libintl_h+set}" = set; then
13417   { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
13418 $as_echo_n "checking for libintl.h... " >&6; }
13419 if test "${ac_cv_header_libintl_h+set}" = set; then
13420   $as_echo_n "(cached) " >&6
13421 fi
13422 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
13423 $as_echo "$ac_cv_header_libintl_h" >&6; }
13424 else
13425   # Is the header compilable?
13426 { $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
13427 $as_echo_n "checking libintl.h usability... " >&6; }
13428 cat >conftest.$ac_ext <<_ACEOF
13429 /* confdefs.h.  */
13430 _ACEOF
13431 cat confdefs.h >>conftest.$ac_ext
13432 cat >>conftest.$ac_ext <<_ACEOF
13433 /* end confdefs.h.  */
13434 $ac_includes_default
13435 #include <libintl.h>
13436 _ACEOF
13437 rm -f conftest.$ac_objext
13438 if { (ac_try="$ac_compile"
13439 case "(($ac_try" in
13440   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13441   *) ac_try_echo=$ac_try;;
13442 esac
13443 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13444 $as_echo "$ac_try_echo") >&5
13445   (eval "$ac_compile") 2>conftest.er1
13446   ac_status=$?
13447   grep -v '^ *+' conftest.er1 >conftest.err
13448   rm -f conftest.er1
13449   cat conftest.err >&5
13450   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13451   (exit $ac_status); } && {
13452          test -z "$ac_c_werror_flag" ||
13453          test ! -s conftest.err
13454        } && test -s conftest.$ac_objext; then
13455   ac_header_compiler=yes
13456 else
13457   $as_echo "$as_me: failed program was:" >&5
13458 sed 's/^/| /' conftest.$ac_ext >&5
13459
13460         ac_header_compiler=no
13461 fi
13462
13463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13464 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13465 $as_echo "$ac_header_compiler" >&6; }
13466
13467 # Is the header present?
13468 { $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
13469 $as_echo_n "checking libintl.h presence... " >&6; }
13470 cat >conftest.$ac_ext <<_ACEOF
13471 /* confdefs.h.  */
13472 _ACEOF
13473 cat confdefs.h >>conftest.$ac_ext
13474 cat >>conftest.$ac_ext <<_ACEOF
13475 /* end confdefs.h.  */
13476 #include <libintl.h>
13477 _ACEOF
13478 if { (ac_try="$ac_cpp conftest.$ac_ext"
13479 case "(($ac_try" in
13480   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13481   *) ac_try_echo=$ac_try;;
13482 esac
13483 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13484 $as_echo "$ac_try_echo") >&5
13485   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13486   ac_status=$?
13487   grep -v '^ *+' conftest.er1 >conftest.err
13488   rm -f conftest.er1
13489   cat conftest.err >&5
13490   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13491   (exit $ac_status); } >/dev/null && {
13492          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13493          test ! -s conftest.err
13494        }; then
13495   ac_header_preproc=yes
13496 else
13497   $as_echo "$as_me: failed program was:" >&5
13498 sed 's/^/| /' conftest.$ac_ext >&5
13499
13500   ac_header_preproc=no
13501 fi
13502
13503 rm -f conftest.err conftest.$ac_ext
13504 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13505 $as_echo "$ac_header_preproc" >&6; }
13506
13507 # So?  What about this header?
13508 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13509   yes:no: )
13510     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
13511 $as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13512     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
13513 $as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
13514     ac_header_preproc=yes
13515     ;;
13516   no:yes:* )
13517     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
13518 $as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
13519     { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
13520 $as_echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
13521     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
13522 $as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
13523     { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
13524 $as_echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
13525     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
13526 $as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
13527     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
13528 $as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
13529     ( cat <<\_ASBOX
13530 ## --------------------------------------------------------------------------- ##
13531 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gconf-editor ##
13532 ## --------------------------------------------------------------------------- ##
13533 _ASBOX
13534      ) | sed "s/^/$as_me: WARNING:     /" >&2
13535     ;;
13536 esac
13537 { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
13538 $as_echo_n "checking for libintl.h... " >&6; }
13539 if test "${ac_cv_header_libintl_h+set}" = set; then
13540   $as_echo_n "(cached) " >&6
13541 else
13542   ac_cv_header_libintl_h=$ac_header_preproc
13543 fi
13544 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
13545 $as_echo "$ac_cv_header_libintl_h" >&6; }
13546
13547 fi
13548 if test "x$ac_cv_header_libintl_h" = x""yes; then
13549   gt_cv_func_dgettext_libintl="no"
13550       libintl_extra_libs=""
13551
13552       #
13553       # First check in libc
13554       #
13555       { $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
13556 $as_echo_n "checking for ngettext in libc... " >&6; }
13557 if test "${gt_cv_func_ngettext_libc+set}" = set; then
13558   $as_echo_n "(cached) " >&6
13559 else
13560   cat >conftest.$ac_ext <<_ACEOF
13561 /* confdefs.h.  */
13562 _ACEOF
13563 cat confdefs.h >>conftest.$ac_ext
13564 cat >>conftest.$ac_ext <<_ACEOF
13565 /* end confdefs.h.  */
13566
13567 #include <libintl.h>
13568
13569 int
13570 main ()
13571 {
13572 return !ngettext ("","", 1)
13573   ;
13574   return 0;
13575 }
13576 _ACEOF
13577 rm -f conftest.$ac_objext conftest$ac_exeext
13578 if { (ac_try="$ac_link"
13579 case "(($ac_try" in
13580   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13581   *) ac_try_echo=$ac_try;;
13582 esac
13583 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13584 $as_echo "$ac_try_echo") >&5
13585   (eval "$ac_link") 2>conftest.er1
13586   ac_status=$?
13587   grep -v '^ *+' conftest.er1 >conftest.err
13588   rm -f conftest.er1
13589   cat conftest.err >&5
13590   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13591   (exit $ac_status); } && {
13592          test -z "$ac_c_werror_flag" ||
13593          test ! -s conftest.err
13594        } && test -s conftest$ac_exeext && {
13595          test "$cross_compiling" = yes ||
13596          $as_test_x conftest$ac_exeext
13597        }; then
13598   gt_cv_func_ngettext_libc=yes
13599 else
13600   $as_echo "$as_me: failed program was:" >&5
13601 sed 's/^/| /' conftest.$ac_ext >&5
13602
13603         gt_cv_func_ngettext_libc=no
13604 fi
13605
13606 rm -rf conftest.dSYM
13607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13608       conftest$ac_exeext conftest.$ac_ext
13609
13610 fi
13611 { $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
13612 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
13613
13614       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13615               { $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5
13616 $as_echo_n "checking for dgettext in libc... " >&6; }
13617 if test "${gt_cv_func_dgettext_libc+set}" = set; then
13618   $as_echo_n "(cached) " >&6
13619 else
13620   cat >conftest.$ac_ext <<_ACEOF
13621 /* confdefs.h.  */
13622 _ACEOF
13623 cat confdefs.h >>conftest.$ac_ext
13624 cat >>conftest.$ac_ext <<_ACEOF
13625 /* end confdefs.h.  */
13626
13627 #include <libintl.h>
13628
13629 int
13630 main ()
13631 {
13632 return !dgettext ("","")
13633   ;
13634   return 0;
13635 }
13636 _ACEOF
13637 rm -f conftest.$ac_objext conftest$ac_exeext
13638 if { (ac_try="$ac_link"
13639 case "(($ac_try" in
13640   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13641   *) ac_try_echo=$ac_try;;
13642 esac
13643 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13644 $as_echo "$ac_try_echo") >&5
13645   (eval "$ac_link") 2>conftest.er1
13646   ac_status=$?
13647   grep -v '^ *+' conftest.er1 >conftest.err
13648   rm -f conftest.er1
13649   cat conftest.err >&5
13650   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13651   (exit $ac_status); } && {
13652          test -z "$ac_c_werror_flag" ||
13653          test ! -s conftest.err
13654        } && test -s conftest$ac_exeext && {
13655          test "$cross_compiling" = yes ||
13656          $as_test_x conftest$ac_exeext
13657        }; then
13658   gt_cv_func_dgettext_libc=yes
13659 else
13660   $as_echo "$as_me: failed program was:" >&5
13661 sed 's/^/| /' conftest.$ac_ext >&5
13662
13663         gt_cv_func_dgettext_libc=no
13664 fi
13665
13666 rm -rf conftest.dSYM
13667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13668       conftest$ac_exeext conftest.$ac_ext
13669
13670 fi
13671 { $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
13672 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
13673       fi
13674
13675       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13676
13677 for ac_func in bind_textdomain_codeset
13678 do
13679 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13680 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13681 $as_echo_n "checking for $ac_func... " >&6; }
13682 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13683   $as_echo_n "(cached) " >&6
13684 else
13685   cat >conftest.$ac_ext <<_ACEOF
13686 /* confdefs.h.  */
13687 _ACEOF
13688 cat confdefs.h >>conftest.$ac_ext
13689 cat >>conftest.$ac_ext <<_ACEOF
13690 /* end confdefs.h.  */
13691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13692    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13693 #define $ac_func innocuous_$ac_func
13694
13695 /* System header to define __stub macros and hopefully few prototypes,
13696     which can conflict with char $ac_func (); below.
13697     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13698     <limits.h> exists even on freestanding compilers.  */
13699
13700 #ifdef __STDC__
13701 # include <limits.h>
13702 #else
13703 # include <assert.h>
13704 #endif
13705
13706 #undef $ac_func
13707
13708 /* Override any GCC internal prototype to avoid an error.
13709    Use char because int might match the return type of a GCC
13710    builtin and then its argument prototype would still apply.  */
13711 #ifdef __cplusplus
13712 extern "C"
13713 #endif
13714 char $ac_func ();
13715 /* The GNU C library defines this for functions which it implements
13716     to always fail with ENOSYS.  Some functions are actually named
13717     something starting with __ and the normal name is an alias.  */
13718 #if defined __stub_$ac_func || defined __stub___$ac_func
13719 choke me
13720 #endif
13721
13722 int
13723 main ()
13724 {
13725 return $ac_func ();
13726   ;
13727   return 0;
13728 }
13729 _ACEOF
13730 rm -f conftest.$ac_objext conftest$ac_exeext
13731 if { (ac_try="$ac_link"
13732 case "(($ac_try" in
13733   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13734   *) ac_try_echo=$ac_try;;
13735 esac
13736 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13737 $as_echo "$ac_try_echo") >&5
13738   (eval "$ac_link") 2>conftest.er1
13739   ac_status=$?
13740   grep -v '^ *+' conftest.er1 >conftest.err
13741   rm -f conftest.er1
13742   cat conftest.err >&5
13743   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13744   (exit $ac_status); } && {
13745          test -z "$ac_c_werror_flag" ||
13746          test ! -s conftest.err
13747        } && test -s conftest$ac_exeext && {
13748          test "$cross_compiling" = yes ||
13749          $as_test_x conftest$ac_exeext
13750        }; then
13751   eval "$as_ac_var=yes"
13752 else
13753   $as_echo "$as_me: failed program was:" >&5
13754 sed 's/^/| /' conftest.$ac_ext >&5
13755
13756         eval "$as_ac_var=no"
13757 fi
13758
13759 rm -rf conftest.dSYM
13760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13761       conftest$ac_exeext conftest.$ac_ext
13762 fi
13763 ac_res=`eval 'as_val=${'$as_ac_var'}
13764                  $as_echo "$as_val"'`
13765                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13766 $as_echo "$ac_res" >&6; }
13767 as_val=`eval 'as_val=${'$as_ac_var'}
13768                  $as_echo "$as_val"'`
13769    if test "x$as_val" = x""yes; then
13770   cat >>confdefs.h <<_ACEOF
13771 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13772 _ACEOF
13773
13774 fi
13775 done
13776
13777       fi
13778
13779       #
13780       # If we don't have everything we want, check in libintl
13781       #
13782       if test "$gt_cv_func_dgettext_libc" != "yes" \
13783          || test "$gt_cv_func_ngettext_libc" != "yes" \
13784          || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
13785
13786         { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
13787 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
13788 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
13789   $as_echo_n "(cached) " >&6
13790 else
13791   ac_check_lib_save_LIBS=$LIBS
13792 LIBS="-lintl  $LIBS"
13793 cat >conftest.$ac_ext <<_ACEOF
13794 /* confdefs.h.  */
13795 _ACEOF
13796 cat confdefs.h >>conftest.$ac_ext
13797 cat >>conftest.$ac_ext <<_ACEOF
13798 /* end confdefs.h.  */
13799
13800 /* Override any GCC internal prototype to avoid an error.
13801    Use char because int might match the return type of a GCC
13802    builtin and then its argument prototype would still apply.  */
13803 #ifdef __cplusplus
13804 extern "C"
13805 #endif
13806 char bindtextdomain ();
13807 int
13808 main ()
13809 {
13810 return bindtextdomain ();
13811   ;
13812   return 0;
13813 }
13814 _ACEOF
13815 rm -f conftest.$ac_objext conftest$ac_exeext
13816 if { (ac_try="$ac_link"
13817 case "(($ac_try" in
13818   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13819   *) ac_try_echo=$ac_try;;
13820 esac
13821 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13822 $as_echo "$ac_try_echo") >&5
13823   (eval "$ac_link") 2>conftest.er1
13824   ac_status=$?
13825   grep -v '^ *+' conftest.er1 >conftest.err
13826   rm -f conftest.er1
13827   cat conftest.err >&5
13828   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13829   (exit $ac_status); } && {
13830          test -z "$ac_c_werror_flag" ||
13831          test ! -s conftest.err
13832        } && test -s conftest$ac_exeext && {
13833          test "$cross_compiling" = yes ||
13834          $as_test_x conftest$ac_exeext
13835        }; then
13836   ac_cv_lib_intl_bindtextdomain=yes
13837 else
13838   $as_echo "$as_me: failed program was:" >&5
13839 sed 's/^/| /' conftest.$ac_ext >&5
13840
13841         ac_cv_lib_intl_bindtextdomain=no
13842 fi
13843
13844 rm -rf conftest.dSYM
13845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13846       conftest$ac_exeext conftest.$ac_ext
13847 LIBS=$ac_check_lib_save_LIBS
13848 fi
13849 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
13850 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
13851 if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then
13852   { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
13853 $as_echo_n "checking for ngettext in -lintl... " >&6; }
13854 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
13855   $as_echo_n "(cached) " >&6
13856 else
13857   ac_check_lib_save_LIBS=$LIBS
13858 LIBS="-lintl  $LIBS"
13859 cat >conftest.$ac_ext <<_ACEOF
13860 /* confdefs.h.  */
13861 _ACEOF
13862 cat confdefs.h >>conftest.$ac_ext
13863 cat >>conftest.$ac_ext <<_ACEOF
13864 /* end confdefs.h.  */
13865
13866 /* Override any GCC internal prototype to avoid an error.
13867    Use char because int might match the return type of a GCC
13868    builtin and then its argument prototype would still apply.  */
13869 #ifdef __cplusplus
13870 extern "C"
13871 #endif
13872 char ngettext ();
13873 int
13874 main ()
13875 {
13876 return ngettext ();
13877   ;
13878   return 0;
13879 }
13880 _ACEOF
13881 rm -f conftest.$ac_objext conftest$ac_exeext
13882 if { (ac_try="$ac_link"
13883 case "(($ac_try" in
13884   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13885   *) ac_try_echo=$ac_try;;
13886 esac
13887 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13888 $as_echo "$ac_try_echo") >&5
13889   (eval "$ac_link") 2>conftest.er1
13890   ac_status=$?
13891   grep -v '^ *+' conftest.er1 >conftest.err
13892   rm -f conftest.er1
13893   cat conftest.err >&5
13894   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13895   (exit $ac_status); } && {
13896          test -z "$ac_c_werror_flag" ||
13897          test ! -s conftest.err
13898        } && test -s conftest$ac_exeext && {
13899          test "$cross_compiling" = yes ||
13900          $as_test_x conftest$ac_exeext
13901        }; then
13902   ac_cv_lib_intl_ngettext=yes
13903 else
13904   $as_echo "$as_me: failed program was:" >&5
13905 sed 's/^/| /' conftest.$ac_ext >&5
13906
13907         ac_cv_lib_intl_ngettext=no
13908 fi
13909
13910 rm -rf conftest.dSYM
13911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13912       conftest$ac_exeext conftest.$ac_ext
13913 LIBS=$ac_check_lib_save_LIBS
13914 fi
13915 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
13916 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
13917 if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
13918   { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
13919 $as_echo_n "checking for dgettext in -lintl... " >&6; }
13920 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
13921   $as_echo_n "(cached) " >&6
13922 else
13923   ac_check_lib_save_LIBS=$LIBS
13924 LIBS="-lintl  $LIBS"
13925 cat >conftest.$ac_ext <<_ACEOF
13926 /* confdefs.h.  */
13927 _ACEOF
13928 cat confdefs.h >>conftest.$ac_ext
13929 cat >>conftest.$ac_ext <<_ACEOF
13930 /* end confdefs.h.  */
13931
13932 /* Override any GCC internal prototype to avoid an error.
13933    Use char because int might match the return type of a GCC
13934    builtin and then its argument prototype would still apply.  */
13935 #ifdef __cplusplus
13936 extern "C"
13937 #endif
13938 char dgettext ();
13939 int
13940 main ()
13941 {
13942 return dgettext ();
13943   ;
13944   return 0;
13945 }
13946 _ACEOF
13947 rm -f conftest.$ac_objext conftest$ac_exeext
13948 if { (ac_try="$ac_link"
13949 case "(($ac_try" in
13950   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13951   *) ac_try_echo=$ac_try;;
13952 esac
13953 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13954 $as_echo "$ac_try_echo") >&5
13955   (eval "$ac_link") 2>conftest.er1
13956   ac_status=$?
13957   grep -v '^ *+' conftest.er1 >conftest.err
13958   rm -f conftest.er1
13959   cat conftest.err >&5
13960   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13961   (exit $ac_status); } && {
13962          test -z "$ac_c_werror_flag" ||
13963          test ! -s conftest.err
13964        } && test -s conftest$ac_exeext && {
13965          test "$cross_compiling" = yes ||
13966          $as_test_x conftest$ac_exeext
13967        }; then
13968   ac_cv_lib_intl_dgettext=yes
13969 else
13970   $as_echo "$as_me: failed program was:" >&5
13971 sed 's/^/| /' conftest.$ac_ext >&5
13972
13973         ac_cv_lib_intl_dgettext=no
13974 fi
13975
13976 rm -rf conftest.dSYM
13977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13978       conftest$ac_exeext conftest.$ac_ext
13979 LIBS=$ac_check_lib_save_LIBS
13980 fi
13981 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
13982 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
13983 if test "x$ac_cv_lib_intl_dgettext" = x""yes; then
13984   gt_cv_func_dgettext_libintl=yes
13985 fi
13986
13987 fi
13988
13989 fi
13990
13991
13992         if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
13993           { $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
13994 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
13995           { $as_echo "$as_me:$LINENO: result: " >&5
13996 $as_echo "" >&6; }
13997           { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
13998 $as_echo_n "checking for ngettext in -lintl... " >&6; }
13999 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
14000   $as_echo_n "(cached) " >&6
14001 else
14002   ac_check_lib_save_LIBS=$LIBS
14003 LIBS="-lintl -liconv $LIBS"
14004 cat >conftest.$ac_ext <<_ACEOF
14005 /* confdefs.h.  */
14006 _ACEOF
14007 cat confdefs.h >>conftest.$ac_ext
14008 cat >>conftest.$ac_ext <<_ACEOF
14009 /* end confdefs.h.  */
14010
14011 /* Override any GCC internal prototype to avoid an error.
14012    Use char because int might match the return type of a GCC
14013    builtin and then its argument prototype would still apply.  */
14014 #ifdef __cplusplus
14015 extern "C"
14016 #endif
14017 char ngettext ();
14018 int
14019 main ()
14020 {
14021 return ngettext ();
14022   ;
14023   return 0;
14024 }
14025 _ACEOF
14026 rm -f conftest.$ac_objext conftest$ac_exeext
14027 if { (ac_try="$ac_link"
14028 case "(($ac_try" in
14029   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14030   *) ac_try_echo=$ac_try;;
14031 esac
14032 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14033 $as_echo "$ac_try_echo") >&5
14034   (eval "$ac_link") 2>conftest.er1
14035   ac_status=$?
14036   grep -v '^ *+' conftest.er1 >conftest.err
14037   rm -f conftest.er1
14038   cat conftest.err >&5
14039   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14040   (exit $ac_status); } && {
14041          test -z "$ac_c_werror_flag" ||
14042          test ! -s conftest.err
14043        } && test -s conftest$ac_exeext && {
14044          test "$cross_compiling" = yes ||
14045          $as_test_x conftest$ac_exeext
14046        }; then
14047   ac_cv_lib_intl_ngettext=yes
14048 else
14049   $as_echo "$as_me: failed program was:" >&5
14050 sed 's/^/| /' conftest.$ac_ext >&5
14051
14052         ac_cv_lib_intl_ngettext=no
14053 fi
14054
14055 rm -rf conftest.dSYM
14056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14057       conftest$ac_exeext conftest.$ac_ext
14058 LIBS=$ac_check_lib_save_LIBS
14059 fi
14060 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
14061 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
14062 if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
14063   { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
14064 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
14065 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
14066   $as_echo_n "(cached) " >&6
14067 else
14068   ac_check_lib_save_LIBS=$LIBS
14069 LIBS="-lintl -liconv $LIBS"
14070 cat >conftest.$ac_ext <<_ACEOF
14071 /* confdefs.h.  */
14072 _ACEOF
14073 cat confdefs.h >>conftest.$ac_ext
14074 cat >>conftest.$ac_ext <<_ACEOF
14075 /* end confdefs.h.  */
14076
14077 /* Override any GCC internal prototype to avoid an error.
14078    Use char because int might match the return type of a GCC
14079    builtin and then its argument prototype would still apply.  */
14080 #ifdef __cplusplus
14081 extern "C"
14082 #endif
14083 char dcgettext ();
14084 int
14085 main ()
14086 {
14087 return dcgettext ();
14088   ;
14089   return 0;
14090 }
14091 _ACEOF
14092 rm -f conftest.$ac_objext 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>conftest.er1
14101   ac_status=$?
14102   grep -v '^ *+' conftest.er1 >conftest.err
14103   rm -f conftest.er1
14104   cat conftest.err >&5
14105   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14106   (exit $ac_status); } && {
14107          test -z "$ac_c_werror_flag" ||
14108          test ! -s conftest.err
14109        } && test -s conftest$ac_exeext && {
14110          test "$cross_compiling" = yes ||
14111          $as_test_x conftest$ac_exeext
14112        }; then
14113   ac_cv_lib_intl_dcgettext=yes
14114 else
14115   $as_echo "$as_me: failed program was:" >&5
14116 sed 's/^/| /' conftest.$ac_ext >&5
14117
14118         ac_cv_lib_intl_dcgettext=no
14119 fi
14120
14121 rm -rf conftest.dSYM
14122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14123       conftest$ac_exeext conftest.$ac_ext
14124 LIBS=$ac_check_lib_save_LIBS
14125 fi
14126 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
14127 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
14128 if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then
14129   gt_cv_func_dgettext_libintl=yes
14130                         libintl_extra_libs=-liconv
14131 else
14132   :
14133 fi
14134
14135 else
14136   :
14137 fi
14138
14139         fi
14140
14141         #
14142         # If we found libintl, then check in it for bind_textdomain_codeset();
14143         # we'll prefer libc if neither have bind_textdomain_codeset(),
14144         # and both have dgettext and ngettext
14145         #
14146         if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
14147           glib_save_LIBS="$LIBS"
14148           LIBS="$LIBS -lintl $libintl_extra_libs"
14149           unset ac_cv_func_bind_textdomain_codeset
14150
14151 for ac_func in bind_textdomain_codeset
14152 do
14153 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14154 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14155 $as_echo_n "checking for $ac_func... " >&6; }
14156 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14157   $as_echo_n "(cached) " >&6
14158 else
14159   cat >conftest.$ac_ext <<_ACEOF
14160 /* confdefs.h.  */
14161 _ACEOF
14162 cat confdefs.h >>conftest.$ac_ext
14163 cat >>conftest.$ac_ext <<_ACEOF
14164 /* end confdefs.h.  */
14165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14166    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14167 #define $ac_func innocuous_$ac_func
14168
14169 /* System header to define __stub macros and hopefully few prototypes,
14170     which can conflict with char $ac_func (); below.
14171     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14172     <limits.h> exists even on freestanding compilers.  */
14173
14174 #ifdef __STDC__
14175 # include <limits.h>
14176 #else
14177 # include <assert.h>
14178 #endif
14179
14180 #undef $ac_func
14181
14182 /* Override any GCC internal prototype to avoid an error.
14183    Use char because int might match the return type of a GCC
14184    builtin and then its argument prototype would still apply.  */
14185 #ifdef __cplusplus
14186 extern "C"
14187 #endif
14188 char $ac_func ();
14189 /* The GNU C library defines this for functions which it implements
14190     to always fail with ENOSYS.  Some functions are actually named
14191     something starting with __ and the normal name is an alias.  */
14192 #if defined __stub_$ac_func || defined __stub___$ac_func
14193 choke me
14194 #endif
14195
14196 int
14197 main ()
14198 {
14199 return $ac_func ();
14200   ;
14201   return 0;
14202 }
14203 _ACEOF
14204 rm -f conftest.$ac_objext conftest$ac_exeext
14205 if { (ac_try="$ac_link"
14206 case "(($ac_try" in
14207   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14208   *) ac_try_echo=$ac_try;;
14209 esac
14210 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14211 $as_echo "$ac_try_echo") >&5
14212   (eval "$ac_link") 2>conftest.er1
14213   ac_status=$?
14214   grep -v '^ *+' conftest.er1 >conftest.err
14215   rm -f conftest.er1
14216   cat conftest.err >&5
14217   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14218   (exit $ac_status); } && {
14219          test -z "$ac_c_werror_flag" ||
14220          test ! -s conftest.err
14221        } && test -s conftest$ac_exeext && {
14222          test "$cross_compiling" = yes ||
14223          $as_test_x conftest$ac_exeext
14224        }; then
14225   eval "$as_ac_var=yes"
14226 else
14227   $as_echo "$as_me: failed program was:" >&5
14228 sed 's/^/| /' conftest.$ac_ext >&5
14229
14230         eval "$as_ac_var=no"
14231 fi
14232
14233 rm -rf conftest.dSYM
14234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14235       conftest$ac_exeext conftest.$ac_ext
14236 fi
14237 ac_res=`eval 'as_val=${'$as_ac_var'}
14238                  $as_echo "$as_val"'`
14239                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14240 $as_echo "$ac_res" >&6; }
14241 as_val=`eval 'as_val=${'$as_ac_var'}
14242                  $as_echo "$as_val"'`
14243    if test "x$as_val" = x""yes; then
14244   cat >>confdefs.h <<_ACEOF
14245 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14246 _ACEOF
14247
14248 fi
14249 done
14250
14251           LIBS="$glib_save_LIBS"
14252
14253           if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
14254             gt_cv_func_dgettext_libc=no
14255           else
14256             if test "$gt_cv_func_dgettext_libc" = "yes" \
14257                 && test "$gt_cv_func_ngettext_libc" = "yes"; then
14258               gt_cv_func_dgettext_libintl=no
14259             fi
14260           fi
14261         fi
14262       fi
14263
14264       if test "$gt_cv_func_dgettext_libc" = "yes" \
14265         || test "$gt_cv_func_dgettext_libintl" = "yes"; then
14266         gt_cv_have_gettext=yes
14267       fi
14268
14269       if test "$gt_cv_func_dgettext_libintl" = "yes"; then
14270         INTLLIBS="-lintl $libintl_extra_libs"
14271       fi
14272
14273       if test "$gt_cv_have_gettext" = "yes"; then
14274
14275 cat >>confdefs.h <<\_ACEOF
14276 #define HAVE_GETTEXT 1
14277 _ACEOF
14278
14279         # Extract the first word of "msgfmt", so it can be a program name with args.
14280 set dummy msgfmt; ac_word=$2
14281 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14282 $as_echo_n "checking for $ac_word... " >&6; }
14283 if test "${ac_cv_path_MSGFMT+set}" = set; then
14284   $as_echo_n "(cached) " >&6
14285 else
14286   case "$MSGFMT" in
14287   /*)
14288   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
14289   ;;
14290   *)
14291   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
14292   for ac_dir in $PATH; do
14293     test -z "$ac_dir" && ac_dir=.
14294     if test -f $ac_dir/$ac_word; then
14295       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
14296         ac_cv_path_MSGFMT="$ac_dir/$ac_word"
14297         break
14298       fi
14299     fi
14300   done
14301   IFS="$ac_save_ifs"
14302   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
14303   ;;
14304 esac
14305 fi
14306 MSGFMT="$ac_cv_path_MSGFMT"
14307 if test "$MSGFMT" != "no"; then
14308   { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
14309 $as_echo "$MSGFMT" >&6; }
14310 else
14311   { $as_echo "$as_me:$LINENO: result: no" >&5
14312 $as_echo "no" >&6; }
14313 fi
14314         if test "$MSGFMT" != "no"; then
14315           glib_save_LIBS="$LIBS"
14316           LIBS="$LIBS $INTLLIBS"
14317
14318 for ac_func in dcgettext
14319 do
14320 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14321 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14322 $as_echo_n "checking for $ac_func... " >&6; }
14323 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14324   $as_echo_n "(cached) " >&6
14325 else
14326   cat >conftest.$ac_ext <<_ACEOF
14327 /* confdefs.h.  */
14328 _ACEOF
14329 cat confdefs.h >>conftest.$ac_ext
14330 cat >>conftest.$ac_ext <<_ACEOF
14331 /* end confdefs.h.  */
14332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14333    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14334 #define $ac_func innocuous_$ac_func
14335
14336 /* System header to define __stub macros and hopefully few prototypes,
14337     which can conflict with char $ac_func (); below.
14338     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14339     <limits.h> exists even on freestanding compilers.  */
14340
14341 #ifdef __STDC__
14342 # include <limits.h>
14343 #else
14344 # include <assert.h>
14345 #endif
14346
14347 #undef $ac_func
14348
14349 /* Override any GCC internal prototype to avoid an error.
14350    Use char because int might match the return type of a GCC
14351    builtin and then its argument prototype would still apply.  */
14352 #ifdef __cplusplus
14353 extern "C"
14354 #endif
14355 char $ac_func ();
14356 /* The GNU C library defines this for functions which it implements
14357     to always fail with ENOSYS.  Some functions are actually named
14358     something starting with __ and the normal name is an alias.  */
14359 #if defined __stub_$ac_func || defined __stub___$ac_func
14360 choke me
14361 #endif
14362
14363 int
14364 main ()
14365 {
14366 return $ac_func ();
14367   ;
14368   return 0;
14369 }
14370 _ACEOF
14371 rm -f conftest.$ac_objext conftest$ac_exeext
14372 if { (ac_try="$ac_link"
14373 case "(($ac_try" in
14374   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14375   *) ac_try_echo=$ac_try;;
14376 esac
14377 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14378 $as_echo "$ac_try_echo") >&5
14379   (eval "$ac_link") 2>conftest.er1
14380   ac_status=$?
14381   grep -v '^ *+' conftest.er1 >conftest.err
14382   rm -f conftest.er1
14383   cat conftest.err >&5
14384   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14385   (exit $ac_status); } && {
14386          test -z "$ac_c_werror_flag" ||
14387          test ! -s conftest.err
14388        } && test -s conftest$ac_exeext && {
14389          test "$cross_compiling" = yes ||
14390          $as_test_x conftest$ac_exeext
14391        }; then
14392   eval "$as_ac_var=yes"
14393 else
14394   $as_echo "$as_me: failed program was:" >&5
14395 sed 's/^/| /' conftest.$ac_ext >&5
14396
14397         eval "$as_ac_var=no"
14398 fi
14399
14400 rm -rf conftest.dSYM
14401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14402       conftest$ac_exeext conftest.$ac_ext
14403 fi
14404 ac_res=`eval 'as_val=${'$as_ac_var'}
14405                  $as_echo "$as_val"'`
14406                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14407 $as_echo "$ac_res" >&6; }
14408 as_val=`eval 'as_val=${'$as_ac_var'}
14409                  $as_echo "$as_val"'`
14410    if test "x$as_val" = x""yes; then
14411   cat >>confdefs.h <<_ACEOF
14412 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14413 _ACEOF
14414
14415 fi
14416 done
14417
14418           MSGFMT_OPTS=
14419           { $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
14420 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
14421           cat >conftest.foo <<_ACEOF
14422
14423 msgid ""
14424 msgstr ""
14425 "Content-Type: text/plain; charset=UTF-8\n"
14426 "Project-Id-Version: test 1.0\n"
14427 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
14428 "Last-Translator: test <foo@bar.xx>\n"
14429 "Language-Team: C <LL@li.org>\n"
14430 "MIME-Version: 1.0\n"
14431 "Content-Transfer-Encoding: 8bit\n"
14432
14433 _ACEOF
14434 if { ($as_echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
14435   ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
14436   ac_status=$?
14437   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14438   (exit $ac_status); }; then
14439   MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5
14440 $as_echo "yes" >&6; }
14441 else { $as_echo "$as_me:$LINENO: result: no" >&5
14442 $as_echo "no" >&6; }
14443 echo "$as_me: failed input was:" >&5
14444 sed 's/^/| /' conftest.foo >&5
14445 fi
14446
14447           # Extract the first word of "gmsgfmt", so it can be a program name with args.
14448 set dummy gmsgfmt; ac_word=$2
14449 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14450 $as_echo_n "checking for $ac_word... " >&6; }
14451 if test "${ac_cv_path_GMSGFMT+set}" = set; then
14452   $as_echo_n "(cached) " >&6
14453 else
14454   case $GMSGFMT in
14455   [\\/]* | ?:[\\/]*)
14456   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
14457   ;;
14458   *)
14459   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14460 for as_dir in $PATH
14461 do
14462   IFS=$as_save_IFS
14463   test -z "$as_dir" && as_dir=.
14464   for ac_exec_ext in '' $ac_executable_extensions; do
14465   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14466     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
14467     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14468     break 2
14469   fi
14470 done
14471 done
14472 IFS=$as_save_IFS
14473
14474   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
14475   ;;
14476 esac
14477 fi
14478 GMSGFMT=$ac_cv_path_GMSGFMT
14479 if test -n "$GMSGFMT"; then
14480   { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
14481 $as_echo "$GMSGFMT" >&6; }
14482 else
14483   { $as_echo "$as_me:$LINENO: result: no" >&5
14484 $as_echo "no" >&6; }
14485 fi
14486
14487
14488           # Extract the first word of "xgettext", so it can be a program name with args.
14489 set dummy xgettext; ac_word=$2
14490 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14491 $as_echo_n "checking for $ac_word... " >&6; }
14492 if test "${ac_cv_path_XGETTEXT+set}" = set; then
14493   $as_echo_n "(cached) " >&6
14494 else
14495   case "$XGETTEXT" in
14496   /*)
14497   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
14498   ;;
14499   *)
14500   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
14501   for ac_dir in $PATH; do
14502     test -z "$ac_dir" && ac_dir=.
14503     if test -f $ac_dir/$ac_word; then
14504       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
14505         ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
14506         break
14507       fi
14508     fi
14509   done
14510   IFS="$ac_save_ifs"
14511   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
14512   ;;
14513 esac
14514 fi
14515 XGETTEXT="$ac_cv_path_XGETTEXT"
14516 if test "$XGETTEXT" != ":"; then
14517   { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
14518 $as_echo "$XGETTEXT" >&6; }
14519 else
14520   { $as_echo "$as_me:$LINENO: result: no" >&5
14521 $as_echo "no" >&6; }
14522 fi
14523
14524           cat >conftest.$ac_ext <<_ACEOF
14525 /* confdefs.h.  */
14526 _ACEOF
14527 cat confdefs.h >>conftest.$ac_ext
14528 cat >>conftest.$ac_ext <<_ACEOF
14529 /* end confdefs.h.  */
14530
14531 int
14532 main ()
14533 {
14534 extern int _nl_msg_cat_cntr;
14535                          return _nl_msg_cat_cntr
14536   ;
14537   return 0;
14538 }
14539 _ACEOF
14540 rm -f conftest.$ac_objext conftest$ac_exeext
14541 if { (ac_try="$ac_link"
14542 case "(($ac_try" in
14543   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14544   *) ac_try_echo=$ac_try;;
14545 esac
14546 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14547 $as_echo "$ac_try_echo") >&5
14548   (eval "$ac_link") 2>conftest.er1
14549   ac_status=$?
14550   grep -v '^ *+' conftest.er1 >conftest.err
14551   rm -f conftest.er1
14552   cat conftest.err >&5
14553   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14554   (exit $ac_status); } && {
14555          test -z "$ac_c_werror_flag" ||
14556          test ! -s conftest.err
14557        } && test -s conftest$ac_exeext && {
14558          test "$cross_compiling" = yes ||
14559          $as_test_x conftest$ac_exeext
14560        }; then
14561   CATOBJEXT=.gmo
14562              DATADIRNAME=share
14563 else
14564   $as_echo "$as_me: failed program was:" >&5
14565 sed 's/^/| /' conftest.$ac_ext >&5
14566
14567         case $host in
14568             *-*-solaris*)
14569                                                                 { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
14570 $as_echo_n "checking for bind_textdomain_codeset... " >&6; }
14571 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
14572   $as_echo_n "(cached) " >&6
14573 else
14574   cat >conftest.$ac_ext <<_ACEOF
14575 /* confdefs.h.  */
14576 _ACEOF
14577 cat confdefs.h >>conftest.$ac_ext
14578 cat >>conftest.$ac_ext <<_ACEOF
14579 /* end confdefs.h.  */
14580 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
14581    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14582 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
14583
14584 /* System header to define __stub macros and hopefully few prototypes,
14585     which can conflict with char bind_textdomain_codeset (); below.
14586     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14587     <limits.h> exists even on freestanding compilers.  */
14588
14589 #ifdef __STDC__
14590 # include <limits.h>
14591 #else
14592 # include <assert.h>
14593 #endif
14594
14595 #undef bind_textdomain_codeset
14596
14597 /* Override any GCC internal prototype to avoid an error.
14598    Use char because int might match the return type of a GCC
14599    builtin and then its argument prototype would still apply.  */
14600 #ifdef __cplusplus
14601 extern "C"
14602 #endif
14603 char bind_textdomain_codeset ();
14604 /* The GNU C library defines this for functions which it implements
14605     to always fail with ENOSYS.  Some functions are actually named
14606     something starting with __ and the normal name is an alias.  */
14607 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
14608 choke me
14609 #endif
14610
14611 int
14612 main ()
14613 {
14614 return bind_textdomain_codeset ();
14615   ;
14616   return 0;
14617 }
14618 _ACEOF
14619 rm -f conftest.$ac_objext conftest$ac_exeext
14620 if { (ac_try="$ac_link"
14621 case "(($ac_try" in
14622   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14623   *) ac_try_echo=$ac_try;;
14624 esac
14625 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14626 $as_echo "$ac_try_echo") >&5
14627   (eval "$ac_link") 2>conftest.er1
14628   ac_status=$?
14629   grep -v '^ *+' conftest.er1 >conftest.err
14630   rm -f conftest.er1
14631   cat conftest.err >&5
14632   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633   (exit $ac_status); } && {
14634          test -z "$ac_c_werror_flag" ||
14635          test ! -s conftest.err
14636        } && test -s conftest$ac_exeext && {
14637          test "$cross_compiling" = yes ||
14638          $as_test_x conftest$ac_exeext
14639        }; then
14640   ac_cv_func_bind_textdomain_codeset=yes
14641 else
14642   $as_echo "$as_me: failed program was:" >&5
14643 sed 's/^/| /' conftest.$ac_ext >&5
14644
14645         ac_cv_func_bind_textdomain_codeset=no
14646 fi
14647
14648 rm -rf conftest.dSYM
14649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14650       conftest$ac_exeext conftest.$ac_ext
14651 fi
14652 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
14653 $as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
14654 if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
14655   CATOBJEXT=.gmo
14656                DATADIRNAME=share
14657 else
14658   CATOBJEXT=.mo
14659                DATADIRNAME=lib
14660 fi
14661
14662             ;;
14663             *)
14664             CATOBJEXT=.mo
14665             DATADIRNAME=lib
14666             ;;
14667             esac
14668 fi
14669
14670 rm -rf conftest.dSYM
14671 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14672       conftest$ac_exeext conftest.$ac_ext
14673           LIBS="$glib_save_LIBS"
14674           INSTOBJEXT=.mo
14675         else
14676           gt_cv_have_gettext=no
14677         fi
14678       fi
14679
14680 fi
14681
14682
14683
14684     if test "$gt_cv_have_gettext" = "yes" ; then
14685
14686 cat >>confdefs.h <<\_ACEOF
14687 #define ENABLE_NLS 1
14688 _ACEOF
14689
14690     fi
14691
14692         if test "$XGETTEXT" != ":"; then
14693                   if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
14694         : ;
14695       else
14696         { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
14697 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
14698         XGETTEXT=":"
14699       fi
14700     fi
14701
14702     # We need to process the po/ directory.
14703     POSUB=po
14704
14705     ac_config_commands="$ac_config_commands default-1"
14706
14707
14708                 for lang in $ALL_LINGUAS; do
14709       GMOFILES="$GMOFILES $lang.gmo"
14710       POFILES="$POFILES $lang.po"
14711     done
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725    if test "$gt_cv_have_gettext" = "yes"; then
14726      if test "x$ALL_LINGUAS" = "x"; then
14727        LINGUAS=
14728      else
14729        { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
14730 $as_echo_n "checking for catalogs to be installed... " >&6; }
14731        NEW_LINGUAS=
14732        for presentlang in $ALL_LINGUAS; do
14733          useit=no
14734          if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
14735            desiredlanguages="$LINGUAS"
14736          else
14737            desiredlanguages="$ALL_LINGUAS"
14738          fi
14739          for desiredlang in $desiredlanguages; do
14740            # Use the presentlang catalog if desiredlang is
14741            #   a. equal to presentlang, or
14742            #   b. a variant of presentlang (because in this case,
14743            #      presentlang can be used as a fallback for messages
14744            #      which are not translated in the desiredlang catalog).
14745            case "$desiredlang" in
14746              "$presentlang"*) useit=yes;;
14747            esac
14748          done
14749          if test $useit = yes; then
14750            NEW_LINGUAS="$NEW_LINGUAS $presentlang"
14751          fi
14752        done
14753        LINGUAS=$NEW_LINGUAS
14754        { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5
14755 $as_echo "$LINGUAS" >&6; }
14756      fi
14757
14758           if test -n "$LINGUAS"; then
14759        for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
14760      fi
14761    fi
14762
14763             MKINSTALLDIRS=
14764    if test -n "$ac_aux_dir"; then
14765      MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
14766    fi
14767    if test -z "$MKINSTALLDIRS"; then
14768      MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
14769    fi
14770
14771
14772          test -d po || mkdir po
14773    if test "x$srcdir" != "x."; then
14774      if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
14775        posrcprefix="$srcdir/"
14776      else
14777        posrcprefix="../$srcdir/"
14778      fi
14779    else
14780      posrcprefix="../"
14781    fi
14782    rm -f po/POTFILES
14783    sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
14784         < $srcdir/po/POTFILES.in > po/POTFILES
14785
14786
14787
14788
14789       ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
14790   if test -n "$ac_macro_dir"; then
14791     ACLOCAL_AMFLAGS="-I $ac_macro_dir $ACLOCAL_AMFLAGS"
14792   fi
14793
14794
14795
14796
14797
14798     # Check whether --enable-compile-warnings was given.
14799 if test "${enable_compile_warnings+set}" = set; then
14800   enableval=$enable_compile_warnings;
14801 else
14802   enable_compile_warnings="maximum"
14803 fi
14804
14805
14806     warnCFLAGS=
14807     if test "x$GCC" != xyes; then
14808         enable_compile_warnings=no
14809     fi
14810
14811     warning_flags=
14812     realsave_CFLAGS="$CFLAGS"
14813
14814     case "$enable_compile_warnings" in
14815     no)
14816         warning_flags=
14817         ;;
14818     minimum)
14819         warning_flags="-Wall"
14820         ;;
14821     yes)
14822         warning_flags="-Wall -Wmissing-prototypes"
14823         ;;
14824     maximum|error)
14825         warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
14826         CFLAGS="$warning_flags $CFLAGS"
14827         for option in -Wno-sign-compare; do
14828                 SAVE_CFLAGS="$CFLAGS"
14829                 CFLAGS="$CFLAGS $option"
14830                 { $as_echo "$as_me:$LINENO: checking whether gcc understands $option" >&5
14831 $as_echo_n "checking whether gcc understands $option... " >&6; }
14832                 cat >conftest.$ac_ext <<_ACEOF
14833 /* confdefs.h.  */
14834 _ACEOF
14835 cat confdefs.h >>conftest.$ac_ext
14836 cat >>conftest.$ac_ext <<_ACEOF
14837 /* end confdefs.h.  */
14838
14839 int
14840 main ()
14841 {
14842
14843   ;
14844   return 0;
14845 }
14846 _ACEOF
14847 rm -f conftest.$ac_objext
14848 if { (ac_try="$ac_compile"
14849 case "(($ac_try" in
14850   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14851   *) ac_try_echo=$ac_try;;
14852 esac
14853 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14854 $as_echo "$ac_try_echo") >&5
14855   (eval "$ac_compile") 2>conftest.er1
14856   ac_status=$?
14857   grep -v '^ *+' conftest.er1 >conftest.err
14858   rm -f conftest.er1
14859   cat conftest.err >&5
14860   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14861   (exit $ac_status); } && {
14862          test -z "$ac_c_werror_flag" ||
14863          test ! -s conftest.err
14864        } && test -s conftest.$ac_objext; then
14865   has_option=yes
14866 else
14867   $as_echo "$as_me: failed program was:" >&5
14868 sed 's/^/| /' conftest.$ac_ext >&5
14869
14870         has_option=no
14871 fi
14872
14873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14874                 CFLAGS="$SAVE_CFLAGS"
14875                 { $as_echo "$as_me:$LINENO: result: $has_option" >&5
14876 $as_echo "$has_option" >&6; }
14877                 if test $has_option = yes; then
14878                   warning_flags="$warning_flags $option"
14879                 fi
14880                 unset has_option
14881                 unset SAVE_CFLAGS
14882         done
14883         unset option
14884         if test "$enable_compile_warnings" = "error" ; then
14885             warning_flags="$warning_flags -Werror"
14886         fi
14887         ;;
14888     *)
14889         { { $as_echo "$as_me:$LINENO: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&5
14890 $as_echo "$as_me: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&2;}
14891    { (exit 1); exit 1; }; }
14892         ;;
14893     esac
14894     CFLAGS="$realsave_CFLAGS"
14895     { $as_echo "$as_me:$LINENO: checking what warning flags to pass to the C compiler" >&5
14896 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
14897     { $as_echo "$as_me:$LINENO: result: $warning_flags" >&5
14898 $as_echo "$warning_flags" >&6; }
14899
14900     # Check whether --enable-iso-c was given.
14901 if test "${enable_iso_c+set}" = set; then
14902   enableval=$enable_iso_c;
14903 else
14904   enable_iso_c=no
14905 fi
14906
14907
14908     { $as_echo "$as_me:$LINENO: checking what language compliance flags to pass to the C compiler" >&5
14909 $as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
14910     complCFLAGS=
14911     if test "x$enable_iso_c" != "xno"; then
14912         if test "x$GCC" = "xyes"; then
14913         case " $CFLAGS " in
14914             *\ \        -ansi\ \        *) ;;
14915             *) complCFLAGS="$complCFLAGS -ansi" ;;
14916         esac
14917         case " $CFLAGS " in
14918             *\ \        -pedantic\ \    *) ;;
14919             *) complCFLAGS="$complCFLAGS -pedantic" ;;
14920         esac
14921         fi
14922     fi
14923     { $as_echo "$as_me:$LINENO: result: $complCFLAGS" >&5
14924 $as_echo "$complCFLAGS" >&6; }
14925
14926     WARN_CFLAGS="$warning_flags $complCFLAGS"
14927
14928
14929
14930
14931
14932         if test $USE_MAINTAINER_MODE = yes; then
14933                 DISABLE_DEPRECATED="-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGCONF_DISABLE_DEPRECATED -DBONOBO_DISABLE_DEPRECATED -DBONOBO_UI_DISABLE_DEPRECATED -DGNOME_VFS_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DLIBGLADE_DISABLE_DEPRECATED -DWNCK_DISABLE_DEPRECATED -DLIBSOUP_DISABLE_DEPRECATED"
14934         else
14935                 DISABLE_DEPRECATED=""
14936         fi
14937
14938
14939
14940 GCONF_DEFAULTS_SOURCE=`gconftool-2 --get-default-source`
14941
14942 # Check whether --with-gconf-defaults-source was given.
14943 if test "${with_gconf_defaults_source+set}" = set; then
14944   withval=$with_gconf_defaults_source; GCONF_DEFAULTS_SOURCE="$withval"
14945 fi
14946
14947
14948 cat >>confdefs.h <<_ACEOF
14949 #define GCONF_DEFAULTS_SOURCE "$GCONF_DEFAULTS_SOURCE"
14950 _ACEOF
14951
14952 { $as_echo "$as_me:$LINENO: result: Using config source $GCONF_DEFAULTS_SOURCE for default values" >&5
14953 $as_echo "Using config source $GCONF_DEFAULTS_SOURCE for default values" >&6; }
14954
14955 GCONF_MANDATORY_SOURCE=`echo $GCONF_DEFAULTS_SOURCE | sed -e s/gconf.xml.defaults/gconf.xml.mandatory/`
14956
14957 # Check whether --with-gconf-mandatory-source was given.
14958 if test "${with_gconf_mandatory_source+set}" = set; then
14959   withval=$with_gconf_mandatory_source; GCONF_MANDATORY_SOURCE="$withval"
14960 fi
14961
14962
14963 cat >>confdefs.h <<_ACEOF
14964 #define GCONF_MANDATORY_SOURCE "$GCONF_MANDATORY_SOURCE"
14965 _ACEOF
14966
14967 { $as_echo "$as_me:$LINENO: result: Using config source $GCONF_MANDATORY_SOURCE for mandatory values" >&5
14968 $as_echo "Using config source $GCONF_MANDATORY_SOURCE for mandatory values" >&6; }
14969
14970 ac_config_files="$ac_config_files Makefile data/Makefile data/gconf-editor.desktop.in data/icons/Makefile docs/Makefile src/Makefile po/Makefile.in"
14971
14972
14973 cat >confcache <<\_ACEOF
14974 # This file is a shell script that caches the results of configure
14975 # tests run on this system so they can be shared between configure
14976 # scripts and configure runs, see configure's option --config-cache.
14977 # It is not useful on other systems.  If it contains results you don't
14978 # want to keep, you may remove or edit it.
14979 #
14980 # config.status only pays attention to the cache file if you give it
14981 # the --recheck option to rerun configure.
14982 #
14983 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14984 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14985 # following values.
14986
14987 _ACEOF
14988
14989 # The following way of writing the cache mishandles newlines in values,
14990 # but we know of no workaround that is simple, portable, and efficient.
14991 # So, we kill variables containing newlines.
14992 # Ultrix sh set writes to stderr and can't be redirected directly,
14993 # and sets the high bit in the cache file unless we assign to the vars.
14994 (
14995   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14996     eval ac_val=\$$ac_var
14997     case $ac_val in #(
14998     *${as_nl}*)
14999       case $ac_var in #(
15000       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
15001 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15002       esac
15003       case $ac_var in #(
15004       _ | IFS | as_nl) ;; #(
15005       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15006       *) $as_unset $ac_var ;;
15007       esac ;;
15008     esac
15009   done
15010
15011   (set) 2>&1 |
15012     case $as_nl`(ac_space=' '; set) 2>&1` in #(
15013     *${as_nl}ac_space=\ *)
15014       # `set' does not quote correctly, so add quotes (double-quote
15015       # substitution turns \\\\ into \\, and sed turns \\ into \).
15016       sed -n \
15017         "s/'/'\\\\''/g;
15018           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15019       ;; #(
15020     *)
15021       # `set' quotes correctly as required by POSIX, so do not add quotes.
15022       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15023       ;;
15024     esac |
15025     sort
15026 ) |
15027   sed '
15028      /^ac_cv_env_/b end
15029      t clear
15030      :clear
15031      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15032      t end
15033      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15034      :end' >>confcache
15035 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15036   if test -w "$cache_file"; then
15037     test "x$cache_file" != "x/dev/null" &&
15038       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
15039 $as_echo "$as_me: updating cache $cache_file" >&6;}
15040     cat confcache >$cache_file
15041   else
15042     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15043 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15044   fi
15045 fi
15046 rm -f confcache
15047
15048 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15049 # Let make expand exec_prefix.
15050 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15051
15052 DEFS=-DHAVE_CONFIG_H
15053
15054 ac_libobjs=
15055 ac_ltlibobjs=
15056 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15057   # 1. Remove the extension, and $U if already installed.
15058   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15059   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15060   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15061   #    will be set to the directory where LIBOBJS objects are built.
15062   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15063   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
15064 done
15065 LIBOBJS=$ac_libobjs
15066
15067 LTLIBOBJS=$ac_ltlibobjs
15068
15069
15070  if test -n "$EXEEXT"; then
15071   am__EXEEXT_TRUE=
15072   am__EXEEXT_FALSE='#'
15073 else
15074   am__EXEEXT_TRUE='#'
15075   am__EXEEXT_FALSE=
15076 fi
15077
15078 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15079   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
15080 Usually this means the macro was only invoked conditionally." >&5
15081 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
15082 Usually this means the macro was only invoked conditionally." >&2;}
15083    { (exit 1); exit 1; }; }
15084 fi
15085 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15086   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
15087 Usually this means the macro was only invoked conditionally." >&5
15088 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
15089 Usually this means the macro was only invoked conditionally." >&2;}
15090    { (exit 1); exit 1; }; }
15091 fi
15092 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15093   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
15094 Usually this means the macro was only invoked conditionally." >&5
15095 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
15096 Usually this means the macro was only invoked conditionally." >&2;}
15097    { (exit 1); exit 1; }; }
15098 fi
15099
15100   ac_config_commands="$ac_config_commands po/stamp-it"
15101
15102
15103 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15104   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
15105 Usually this means the macro was only invoked conditionally." >&5
15106 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
15107 Usually this means the macro was only invoked conditionally." >&2;}
15108    { (exit 1); exit 1; }; }
15109 fi
15110 if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
15111   { { $as_echo "$as_me:$LINENO: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
15112 Usually this means the macro was only invoked conditionally." >&5
15113 $as_echo "$as_me: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
15114 Usually this means the macro was only invoked conditionally." >&2;}
15115    { (exit 1); exit 1; }; }
15116 fi
15117 if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
15118   { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_SK\" was never defined.
15119 Usually this means the macro was only invoked conditionally." >&5
15120 $as_echo "$as_me: error: conditional \"ENABLE_SK\" was never defined.
15121 Usually this means the macro was only invoked conditionally." >&2;}
15122    { (exit 1); exit 1; }; }
15123 fi
15124 if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then
15125   { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
15126 Usually this means the macro was only invoked conditionally." >&5
15127 $as_echo "$as_me: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
15128 Usually this means the macro was only invoked conditionally." >&2;}
15129    { (exit 1); exit 1; }; }
15130 fi
15131
15132 : ${CONFIG_STATUS=./config.status}
15133 ac_write_fail=0
15134 ac_clean_files_save=$ac_clean_files
15135 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15136 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15137 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15138 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15139 #! $SHELL
15140 # Generated by $as_me.
15141 # Run this file to recreate the current configuration.
15142 # Compiler output produced by configure, useful for debugging
15143 # configure, is in config.log if it exists.
15144
15145 debug=false
15146 ac_cs_recheck=false
15147 ac_cs_silent=false
15148 SHELL=\${CONFIG_SHELL-$SHELL}
15149 _ACEOF
15150
15151 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15152 ## --------------------- ##
15153 ## M4sh Initialization.  ##
15154 ## --------------------- ##
15155
15156 # Be more Bourne compatible
15157 DUALCASE=1; export DUALCASE # for MKS sh
15158 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15159   emulate sh
15160   NULLCMD=:
15161   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15162   # is contrary to our usage.  Disable this feature.
15163   alias -g '${1+"$@"}'='"$@"'
15164   setopt NO_GLOB_SUBST
15165 else
15166   case `(set -o) 2>/dev/null` in
15167   *posix*) set -o posix ;;
15168 esac
15169
15170 fi
15171
15172
15173
15174
15175 # PATH needs CR
15176 # Avoid depending upon Character Ranges.
15177 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15178 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15179 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15180 as_cr_digits='0123456789'
15181 as_cr_alnum=$as_cr_Letters$as_cr_digits
15182
15183 as_nl='
15184 '
15185 export as_nl
15186 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15187 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15188 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15189 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15190 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15191   as_echo='printf %s\n'
15192   as_echo_n='printf %s'
15193 else
15194   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15195     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15196     as_echo_n='/usr/ucb/echo -n'
15197   else
15198     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15199     as_echo_n_body='eval
15200       arg=$1;
15201       case $arg in
15202       *"$as_nl"*)
15203         expr "X$arg" : "X\\(.*\\)$as_nl";
15204         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15205       esac;
15206       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15207     '
15208     export as_echo_n_body
15209     as_echo_n='sh -c $as_echo_n_body as_echo'
15210   fi
15211   export as_echo_body
15212   as_echo='sh -c $as_echo_body as_echo'
15213 fi
15214
15215 # The user is always right.
15216 if test "${PATH_SEPARATOR+set}" != set; then
15217   PATH_SEPARATOR=:
15218   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15219     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15220       PATH_SEPARATOR=';'
15221   }
15222 fi
15223
15224 # Support unset when possible.
15225 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
15226   as_unset=unset
15227 else
15228   as_unset=false
15229 fi
15230
15231
15232 # IFS
15233 # We need space, tab and new line, in precisely that order.  Quoting is
15234 # there to prevent editors from complaining about space-tab.
15235 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15236 # splitting by setting IFS to empty value.)
15237 IFS=" ""        $as_nl"
15238
15239 # Find who we are.  Look in the path if we contain no directory separator.
15240 case $0 in
15241   *[\\/]* ) as_myself=$0 ;;
15242   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15243 for as_dir in $PATH
15244 do
15245   IFS=$as_save_IFS
15246   test -z "$as_dir" && as_dir=.
15247   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15248 done
15249 IFS=$as_save_IFS
15250
15251      ;;
15252 esac
15253 # We did not find ourselves, most probably we were run as `sh COMMAND'
15254 # in which case we are not to be found in the path.
15255 if test "x$as_myself" = x; then
15256   as_myself=$0
15257 fi
15258 if test ! -f "$as_myself"; then
15259   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15260   { (exit 1); exit 1; }
15261 fi
15262
15263 # Work around bugs in pre-3.0 UWIN ksh.
15264 for as_var in ENV MAIL MAILPATH
15265 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
15266 done
15267 PS1='$ '
15268 PS2='> '
15269 PS4='+ '
15270
15271 # NLS nuisances.
15272 LC_ALL=C
15273 export LC_ALL
15274 LANGUAGE=C
15275 export LANGUAGE
15276
15277 # Required to use basename.
15278 if expr a : '\(a\)' >/dev/null 2>&1 &&
15279    test "X`expr 00001 : '.*\(...\)'`" = X001; then
15280   as_expr=expr
15281 else
15282   as_expr=false
15283 fi
15284
15285 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15286   as_basename=basename
15287 else
15288   as_basename=false
15289 fi
15290
15291
15292 # Name of the executable.
15293 as_me=`$as_basename -- "$0" ||
15294 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15295          X"$0" : 'X\(//\)$' \| \
15296          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15297 $as_echo X/"$0" |
15298     sed '/^.*\/\([^/][^/]*\)\/*$/{
15299             s//\1/
15300             q
15301           }
15302           /^X\/\(\/\/\)$/{
15303             s//\1/
15304             q
15305           }
15306           /^X\/\(\/\).*/{
15307             s//\1/
15308             q
15309           }
15310           s/.*/./; q'`
15311
15312 # CDPATH.
15313 $as_unset CDPATH
15314
15315
15316
15317   as_lineno_1=$LINENO
15318   as_lineno_2=$LINENO
15319   test "x$as_lineno_1" != "x$as_lineno_2" &&
15320   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
15321
15322   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15323   # uniformly replaced by the line number.  The first 'sed' inserts a
15324   # line-number line after each line using $LINENO; the second 'sed'
15325   # does the real work.  The second script uses 'N' to pair each
15326   # line-number line with the line containing $LINENO, and appends
15327   # trailing '-' during substitution so that $LINENO is not a special
15328   # case at line end.
15329   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15330   # scripts with optimization help from Paolo Bonzini.  Blame Lee
15331   # E. McMahon (1931-1989) for sed's syntax.  :-)
15332   sed -n '
15333     p
15334     /[$]LINENO/=
15335   ' <$as_myself |
15336     sed '
15337       s/[$]LINENO.*/&-/
15338       t lineno
15339       b
15340       :lineno
15341       N
15342       :loop
15343       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
15344       t loop
15345       s/-\n.*//
15346     ' >$as_me.lineno &&
15347   chmod +x "$as_me.lineno" ||
15348     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
15349    { (exit 1); exit 1; }; }
15350
15351   # Don't try to exec as it changes $[0], causing all sort of problems
15352   # (the dirname of $[0] is not the place where we might find the
15353   # original and so on.  Autoconf is especially sensitive to this).
15354   . "./$as_me.lineno"
15355   # Exit status is that of the last command.
15356   exit
15357 }
15358
15359
15360 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15361   as_dirname=dirname
15362 else
15363   as_dirname=false
15364 fi
15365
15366 ECHO_C= ECHO_N= ECHO_T=
15367 case `echo -n x` in
15368 -n*)
15369   case `echo 'x\c'` in
15370   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15371   *)   ECHO_C='\c';;
15372   esac;;
15373 *)
15374   ECHO_N='-n';;
15375 esac
15376 if expr a : '\(a\)' >/dev/null 2>&1 &&
15377    test "X`expr 00001 : '.*\(...\)'`" = X001; then
15378   as_expr=expr
15379 else
15380   as_expr=false
15381 fi
15382
15383 rm -f conf$$ conf$$.exe conf$$.file
15384 if test -d conf$$.dir; then
15385   rm -f conf$$.dir/conf$$.file
15386 else
15387   rm -f conf$$.dir
15388   mkdir conf$$.dir 2>/dev/null
15389 fi
15390 if (echo >conf$$.file) 2>/dev/null; then
15391   if ln -s conf$$.file conf$$ 2>/dev/null; then
15392     as_ln_s='ln -s'
15393     # ... but there are two gotchas:
15394     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15395     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15396     # In both cases, we have to default to `cp -p'.
15397     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15398       as_ln_s='cp -p'
15399   elif ln conf$$.file conf$$ 2>/dev/null; then
15400     as_ln_s=ln
15401   else
15402     as_ln_s='cp -p'
15403   fi
15404 else
15405   as_ln_s='cp -p'
15406 fi
15407 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15408 rmdir conf$$.dir 2>/dev/null
15409
15410 if mkdir -p . 2>/dev/null; then
15411   as_mkdir_p=:
15412 else
15413   test -d ./-p && rmdir ./-p
15414   as_mkdir_p=false
15415 fi
15416
15417 if test -x / >/dev/null 2>&1; then
15418   as_test_x='test -x'
15419 else
15420   if ls -dL / >/dev/null 2>&1; then
15421     as_ls_L_option=L
15422   else
15423     as_ls_L_option=
15424   fi
15425   as_test_x='
15426     eval sh -c '\''
15427       if test -d "$1"; then
15428         test -d "$1/.";
15429       else
15430         case $1 in
15431         -*)set "./$1";;
15432         esac;
15433         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
15434         ???[sx]*):;;*)false;;esac;fi
15435     '\'' sh
15436   '
15437 fi
15438 as_executable_p=$as_test_x
15439
15440 # Sed expression to map a string onto a valid CPP name.
15441 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15442
15443 # Sed expression to map a string onto a valid variable name.
15444 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15445
15446
15447 exec 6>&1
15448
15449 # Save the log message, to keep $[0] and so on meaningful, and to
15450 # report actual input values of CONFIG_FILES etc. instead of their
15451 # values after options handling.
15452 ac_log="
15453 This file was extended by GConf Editor $as_me 2.28.0, which was
15454 generated by GNU Autoconf 2.63.  Invocation command line was
15455
15456   CONFIG_FILES    = $CONFIG_FILES
15457   CONFIG_HEADERS  = $CONFIG_HEADERS
15458   CONFIG_LINKS    = $CONFIG_LINKS
15459   CONFIG_COMMANDS = $CONFIG_COMMANDS
15460   $ $0 $@
15461
15462 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15463 "
15464
15465 _ACEOF
15466
15467 case $ac_config_files in *"
15468 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15469 esac
15470
15471 case $ac_config_headers in *"
15472 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15473 esac
15474
15475
15476 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15477 # Files that config.status was made for.
15478 config_files="$ac_config_files"
15479 config_headers="$ac_config_headers"
15480 config_commands="$ac_config_commands"
15481
15482 _ACEOF
15483
15484 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15485 ac_cs_usage="\
15486 \`$as_me' instantiates files from templates according to the
15487 current configuration.
15488
15489 Usage: $0 [OPTION]... [FILE]...
15490
15491   -h, --help       print this help, then exit
15492   -V, --version    print version number and configuration settings, then exit
15493   -q, --quiet, --silent
15494                    do not print progress messages
15495   -d, --debug      don't remove temporary files
15496       --recheck    update $as_me by reconfiguring in the same conditions
15497       --file=FILE[:TEMPLATE]
15498                    instantiate the configuration file FILE
15499       --header=FILE[:TEMPLATE]
15500                    instantiate the configuration header FILE
15501
15502 Configuration files:
15503 $config_files
15504
15505 Configuration headers:
15506 $config_headers
15507
15508 Configuration commands:
15509 $config_commands
15510
15511 Report bugs to <bug-autoconf@gnu.org>."
15512
15513 _ACEOF
15514 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15515 ac_cs_version="\\
15516 GConf Editor config.status 2.28.0
15517 configured by $0, generated by GNU Autoconf 2.63,
15518   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15519
15520 Copyright (C) 2008 Free Software Foundation, Inc.
15521 This config.status script is free software; the Free Software Foundation
15522 gives unlimited permission to copy, distribute and modify it."
15523
15524 ac_pwd='$ac_pwd'
15525 srcdir='$srcdir'
15526 INSTALL='$INSTALL'
15527 MKDIR_P='$MKDIR_P'
15528 AWK='$AWK'
15529 test -n "\$AWK" || AWK=awk
15530 _ACEOF
15531
15532 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15533 # The default lists apply if the user does not specify any file.
15534 ac_need_defaults=:
15535 while test $# != 0
15536 do
15537   case $1 in
15538   --*=*)
15539     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15540     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15541     ac_shift=:
15542     ;;
15543   *)
15544     ac_option=$1
15545     ac_optarg=$2
15546     ac_shift=shift
15547     ;;
15548   esac
15549
15550   case $ac_option in
15551   # Handling of the options.
15552   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15553     ac_cs_recheck=: ;;
15554   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15555     $as_echo "$ac_cs_version"; exit ;;
15556   --debug | --debu | --deb | --de | --d | -d )
15557     debug=: ;;
15558   --file | --fil | --fi | --f )
15559     $ac_shift
15560     case $ac_optarg in
15561     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15562     esac
15563     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
15564     ac_need_defaults=false;;
15565   --header | --heade | --head | --hea )
15566     $ac_shift
15567     case $ac_optarg in
15568     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15569     esac
15570     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
15571     ac_need_defaults=false;;
15572   --he | --h)
15573     # Conflict between --help and --header
15574     { $as_echo "$as_me: error: ambiguous option: $1
15575 Try \`$0 --help' for more information." >&2
15576    { (exit 1); exit 1; }; };;
15577   --help | --hel | -h )
15578     $as_echo "$ac_cs_usage"; exit ;;
15579   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15580   | -silent | --silent | --silen | --sile | --sil | --si | --s)
15581     ac_cs_silent=: ;;
15582
15583   # This is an error.
15584   -*) { $as_echo "$as_me: error: unrecognized option: $1
15585 Try \`$0 --help' for more information." >&2
15586    { (exit 1); exit 1; }; } ;;
15587
15588   *) ac_config_targets="$ac_config_targets $1"
15589      ac_need_defaults=false ;;
15590
15591   esac
15592   shift
15593 done
15594
15595 ac_configure_extra_args=
15596
15597 if $ac_cs_silent; then
15598   exec 6>/dev/null
15599   ac_configure_extra_args="$ac_configure_extra_args --silent"
15600 fi
15601
15602 _ACEOF
15603 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15604 if \$ac_cs_recheck; then
15605   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15606   shift
15607   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15608   CONFIG_SHELL='$SHELL'
15609   export CONFIG_SHELL
15610   exec "\$@"
15611 fi
15612
15613 _ACEOF
15614 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15615 exec 5>>config.log
15616 {
15617   echo
15618   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15619 ## Running $as_me. ##
15620 _ASBOX
15621   $as_echo "$ac_log"
15622 } >&5
15623
15624 _ACEOF
15625 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15626 #
15627 # INIT-COMMANDS
15628 #
15629 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15630
15631
15632 # The HP-UX ksh and POSIX shell print the target directory to stdout
15633 # if CDPATH is set.
15634 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15635
15636 sed_quote_subst='$sed_quote_subst'
15637 double_quote_subst='$double_quote_subst'
15638 delay_variable_subst='$delay_variable_subst'
15639 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15640 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15641 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15642 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15643 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15644 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15645 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15646 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15647 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15648 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15649 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15650 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15651 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15652 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15653 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15654 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15655 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15656 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15657 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15658 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15659 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15660 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15661 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15662 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15663 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15664 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15665 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15666 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15667 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15668 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15669 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15670 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15671 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15672 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15673 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15674 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15675 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15676 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15677 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15678 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15679 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15680 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15681 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15682 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15683 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"`'
15684 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"`'
15685 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15686 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15687 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15688 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15689 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15690 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15691 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15692 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15693 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15694 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15695 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15696 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15697 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15698 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15699 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15700 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15701 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15702 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15703 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15704 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15705 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15706 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15707 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15708 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15709 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15710 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15711 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15712 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15713 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15714 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15715 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15716 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15717 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15718 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15719 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15720 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15721 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15722 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15723 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15724 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15725 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15726 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15727 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15728 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15729 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15730 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15731 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15732 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15733 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15734 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15735 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15736 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15737 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15738 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15739 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15740 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15741 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15742 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15743 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15744 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15745 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15746 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15747 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15748 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15749 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15750 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15751 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15752 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15753 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15754 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15755 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15756 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15757
15758 LTCC='$LTCC'
15759 LTCFLAGS='$LTCFLAGS'
15760 compiler='$compiler_DEFAULT'
15761
15762 # Quote evaled strings.
15763 for var in SED \
15764 GREP \
15765 EGREP \
15766 FGREP \
15767 LD \
15768 NM \
15769 LN_S \
15770 lt_SP2NL \
15771 lt_NL2SP \
15772 reload_flag \
15773 OBJDUMP \
15774 deplibs_check_method \
15775 file_magic_cmd \
15776 AR \
15777 AR_FLAGS \
15778 STRIP \
15779 RANLIB \
15780 CC \
15781 CFLAGS \
15782 compiler \
15783 lt_cv_sys_global_symbol_pipe \
15784 lt_cv_sys_global_symbol_to_cdecl \
15785 lt_cv_sys_global_symbol_to_c_name_address \
15786 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15787 SHELL \
15788 ECHO \
15789 lt_prog_compiler_no_builtin_flag \
15790 lt_prog_compiler_wl \
15791 lt_prog_compiler_pic \
15792 lt_prog_compiler_static \
15793 lt_cv_prog_compiler_c_o \
15794 need_locks \
15795 DSYMUTIL \
15796 NMEDIT \
15797 LIPO \
15798 OTOOL \
15799 OTOOL64 \
15800 shrext_cmds \
15801 export_dynamic_flag_spec \
15802 whole_archive_flag_spec \
15803 compiler_needs_object \
15804 with_gnu_ld \
15805 allow_undefined_flag \
15806 no_undefined_flag \
15807 hardcode_libdir_flag_spec \
15808 hardcode_libdir_flag_spec_ld \
15809 hardcode_libdir_separator \
15810 fix_srcfile_path \
15811 exclude_expsyms \
15812 include_expsyms \
15813 file_list_spec \
15814 variables_saved_for_relink \
15815 libname_spec \
15816 library_names_spec \
15817 soname_spec \
15818 finish_eval \
15819 old_striplib \
15820 striplib; do
15821     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15822     *[\\\\\\\`\\"\\\$]*)
15823       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15824       ;;
15825     *)
15826       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15827       ;;
15828     esac
15829 done
15830
15831 # Double-quote double-evaled strings.
15832 for var in reload_cmds \
15833 old_postinstall_cmds \
15834 old_postuninstall_cmds \
15835 old_archive_cmds \
15836 extract_expsyms_cmds \
15837 old_archive_from_new_cmds \
15838 old_archive_from_expsyms_cmds \
15839 archive_cmds \
15840 archive_expsym_cmds \
15841 module_cmds \
15842 module_expsym_cmds \
15843 export_symbols_cmds \
15844 prelink_cmds \
15845 postinstall_cmds \
15846 postuninstall_cmds \
15847 finish_cmds \
15848 sys_lib_search_path_spec \
15849 sys_lib_dlsearch_path_spec; do
15850     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15851     *[\\\\\\\`\\"\\\$]*)
15852       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15853       ;;
15854     *)
15855       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15856       ;;
15857     esac
15858 done
15859
15860 # Fix-up fallback echo if it was mangled by the above quoting rules.
15861 case \$lt_ECHO in
15862 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
15863   ;;
15864 esac
15865
15866 ac_aux_dir='$ac_aux_dir'
15867 xsi_shell='$xsi_shell'
15868 lt_shell_append='$lt_shell_append'
15869
15870 # See if we are running on zsh, and set the options which allow our
15871 # commands through without removal of \ escapes INIT.
15872 if test -n "\${ZSH_VERSION+set}" ; then
15873    setopt NO_GLOB_SUBST
15874 fi
15875
15876
15877     PACKAGE='$PACKAGE'
15878     VERSION='$VERSION'
15879     TIMESTAMP='$TIMESTAMP'
15880     RM='$RM'
15881     ofile='$ofile'
15882
15883
15884
15885
15886
15887 _ACEOF
15888
15889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15890
15891 # Handling of arguments.
15892 for ac_config_target in $ac_config_targets
15893 do
15894   case $ac_config_target in
15895     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15896     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15897     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15898     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
15899     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15900     "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
15901     "data/gconf-editor.desktop.in") CONFIG_FILES="$CONFIG_FILES data/gconf-editor.desktop.in" ;;
15902     "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
15903     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
15904     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15905     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
15906     "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
15907
15908   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15909 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15910    { (exit 1); exit 1; }; };;
15911   esac
15912 done
15913
15914
15915 # If the user did not use the arguments to specify the items to instantiate,
15916 # then the envvar interface is used.  Set only those that are not.
15917 # We use the long form for the default assignment because of an extremely
15918 # bizarre bug on SunOS 4.1.3.
15919 if $ac_need_defaults; then
15920   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15921   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15922   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15923 fi
15924
15925 # Have a temporary directory for convenience.  Make it in the build tree
15926 # simply because there is no reason against having it here, and in addition,
15927 # creating and moving files from /tmp can sometimes cause problems.
15928 # Hook for its removal unless debugging.
15929 # Note that there is a small window in which the directory will not be cleaned:
15930 # after its creation but before its name has been assigned to `$tmp'.
15931 $debug ||
15932 {
15933   tmp=
15934   trap 'exit_status=$?
15935   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15936 ' 0
15937   trap '{ (exit 1); exit 1; }' 1 2 13 15
15938 }
15939 # Create a (secure) tmp directory for tmp files.
15940
15941 {
15942   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15943   test -n "$tmp" && test -d "$tmp"
15944 }  ||
15945 {
15946   tmp=./conf$$-$RANDOM
15947   (umask 077 && mkdir "$tmp")
15948 } ||
15949 {
15950    $as_echo "$as_me: cannot create a temporary directory in ." >&2
15951    { (exit 1); exit 1; }
15952 }
15953
15954 # Set up the scripts for CONFIG_FILES section.
15955 # No need to generate them if there are no CONFIG_FILES.
15956 # This happens for instance with `./config.status config.h'.
15957 if test -n "$CONFIG_FILES"; then
15958
15959
15960 ac_cr='\r'
15961 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15962 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15963   ac_cs_awk_cr='\\r'
15964 else
15965   ac_cs_awk_cr=$ac_cr
15966 fi
15967
15968 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15969 _ACEOF
15970
15971
15972 {
15973   echo "cat >conf$$subs.awk <<_ACEOF" &&
15974   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15975   echo "_ACEOF"
15976 } >conf$$subs.sh ||
15977   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15978 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15979    { (exit 1); exit 1; }; }
15980 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15981 ac_delim='%!_!# '
15982 for ac_last_try in false false false false false :; do
15983   . ./conf$$subs.sh ||
15984     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15985 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15986    { (exit 1); exit 1; }; }
15987
15988   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15989   if test $ac_delim_n = $ac_delim_num; then
15990     break
15991   elif $ac_last_try; then
15992     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15993 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15994    { (exit 1); exit 1; }; }
15995   else
15996     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15997   fi
15998 done
15999 rm -f conf$$subs.sh
16000
16001 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16002 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
16003 _ACEOF
16004 sed -n '
16005 h
16006 s/^/S["/; s/!.*/"]=/
16007 p
16008 g
16009 s/^[^!]*!//
16010 :repl
16011 t repl
16012 s/'"$ac_delim"'$//
16013 t delim
16014 :nl
16015 h
16016 s/\(.\{148\}\).*/\1/
16017 t more1
16018 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16019 p
16020 n
16021 b repl
16022 :more1
16023 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16024 p
16025 g
16026 s/.\{148\}//
16027 t nl
16028 :delim
16029 h
16030 s/\(.\{148\}\).*/\1/
16031 t more2
16032 s/["\\]/\\&/g; s/^/"/; s/$/"/
16033 p
16034 b
16035 :more2
16036 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16037 p
16038 g
16039 s/.\{148\}//
16040 t delim
16041 ' <conf$$subs.awk | sed '
16042 /^[^""]/{
16043   N
16044   s/\n//
16045 }
16046 ' >>$CONFIG_STATUS || ac_write_fail=1
16047 rm -f conf$$subs.awk
16048 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16049 _ACAWK
16050 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
16051   for (key in S) S_is_set[key] = 1
16052   FS = "\a"
16053
16054 }
16055 {
16056   line = $ 0
16057   nfields = split(line, field, "@")
16058   substed = 0
16059   len = length(field[1])
16060   for (i = 2; i < nfields; i++) {
16061     key = field[i]
16062     keylen = length(key)
16063     if (S_is_set[key]) {
16064       value = S[key]
16065       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16066       len += length(value) + length(field[++i])
16067       substed = 1
16068     } else
16069       len += 1 + keylen
16070   }
16071
16072   print line
16073 }
16074
16075 _ACAWK
16076 _ACEOF
16077 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16078 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16079   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16080 else
16081   cat
16082 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
16083   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
16084 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
16085    { (exit 1); exit 1; }; }
16086 _ACEOF
16087
16088 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16089 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16090 # trailing colons and then remove the whole line if VPATH becomes empty
16091 # (actually we leave an empty line to preserve line numbers).
16092 if test "x$srcdir" = x.; then
16093   ac_vpsub='/^[  ]*VPATH[        ]*=/{
16094 s/:*\$(srcdir):*/:/
16095 s/:*\${srcdir}:*/:/
16096 s/:*@srcdir@:*/:/
16097 s/^\([^=]*=[     ]*\):*/\1/
16098 s/:*$//
16099 s/^[^=]*=[       ]*$//
16100 }'
16101 fi
16102
16103 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16104 fi # test -n "$CONFIG_FILES"
16105
16106 # Set up the scripts for CONFIG_HEADERS section.
16107 # No need to generate them if there are no CONFIG_HEADERS.
16108 # This happens for instance with `./config.status Makefile'.
16109 if test -n "$CONFIG_HEADERS"; then
16110 cat >"$tmp/defines.awk" <<\_ACAWK ||
16111 BEGIN {
16112 _ACEOF
16113
16114 # Transform confdefs.h into an awk script `defines.awk', embedded as
16115 # here-document in config.status, that substitutes the proper values into
16116 # config.h.in to produce config.h.
16117
16118 # Create a delimiter string that does not exist in confdefs.h, to ease
16119 # handling of long lines.
16120 ac_delim='%!_!# '
16121 for ac_last_try in false false :; do
16122   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
16123   if test -z "$ac_t"; then
16124     break
16125   elif $ac_last_try; then
16126     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
16127 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
16128    { (exit 1); exit 1; }; }
16129   else
16130     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16131   fi
16132 done
16133
16134 # For the awk script, D is an array of macro values keyed by name,
16135 # likewise P contains macro parameters if any.  Preserve backslash
16136 # newline sequences.
16137
16138 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16139 sed -n '
16140 s/.\{148\}/&'"$ac_delim"'/g
16141 t rset
16142 :rset
16143 s/^[     ]*#[    ]*define[       ][      ]*/ /
16144 t def
16145 d
16146 :def
16147 s/\\$//
16148 t bsnl
16149 s/["\\]/\\&/g
16150 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16151 D["\1"]=" \3"/p
16152 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
16153 d
16154 :bsnl
16155 s/["\\]/\\&/g
16156 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16157 D["\1"]=" \3\\\\\\n"\\/p
16158 t cont
16159 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16160 t cont
16161 d
16162 :cont
16163 n
16164 s/.\{148\}/&'"$ac_delim"'/g
16165 t clear
16166 :clear
16167 s/\\$//
16168 t bsnlc
16169 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16170 d
16171 :bsnlc
16172 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16173 b cont
16174 ' <confdefs.h | sed '
16175 s/'"$ac_delim"'/"\\\
16176 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16177
16178 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16179   for (key in D) D_is_set[key] = 1
16180   FS = "\a"
16181 }
16182 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16183   line = \$ 0
16184   split(line, arg, " ")
16185   if (arg[1] == "#") {
16186     defundef = arg[2]
16187     mac1 = arg[3]
16188   } else {
16189     defundef = substr(arg[1], 2)
16190     mac1 = arg[2]
16191   }
16192   split(mac1, mac2, "(") #)
16193   macro = mac2[1]
16194   prefix = substr(line, 1, index(line, defundef) - 1)
16195   if (D_is_set[macro]) {
16196     # Preserve the white space surrounding the "#".
16197     print prefix "define", macro P[macro] D[macro]
16198     next
16199   } else {
16200     # Replace #undef with comments.  This is necessary, for example,
16201     # in the case of _POSIX_SOURCE, which is predefined and required
16202     # on some systems where configure will not decide to define it.
16203     if (defundef == "undef") {
16204       print "/*", prefix defundef, macro, "*/"
16205       next
16206     }
16207   }
16208 }
16209 { print }
16210 _ACAWK
16211 _ACEOF
16212 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16213   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
16214 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
16215    { (exit 1); exit 1; }; }
16216 fi # test -n "$CONFIG_HEADERS"
16217
16218
16219 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16220 shift
16221 for ac_tag
16222 do
16223   case $ac_tag in
16224   :[FHLC]) ac_mode=$ac_tag; continue;;
16225   esac
16226   case $ac_mode$ac_tag in
16227   :[FHL]*:*);;
16228   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
16229 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
16230    { (exit 1); exit 1; }; };;
16231   :[FH]-) ac_tag=-:-;;
16232   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16233   esac
16234   ac_save_IFS=$IFS
16235   IFS=:
16236   set x $ac_tag
16237   IFS=$ac_save_IFS
16238   shift
16239   ac_file=$1
16240   shift
16241
16242   case $ac_mode in
16243   :L) ac_source=$1;;
16244   :[FH])
16245     ac_file_inputs=
16246     for ac_f
16247     do
16248       case $ac_f in
16249       -) ac_f="$tmp/stdin";;
16250       *) # Look for the file first in the build tree, then in the source tree
16251          # (if the path is not absolute).  The absolute path cannot be DOS-style,
16252          # because $ac_f cannot contain `:'.
16253          test -f "$ac_f" ||
16254            case $ac_f in
16255            [\\/$]*) false;;
16256            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16257            esac ||
16258            { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
16259 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
16260    { (exit 1); exit 1; }; };;
16261       esac
16262       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16263       ac_file_inputs="$ac_file_inputs '$ac_f'"
16264     done
16265
16266     # Let's still pretend it is `configure' which instantiates (i.e., don't
16267     # use $as_me), people would be surprised to read:
16268     #    /* config.h.  Generated by config.status.  */
16269     configure_input='Generated from '`
16270           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16271         `' by configure.'
16272     if test x"$ac_file" != x-; then
16273       configure_input="$ac_file.  $configure_input"
16274       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
16275 $as_echo "$as_me: creating $ac_file" >&6;}
16276     fi
16277     # Neutralize special characters interpreted by sed in replacement strings.
16278     case $configure_input in #(
16279     *\&* | *\|* | *\\* )
16280        ac_sed_conf_input=`$as_echo "$configure_input" |
16281        sed 's/[\\\\&|]/\\\\&/g'`;; #(
16282     *) ac_sed_conf_input=$configure_input;;
16283     esac
16284
16285     case $ac_tag in
16286     *:-:* | *:-) cat >"$tmp/stdin" \
16287       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16288 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16289    { (exit 1); exit 1; }; } ;;
16290     esac
16291     ;;
16292   esac
16293
16294   ac_dir=`$as_dirname -- "$ac_file" ||
16295 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16296          X"$ac_file" : 'X\(//\)[^/]' \| \
16297          X"$ac_file" : 'X\(//\)$' \| \
16298          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16299 $as_echo X"$ac_file" |
16300     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16301             s//\1/
16302             q
16303           }
16304           /^X\(\/\/\)[^/].*/{
16305             s//\1/
16306             q
16307           }
16308           /^X\(\/\/\)$/{
16309             s//\1/
16310             q
16311           }
16312           /^X\(\/\).*/{
16313             s//\1/
16314             q
16315           }
16316           s/.*/./; q'`
16317   { as_dir="$ac_dir"
16318   case $as_dir in #(
16319   -*) as_dir=./$as_dir;;
16320   esac
16321   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
16322     as_dirs=
16323     while :; do
16324       case $as_dir in #(
16325       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16326       *) as_qdir=$as_dir;;
16327       esac
16328       as_dirs="'$as_qdir' $as_dirs"
16329       as_dir=`$as_dirname -- "$as_dir" ||
16330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16331          X"$as_dir" : 'X\(//\)[^/]' \| \
16332          X"$as_dir" : 'X\(//\)$' \| \
16333          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16334 $as_echo X"$as_dir" |
16335     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16336             s//\1/
16337             q
16338           }
16339           /^X\(\/\/\)[^/].*/{
16340             s//\1/
16341             q
16342           }
16343           /^X\(\/\/\)$/{
16344             s//\1/
16345             q
16346           }
16347           /^X\(\/\).*/{
16348             s//\1/
16349             q
16350           }
16351           s/.*/./; q'`
16352       test -d "$as_dir" && break
16353     done
16354     test -z "$as_dirs" || eval "mkdir $as_dirs"
16355   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16356 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
16357    { (exit 1); exit 1; }; }; }
16358   ac_builddir=.
16359
16360 case "$ac_dir" in
16361 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16362 *)
16363   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16364   # A ".." for each directory in $ac_dir_suffix.
16365   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16366   case $ac_top_builddir_sub in
16367   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16368   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16369   esac ;;
16370 esac
16371 ac_abs_top_builddir=$ac_pwd
16372 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16373 # for backward compatibility:
16374 ac_top_builddir=$ac_top_build_prefix
16375
16376 case $srcdir in
16377   .)  # We are building in place.
16378     ac_srcdir=.
16379     ac_top_srcdir=$ac_top_builddir_sub
16380     ac_abs_top_srcdir=$ac_pwd ;;
16381   [\\/]* | ?:[\\/]* )  # Absolute name.
16382     ac_srcdir=$srcdir$ac_dir_suffix;
16383     ac_top_srcdir=$srcdir
16384     ac_abs_top_srcdir=$srcdir ;;
16385   *) # Relative name.
16386     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16387     ac_top_srcdir=$ac_top_build_prefix$srcdir
16388     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16389 esac
16390 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16391
16392
16393   case $ac_mode in
16394   :F)
16395   #
16396   # CONFIG_FILE
16397   #
16398
16399   case $INSTALL in
16400   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16401   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16402   esac
16403   ac_MKDIR_P=$MKDIR_P
16404   case $MKDIR_P in
16405   [\\/$]* | ?:[\\/]* ) ;;
16406   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16407   esac
16408 _ACEOF
16409
16410 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16411 # If the template does not know about datarootdir, expand it.
16412 # FIXME: This hack should be removed a few years after 2.60.
16413 ac_datarootdir_hack=; ac_datarootdir_seen=
16414
16415 ac_sed_dataroot='
16416 /datarootdir/ {
16417   p
16418   q
16419 }
16420 /@datadir@/p
16421 /@docdir@/p
16422 /@infodir@/p
16423 /@localedir@/p
16424 /@mandir@/p
16425 '
16426 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16427 *datarootdir*) ac_datarootdir_seen=yes;;
16428 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16429   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16430 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16431 _ACEOF
16432 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16433   ac_datarootdir_hack='
16434   s&@datadir@&$datadir&g
16435   s&@docdir@&$docdir&g
16436   s&@infodir@&$infodir&g
16437   s&@localedir@&$localedir&g
16438   s&@mandir@&$mandir&g
16439     s&\\\${datarootdir}&$datarootdir&g' ;;
16440 esac
16441 _ACEOF
16442
16443 # Neutralize VPATH when `$srcdir' = `.'.
16444 # Shell code in configure.ac might set extrasub.
16445 # FIXME: do we really want to maintain this feature?
16446 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16447 ac_sed_extra="$ac_vpsub
16448 $extrasub
16449 _ACEOF
16450 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16451 :t
16452 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16453 s|@configure_input@|$ac_sed_conf_input|;t t
16454 s&@top_builddir@&$ac_top_builddir_sub&;t t
16455 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16456 s&@srcdir@&$ac_srcdir&;t t
16457 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16458 s&@top_srcdir@&$ac_top_srcdir&;t t
16459 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16460 s&@builddir@&$ac_builddir&;t t
16461 s&@abs_builddir@&$ac_abs_builddir&;t t
16462 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16463 s&@INSTALL@&$ac_INSTALL&;t t
16464 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16465 $ac_datarootdir_hack
16466 "
16467 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16468   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16469 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16470    { (exit 1); exit 1; }; }
16471
16472 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16473   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16474   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16475   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16476 which seems to be undefined.  Please make sure it is defined." >&5
16477 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16478 which seems to be undefined.  Please make sure it is defined." >&2;}
16479
16480   rm -f "$tmp/stdin"
16481   case $ac_file in
16482   -) cat "$tmp/out" && rm -f "$tmp/out";;
16483   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16484   esac \
16485   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16486 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16487    { (exit 1); exit 1; }; }
16488  ;;
16489   :H)
16490   #
16491   # CONFIG_HEADER
16492   #
16493   if test x"$ac_file" != x-; then
16494     {
16495       $as_echo "/* $configure_input  */" \
16496       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16497     } >"$tmp/config.h" \
16498       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16499 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16500    { (exit 1); exit 1; }; }
16501     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16502       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16503 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16504     else
16505       rm -f "$ac_file"
16506       mv "$tmp/config.h" "$ac_file" \
16507         || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16508 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16509    { (exit 1); exit 1; }; }
16510     fi
16511   else
16512     $as_echo "/* $configure_input  */" \
16513       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16514       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
16515 $as_echo "$as_me: error: could not create -" >&2;}
16516    { (exit 1); exit 1; }; }
16517   fi
16518 # Compute "$ac_file"'s index in $config_headers.
16519 _am_arg="$ac_file"
16520 _am_stamp_count=1
16521 for _am_header in $config_headers :; do
16522   case $_am_header in
16523     $_am_arg | $_am_arg:* )
16524       break ;;
16525     * )
16526       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16527   esac
16528 done
16529 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16530 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16531          X"$_am_arg" : 'X\(//\)[^/]' \| \
16532          X"$_am_arg" : 'X\(//\)$' \| \
16533          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16534 $as_echo X"$_am_arg" |
16535     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16536             s//\1/
16537             q
16538           }
16539           /^X\(\/\/\)[^/].*/{
16540             s//\1/
16541             q
16542           }
16543           /^X\(\/\/\)$/{
16544             s//\1/
16545             q
16546           }
16547           /^X\(\/\).*/{
16548             s//\1/
16549             q
16550           }
16551           s/.*/./; q'`/stamp-h$_am_stamp_count
16552  ;;
16553
16554   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
16555 $as_echo "$as_me: executing $ac_file commands" >&6;}
16556  ;;
16557   esac
16558
16559
16560   case $ac_file$ac_mode in
16561     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16562   # Autoconf 2.62 quotes --file arguments for eval, but not when files
16563   # are listed without --file.  Let's play safe and only enable the eval
16564   # if we detect the quoting.
16565   case $CONFIG_FILES in
16566   *\'*) eval set x "$CONFIG_FILES" ;;
16567   *)   set x $CONFIG_FILES ;;
16568   esac
16569   shift
16570   for mf
16571   do
16572     # Strip MF so we end up with the name of the file.
16573     mf=`echo "$mf" | sed -e 's/:.*$//'`
16574     # Check whether this is an Automake generated Makefile or not.
16575     # We used to match only the files named `Makefile.in', but
16576     # some people rename them; so instead we look at the file content.
16577     # Grep'ing the first line is not enough: some people post-process
16578     # each Makefile.in and add a new line on top of each file to say so.
16579     # Grep'ing the whole file is not good either: AIX grep has a line
16580     # limit of 2048, but all sed's we know have understand at least 4000.
16581     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16582       dirpart=`$as_dirname -- "$mf" ||
16583 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16584          X"$mf" : 'X\(//\)[^/]' \| \
16585          X"$mf" : 'X\(//\)$' \| \
16586          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16587 $as_echo X"$mf" |
16588     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16589             s//\1/
16590             q
16591           }
16592           /^X\(\/\/\)[^/].*/{
16593             s//\1/
16594             q
16595           }
16596           /^X\(\/\/\)$/{
16597             s//\1/
16598             q
16599           }
16600           /^X\(\/\).*/{
16601             s//\1/
16602             q
16603           }
16604           s/.*/./; q'`
16605     else
16606       continue
16607     fi
16608     # Extract the definition of DEPDIR, am__include, and am__quote
16609     # from the Makefile without running `make'.
16610     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16611     test -z "$DEPDIR" && continue
16612     am__include=`sed -n 's/^am__include = //p' < "$mf"`
16613     test -z "am__include" && continue
16614     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16615     # When using ansi2knr, U may be empty or an underscore; expand it
16616     U=`sed -n 's/^U = //p' < "$mf"`
16617     # Find all dependency output files, they are included files with
16618     # $(DEPDIR) in their names.  We invoke sed twice because it is the
16619     # simplest approach to changing $(DEPDIR) to its actual value in the
16620     # expansion.
16621     for file in `sed -n "
16622       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16623          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16624       # Make sure the directory exists.
16625       test -f "$dirpart/$file" && continue
16626       fdir=`$as_dirname -- "$file" ||
16627 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16628          X"$file" : 'X\(//\)[^/]' \| \
16629          X"$file" : 'X\(//\)$' \| \
16630          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16631 $as_echo X"$file" |
16632     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16633             s//\1/
16634             q
16635           }
16636           /^X\(\/\/\)[^/].*/{
16637             s//\1/
16638             q
16639           }
16640           /^X\(\/\/\)$/{
16641             s//\1/
16642             q
16643           }
16644           /^X\(\/\).*/{
16645             s//\1/
16646             q
16647           }
16648           s/.*/./; q'`
16649       { as_dir=$dirpart/$fdir
16650   case $as_dir in #(
16651   -*) as_dir=./$as_dir;;
16652   esac
16653   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
16654     as_dirs=
16655     while :; do
16656       case $as_dir in #(
16657       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16658       *) as_qdir=$as_dir;;
16659       esac
16660       as_dirs="'$as_qdir' $as_dirs"
16661       as_dir=`$as_dirname -- "$as_dir" ||
16662 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16663          X"$as_dir" : 'X\(//\)[^/]' \| \
16664          X"$as_dir" : 'X\(//\)$' \| \
16665          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16666 $as_echo X"$as_dir" |
16667     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16668             s//\1/
16669             q
16670           }
16671           /^X\(\/\/\)[^/].*/{
16672             s//\1/
16673             q
16674           }
16675           /^X\(\/\/\)$/{
16676             s//\1/
16677             q
16678           }
16679           /^X\(\/\).*/{
16680             s//\1/
16681             q
16682           }
16683           s/.*/./; q'`
16684       test -d "$as_dir" && break
16685     done
16686     test -z "$as_dirs" || eval "mkdir $as_dirs"
16687   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16688 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
16689    { (exit 1); exit 1; }; }; }
16690       # echo "creating $dirpart/$file"
16691       echo '# dummy' > "$dirpart/$file"
16692     done
16693   done
16694 }
16695  ;;
16696     "libtool":C)
16697
16698     # See if we are running on zsh, and set the options which allow our
16699     # commands through without removal of \ escapes.
16700     if test -n "${ZSH_VERSION+set}" ; then
16701       setopt NO_GLOB_SUBST
16702     fi
16703
16704     cfgfile="${ofile}T"
16705     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16706     $RM "$cfgfile"
16707
16708     cat <<_LT_EOF >> "$cfgfile"
16709 #! $SHELL
16710
16711 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16712 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16713 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16714 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16715 #
16716 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16717 #                 2006, 2007, 2008 Free Software Foundation, Inc.
16718 #   Written by Gordon Matzigkeit, 1996
16719 #
16720 #   This file is part of GNU Libtool.
16721 #
16722 # GNU Libtool is free software; you can redistribute it and/or
16723 # modify it under the terms of the GNU General Public License as
16724 # published by the Free Software Foundation; either version 2 of
16725 # the License, or (at your option) any later version.
16726 #
16727 # As a special exception to the GNU General Public License,
16728 # if you distribute this file as part of a program or library that
16729 # is built using GNU Libtool, you may include this file under the
16730 # same distribution terms that you use for the rest of that program.
16731 #
16732 # GNU Libtool is distributed in the hope that it will be useful,
16733 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16734 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16735 # GNU General Public License for more details.
16736 #
16737 # You should have received a copy of the GNU General Public License
16738 # along with GNU Libtool; see the file COPYING.  If not, a copy
16739 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16740 # obtained by writing to the Free Software Foundation, Inc.,
16741 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16742
16743
16744 # The names of the tagged configurations supported by this script.
16745 available_tags=""
16746
16747 # ### BEGIN LIBTOOL CONFIG
16748
16749 # Which release of libtool.m4 was used?
16750 macro_version=$macro_version
16751 macro_revision=$macro_revision
16752
16753 # Whether or not to build shared libraries.
16754 build_libtool_libs=$enable_shared
16755
16756 # Whether or not to build static libraries.
16757 build_old_libs=$enable_static
16758
16759 # What type of objects to build.
16760 pic_mode=$pic_mode
16761
16762 # Whether or not to optimize for fast installation.
16763 fast_install=$enable_fast_install
16764
16765 # The host system.
16766 host_alias=$host_alias
16767 host=$host
16768 host_os=$host_os
16769
16770 # The build system.
16771 build_alias=$build_alias
16772 build=$build
16773 build_os=$build_os
16774
16775 # A sed program that does not truncate output.
16776 SED=$lt_SED
16777
16778 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16779 Xsed="\$SED -e 1s/^X//"
16780
16781 # A grep program that handles long lines.
16782 GREP=$lt_GREP
16783
16784 # An ERE matcher.
16785 EGREP=$lt_EGREP
16786
16787 # A literal string matcher.
16788 FGREP=$lt_FGREP
16789
16790 # A BSD- or MS-compatible name lister.
16791 NM=$lt_NM
16792
16793 # Whether we need soft or hard links.
16794 LN_S=$lt_LN_S
16795
16796 # What is the maximum length of a command?
16797 max_cmd_len=$max_cmd_len
16798
16799 # Object file suffix (normally "o").
16800 objext=$ac_objext
16801
16802 # Executable file suffix (normally "").
16803 exeext=$exeext
16804
16805 # whether the shell understands "unset".
16806 lt_unset=$lt_unset
16807
16808 # turn spaces into newlines.
16809 SP2NL=$lt_lt_SP2NL
16810
16811 # turn newlines into spaces.
16812 NL2SP=$lt_lt_NL2SP
16813
16814 # How to create reloadable object files.
16815 reload_flag=$lt_reload_flag
16816 reload_cmds=$lt_reload_cmds
16817
16818 # An object symbol dumper.
16819 OBJDUMP=$lt_OBJDUMP
16820
16821 # Method to check whether dependent libraries are shared objects.
16822 deplibs_check_method=$lt_deplibs_check_method
16823
16824 # Command to use when deplibs_check_method == "file_magic".
16825 file_magic_cmd=$lt_file_magic_cmd
16826
16827 # The archiver.
16828 AR=$lt_AR
16829 AR_FLAGS=$lt_AR_FLAGS
16830
16831 # A symbol stripping program.
16832 STRIP=$lt_STRIP
16833
16834 # Commands used to install an old-style archive.
16835 RANLIB=$lt_RANLIB
16836 old_postinstall_cmds=$lt_old_postinstall_cmds
16837 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16838
16839 # A C compiler.
16840 LTCC=$lt_CC
16841
16842 # LTCC compiler flags.
16843 LTCFLAGS=$lt_CFLAGS
16844
16845 # Take the output of nm and produce a listing of raw symbols and C names.
16846 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16847
16848 # Transform the output of nm in a proper C declaration.
16849 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16850
16851 # Transform the output of nm in a C name address pair.
16852 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16853
16854 # Transform the output of nm in a C name address pair when lib prefix is needed.
16855 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16856
16857 # The name of the directory that contains temporary libtool files.
16858 objdir=$objdir
16859
16860 # Shell to use when invoking shell scripts.
16861 SHELL=$lt_SHELL
16862
16863 # An echo program that does not interpret backslashes.
16864 ECHO=$lt_ECHO
16865
16866 # Used to examine libraries when file_magic_cmd begins with "file".
16867 MAGIC_CMD=$MAGIC_CMD
16868
16869 # Must we lock files when doing compilation?
16870 need_locks=$lt_need_locks
16871
16872 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16873 DSYMUTIL=$lt_DSYMUTIL
16874
16875 # Tool to change global to local symbols on Mac OS X.
16876 NMEDIT=$lt_NMEDIT
16877
16878 # Tool to manipulate fat objects and archives on Mac OS X.
16879 LIPO=$lt_LIPO
16880
16881 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16882 OTOOL=$lt_OTOOL
16883
16884 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16885 OTOOL64=$lt_OTOOL64
16886
16887 # Old archive suffix (normally "a").
16888 libext=$libext
16889
16890 # Shared library suffix (normally ".so").
16891 shrext_cmds=$lt_shrext_cmds
16892
16893 # The commands to extract the exported symbol list from a shared archive.
16894 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16895
16896 # Variables whose values should be saved in libtool wrapper scripts and
16897 # restored at link time.
16898 variables_saved_for_relink=$lt_variables_saved_for_relink
16899
16900 # Do we need the "lib" prefix for modules?
16901 need_lib_prefix=$need_lib_prefix
16902
16903 # Do we need a version for libraries?
16904 need_version=$need_version
16905
16906 # Library versioning type.
16907 version_type=$version_type
16908
16909 # Shared library runtime path variable.
16910 runpath_var=$runpath_var
16911
16912 # Shared library path variable.
16913 shlibpath_var=$shlibpath_var
16914
16915 # Is shlibpath searched before the hard-coded library search path?
16916 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16917
16918 # Format of library name prefix.
16919 libname_spec=$lt_libname_spec
16920
16921 # List of archive names.  First name is the real one, the rest are links.
16922 # The last name is the one that the linker finds with -lNAME
16923 library_names_spec=$lt_library_names_spec
16924
16925 # The coded name of the library, if different from the real name.
16926 soname_spec=$lt_soname_spec
16927
16928 # Command to use after installation of a shared archive.
16929 postinstall_cmds=$lt_postinstall_cmds
16930
16931 # Command to use after uninstallation of a shared archive.
16932 postuninstall_cmds=$lt_postuninstall_cmds
16933
16934 # Commands used to finish a libtool library installation in a directory.
16935 finish_cmds=$lt_finish_cmds
16936
16937 # As "finish_cmds", except a single script fragment to be evaled but
16938 # not shown.
16939 finish_eval=$lt_finish_eval
16940
16941 # Whether we should hardcode library paths into libraries.
16942 hardcode_into_libs=$hardcode_into_libs
16943
16944 # Compile-time system search path for libraries.
16945 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16946
16947 # Run-time system search path for libraries.
16948 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16949
16950 # Whether dlopen is supported.
16951 dlopen_support=$enable_dlopen
16952
16953 # Whether dlopen of programs is supported.
16954 dlopen_self=$enable_dlopen_self
16955
16956 # Whether dlopen of statically linked programs is supported.
16957 dlopen_self_static=$enable_dlopen_self_static
16958
16959 # Commands to strip libraries.
16960 old_striplib=$lt_old_striplib
16961 striplib=$lt_striplib
16962
16963
16964 # The linker used to build libraries.
16965 LD=$lt_LD
16966
16967 # Commands used to build an old-style archive.
16968 old_archive_cmds=$lt_old_archive_cmds
16969
16970 # A language specific compiler.
16971 CC=$lt_compiler
16972
16973 # Is the compiler the GNU compiler?
16974 with_gcc=$GCC
16975
16976 # Compiler flag to turn off builtin functions.
16977 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16978
16979 # How to pass a linker flag through the compiler.
16980 wl=$lt_lt_prog_compiler_wl
16981
16982 # Additional compiler flags for building library objects.
16983 pic_flag=$lt_lt_prog_compiler_pic
16984
16985 # Compiler flag to prevent dynamic linking.
16986 link_static_flag=$lt_lt_prog_compiler_static
16987
16988 # Does compiler simultaneously support -c and -o options?
16989 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16990
16991 # Whether or not to add -lc for building shared libraries.
16992 build_libtool_need_lc=$archive_cmds_need_lc
16993
16994 # Whether or not to disallow shared libs when runtime libs are static.
16995 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16996
16997 # Compiler flag to allow reflexive dlopens.
16998 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16999
17000 # Compiler flag to generate shared objects directly from archives.
17001 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17002
17003 # Whether the compiler copes with passing no objects directly.
17004 compiler_needs_object=$lt_compiler_needs_object
17005
17006 # Create an old-style archive from a shared archive.
17007 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17008
17009 # Create a temporary old-style archive to link instead of a shared archive.
17010 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17011
17012 # Commands used to build a shared archive.
17013 archive_cmds=$lt_archive_cmds
17014 archive_expsym_cmds=$lt_archive_expsym_cmds
17015
17016 # Commands used to build a loadable module if different from building
17017 # a shared archive.
17018 module_cmds=$lt_module_cmds
17019 module_expsym_cmds=$lt_module_expsym_cmds
17020
17021 # Whether we are building with GNU ld or not.
17022 with_gnu_ld=$lt_with_gnu_ld
17023
17024 # Flag that allows shared libraries with undefined symbols to be built.
17025 allow_undefined_flag=$lt_allow_undefined_flag
17026
17027 # Flag that enforces no undefined symbols.
17028 no_undefined_flag=$lt_no_undefined_flag
17029
17030 # Flag to hardcode \$libdir into a binary during linking.
17031 # This must work even if \$libdir does not exist
17032 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17033
17034 # If ld is used when linking, flag to hardcode \$libdir into a binary
17035 # during linking.  This must work even if \$libdir does not exist.
17036 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17037
17038 # Whether we need a single "-rpath" flag with a separated argument.
17039 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17040
17041 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17042 # DIR into the resulting binary.
17043 hardcode_direct=$hardcode_direct
17044
17045 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17046 # DIR into the resulting binary and the resulting library dependency is
17047 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17048 # library is relocated.
17049 hardcode_direct_absolute=$hardcode_direct_absolute
17050
17051 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17052 # into the resulting binary.
17053 hardcode_minus_L=$hardcode_minus_L
17054
17055 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17056 # into the resulting binary.
17057 hardcode_shlibpath_var=$hardcode_shlibpath_var
17058
17059 # Set to "yes" if building a shared library automatically hardcodes DIR
17060 # into the library and all subsequent libraries and executables linked
17061 # against it.
17062 hardcode_automatic=$hardcode_automatic
17063
17064 # Set to yes if linker adds runtime paths of dependent libraries
17065 # to runtime path list.
17066 inherit_rpath=$inherit_rpath
17067
17068 # Whether libtool must link a program against all its dependency libraries.
17069 link_all_deplibs=$link_all_deplibs
17070
17071 # Fix the shell variable \$srcfile for the compiler.
17072 fix_srcfile_path=$lt_fix_srcfile_path
17073
17074 # Set to "yes" if exported symbols are required.
17075 always_export_symbols=$always_export_symbols
17076
17077 # The commands to list exported symbols.
17078 export_symbols_cmds=$lt_export_symbols_cmds
17079
17080 # Symbols that should not be listed in the preloaded symbols.
17081 exclude_expsyms=$lt_exclude_expsyms
17082
17083 # Symbols that must always be exported.
17084 include_expsyms=$lt_include_expsyms
17085
17086 # Commands necessary for linking programs (against libraries) with templates.
17087 prelink_cmds=$lt_prelink_cmds
17088
17089 # Specify filename containing input files.
17090 file_list_spec=$lt_file_list_spec
17091
17092 # How to hardcode a shared library path into an executable.
17093 hardcode_action=$hardcode_action
17094
17095 # ### END LIBTOOL CONFIG
17096
17097 _LT_EOF
17098
17099   case $host_os in
17100   aix3*)
17101     cat <<\_LT_EOF >> "$cfgfile"
17102 # AIX sometimes has problems with the GCC collect2 program.  For some
17103 # reason, if we set the COLLECT_NAMES environment variable, the problems
17104 # vanish in a puff of smoke.
17105 if test "X${COLLECT_NAMES+set}" != Xset; then
17106   COLLECT_NAMES=
17107   export COLLECT_NAMES
17108 fi
17109 _LT_EOF
17110     ;;
17111   esac
17112
17113
17114 ltmain="$ac_aux_dir/ltmain.sh"
17115
17116
17117   # We use sed instead of cat because bash on DJGPP gets confused if
17118   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17119   # text mode, it properly converts lines to CR/LF.  This bash problem
17120   # is reportedly fixed, but why not run on old versions too?
17121   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17122     || (rm -f "$cfgfile"; exit 1)
17123
17124   case $xsi_shell in
17125   yes)
17126     cat << \_LT_EOF >> "$cfgfile"
17127
17128 # func_dirname file append nondir_replacement
17129 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
17130 # otherwise set result to NONDIR_REPLACEMENT.
17131 func_dirname ()
17132 {
17133   case ${1} in
17134     */*) func_dirname_result="${1%/*}${2}" ;;
17135     *  ) func_dirname_result="${3}" ;;
17136   esac
17137 }
17138
17139 # func_basename file
17140 func_basename ()
17141 {
17142   func_basename_result="${1##*/}"
17143 }
17144
17145 # func_dirname_and_basename file append nondir_replacement
17146 # perform func_basename and func_dirname in a single function
17147 # call:
17148 #   dirname:  Compute the dirname of FILE.  If nonempty,
17149 #             add APPEND to the result, otherwise set result
17150 #             to NONDIR_REPLACEMENT.
17151 #             value returned in "$func_dirname_result"
17152 #   basename: Compute filename of FILE.
17153 #             value retuned in "$func_basename_result"
17154 # Implementation must be kept synchronized with func_dirname
17155 # and func_basename. For efficiency, we do not delegate to
17156 # those functions but instead duplicate the functionality here.
17157 func_dirname_and_basename ()
17158 {
17159   case ${1} in
17160     */*) func_dirname_result="${1%/*}${2}" ;;
17161     *  ) func_dirname_result="${3}" ;;
17162   esac
17163   func_basename_result="${1##*/}"
17164 }
17165
17166 # func_stripname prefix suffix name
17167 # strip PREFIX and SUFFIX off of NAME.
17168 # PREFIX and SUFFIX must not contain globbing or regex special
17169 # characters, hashes, percent signs, but SUFFIX may contain a leading
17170 # dot (in which case that matches only a dot).
17171 func_stripname ()
17172 {
17173   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17174   # positional parameters, so assign one to ordinary parameter first.
17175   func_stripname_result=${3}
17176   func_stripname_result=${func_stripname_result#"${1}"}
17177   func_stripname_result=${func_stripname_result%"${2}"}
17178 }
17179
17180 # func_opt_split
17181 func_opt_split ()
17182 {
17183   func_opt_split_opt=${1%%=*}
17184   func_opt_split_arg=${1#*=}
17185 }
17186
17187 # func_lo2o object
17188 func_lo2o ()
17189 {
17190   case ${1} in
17191     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
17192     *)    func_lo2o_result=${1} ;;
17193   esac
17194 }
17195
17196 # func_xform libobj-or-source
17197 func_xform ()
17198 {
17199   func_xform_result=${1%.*}.lo
17200 }
17201
17202 # func_arith arithmetic-term...
17203 func_arith ()
17204 {
17205   func_arith_result=$(( $* ))
17206 }
17207
17208 # func_len string
17209 # STRING may not start with a hyphen.
17210 func_len ()
17211 {
17212   func_len_result=${#1}
17213 }
17214
17215 _LT_EOF
17216     ;;
17217   *) # Bourne compatible functions.
17218     cat << \_LT_EOF >> "$cfgfile"
17219
17220 # func_dirname file append nondir_replacement
17221 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
17222 # otherwise set result to NONDIR_REPLACEMENT.
17223 func_dirname ()
17224 {
17225   # Extract subdirectory from the argument.
17226   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17227   if test "X$func_dirname_result" = "X${1}"; then
17228     func_dirname_result="${3}"
17229   else
17230     func_dirname_result="$func_dirname_result${2}"
17231   fi
17232 }
17233
17234 # func_basename file
17235 func_basename ()
17236 {
17237   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
17238 }
17239
17240
17241 # func_stripname prefix suffix name
17242 # strip PREFIX and SUFFIX off of NAME.
17243 # PREFIX and SUFFIX must not contain globbing or regex special
17244 # characters, hashes, percent signs, but SUFFIX may contain a leading
17245 # dot (in which case that matches only a dot).
17246 # func_strip_suffix prefix name
17247 func_stripname ()
17248 {
17249   case ${2} in
17250     .*) func_stripname_result=`$ECHO "X${3}" \
17251            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17252     *)  func_stripname_result=`$ECHO "X${3}" \
17253            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17254   esac
17255 }
17256
17257 # sed scripts:
17258 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
17259 my_sed_long_arg='1s/^-[^=]*=//'
17260
17261 # func_opt_split
17262 func_opt_split ()
17263 {
17264   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17265   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17266 }
17267
17268 # func_lo2o object
17269 func_lo2o ()
17270 {
17271   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17272 }
17273
17274 # func_xform libobj-or-source
17275 func_xform ()
17276 {
17277   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
17278 }
17279
17280 # func_arith arithmetic-term...
17281 func_arith ()
17282 {
17283   func_arith_result=`expr "$@"`
17284 }
17285
17286 # func_len string
17287 # STRING may not start with a hyphen.
17288 func_len ()
17289 {
17290   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17291 }
17292
17293 _LT_EOF
17294 esac
17295
17296 case $lt_shell_append in
17297   yes)
17298     cat << \_LT_EOF >> "$cfgfile"
17299
17300 # func_append var value
17301 # Append VALUE to the end of shell variable VAR.
17302 func_append ()
17303 {
17304   eval "$1+=\$2"
17305 }
17306 _LT_EOF
17307     ;;
17308   *)
17309     cat << \_LT_EOF >> "$cfgfile"
17310
17311 # func_append var value
17312 # Append VALUE to the end of shell variable VAR.
17313 func_append ()
17314 {
17315   eval "$1=\$$1\$2"
17316 }
17317
17318 _LT_EOF
17319     ;;
17320   esac
17321
17322
17323   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17324     || (rm -f "$cfgfile"; exit 1)
17325
17326   mv -f "$cfgfile" "$ofile" ||
17327     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17328   chmod +x "$ofile"
17329
17330  ;;
17331     "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
17332         sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
17333       esac ;;
17334     "po/stamp-it":C)
17335     if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
17336        { { $as_echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
17337 $as_echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;}
17338    { (exit 1); exit 1; }; }
17339     fi
17340     rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
17341     >"po/stamp-it.tmp"
17342     sed '/^#/d
17343          s/^[[].*] *//
17344          /^[    ]*$/d
17345         '"s|^|  $ac_top_srcdir/|" \
17346       "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
17347
17348     sed '/^POTFILES =/,/[^\\]$/ {
17349                 /^POTFILES =/!d
17350                 r po/POTFILES
17351           }
17352          ' "po/Makefile.in" >"po/Makefile"
17353     rm -f "po/Makefile.tmp"
17354     mv "po/stamp-it.tmp" "po/stamp-it"
17355    ;;
17356
17357   esac
17358 done # for ac_tag
17359
17360
17361 { (exit 0); exit 0; }
17362 _ACEOF
17363 chmod +x $CONFIG_STATUS
17364 ac_clean_files=$ac_clean_files_save
17365
17366 test $ac_write_fail = 0 ||
17367   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
17368 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
17369    { (exit 1); exit 1; }; }
17370
17371
17372 # configure is writing to config.log, and then calls config.status.
17373 # config.status does its own redirection, appending to config.log.
17374 # Unfortunately, on DOS this fails, as config.log is still kept open
17375 # by configure, so config.status won't be able to write to it; its
17376 # output is simply discarded.  So we exec the FD to /dev/null,
17377 # effectively closing config.log, so it can be properly (re)opened and
17378 # appended to by config.status.  When coming back to configure, we
17379 # need to make the FD available again.
17380 if test "$no_create" != yes; then
17381   ac_cs_success=:
17382   ac_config_status_args=
17383   test "$silent" = yes &&
17384     ac_config_status_args="$ac_config_status_args --quiet"
17385   exec 5>/dev/null
17386   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17387   exec 5>>config.log
17388   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17389   # would make configure fail if this is the last instruction.
17390   $ac_cs_success || { (exit 1); exit 1; }
17391 fi
17392 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17393   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17394 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17395 fi
17396
17397
17398 echo "
17399 Configuration Sources:
17400 GConf default values source:    ${GCONF_DEFAULTS_SOURCE}
17401 GConf mandatory values source:  ${GCONF_MANDATORY_SOURCE}"