my first git commit
[gwget-havlin.git] / autom4te.cache / output.0
blob52085e392abbf222657a3c02cf93e0d5142fb53d
1 @%:@! /bin/sh
2 @%:@ Guess values for system-dependent variables and create Makefiles.
3 @%:@ Generated by GNU Autoconf 2.65.
4 @%:@ 
5 @%:@ 
6 @%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 @%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
8 @%:@ Inc.
9 @%:@ 
10 @%:@ 
11 @%:@ This configure script is free software; the Free Software Foundation
12 @%:@ gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in @%:@(
28   *posix*) :
29     set -o posix ;; @%:@(
30   *) :
31      ;;
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (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'
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   }
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
91 # Find who we are.  Look in the path if we contain no directory separator.
92 case $0 in @%:@((
93   *[\\/]* ) as_myself=$0 ;;
94   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH
97   IFS=$as_save_IFS
98   test -z "$as_dir" && as_dir=.
99     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100   done
101 IFS=$as_save_IFS
103      ;;
104 esac
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
108   as_myself=$0
110 if test ! -f "$as_myself"; then
111   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112   exit 1
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there.  '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x; then
137   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138   emulate sh
139   NULLCMD=:
140   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141   # is contrary to our usage.  Disable this feature.
142   alias -g '\${1+\"\$@\"}'='\"\$@\"'
143   setopt NO_GLOB_SUBST
144 else
145   case \`(set -o) 2>/dev/null\` in @%:@(
146   *posix*) :
147     set -o posix ;; @%:@(
148   *) :
149      ;;
150 esac
153   as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
159 exitcode=0
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165   
166 else
167   exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175   if (eval "$as_required") 2>/dev/null; then :
176   as_have_required=yes
177 else
178   as_have_required=no
180   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181   
182 else
183   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184 as_found=false
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
187   IFS=$as_save_IFS
188   test -z "$as_dir" && as_dir=.
189   as_found=:
190   case $as_dir in @%:@(
191          /*)
192            for as_base in sh bash ksh sh5; do
193              # Try only shells that exist, to save several forks.
194              as_shell=$as_dir/$as_base
195              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197   CONFIG_SHELL=$as_shell as_have_required=yes
198                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199   break 2
202            done;;
203        esac
204   as_found=false
205 done
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208   CONFIG_SHELL=$SHELL as_have_required=yes
209 fi; }
210 IFS=$as_save_IFS
213       if test "x$CONFIG_SHELL" != x; then :
214   # We cannot yet assume a decent shell, so we have to provide a
215         # neutralization value for shells without unset; and this also
216         # works around shells that cannot unset nonexistent variables.
217         BASH_ENV=/dev/null
218         ENV=/dev/null
219         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220         export CONFIG_SHELL
221         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224     if test x$as_have_required = xno; then :
225   $as_echo "$0: This script requires a shell more modern than all"
226   $as_echo "$0: the shells that I found on your system."
227   if test x${ZSH_VERSION+set} = xset ; then
228     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230   else
231     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
235   fi
236   exit 1
240 SHELL=${CONFIG_SHELL-/bin/sh}
241 export SHELL
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE= GREP_OPTIONS=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
249 @%:@ as_fn_unset VAR
250 @%:@ ---------------
251 @%:@ Portably unset VAR.
252 as_fn_unset ()
254   { eval $1=; unset $1;}
256 as_unset=as_fn_unset
258 @%:@ as_fn_set_status STATUS
259 @%:@ -----------------------
260 @%:@ Set @S|@? to STATUS, without forking.
261 as_fn_set_status ()
263   return $1
264 } @%:@ as_fn_set_status
266 @%:@ as_fn_exit STATUS
267 @%:@ -----------------
268 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
269 as_fn_exit ()
271   set +e
272   as_fn_set_status $1
273   exit $1
274 } @%:@ as_fn_exit
276 @%:@ as_fn_mkdir_p
277 @%:@ -------------
278 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
279 as_fn_mkdir_p ()
282   case $as_dir in #(
283   -*) as_dir=./$as_dir;;
284   esac
285   test -d "$as_dir" || eval $as_mkdir_p || {
286     as_dirs=
287     while :; do
288       case $as_dir in #(
289       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290       *) as_qdir=$as_dir;;
291       esac
292       as_dirs="'$as_qdir' $as_dirs"
293       as_dir=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295          X"$as_dir" : 'X\(//\)[^/]' \| \
296          X"$as_dir" : 'X\(//\)$' \| \
297          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
300             s//\1/
301             q
302           }
303           /^X\(\/\/\)[^/].*/{
304             s//\1/
305             q
306           }
307           /^X\(\/\/\)$/{
308             s//\1/
309             q
310           }
311           /^X\(\/\).*/{
312             s//\1/
313             q
314           }
315           s/.*/./; q'`
316       test -d "$as_dir" && break
317     done
318     test -z "$as_dirs" || eval "mkdir $as_dirs"
319   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
322 } @%:@ as_fn_mkdir_p
323 @%:@ as_fn_append VAR VALUE
324 @%:@ ----------------------
325 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
326 @%:@ advantage of any shell optimizations that allow amortized linear growth over
327 @%:@ repeated appends, instead of the typical quadratic growth present in naive
328 @%:@ implementations.
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330   eval 'as_fn_append ()
331   {
332     eval $1+=\$2
333   }'
334 else
335   as_fn_append ()
336   {
337     eval $1=\$$1\$2
338   }
339 fi # as_fn_append
341 @%:@ as_fn_arith ARG...
342 @%:@ ------------------
343 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
344 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
345 @%:@ must be portable across @S|@(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
347   eval 'as_fn_arith ()
348   {
349     as_val=$(( $* ))
350   }'
351 else
352   as_fn_arith ()
353   {
354     as_val=`expr "$@" || test $? -eq 1`
355   }
356 fi # as_fn_arith
359 @%:@ as_fn_error ERROR [LINENO LOG_FD]
360 @%:@ ---------------------------------
361 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 @%:@ script with status @S|@?, using 1 if that was 0.
364 as_fn_error ()
366   as_status=$?; test $as_status -eq 0 && as_status=1
367   if test "$3"; then
368     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
370   fi
371   $as_echo "$as_me: error: $1" >&2
372   as_fn_exit $as_status
373 } @%:@ as_fn_error
375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376    test "X`expr 00001 : '.*\(...\)'`" = X001; then
377   as_expr=expr
378 else
379   as_expr=false
382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
383   as_basename=basename
384 else
385   as_basename=false
388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
389   as_dirname=dirname
390 else
391   as_dirname=false
394 as_me=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396          X"$0" : 'X\(//\)$' \| \
397          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398 $as_echo X/"$0" |
399     sed '/^.*\/\([^/][^/]*\)\/*$/{
400             s//\1/
401             q
402           }
403           /^X\/\(\/\/\)$/{
404             s//\1/
405             q
406           }
407           /^X\/\(\/\).*/{
408             s//\1/
409             q
410           }
411           s/.*/./; q'`
413 # Avoid depending upon Character Ranges.
414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits='0123456789'
418 as_cr_alnum=$as_cr_Letters$as_cr_digits
421   as_lineno_1=$LINENO as_lineno_1a=$LINENO
422   as_lineno_2=$LINENO as_lineno_2a=$LINENO
423   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
426   sed -n '
427     p
428     /[$]LINENO/=
429   ' <$as_myself |
430     sed '
431       s/[$]LINENO.*/&-/
432       t lineno
433       b
434       :lineno
435       N
436       :loop
437       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
438       t loop
439       s/-\n.*//
440     ' >$as_me.lineno &&
441   chmod +x "$as_me.lineno" ||
442     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
444   # Don't try to exec as it changes $[0], causing all sort of problems
445   # (the dirname of $[0] is not the place where we might find the
446   # original and so on.  Autoconf is especially sensitive to this).
447   . "./$as_me.lineno"
448   # Exit status is that of the last command.
449   exit
452 ECHO_C= ECHO_N= ECHO_T=
453 case `echo -n x` in @%:@(((((
454 -n*)
455   case `echo 'xy\c'` in
456   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
457   xy)  ECHO_C='\c';;
458   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
459        ECHO_T=' ';;
460   esac;;
462   ECHO_N='-n';;
463 esac
465 rm -f conf$$ conf$$.exe conf$$.file
466 if test -d conf$$.dir; then
467   rm -f conf$$.dir/conf$$.file
468 else
469   rm -f conf$$.dir
470   mkdir conf$$.dir 2>/dev/null
472 if (echo >conf$$.file) 2>/dev/null; then
473   if ln -s conf$$.file conf$$ 2>/dev/null; then
474     as_ln_s='ln -s'
475     # ... but there are two gotchas:
476     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478     # In both cases, we have to default to `cp -p'.
479     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480       as_ln_s='cp -p'
481   elif ln conf$$.file conf$$ 2>/dev/null; then
482     as_ln_s=ln
483   else
484     as_ln_s='cp -p'
485   fi
486 else
487   as_ln_s='cp -p'
489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490 rmdir conf$$.dir 2>/dev/null
492 if mkdir -p . 2>/dev/null; then
493   as_mkdir_p='mkdir -p "$as_dir"'
494 else
495   test -d ./-p && rmdir ./-p
496   as_mkdir_p=false
499 if test -x / >/dev/null 2>&1; then
500   as_test_x='test -x'
501 else
502   if ls -dL / >/dev/null 2>&1; then
503     as_ls_L_option=L
504   else
505     as_ls_L_option=
506   fi
507   as_test_x='
508     eval sh -c '\''
509       if test -d "$1"; then
510         test -d "$1/.";
511       else
512         case $1 in @%:@(
513         -*)set "./$1";;
514         esac;
515         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
516         ???[sx]*):;;*)false;;esac;fi
517     '\'' sh
518   '
520 as_executable_p=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530 # Check that we are running under the correct shell.
531 SHELL=${CONFIG_SHELL-/bin/sh}
533 case X$lt_ECHO in
534 X*--fallback-echo)
535   # Remove one level of quotation (which was required for Make).
536   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
537   ;;
538 esac
540 ECHO=${lt_ECHO-echo}
541 if test "X$1" = X--no-reexec; then
542   # Discard the --no-reexec flag, and continue.
543   shift
544 elif test "X$1" = X--fallback-echo; then
545   # Avoid inline document here, it may be left over
546   :
547 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
548   # Yippee, $ECHO works!
549   :
550 else
551   # Restart under the correct shell.
552   exec $SHELL "$0" --no-reexec ${1+"$@"}
555 if test "X$1" = X--fallback-echo; then
556   # used as fallback echo
557   shift
558   cat <<_LT_EOF
560 _LT_EOF
561   exit 0
564 # The HP-UX ksh and POSIX shell print the target directory to stdout
565 # if CDPATH is set.
566 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
568 if test -z "$lt_ECHO"; then
569   if test "X${echo_test_string+set}" != Xset; then
570     # find a string as large as possible, as long as the shell can cope with it
571     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
572       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
573       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
574          { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
575       then
576         break
577       fi
578     done
579   fi
581   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
582      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
583      test "X$echo_testing_string" = "X$echo_test_string"; then
584     :
585   else
586     # The Solaris, AIX, and Digital Unix default echo programs unquote
587     # backslashes.  This makes it impossible to quote backslashes using
588     #   echo "$something" | sed 's/\\/\\\\/g'
589     #
590     # So, first we look for a working echo in the user's PATH.
592     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
593     for dir in $PATH /usr/ucb; do
594       IFS="$lt_save_ifs"
595       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
596          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
597          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
598          test "X$echo_testing_string" = "X$echo_test_string"; then
599         ECHO="$dir/echo"
600         break
601       fi
602     done
603     IFS="$lt_save_ifs"
605     if test "X$ECHO" = Xecho; then
606       # We didn't find a better echo, so look for alternatives.
607       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
608          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
609          test "X$echo_testing_string" = "X$echo_test_string"; then
610         # This shell has a builtin print -r that does the trick.
611         ECHO='print -r'
612       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
613            test "X$CONFIG_SHELL" != X/bin/ksh; then
614         # If we have ksh, try running configure again with it.
615         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
616         export ORIGINAL_CONFIG_SHELL
617         CONFIG_SHELL=/bin/ksh
618         export CONFIG_SHELL
619         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
620       else
621         # Try using printf.
622         ECHO='printf %s\n'
623         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
624            echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
625            test "X$echo_testing_string" = "X$echo_test_string"; then
626           # Cool, printf works
627           :
628         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
629              test "X$echo_testing_string" = 'X\t' &&
630              echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
631              test "X$echo_testing_string" = "X$echo_test_string"; then
632           CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
633           export CONFIG_SHELL
634           SHELL="$CONFIG_SHELL"
635           export SHELL
636           ECHO="$CONFIG_SHELL $0 --fallback-echo"
637         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638              test "X$echo_testing_string" = 'X\t' &&
639              echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640              test "X$echo_testing_string" = "X$echo_test_string"; then
641           ECHO="$CONFIG_SHELL $0 --fallback-echo"
642         else
643           # maybe with a smaller string...
644           prev=:
646           for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
647             if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
648             then
649               break
650             fi
651             prev="$cmd"
652           done
654           if test "$prev" != 'sed 50q "$0"'; then
655             echo_test_string=`eval $prev`
656             export echo_test_string
657             exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
658           else
659             # Oops.  We lost completely, so just stick with echo.
660             ECHO=echo
661           fi
662         fi
663       fi
664     fi
665   fi
668 # Copy echo and quote the copy suitably for passing to libtool from
669 # the Makefile, instead of quoting the original, which is used later.
670 lt_ECHO=$ECHO
671 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
672    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
678 test -n "$DJDIR" || exec 7<&0 </dev/null
679 exec 6>&1
681 # Name of the host.
682 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
683 # so uname gets run too.
684 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
687 # Initializations.
689 ac_default_prefix=/usr/local
690 ac_clean_files=
691 ac_config_libobj_dir=.
692 LIB@&t@OBJS=
693 cross_compiling=no
694 subdirs=
695 MFLAGS=
696 MAKEFLAGS=
698 # Identity of this package.
699 PACKAGE_NAME=
700 PACKAGE_TARNAME=
701 PACKAGE_VERSION=
702 PACKAGE_STRING=
703 PACKAGE_BUGREPORT=
704 PACKAGE_URL=
706 ac_unique_file="configure.ac"
707 # Factoring default headers for most tests.
708 ac_includes_default="\
709 #include <stdio.h>
710 #ifdef HAVE_SYS_TYPES_H
711 # include <sys/types.h>
712 #endif
713 #ifdef HAVE_SYS_STAT_H
714 # include <sys/stat.h>
715 #endif
716 #ifdef STDC_HEADERS
717 # include <stdlib.h>
718 # include <stddef.h>
719 #else
720 # ifdef HAVE_STDLIB_H
721 #  include <stdlib.h>
722 # endif
723 #endif
724 #ifdef HAVE_STRING_H
725 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
726 #  include <memory.h>
727 # endif
728 # include <string.h>
729 #endif
730 #ifdef HAVE_STRINGS_H
731 # include <strings.h>
732 #endif
733 #ifdef HAVE_INTTYPES_H
734 # include <inttypes.h>
735 #endif
736 #ifdef HAVE_STDINT_H
737 # include <stdint.h>
738 #endif
739 #ifdef HAVE_UNISTD_H
740 # include <unistd.h>
741 #endif"
743 ac_subst_vars='am__EXEEXT_FALSE
744 am__EXEEXT_TRUE
745 LTLIBOBJS
746 LIB@&t@OBJS
747 ORBIT_IDL
748 GLIB_GENMARSHAL
749 EXTENSION_PREFIX
750 DBUS_TOOL_NO_PREFIX_FALSE
751 DBUS_TOOL_NO_PREFIX_TRUE
752 ENABLE_DBUS_FALSE
753 ENABLE_DBUS_TRUE
754 USE_NOTIFY_FALSE
755 USE_NOTIFY_TRUE
756 NOTIFY_LIBS
757 NOTIFY_CFLAGS
758 ENABLE_EPIPHANY_EXTENSION_FALSE
759 ENABLE_EPIPHANY_EXTENSION_TRUE
760 EPIPHANY_EXTENSIONS_DIR
761 EPIPHANY_DEPENDENCY_LIBS
762 EPIPHANY_DEPENDENCY_CFLAGS
763 LIBGTK_REQUIRED
764 LIBGLIB_REQUIRED
765 EPIPHANY_REQUIRED
766 pixmapsdir
767 GWGET_LIBS
768 GWGET_CFLAGS
769 MKINSTALLDIRS
770 POSUB
771 POFILES
772 PO_IN_DATADIR_FALSE
773 PO_IN_DATADIR_TRUE
774 INTLLIBS
775 INSTOBJEXT
776 GMOFILES
777 CATOBJEXT
778 CATALOGS
779 MSGFMT_OPTS
780 GETTEXT_PACKAGE
781 DBUS_BINDING_TOOL
782 DBUS_LIBS
783 DBUS_CFLAGS
784 GIO_REQUIRED
785 GNOME_LIBS
786 GNOME_CFLAGS
787 PKG_CONFIG
788 GCONF_SCHEMAS_INSTALL_FALSE
789 GCONF_SCHEMAS_INSTALL_TRUE
790 GCONF_SCHEMA_FILE_DIR
791 GCONF_SCHEMA_CONFIG_SOURCE
792 OTOOL64
793 OTOOL
794 LIPO
795 NMEDIT
796 DSYMUTIL
797 lt_ECHO
798 RANLIB
800 OBJDUMP
801 LN_S
803 ac_ct_DUMPBIN
804 DUMPBIN
806 FGREP
808 host_os
809 host_vendor
810 host_cpu
811 host
812 build_os
813 build_vendor
814 build_cpu
815 build
816 LIBTOOL
817 EGREP
818 GREP
820 DATADIRNAME
821 am__fastdepCC_FALSE
822 am__fastdepCC_TRUE
823 CCDEPMODE
824 AMDEPBACKSLASH
825 AMDEP_FALSE
826 AMDEP_TRUE
827 am__quote
828 am__include
829 DEPDIR
830 OBJEXT
831 EXEEXT
832 ac_ct_CC
833 CPPFLAGS
834 LDFLAGS
835 CFLAGS
837 ALL_LINGUAS
838 INTLTOOL_PERL
839 GMSGFMT
840 MSGFMT
841 MSGMERGE
842 XGETTEXT
843 INTLTOOL_POLICY_RULE
844 INTLTOOL_SERVICE_RULE
845 INTLTOOL_THEME_RULE
846 INTLTOOL_SCHEMAS_RULE
847 INTLTOOL_CAVES_RULE
848 INTLTOOL_XML_NOMERGE_RULE
849 INTLTOOL_XML_RULE
850 INTLTOOL_KBD_RULE
851 INTLTOOL_XAM_RULE
852 INTLTOOL_UI_RULE
853 INTLTOOL_SOUNDLIST_RULE
854 INTLTOOL_SHEET_RULE
855 INTLTOOL_SERVER_RULE
856 INTLTOOL_PONG_RULE
857 INTLTOOL_OAF_RULE
858 INTLTOOL_PROP_RULE
859 INTLTOOL_KEYS_RULE
860 INTLTOOL_DIRECTORY_RULE
861 INTLTOOL_DESKTOP_RULE
862 INTLTOOL_EXTRACT
863 INTLTOOL_MERGE
864 INTLTOOL_UPDATE
865 USE_NLS
866 GCONFTOOL
867 am__untar
868 am__tar
869 AMTAR
870 am__leading_dot
871 SET_MAKE
873 mkdir_p
874 MKDIR_P
875 INSTALL_STRIP_PROGRAM
876 STRIP
877 install_sh
878 MAKEINFO
879 AUTOHEADER
880 AUTOMAKE
881 AUTOCONF
882 ACLOCAL
883 VERSION
884 PACKAGE
885 CYGPATH_W
886 am__isrc
887 INSTALL_DATA
888 INSTALL_SCRIPT
889 INSTALL_PROGRAM
890 target_alias
891 host_alias
892 build_alias
893 LIBS
894 ECHO_T
895 ECHO_N
896 ECHO_C
897 DEFS
898 mandir
899 localedir
900 libdir
901 psdir
902 pdfdir
903 dvidir
904 htmldir
905 infodir
906 docdir
907 oldincludedir
908 includedir
909 localstatedir
910 sharedstatedir
911 sysconfdir
912 datadir
913 datarootdir
914 libexecdir
915 sbindir
916 bindir
917 program_transform_name
918 prefix
919 exec_prefix
920 PACKAGE_URL
921 PACKAGE_BUGREPORT
922 PACKAGE_STRING
923 PACKAGE_VERSION
924 PACKAGE_TARNAME
925 PACKAGE_NAME
926 PATH_SEPARATOR
927 SHELL'
928 ac_subst_files=''
929 ac_user_opts='
930 enable_option_checking
931 enable_nls
932 enable_dependency_tracking
933 enable_shared
934 enable_static
935 with_pic
936 enable_fast_install
937 with_gnu_ld
938 enable_libtool_lock
939 with_gconf_source
940 with_gconf_schema_file_dir
941 enable_schemas_install
942 enable_epiphany_extension
943 with_epiphany_version
944 enable_libnotify
945 with_extension_prefix
947       ac_precious_vars='build_alias
948 host_alias
949 target_alias
951 CFLAGS
952 LDFLAGS
953 LIBS
954 CPPFLAGS
956 PKG_CONFIG
957 GNOME_CFLAGS
958 GNOME_LIBS
959 DBUS_CFLAGS
960 DBUS_LIBS
961 EPIPHANY_DEPENDENCY_CFLAGS
962 EPIPHANY_DEPENDENCY_LIBS
963 NOTIFY_CFLAGS
964 NOTIFY_LIBS'
967 # Initialize some variables set by options.
968 ac_init_help=
969 ac_init_version=false
970 ac_unrecognized_opts=
971 ac_unrecognized_sep=
972 # The variables have the same names as the options, with
973 # dashes changed to underlines.
974 cache_file=/dev/null
975 exec_prefix=NONE
976 no_create=
977 no_recursion=
978 prefix=NONE
979 program_prefix=NONE
980 program_suffix=NONE
981 program_transform_name=s,x,x,
982 silent=
983 site=
984 srcdir=
985 verbose=
986 x_includes=NONE
987 x_libraries=NONE
989 # Installation directory options.
990 # These are left unexpanded so users can "make install exec_prefix=/foo"
991 # and all the variables that are supposed to be based on exec_prefix
992 # by default will actually change.
993 # Use braces instead of parens because sh, perl, etc. also accept them.
994 # (The list follows the same order as the GNU Coding Standards.)
995 bindir='${exec_prefix}/bin'
996 sbindir='${exec_prefix}/sbin'
997 libexecdir='${exec_prefix}/libexec'
998 datarootdir='${prefix}/share'
999 datadir='${datarootdir}'
1000 sysconfdir='${prefix}/etc'
1001 sharedstatedir='${prefix}/com'
1002 localstatedir='${prefix}/var'
1003 includedir='${prefix}/include'
1004 oldincludedir='/usr/include'
1005 docdir='${datarootdir}/doc/${PACKAGE}'
1006 infodir='${datarootdir}/info'
1007 htmldir='${docdir}'
1008 dvidir='${docdir}'
1009 pdfdir='${docdir}'
1010 psdir='${docdir}'
1011 libdir='${exec_prefix}/lib'
1012 localedir='${datarootdir}/locale'
1013 mandir='${datarootdir}/man'
1015 ac_prev=
1016 ac_dashdash=
1017 for ac_option
1019   # If the previous option needs an argument, assign it.
1020   if test -n "$ac_prev"; then
1021     eval $ac_prev=\$ac_option
1022     ac_prev=
1023     continue
1024   fi
1026   case $ac_option in
1027   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1028   *)    ac_optarg=yes ;;
1029   esac
1031   # Accept the important Cygnus configure options, so we can diagnose typos.
1033   case $ac_dashdash$ac_option in
1034   --)
1035     ac_dashdash=yes ;;
1037   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1038     ac_prev=bindir ;;
1039   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1040     bindir=$ac_optarg ;;
1042   -build | --build | --buil | --bui | --bu)
1043     ac_prev=build_alias ;;
1044   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1045     build_alias=$ac_optarg ;;
1047   -cache-file | --cache-file | --cache-fil | --cache-fi \
1048   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1049     ac_prev=cache_file ;;
1050   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1051   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1052     cache_file=$ac_optarg ;;
1054   --config-cache | -C)
1055     cache_file=config.cache ;;
1057   -datadir | --datadir | --datadi | --datad)
1058     ac_prev=datadir ;;
1059   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1060     datadir=$ac_optarg ;;
1062   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1063   | --dataroo | --dataro | --datar)
1064     ac_prev=datarootdir ;;
1065   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1066   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1067     datarootdir=$ac_optarg ;;
1069   -disable-* | --disable-*)
1070     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1071     # Reject names that are not valid shell variable names.
1072     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1073       as_fn_error "invalid feature name: $ac_useropt"
1074     ac_useropt_orig=$ac_useropt
1075     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1076     case $ac_user_opts in
1077       *"
1078 "enable_$ac_useropt"
1079 "*) ;;
1080       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1081          ac_unrecognized_sep=', ';;
1082     esac
1083     eval enable_$ac_useropt=no ;;
1085   -docdir | --docdir | --docdi | --doc | --do)
1086     ac_prev=docdir ;;
1087   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1088     docdir=$ac_optarg ;;
1090   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1091     ac_prev=dvidir ;;
1092   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1093     dvidir=$ac_optarg ;;
1095   -enable-* | --enable-*)
1096     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1097     # Reject names that are not valid shell variable names.
1098     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1099       as_fn_error "invalid feature name: $ac_useropt"
1100     ac_useropt_orig=$ac_useropt
1101     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1102     case $ac_user_opts in
1103       *"
1104 "enable_$ac_useropt"
1105 "*) ;;
1106       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1107          ac_unrecognized_sep=', ';;
1108     esac
1109     eval enable_$ac_useropt=\$ac_optarg ;;
1111   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1112   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1113   | --exec | --exe | --ex)
1114     ac_prev=exec_prefix ;;
1115   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1116   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1117   | --exec=* | --exe=* | --ex=*)
1118     exec_prefix=$ac_optarg ;;
1120   -gas | --gas | --ga | --g)
1121     # Obsolete; use --with-gas.
1122     with_gas=yes ;;
1124   -help | --help | --hel | --he | -h)
1125     ac_init_help=long ;;
1126   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1127     ac_init_help=recursive ;;
1128   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1129     ac_init_help=short ;;
1131   -host | --host | --hos | --ho)
1132     ac_prev=host_alias ;;
1133   -host=* | --host=* | --hos=* | --ho=*)
1134     host_alias=$ac_optarg ;;
1136   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1137     ac_prev=htmldir ;;
1138   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1139   | --ht=*)
1140     htmldir=$ac_optarg ;;
1142   -includedir | --includedir | --includedi | --included | --include \
1143   | --includ | --inclu | --incl | --inc)
1144     ac_prev=includedir ;;
1145   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1146   | --includ=* | --inclu=* | --incl=* | --inc=*)
1147     includedir=$ac_optarg ;;
1149   -infodir | --infodir | --infodi | --infod | --info | --inf)
1150     ac_prev=infodir ;;
1151   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1152     infodir=$ac_optarg ;;
1154   -libdir | --libdir | --libdi | --libd)
1155     ac_prev=libdir ;;
1156   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1157     libdir=$ac_optarg ;;
1159   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1160   | --libexe | --libex | --libe)
1161     ac_prev=libexecdir ;;
1162   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1163   | --libexe=* | --libex=* | --libe=*)
1164     libexecdir=$ac_optarg ;;
1166   -localedir | --localedir | --localedi | --localed | --locale)
1167     ac_prev=localedir ;;
1168   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1169     localedir=$ac_optarg ;;
1171   -localstatedir | --localstatedir | --localstatedi | --localstated \
1172   | --localstate | --localstat | --localsta | --localst | --locals)
1173     ac_prev=localstatedir ;;
1174   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1175   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1176     localstatedir=$ac_optarg ;;
1178   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1179     ac_prev=mandir ;;
1180   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1181     mandir=$ac_optarg ;;
1183   -nfp | --nfp | --nf)
1184     # Obsolete; use --without-fp.
1185     with_fp=no ;;
1187   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1188   | --no-cr | --no-c | -n)
1189     no_create=yes ;;
1191   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1192   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1193     no_recursion=yes ;;
1195   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1196   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1197   | --oldin | --oldi | --old | --ol | --o)
1198     ac_prev=oldincludedir ;;
1199   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1200   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1201   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1202     oldincludedir=$ac_optarg ;;
1204   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1205     ac_prev=prefix ;;
1206   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1207     prefix=$ac_optarg ;;
1209   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1210   | --program-pre | --program-pr | --program-p)
1211     ac_prev=program_prefix ;;
1212   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1213   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1214     program_prefix=$ac_optarg ;;
1216   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1217   | --program-suf | --program-su | --program-s)
1218     ac_prev=program_suffix ;;
1219   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1220   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1221     program_suffix=$ac_optarg ;;
1223   -program-transform-name | --program-transform-name \
1224   | --program-transform-nam | --program-transform-na \
1225   | --program-transform-n | --program-transform- \
1226   | --program-transform | --program-transfor \
1227   | --program-transfo | --program-transf \
1228   | --program-trans | --program-tran \
1229   | --progr-tra | --program-tr | --program-t)
1230     ac_prev=program_transform_name ;;
1231   -program-transform-name=* | --program-transform-name=* \
1232   | --program-transform-nam=* | --program-transform-na=* \
1233   | --program-transform-n=* | --program-transform-=* \
1234   | --program-transform=* | --program-transfor=* \
1235   | --program-transfo=* | --program-transf=* \
1236   | --program-trans=* | --program-tran=* \
1237   | --progr-tra=* | --program-tr=* | --program-t=*)
1238     program_transform_name=$ac_optarg ;;
1240   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1241     ac_prev=pdfdir ;;
1242   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1243     pdfdir=$ac_optarg ;;
1245   -psdir | --psdir | --psdi | --psd | --ps)
1246     ac_prev=psdir ;;
1247   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1248     psdir=$ac_optarg ;;
1250   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1251   | -silent | --silent | --silen | --sile | --sil)
1252     silent=yes ;;
1254   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1255     ac_prev=sbindir ;;
1256   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1257   | --sbi=* | --sb=*)
1258     sbindir=$ac_optarg ;;
1260   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1261   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1262   | --sharedst | --shareds | --shared | --share | --shar \
1263   | --sha | --sh)
1264     ac_prev=sharedstatedir ;;
1265   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1266   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1267   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1268   | --sha=* | --sh=*)
1269     sharedstatedir=$ac_optarg ;;
1271   -site | --site | --sit)
1272     ac_prev=site ;;
1273   -site=* | --site=* | --sit=*)
1274     site=$ac_optarg ;;
1276   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1277     ac_prev=srcdir ;;
1278   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1279     srcdir=$ac_optarg ;;
1281   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1282   | --syscon | --sysco | --sysc | --sys | --sy)
1283     ac_prev=sysconfdir ;;
1284   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1285   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1286     sysconfdir=$ac_optarg ;;
1288   -target | --target | --targe | --targ | --tar | --ta | --t)
1289     ac_prev=target_alias ;;
1290   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1291     target_alias=$ac_optarg ;;
1293   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1294     verbose=yes ;;
1296   -version | --version | --versio | --versi | --vers | -V)
1297     ac_init_version=: ;;
1299   -with-* | --with-*)
1300     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1301     # Reject names that are not valid shell variable names.
1302     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1303       as_fn_error "invalid package name: $ac_useropt"
1304     ac_useropt_orig=$ac_useropt
1305     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1306     case $ac_user_opts in
1307       *"
1308 "with_$ac_useropt"
1309 "*) ;;
1310       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1311          ac_unrecognized_sep=', ';;
1312     esac
1313     eval with_$ac_useropt=\$ac_optarg ;;
1315   -without-* | --without-*)
1316     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1317     # Reject names that are not valid shell variable names.
1318     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1319       as_fn_error "invalid package name: $ac_useropt"
1320     ac_useropt_orig=$ac_useropt
1321     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1322     case $ac_user_opts in
1323       *"
1324 "with_$ac_useropt"
1325 "*) ;;
1326       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1327          ac_unrecognized_sep=', ';;
1328     esac
1329     eval with_$ac_useropt=no ;;
1331   --x)
1332     # Obsolete; use --with-x.
1333     with_x=yes ;;
1335   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1336   | --x-incl | --x-inc | --x-in | --x-i)
1337     ac_prev=x_includes ;;
1338   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1339   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1340     x_includes=$ac_optarg ;;
1342   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1343   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1344     ac_prev=x_libraries ;;
1345   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1346   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1347     x_libraries=$ac_optarg ;;
1349   -*) as_fn_error "unrecognized option: \`$ac_option'
1350 Try \`$0 --help' for more information."
1351     ;;
1353   *=*)
1354     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1355     # Reject names that are not valid shell variable names.
1356     case $ac_envvar in #(
1357       '' | [0-9]* | *[!_$as_cr_alnum]* )
1358       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1359     esac
1360     eval $ac_envvar=\$ac_optarg
1361     export $ac_envvar ;;
1363   *)
1364     # FIXME: should be removed in autoconf 3.0.
1365     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1366     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1367       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1368     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1369     ;;
1371   esac
1372 done
1374 if test -n "$ac_prev"; then
1375   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1376   as_fn_error "missing argument to $ac_option"
1379 if test -n "$ac_unrecognized_opts"; then
1380   case $enable_option_checking in
1381     no) ;;
1382     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1383     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1384   esac
1387 # Check all directory arguments for consistency.
1388 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1389                 datadir sysconfdir sharedstatedir localstatedir includedir \
1390                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1391                 libdir localedir mandir
1393   eval ac_val=\$$ac_var
1394   # Remove trailing slashes.
1395   case $ac_val in
1396     */ )
1397       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1398       eval $ac_var=\$ac_val;;
1399   esac
1400   # Be sure to have absolute directory names.
1401   case $ac_val in
1402     [\\/$]* | ?:[\\/]* )  continue;;
1403     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1404   esac
1405   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1406 done
1408 # There might be people who depend on the old broken behavior: `$host'
1409 # used to hold the argument of --host etc.
1410 # FIXME: To remove some day.
1411 build=$build_alias
1412 host=$host_alias
1413 target=$target_alias
1415 # FIXME: To remove some day.
1416 if test "x$host_alias" != x; then
1417   if test "x$build_alias" = x; then
1418     cross_compiling=maybe
1419     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1420     If a cross compiler is detected then cross compile mode will be used." >&2
1421   elif test "x$build_alias" != "x$host_alias"; then
1422     cross_compiling=yes
1423   fi
1426 ac_tool_prefix=
1427 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1429 test "$silent" = yes && exec 6>/dev/null
1432 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1433 ac_ls_di=`ls -di .` &&
1434 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1435   as_fn_error "working directory cannot be determined"
1436 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1437   as_fn_error "pwd does not report name of working directory"
1440 # Find the source files, if location was not specified.
1441 if test -z "$srcdir"; then
1442   ac_srcdir_defaulted=yes
1443   # Try the directory containing this script, then the parent directory.
1444   ac_confdir=`$as_dirname -- "$as_myself" ||
1445 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1446          X"$as_myself" : 'X\(//\)[^/]' \| \
1447          X"$as_myself" : 'X\(//\)$' \| \
1448          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1449 $as_echo X"$as_myself" |
1450     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1451             s//\1/
1452             q
1453           }
1454           /^X\(\/\/\)[^/].*/{
1455             s//\1/
1456             q
1457           }
1458           /^X\(\/\/\)$/{
1459             s//\1/
1460             q
1461           }
1462           /^X\(\/\).*/{
1463             s//\1/
1464             q
1465           }
1466           s/.*/./; q'`
1467   srcdir=$ac_confdir
1468   if test ! -r "$srcdir/$ac_unique_file"; then
1469     srcdir=..
1470   fi
1471 else
1472   ac_srcdir_defaulted=no
1474 if test ! -r "$srcdir/$ac_unique_file"; then
1475   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1476   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1478 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1479 ac_abs_confdir=`(
1480         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1481         pwd)`
1482 # When building in place, set srcdir=.
1483 if test "$ac_abs_confdir" = "$ac_pwd"; then
1484   srcdir=.
1486 # Remove unnecessary trailing slashes from srcdir.
1487 # Double slashes in file names in object file debugging info
1488 # mess up M-x gdb in Emacs.
1489 case $srcdir in
1490 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1491 esac
1492 for ac_var in $ac_precious_vars; do
1493   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1494   eval ac_env_${ac_var}_value=\$${ac_var}
1495   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1496   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1497 done
1500 # Report the --help message.
1502 if test "$ac_init_help" = "long"; then
1503   # Omit some internal or obsolete options to make the list less imposing.
1504   # This message is too long to be a string in the A/UX 3.1 sh.
1505   cat <<_ACEOF
1506 \`configure' configures this package to adapt to many kinds of systems.
1508 Usage: $0 [OPTION]... [VAR=VALUE]...
1510 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1511 VAR=VALUE.  See below for descriptions of some of the useful variables.
1513 Defaults for the options are specified in brackets.
1515 Configuration:
1516   -h, --help              display this help and exit
1517       --help=short        display options specific to this package
1518       --help=recursive    display the short help of all the included packages
1519   -V, --version           display version information and exit
1520   -q, --quiet, --silent   do not print \`checking...' messages
1521       --cache-file=FILE   cache test results in FILE [disabled]
1522   -C, --config-cache      alias for \`--cache-file=config.cache'
1523   -n, --no-create         do not create output files
1524       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1526 Installation directories:
1527   --prefix=PREFIX         install architecture-independent files in PREFIX
1528                           @<:@@S|@ac_default_prefix@:>@
1529   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1530                           @<:@PREFIX@:>@
1532 By default, \`make install' will install all the files in
1533 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1534 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1535 for instance \`--prefix=\$HOME'.
1537 For better control, use the options below.
1539 Fine tuning of the installation directories:
1540   --bindir=DIR            user executables [EPREFIX/bin]
1541   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1542   --libexecdir=DIR        program executables [EPREFIX/libexec]
1543   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1544   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1545   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1546   --libdir=DIR            object code libraries [EPREFIX/lib]
1547   --includedir=DIR        C header files [PREFIX/include]
1548   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1549   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1550   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1551   --infodir=DIR           info documentation [DATAROOTDIR/info]
1552   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1553   --mandir=DIR            man documentation [DATAROOTDIR/man]
1554   --docdir=DIR            documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@
1555   --htmldir=DIR           html documentation [DOCDIR]
1556   --dvidir=DIR            dvi documentation [DOCDIR]
1557   --pdfdir=DIR            pdf documentation [DOCDIR]
1558   --psdir=DIR             ps documentation [DOCDIR]
1559 _ACEOF
1561   cat <<\_ACEOF
1563 Program names:
1564   --program-prefix=PREFIX            prepend PREFIX to installed program names
1565   --program-suffix=SUFFIX            append SUFFIX to installed program names
1566   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1568 System types:
1569   --build=BUILD     configure for building on BUILD [guessed]
1570   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1571 _ACEOF
1574 if test -n "$ac_init_help"; then
1576   cat <<\_ACEOF
1578 Optional Features:
1579   --disable-option-checking  ignore unrecognized --enable/--with options
1580   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1581   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1582   --disable-nls           do not use Native Language Support
1583   --disable-dependency-tracking  speeds up one-time build
1584   --enable-dependency-tracking   do not reject slow dependency extractors
1585   --enable-shared@<:@=PKGS@:>@  build shared libraries @<:@default=yes@:>@
1586   --enable-static@<:@=PKGS@:>@  build static libraries @<:@default=yes@:>@
1587   --enable-fast-install@<:@=PKGS@:>@ 
1588                           optimize for fast installation @<:@default=yes@:>@
1589   --disable-libtool-lock  avoid locking (might break parallel builds)
1590   --disable-schemas-install 
1591                           Disable the schemas installation
1592   --enable-epiphany-extension   Enable Epiphany Extension 
1593   --disable-libnotify     Disable libnotify support
1595 Optional Packages:
1596   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1597   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1598   --with-pic              try to use only PIC/non-PIC objects @<:@default=use
1599                           both@:>@
1600   --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
1601   --with-gconf-source=sourceaddress 
1602                           Config database for installing schema files.
1603   --with-gconf-schema-file-dir=dir 
1604                           Directory for installing schema files.
1605   --with-epiphany-version@<:@=1.6|1.8|1.10|2.14|2.16|2.18|2.20|2.22|2.24|2.26|2.28@:>@ 
1606                           Whether to use epiphany version 1.6 or 1.8 or 1.10
1607                           or 2.14 or 2.16 or 2.18 or 2.20 or 2.22 or 2.24 or
1608                           2.26 or 2.28 (default 1.6)
1609   --with-extension-prefix=path              Epiphany extension prefix
1611 Some influential environment variables:
1612   CC          C compiler command
1613   CFLAGS      C compiler flags
1614   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1615               nonstandard directory <lib dir>
1616   LIBS        libraries to pass to the linker, e.g. -l<library>
1617   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1618               you have headers in a nonstandard directory <include dir>
1619   CPP         C preprocessor
1620   PKG_CONFIG  path to pkg-config utility
1621   GNOME_CFLAGS 
1622               C compiler flags for GNOME, overriding pkg-config
1623   GNOME_LIBS  linker flags for GNOME, overriding pkg-config
1624   DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1625   DBUS_LIBS   linker flags for DBUS, overriding pkg-config
1626   EPIPHANY_DEPENDENCY_CFLAGS 
1627               C compiler flags for EPIPHANY_DEPENDENCY, overriding pkg-config
1628   EPIPHANY_DEPENDENCY_LIBS 
1629               linker flags for EPIPHANY_DEPENDENCY, overriding pkg-config
1630   NOTIFY_CFLAGS 
1631               C compiler flags for NOTIFY, overriding pkg-config
1632   NOTIFY_LIBS linker flags for NOTIFY, overriding pkg-config
1634 Use these variables to override the choices made by `configure' or to help
1635 it to find libraries and programs with nonstandard names/locations.
1637 Report bugs to the package provider.
1638 _ACEOF
1639 ac_status=$?
1642 if test "$ac_init_help" = "recursive"; then
1643   # If there are subdirs, report their specific --help.
1644   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1645     test -d "$ac_dir" ||
1646       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1647       continue
1648     ac_builddir=.
1650 case "$ac_dir" in
1651 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1653   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1654   # A ".." for each directory in $ac_dir_suffix.
1655   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1656   case $ac_top_builddir_sub in
1657   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1658   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1659   esac ;;
1660 esac
1661 ac_abs_top_builddir=$ac_pwd
1662 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1663 # for backward compatibility:
1664 ac_top_builddir=$ac_top_build_prefix
1666 case $srcdir in
1667   .)  # We are building in place.
1668     ac_srcdir=.
1669     ac_top_srcdir=$ac_top_builddir_sub
1670     ac_abs_top_srcdir=$ac_pwd ;;
1671   [\\/]* | ?:[\\/]* )  # Absolute name.
1672     ac_srcdir=$srcdir$ac_dir_suffix;
1673     ac_top_srcdir=$srcdir
1674     ac_abs_top_srcdir=$srcdir ;;
1675   *) # Relative name.
1676     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1677     ac_top_srcdir=$ac_top_build_prefix$srcdir
1678     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1679 esac
1680 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1682     cd "$ac_dir" || { ac_status=$?; continue; }
1683     # Check for guested configure.
1684     if test -f "$ac_srcdir/configure.gnu"; then
1685       echo &&
1686       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1687     elif test -f "$ac_srcdir/configure"; then
1688       echo &&
1689       $SHELL "$ac_srcdir/configure" --help=recursive
1690     else
1691       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1692     fi || ac_status=$?
1693     cd "$ac_pwd" || { ac_status=$?; break; }
1694   done
1697 test -n "$ac_init_help" && exit $ac_status
1698 if $ac_init_version; then
1699   cat <<\_ACEOF
1700 configure
1701 generated by GNU Autoconf 2.65
1703 Copyright (C) 2009 Free Software Foundation, Inc.
1704 This configure script is free software; the Free Software Foundation
1705 gives unlimited permission to copy, distribute and modify it.
1706 _ACEOF
1707   exit
1710 ## ------------------------ ##
1711 ## Autoconf initialization. ##
1712 ## ------------------------ ##
1714 @%:@ ac_fn_c_try_compile LINENO
1715 @%:@ --------------------------
1716 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1717 ac_fn_c_try_compile ()
1719   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1720   rm -f conftest.$ac_objext
1721   if { { ac_try="$ac_compile"
1722 case "(($ac_try" in
1723   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1724   *) ac_try_echo=$ac_try;;
1725 esac
1726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1727 $as_echo "$ac_try_echo"; } >&5
1728   (eval "$ac_compile") 2>conftest.err
1729   ac_status=$?
1730   if test -s conftest.err; then
1731     grep -v '^ *+' conftest.err >conftest.er1
1732     cat conftest.er1 >&5
1733     mv -f conftest.er1 conftest.err
1734   fi
1735   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1736   test $ac_status = 0; } && {
1737          test -z "$ac_c_werror_flag" ||
1738          test ! -s conftest.err
1739        } && test -s conftest.$ac_objext; then :
1740   ac_retval=0
1741 else
1742   $as_echo "$as_me: failed program was:" >&5
1743 sed 's/^/| /' conftest.$ac_ext >&5
1745         ac_retval=1
1747   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1748   as_fn_set_status $ac_retval
1750 } @%:@ ac_fn_c_try_compile
1752 @%:@ ac_fn_c_try_link LINENO
1753 @%:@ -----------------------
1754 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1755 ac_fn_c_try_link ()
1757   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1758   rm -f conftest.$ac_objext conftest$ac_exeext
1759   if { { ac_try="$ac_link"
1760 case "(($ac_try" in
1761   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1762   *) ac_try_echo=$ac_try;;
1763 esac
1764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1765 $as_echo "$ac_try_echo"; } >&5
1766   (eval "$ac_link") 2>conftest.err
1767   ac_status=$?
1768   if test -s conftest.err; then
1769     grep -v '^ *+' conftest.err >conftest.er1
1770     cat conftest.er1 >&5
1771     mv -f conftest.er1 conftest.err
1772   fi
1773   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1774   test $ac_status = 0; } && {
1775          test -z "$ac_c_werror_flag" ||
1776          test ! -s conftest.err
1777        } && test -s conftest$ac_exeext && {
1778          test "$cross_compiling" = yes ||
1779          $as_test_x conftest$ac_exeext
1780        }; then :
1781   ac_retval=0
1782 else
1783   $as_echo "$as_me: failed program was:" >&5
1784 sed 's/^/| /' conftest.$ac_ext >&5
1786         ac_retval=1
1788   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1789   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1790   # interfere with the next link command; also delete a directory that is
1791   # left behind by Apple's compiler.  We do this before executing the actions.
1792   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1793   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1794   as_fn_set_status $ac_retval
1796 } @%:@ ac_fn_c_try_link
1798 @%:@ ac_fn_c_check_func LINENO FUNC VAR
1799 @%:@ ----------------------------------
1800 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1801 ac_fn_c_check_func ()
1803   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1804   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1805 $as_echo_n "checking for $2... " >&6; }
1806 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1807   $as_echo_n "(cached) " >&6
1808 else
1809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1810 /* end confdefs.h.  */
1811 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1812    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1813 #define $2 innocuous_$2
1815 /* System header to define __stub macros and hopefully few prototypes,
1816     which can conflict with char $2 (); below.
1817     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1818     <limits.h> exists even on freestanding compilers.  */
1820 #ifdef __STDC__
1821 # include <limits.h>
1822 #else
1823 # include <assert.h>
1824 #endif
1826 #undef $2
1828 /* Override any GCC internal prototype to avoid an error.
1829    Use char because int might match the return type of a GCC
1830    builtin and then its argument prototype would still apply.  */
1831 #ifdef __cplusplus
1832 extern "C"
1833 #endif
1834 char $2 ();
1835 /* The GNU C library defines this for functions which it implements
1836     to always fail with ENOSYS.  Some functions are actually named
1837     something starting with __ and the normal name is an alias.  */
1838 #if defined __stub_$2 || defined __stub___$2
1839 choke me
1840 #endif
1843 main ()
1845 return $2 ();
1846   ;
1847   return 0;
1849 _ACEOF
1850 if ac_fn_c_try_link "$LINENO"; then :
1851   eval "$3=yes"
1852 else
1853   eval "$3=no"
1855 rm -f core conftest.err conftest.$ac_objext \
1856     conftest$ac_exeext conftest.$ac_ext
1858 eval ac_res=\$$3
1859                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1860 $as_echo "$ac_res" >&6; }
1861   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1863 } @%:@ ac_fn_c_check_func
1865 @%:@ ac_fn_c_try_cpp LINENO
1866 @%:@ ----------------------
1867 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1868 ac_fn_c_try_cpp ()
1870   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1871   if { { ac_try="$ac_cpp conftest.$ac_ext"
1872 case "(($ac_try" in
1873   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1874   *) ac_try_echo=$ac_try;;
1875 esac
1876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1877 $as_echo "$ac_try_echo"; } >&5
1878   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1879   ac_status=$?
1880   if test -s conftest.err; then
1881     grep -v '^ *+' conftest.err >conftest.er1
1882     cat conftest.er1 >&5
1883     mv -f conftest.er1 conftest.err
1884   fi
1885   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1886   test $ac_status = 0; } >/dev/null && {
1887          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1888          test ! -s conftest.err
1889        }; then :
1890   ac_retval=0
1891 else
1892   $as_echo "$as_me: failed program was:" >&5
1893 sed 's/^/| /' conftest.$ac_ext >&5
1895     ac_retval=1
1897   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1898   as_fn_set_status $ac_retval
1900 } @%:@ ac_fn_c_try_cpp
1902 @%:@ ac_fn_c_try_run LINENO
1903 @%:@ ----------------------
1904 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1905 @%:@ that executables *can* be run.
1906 ac_fn_c_try_run ()
1908   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1909   if { { ac_try="$ac_link"
1910 case "(($ac_try" in
1911   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1912   *) ac_try_echo=$ac_try;;
1913 esac
1914 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1915 $as_echo "$ac_try_echo"; } >&5
1916   (eval "$ac_link") 2>&5
1917   ac_status=$?
1918   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1919   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1920   { { case "(($ac_try" in
1921   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1922   *) ac_try_echo=$ac_try;;
1923 esac
1924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1925 $as_echo "$ac_try_echo"; } >&5
1926   (eval "$ac_try") 2>&5
1927   ac_status=$?
1928   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1929   test $ac_status = 0; }; }; then :
1930   ac_retval=0
1931 else
1932   $as_echo "$as_me: program exited with status $ac_status" >&5
1933        $as_echo "$as_me: failed program was:" >&5
1934 sed 's/^/| /' conftest.$ac_ext >&5
1936        ac_retval=$ac_status
1938   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1939   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1940   as_fn_set_status $ac_retval
1942 } @%:@ ac_fn_c_try_run
1944 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1945 @%:@ -------------------------------------------------------
1946 @%:@ Tests whether HEADER exists and can be compiled using the include files in
1947 @%:@ INCLUDES, setting the cache variable VAR accordingly.
1948 ac_fn_c_check_header_compile ()
1950   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1951   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1952 $as_echo_n "checking for $2... " >&6; }
1953 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1954   $as_echo_n "(cached) " >&6
1955 else
1956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1957 /* end confdefs.h.  */
1959 @%:@include <$2>
1960 _ACEOF
1961 if ac_fn_c_try_compile "$LINENO"; then :
1962   eval "$3=yes"
1963 else
1964   eval "$3=no"
1966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1968 eval ac_res=\$$3
1969                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1970 $as_echo "$ac_res" >&6; }
1971   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1973 } @%:@ ac_fn_c_check_header_compile
1975 @%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1976 @%:@ -------------------------------------------------------
1977 @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
1978 @%:@ the include files in INCLUDES and setting the cache variable VAR
1979 @%:@ accordingly.
1980 ac_fn_c_check_header_mongrel ()
1982   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1983   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1984   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1985 $as_echo_n "checking for $2... " >&6; }
1986 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1987   $as_echo_n "(cached) " >&6
1989 eval ac_res=\$$3
1990                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1991 $as_echo "$ac_res" >&6; }
1992 else
1993   # Is the header compilable?
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1995 $as_echo_n "checking $2 usability... " >&6; }
1996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1997 /* end confdefs.h.  */
1999 @%:@include <$2>
2000 _ACEOF
2001 if ac_fn_c_try_compile "$LINENO"; then :
2002   ac_header_compiler=yes
2003 else
2004   ac_header_compiler=no
2006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2008 $as_echo "$ac_header_compiler" >&6; }
2010 # Is the header present?
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2012 $as_echo_n "checking $2 presence... " >&6; }
2013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2014 /* end confdefs.h.  */
2015 @%:@include <$2>
2016 _ACEOF
2017 if ac_fn_c_try_cpp "$LINENO"; then :
2018   ac_header_preproc=yes
2019 else
2020   ac_header_preproc=no
2022 rm -f conftest.err conftest.$ac_ext
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2024 $as_echo "$ac_header_preproc" >&6; }
2026 # So?  What about this header?
2027 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2028   yes:no: )
2029     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2030 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2031     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2032 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2033     ;;
2034   no:yes:* )
2035     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2036 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2037     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2038 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2039     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2040 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2041     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2042 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2043     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2044 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2045     ;;
2046 esac
2047   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2048 $as_echo_n "checking for $2... " >&6; }
2049 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2050   $as_echo_n "(cached) " >&6
2051 else
2052   eval "$3=\$ac_header_compiler"
2054 eval ac_res=\$$3
2055                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2056 $as_echo "$ac_res" >&6; }
2058   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2060 } @%:@ ac_fn_c_check_header_mongrel
2061 cat >config.log <<_ACEOF
2062 This file contains any messages produced by compilers while
2063 running configure, to aid debugging if configure makes a mistake.
2065 It was created by $as_me, which was
2066 generated by GNU Autoconf 2.65.  Invocation command line was
2068   $ $0 $@
2070 _ACEOF
2071 exec 5>>config.log
2073 cat <<_ASUNAME
2074 ## --------- ##
2075 ## Platform. ##
2076 ## --------- ##
2078 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2079 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2080 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2081 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2082 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2084 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2085 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2087 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2088 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2089 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2090 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2091 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2092 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2093 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2095 _ASUNAME
2097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2098 for as_dir in $PATH
2100   IFS=$as_save_IFS
2101   test -z "$as_dir" && as_dir=.
2102     $as_echo "PATH: $as_dir"
2103   done
2104 IFS=$as_save_IFS
2106 } >&5
2108 cat >&5 <<_ACEOF
2111 ## ----------- ##
2112 ## Core tests. ##
2113 ## ----------- ##
2115 _ACEOF
2118 # Keep a trace of the command line.
2119 # Strip out --no-create and --no-recursion so they do not pile up.
2120 # Strip out --silent because we don't want to record it for future runs.
2121 # Also quote any args containing shell meta-characters.
2122 # Make two passes to allow for proper duplicate-argument suppression.
2123 ac_configure_args=
2124 ac_configure_args0=
2125 ac_configure_args1=
2126 ac_must_keep_next=false
2127 for ac_pass in 1 2
2129   for ac_arg
2130   do
2131     case $ac_arg in
2132     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2133     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2134     | -silent | --silent | --silen | --sile | --sil)
2135       continue ;;
2136     *\'*)
2137       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2138     esac
2139     case $ac_pass in
2140     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2141     2)
2142       as_fn_append ac_configure_args1 " '$ac_arg'"
2143       if test $ac_must_keep_next = true; then
2144         ac_must_keep_next=false # Got value, back to normal.
2145       else
2146         case $ac_arg in
2147           *=* | --config-cache | -C | -disable-* | --disable-* \
2148           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2149           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2150           | -with-* | --with-* | -without-* | --without-* | --x)
2151             case "$ac_configure_args0 " in
2152               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2153             esac
2154             ;;
2155           -* ) ac_must_keep_next=true ;;
2156         esac
2157       fi
2158       as_fn_append ac_configure_args " '$ac_arg'"
2159       ;;
2160     esac
2161   done
2162 done
2163 { ac_configure_args0=; unset ac_configure_args0;}
2164 { ac_configure_args1=; unset ac_configure_args1;}
2166 # When interrupted or exit'd, cleanup temporary files, and complete
2167 # config.log.  We remove comments because anyway the quotes in there
2168 # would cause problems or look ugly.
2169 # WARNING: Use '\'' to represent an apostrophe within the trap.
2170 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2171 trap 'exit_status=$?
2172   # Save into config.log some information that might help in debugging.
2173   {
2174     echo
2176     cat <<\_ASBOX
2177 ## ---------------- ##
2178 ## Cache variables. ##
2179 ## ---------------- ##
2180 _ASBOX
2181     echo
2182     # The following way of writing the cache mishandles newlines in values,
2184   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2185     eval ac_val=\$$ac_var
2186     case $ac_val in #(
2187     *${as_nl}*)
2188       case $ac_var in #(
2189       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2190 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2191       esac
2192       case $ac_var in #(
2193       _ | IFS | as_nl) ;; #(
2194       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2195       *) { eval $ac_var=; unset $ac_var;} ;;
2196       esac ;;
2197     esac
2198   done
2199   (set) 2>&1 |
2200     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2201     *${as_nl}ac_space=\ *)
2202       sed -n \
2203         "s/'\''/'\''\\\\'\'''\''/g;
2204           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2205       ;; #(
2206     *)
2207       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2208       ;;
2209     esac |
2210     sort
2212     echo
2214     cat <<\_ASBOX
2215 ## ----------------- ##
2216 ## Output variables. ##
2217 ## ----------------- ##
2218 _ASBOX
2219     echo
2220     for ac_var in $ac_subst_vars
2221     do
2222       eval ac_val=\$$ac_var
2223       case $ac_val in
2224       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2225       esac
2226       $as_echo "$ac_var='\''$ac_val'\''"
2227     done | sort
2228     echo
2230     if test -n "$ac_subst_files"; then
2231       cat <<\_ASBOX
2232 ## ------------------- ##
2233 ## File substitutions. ##
2234 ## ------------------- ##
2235 _ASBOX
2236       echo
2237       for ac_var in $ac_subst_files
2238       do
2239         eval ac_val=\$$ac_var
2240         case $ac_val in
2241         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2242         esac
2243         $as_echo "$ac_var='\''$ac_val'\''"
2244       done | sort
2245       echo
2246     fi
2248     if test -s confdefs.h; then
2249       cat <<\_ASBOX
2250 ## ----------- ##
2251 ## confdefs.h. ##
2252 ## ----------- ##
2253 _ASBOX
2254       echo
2255       cat confdefs.h
2256       echo
2257     fi
2258     test "$ac_signal" != 0 &&
2259       $as_echo "$as_me: caught signal $ac_signal"
2260     $as_echo "$as_me: exit $exit_status"
2261   } >&5
2262   rm -f core *.core core.conftest.* &&
2263     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2264     exit $exit_status
2265 ' 0
2266 for ac_signal in 1 2 13 15; do
2267   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2268 done
2269 ac_signal=0
2271 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2272 rm -f -r conftest* confdefs.h
2274 $as_echo "/* confdefs.h */" > confdefs.h
2276 # Predefined preprocessor variables.
2278 cat >>confdefs.h <<_ACEOF
2279 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
2280 _ACEOF
2282 cat >>confdefs.h <<_ACEOF
2283 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2284 _ACEOF
2286 cat >>confdefs.h <<_ACEOF
2287 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2288 _ACEOF
2290 cat >>confdefs.h <<_ACEOF
2291 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
2292 _ACEOF
2294 cat >>confdefs.h <<_ACEOF
2295 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2296 _ACEOF
2298 cat >>confdefs.h <<_ACEOF
2299 @%:@define PACKAGE_URL "$PACKAGE_URL"
2300 _ACEOF
2303 # Let the site file select an alternate cache file if it wants to.
2304 # Prefer an explicitly selected file to automatically selected ones.
2305 ac_site_file1=NONE
2306 ac_site_file2=NONE
2307 if test -n "$CONFIG_SITE"; then
2308   ac_site_file1=$CONFIG_SITE
2309 elif test "x$prefix" != xNONE; then
2310   ac_site_file1=$prefix/share/config.site
2311   ac_site_file2=$prefix/etc/config.site
2312 else
2313   ac_site_file1=$ac_default_prefix/share/config.site
2314   ac_site_file2=$ac_default_prefix/etc/config.site
2316 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2318   test "x$ac_site_file" = xNONE && continue
2319   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2320     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2321 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2322     sed 's/^/| /' "$ac_site_file" >&5
2323     . "$ac_site_file"
2324   fi
2325 done
2327 if test -r "$cache_file"; then
2328   # Some versions of bash will fail to source /dev/null (special files
2329   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2330   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2331     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2332 $as_echo "$as_me: loading cache $cache_file" >&6;}
2333     case $cache_file in
2334       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2335       *)                      . "./$cache_file";;
2336     esac
2337   fi
2338 else
2339   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2340 $as_echo "$as_me: creating cache $cache_file" >&6;}
2341   >$cache_file
2344 # Check that the precious variables saved in the cache have kept the same
2345 # value.
2346 ac_cache_corrupted=false
2347 for ac_var in $ac_precious_vars; do
2348   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2349   eval ac_new_set=\$ac_env_${ac_var}_set
2350   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2351   eval ac_new_val=\$ac_env_${ac_var}_value
2352   case $ac_old_set,$ac_new_set in
2353     set,)
2354       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2355 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2356       ac_cache_corrupted=: ;;
2357     ,set)
2358       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2359 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2360       ac_cache_corrupted=: ;;
2361     ,);;
2362     *)
2363       if test "x$ac_old_val" != "x$ac_new_val"; then
2364         # differences in whitespace do not lead to failure.
2365         ac_old_val_w=`echo x $ac_old_val`
2366         ac_new_val_w=`echo x $ac_new_val`
2367         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2368           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2369 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2370           ac_cache_corrupted=:
2371         else
2372           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2373 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2374           eval $ac_var=\$ac_old_val
2375         fi
2376         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2377 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2378         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2379 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2380       fi;;
2381   esac
2382   # Pass precious variables to config.status.
2383   if test "$ac_new_set" = set; then
2384     case $ac_new_val in
2385     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2386     *) ac_arg=$ac_var=$ac_new_val ;;
2387     esac
2388     case " $ac_configure_args " in
2389       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2390       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2391     esac
2392   fi
2393 done
2394 if $ac_cache_corrupted; then
2395   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2397   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2398 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2399   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2401 ## -------------------- ##
2402 ## Main body of script. ##
2403 ## -------------------- ##
2405 ac_ext=c
2406 ac_cpp='$CPP $CPPFLAGS'
2407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2412 am__api_version='1.11'
2414 ac_aux_dir=
2415 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2416   for ac_t in install-sh install.sh shtool; do
2417     if test -f "$ac_dir/$ac_t"; then
2418       ac_aux_dir=$ac_dir
2419       ac_install_sh="$ac_aux_dir/$ac_t -c"
2420       break 2
2421     fi
2422   done
2423 done
2424 if test -z "$ac_aux_dir"; then
2425   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2428 # These three variables are undocumented and unsupported,
2429 # and are intended to be withdrawn in a future Autoconf release.
2430 # They can cause serious problems if a builder's source tree is in a directory
2431 # whose full name contains unusual characters.
2432 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2433 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2434 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2437 # Find a good install program.  We prefer a C program (faster),
2438 # so one script is as good as another.  But avoid the broken or
2439 # incompatible versions:
2440 # SysV /etc/install, /usr/sbin/install
2441 # SunOS /usr/etc/install
2442 # IRIX /sbin/install
2443 # AIX /bin/install
2444 # AmigaOS /C/install, which installs bootblocks on floppy discs
2445 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2446 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2447 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2448 # OS/2's system install, which has a completely different semantic
2449 # ./install, which can be erroneously created by make from ./install.sh.
2450 # Reject install programs that cannot install multiple files.
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2452 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2453 if test -z "$INSTALL"; then
2454 if test "${ac_cv_path_install+set}" = set; then :
2455   $as_echo_n "(cached) " >&6
2456 else
2457   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2458 for as_dir in $PATH
2460   IFS=$as_save_IFS
2461   test -z "$as_dir" && as_dir=.
2462     # Account for people who put trailing slashes in PATH elements.
2463 case $as_dir/ in @%:@((
2464   ./ | .// | /[cC]/* | \
2465   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2466   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2467   /usr/ucb/* ) ;;
2468   *)
2469     # OSF1 and SCO ODT 3.0 have their own names for install.
2470     # Don't use installbsd from OSF since it installs stuff as root
2471     # by default.
2472     for ac_prog in ginstall scoinst install; do
2473       for ac_exec_ext in '' $ac_executable_extensions; do
2474         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2475           if test $ac_prog = install &&
2476             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2477             # AIX install.  It has an incompatible calling convention.
2478             :
2479           elif test $ac_prog = install &&
2480             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2481             # program-specific install script used by HP pwplus--don't use.
2482             :
2483           else
2484             rm -rf conftest.one conftest.two conftest.dir
2485             echo one > conftest.one
2486             echo two > conftest.two
2487             mkdir conftest.dir
2488             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2489               test -s conftest.one && test -s conftest.two &&
2490               test -s conftest.dir/conftest.one &&
2491               test -s conftest.dir/conftest.two
2492             then
2493               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2494               break 3
2495             fi
2496           fi
2497         fi
2498       done
2499     done
2500     ;;
2501 esac
2503   done
2504 IFS=$as_save_IFS
2506 rm -rf conftest.one conftest.two conftest.dir
2509   if test "${ac_cv_path_install+set}" = set; then
2510     INSTALL=$ac_cv_path_install
2511   else
2512     # As a last resort, use the slow shell script.  Don't cache a
2513     # value for INSTALL within a source directory, because that will
2514     # break other packages using the cache if that directory is
2515     # removed, or if the value is a relative name.
2516     INSTALL=$ac_install_sh
2517   fi
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2520 $as_echo "$INSTALL" >&6; }
2522 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2523 # It thinks the first close brace ends the variable substitution.
2524 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2526 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2528 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2531 $as_echo_n "checking whether build environment is sane... " >&6; }
2532 # Just in case
2533 sleep 1
2534 echo timestamp > conftest.file
2535 # Reject unsafe characters in $srcdir or the absolute working directory
2536 # name.  Accept space and tab only in the latter.
2537 am_lf='
2539 case `pwd` in
2540   *[\\\"\#\$\&\'\`$am_lf]*)
2541     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2542 esac
2543 case $srcdir in
2544   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2545     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2546 esac
2548 # Do `set' in a subshell so we don't clobber the current shell's
2549 # arguments.  Must try -L first in case configure is actually a
2550 # symlink; some systems play weird games with the mod time of symlinks
2551 # (eg FreeBSD returns the mod time of the symlink's containing
2552 # directory).
2553 if (
2554    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2555    if test "$*" = "X"; then
2556       # -L didn't work.
2557       set X `ls -t "$srcdir/configure" conftest.file`
2558    fi
2559    rm -f conftest.file
2560    if test "$*" != "X $srcdir/configure conftest.file" \
2561       && test "$*" != "X conftest.file $srcdir/configure"; then
2563       # If neither matched, then we have a broken ls.  This can happen
2564       # if, for instance, CONFIG_SHELL is bash and it inherits a
2565       # broken ls alias from the environment.  This has actually
2566       # happened.  Such a system could not be considered "sane".
2567       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2568 alias in your environment" "$LINENO" 5
2569    fi
2571    test "$2" = conftest.file
2572    )
2573 then
2574    # Ok.
2575    :
2576 else
2577    as_fn_error "newly created file is older than distributed files!
2578 Check your system clock" "$LINENO" 5
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2581 $as_echo "yes" >&6; }
2582 test "$program_prefix" != NONE &&
2583   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2584 # Use a double $ so make ignores it.
2585 test "$program_suffix" != NONE &&
2586   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2587 # Double any \ or $.
2588 # By default was `s,x,x', remove it if useless.
2589 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2590 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2592 # expand $ac_aux_dir to an absolute path
2593 am_aux_dir=`cd $ac_aux_dir && pwd`
2595 if test x"${MISSING+set}" != xset; then
2596   case $am_aux_dir in
2597   *\ * | *\     *)
2598     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2599   *)
2600     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2601   esac
2603 # Use eval to expand $SHELL
2604 if eval "$MISSING --run true"; then
2605   am_missing_run="$MISSING --run "
2606 else
2607   am_missing_run=
2608   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2609 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2612 if test x"${install_sh}" != xset; then
2613   case $am_aux_dir in
2614   *\ * | *\     *)
2615     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2616   *)
2617     install_sh="\${SHELL} $am_aux_dir/install-sh"
2618   esac
2621 # Installed binaries are usually stripped using `strip' when the user
2622 # run `make install-strip'.  However `strip' might not be the right
2623 # tool to use in cross-compilation environments, therefore Automake
2624 # will honor the `STRIP' environment variable to overrule this program.
2625 if test "$cross_compiling" != no; then
2626   if test -n "$ac_tool_prefix"; then
2627   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2628 set dummy ${ac_tool_prefix}strip; ac_word=$2
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2630 $as_echo_n "checking for $ac_word... " >&6; }
2631 if test "${ac_cv_prog_STRIP+set}" = set; then :
2632   $as_echo_n "(cached) " >&6
2633 else
2634   if test -n "$STRIP"; then
2635   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2636 else
2637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2638 for as_dir in $PATH
2640   IFS=$as_save_IFS
2641   test -z "$as_dir" && as_dir=.
2642     for ac_exec_ext in '' $ac_executable_extensions; do
2643   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2644     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2645     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2646     break 2
2647   fi
2648 done
2649   done
2650 IFS=$as_save_IFS
2654 STRIP=$ac_cv_prog_STRIP
2655 if test -n "$STRIP"; then
2656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2657 $as_echo "$STRIP" >&6; }
2658 else
2659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2660 $as_echo "no" >&6; }
2665 if test -z "$ac_cv_prog_STRIP"; then
2666   ac_ct_STRIP=$STRIP
2667   # Extract the first word of "strip", so it can be a program name with args.
2668 set dummy strip; ac_word=$2
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2670 $as_echo_n "checking for $ac_word... " >&6; }
2671 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2672   $as_echo_n "(cached) " >&6
2673 else
2674   if test -n "$ac_ct_STRIP"; then
2675   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2676 else
2677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2678 for as_dir in $PATH
2680   IFS=$as_save_IFS
2681   test -z "$as_dir" && as_dir=.
2682     for ac_exec_ext in '' $ac_executable_extensions; do
2683   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2684     ac_cv_prog_ac_ct_STRIP="strip"
2685     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2686     break 2
2687   fi
2688 done
2689   done
2690 IFS=$as_save_IFS
2694 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2695 if test -n "$ac_ct_STRIP"; then
2696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2697 $as_echo "$ac_ct_STRIP" >&6; }
2698 else
2699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2700 $as_echo "no" >&6; }
2703   if test "x$ac_ct_STRIP" = x; then
2704     STRIP=":"
2705   else
2706     case $cross_compiling:$ac_tool_warned in
2707 yes:)
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2709 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2710 ac_tool_warned=yes ;;
2711 esac
2712     STRIP=$ac_ct_STRIP
2713   fi
2714 else
2715   STRIP="$ac_cv_prog_STRIP"
2719 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2722 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2723 if test -z "$MKDIR_P"; then
2724   if test "${ac_cv_path_mkdir+set}" = set; then :
2725   $as_echo_n "(cached) " >&6
2726 else
2727   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2728 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2730   IFS=$as_save_IFS
2731   test -z "$as_dir" && as_dir=.
2732     for ac_prog in mkdir gmkdir; do
2733          for ac_exec_ext in '' $ac_executable_extensions; do
2734            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2735            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2736              'mkdir (GNU coreutils) '* | \
2737              'mkdir (coreutils) '* | \
2738              'mkdir (fileutils) '4.1*)
2739                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2740                break 3;;
2741            esac
2742          done
2743        done
2744   done
2745 IFS=$as_save_IFS
2749   test -d ./--version && rmdir ./--version
2750   if test "${ac_cv_path_mkdir+set}" = set; then
2751     MKDIR_P="$ac_cv_path_mkdir -p"
2752   else
2753     # As a last resort, use the slow shell script.  Don't cache a
2754     # value for MKDIR_P within a source directory, because that will
2755     # break other packages using the cache if that directory is
2756     # removed, or if the value is a relative name.
2757     MKDIR_P="$ac_install_sh -d"
2758   fi
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2761 $as_echo "$MKDIR_P" >&6; }
2763 mkdir_p="$MKDIR_P"
2764 case $mkdir_p in
2765   [\\/$]* | ?:[\\/]*) ;;
2766   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2767 esac
2769 for ac_prog in gawk mawk nawk awk
2771   # Extract the first word of "$ac_prog", so it can be a program name with args.
2772 set dummy $ac_prog; ac_word=$2
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2774 $as_echo_n "checking for $ac_word... " >&6; }
2775 if test "${ac_cv_prog_AWK+set}" = set; then :
2776   $as_echo_n "(cached) " >&6
2777 else
2778   if test -n "$AWK"; then
2779   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2780 else
2781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2782 for as_dir in $PATH
2784   IFS=$as_save_IFS
2785   test -z "$as_dir" && as_dir=.
2786     for ac_exec_ext in '' $ac_executable_extensions; do
2787   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2788     ac_cv_prog_AWK="$ac_prog"
2789     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2790     break 2
2791   fi
2792 done
2793   done
2794 IFS=$as_save_IFS
2798 AWK=$ac_cv_prog_AWK
2799 if test -n "$AWK"; then
2800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2801 $as_echo "$AWK" >&6; }
2802 else
2803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2804 $as_echo "no" >&6; }
2808   test -n "$AWK" && break
2809 done
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2812 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2813 set x ${MAKE-make}
2814 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2815 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2816   $as_echo_n "(cached) " >&6
2817 else
2818   cat >conftest.make <<\_ACEOF
2819 SHELL = /bin/sh
2820 all:
2821         @echo '@@@%%%=$(MAKE)=@@@%%%'
2822 _ACEOF
2823 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2824 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2825   *@@@%%%=?*=@@@%%%*)
2826     eval ac_cv_prog_make_${ac_make}_set=yes;;
2827   *)
2828     eval ac_cv_prog_make_${ac_make}_set=no;;
2829 esac
2830 rm -f conftest.make
2832 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2834 $as_echo "yes" >&6; }
2835   SET_MAKE=
2836 else
2837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2838 $as_echo "no" >&6; }
2839   SET_MAKE="MAKE=${MAKE-make}"
2842 rm -rf .tst 2>/dev/null
2843 mkdir .tst 2>/dev/null
2844 if test -d .tst; then
2845   am__leading_dot=.
2846 else
2847   am__leading_dot=_
2849 rmdir .tst 2>/dev/null
2851 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2852   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2853   # is not polluted with repeated "-I."
2854   am__isrc=' -I$(srcdir)'
2855   # test to see if srcdir already configured
2856   if test -f $srcdir/config.status; then
2857     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2858   fi
2861 # test whether we have cygpath
2862 if test -z "$CYGPATH_W"; then
2863   if (cygpath --version) >/dev/null 2>/dev/null; then
2864     CYGPATH_W='cygpath -w'
2865   else
2866     CYGPATH_W=echo
2867   fi
2871 # Define the identity of the package.
2872  PACKAGE=gwget
2873  VERSION=1.0.4
2876 cat >>confdefs.h <<_ACEOF
2877 @%:@define PACKAGE "$PACKAGE"
2878 _ACEOF
2881 cat >>confdefs.h <<_ACEOF
2882 @%:@define VERSION "$VERSION"
2883 _ACEOF
2885 # Some tools Automake needs.
2887 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2890 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2893 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2896 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2899 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2901 # We need awk for the "check" target.  The system "awk" is bad on
2902 # some platforms.
2903 # Always define AMTAR for backward compatibility.
2905 AMTAR=${AMTAR-"${am_missing_run}tar"}
2907 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2913 ac_config_headers="$ac_config_headers config.h"
2916 # Extract the first word of "gconftool-2", so it can be a program name with args.
2917 set dummy gconftool-2; ac_word=$2
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2919 $as_echo_n "checking for $ac_word... " >&6; }
2920 if test "${ac_cv_path_GCONFTOOL+set}" = set; then :
2921   $as_echo_n "(cached) " >&6
2922 else
2923   case $GCONFTOOL in
2924   [\\/]* | ?:[\\/]*)
2925   ac_cv_path_GCONFTOOL="$GCONFTOOL" # Let the user override the test with a path.
2926   ;;
2927   *)
2928   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2929 for as_dir in $PATH
2931   IFS=$as_save_IFS
2932   test -z "$as_dir" && as_dir=.
2933     for ac_exec_ext in '' $ac_executable_extensions; do
2934   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2935     ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
2936     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2937     break 2
2938   fi
2939 done
2940   done
2941 IFS=$as_save_IFS
2943   ;;
2944 esac
2946 GCONFTOOL=$ac_cv_path_GCONFTOOL
2947 if test -n "$GCONFTOOL"; then
2948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONFTOOL" >&5
2949 $as_echo "$GCONFTOOL" >&6; }
2950 else
2951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2952 $as_echo "no" >&6; }
2957   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
2958 $as_echo_n "checking whether NLS is requested... " >&6; }
2959     @%:@ Check whether --enable-nls was given.
2960 if test "${enable_nls+set}" = set; then :
2961   enableval=$enable_nls; USE_NLS=$enableval
2962 else
2963   USE_NLS=yes
2966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
2967 $as_echo "$USE_NLS" >&6; }
2968   
2970 DEPDIR="${am__leading_dot}deps"
2972 ac_config_commands="$ac_config_commands depfiles"
2975 am_make=${MAKE-make}
2976 cat > confinc << 'END'
2977 am__doit:
2978         @echo this is the am__doit target
2979 .PHONY: am__doit
2981 # If we don't find an include directive, just comment out the code.
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2983 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2984 am__include="#"
2985 am__quote=
2986 _am_result=none
2987 # First try GNU make style include.
2988 echo "include confinc" > confmf
2989 # Ignore all kinds of additional output from `make'.
2990 case `$am_make -s -f confmf 2> /dev/null` in #(
2991 *the\ am__doit\ target*)
2992   am__include=include
2993   am__quote=
2994   _am_result=GNU
2995   ;;
2996 esac
2997 # Now try BSD make style include.
2998 if test "$am__include" = "#"; then
2999    echo '.include "confinc"' > confmf
3000    case `$am_make -s -f confmf 2> /dev/null` in #(
3001    *the\ am__doit\ target*)
3002      am__include=.include
3003      am__quote="\""
3004      _am_result=BSD
3005      ;;
3006    esac
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3011 $as_echo "$_am_result" >&6; }
3012 rm -f confinc confmf
3014 @%:@ Check whether --enable-dependency-tracking was given.
3015 if test "${enable_dependency_tracking+set}" = set; then :
3016   enableval=$enable_dependency_tracking; 
3019 if test "x$enable_dependency_tracking" != xno; then
3020   am_depcomp="$ac_aux_dir/depcomp"
3021   AMDEPBACKSLASH='\'
3023  if test "x$enable_dependency_tracking" != xno; then
3024   AMDEP_TRUE=
3025   AMDEP_FALSE='#'
3026 else
3027   AMDEP_TRUE='#'
3028   AMDEP_FALSE=
3032 ac_ext=c
3033 ac_cpp='$CPP $CPPFLAGS'
3034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3037 if test -n "$ac_tool_prefix"; then
3038   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3039 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3041 $as_echo_n "checking for $ac_word... " >&6; }
3042 if test "${ac_cv_prog_CC+set}" = set; then :
3043   $as_echo_n "(cached) " >&6
3044 else
3045   if test -n "$CC"; then
3046   ac_cv_prog_CC="$CC" # Let the user override the test.
3047 else
3048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3049 for as_dir in $PATH
3051   IFS=$as_save_IFS
3052   test -z "$as_dir" && as_dir=.
3053     for ac_exec_ext in '' $ac_executable_extensions; do
3054   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3055     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3056     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3057     break 2
3058   fi
3059 done
3060   done
3061 IFS=$as_save_IFS
3065 CC=$ac_cv_prog_CC
3066 if test -n "$CC"; then
3067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3068 $as_echo "$CC" >&6; }
3069 else
3070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3071 $as_echo "no" >&6; }
3076 if test -z "$ac_cv_prog_CC"; then
3077   ac_ct_CC=$CC
3078   # Extract the first word of "gcc", so it can be a program name with args.
3079 set dummy gcc; ac_word=$2
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3081 $as_echo_n "checking for $ac_word... " >&6; }
3082 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3083   $as_echo_n "(cached) " >&6
3084 else
3085   if test -n "$ac_ct_CC"; then
3086   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3087 else
3088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3089 for as_dir in $PATH
3091   IFS=$as_save_IFS
3092   test -z "$as_dir" && as_dir=.
3093     for ac_exec_ext in '' $ac_executable_extensions; do
3094   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3095     ac_cv_prog_ac_ct_CC="gcc"
3096     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3097     break 2
3098   fi
3099 done
3100   done
3101 IFS=$as_save_IFS
3105 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3106 if test -n "$ac_ct_CC"; then
3107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3108 $as_echo "$ac_ct_CC" >&6; }
3109 else
3110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3111 $as_echo "no" >&6; }
3114   if test "x$ac_ct_CC" = x; then
3115     CC=""
3116   else
3117     case $cross_compiling:$ac_tool_warned in
3118 yes:)
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3121 ac_tool_warned=yes ;;
3122 esac
3123     CC=$ac_ct_CC
3124   fi
3125 else
3126   CC="$ac_cv_prog_CC"
3129 if test -z "$CC"; then
3130           if test -n "$ac_tool_prefix"; then
3131     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3132 set dummy ${ac_tool_prefix}cc; ac_word=$2
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3134 $as_echo_n "checking for $ac_word... " >&6; }
3135 if test "${ac_cv_prog_CC+set}" = set; then :
3136   $as_echo_n "(cached) " >&6
3137 else
3138   if test -n "$CC"; then
3139   ac_cv_prog_CC="$CC" # Let the user override the test.
3140 else
3141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3142 for as_dir in $PATH
3144   IFS=$as_save_IFS
3145   test -z "$as_dir" && as_dir=.
3146     for ac_exec_ext in '' $ac_executable_extensions; do
3147   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3148     ac_cv_prog_CC="${ac_tool_prefix}cc"
3149     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3150     break 2
3151   fi
3152 done
3153   done
3154 IFS=$as_save_IFS
3158 CC=$ac_cv_prog_CC
3159 if test -n "$CC"; then
3160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3161 $as_echo "$CC" >&6; }
3162 else
3163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3164 $as_echo "no" >&6; }
3168   fi
3170 if test -z "$CC"; then
3171   # Extract the first word of "cc", so it can be a program name with args.
3172 set dummy cc; ac_word=$2
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3174 $as_echo_n "checking for $ac_word... " >&6; }
3175 if test "${ac_cv_prog_CC+set}" = set; then :
3176   $as_echo_n "(cached) " >&6
3177 else
3178   if test -n "$CC"; then
3179   ac_cv_prog_CC="$CC" # Let the user override the test.
3180 else
3181   ac_prog_rejected=no
3182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3183 for as_dir in $PATH
3185   IFS=$as_save_IFS
3186   test -z "$as_dir" && as_dir=.
3187     for ac_exec_ext in '' $ac_executable_extensions; do
3188   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3189     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3190        ac_prog_rejected=yes
3191        continue
3192      fi
3193     ac_cv_prog_CC="cc"
3194     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3195     break 2
3196   fi
3197 done
3198   done
3199 IFS=$as_save_IFS
3201 if test $ac_prog_rejected = yes; then
3202   # We found a bogon in the path, so make sure we never use it.
3203   set dummy $ac_cv_prog_CC
3204   shift
3205   if test $@%:@ != 0; then
3206     # We chose a different compiler from the bogus one.
3207     # However, it has the same basename, so the bogon will be chosen
3208     # first if we set CC to just the basename; use the full file name.
3209     shift
3210     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3211   fi
3215 CC=$ac_cv_prog_CC
3216 if test -n "$CC"; then
3217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3218 $as_echo "$CC" >&6; }
3219 else
3220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3221 $as_echo "no" >&6; }
3226 if test -z "$CC"; then
3227   if test -n "$ac_tool_prefix"; then
3228   for ac_prog in cl.exe
3229   do
3230     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3231 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3233 $as_echo_n "checking for $ac_word... " >&6; }
3234 if test "${ac_cv_prog_CC+set}" = set; then :
3235   $as_echo_n "(cached) " >&6
3236 else
3237   if test -n "$CC"; then
3238   ac_cv_prog_CC="$CC" # Let the user override the test.
3239 else
3240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3241 for as_dir in $PATH
3243   IFS=$as_save_IFS
3244   test -z "$as_dir" && as_dir=.
3245     for ac_exec_ext in '' $ac_executable_extensions; do
3246   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3247     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3248     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3249     break 2
3250   fi
3251 done
3252   done
3253 IFS=$as_save_IFS
3257 CC=$ac_cv_prog_CC
3258 if test -n "$CC"; then
3259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3260 $as_echo "$CC" >&6; }
3261 else
3262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3263 $as_echo "no" >&6; }
3267     test -n "$CC" && break
3268   done
3270 if test -z "$CC"; then
3271   ac_ct_CC=$CC
3272   for ac_prog in cl.exe
3274   # Extract the first word of "$ac_prog", so it can be a program name with args.
3275 set dummy $ac_prog; ac_word=$2
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3277 $as_echo_n "checking for $ac_word... " >&6; }
3278 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3279   $as_echo_n "(cached) " >&6
3280 else
3281   if test -n "$ac_ct_CC"; then
3282   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3283 else
3284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3285 for as_dir in $PATH
3287   IFS=$as_save_IFS
3288   test -z "$as_dir" && as_dir=.
3289     for ac_exec_ext in '' $ac_executable_extensions; do
3290   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3291     ac_cv_prog_ac_ct_CC="$ac_prog"
3292     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3293     break 2
3294   fi
3295 done
3296   done
3297 IFS=$as_save_IFS
3301 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3302 if test -n "$ac_ct_CC"; then
3303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3304 $as_echo "$ac_ct_CC" >&6; }
3305 else
3306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3307 $as_echo "no" >&6; }
3311   test -n "$ac_ct_CC" && break
3312 done
3314   if test "x$ac_ct_CC" = x; then
3315     CC=""
3316   else
3317     case $cross_compiling:$ac_tool_warned in
3318 yes:)
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3320 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3321 ac_tool_warned=yes ;;
3322 esac
3323     CC=$ac_ct_CC
3324   fi
3330 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3331 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3332 as_fn_error "no acceptable C compiler found in \$PATH
3333 See \`config.log' for more details." "$LINENO" 5; }
3335 # Provide some information about the compiler.
3336 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3337 set X $ac_compile
3338 ac_compiler=$2
3339 for ac_option in --version -v -V -qversion; do
3340   { { ac_try="$ac_compiler $ac_option >&5"
3341 case "(($ac_try" in
3342   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3343   *) ac_try_echo=$ac_try;;
3344 esac
3345 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3346 $as_echo "$ac_try_echo"; } >&5
3347   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3348   ac_status=$?
3349   if test -s conftest.err; then
3350     sed '10a\
3351 ... rest of stderr output deleted ...
3352          10q' conftest.err >conftest.er1
3353     cat conftest.er1 >&5
3354   fi
3355   rm -f conftest.er1 conftest.err
3356   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3357   test $ac_status = 0; }
3358 done
3360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3361 /* end confdefs.h.  */
3364 main ()
3367   ;
3368   return 0;
3370 _ACEOF
3371 ac_clean_files_save=$ac_clean_files
3372 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3373 # Try to create an executable without -o first, disregard a.out.
3374 # It will help us diagnose broken compilers, and finding out an intuition
3375 # of exeext.
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3377 $as_echo_n "checking whether the C compiler works... " >&6; }
3378 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3380 # The possible output files:
3381 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3383 ac_rmfiles=
3384 for ac_file in $ac_files
3386   case $ac_file in
3387     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3388     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3389   esac
3390 done
3391 rm -f $ac_rmfiles
3393 if { { ac_try="$ac_link_default"
3394 case "(($ac_try" in
3395   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3396   *) ac_try_echo=$ac_try;;
3397 esac
3398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3399 $as_echo "$ac_try_echo"; } >&5
3400   (eval "$ac_link_default") 2>&5
3401   ac_status=$?
3402   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3403   test $ac_status = 0; }; then :
3404   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3405 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3406 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3407 # so that the user can short-circuit this test for compilers unknown to
3408 # Autoconf.
3409 for ac_file in $ac_files ''
3411   test -f "$ac_file" || continue
3412   case $ac_file in
3413     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3414         ;;
3415     [ab].out )
3416         # We found the default executable, but exeext='' is most
3417         # certainly right.
3418         break;;
3419     *.* )
3420         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3421         then :; else
3422            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3423         fi
3424         # We set ac_cv_exeext here because the later test for it is not
3425         # safe: cross compilers may not add the suffix if given an `-o'
3426         # argument, so we may need to know it at that point already.
3427         # Even if this section looks crufty: it has the advantage of
3428         # actually working.
3429         break;;
3430     * )
3431         break;;
3432   esac
3433 done
3434 test "$ac_cv_exeext" = no && ac_cv_exeext=
3436 else
3437   ac_file=''
3439 if test -z "$ac_file"; then :
3440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3441 $as_echo "no" >&6; }
3442 $as_echo "$as_me: failed program was:" >&5
3443 sed 's/^/| /' conftest.$ac_ext >&5
3445 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3447 { as_fn_set_status 77
3448 as_fn_error "C compiler cannot create executables
3449 See \`config.log' for more details." "$LINENO" 5; }; }
3450 else
3451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3452 $as_echo "yes" >&6; }
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3455 $as_echo_n "checking for C compiler default output file name... " >&6; }
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3457 $as_echo "$ac_file" >&6; }
3458 ac_exeext=$ac_cv_exeext
3460 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3461 ac_clean_files=$ac_clean_files_save
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3463 $as_echo_n "checking for suffix of executables... " >&6; }
3464 if { { ac_try="$ac_link"
3465 case "(($ac_try" in
3466   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3467   *) ac_try_echo=$ac_try;;
3468 esac
3469 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3470 $as_echo "$ac_try_echo"; } >&5
3471   (eval "$ac_link") 2>&5
3472   ac_status=$?
3473   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3474   test $ac_status = 0; }; then :
3475   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3476 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3477 # work properly (i.e., refer to `conftest.exe'), while it won't with
3478 # `rm'.
3479 for ac_file in conftest.exe conftest conftest.*; do
3480   test -f "$ac_file" || continue
3481   case $ac_file in
3482     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3483     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3484           break;;
3485     * ) break;;
3486   esac
3487 done
3488 else
3489   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3490 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3491 as_fn_error "cannot compute suffix of executables: cannot compile and link
3492 See \`config.log' for more details." "$LINENO" 5; }
3494 rm -f conftest conftest$ac_cv_exeext
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3496 $as_echo "$ac_cv_exeext" >&6; }
3498 rm -f conftest.$ac_ext
3499 EXEEXT=$ac_cv_exeext
3500 ac_exeext=$EXEEXT
3501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3502 /* end confdefs.h.  */
3503 @%:@include <stdio.h>
3505 main ()
3507 FILE *f = fopen ("conftest.out", "w");
3508  return ferror (f) || fclose (f) != 0;
3510   ;
3511   return 0;
3513 _ACEOF
3514 ac_clean_files="$ac_clean_files conftest.out"
3515 # Check that the compiler produces executables we can run.  If not, either
3516 # the compiler is broken, or we cross compile.
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3518 $as_echo_n "checking whether we are cross compiling... " >&6; }
3519 if test "$cross_compiling" != yes; then
3520   { { ac_try="$ac_link"
3521 case "(($ac_try" in
3522   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3523   *) ac_try_echo=$ac_try;;
3524 esac
3525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3526 $as_echo "$ac_try_echo"; } >&5
3527   (eval "$ac_link") 2>&5
3528   ac_status=$?
3529   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3530   test $ac_status = 0; }
3531   if { ac_try='./conftest$ac_cv_exeext'
3532   { { case "(($ac_try" in
3533   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3534   *) ac_try_echo=$ac_try;;
3535 esac
3536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3537 $as_echo "$ac_try_echo"; } >&5
3538   (eval "$ac_try") 2>&5
3539   ac_status=$?
3540   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3541   test $ac_status = 0; }; }; then
3542     cross_compiling=no
3543   else
3544     if test "$cross_compiling" = maybe; then
3545         cross_compiling=yes
3546     else
3547         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3548 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3549 as_fn_error "cannot run C compiled programs.
3550 If you meant to cross compile, use \`--host'.
3551 See \`config.log' for more details." "$LINENO" 5; }
3552     fi
3553   fi
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3556 $as_echo "$cross_compiling" >&6; }
3558 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3559 ac_clean_files=$ac_clean_files_save
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3561 $as_echo_n "checking for suffix of object files... " >&6; }
3562 if test "${ac_cv_objext+set}" = set; then :
3563   $as_echo_n "(cached) " >&6
3564 else
3565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3566 /* end confdefs.h.  */
3569 main ()
3572   ;
3573   return 0;
3575 _ACEOF
3576 rm -f conftest.o conftest.obj
3577 if { { ac_try="$ac_compile"
3578 case "(($ac_try" in
3579   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3580   *) ac_try_echo=$ac_try;;
3581 esac
3582 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3583 $as_echo "$ac_try_echo"; } >&5
3584   (eval "$ac_compile") 2>&5
3585   ac_status=$?
3586   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3587   test $ac_status = 0; }; then :
3588   for ac_file in conftest.o conftest.obj conftest.*; do
3589   test -f "$ac_file" || continue;
3590   case $ac_file in
3591     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3592     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3593        break;;
3594   esac
3595 done
3596 else
3597   $as_echo "$as_me: failed program was:" >&5
3598 sed 's/^/| /' conftest.$ac_ext >&5
3600 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3602 as_fn_error "cannot compute suffix of object files: cannot compile
3603 See \`config.log' for more details." "$LINENO" 5; }
3605 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3608 $as_echo "$ac_cv_objext" >&6; }
3609 OBJEXT=$ac_cv_objext
3610 ac_objext=$OBJEXT
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3612 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3613 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3614   $as_echo_n "(cached) " >&6
3615 else
3616   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3617 /* end confdefs.h.  */
3620 main ()
3622 #ifndef __GNUC__
3623        choke me
3624 #endif
3626   ;
3627   return 0;
3629 _ACEOF
3630 if ac_fn_c_try_compile "$LINENO"; then :
3631   ac_compiler_gnu=yes
3632 else
3633   ac_compiler_gnu=no
3635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3636 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3640 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3641 if test $ac_compiler_gnu = yes; then
3642   GCC=yes
3643 else
3644   GCC=
3646 ac_test_CFLAGS=${CFLAGS+set}
3647 ac_save_CFLAGS=$CFLAGS
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3649 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3650 if test "${ac_cv_prog_cc_g+set}" = set; then :
3651   $as_echo_n "(cached) " >&6
3652 else
3653   ac_save_c_werror_flag=$ac_c_werror_flag
3654    ac_c_werror_flag=yes
3655    ac_cv_prog_cc_g=no
3656    CFLAGS="-g"
3657    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3658 /* end confdefs.h.  */
3661 main ()
3664   ;
3665   return 0;
3667 _ACEOF
3668 if ac_fn_c_try_compile "$LINENO"; then :
3669   ac_cv_prog_cc_g=yes
3670 else
3671   CFLAGS=""
3672       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3673 /* end confdefs.h.  */
3676 main ()
3679   ;
3680   return 0;
3682 _ACEOF
3683 if ac_fn_c_try_compile "$LINENO"; then :
3684   
3685 else
3686   ac_c_werror_flag=$ac_save_c_werror_flag
3687          CFLAGS="-g"
3688          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3689 /* end confdefs.h.  */
3692 main ()
3695   ;
3696   return 0;
3698 _ACEOF
3699 if ac_fn_c_try_compile "$LINENO"; then :
3700   ac_cv_prog_cc_g=yes
3702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3707    ac_c_werror_flag=$ac_save_c_werror_flag
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3710 $as_echo "$ac_cv_prog_cc_g" >&6; }
3711 if test "$ac_test_CFLAGS" = set; then
3712   CFLAGS=$ac_save_CFLAGS
3713 elif test $ac_cv_prog_cc_g = yes; then
3714   if test "$GCC" = yes; then
3715     CFLAGS="-g -O2"
3716   else
3717     CFLAGS="-g"
3718   fi
3719 else
3720   if test "$GCC" = yes; then
3721     CFLAGS="-O2"
3722   else
3723     CFLAGS=
3724   fi
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3727 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3728 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3729   $as_echo_n "(cached) " >&6
3730 else
3731   ac_cv_prog_cc_c89=no
3732 ac_save_CC=$CC
3733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3734 /* end confdefs.h.  */
3735 #include <stdarg.h>
3736 #include <stdio.h>
3737 #include <sys/types.h>
3738 #include <sys/stat.h>
3739 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3740 struct buf { int x; };
3741 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3742 static char *e (p, i)
3743      char **p;
3744      int i;
3746   return p[i];
3748 static char *f (char * (*g) (char **, int), char **p, ...)
3750   char *s;
3751   va_list v;
3752   va_start (v,p);
3753   s = g (p, va_arg (v,int));
3754   va_end (v);
3755   return s;
3758 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3759    function prototypes and stuff, but not '\xHH' hex character constants.
3760    These don't provoke an error unfortunately, instead are silently treated
3761    as 'x'.  The following induces an error, until -std is added to get
3762    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3763    array size at least.  It's necessary to write '\x00'==0 to get something
3764    that's true only with -std.  */
3765 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3767 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3768    inside strings and character constants.  */
3769 #define FOO(x) 'x'
3770 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3772 int test (int i, double x);
3773 struct s1 {int (*f) (int a);};
3774 struct s2 {int (*f) (double a);};
3775 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3776 int argc;
3777 char **argv;
3779 main ()
3781 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3782   ;
3783   return 0;
3785 _ACEOF
3786 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3787         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3789   CC="$ac_save_CC $ac_arg"
3790   if ac_fn_c_try_compile "$LINENO"; then :
3791   ac_cv_prog_cc_c89=$ac_arg
3793 rm -f core conftest.err conftest.$ac_objext
3794   test "x$ac_cv_prog_cc_c89" != "xno" && break
3795 done
3796 rm -f conftest.$ac_ext
3797 CC=$ac_save_CC
3800 # AC_CACHE_VAL
3801 case "x$ac_cv_prog_cc_c89" in
3802   x)
3803     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3804 $as_echo "none needed" >&6; } ;;
3805   xno)
3806     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3807 $as_echo "unsupported" >&6; } ;;
3808   *)
3809     CC="$CC $ac_cv_prog_cc_c89"
3810     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3811 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3812 esac
3813 if test "x$ac_cv_prog_cc_c89" != xno; then :
3814   
3817 ac_ext=c
3818 ac_cpp='$CPP $CPPFLAGS'
3819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3823 depcc="$CC"   am_compiler_list=
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3826 $as_echo_n "checking dependency style of $depcc... " >&6; }
3827 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3828   $as_echo_n "(cached) " >&6
3829 else
3830   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3831   # We make a subdir and do the tests there.  Otherwise we can end up
3832   # making bogus files that we don't know about and never remove.  For
3833   # instance it was reported that on HP-UX the gcc test will end up
3834   # making a dummy file named `D' -- because `-MD' means `put the output
3835   # in D'.
3836   mkdir conftest.dir
3837   # Copy depcomp to subdir because otherwise we won't find it if we're
3838   # using a relative directory.
3839   cp "$am_depcomp" conftest.dir
3840   cd conftest.dir
3841   # We will build objects and dependencies in a subdirectory because
3842   # it helps to detect inapplicable dependency modes.  For instance
3843   # both Tru64's cc and ICC support -MD to output dependencies as a
3844   # side effect of compilation, but ICC will put the dependencies in
3845   # the current directory while Tru64 will put them in the object
3846   # directory.
3847   mkdir sub
3849   am_cv_CC_dependencies_compiler_type=none
3850   if test "$am_compiler_list" = ""; then
3851      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3852   fi
3853   am__universal=false
3854   case " $depcc " in #(
3855      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3856      esac
3858   for depmode in $am_compiler_list; do
3859     # Setup a source with many dependencies, because some compilers
3860     # like to wrap large dependency lists on column 80 (with \), and
3861     # we should not choose a depcomp mode which is confused by this.
3862     #
3863     # We need to recreate these files for each test, as the compiler may
3864     # overwrite some of them when testing with obscure command lines.
3865     # This happens at least with the AIX C compiler.
3866     : > sub/conftest.c
3867     for i in 1 2 3 4 5 6; do
3868       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3869       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3870       # Solaris 8's {/usr,}/bin/sh.
3871       touch sub/conftst$i.h
3872     done
3873     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3875     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3876     # mode.  It turns out that the SunPro C++ compiler does not properly
3877     # handle `-M -o', and we need to detect this.  Also, some Intel
3878     # versions had trouble with output in subdirs
3879     am__obj=sub/conftest.${OBJEXT-o}
3880     am__minus_obj="-o $am__obj"
3881     case $depmode in
3882     gcc)
3883       # This depmode causes a compiler race in universal mode.
3884       test "$am__universal" = false || continue
3885       ;;
3886     nosideeffect)
3887       # after this tag, mechanisms are not by side-effect, so they'll
3888       # only be used when explicitly requested
3889       if test "x$enable_dependency_tracking" = xyes; then
3890         continue
3891       else
3892         break
3893       fi
3894       ;;
3895     msvisualcpp | msvcmsys)
3896       # This compiler won't grok `-c -o', but also, the minuso test has
3897       # not run yet.  These depmodes are late enough in the game, and
3898       # so weak that their functioning should not be impacted.
3899       am__obj=conftest.${OBJEXT-o}
3900       am__minus_obj=
3901       ;;
3902     none) break ;;
3903     esac
3904     if depmode=$depmode \
3905        source=sub/conftest.c object=$am__obj \
3906        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3907        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3908          >/dev/null 2>conftest.err &&
3909        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3910        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3911        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3912        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3913       # icc doesn't choke on unknown options, it will just issue warnings
3914       # or remarks (even with -Werror).  So we grep stderr for any message
3915       # that says an option was ignored or not supported.
3916       # When given -MP, icc 7.0 and 7.1 complain thusly:
3917       #   icc: Command line warning: ignoring option '-M'; no argument required
3918       # The diagnosis changed in icc 8.0:
3919       #   icc: Command line remark: option '-MP' not supported
3920       if (grep 'ignoring option' conftest.err ||
3921           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3922         am_cv_CC_dependencies_compiler_type=$depmode
3923         break
3924       fi
3925     fi
3926   done
3928   cd ..
3929   rm -rf conftest.dir
3930 else
3931   am_cv_CC_dependencies_compiler_type=none
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3936 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3937 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3939  if 
3940   test "x$enable_dependency_tracking" != xno \
3941   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3942   am__fastdepCC_TRUE=
3943   am__fastdepCC_FALSE='#'
3944 else
3945   am__fastdepCC_TRUE='#'
3946   am__fastdepCC_FALSE=
3953 case "$am__api_version" in
3954     1.01234)
3955         as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
3956     ;;
3957     *)
3958     ;;
3959 esac
3961 if test -n "0.35.0"; then
3962     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
3963 $as_echo_n "checking for intltool >= 0.35.0... " >&6; }
3965     INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3966     INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
3967     INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3968     
3969     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
3970 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
3971     test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
3972         as_fn_error "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
3975 # Extract the first word of "intltool-update", so it can be a program name with args.
3976 set dummy intltool-update; ac_word=$2
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3978 $as_echo_n "checking for $ac_word... " >&6; }
3979 if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
3980   $as_echo_n "(cached) " >&6
3981 else
3982   case $INTLTOOL_UPDATE in
3983   [\\/]* | ?:[\\/]*)
3984   ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
3985   ;;
3986   *)
3987   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3988 for as_dir in $PATH
3990   IFS=$as_save_IFS
3991   test -z "$as_dir" && as_dir=.
3992     for ac_exec_ext in '' $ac_executable_extensions; do
3993   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3994     ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
3995     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3996     break 2
3997   fi
3998 done
3999   done
4000 IFS=$as_save_IFS
4002   ;;
4003 esac
4005 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
4006 if test -n "$INTLTOOL_UPDATE"; then
4007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
4008 $as_echo "$INTLTOOL_UPDATE" >&6; }
4009 else
4010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4011 $as_echo "no" >&6; }
4015 # Extract the first word of "intltool-merge", so it can be a program name with args.
4016 set dummy intltool-merge; ac_word=$2
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4018 $as_echo_n "checking for $ac_word... " >&6; }
4019 if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
4020   $as_echo_n "(cached) " >&6
4021 else
4022   case $INTLTOOL_MERGE in
4023   [\\/]* | ?:[\\/]*)
4024   ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
4025   ;;
4026   *)
4027   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4028 for as_dir in $PATH
4030   IFS=$as_save_IFS
4031   test -z "$as_dir" && as_dir=.
4032     for ac_exec_ext in '' $ac_executable_extensions; do
4033   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4034     ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
4035     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4036     break 2
4037   fi
4038 done
4039   done
4040 IFS=$as_save_IFS
4042   ;;
4043 esac
4045 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
4046 if test -n "$INTLTOOL_MERGE"; then
4047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
4048 $as_echo "$INTLTOOL_MERGE" >&6; }
4049 else
4050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4051 $as_echo "no" >&6; }
4055 # Extract the first word of "intltool-extract", so it can be a program name with args.
4056 set dummy intltool-extract; ac_word=$2
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4058 $as_echo_n "checking for $ac_word... " >&6; }
4059 if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
4060   $as_echo_n "(cached) " >&6
4061 else
4062   case $INTLTOOL_EXTRACT in
4063   [\\/]* | ?:[\\/]*)
4064   ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
4065   ;;
4066   *)
4067   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4068 for as_dir in $PATH
4070   IFS=$as_save_IFS
4071   test -z "$as_dir" && as_dir=.
4072     for ac_exec_ext in '' $ac_executable_extensions; do
4073   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4074     ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
4075     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4076     break 2
4077   fi
4078 done
4079   done
4080 IFS=$as_save_IFS
4082   ;;
4083 esac
4085 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
4086 if test -n "$INTLTOOL_EXTRACT"; then
4087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
4088 $as_echo "$INTLTOOL_EXTRACT" >&6; }
4089 else
4090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4091 $as_echo "no" >&6; }
4095 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
4096     as_fn_error "The intltool scripts were not found. Please install intltool." "$LINENO" 5
4099   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 $< $@' 
4100 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 $< $@' 
4101      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 $< $@' 
4102      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 $< $@' 
4103       INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
4104      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 $< $@' 
4105    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 $< $@' 
4106     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 $< $@' 
4107 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 $< $@' 
4108        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 $< $@' 
4109       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 $< $@' 
4110       INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@' 
4111       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 $< $@' 
4112       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 $< $@' 
4113     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 $< $@' 
4114   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 $< $@' 
4115     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 $< $@' 
4116     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 $< $@'
4117    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 $< $@'
4215 # Check the gettext tools to make sure they are GNU
4216 # Extract the first word of "xgettext", so it can be a program name with args.
4217 set dummy xgettext; ac_word=$2
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4219 $as_echo_n "checking for $ac_word... " >&6; }
4220 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
4221   $as_echo_n "(cached) " >&6
4222 else
4223   case $XGETTEXT in
4224   [\\/]* | ?:[\\/]*)
4225   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4226   ;;
4227   *)
4228   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4229 for as_dir in $PATH
4231   IFS=$as_save_IFS
4232   test -z "$as_dir" && as_dir=.
4233     for ac_exec_ext in '' $ac_executable_extensions; do
4234   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4235     ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4236     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4237     break 2
4238   fi
4239 done
4240   done
4241 IFS=$as_save_IFS
4243   ;;
4244 esac
4246 XGETTEXT=$ac_cv_path_XGETTEXT
4247 if test -n "$XGETTEXT"; then
4248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4249 $as_echo "$XGETTEXT" >&6; }
4250 else
4251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4252 $as_echo "no" >&6; }
4256 # Extract the first word of "msgmerge", so it can be a program name with args.
4257 set dummy msgmerge; ac_word=$2
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4259 $as_echo_n "checking for $ac_word... " >&6; }
4260 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
4261   $as_echo_n "(cached) " >&6
4262 else
4263   case $MSGMERGE in
4264   [\\/]* | ?:[\\/]*)
4265   ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4266   ;;
4267   *)
4268   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4269 for as_dir in $PATH
4271   IFS=$as_save_IFS
4272   test -z "$as_dir" && as_dir=.
4273     for ac_exec_ext in '' $ac_executable_extensions; do
4274   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4275     ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
4276     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4277     break 2
4278   fi
4279 done
4280   done
4281 IFS=$as_save_IFS
4283   ;;
4284 esac
4286 MSGMERGE=$ac_cv_path_MSGMERGE
4287 if test -n "$MSGMERGE"; then
4288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4289 $as_echo "$MSGMERGE" >&6; }
4290 else
4291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4292 $as_echo "no" >&6; }
4296 # Extract the first word of "msgfmt", so it can be a program name with args.
4297 set dummy msgfmt; ac_word=$2
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4299 $as_echo_n "checking for $ac_word... " >&6; }
4300 if test "${ac_cv_path_MSGFMT+set}" = set; then :
4301   $as_echo_n "(cached) " >&6
4302 else
4303   case $MSGFMT in
4304   [\\/]* | ?:[\\/]*)
4305   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4306   ;;
4307   *)
4308   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4309 for as_dir in $PATH
4311   IFS=$as_save_IFS
4312   test -z "$as_dir" && as_dir=.
4313     for ac_exec_ext in '' $ac_executable_extensions; do
4314   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4315     ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4316     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4317     break 2
4318   fi
4319 done
4320   done
4321 IFS=$as_save_IFS
4323   ;;
4324 esac
4326 MSGFMT=$ac_cv_path_MSGFMT
4327 if test -n "$MSGFMT"; then
4328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4329 $as_echo "$MSGFMT" >&6; }
4330 else
4331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4332 $as_echo "no" >&6; }
4336 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4337 set dummy gmsgfmt; ac_word=$2
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4339 $as_echo_n "checking for $ac_word... " >&6; }
4340 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
4341   $as_echo_n "(cached) " >&6
4342 else
4343   case $GMSGFMT in
4344   [\\/]* | ?:[\\/]*)
4345   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4346   ;;
4347   *)
4348   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4349 for as_dir in $PATH
4351   IFS=$as_save_IFS
4352   test -z "$as_dir" && as_dir=.
4353     for ac_exec_ext in '' $ac_executable_extensions; do
4354   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4355     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4356     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4357     break 2
4358   fi
4359 done
4360   done
4361 IFS=$as_save_IFS
4363   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4364   ;;
4365 esac
4367 GMSGFMT=$ac_cv_path_GMSGFMT
4368 if test -n "$GMSGFMT"; then
4369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4370 $as_echo "$GMSGFMT" >&6; }
4371 else
4372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4373 $as_echo "no" >&6; }
4377 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
4378     as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
4380 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4381 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4382 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4383 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
4384     as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
4387 # Extract the first word of "perl", so it can be a program name with args.
4388 set dummy perl; ac_word=$2
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4390 $as_echo_n "checking for $ac_word... " >&6; }
4391 if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
4392   $as_echo_n "(cached) " >&6
4393 else
4394   case $INTLTOOL_PERL in
4395   [\\/]* | ?:[\\/]*)
4396   ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
4397   ;;
4398   *)
4399   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4400 for as_dir in $PATH
4402   IFS=$as_save_IFS
4403   test -z "$as_dir" && as_dir=.
4404     for ac_exec_ext in '' $ac_executable_extensions; do
4405   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4406     ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
4407     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4408     break 2
4409   fi
4410 done
4411   done
4412 IFS=$as_save_IFS
4414   ;;
4415 esac
4417 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
4418 if test -n "$INTLTOOL_PERL"; then
4419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
4420 $as_echo "$INTLTOOL_PERL" >&6; }
4421 else
4422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4423 $as_echo "no" >&6; }
4427 if test -z "$INTLTOOL_PERL"; then
4428    as_fn_error "perl not found" "$LINENO" 5
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
4431 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
4432 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4433 if test $? -ne 0; then
4434    as_fn_error "perl 5.8.1 is required for intltool" "$LINENO" 5
4435 else
4436    IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
4437    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
4438 $as_echo "$IT_PERL_VERSION" >&6; }
4440 if test "x" != "xno-xml"; then
4441    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
4442 $as_echo_n "checking for XML::Parser... " >&6; }
4443    if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4444        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4445 $as_echo "ok" >&6; }
4446    else
4447        as_fn_error "XML::Parser perl module is required for intltool" "$LINENO" 5
4448    fi
4451 # Substitute ALL_LINGUAS so we can use it in po/Makefile
4454 # Set DATADIRNAME correctly if it is not set yet
4455 # (copied from glib-gettext.m4)
4456 if test -z "$DATADIRNAME"; then
4457   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4458 /* end confdefs.h.  */
4461 main ()
4463 extern int _nl_msg_cat_cntr;
4464                        return _nl_msg_cat_cntr
4465   ;
4466   return 0;
4468 _ACEOF
4469 if ac_fn_c_try_link "$LINENO"; then :
4470   DATADIRNAME=share
4471 else
4472   case $host in
4473     *-*-solaris*)
4474                         ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4475 if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
4476   DATADIRNAME=share
4477 else
4478   DATADIRNAME=lib
4481     ;;
4482     *)
4483     DATADIRNAME=lib
4484     ;;
4485     esac
4487 rm -f core conftest.err conftest.$ac_objext \
4488     conftest$ac_exeext conftest.$ac_ext
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4497 $as_echo_n "checking for library containing strerror... " >&6; }
4498 if test "${ac_cv_search_strerror+set}" = set; then :
4499   $as_echo_n "(cached) " >&6
4500 else
4501   ac_func_search_save_LIBS=$LIBS
4502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4503 /* end confdefs.h.  */
4505 /* Override any GCC internal prototype to avoid an error.
4506    Use char because int might match the return type of a GCC
4507    builtin and then its argument prototype would still apply.  */
4508 #ifdef __cplusplus
4509 extern "C"
4510 #endif
4511 char strerror ();
4513 main ()
4515 return strerror ();
4516   ;
4517   return 0;
4519 _ACEOF
4520 for ac_lib in '' cposix; do
4521   if test -z "$ac_lib"; then
4522     ac_res="none required"
4523   else
4524     ac_res=-l$ac_lib
4525     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4526   fi
4527   if ac_fn_c_try_link "$LINENO"; then :
4528   ac_cv_search_strerror=$ac_res
4530 rm -f core conftest.err conftest.$ac_objext \
4531     conftest$ac_exeext
4532   if test "${ac_cv_search_strerror+set}" = set; then :
4533   break
4535 done
4536 if test "${ac_cv_search_strerror+set}" = set; then :
4537   
4538 else
4539   ac_cv_search_strerror=no
4541 rm conftest.$ac_ext
4542 LIBS=$ac_func_search_save_LIBS
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4545 $as_echo "$ac_cv_search_strerror" >&6; }
4546 ac_res=$ac_cv_search_strerror
4547 if test "$ac_res" != no; then :
4548   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4549   
4552 ac_ext=c
4553 ac_cpp='$CPP $CPPFLAGS'
4554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4557 if test -n "$ac_tool_prefix"; then
4558   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4559 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4561 $as_echo_n "checking for $ac_word... " >&6; }
4562 if test "${ac_cv_prog_CC+set}" = set; then :
4563   $as_echo_n "(cached) " >&6
4564 else
4565   if test -n "$CC"; then
4566   ac_cv_prog_CC="$CC" # Let the user override the test.
4567 else
4568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4569 for as_dir in $PATH
4571   IFS=$as_save_IFS
4572   test -z "$as_dir" && as_dir=.
4573     for ac_exec_ext in '' $ac_executable_extensions; do
4574   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4575     ac_cv_prog_CC="${ac_tool_prefix}gcc"
4576     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4577     break 2
4578   fi
4579 done
4580   done
4581 IFS=$as_save_IFS
4585 CC=$ac_cv_prog_CC
4586 if test -n "$CC"; then
4587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4588 $as_echo "$CC" >&6; }
4589 else
4590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4591 $as_echo "no" >&6; }
4596 if test -z "$ac_cv_prog_CC"; then
4597   ac_ct_CC=$CC
4598   # Extract the first word of "gcc", so it can be a program name with args.
4599 set dummy gcc; ac_word=$2
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4601 $as_echo_n "checking for $ac_word... " >&6; }
4602 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4603   $as_echo_n "(cached) " >&6
4604 else
4605   if test -n "$ac_ct_CC"; then
4606   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4607 else
4608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4609 for as_dir in $PATH
4611   IFS=$as_save_IFS
4612   test -z "$as_dir" && as_dir=.
4613     for ac_exec_ext in '' $ac_executable_extensions; do
4614   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4615     ac_cv_prog_ac_ct_CC="gcc"
4616     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4617     break 2
4618   fi
4619 done
4620   done
4621 IFS=$as_save_IFS
4625 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4626 if test -n "$ac_ct_CC"; then
4627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4628 $as_echo "$ac_ct_CC" >&6; }
4629 else
4630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4631 $as_echo "no" >&6; }
4634   if test "x$ac_ct_CC" = x; then
4635     CC=""
4636   else
4637     case $cross_compiling:$ac_tool_warned in
4638 yes:)
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4640 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4641 ac_tool_warned=yes ;;
4642 esac
4643     CC=$ac_ct_CC
4644   fi
4645 else
4646   CC="$ac_cv_prog_CC"
4649 if test -z "$CC"; then
4650           if test -n "$ac_tool_prefix"; then
4651     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4652 set dummy ${ac_tool_prefix}cc; ac_word=$2
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4654 $as_echo_n "checking for $ac_word... " >&6; }
4655 if test "${ac_cv_prog_CC+set}" = set; then :
4656   $as_echo_n "(cached) " >&6
4657 else
4658   if test -n "$CC"; then
4659   ac_cv_prog_CC="$CC" # Let the user override the test.
4660 else
4661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4662 for as_dir in $PATH
4664   IFS=$as_save_IFS
4665   test -z "$as_dir" && as_dir=.
4666     for ac_exec_ext in '' $ac_executable_extensions; do
4667   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4668     ac_cv_prog_CC="${ac_tool_prefix}cc"
4669     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4670     break 2
4671   fi
4672 done
4673   done
4674 IFS=$as_save_IFS
4678 CC=$ac_cv_prog_CC
4679 if test -n "$CC"; then
4680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4681 $as_echo "$CC" >&6; }
4682 else
4683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4684 $as_echo "no" >&6; }
4688   fi
4690 if test -z "$CC"; then
4691   # Extract the first word of "cc", so it can be a program name with args.
4692 set dummy cc; ac_word=$2
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4694 $as_echo_n "checking for $ac_word... " >&6; }
4695 if test "${ac_cv_prog_CC+set}" = set; then :
4696   $as_echo_n "(cached) " >&6
4697 else
4698   if test -n "$CC"; then
4699   ac_cv_prog_CC="$CC" # Let the user override the test.
4700 else
4701   ac_prog_rejected=no
4702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4703 for as_dir in $PATH
4705   IFS=$as_save_IFS
4706   test -z "$as_dir" && as_dir=.
4707     for ac_exec_ext in '' $ac_executable_extensions; do
4708   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4709     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4710        ac_prog_rejected=yes
4711        continue
4712      fi
4713     ac_cv_prog_CC="cc"
4714     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4715     break 2
4716   fi
4717 done
4718   done
4719 IFS=$as_save_IFS
4721 if test $ac_prog_rejected = yes; then
4722   # We found a bogon in the path, so make sure we never use it.
4723   set dummy $ac_cv_prog_CC
4724   shift
4725   if test $@%:@ != 0; then
4726     # We chose a different compiler from the bogus one.
4727     # However, it has the same basename, so the bogon will be chosen
4728     # first if we set CC to just the basename; use the full file name.
4729     shift
4730     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4731   fi
4735 CC=$ac_cv_prog_CC
4736 if test -n "$CC"; then
4737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4738 $as_echo "$CC" >&6; }
4739 else
4740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4741 $as_echo "no" >&6; }
4746 if test -z "$CC"; then
4747   if test -n "$ac_tool_prefix"; then
4748   for ac_prog in cl.exe
4749   do
4750     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4751 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4753 $as_echo_n "checking for $ac_word... " >&6; }
4754 if test "${ac_cv_prog_CC+set}" = set; then :
4755   $as_echo_n "(cached) " >&6
4756 else
4757   if test -n "$CC"; then
4758   ac_cv_prog_CC="$CC" # Let the user override the test.
4759 else
4760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4761 for as_dir in $PATH
4763   IFS=$as_save_IFS
4764   test -z "$as_dir" && as_dir=.
4765     for ac_exec_ext in '' $ac_executable_extensions; do
4766   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4767     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4768     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4769     break 2
4770   fi
4771 done
4772   done
4773 IFS=$as_save_IFS
4777 CC=$ac_cv_prog_CC
4778 if test -n "$CC"; then
4779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4780 $as_echo "$CC" >&6; }
4781 else
4782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4783 $as_echo "no" >&6; }
4787     test -n "$CC" && break
4788   done
4790 if test -z "$CC"; then
4791   ac_ct_CC=$CC
4792   for ac_prog in cl.exe
4794   # Extract the first word of "$ac_prog", so it can be a program name with args.
4795 set dummy $ac_prog; ac_word=$2
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4797 $as_echo_n "checking for $ac_word... " >&6; }
4798 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4799   $as_echo_n "(cached) " >&6
4800 else
4801   if test -n "$ac_ct_CC"; then
4802   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4803 else
4804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4805 for as_dir in $PATH
4807   IFS=$as_save_IFS
4808   test -z "$as_dir" && as_dir=.
4809     for ac_exec_ext in '' $ac_executable_extensions; do
4810   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4811     ac_cv_prog_ac_ct_CC="$ac_prog"
4812     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4813     break 2
4814   fi
4815 done
4816   done
4817 IFS=$as_save_IFS
4821 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4822 if test -n "$ac_ct_CC"; then
4823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4824 $as_echo "$ac_ct_CC" >&6; }
4825 else
4826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4827 $as_echo "no" >&6; }
4831   test -n "$ac_ct_CC" && break
4832 done
4834   if test "x$ac_ct_CC" = x; then
4835     CC=""
4836   else
4837     case $cross_compiling:$ac_tool_warned in
4838 yes:)
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4840 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4841 ac_tool_warned=yes ;;
4842 esac
4843     CC=$ac_ct_CC
4844   fi
4850 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4851 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4852 as_fn_error "no acceptable C compiler found in \$PATH
4853 See \`config.log' for more details." "$LINENO" 5; }
4855 # Provide some information about the compiler.
4856 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4857 set X $ac_compile
4858 ac_compiler=$2
4859 for ac_option in --version -v -V -qversion; do
4860   { { ac_try="$ac_compiler $ac_option >&5"
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:${as_lineno-$LINENO}: $ac_try_echo\""
4866 $as_echo "$ac_try_echo"; } >&5
4867   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4868   ac_status=$?
4869   if test -s conftest.err; then
4870     sed '10a\
4871 ... rest of stderr output deleted ...
4872          10q' conftest.err >conftest.er1
4873     cat conftest.er1 >&5
4874   fi
4875   rm -f conftest.er1 conftest.err
4876   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4877   test $ac_status = 0; }
4878 done
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4881 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4882 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4883   $as_echo_n "(cached) " >&6
4884 else
4885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4886 /* end confdefs.h.  */
4889 main ()
4891 #ifndef __GNUC__
4892        choke me
4893 #endif
4895   ;
4896   return 0;
4898 _ACEOF
4899 if ac_fn_c_try_compile "$LINENO"; then :
4900   ac_compiler_gnu=yes
4901 else
4902   ac_compiler_gnu=no
4904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4905 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4909 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4910 if test $ac_compiler_gnu = yes; then
4911   GCC=yes
4912 else
4913   GCC=
4915 ac_test_CFLAGS=${CFLAGS+set}
4916 ac_save_CFLAGS=$CFLAGS
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4918 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4919 if test "${ac_cv_prog_cc_g+set}" = set; then :
4920   $as_echo_n "(cached) " >&6
4921 else
4922   ac_save_c_werror_flag=$ac_c_werror_flag
4923    ac_c_werror_flag=yes
4924    ac_cv_prog_cc_g=no
4925    CFLAGS="-g"
4926    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4927 /* end confdefs.h.  */
4930 main ()
4933   ;
4934   return 0;
4936 _ACEOF
4937 if ac_fn_c_try_compile "$LINENO"; then :
4938   ac_cv_prog_cc_g=yes
4939 else
4940   CFLAGS=""
4941       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4942 /* end confdefs.h.  */
4945 main ()
4948   ;
4949   return 0;
4951 _ACEOF
4952 if ac_fn_c_try_compile "$LINENO"; then :
4953   
4954 else
4955   ac_c_werror_flag=$ac_save_c_werror_flag
4956          CFLAGS="-g"
4957          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4958 /* end confdefs.h.  */
4961 main ()
4964   ;
4965   return 0;
4967 _ACEOF
4968 if ac_fn_c_try_compile "$LINENO"; then :
4969   ac_cv_prog_cc_g=yes
4971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4976    ac_c_werror_flag=$ac_save_c_werror_flag
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4979 $as_echo "$ac_cv_prog_cc_g" >&6; }
4980 if test "$ac_test_CFLAGS" = set; then
4981   CFLAGS=$ac_save_CFLAGS
4982 elif test $ac_cv_prog_cc_g = yes; then
4983   if test "$GCC" = yes; then
4984     CFLAGS="-g -O2"
4985   else
4986     CFLAGS="-g"
4987   fi
4988 else
4989   if test "$GCC" = yes; then
4990     CFLAGS="-O2"
4991   else
4992     CFLAGS=
4993   fi
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4996 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4997 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4998   $as_echo_n "(cached) " >&6
4999 else
5000   ac_cv_prog_cc_c89=no
5001 ac_save_CC=$CC
5002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5003 /* end confdefs.h.  */
5004 #include <stdarg.h>
5005 #include <stdio.h>
5006 #include <sys/types.h>
5007 #include <sys/stat.h>
5008 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5009 struct buf { int x; };
5010 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5011 static char *e (p, i)
5012      char **p;
5013      int i;
5015   return p[i];
5017 static char *f (char * (*g) (char **, int), char **p, ...)
5019   char *s;
5020   va_list v;
5021   va_start (v,p);
5022   s = g (p, va_arg (v,int));
5023   va_end (v);
5024   return s;
5027 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5028    function prototypes and stuff, but not '\xHH' hex character constants.
5029    These don't provoke an error unfortunately, instead are silently treated
5030    as 'x'.  The following induces an error, until -std is added to get
5031    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5032    array size at least.  It's necessary to write '\x00'==0 to get something
5033    that's true only with -std.  */
5034 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5036 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5037    inside strings and character constants.  */
5038 #define FOO(x) 'x'
5039 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5041 int test (int i, double x);
5042 struct s1 {int (*f) (int a);};
5043 struct s2 {int (*f) (double a);};
5044 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5045 int argc;
5046 char **argv;
5048 main ()
5050 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5051   ;
5052   return 0;
5054 _ACEOF
5055 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5056         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5058   CC="$ac_save_CC $ac_arg"
5059   if ac_fn_c_try_compile "$LINENO"; then :
5060   ac_cv_prog_cc_c89=$ac_arg
5062 rm -f core conftest.err conftest.$ac_objext
5063   test "x$ac_cv_prog_cc_c89" != "xno" && break
5064 done
5065 rm -f conftest.$ac_ext
5066 CC=$ac_save_CC
5069 # AC_CACHE_VAL
5070 case "x$ac_cv_prog_cc_c89" in
5071   x)
5072     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5073 $as_echo "none needed" >&6; } ;;
5074   xno)
5075     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5076 $as_echo "unsupported" >&6; } ;;
5077   *)
5078     CC="$CC $ac_cv_prog_cc_c89"
5079     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5080 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5081 esac
5082 if test "x$ac_cv_prog_cc_c89" != xno; then :
5083   
5086 ac_ext=c
5087 ac_cpp='$CPP $CPPFLAGS'
5088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5092 depcc="$CC"   am_compiler_list=
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5095 $as_echo_n "checking dependency style of $depcc... " >&6; }
5096 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5097   $as_echo_n "(cached) " >&6
5098 else
5099   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5100   # We make a subdir and do the tests there.  Otherwise we can end up
5101   # making bogus files that we don't know about and never remove.  For
5102   # instance it was reported that on HP-UX the gcc test will end up
5103   # making a dummy file named `D' -- because `-MD' means `put the output
5104   # in D'.
5105   mkdir conftest.dir
5106   # Copy depcomp to subdir because otherwise we won't find it if we're
5107   # using a relative directory.
5108   cp "$am_depcomp" conftest.dir
5109   cd conftest.dir
5110   # We will build objects and dependencies in a subdirectory because
5111   # it helps to detect inapplicable dependency modes.  For instance
5112   # both Tru64's cc and ICC support -MD to output dependencies as a
5113   # side effect of compilation, but ICC will put the dependencies in
5114   # the current directory while Tru64 will put them in the object
5115   # directory.
5116   mkdir sub
5118   am_cv_CC_dependencies_compiler_type=none
5119   if test "$am_compiler_list" = ""; then
5120      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5121   fi
5122   am__universal=false
5123   case " $depcc " in #(
5124      *\ -arch\ *\ -arch\ *) am__universal=true ;;
5125      esac
5127   for depmode in $am_compiler_list; do
5128     # Setup a source with many dependencies, because some compilers
5129     # like to wrap large dependency lists on column 80 (with \), and
5130     # we should not choose a depcomp mode which is confused by this.
5131     #
5132     # We need to recreate these files for each test, as the compiler may
5133     # overwrite some of them when testing with obscure command lines.
5134     # This happens at least with the AIX C compiler.
5135     : > sub/conftest.c
5136     for i in 1 2 3 4 5 6; do
5137       echo '#include "conftst'$i'.h"' >> sub/conftest.c
5138       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5139       # Solaris 8's {/usr,}/bin/sh.
5140       touch sub/conftst$i.h
5141     done
5142     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5144     # We check with `-c' and `-o' for the sake of the "dashmstdout"
5145     # mode.  It turns out that the SunPro C++ compiler does not properly
5146     # handle `-M -o', and we need to detect this.  Also, some Intel
5147     # versions had trouble with output in subdirs
5148     am__obj=sub/conftest.${OBJEXT-o}
5149     am__minus_obj="-o $am__obj"
5150     case $depmode in
5151     gcc)
5152       # This depmode causes a compiler race in universal mode.
5153       test "$am__universal" = false || continue
5154       ;;
5155     nosideeffect)
5156       # after this tag, mechanisms are not by side-effect, so they'll
5157       # only be used when explicitly requested
5158       if test "x$enable_dependency_tracking" = xyes; then
5159         continue
5160       else
5161         break
5162       fi
5163       ;;
5164     msvisualcpp | msvcmsys)
5165       # This compiler won't grok `-c -o', but also, the minuso test has
5166       # not run yet.  These depmodes are late enough in the game, and
5167       # so weak that their functioning should not be impacted.
5168       am__obj=conftest.${OBJEXT-o}
5169       am__minus_obj=
5170       ;;
5171     none) break ;;
5172     esac
5173     if depmode=$depmode \
5174        source=sub/conftest.c object=$am__obj \
5175        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5176        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5177          >/dev/null 2>conftest.err &&
5178        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5179        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5180        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5181        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5182       # icc doesn't choke on unknown options, it will just issue warnings
5183       # or remarks (even with -Werror).  So we grep stderr for any message
5184       # that says an option was ignored or not supported.
5185       # When given -MP, icc 7.0 and 7.1 complain thusly:
5186       #   icc: Command line warning: ignoring option '-M'; no argument required
5187       # The diagnosis changed in icc 8.0:
5188       #   icc: Command line remark: option '-MP' not supported
5189       if (grep 'ignoring option' conftest.err ||
5190           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5191         am_cv_CC_dependencies_compiler_type=$depmode
5192         break
5193       fi
5194     fi
5195   done
5197   cd ..
5198   rm -rf conftest.dir
5199 else
5200   am_cv_CC_dependencies_compiler_type=none
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5205 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5206 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5208  if 
5209   test "x$enable_dependency_tracking" != xno \
5210   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5211   am__fastdepCC_TRUE=
5212   am__fastdepCC_FALSE='#'
5213 else
5214   am__fastdepCC_TRUE='#'
5215   am__fastdepCC_FALSE=
5219 ac_ext=c
5220 ac_cpp='$CPP $CPPFLAGS'
5221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5225 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5226 # On Suns, sometimes $CPP names a directory.
5227 if test -n "$CPP" && test -d "$CPP"; then
5228   CPP=
5230 if test -z "$CPP"; then
5231   if test "${ac_cv_prog_CPP+set}" = set; then :
5232   $as_echo_n "(cached) " >&6
5233 else
5234       # Double quotes because CPP needs to be expanded
5235     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5236     do
5237       ac_preproc_ok=false
5238 for ac_c_preproc_warn_flag in '' yes
5240   # Use a header file that comes with gcc, so configuring glibc
5241   # with a fresh cross-compiler works.
5242   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5243   # <limits.h> exists even on freestanding compilers.
5244   # On the NeXT, cc -E runs the code through the compiler's parser,
5245   # not just through cpp. "Syntax error" is here to catch this case.
5246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5247 /* end confdefs.h.  */
5248 @%:@ifdef __STDC__
5249 @%:@ include <limits.h>
5250 @%:@else
5251 @%:@ include <assert.h>
5252 @%:@endif
5253                      Syntax error
5254 _ACEOF
5255 if ac_fn_c_try_cpp "$LINENO"; then :
5256   
5257 else
5258   # Broken: fails on valid input.
5259 continue
5261 rm -f conftest.err conftest.$ac_ext
5263   # OK, works on sane cases.  Now check whether nonexistent headers
5264   # can be detected and how.
5265   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5266 /* end confdefs.h.  */
5267 @%:@include <ac_nonexistent.h>
5268 _ACEOF
5269 if ac_fn_c_try_cpp "$LINENO"; then :
5270   # Broken: success on invalid input.
5271 continue
5272 else
5273   # Passes both tests.
5274 ac_preproc_ok=:
5275 break
5277 rm -f conftest.err conftest.$ac_ext
5279 done
5280 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5281 rm -f conftest.err conftest.$ac_ext
5282 if $ac_preproc_ok; then :
5283   break
5286     done
5287     ac_cv_prog_CPP=$CPP
5288   
5290   CPP=$ac_cv_prog_CPP
5291 else
5292   ac_cv_prog_CPP=$CPP
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5295 $as_echo "$CPP" >&6; }
5296 ac_preproc_ok=false
5297 for ac_c_preproc_warn_flag in '' yes
5299   # Use a header file that comes with gcc, so configuring glibc
5300   # with a fresh cross-compiler works.
5301   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5302   # <limits.h> exists even on freestanding compilers.
5303   # On the NeXT, cc -E runs the code through the compiler's parser,
5304   # not just through cpp. "Syntax error" is here to catch this case.
5305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5306 /* end confdefs.h.  */
5307 @%:@ifdef __STDC__
5308 @%:@ include <limits.h>
5309 @%:@else
5310 @%:@ include <assert.h>
5311 @%:@endif
5312                      Syntax error
5313 _ACEOF
5314 if ac_fn_c_try_cpp "$LINENO"; then :
5315   
5316 else
5317   # Broken: fails on valid input.
5318 continue
5320 rm -f conftest.err conftest.$ac_ext
5322   # OK, works on sane cases.  Now check whether nonexistent headers
5323   # can be detected and how.
5324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5325 /* end confdefs.h.  */
5326 @%:@include <ac_nonexistent.h>
5327 _ACEOF
5328 if ac_fn_c_try_cpp "$LINENO"; then :
5329   # Broken: success on invalid input.
5330 continue
5331 else
5332   # Passes both tests.
5333 ac_preproc_ok=:
5334 break
5336 rm -f conftest.err conftest.$ac_ext
5338 done
5339 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5340 rm -f conftest.err conftest.$ac_ext
5341 if $ac_preproc_ok; then :
5342   
5343 else
5344   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5345 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5346 as_fn_error "C preprocessor \"$CPP\" fails sanity check
5347 See \`config.log' for more details." "$LINENO" 5; }
5350 ac_ext=c
5351 ac_cpp='$CPP $CPPFLAGS'
5352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5358 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5359 if test "${ac_cv_path_GREP+set}" = set; then :
5360   $as_echo_n "(cached) " >&6
5361 else
5362   if test -z "$GREP"; then
5363   ac_path_GREP_found=false
5364   # Loop through the user's path and test for each of PROGNAME-LIST
5365   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5366 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5368   IFS=$as_save_IFS
5369   test -z "$as_dir" && as_dir=.
5370     for ac_prog in grep ggrep; do
5371     for ac_exec_ext in '' $ac_executable_extensions; do
5372       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5373       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5374 # Check for GNU ac_path_GREP and select it if it is found.
5375   # Check for GNU $ac_path_GREP
5376 case `"$ac_path_GREP" --version 2>&1` in
5377 *GNU*)
5378   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5380   ac_count=0
5381   $as_echo_n 0123456789 >"conftest.in"
5382   while :
5383   do
5384     cat "conftest.in" "conftest.in" >"conftest.tmp"
5385     mv "conftest.tmp" "conftest.in"
5386     cp "conftest.in" "conftest.nl"
5387     $as_echo 'GREP' >> "conftest.nl"
5388     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5389     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5390     as_fn_arith $ac_count + 1 && ac_count=$as_val
5391     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5392       # Best one so far, save it but keep looking for a better one
5393       ac_cv_path_GREP="$ac_path_GREP"
5394       ac_path_GREP_max=$ac_count
5395     fi
5396     # 10*(2^10) chars as input seems more than enough
5397     test $ac_count -gt 10 && break
5398   done
5399   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5400 esac
5402       $ac_path_GREP_found && break 3
5403     done
5404   done
5405   done
5406 IFS=$as_save_IFS
5407   if test -z "$ac_cv_path_GREP"; then
5408     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5409   fi
5410 else
5411   ac_cv_path_GREP=$GREP
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5416 $as_echo "$ac_cv_path_GREP" >&6; }
5417  GREP="$ac_cv_path_GREP"
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5421 $as_echo_n "checking for egrep... " >&6; }
5422 if test "${ac_cv_path_EGREP+set}" = set; then :
5423   $as_echo_n "(cached) " >&6
5424 else
5425   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5426    then ac_cv_path_EGREP="$GREP -E"
5427    else
5428      if test -z "$EGREP"; then
5429   ac_path_EGREP_found=false
5430   # Loop through the user's path and test for each of PROGNAME-LIST
5431   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5432 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5434   IFS=$as_save_IFS
5435   test -z "$as_dir" && as_dir=.
5436     for ac_prog in egrep; do
5437     for ac_exec_ext in '' $ac_executable_extensions; do
5438       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5439       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5440 # Check for GNU ac_path_EGREP and select it if it is found.
5441   # Check for GNU $ac_path_EGREP
5442 case `"$ac_path_EGREP" --version 2>&1` in
5443 *GNU*)
5444   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5446   ac_count=0
5447   $as_echo_n 0123456789 >"conftest.in"
5448   while :
5449   do
5450     cat "conftest.in" "conftest.in" >"conftest.tmp"
5451     mv "conftest.tmp" "conftest.in"
5452     cp "conftest.in" "conftest.nl"
5453     $as_echo 'EGREP' >> "conftest.nl"
5454     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5455     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5456     as_fn_arith $ac_count + 1 && ac_count=$as_val
5457     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5458       # Best one so far, save it but keep looking for a better one
5459       ac_cv_path_EGREP="$ac_path_EGREP"
5460       ac_path_EGREP_max=$ac_count
5461     fi
5462     # 10*(2^10) chars as input seems more than enough
5463     test $ac_count -gt 10 && break
5464   done
5465   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5466 esac
5468       $ac_path_EGREP_found && break 3
5469     done
5470   done
5471   done
5472 IFS=$as_save_IFS
5473   if test -z "$ac_cv_path_EGREP"; then
5474     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5475   fi
5476 else
5477   ac_cv_path_EGREP=$EGREP
5480    fi
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5483 $as_echo "$ac_cv_path_EGREP" >&6; }
5484  EGREP="$ac_cv_path_EGREP"
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5488 $as_echo_n "checking for ANSI C header files... " >&6; }
5489 if test "${ac_cv_header_stdc+set}" = set; then :
5490   $as_echo_n "(cached) " >&6
5491 else
5492   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5493 /* end confdefs.h.  */
5494 #include <stdlib.h>
5495 #include <stdarg.h>
5496 #include <string.h>
5497 #include <float.h>
5500 main ()
5503   ;
5504   return 0;
5506 _ACEOF
5507 if ac_fn_c_try_compile "$LINENO"; then :
5508   ac_cv_header_stdc=yes
5509 else
5510   ac_cv_header_stdc=no
5512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5514 if test $ac_cv_header_stdc = yes; then
5515   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5517 /* end confdefs.h.  */
5518 #include <string.h>
5520 _ACEOF
5521 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5522   $EGREP "memchr" >/dev/null 2>&1; then :
5523   
5524 else
5525   ac_cv_header_stdc=no
5527 rm -f conftest*
5531 if test $ac_cv_header_stdc = yes; then
5532   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5534 /* end confdefs.h.  */
5535 #include <stdlib.h>
5537 _ACEOF
5538 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5539   $EGREP "free" >/dev/null 2>&1; then :
5540   
5541 else
5542   ac_cv_header_stdc=no
5544 rm -f conftest*
5548 if test $ac_cv_header_stdc = yes; then
5549   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5550   if test "$cross_compiling" = yes; then :
5551   :
5552 else
5553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5554 /* end confdefs.h.  */
5555 #include <ctype.h>
5556 #include <stdlib.h>
5557 #if ((' ' & 0x0FF) == 0x020)
5558 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5559 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5560 #else
5561 # define ISLOWER(c) \
5562                    (('a' <= (c) && (c) <= 'i') \
5563                      || ('j' <= (c) && (c) <= 'r') \
5564                      || ('s' <= (c) && (c) <= 'z'))
5565 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5566 #endif
5568 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5570 main ()
5572   int i;
5573   for (i = 0; i < 256; i++)
5574     if (XOR (islower (i), ISLOWER (i))
5575         || toupper (i) != TOUPPER (i))
5576       return 2;
5577   return 0;
5579 _ACEOF
5580 if ac_fn_c_try_run "$LINENO"; then :
5581   
5582 else
5583   ac_cv_header_stdc=no
5585 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5586   conftest.$ac_objext conftest.beam conftest.$ac_ext
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5592 $as_echo "$ac_cv_header_stdc" >&6; }
5593 if test $ac_cv_header_stdc = yes; then
5594   
5595 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
5599 case `pwd` in
5600   *\ * | *\     *)
5601     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5602 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5603 esac
5607 macro_version='2.2.6b'
5608 macro_revision='1.3017'
5610     
5611     
5612     
5615     
5616     
5617     
5622 ltmain="$ac_aux_dir/ltmain.sh"
5624 # Make sure we can run config.sub.
5625 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5626   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5629 $as_echo_n "checking build system type... " >&6; }
5630 if test "${ac_cv_build+set}" = set; then :
5631   $as_echo_n "(cached) " >&6
5632 else
5633   ac_build_alias=$build_alias
5634 test "x$ac_build_alias" = x &&
5635   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5636 test "x$ac_build_alias" = x &&
5637   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
5638 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5639   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5643 $as_echo "$ac_cv_build" >&6; }
5644 case $ac_cv_build in
5645 *-*-*) ;;
5646 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
5647 esac
5648 build=$ac_cv_build
5649 ac_save_IFS=$IFS; IFS='-'
5650 set x $ac_cv_build
5651 shift
5652 build_cpu=$1
5653 build_vendor=$2
5654 shift; shift
5655 # Remember, the first character of IFS is used to create $*,
5656 # except with old shells:
5657 build_os=$*
5658 IFS=$ac_save_IFS
5659 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5663 $as_echo_n "checking host system type... " >&6; }
5664 if test "${ac_cv_host+set}" = set; then :
5665   $as_echo_n "(cached) " >&6
5666 else
5667   if test "x$host_alias" = x; then
5668   ac_cv_host=$ac_cv_build
5669 else
5670   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5671     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5676 $as_echo "$ac_cv_host" >&6; }
5677 case $ac_cv_host in
5678 *-*-*) ;;
5679 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
5680 esac
5681 host=$ac_cv_host
5682 ac_save_IFS=$IFS; IFS='-'
5683 set x $ac_cv_host
5684 shift
5685 host_cpu=$1
5686 host_vendor=$2
5687 shift; shift
5688 # Remember, the first character of IFS is used to create $*,
5689 # except with old shells:
5690 host_os=$*
5691 IFS=$ac_save_IFS
5692 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5696 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5697 if test "${ac_cv_path_SED+set}" = set; then :
5698   $as_echo_n "(cached) " >&6
5699 else
5700             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5701      for ac_i in 1 2 3 4 5 6 7; do
5702        ac_script="$ac_script$as_nl$ac_script"
5703      done
5704      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5705      { ac_script=; unset ac_script;}
5706      if test -z "$SED"; then
5707   ac_path_SED_found=false
5708   # Loop through the user's path and test for each of PROGNAME-LIST
5709   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5710 for as_dir in $PATH
5712   IFS=$as_save_IFS
5713   test -z "$as_dir" && as_dir=.
5714     for ac_prog in sed gsed; do
5715     for ac_exec_ext in '' $ac_executable_extensions; do
5716       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5717       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5718 # Check for GNU ac_path_SED and select it if it is found.
5719   # Check for GNU $ac_path_SED
5720 case `"$ac_path_SED" --version 2>&1` in
5721 *GNU*)
5722   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5724   ac_count=0
5725   $as_echo_n 0123456789 >"conftest.in"
5726   while :
5727   do
5728     cat "conftest.in" "conftest.in" >"conftest.tmp"
5729     mv "conftest.tmp" "conftest.in"
5730     cp "conftest.in" "conftest.nl"
5731     $as_echo '' >> "conftest.nl"
5732     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5733     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5734     as_fn_arith $ac_count + 1 && ac_count=$as_val
5735     if test $ac_count -gt ${ac_path_SED_max-0}; then
5736       # Best one so far, save it but keep looking for a better one
5737       ac_cv_path_SED="$ac_path_SED"
5738       ac_path_SED_max=$ac_count
5739     fi
5740     # 10*(2^10) chars as input seems more than enough
5741     test $ac_count -gt 10 && break
5742   done
5743   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5744 esac
5746       $ac_path_SED_found && break 3
5747     done
5748   done
5749   done
5750 IFS=$as_save_IFS
5751   if test -z "$ac_cv_path_SED"; then
5752     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5753   fi
5754 else
5755   ac_cv_path_SED=$SED
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5760 $as_echo "$ac_cv_path_SED" >&6; }
5761  SED="$ac_cv_path_SED"
5762   rm -f conftest.sed
5764 test -z "$SED" && SED=sed
5765 Xsed="$SED -e 1s/^X//"
5767     
5768     
5769     
5772     
5773     
5774     
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5778 $as_echo_n "checking for fgrep... " >&6; }
5779 if test "${ac_cv_path_FGREP+set}" = set; then :
5780   $as_echo_n "(cached) " >&6
5781 else
5782   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5783    then ac_cv_path_FGREP="$GREP -F"
5784    else
5785      if test -z "$FGREP"; then
5786   ac_path_FGREP_found=false
5787   # Loop through the user's path and test for each of PROGNAME-LIST
5788   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5789 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5791   IFS=$as_save_IFS
5792   test -z "$as_dir" && as_dir=.
5793     for ac_prog in fgrep; do
5794     for ac_exec_ext in '' $ac_executable_extensions; do
5795       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5796       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5797 # Check for GNU ac_path_FGREP and select it if it is found.
5798   # Check for GNU $ac_path_FGREP
5799 case `"$ac_path_FGREP" --version 2>&1` in
5800 *GNU*)
5801   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5803   ac_count=0
5804   $as_echo_n 0123456789 >"conftest.in"
5805   while :
5806   do
5807     cat "conftest.in" "conftest.in" >"conftest.tmp"
5808     mv "conftest.tmp" "conftest.in"
5809     cp "conftest.in" "conftest.nl"
5810     $as_echo 'FGREP' >> "conftest.nl"
5811     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5812     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5813     as_fn_arith $ac_count + 1 && ac_count=$as_val
5814     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5815       # Best one so far, save it but keep looking for a better one
5816       ac_cv_path_FGREP="$ac_path_FGREP"
5817       ac_path_FGREP_max=$ac_count
5818     fi
5819     # 10*(2^10) chars as input seems more than enough
5820     test $ac_count -gt 10 && break
5821   done
5822   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5823 esac
5825       $ac_path_FGREP_found && break 3
5826     done
5827   done
5828   done
5829 IFS=$as_save_IFS
5830   if test -z "$ac_cv_path_FGREP"; then
5831     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5832   fi
5833 else
5834   ac_cv_path_FGREP=$FGREP
5837    fi
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5840 $as_echo "$ac_cv_path_FGREP" >&6; }
5841  FGREP="$ac_cv_path_FGREP"
5844 test -z "$GREP" && GREP=grep
5846     
5847     
5848     
5851     
5852     
5853     
5856     
5857     
5858     
5864 @%:@ Check whether --with-gnu-ld was given.
5865 if test "${with_gnu_ld+set}" = set; then :
5866   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5867 else
5868   with_gnu_ld=no
5871 ac_prog=ld
5872 if test "$GCC" = yes; then
5873   # Check if gcc -print-prog-name=ld gives a path.
5874   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5875 $as_echo_n "checking for ld used by $CC... " >&6; }
5876   case $host in
5877   *-*-mingw*)
5878     # gcc leaves a trailing carriage return which upsets mingw
5879     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5880   *)
5881     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5882   esac
5883   case $ac_prog in
5884     # Accept absolute paths.
5885     [\\/]* | ?:[\\/]*)
5886       re_direlt='/[^/][^/]*/\.\./'
5887       # Canonicalize the pathname of ld
5888       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5889       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5890         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5891       done
5892       test -z "$LD" && LD="$ac_prog"
5893       ;;
5894   "")
5895     # If it fails, then pretend we aren't using GCC.
5896     ac_prog=ld
5897     ;;
5898   *)
5899     # If it is relative, then search for the first ld in PATH.
5900     with_gnu_ld=unknown
5901     ;;
5902   esac
5903 elif test "$with_gnu_ld" = yes; then
5904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5905 $as_echo_n "checking for GNU ld... " >&6; }
5906 else
5907   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5908 $as_echo_n "checking for non-GNU ld... " >&6; }
5910 if test "${lt_cv_path_LD+set}" = set; then :
5911   $as_echo_n "(cached) " >&6
5912 else
5913   if test -z "$LD"; then
5914   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5915   for ac_dir in $PATH; do
5916     IFS="$lt_save_ifs"
5917     test -z "$ac_dir" && ac_dir=.
5918     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5919       lt_cv_path_LD="$ac_dir/$ac_prog"
5920       # Check to see if the program is GNU ld.  I'd rather use --version,
5921       # but apparently some variants of GNU ld only accept -v.
5922       # Break only if it was the GNU/non-GNU ld that we prefer.
5923       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5924       *GNU* | *'with BFD'*)
5925         test "$with_gnu_ld" != no && break
5926         ;;
5927       *)
5928         test "$with_gnu_ld" != yes && break
5929         ;;
5930       esac
5931     fi
5932   done
5933   IFS="$lt_save_ifs"
5934 else
5935   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5939 LD="$lt_cv_path_LD"
5940 if test -n "$LD"; then
5941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5942 $as_echo "$LD" >&6; }
5943 else
5944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5945 $as_echo "no" >&6; }
5947 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5949 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5950 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5951   $as_echo_n "(cached) " >&6
5952 else
5953   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5954 case `$LD -v 2>&1 </dev/null` in
5955 *GNU* | *'with BFD'*)
5956   lt_cv_prog_gnu_ld=yes
5957   ;;
5959   lt_cv_prog_gnu_ld=no
5960   ;;
5961 esac
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5964 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5965 with_gnu_ld=$lt_cv_prog_gnu_ld
5970     
5971     
5972     
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5976 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5977 if test "${lt_cv_path_NM+set}" = set; then :
5978   $as_echo_n "(cached) " >&6
5979 else
5980   if test -n "$NM"; then
5981   # Let the user override the test.
5982   lt_cv_path_NM="$NM"
5983 else
5984   lt_nm_to_check="${ac_tool_prefix}nm"
5985   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5986     lt_nm_to_check="$lt_nm_to_check nm"
5987   fi
5988   for lt_tmp_nm in $lt_nm_to_check; do
5989     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5990     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5991       IFS="$lt_save_ifs"
5992       test -z "$ac_dir" && ac_dir=.
5993       tmp_nm="$ac_dir/$lt_tmp_nm"
5994       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5995         # Check to see if the nm accepts a BSD-compat flag.
5996         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5997         #   nm: unknown option "B" ignored
5998         # Tru64's nm complains that /dev/null is an invalid object file
5999         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6000         */dev/null* | *'Invalid file or object type'*)
6001           lt_cv_path_NM="$tmp_nm -B"
6002           break
6003           ;;
6004         *)
6005           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6006           */dev/null*)
6007             lt_cv_path_NM="$tmp_nm -p"
6008             break
6009             ;;
6010           *)
6011             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6012             continue # so that we can try to find one that supports BSD flags
6013             ;;
6014           esac
6015           ;;
6016         esac
6017       fi
6018     done
6019     IFS="$lt_save_ifs"
6020   done
6021   : ${lt_cv_path_NM=no}
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6025 $as_echo "$lt_cv_path_NM" >&6; }
6026 if test "$lt_cv_path_NM" != "no"; then
6027   NM="$lt_cv_path_NM"
6028 else
6029   # Didn't find any BSD compatible name lister, look for dumpbin.
6030   if test -n "$ac_tool_prefix"; then
6031   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6032   do
6033     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6034 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6036 $as_echo_n "checking for $ac_word... " >&6; }
6037 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6038   $as_echo_n "(cached) " >&6
6039 else
6040   if test -n "$DUMPBIN"; then
6041   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6042 else
6043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6044 for as_dir in $PATH
6046   IFS=$as_save_IFS
6047   test -z "$as_dir" && as_dir=.
6048     for ac_exec_ext in '' $ac_executable_extensions; do
6049   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6050     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6051     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6052     break 2
6053   fi
6054 done
6055   done
6056 IFS=$as_save_IFS
6060 DUMPBIN=$ac_cv_prog_DUMPBIN
6061 if test -n "$DUMPBIN"; then
6062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6063 $as_echo "$DUMPBIN" >&6; }
6064 else
6065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6066 $as_echo "no" >&6; }
6070     test -n "$DUMPBIN" && break
6071   done
6073 if test -z "$DUMPBIN"; then
6074   ac_ct_DUMPBIN=$DUMPBIN
6075   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6077   # Extract the first word of "$ac_prog", so it can be a program name with args.
6078 set dummy $ac_prog; ac_word=$2
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6080 $as_echo_n "checking for $ac_word... " >&6; }
6081 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6082   $as_echo_n "(cached) " >&6
6083 else
6084   if test -n "$ac_ct_DUMPBIN"; then
6085   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6086 else
6087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6088 for as_dir in $PATH
6090   IFS=$as_save_IFS
6091   test -z "$as_dir" && as_dir=.
6092     for ac_exec_ext in '' $ac_executable_extensions; do
6093   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6094     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6095     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6096     break 2
6097   fi
6098 done
6099   done
6100 IFS=$as_save_IFS
6104 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6105 if test -n "$ac_ct_DUMPBIN"; then
6106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6107 $as_echo "$ac_ct_DUMPBIN" >&6; }
6108 else
6109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6110 $as_echo "no" >&6; }
6114   test -n "$ac_ct_DUMPBIN" && break
6115 done
6117   if test "x$ac_ct_DUMPBIN" = x; then
6118     DUMPBIN=":"
6119   else
6120     case $cross_compiling:$ac_tool_warned in
6121 yes:)
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6123 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6124 ac_tool_warned=yes ;;
6125 esac
6126     DUMPBIN=$ac_ct_DUMPBIN
6127   fi
6130   
6131   if test "$DUMPBIN" != ":"; then
6132     NM="$DUMPBIN"
6133   fi
6135 test -z "$NM" && NM=nm
6138     
6139     
6140     
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6143 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6144 if test "${lt_cv_nm_interface+set}" = set; then :
6145   $as_echo_n "(cached) " >&6
6146 else
6147   lt_cv_nm_interface="BSD nm"
6148   echo "int some_variable = 0;" > conftest.$ac_ext
6149   (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&5)
6150   (eval "$ac_compile" 2>conftest.err)
6151   cat conftest.err >&5
6152   (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6153   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6154   cat conftest.err >&5
6155   (eval echo "\"\$as_me:__oline__: output\"" >&5)
6156   cat conftest.out >&5
6157   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6158     lt_cv_nm_interface="MS dumpbin"
6159   fi
6160   rm -f conftest*
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6163 $as_echo "$lt_cv_nm_interface" >&6; }
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6166 $as_echo_n "checking whether ln -s works... " >&6; }
6167 LN_S=$as_ln_s
6168 if test "$LN_S" = "ln -s"; then
6169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6170 $as_echo "yes" >&6; }
6171 else
6172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6173 $as_echo "no, using $LN_S" >&6; }
6176 # find the maximum length of command line arguments
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6178 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6179 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6180   $as_echo_n "(cached) " >&6
6181 else
6182     i=0
6183   teststring="ABCD"
6185   case $build_os in
6186   msdosdjgpp*)
6187     # On DJGPP, this test can blow up pretty badly due to problems in libc
6188     # (any single argument exceeding 2000 bytes causes a buffer overrun
6189     # during glob expansion).  Even if it were fixed, the result of this
6190     # check would be larger than it should be.
6191     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6192     ;;
6194   gnu*)
6195     # Under GNU Hurd, this test is not required because there is
6196     # no limit to the length of command line arguments.
6197     # Libtool will interpret -1 as no limit whatsoever
6198     lt_cv_sys_max_cmd_len=-1;
6199     ;;
6201   cygwin* | mingw* | cegcc*)
6202     # On Win9x/ME, this test blows up -- it succeeds, but takes
6203     # about 5 minutes as the teststring grows exponentially.
6204     # Worse, since 9x/ME are not pre-emptively multitasking,
6205     # you end up with a "frozen" computer, even though with patience
6206     # the test eventually succeeds (with a max line length of 256k).
6207     # Instead, let's just punt: use the minimum linelength reported by
6208     # all of the supported platforms: 8192 (on NT/2K/XP).
6209     lt_cv_sys_max_cmd_len=8192;
6210     ;;
6212   amigaos*)
6213     # On AmigaOS with pdksh, this test takes hours, literally.
6214     # So we just punt and use a minimum line length of 8192.
6215     lt_cv_sys_max_cmd_len=8192;
6216     ;;
6218   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6219     # This has been around since 386BSD, at least.  Likely further.
6220     if test -x /sbin/sysctl; then
6221       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6222     elif test -x /usr/sbin/sysctl; then
6223       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6224     else
6225       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6226     fi
6227     # And add a safety zone
6228     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6229     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6230     ;;
6232   interix*)
6233     # We know the value 262144 and hardcode it with a safety zone (like BSD)
6234     lt_cv_sys_max_cmd_len=196608
6235     ;;
6237   osf*)
6238     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6239     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6240     # nice to cause kernel panics so lets avoid the loop below.
6241     # First set a reasonable default.
6242     lt_cv_sys_max_cmd_len=16384
6243     #
6244     if test -x /sbin/sysconfig; then
6245       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6246         *1*) lt_cv_sys_max_cmd_len=-1 ;;
6247       esac
6248     fi
6249     ;;
6250   sco3.2v5*)
6251     lt_cv_sys_max_cmd_len=102400
6252     ;;
6253   sysv5* | sco5v6* | sysv4.2uw2*)
6254     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6255     if test -n "$kargmax"; then
6256       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
6257     else
6258       lt_cv_sys_max_cmd_len=32768
6259     fi
6260     ;;
6261   *)
6262     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6263     if test -n "$lt_cv_sys_max_cmd_len"; then
6264       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6265       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6266     else
6267       # Make teststring a little bigger before we do anything with it.
6268       # a 1K string should be a reasonable start.
6269       for i in 1 2 3 4 5 6 7 8 ; do
6270         teststring=$teststring$teststring
6271       done
6272       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6273       # If test is not a shell built-in, we'll probably end up computing a
6274       # maximum length that is only half of the actual maximum length, but
6275       # we can't tell.
6276       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6277                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
6278               test $i != 17 # 1/2 MB should be enough
6279       do
6280         i=`expr $i + 1`
6281         teststring=$teststring$teststring
6282       done
6283       # Only check the string length outside the loop.
6284       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6285       teststring=
6286       # Add a significant safety factor because C++ compilers can tack on
6287       # massive amounts of additional arguments before passing them to the
6288       # linker.  It appears as though 1/2 is a usable value.
6289       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6290     fi
6291     ;;
6292   esac
6296 if test -n $lt_cv_sys_max_cmd_len ; then
6297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6298 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6299 else
6300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6301 $as_echo "none" >&6; }
6303 max_cmd_len=$lt_cv_sys_max_cmd_len
6305     
6306     
6307     
6310 : ${CP="cp -f"}
6311 : ${MV="mv -f"}
6312 : ${RM="rm -f"}
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6315 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6316 # Try some XSI features
6317 xsi_shell=no
6318 ( _lt_dummy="a/b/c"
6319   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6320       = c,a/b,, \
6321     && eval 'test $(( 1 + 1 )) -eq 2 \
6322     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6323   && xsi_shell=yes
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6325 $as_echo "$xsi_shell" >&6; }
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6329 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6330 lt_shell_append=no
6331 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6332     >/dev/null 2>&1 \
6333   && lt_shell_append=yes
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6335 $as_echo "$lt_shell_append" >&6; }
6338 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6339   lt_unset=unset
6340 else
6341   lt_unset=false
6344     
6345     
6346     
6348 # test EBCDIC or ASCII
6349 case `echo X|tr X '\101'` in
6350  A) # ASCII based system
6351     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6352   lt_SP2NL='tr \040 \012'
6353   lt_NL2SP='tr \015\012 \040\040'
6354   ;;
6355  *) # EBCDIC based system
6356   lt_SP2NL='tr \100 \n'
6357   lt_NL2SP='tr \r\n \100\100'
6358   ;;
6359 esac
6361     
6362     
6363     
6365     
6366     
6367     
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6370 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6371 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6372   $as_echo_n "(cached) " >&6
6373 else
6374   lt_cv_ld_reload_flag='-r'
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6377 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6378 reload_flag=$lt_cv_ld_reload_flag
6379 case $reload_flag in
6380 "" | " "*) ;;
6381 *) reload_flag=" $reload_flag" ;;
6382 esac
6383 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6384 case $host_os in
6385   darwin*)
6386     if test "$GCC" = yes; then
6387       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6388     else
6389       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6390     fi
6391     ;;
6392 esac
6394     
6395     
6396     
6398     
6399     
6400     
6402 if test -n "$ac_tool_prefix"; then
6403   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6404 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6406 $as_echo_n "checking for $ac_word... " >&6; }
6407 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6408   $as_echo_n "(cached) " >&6
6409 else
6410   if test -n "$OBJDUMP"; then
6411   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6412 else
6413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6414 for as_dir in $PATH
6416   IFS=$as_save_IFS
6417   test -z "$as_dir" && as_dir=.
6418     for ac_exec_ext in '' $ac_executable_extensions; do
6419   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6420     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6421     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6422     break 2
6423   fi
6424 done
6425   done
6426 IFS=$as_save_IFS
6430 OBJDUMP=$ac_cv_prog_OBJDUMP
6431 if test -n "$OBJDUMP"; then
6432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6433 $as_echo "$OBJDUMP" >&6; }
6434 else
6435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6436 $as_echo "no" >&6; }
6441 if test -z "$ac_cv_prog_OBJDUMP"; then
6442   ac_ct_OBJDUMP=$OBJDUMP
6443   # Extract the first word of "objdump", so it can be a program name with args.
6444 set dummy objdump; ac_word=$2
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6446 $as_echo_n "checking for $ac_word... " >&6; }
6447 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6448   $as_echo_n "(cached) " >&6
6449 else
6450   if test -n "$ac_ct_OBJDUMP"; then
6451   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6452 else
6453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6454 for as_dir in $PATH
6456   IFS=$as_save_IFS
6457   test -z "$as_dir" && as_dir=.
6458     for ac_exec_ext in '' $ac_executable_extensions; do
6459   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6460     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6461     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6462     break 2
6463   fi
6464 done
6465   done
6466 IFS=$as_save_IFS
6470 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6471 if test -n "$ac_ct_OBJDUMP"; then
6472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6473 $as_echo "$ac_ct_OBJDUMP" >&6; }
6474 else
6475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6476 $as_echo "no" >&6; }
6479   if test "x$ac_ct_OBJDUMP" = x; then
6480     OBJDUMP="false"
6481   else
6482     case $cross_compiling:$ac_tool_warned in
6483 yes:)
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6485 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6486 ac_tool_warned=yes ;;
6487 esac
6488     OBJDUMP=$ac_ct_OBJDUMP
6489   fi
6490 else
6491   OBJDUMP="$ac_cv_prog_OBJDUMP"
6494 test -z "$OBJDUMP" && OBJDUMP=objdump
6496     
6497     
6498     
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6505 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6506 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6507   $as_echo_n "(cached) " >&6
6508 else
6509   lt_cv_file_magic_cmd='$MAGIC_CMD'
6510 lt_cv_file_magic_test_file=
6511 lt_cv_deplibs_check_method='unknown'
6512 # Need to set the preceding variable on all platforms that support
6513 # interlibrary dependencies.
6514 # 'none' -- dependencies not supported.
6515 # `unknown' -- same as none, but documents that we really don't know.
6516 # 'pass_all' -- all dependencies passed with no checks.
6517 # 'test_compile' -- check by making test program.
6518 # 'file_magic [[regex]]' -- check by looking for files in library path
6519 # which responds to the $file_magic_cmd with a given extended regex.
6520 # If you have `file' or equivalent on your system and you're not sure
6521 # whether `pass_all' will *always* work, you probably want this one.
6523 case $host_os in
6524 aix[4-9]*)
6525   lt_cv_deplibs_check_method=pass_all
6526   ;;
6528 beos*)
6529   lt_cv_deplibs_check_method=pass_all
6530   ;;
6532 bsdi[45]*)
6533   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6534   lt_cv_file_magic_cmd='/usr/bin/file -L'
6535   lt_cv_file_magic_test_file=/shlib/libc.so
6536   ;;
6538 cygwin*)
6539   # func_win32_libid is a shell function defined in ltmain.sh
6540   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6541   lt_cv_file_magic_cmd='func_win32_libid'
6542   ;;
6544 mingw* | pw32*)
6545   # Base MSYS/MinGW do not provide the 'file' command needed by
6546   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6547   # unless we find 'file', for example because we are cross-compiling.
6548   if ( file / ) >/dev/null 2>&1; then
6549     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6550     lt_cv_file_magic_cmd='func_win32_libid'
6551   else
6552     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6553     lt_cv_file_magic_cmd='$OBJDUMP -f'
6554   fi
6555   ;;
6557 cegcc)
6558   # use the weaker test based on 'objdump'. See mingw*.
6559   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6560   lt_cv_file_magic_cmd='$OBJDUMP -f'
6561   ;;
6563 darwin* | rhapsody*)
6564   lt_cv_deplibs_check_method=pass_all
6565   ;;
6567 freebsd* | dragonfly*)
6568   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6569     case $host_cpu in
6570     i*86 )
6571       # Not sure whether the presence of OpenBSD here was a mistake.
6572       # Let's accept both of them until this is cleared up.
6573       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6574       lt_cv_file_magic_cmd=/usr/bin/file
6575       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6576       ;;
6577     esac
6578   else
6579     lt_cv_deplibs_check_method=pass_all
6580   fi
6581   ;;
6583 gnu*)
6584   lt_cv_deplibs_check_method=pass_all
6585   ;;
6587 hpux10.20* | hpux11*)
6588   lt_cv_file_magic_cmd=/usr/bin/file
6589   case $host_cpu in
6590   ia64*)
6591     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6592     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6593     ;;
6594   hppa*64*)
6595     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]'
6596     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6597     ;;
6598   *)
6599     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6600     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6601     ;;
6602   esac
6603   ;;
6605 interix[3-9]*)
6606   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6607   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6608   ;;
6610 irix5* | irix6* | nonstopux*)
6611   case $LD in
6612   *-32|*"-32 ") libmagic=32-bit;;
6613   *-n32|*"-n32 ") libmagic=N32;;
6614   *-64|*"-64 ") libmagic=64-bit;;
6615   *) libmagic=never-match;;
6616   esac
6617   lt_cv_deplibs_check_method=pass_all
6618   ;;
6620 # This must be Linux ELF.
6621 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6622   lt_cv_deplibs_check_method=pass_all
6623   ;;
6625 netbsd* | netbsdelf*-gnu)
6626   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6627     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6628   else
6629     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6630   fi
6631   ;;
6633 newos6*)
6634   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6635   lt_cv_file_magic_cmd=/usr/bin/file
6636   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6637   ;;
6639 *nto* | *qnx*)
6640   lt_cv_deplibs_check_method=pass_all
6641   ;;
6643 openbsd*)
6644   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6645     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6646   else
6647     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6648   fi
6649   ;;
6651 osf3* | osf4* | osf5*)
6652   lt_cv_deplibs_check_method=pass_all
6653   ;;
6655 rdos*)
6656   lt_cv_deplibs_check_method=pass_all
6657   ;;
6659 solaris*)
6660   lt_cv_deplibs_check_method=pass_all
6661   ;;
6663 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6664   lt_cv_deplibs_check_method=pass_all
6665   ;;
6667 sysv4 | sysv4.3*)
6668   case $host_vendor in
6669   motorola)
6670     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]'
6671     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6672     ;;
6673   ncr)
6674     lt_cv_deplibs_check_method=pass_all
6675     ;;
6676   sequent)
6677     lt_cv_file_magic_cmd='/bin/file'
6678     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6679     ;;
6680   sni)
6681     lt_cv_file_magic_cmd='/bin/file'
6682     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6683     lt_cv_file_magic_test_file=/lib/libc.so
6684     ;;
6685   siemens)
6686     lt_cv_deplibs_check_method=pass_all
6687     ;;
6688   pc)
6689     lt_cv_deplibs_check_method=pass_all
6690     ;;
6691   esac
6692   ;;
6694 tpf*)
6695   lt_cv_deplibs_check_method=pass_all
6696   ;;
6697 esac
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6701 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6702 file_magic_cmd=$lt_cv_file_magic_cmd
6703 deplibs_check_method=$lt_cv_deplibs_check_method
6704 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6707     
6708     
6709     
6712     
6713     
6714     
6717 if test -n "$ac_tool_prefix"; then
6718   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6719 set dummy ${ac_tool_prefix}ar; ac_word=$2
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6721 $as_echo_n "checking for $ac_word... " >&6; }
6722 if test "${ac_cv_prog_AR+set}" = set; then :
6723   $as_echo_n "(cached) " >&6
6724 else
6725   if test -n "$AR"; then
6726   ac_cv_prog_AR="$AR" # Let the user override the test.
6727 else
6728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6729 for as_dir in $PATH
6731   IFS=$as_save_IFS
6732   test -z "$as_dir" && as_dir=.
6733     for ac_exec_ext in '' $ac_executable_extensions; do
6734   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6735     ac_cv_prog_AR="${ac_tool_prefix}ar"
6736     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6737     break 2
6738   fi
6739 done
6740   done
6741 IFS=$as_save_IFS
6745 AR=$ac_cv_prog_AR
6746 if test -n "$AR"; then
6747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6748 $as_echo "$AR" >&6; }
6749 else
6750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6751 $as_echo "no" >&6; }
6756 if test -z "$ac_cv_prog_AR"; then
6757   ac_ct_AR=$AR
6758   # Extract the first word of "ar", so it can be a program name with args.
6759 set dummy ar; ac_word=$2
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6761 $as_echo_n "checking for $ac_word... " >&6; }
6762 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6763   $as_echo_n "(cached) " >&6
6764 else
6765   if test -n "$ac_ct_AR"; then
6766   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6767 else
6768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6769 for as_dir in $PATH
6771   IFS=$as_save_IFS
6772   test -z "$as_dir" && as_dir=.
6773     for ac_exec_ext in '' $ac_executable_extensions; do
6774   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6775     ac_cv_prog_ac_ct_AR="ar"
6776     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6777     break 2
6778   fi
6779 done
6780   done
6781 IFS=$as_save_IFS
6785 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6786 if test -n "$ac_ct_AR"; then
6787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6788 $as_echo "$ac_ct_AR" >&6; }
6789 else
6790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6791 $as_echo "no" >&6; }
6794   if test "x$ac_ct_AR" = x; then
6795     AR="false"
6796   else
6797     case $cross_compiling:$ac_tool_warned in
6798 yes:)
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6800 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6801 ac_tool_warned=yes ;;
6802 esac
6803     AR=$ac_ct_AR
6804   fi
6805 else
6806   AR="$ac_cv_prog_AR"
6809 test -z "$AR" && AR=ar
6810 test -z "$AR_FLAGS" && AR_FLAGS=cru
6812     
6813     
6814     
6817     
6818     
6819     
6822 if test -n "$ac_tool_prefix"; then
6823   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6824 set dummy ${ac_tool_prefix}strip; ac_word=$2
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6826 $as_echo_n "checking for $ac_word... " >&6; }
6827 if test "${ac_cv_prog_STRIP+set}" = set; then :
6828   $as_echo_n "(cached) " >&6
6829 else
6830   if test -n "$STRIP"; then
6831   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6832 else
6833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6834 for as_dir in $PATH
6836   IFS=$as_save_IFS
6837   test -z "$as_dir" && as_dir=.
6838     for ac_exec_ext in '' $ac_executable_extensions; do
6839   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6840     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6841     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6842     break 2
6843   fi
6844 done
6845   done
6846 IFS=$as_save_IFS
6850 STRIP=$ac_cv_prog_STRIP
6851 if test -n "$STRIP"; then
6852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6853 $as_echo "$STRIP" >&6; }
6854 else
6855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6856 $as_echo "no" >&6; }
6861 if test -z "$ac_cv_prog_STRIP"; then
6862   ac_ct_STRIP=$STRIP
6863   # Extract the first word of "strip", so it can be a program name with args.
6864 set dummy strip; ac_word=$2
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6866 $as_echo_n "checking for $ac_word... " >&6; }
6867 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6868   $as_echo_n "(cached) " >&6
6869 else
6870   if test -n "$ac_ct_STRIP"; then
6871   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6872 else
6873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6874 for as_dir in $PATH
6876   IFS=$as_save_IFS
6877   test -z "$as_dir" && as_dir=.
6878     for ac_exec_ext in '' $ac_executable_extensions; do
6879   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6880     ac_cv_prog_ac_ct_STRIP="strip"
6881     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6882     break 2
6883   fi
6884 done
6885   done
6886 IFS=$as_save_IFS
6890 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6891 if test -n "$ac_ct_STRIP"; then
6892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6893 $as_echo "$ac_ct_STRIP" >&6; }
6894 else
6895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6896 $as_echo "no" >&6; }
6899   if test "x$ac_ct_STRIP" = x; then
6900     STRIP=":"
6901   else
6902     case $cross_compiling:$ac_tool_warned in
6903 yes:)
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6905 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6906 ac_tool_warned=yes ;;
6907 esac
6908     STRIP=$ac_ct_STRIP
6909   fi
6910 else
6911   STRIP="$ac_cv_prog_STRIP"
6914 test -z "$STRIP" && STRIP=:
6916     
6917     
6918     
6921 if test -n "$ac_tool_prefix"; then
6922   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6923 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6925 $as_echo_n "checking for $ac_word... " >&6; }
6926 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6927   $as_echo_n "(cached) " >&6
6928 else
6929   if test -n "$RANLIB"; then
6930   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6931 else
6932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6933 for as_dir in $PATH
6935   IFS=$as_save_IFS
6936   test -z "$as_dir" && as_dir=.
6937     for ac_exec_ext in '' $ac_executable_extensions; do
6938   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6939     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6940     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6941     break 2
6942   fi
6943 done
6944   done
6945 IFS=$as_save_IFS
6949 RANLIB=$ac_cv_prog_RANLIB
6950 if test -n "$RANLIB"; then
6951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6952 $as_echo "$RANLIB" >&6; }
6953 else
6954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6955 $as_echo "no" >&6; }
6960 if test -z "$ac_cv_prog_RANLIB"; then
6961   ac_ct_RANLIB=$RANLIB
6962   # Extract the first word of "ranlib", so it can be a program name with args.
6963 set dummy ranlib; ac_word=$2
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6965 $as_echo_n "checking for $ac_word... " >&6; }
6966 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6967   $as_echo_n "(cached) " >&6
6968 else
6969   if test -n "$ac_ct_RANLIB"; then
6970   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6971 else
6972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6973 for as_dir in $PATH
6975   IFS=$as_save_IFS
6976   test -z "$as_dir" && as_dir=.
6977     for ac_exec_ext in '' $ac_executable_extensions; do
6978   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6979     ac_cv_prog_ac_ct_RANLIB="ranlib"
6980     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6981     break 2
6982   fi
6983 done
6984   done
6985 IFS=$as_save_IFS
6989 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6990 if test -n "$ac_ct_RANLIB"; then
6991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6992 $as_echo "$ac_ct_RANLIB" >&6; }
6993 else
6994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6995 $as_echo "no" >&6; }
6998   if test "x$ac_ct_RANLIB" = x; then
6999     RANLIB=":"
7000   else
7001     case $cross_compiling:$ac_tool_warned in
7002 yes:)
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7004 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7005 ac_tool_warned=yes ;;
7006 esac
7007     RANLIB=$ac_ct_RANLIB
7008   fi
7009 else
7010   RANLIB="$ac_cv_prog_RANLIB"
7013 test -z "$RANLIB" && RANLIB=:
7015     
7016     
7017     
7020 # Determine commands to create old-style static archives.
7021 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7022 old_postinstall_cmds='chmod 644 $oldlib'
7023 old_postuninstall_cmds=
7025 if test -n "$RANLIB"; then
7026   case $host_os in
7027   openbsd*)
7028     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7029     ;;
7030   *)
7031     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7032     ;;
7033   esac
7034   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7037     
7038     
7039     
7042     
7043     
7044     
7047     
7048     
7049     
7054     
7055     
7056     
7058     
7059     
7060     
7062     
7063     
7064     
7066     
7067     
7068     
7070 # If no C compiler was specified, use CC.
7071 LTCC=${LTCC-"$CC"}
7073 # If no C compiler flags were specified, use CFLAGS.
7074 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7076 # Allow CC to be a program name with arguments.
7077 compiler=$CC
7080 # Check for command to grab the raw symbol name followed by C symbol from nm.
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7082 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7083 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7084   $as_echo_n "(cached) " >&6
7085 else
7086   
7087 # These are sane defaults that work on at least a few old systems.
7088 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7090 # Character class describing NM global symbol codes.
7091 symcode='[BCDEGRST]'
7093 # Regexp to match symbols that can be accessed directly from C.
7094 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7096 # Define system-specific variables.
7097 case $host_os in
7098 aix*)
7099   symcode='[BCDT]'
7100   ;;
7101 cygwin* | mingw* | pw32* | cegcc*)
7102   symcode='[ABCDGISTW]'
7103   ;;
7104 hpux*)
7105   if test "$host_cpu" = ia64; then
7106     symcode='[ABCDEGRST]'
7107   fi
7108   ;;
7109 irix* | nonstopux*)
7110   symcode='[BCDEGRST]'
7111   ;;
7112 osf*)
7113   symcode='[BCDEGQRST]'
7114   ;;
7115 solaris*)
7116   symcode='[BDRT]'
7117   ;;
7118 sco3.2v5*)
7119   symcode='[DT]'
7120   ;;
7121 sysv4.2uw2*)
7122   symcode='[DT]'
7123   ;;
7124 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7125   symcode='[ABDT]'
7126   ;;
7127 sysv4)
7128   symcode='[DFNSTU]'
7129   ;;
7130 esac
7132 # If we're using GNU nm, then use its standard symbol codes.
7133 case `$NM -V 2>&1` in
7134 *GNU* | *'with BFD'*)
7135   symcode='[ABCDGIRSTW]' ;;
7136 esac
7138 # Transform an extracted symbol line into a proper C declaration.
7139 # Some systems (esp. on ia64) link data and code symbols differently,
7140 # so use this general approach.
7141 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7143 # Transform an extracted symbol line into symbol name and symbol address
7144 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7145 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'"
7147 # Handle CRLF in mingw tool chain
7148 opt_cr=
7149 case $build_os in
7150 mingw*)
7151   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7152   ;;
7153 esac
7155 # Try without a prefix underscore, then with it.
7156 for ac_symprfx in "" "_"; do
7158   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7159   symxfrm="\\1 $ac_symprfx\\2 \\2"
7161   # Write the raw and C identifiers.
7162   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7163     # Fake it for dumpbin and say T for any non-static function
7164     # and D for any global variable.
7165     # Also find C++ and __fastcall symbols from MSVC++,
7166     # which start with @ or ?.
7167     lt_cv_sys_global_symbol_pipe="$AWK '"\
7168 "     {last_section=section; section=\$ 3};"\
7169 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7170 "     \$ 0!~/External *\|/{next};"\
7171 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7172 "     {if(hide[section]) next};"\
7173 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7174 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7175 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7176 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7177 "     ' prfx=^$ac_symprfx"
7178   else
7179     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7180   fi
7182   # Check to see that the pipe works correctly.
7183   pipe_works=no
7185   rm -f conftest*
7186   cat > conftest.$ac_ext <<_LT_EOF
7187 #ifdef __cplusplus
7188 extern "C" {
7189 #endif
7190 char nm_test_var;
7191 void nm_test_func(void);
7192 void nm_test_func(void){}
7193 #ifdef __cplusplus
7195 #endif
7196 int main(){nm_test_var='a';nm_test_func();return(0);}
7197 _LT_EOF
7199   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7200   (eval $ac_compile) 2>&5
7201   ac_status=$?
7202   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7203   test $ac_status = 0; }; then
7204     # Now try to grab the symbols.
7205     nlist=conftest.nm
7206     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
7207   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7208   ac_status=$?
7209   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7210   test $ac_status = 0; } && test -s "$nlist"; then
7211       # Try sorting and uniquifying the output.
7212       if sort "$nlist" | uniq > "$nlist"T; then
7213         mv -f "$nlist"T "$nlist"
7214       else
7215         rm -f "$nlist"T
7216       fi
7218       # Make sure that we snagged all the symbols we need.
7219       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7220         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7221           cat <<_LT_EOF > conftest.$ac_ext
7222 #ifdef __cplusplus
7223 extern "C" {
7224 #endif
7226 _LT_EOF
7227           # Now generate the symbol file.
7228           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7230           cat <<_LT_EOF >> conftest.$ac_ext
7232 /* The mapping between symbol names and symbols.  */
7233 const struct {
7234   const char *name;
7235   void       *address;
7237 lt__PROGRAM__LTX_preloaded_symbols[] =
7239   { "@PROGRAM@", (void *) 0 },
7240 _LT_EOF
7241           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7242           cat <<\_LT_EOF >> conftest.$ac_ext
7243   {0, (void *) 0}
7246 /* This works around a problem in FreeBSD linker */
7247 #ifdef FREEBSD_WORKAROUND
7248 static const void *lt_preloaded_setup() {
7249   return lt__PROGRAM__LTX_preloaded_symbols;
7251 #endif
7253 #ifdef __cplusplus
7255 #endif
7256 _LT_EOF
7257           # Now try linking the two files.
7258           mv conftest.$ac_objext conftstm.$ac_objext
7259           lt_save_LIBS="$LIBS"
7260           lt_save_CFLAGS="$CFLAGS"
7261           LIBS="conftstm.$ac_objext"
7262           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7263           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7264   (eval $ac_link) 2>&5
7265   ac_status=$?
7266   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7267   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7268             pipe_works=yes
7269           fi
7270           LIBS="$lt_save_LIBS"
7271           CFLAGS="$lt_save_CFLAGS"
7272         else
7273           echo "cannot find nm_test_func in $nlist" >&5
7274         fi
7275       else
7276         echo "cannot find nm_test_var in $nlist" >&5
7277       fi
7278     else
7279       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7280     fi
7281   else
7282     echo "$progname: failed program was:" >&5
7283     cat conftest.$ac_ext >&5
7284   fi
7285   rm -rf conftest* conftst*
7287   # Do not use the global_symbol_pipe unless it works.
7288   if test "$pipe_works" = yes; then
7289     break
7290   else
7291     lt_cv_sys_global_symbol_pipe=
7292   fi
7293 done
7297 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7298   lt_cv_sys_global_symbol_to_cdecl=
7300 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7302 $as_echo "failed" >&6; }
7303 else
7304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7305 $as_echo "ok" >&6; }
7309     
7310     
7311     
7314     
7315     
7316     
7319     
7320     
7321     
7324     
7325     
7326     
7329 @%:@ Check whether --enable-libtool-lock was given.
7330 if test "${enable_libtool_lock+set}" = set; then :
7331   enableval=$enable_libtool_lock; 
7334 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7336 # Some flags need to be propagated to the compiler or linker for good
7337 # libtool support.
7338 case $host in
7339 ia64-*-hpux*)
7340   # Find out which ABI we are using.
7341   echo 'int i;' > conftest.$ac_ext
7342   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7343   (eval $ac_compile) 2>&5
7344   ac_status=$?
7345   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7346   test $ac_status = 0; }; then
7347     case `/usr/bin/file conftest.$ac_objext` in
7348       *ELF-32*)
7349         HPUX_IA64_MODE="32"
7350         ;;
7351       *ELF-64*)
7352         HPUX_IA64_MODE="64"
7353         ;;
7354     esac
7355   fi
7356   rm -rf conftest*
7357   ;;
7358 *-*-irix6*)
7359   # Find out which ABI we are using.
7360   echo '#line __oline__ "configure"' > conftest.$ac_ext
7361   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7362   (eval $ac_compile) 2>&5
7363   ac_status=$?
7364   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7365   test $ac_status = 0; }; then
7366     if test "$lt_cv_prog_gnu_ld" = yes; then
7367       case `/usr/bin/file conftest.$ac_objext` in
7368         *32-bit*)
7369           LD="${LD-ld} -melf32bsmip"
7370           ;;
7371         *N32*)
7372           LD="${LD-ld} -melf32bmipn32"
7373           ;;
7374         *64-bit*)
7375           LD="${LD-ld} -melf64bmip"
7376         ;;
7377       esac
7378     else
7379       case `/usr/bin/file conftest.$ac_objext` in
7380         *32-bit*)
7381           LD="${LD-ld} -32"
7382           ;;
7383         *N32*)
7384           LD="${LD-ld} -n32"
7385           ;;
7386         *64-bit*)
7387           LD="${LD-ld} -64"
7388           ;;
7389       esac
7390     fi
7391   fi
7392   rm -rf conftest*
7393   ;;
7395 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7396 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7397   # Find out which ABI we are using.
7398   echo 'int i;' > conftest.$ac_ext
7399   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7400   (eval $ac_compile) 2>&5
7401   ac_status=$?
7402   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7403   test $ac_status = 0; }; then
7404     case `/usr/bin/file conftest.o` in
7405       *32-bit*)
7406         case $host in
7407           x86_64-*kfreebsd*-gnu)
7408             LD="${LD-ld} -m elf_i386_fbsd"
7409             ;;
7410           x86_64-*linux*)
7411             LD="${LD-ld} -m elf_i386"
7412             ;;
7413           ppc64-*linux*|powerpc64-*linux*)
7414             LD="${LD-ld} -m elf32ppclinux"
7415             ;;
7416           s390x-*linux*)
7417             LD="${LD-ld} -m elf_s390"
7418             ;;
7419           sparc64-*linux*)
7420             LD="${LD-ld} -m elf32_sparc"
7421             ;;
7422         esac
7423         ;;
7424       *64-bit*)
7425         case $host in
7426           x86_64-*kfreebsd*-gnu)
7427             LD="${LD-ld} -m elf_x86_64_fbsd"
7428             ;;
7429           x86_64-*linux*)
7430             LD="${LD-ld} -m elf_x86_64"
7431             ;;
7432           ppc*-*linux*|powerpc*-*linux*)
7433             LD="${LD-ld} -m elf64ppc"
7434             ;;
7435           s390*-*linux*|s390*-*tpf*)
7436             LD="${LD-ld} -m elf64_s390"
7437             ;;
7438           sparc*-*linux*)
7439             LD="${LD-ld} -m elf64_sparc"
7440             ;;
7441         esac
7442         ;;
7443     esac
7444   fi
7445   rm -rf conftest*
7446   ;;
7448 *-*-sco3.2v5*)
7449   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7450   SAVE_CFLAGS="$CFLAGS"
7451   CFLAGS="$CFLAGS -belf"
7452   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7453 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7454 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7455   $as_echo_n "(cached) " >&6
7456 else
7457   ac_ext=c
7458 ac_cpp='$CPP $CPPFLAGS'
7459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7463      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7464 /* end confdefs.h.  */
7467 main ()
7470   ;
7471   return 0;
7473 _ACEOF
7474 if ac_fn_c_try_link "$LINENO"; then :
7475   lt_cv_cc_needs_belf=yes
7476 else
7477   lt_cv_cc_needs_belf=no
7479 rm -f core conftest.err conftest.$ac_objext \
7480     conftest$ac_exeext conftest.$ac_ext
7481      ac_ext=c
7482 ac_cpp='$CPP $CPPFLAGS'
7483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7489 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7490   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7491     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7492     CFLAGS="$SAVE_CFLAGS"
7493   fi
7494   ;;
7495 sparc*-*solaris*)
7496   # Find out which ABI we are using.
7497   echo 'int i;' > conftest.$ac_ext
7498   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7499   (eval $ac_compile) 2>&5
7500   ac_status=$?
7501   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7502   test $ac_status = 0; }; then
7503     case `/usr/bin/file conftest.o` in
7504     *64-bit*)
7505       case $lt_cv_prog_gnu_ld in
7506       yes*) LD="${LD-ld} -m elf64_sparc" ;;
7507       *)
7508         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7509           LD="${LD-ld} -64"
7510         fi
7511         ;;
7512       esac
7513       ;;
7514     esac
7515   fi
7516   rm -rf conftest*
7517   ;;
7518 esac
7520 need_locks="$enable_libtool_lock"
7523   case $host_os in
7524     rhapsody* | darwin*)
7525     if test -n "$ac_tool_prefix"; then
7526   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7527 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7529 $as_echo_n "checking for $ac_word... " >&6; }
7530 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7531   $as_echo_n "(cached) " >&6
7532 else
7533   if test -n "$DSYMUTIL"; then
7534   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7535 else
7536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7537 for as_dir in $PATH
7539   IFS=$as_save_IFS
7540   test -z "$as_dir" && as_dir=.
7541     for ac_exec_ext in '' $ac_executable_extensions; do
7542   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7543     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7544     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7545     break 2
7546   fi
7547 done
7548   done
7549 IFS=$as_save_IFS
7553 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7554 if test -n "$DSYMUTIL"; then
7555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7556 $as_echo "$DSYMUTIL" >&6; }
7557 else
7558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7559 $as_echo "no" >&6; }
7564 if test -z "$ac_cv_prog_DSYMUTIL"; then
7565   ac_ct_DSYMUTIL=$DSYMUTIL
7566   # Extract the first word of "dsymutil", so it can be a program name with args.
7567 set dummy dsymutil; ac_word=$2
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7569 $as_echo_n "checking for $ac_word... " >&6; }
7570 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7571   $as_echo_n "(cached) " >&6
7572 else
7573   if test -n "$ac_ct_DSYMUTIL"; then
7574   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7575 else
7576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7577 for as_dir in $PATH
7579   IFS=$as_save_IFS
7580   test -z "$as_dir" && as_dir=.
7581     for ac_exec_ext in '' $ac_executable_extensions; do
7582   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7583     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7584     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7585     break 2
7586   fi
7587 done
7588   done
7589 IFS=$as_save_IFS
7593 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7594 if test -n "$ac_ct_DSYMUTIL"; then
7595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7596 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7597 else
7598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7599 $as_echo "no" >&6; }
7602   if test "x$ac_ct_DSYMUTIL" = x; then
7603     DSYMUTIL=":"
7604   else
7605     case $cross_compiling:$ac_tool_warned in
7606 yes:)
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7608 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7609 ac_tool_warned=yes ;;
7610 esac
7611     DSYMUTIL=$ac_ct_DSYMUTIL
7612   fi
7613 else
7614   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7617     if test -n "$ac_tool_prefix"; then
7618   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7619 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7621 $as_echo_n "checking for $ac_word... " >&6; }
7622 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7623   $as_echo_n "(cached) " >&6
7624 else
7625   if test -n "$NMEDIT"; then
7626   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7627 else
7628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7629 for as_dir in $PATH
7631   IFS=$as_save_IFS
7632   test -z "$as_dir" && as_dir=.
7633     for ac_exec_ext in '' $ac_executable_extensions; do
7634   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7635     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7636     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7637     break 2
7638   fi
7639 done
7640   done
7641 IFS=$as_save_IFS
7645 NMEDIT=$ac_cv_prog_NMEDIT
7646 if test -n "$NMEDIT"; then
7647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7648 $as_echo "$NMEDIT" >&6; }
7649 else
7650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7651 $as_echo "no" >&6; }
7656 if test -z "$ac_cv_prog_NMEDIT"; then
7657   ac_ct_NMEDIT=$NMEDIT
7658   # Extract the first word of "nmedit", so it can be a program name with args.
7659 set dummy nmedit; ac_word=$2
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7661 $as_echo_n "checking for $ac_word... " >&6; }
7662 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7663   $as_echo_n "(cached) " >&6
7664 else
7665   if test -n "$ac_ct_NMEDIT"; then
7666   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7667 else
7668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7669 for as_dir in $PATH
7671   IFS=$as_save_IFS
7672   test -z "$as_dir" && as_dir=.
7673     for ac_exec_ext in '' $ac_executable_extensions; do
7674   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7675     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7676     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7677     break 2
7678   fi
7679 done
7680   done
7681 IFS=$as_save_IFS
7685 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7686 if test -n "$ac_ct_NMEDIT"; then
7687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7688 $as_echo "$ac_ct_NMEDIT" >&6; }
7689 else
7690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7691 $as_echo "no" >&6; }
7694   if test "x$ac_ct_NMEDIT" = x; then
7695     NMEDIT=":"
7696   else
7697     case $cross_compiling:$ac_tool_warned in
7698 yes:)
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7700 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7701 ac_tool_warned=yes ;;
7702 esac
7703     NMEDIT=$ac_ct_NMEDIT
7704   fi
7705 else
7706   NMEDIT="$ac_cv_prog_NMEDIT"
7709     if test -n "$ac_tool_prefix"; then
7710   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7711 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7713 $as_echo_n "checking for $ac_word... " >&6; }
7714 if test "${ac_cv_prog_LIPO+set}" = set; then :
7715   $as_echo_n "(cached) " >&6
7716 else
7717   if test -n "$LIPO"; then
7718   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7719 else
7720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7721 for as_dir in $PATH
7723   IFS=$as_save_IFS
7724   test -z "$as_dir" && as_dir=.
7725     for ac_exec_ext in '' $ac_executable_extensions; do
7726   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7727     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7728     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7729     break 2
7730   fi
7731 done
7732   done
7733 IFS=$as_save_IFS
7737 LIPO=$ac_cv_prog_LIPO
7738 if test -n "$LIPO"; then
7739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7740 $as_echo "$LIPO" >&6; }
7741 else
7742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7743 $as_echo "no" >&6; }
7748 if test -z "$ac_cv_prog_LIPO"; then
7749   ac_ct_LIPO=$LIPO
7750   # Extract the first word of "lipo", so it can be a program name with args.
7751 set dummy lipo; ac_word=$2
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7753 $as_echo_n "checking for $ac_word... " >&6; }
7754 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7755   $as_echo_n "(cached) " >&6
7756 else
7757   if test -n "$ac_ct_LIPO"; then
7758   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7759 else
7760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7761 for as_dir in $PATH
7763   IFS=$as_save_IFS
7764   test -z "$as_dir" && as_dir=.
7765     for ac_exec_ext in '' $ac_executable_extensions; do
7766   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7767     ac_cv_prog_ac_ct_LIPO="lipo"
7768     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7769     break 2
7770   fi
7771 done
7772   done
7773 IFS=$as_save_IFS
7777 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7778 if test -n "$ac_ct_LIPO"; then
7779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7780 $as_echo "$ac_ct_LIPO" >&6; }
7781 else
7782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7783 $as_echo "no" >&6; }
7786   if test "x$ac_ct_LIPO" = x; then
7787     LIPO=":"
7788   else
7789     case $cross_compiling:$ac_tool_warned in
7790 yes:)
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7792 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7793 ac_tool_warned=yes ;;
7794 esac
7795     LIPO=$ac_ct_LIPO
7796   fi
7797 else
7798   LIPO="$ac_cv_prog_LIPO"
7801     if test -n "$ac_tool_prefix"; then
7802   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7803 set dummy ${ac_tool_prefix}otool; ac_word=$2
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7805 $as_echo_n "checking for $ac_word... " >&6; }
7806 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7807   $as_echo_n "(cached) " >&6
7808 else
7809   if test -n "$OTOOL"; then
7810   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7811 else
7812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7813 for as_dir in $PATH
7815   IFS=$as_save_IFS
7816   test -z "$as_dir" && as_dir=.
7817     for ac_exec_ext in '' $ac_executable_extensions; do
7818   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7819     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7820     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7821     break 2
7822   fi
7823 done
7824   done
7825 IFS=$as_save_IFS
7829 OTOOL=$ac_cv_prog_OTOOL
7830 if test -n "$OTOOL"; then
7831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7832 $as_echo "$OTOOL" >&6; }
7833 else
7834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7835 $as_echo "no" >&6; }
7840 if test -z "$ac_cv_prog_OTOOL"; then
7841   ac_ct_OTOOL=$OTOOL
7842   # Extract the first word of "otool", so it can be a program name with args.
7843 set dummy otool; ac_word=$2
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7845 $as_echo_n "checking for $ac_word... " >&6; }
7846 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7847   $as_echo_n "(cached) " >&6
7848 else
7849   if test -n "$ac_ct_OTOOL"; then
7850   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7851 else
7852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7853 for as_dir in $PATH
7855   IFS=$as_save_IFS
7856   test -z "$as_dir" && as_dir=.
7857     for ac_exec_ext in '' $ac_executable_extensions; do
7858   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7859     ac_cv_prog_ac_ct_OTOOL="otool"
7860     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7861     break 2
7862   fi
7863 done
7864   done
7865 IFS=$as_save_IFS
7869 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7870 if test -n "$ac_ct_OTOOL"; then
7871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7872 $as_echo "$ac_ct_OTOOL" >&6; }
7873 else
7874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7875 $as_echo "no" >&6; }
7878   if test "x$ac_ct_OTOOL" = x; then
7879     OTOOL=":"
7880   else
7881     case $cross_compiling:$ac_tool_warned in
7882 yes:)
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7884 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7885 ac_tool_warned=yes ;;
7886 esac
7887     OTOOL=$ac_ct_OTOOL
7888   fi
7889 else
7890   OTOOL="$ac_cv_prog_OTOOL"
7893     if test -n "$ac_tool_prefix"; then
7894   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7895 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7897 $as_echo_n "checking for $ac_word... " >&6; }
7898 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7899   $as_echo_n "(cached) " >&6
7900 else
7901   if test -n "$OTOOL64"; then
7902   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7903 else
7904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7905 for as_dir in $PATH
7907   IFS=$as_save_IFS
7908   test -z "$as_dir" && as_dir=.
7909     for ac_exec_ext in '' $ac_executable_extensions; do
7910   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7911     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7912     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7913     break 2
7914   fi
7915 done
7916   done
7917 IFS=$as_save_IFS
7921 OTOOL64=$ac_cv_prog_OTOOL64
7922 if test -n "$OTOOL64"; then
7923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7924 $as_echo "$OTOOL64" >&6; }
7925 else
7926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7927 $as_echo "no" >&6; }
7932 if test -z "$ac_cv_prog_OTOOL64"; then
7933   ac_ct_OTOOL64=$OTOOL64
7934   # Extract the first word of "otool64", so it can be a program name with args.
7935 set dummy otool64; ac_word=$2
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7937 $as_echo_n "checking for $ac_word... " >&6; }
7938 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7939   $as_echo_n "(cached) " >&6
7940 else
7941   if test -n "$ac_ct_OTOOL64"; then
7942   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7943 else
7944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7945 for as_dir in $PATH
7947   IFS=$as_save_IFS
7948   test -z "$as_dir" && as_dir=.
7949     for ac_exec_ext in '' $ac_executable_extensions; do
7950   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7951     ac_cv_prog_ac_ct_OTOOL64="otool64"
7952     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7953     break 2
7954   fi
7955 done
7956   done
7957 IFS=$as_save_IFS
7961 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7962 if test -n "$ac_ct_OTOOL64"; then
7963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7964 $as_echo "$ac_ct_OTOOL64" >&6; }
7965 else
7966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7967 $as_echo "no" >&6; }
7970   if test "x$ac_ct_OTOOL64" = x; then
7971     OTOOL64=":"
7972   else
7973     case $cross_compiling:$ac_tool_warned in
7974 yes:)
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7976 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7977 ac_tool_warned=yes ;;
7978 esac
7979     OTOOL64=$ac_ct_OTOOL64
7980   fi
7981 else
7982   OTOOL64="$ac_cv_prog_OTOOL64"
7985     
7986     
7987     
7988     
7990     
7991     
7992     
7993     
7995     
7996     
7997     
7998     
8000     
8001     
8002     
8003     
8005     
8006     
8007     
8008     
8011     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8012 $as_echo_n "checking for -single_module linker flag... " >&6; }
8013 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8014   $as_echo_n "(cached) " >&6
8015 else
8016   lt_cv_apple_cc_single_mod=no
8017       if test -z "${LT_MULTI_MODULE}"; then
8018         # By default we will add the -single_module flag. You can override
8019         # by either setting the environment variable LT_MULTI_MODULE
8020         # non-empty at configure time, or by adding -multi_module to the
8021         # link flags.
8022         rm -rf libconftest.dylib*
8023         echo "int foo(void){return 1;}" > conftest.c
8024         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8025 -dynamiclib -Wl,-single_module conftest.c" >&5
8026         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8027           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8028         _lt_result=$?
8029         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8030           lt_cv_apple_cc_single_mod=yes
8031         else
8032           cat conftest.err >&5
8033         fi
8034         rm -rf libconftest.dylib*
8035         rm -f conftest.*
8036       fi
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8039 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8040     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8041 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8042 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8043   $as_echo_n "(cached) " >&6
8044 else
8045   lt_cv_ld_exported_symbols_list=no
8046       save_LDFLAGS=$LDFLAGS
8047       echo "_main" > conftest.sym
8048       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8049       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8050 /* end confdefs.h.  */
8053 main ()
8056   ;
8057   return 0;
8059 _ACEOF
8060 if ac_fn_c_try_link "$LINENO"; then :
8061   lt_cv_ld_exported_symbols_list=yes
8062 else
8063   lt_cv_ld_exported_symbols_list=no
8065 rm -f core conftest.err conftest.$ac_objext \
8066     conftest$ac_exeext conftest.$ac_ext
8067         LDFLAGS="$save_LDFLAGS"
8068     
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8071 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8072     case $host_os in
8073     rhapsody* | darwin1.[012])
8074       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8075     darwin1.*)
8076       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8077     darwin*) # darwin 5.x on
8078       # if running on 10.5 or later, the deployment target defaults
8079       # to the OS version, if on x86, and 10.4, the deployment
8080       # target defaults to 10.4. Don't you love it?
8081       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8082         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8083           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8084         10.[012]*)
8085           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8086         10.*)
8087           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8088       esac
8089     ;;
8090   esac
8091     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8092       _lt_dar_single_mod='$single_module'
8093     fi
8094     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8095       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8096     else
8097       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8098     fi
8099     if test "$DSYMUTIL" != ":"; then
8100       _lt_dsymutil='~$DSYMUTIL $lib || :'
8101     else
8102       _lt_dsymutil=
8103     fi
8104     ;;
8105   esac
8107 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8108 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8109                   inttypes.h stdint.h unistd.h
8110 do :
8111   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8112 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8114 eval as_val=\$$as_ac_Header
8115    if test "x$as_val" = x""yes; then :
8116   cat >>confdefs.h <<_ACEOF
8117 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8118 _ACEOF
8122 done
8125 for ac_header in dlfcn.h
8126 do :
8127   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8129 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8130   cat >>confdefs.h <<_ACEOF
8131 @%:@define HAVE_DLFCN_H 1
8132 _ACEOF
8136 done
8140 # Set options
8144         enable_dlopen=no
8145   
8147   enable_win32_dll=no
8148   
8150             @%:@ Check whether --enable-shared was given.
8151 if test "${enable_shared+set}" = set; then :
8152   enableval=$enable_shared; p=${PACKAGE-default}
8153     case $enableval in
8154     yes) enable_shared=yes ;;
8155     no) enable_shared=no ;;
8156     *)
8157       enable_shared=no
8158       # Look at the argument we got.  We use all the common list separators.
8159       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8160       for pkg in $enableval; do
8161         IFS="$lt_save_ifs"
8162         if test "X$pkg" = "X$p"; then
8163           enable_shared=yes
8164         fi
8165       done
8166       IFS="$lt_save_ifs"
8167       ;;
8168     esac
8169 else
8170   enable_shared=yes
8174     
8175     
8176     
8177     
8181   @%:@ Check whether --enable-static was given.
8182 if test "${enable_static+set}" = set; then :
8183   enableval=$enable_static; p=${PACKAGE-default}
8184     case $enableval in
8185     yes) enable_static=yes ;;
8186     no) enable_static=no ;;
8187     *)
8188      enable_static=no
8189       # Look at the argument we got.  We use all the common list separators.
8190       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8191       for pkg in $enableval; do
8192         IFS="$lt_save_ifs"
8193         if test "X$pkg" = "X$p"; then
8194           enable_static=yes
8195         fi
8196       done
8197       IFS="$lt_save_ifs"
8198       ;;
8199     esac
8200 else
8201   enable_static=yes
8205     
8206     
8207     
8208     
8212   
8213 @%:@ Check whether --with-pic was given.
8214 if test "${with_pic+set}" = set; then :
8215   withval=$with_pic; pic_mode="$withval"
8216 else
8217   pic_mode=default
8221 test -z "$pic_mode" && pic_mode=default
8224     
8225     
8226     
8229   @%:@ Check whether --enable-fast-install was given.
8230 if test "${enable_fast_install+set}" = set; then :
8231   enableval=$enable_fast_install; p=${PACKAGE-default}
8232     case $enableval in
8233     yes) enable_fast_install=yes ;;
8234     no) enable_fast_install=no ;;
8235     *)
8236       enable_fast_install=no
8237       # Look at the argument we got.  We use all the common list separators.
8238       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8239       for pkg in $enableval; do
8240         IFS="$lt_save_ifs"
8241         if test "X$pkg" = "X$p"; then
8242           enable_fast_install=yes
8243         fi
8244       done
8245       IFS="$lt_save_ifs"
8246       ;;
8247     esac
8248 else
8249   enable_fast_install=yes
8254     
8255     
8256     
8259   
8262 # This can be used to rebuild libtool when needed
8263 LIBTOOL_DEPS="$ltmain"
8265 # Always use our own libtool.
8266 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8269     
8270     
8271     
8273     
8274     
8275     
8277     
8278     
8279     
8281     
8282     
8283     
8285     
8286     
8287     
8289     
8290     
8291     
8292 test -z "$LN_S" && LN_S="ln -s"
8294     
8295     
8296     
8298     
8299     
8300     
8302     
8303     
8304     
8307 if test -n "${ZSH_VERSION+set}" ; then
8308    setopt NO_GLOB_SUBST
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8312 $as_echo_n "checking for objdir... " >&6; }
8313 if test "${lt_cv_objdir+set}" = set; then :
8314   $as_echo_n "(cached) " >&6
8315 else
8316   rm -f .libs 2>/dev/null
8317 mkdir .libs 2>/dev/null
8318 if test -d .libs; then
8319   lt_cv_objdir=.libs
8320 else
8321   # MS-DOS does not allow filenames that begin with a dot.
8322   lt_cv_objdir=_libs
8324 rmdir .libs 2>/dev/null
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8327 $as_echo "$lt_cv_objdir" >&6; }
8328 objdir=$lt_cv_objdir
8330     
8331     
8332     
8334 cat >>confdefs.h <<_ACEOF
8335 @%:@define LT_OBJDIR "$lt_cv_objdir/"
8336 _ACEOF
8343     
8344     
8345     
8348     
8349     
8350     
8354 case $host_os in
8355 aix3*)
8356   # AIX sometimes has problems with the GCC collect2 program.  For some
8357   # reason, if we set the COLLECT_NAMES environment variable, the problems
8358   # vanish in a puff of smoke.
8359   if test "X${COLLECT_NAMES+set}" != Xset; then
8360     COLLECT_NAMES=
8361     export COLLECT_NAMES
8362   fi
8363   ;;
8364 esac
8366 # Sed substitution that helps us do robust quoting.  It backslashifies
8367 # metacharacters that are still active within double-quoted strings.
8368 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8370 # Same as above, but do not quote variable references.
8371 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8373 # Sed substitution to delay expansion of an escaped shell variable in a
8374 # double_quote_subst'ed string.
8375 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8377 # Sed substitution to delay expansion of an escaped single quote.
8378 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8380 # Sed substitution to avoid accidental globbing in evaled expressions
8381 no_glob_subst='s/\*/\\\*/g'
8383 # Global variables:
8384 ofile=libtool
8385 can_build_shared=yes
8387 # All known linkers require a `.a' archive for static linking (except MSVC,
8388 # which needs '.lib').
8389 libext=a
8391 with_gnu_ld="$lt_cv_prog_gnu_ld"
8393 old_CC="$CC"
8394 old_CFLAGS="$CFLAGS"
8396 # Set sane defaults for various variables
8397 test -z "$CC" && CC=cc
8398 test -z "$LTCC" && LTCC=$CC
8399 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8400 test -z "$LD" && LD=ld
8401 test -z "$ac_objext" && ac_objext=o
8403 for cc_temp in $compiler""; do
8404   case $cc_temp in
8405     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8406     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8407     \-*) ;;
8408     *) break;;
8409   esac
8410 done
8411 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8414 # Only perform the check for file, if the check method requires it
8415 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8416 case $deplibs_check_method in
8417 file_magic*)
8418   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8419     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8420 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8421 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8422   $as_echo_n "(cached) " >&6
8423 else
8424   case $MAGIC_CMD in
8425 [\\/*] |  ?:[\\/]*)
8426   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8427   ;;
8429   lt_save_MAGIC_CMD="$MAGIC_CMD"
8430   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8431   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8432   for ac_dir in $ac_dummy; do
8433     IFS="$lt_save_ifs"
8434     test -z "$ac_dir" && ac_dir=.
8435     if test -f $ac_dir/${ac_tool_prefix}file; then
8436       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8437       if test -n "$file_magic_test_file"; then
8438         case $deplibs_check_method in
8439         "file_magic "*)
8440           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8441           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8442           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8443             $EGREP "$file_magic_regex" > /dev/null; then
8444             :
8445           else
8446             cat <<_LT_EOF 1>&2
8448 *** Warning: the command libtool uses to detect shared libraries,
8449 *** $file_magic_cmd, produces output that libtool cannot recognize.
8450 *** The result is that libtool may fail to recognize shared libraries
8451 *** as such.  This will affect the creation of libtool libraries that
8452 *** depend on shared libraries, but programs linked with such libtool
8453 *** libraries will work regardless of this problem.  Nevertheless, you
8454 *** may want to report the problem to your system manager and/or to
8455 *** bug-libtool@gnu.org
8457 _LT_EOF
8458           fi ;;
8459         esac
8460       fi
8461       break
8462     fi
8463   done
8464   IFS="$lt_save_ifs"
8465   MAGIC_CMD="$lt_save_MAGIC_CMD"
8466   ;;
8467 esac
8470 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8471 if test -n "$MAGIC_CMD"; then
8472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8473 $as_echo "$MAGIC_CMD" >&6; }
8474 else
8475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8476 $as_echo "no" >&6; }
8479     
8480     
8481     
8483 if test -z "$lt_cv_path_MAGIC_CMD"; then
8484   if test -n "$ac_tool_prefix"; then
8485     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8486 $as_echo_n "checking for file... " >&6; }
8487 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8488   $as_echo_n "(cached) " >&6
8489 else
8490   case $MAGIC_CMD in
8491 [\\/*] |  ?:[\\/]*)
8492   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8493   ;;
8495   lt_save_MAGIC_CMD="$MAGIC_CMD"
8496   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8497   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8498   for ac_dir in $ac_dummy; do
8499     IFS="$lt_save_ifs"
8500     test -z "$ac_dir" && ac_dir=.
8501     if test -f $ac_dir/file; then
8502       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8503       if test -n "$file_magic_test_file"; then
8504         case $deplibs_check_method in
8505         "file_magic "*)
8506           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8507           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8508           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8509             $EGREP "$file_magic_regex" > /dev/null; then
8510             :
8511           else
8512             cat <<_LT_EOF 1>&2
8514 *** Warning: the command libtool uses to detect shared libraries,
8515 *** $file_magic_cmd, produces output that libtool cannot recognize.
8516 *** The result is that libtool may fail to recognize shared libraries
8517 *** as such.  This will affect the creation of libtool libraries that
8518 *** depend on shared libraries, but programs linked with such libtool
8519 *** libraries will work regardless of this problem.  Nevertheless, you
8520 *** may want to report the problem to your system manager and/or to
8521 *** bug-libtool@gnu.org
8523 _LT_EOF
8524           fi ;;
8525         esac
8526       fi
8527       break
8528     fi
8529   done
8530   IFS="$lt_save_ifs"
8531   MAGIC_CMD="$lt_save_MAGIC_CMD"
8532   ;;
8533 esac
8536 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8537 if test -n "$MAGIC_CMD"; then
8538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8539 $as_echo "$MAGIC_CMD" >&6; }
8540 else
8541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8542 $as_echo "no" >&6; }
8546   else
8547     MAGIC_CMD=:
8548   fi
8551   fi
8552   ;;
8553 esac
8555 # Use C for the default configuration in the libtool script
8557 lt_save_CC="$CC"
8558 ac_ext=c
8559 ac_cpp='$CPP $CPPFLAGS'
8560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8565 # Source file extension for C test sources.
8566 ac_ext=c
8568 # Object file extension for compiled C test sources.
8569 objext=o
8570 objext=$objext
8572 # Code to be used in simple compile tests
8573 lt_simple_compile_test_code="int some_variable = 0;"
8575 # Code to be used in simple link tests
8576 lt_simple_link_test_code='int main(){return(0);}'
8584 # If no C compiler was specified, use CC.
8585 LTCC=${LTCC-"$CC"}
8587 # If no C compiler flags were specified, use CFLAGS.
8588 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8590 # Allow CC to be a program name with arguments.
8591 compiler=$CC
8593 # Save the default compiler, since it gets overwritten when the other
8594 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8595 compiler_DEFAULT=$CC
8597 # save warnings/boilerplate of simple test code
8598 ac_outfile=conftest.$ac_objext
8599 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8600 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8601 _lt_compiler_boilerplate=`cat conftest.err`
8602 $RM conftest*
8604 ac_outfile=conftest.$ac_objext
8605 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8606 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8607 _lt_linker_boilerplate=`cat conftest.err`
8608 $RM -r conftest*
8611 ## CAVEAT EMPTOR:
8612 ## There is no encapsulation within the following macros, do not change
8613 ## the running order or otherwise move them around unless you know exactly
8614 ## what you are doing...
8615 if test -n "$compiler"; then
8616   
8617 lt_prog_compiler_no_builtin_flag=
8619 if test "$GCC" = yes; then
8620   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8622   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8623 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8624 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8625   $as_echo_n "(cached) " >&6
8626 else
8627   lt_cv_prog_compiler_rtti_exceptions=no
8628    ac_outfile=conftest.$ac_objext
8629    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8630    lt_compiler_flag="-fno-rtti -fno-exceptions"
8631    # Insert the option either (1) after the last *FLAGS variable, or
8632    # (2) before a word containing "conftest.", or (3) at the end.
8633    # Note that $ac_compile itself does not contain backslashes and begins
8634    # with a dollar sign (not a hyphen), so the echo should work correctly.
8635    # The option is referenced via a variable to avoid confusing sed.
8636    lt_compile=`echo "$ac_compile" | $SED \
8637    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8638    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8639    -e 's:$: $lt_compiler_flag:'`
8640    (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8641    (eval "$lt_compile" 2>conftest.err)
8642    ac_status=$?
8643    cat conftest.err >&5
8644    echo "$as_me:__oline__: \$? = $ac_status" >&5
8645    if (exit $ac_status) && test -s "$ac_outfile"; then
8646      # The compiler can only warn and ignore the option if not recognized
8647      # So say no if there are warnings other than the usual output.
8648      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8649      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8650      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8651        lt_cv_prog_compiler_rtti_exceptions=yes
8652      fi
8653    fi
8654    $RM conftest*
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8658 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8660 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8661     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8662 else
8663     :
8668     
8669     
8670     
8673   lt_prog_compiler_wl=
8674 lt_prog_compiler_pic=
8675 lt_prog_compiler_static=
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8678 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8680   if test "$GCC" = yes; then
8681     lt_prog_compiler_wl='-Wl,'
8682     lt_prog_compiler_static='-static'
8684     case $host_os in
8685       aix*)
8686       # All AIX code is PIC.
8687       if test "$host_cpu" = ia64; then
8688         # AIX 5 now supports IA64 processor
8689         lt_prog_compiler_static='-Bstatic'
8690       fi
8691       ;;
8693     amigaos*)
8694       case $host_cpu in
8695       powerpc)
8696             # see comment about AmigaOS4 .so support
8697             lt_prog_compiler_pic='-fPIC'
8698         ;;
8699       m68k)
8700             # FIXME: we need at least 68020 code to build shared libraries, but
8701             # adding the `-m68020' flag to GCC prevents building anything better,
8702             # like `-m68040'.
8703             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8704         ;;
8705       esac
8706       ;;
8708     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8709       # PIC is the default for these OSes.
8710       ;;
8712     mingw* | cygwin* | pw32* | os2* | cegcc*)
8713       # This hack is so that the source file can tell whether it is being
8714       # built for inclusion in a dll (and should export symbols for example).
8715       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8716       # (--disable-auto-import) libraries
8717       lt_prog_compiler_pic='-DDLL_EXPORT'
8718       ;;
8720     darwin* | rhapsody*)
8721       # PIC is the default on this platform
8722       # Common symbols not allowed in MH_DYLIB files
8723       lt_prog_compiler_pic='-fno-common'
8724       ;;
8726     hpux*)
8727       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8728       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8729       # sets the default TLS model and affects inlining.
8730       case $host_cpu in
8731       hppa*64*)
8732         # +Z the default
8733         ;;
8734       *)
8735         lt_prog_compiler_pic='-fPIC'
8736         ;;
8737       esac
8738       ;;
8740     interix[3-9]*)
8741       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8742       # Instead, we relocate shared libraries at runtime.
8743       ;;
8745     msdosdjgpp*)
8746       # Just because we use GCC doesn't mean we suddenly get shared libraries
8747       # on systems that don't support them.
8748       lt_prog_compiler_can_build_shared=no
8749       enable_shared=no
8750       ;;
8752     *nto* | *qnx*)
8753       # QNX uses GNU C++, but need to define -shared option too, otherwise
8754       # it will coredump.
8755       lt_prog_compiler_pic='-fPIC -shared'
8756       ;;
8758     sysv4*MP*)
8759       if test -d /usr/nec; then
8760         lt_prog_compiler_pic=-Kconform_pic
8761       fi
8762       ;;
8764     *)
8765       lt_prog_compiler_pic='-fPIC'
8766       ;;
8767     esac
8768   else
8769     # PORTME Check for flag to pass linker flags through the system compiler.
8770     case $host_os in
8771     aix*)
8772       lt_prog_compiler_wl='-Wl,'
8773       if test "$host_cpu" = ia64; then
8774         # AIX 5 now supports IA64 processor
8775         lt_prog_compiler_static='-Bstatic'
8776       else
8777         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8778       fi
8779       ;;
8781     mingw* | cygwin* | pw32* | os2* | cegcc*)
8782       # This hack is so that the source file can tell whether it is being
8783       # built for inclusion in a dll (and should export symbols for example).
8784       lt_prog_compiler_pic='-DDLL_EXPORT'
8785       ;;
8787     hpux9* | hpux10* | hpux11*)
8788       lt_prog_compiler_wl='-Wl,'
8789       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8790       # not for PA HP-UX.
8791       case $host_cpu in
8792       hppa*64*|ia64*)
8793         # +Z the default
8794         ;;
8795       *)
8796         lt_prog_compiler_pic='+Z'
8797         ;;
8798       esac
8799       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8800       lt_prog_compiler_static='${wl}-a ${wl}archive'
8801       ;;
8803     irix5* | irix6* | nonstopux*)
8804       lt_prog_compiler_wl='-Wl,'
8805       # PIC (with -KPIC) is the default.
8806       lt_prog_compiler_static='-non_shared'
8807       ;;
8809     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8810       case $cc_basename in
8811       # old Intel for x86_64 which still supported -KPIC.
8812       ecc*)
8813         lt_prog_compiler_wl='-Wl,'
8814         lt_prog_compiler_pic='-KPIC'
8815         lt_prog_compiler_static='-static'
8816         ;;
8817       # icc used to be incompatible with GCC.
8818       # ICC 10 doesn't accept -KPIC any more.
8819       icc* | ifort*)
8820         lt_prog_compiler_wl='-Wl,'
8821         lt_prog_compiler_pic='-fPIC'
8822         lt_prog_compiler_static='-static'
8823         ;;
8824       # Lahey Fortran 8.1.
8825       lf95*)
8826         lt_prog_compiler_wl='-Wl,'
8827         lt_prog_compiler_pic='--shared'
8828         lt_prog_compiler_static='--static'
8829         ;;
8830       pgcc* | pgf77* | pgf90* | pgf95*)
8831         # Portland Group compilers (*not* the Pentium gcc compiler,
8832         # which looks to be a dead project)
8833         lt_prog_compiler_wl='-Wl,'
8834         lt_prog_compiler_pic='-fpic'
8835         lt_prog_compiler_static='-Bstatic'
8836         ;;
8837       ccc*)
8838         lt_prog_compiler_wl='-Wl,'
8839         # All Alpha code is PIC.
8840         lt_prog_compiler_static='-non_shared'
8841         ;;
8842       xl*)
8843         # IBM XL C 8.0/Fortran 10.1 on PPC
8844         lt_prog_compiler_wl='-Wl,'
8845         lt_prog_compiler_pic='-qpic'
8846         lt_prog_compiler_static='-qstaticlink'
8847         ;;
8848       *)
8849         case `$CC -V 2>&1 | sed 5q` in
8850         *Sun\ C*)
8851           # Sun C 5.9
8852           lt_prog_compiler_pic='-KPIC'
8853           lt_prog_compiler_static='-Bstatic'
8854           lt_prog_compiler_wl='-Wl,'
8855           ;;
8856         *Sun\ F*)
8857           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8858           lt_prog_compiler_pic='-KPIC'
8859           lt_prog_compiler_static='-Bstatic'
8860           lt_prog_compiler_wl=''
8861           ;;
8862         esac
8863         ;;
8864       esac
8865       ;;
8867     newsos6)
8868       lt_prog_compiler_pic='-KPIC'
8869       lt_prog_compiler_static='-Bstatic'
8870       ;;
8872     *nto* | *qnx*)
8873       # QNX uses GNU C++, but need to define -shared option too, otherwise
8874       # it will coredump.
8875       lt_prog_compiler_pic='-fPIC -shared'
8876       ;;
8878     osf3* | osf4* | osf5*)
8879       lt_prog_compiler_wl='-Wl,'
8880       # All OSF/1 code is PIC.
8881       lt_prog_compiler_static='-non_shared'
8882       ;;
8884     rdos*)
8885       lt_prog_compiler_static='-non_shared'
8886       ;;
8888     solaris*)
8889       lt_prog_compiler_pic='-KPIC'
8890       lt_prog_compiler_static='-Bstatic'
8891       case $cc_basename in
8892       f77* | f90* | f95*)
8893         lt_prog_compiler_wl='-Qoption ld ';;
8894       *)
8895         lt_prog_compiler_wl='-Wl,';;
8896       esac
8897       ;;
8899     sunos4*)
8900       lt_prog_compiler_wl='-Qoption ld '
8901       lt_prog_compiler_pic='-PIC'
8902       lt_prog_compiler_static='-Bstatic'
8903       ;;
8905     sysv4 | sysv4.2uw2* | sysv4.3*)
8906       lt_prog_compiler_wl='-Wl,'
8907       lt_prog_compiler_pic='-KPIC'
8908       lt_prog_compiler_static='-Bstatic'
8909       ;;
8911     sysv4*MP*)
8912       if test -d /usr/nec ;then
8913         lt_prog_compiler_pic='-Kconform_pic'
8914         lt_prog_compiler_static='-Bstatic'
8915       fi
8916       ;;
8918     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8919       lt_prog_compiler_wl='-Wl,'
8920       lt_prog_compiler_pic='-KPIC'
8921       lt_prog_compiler_static='-Bstatic'
8922       ;;
8924     unicos*)
8925       lt_prog_compiler_wl='-Wl,'
8926       lt_prog_compiler_can_build_shared=no
8927       ;;
8929     uts4*)
8930       lt_prog_compiler_pic='-pic'
8931       lt_prog_compiler_static='-Bstatic'
8932       ;;
8934     *)
8935       lt_prog_compiler_can_build_shared=no
8936       ;;
8937     esac
8938   fi
8940 case $host_os in
8941   # For platforms which do not support PIC, -DPIC is meaningless:
8942   *djgpp*)
8943     lt_prog_compiler_pic=
8944     ;;
8945   *)
8946     lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
8947     ;;
8948 esac
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8950 $as_echo "$lt_prog_compiler_pic" >&6; }
8952     
8953     
8954     
8958 # Check to make sure the PIC flag actually works.
8960 if test -n "$lt_prog_compiler_pic"; then
8961   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8962 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8963 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8964   $as_echo_n "(cached) " >&6
8965 else
8966   lt_cv_prog_compiler_pic_works=no
8967    ac_outfile=conftest.$ac_objext
8968    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8969    lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
8970    # Insert the option either (1) after the last *FLAGS variable, or
8971    # (2) before a word containing "conftest.", or (3) at the end.
8972    # Note that $ac_compile itself does not contain backslashes and begins
8973    # with a dollar sign (not a hyphen), so the echo should work correctly.
8974    # The option is referenced via a variable to avoid confusing sed.
8975    lt_compile=`echo "$ac_compile" | $SED \
8976    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8977    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8978    -e 's:$: $lt_compiler_flag:'`
8979    (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8980    (eval "$lt_compile" 2>conftest.err)
8981    ac_status=$?
8982    cat conftest.err >&5
8983    echo "$as_me:__oline__: \$? = $ac_status" >&5
8984    if (exit $ac_status) && test -s "$ac_outfile"; then
8985      # The compiler can only warn and ignore the option if not recognized
8986      # So say no if there are warnings other than the usual output.
8987      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8988      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8989      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8990        lt_cv_prog_compiler_pic_works=yes
8991      fi
8992    fi
8993    $RM conftest*
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8997 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8999 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9000     case $lt_prog_compiler_pic in
9001      "" | " "*) ;;
9002      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9003      esac
9004 else
9005     lt_prog_compiler_pic=
9006      lt_prog_compiler_can_build_shared=no
9011     
9012     
9013     
9017 # Check to make sure the static flag actually works.
9019 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9021 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9022 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9023   $as_echo_n "(cached) " >&6
9024 else
9025   lt_cv_prog_compiler_static_works=no
9026    save_LDFLAGS="$LDFLAGS"
9027    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9028    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9029    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9030      # The linker can only warn and ignore the option if not recognized
9031      # So say no if there are warnings
9032      if test -s conftest.err; then
9033        # Append any errors to the config.log.
9034        cat conftest.err 1>&5
9035        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9036        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9037        if diff conftest.exp conftest.er2 >/dev/null; then
9038          lt_cv_prog_compiler_static_works=yes
9039        fi
9040      else
9041        lt_cv_prog_compiler_static_works=yes
9042      fi
9043    fi
9044    $RM -r conftest*
9045    LDFLAGS="$save_LDFLAGS"
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9049 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9051 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9052     :
9053 else
9054     lt_prog_compiler_static=
9058     
9059     
9060     
9063   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9064 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9065 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9066   $as_echo_n "(cached) " >&6
9067 else
9068   lt_cv_prog_compiler_c_o=no
9069    $RM -r conftest 2>/dev/null
9070    mkdir conftest
9071    cd conftest
9072    mkdir out
9073    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9075    lt_compiler_flag="-o out/conftest2.$ac_objext"
9076    # Insert the option either (1) after the last *FLAGS variable, or
9077    # (2) before a word containing "conftest.", or (3) at the end.
9078    # Note that $ac_compile itself does not contain backslashes and begins
9079    # with a dollar sign (not a hyphen), so the echo should work correctly.
9080    lt_compile=`echo "$ac_compile" | $SED \
9081    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9082    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9083    -e 's:$: $lt_compiler_flag:'`
9084    (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
9085    (eval "$lt_compile" 2>out/conftest.err)
9086    ac_status=$?
9087    cat out/conftest.err >&5
9088    echo "$as_me:__oline__: \$? = $ac_status" >&5
9089    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9090    then
9091      # The compiler can only warn and ignore the option if not recognized
9092      # So say no if there are warnings
9093      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9094      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9095      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9096        lt_cv_prog_compiler_c_o=yes
9097      fi
9098    fi
9099    chmod u+w . 2>&5
9100    $RM conftest*
9101    # SGI C++ compiler will create directory out/ii_files/ for
9102    # template instantiation
9103    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9104    $RM out/* && rmdir out
9105    cd ..
9106    $RM -r conftest
9107    $RM conftest*
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9111 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9113     
9114     
9115     
9118   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9119 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9120 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9121   $as_echo_n "(cached) " >&6
9122 else
9123   lt_cv_prog_compiler_c_o=no
9124    $RM -r conftest 2>/dev/null
9125    mkdir conftest
9126    cd conftest
9127    mkdir out
9128    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9130    lt_compiler_flag="-o out/conftest2.$ac_objext"
9131    # Insert the option either (1) after the last *FLAGS variable, or
9132    # (2) before a word containing "conftest.", or (3) at the end.
9133    # Note that $ac_compile itself does not contain backslashes and begins
9134    # with a dollar sign (not a hyphen), so the echo should work correctly.
9135    lt_compile=`echo "$ac_compile" | $SED \
9136    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9137    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9138    -e 's:$: $lt_compiler_flag:'`
9139    (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
9140    (eval "$lt_compile" 2>out/conftest.err)
9141    ac_status=$?
9142    cat out/conftest.err >&5
9143    echo "$as_me:__oline__: \$? = $ac_status" >&5
9144    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9145    then
9146      # The compiler can only warn and ignore the option if not recognized
9147      # So say no if there are warnings
9148      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9149      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9150      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9151        lt_cv_prog_compiler_c_o=yes
9152      fi
9153    fi
9154    chmod u+w . 2>&5
9155    $RM conftest*
9156    # SGI C++ compiler will create directory out/ii_files/ for
9157    # template instantiation
9158    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9159    $RM out/* && rmdir out
9160    cd ..
9161    $RM -r conftest
9162    $RM conftest*
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9166 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9171 hard_links="nottested"
9172 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9173   # do not overwrite the value of need_locks provided by the user
9174   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9175 $as_echo_n "checking if we can lock with hard links... " >&6; }
9176   hard_links=yes
9177   $RM conftest*
9178   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9179   touch conftest.a
9180   ln conftest.a conftest.b 2>&5 || hard_links=no
9181   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9183 $as_echo "$hard_links" >&6; }
9184   if test "$hard_links" = no; then
9185     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9186 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9187     need_locks=warn
9188   fi
9189 else
9190   need_locks=no
9193     
9194     
9195     
9198   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9199 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9201   runpath_var=
9202   allow_undefined_flag=
9203   always_export_symbols=no
9204   archive_cmds=
9205   archive_expsym_cmds=
9206   compiler_needs_object=no
9207   enable_shared_with_static_runtimes=no
9208   export_dynamic_flag_spec=
9209   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9210   hardcode_automatic=no
9211   hardcode_direct=no
9212   hardcode_direct_absolute=no
9213   hardcode_libdir_flag_spec=
9214   hardcode_libdir_flag_spec_ld=
9215   hardcode_libdir_separator=
9216   hardcode_minus_L=no
9217   hardcode_shlibpath_var=unsupported
9218   inherit_rpath=no
9219   link_all_deplibs=unknown
9220   module_cmds=
9221   module_expsym_cmds=
9222   old_archive_from_new_cmds=
9223   old_archive_from_expsyms_cmds=
9224   thread_safe_flag_spec=
9225   whole_archive_flag_spec=
9226   # include_expsyms should be a list of space-separated symbols to be *always*
9227   # included in the symbol list
9228   include_expsyms=
9229   # exclude_expsyms can be an extended regexp of symbols to exclude
9230   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9231   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9232   # as well as any symbol that contains `d'.
9233   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9234   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9235   # platforms (ab)use it in PIC code, but their linkers get confused if
9236   # the symbol is explicitly referenced.  Since portable code cannot
9237   # rely on this symbol name, it's probably fine to never include it in
9238   # preloaded symbol tables.
9239   # Exclude shared library initialization/finalization symbols.
9240   extract_expsyms_cmds=
9242   case $host_os in
9243   cygwin* | mingw* | pw32* | cegcc*)
9244     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9245     # When not using gcc, we currently assume that we are using
9246     # Microsoft Visual C++.
9247     if test "$GCC" != yes; then
9248       with_gnu_ld=no
9249     fi
9250     ;;
9251   interix*)
9252     # we just hope/assume this is gcc and not c89 (= MSVC++)
9253     with_gnu_ld=yes
9254     ;;
9255   openbsd*)
9256     with_gnu_ld=no
9257     ;;
9258   linux* | k*bsd*-gnu)
9259     link_all_deplibs=no
9260     ;;
9261   esac
9263   ld_shlibs=yes
9264   if test "$with_gnu_ld" = yes; then
9265     # If archive_cmds runs LD, not CC, wlarc should be empty
9266     wlarc='${wl}'
9268     # Set some defaults for GNU ld with shared library support. These
9269     # are reset later if shared libraries are not supported. Putting them
9270     # here allows them to be overridden if necessary.
9271     runpath_var=LD_RUN_PATH
9272     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9273     export_dynamic_flag_spec='${wl}--export-dynamic'
9274     # ancient GNU ld didn't support --whole-archive et. al.
9275     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9276       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9277     else
9278       whole_archive_flag_spec=
9279     fi
9280     supports_anon_versioning=no
9281     case `$LD -v 2>&1` in
9282       *GNU\ gold*) supports_anon_versioning=yes ;;
9283       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9284       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9285       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9286       *\ 2.11.*) ;; # other 2.11 versions
9287       *) supports_anon_versioning=yes ;;
9288     esac
9290     # See if GNU ld supports shared libraries.
9291     case $host_os in
9292     aix[3-9]*)
9293       # On AIX/PPC, the GNU linker is very broken
9294       if test "$host_cpu" != ia64; then
9295         ld_shlibs=no
9296         cat <<_LT_EOF 1>&2
9298 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9299 *** to be unable to reliably create shared libraries on AIX.
9300 *** Therefore, libtool is disabling shared libraries support.  If you
9301 *** really care for shared libraries, you may want to modify your PATH
9302 *** so that a non-GNU linker is found, and then restart.
9304 _LT_EOF
9305       fi
9306       ;;
9308     amigaos*)
9309       case $host_cpu in
9310       powerpc)
9311             # see comment about AmigaOS4 .so support
9312             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9313             archive_expsym_cmds=''
9314         ;;
9315       m68k)
9316             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)'
9317             hardcode_libdir_flag_spec='-L$libdir'
9318             hardcode_minus_L=yes
9319         ;;
9320       esac
9321       ;;
9323     beos*)
9324       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9325         allow_undefined_flag=unsupported
9326         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9327         # support --undefined.  This deserves some investigation.  FIXME
9328         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9329       else
9330         ld_shlibs=no
9331       fi
9332       ;;
9334     cygwin* | mingw* | pw32* | cegcc*)
9335       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9336       # as there is no search path for DLLs.
9337       hardcode_libdir_flag_spec='-L$libdir'
9338       allow_undefined_flag=unsupported
9339       always_export_symbols=no
9340       enable_shared_with_static_runtimes=yes
9341       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9343       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9344         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9345         # If the export-symbols file already is a .def file (1st line
9346         # is EXPORTS), use it as is; otherwise, prepend...
9347         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9348           cp $export_symbols $output_objdir/$soname.def;
9349         else
9350           echo EXPORTS > $output_objdir/$soname.def;
9351           cat $export_symbols >> $output_objdir/$soname.def;
9352         fi~
9353         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9354       else
9355         ld_shlibs=no
9356       fi
9357       ;;
9359     interix[3-9]*)
9360       hardcode_direct=no
9361       hardcode_shlibpath_var=no
9362       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9363       export_dynamic_flag_spec='${wl}-E'
9364       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9365       # Instead, shared libraries are loaded at an image base (0x10000000 by
9366       # default) and relocated if they conflict, which is a slow very memory
9367       # consuming and fragmenting process.  To avoid this, we pick a random,
9368       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9369       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9370       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9371       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'
9372       ;;
9374     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9375       tmp_diet=no
9376       if test "$host_os" = linux-dietlibc; then
9377         case $cc_basename in
9378           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9379         esac
9380       fi
9381       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9382          && test "$tmp_diet" = no
9383       then
9384         tmp_addflag=
9385         tmp_sharedflag='-shared'
9386         case $cc_basename,$host_cpu in
9387         pgcc*)                          # Portland Group C compiler
9388           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'
9389           tmp_addflag=' $pic_flag'
9390           ;;
9391         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9392           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'
9393           tmp_addflag=' $pic_flag -Mnomain' ;;
9394         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9395           tmp_addflag=' -i_dynamic' ;;
9396         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9397           tmp_addflag=' -i_dynamic -nofor_main' ;;
9398         ifc* | ifort*)                  # Intel Fortran compiler
9399           tmp_addflag=' -nofor_main' ;;
9400         lf95*)                          # Lahey Fortran 8.1
9401           whole_archive_flag_spec=
9402           tmp_sharedflag='--shared' ;;
9403         xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9404           tmp_sharedflag='-qmkshrobj'
9405           tmp_addflag= ;;
9406         esac
9407         case `$CC -V 2>&1 | sed 5q` in
9408         *Sun\ C*)                       # Sun C 5.9
9409           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'
9410           compiler_needs_object=yes
9411           tmp_sharedflag='-G' ;;
9412         *Sun\ F*)                       # Sun Fortran 8.3
9413           tmp_sharedflag='-G' ;;
9414         esac
9415         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9417         if test "x$supports_anon_versioning" = xyes; then
9418           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9419             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9420             echo "local: *; };" >> $output_objdir/$libname.ver~
9421             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9422         fi
9424         case $cc_basename in
9425         xlf*)
9426           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9427           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9428           hardcode_libdir_flag_spec=
9429           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9430           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9431           if test "x$supports_anon_versioning" = xyes; then
9432             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9433               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9434               echo "local: *; };" >> $output_objdir/$libname.ver~
9435               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9436           fi
9437           ;;
9438         esac
9439       else
9440         ld_shlibs=no
9441       fi
9442       ;;
9444     netbsd* | netbsdelf*-gnu)
9445       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9446         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9447         wlarc=
9448       else
9449         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9450         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9451       fi
9452       ;;
9454     solaris*)
9455       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9456         ld_shlibs=no
9457         cat <<_LT_EOF 1>&2
9459 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9460 *** create shared libraries on Solaris systems.  Therefore, libtool
9461 *** is disabling shared libraries support.  We urge you to upgrade GNU
9462 *** binutils to release 2.9.1 or newer.  Another option is to modify
9463 *** your PATH or compiler configuration so that the native linker is
9464 *** used, and then restart.
9466 _LT_EOF
9467       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9468         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9469         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9470       else
9471         ld_shlibs=no
9472       fi
9473       ;;
9475     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9476       case `$LD -v 2>&1` in
9477         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9478         ld_shlibs=no
9479         cat <<_LT_EOF 1>&2
9481 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9482 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9483 *** is disabling shared libraries support.  We urge you to upgrade GNU
9484 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9485 *** your PATH or compiler configuration so that the native linker is
9486 *** used, and then restart.
9488 _LT_EOF
9489         ;;
9490         *)
9491           # For security reasons, it is highly recommended that you always
9492           # use absolute paths for naming shared libraries, and exclude the
9493           # DT_RUNPATH tag from executables and libraries.  But doing so
9494           # requires that you compile everything twice, which is a pain.
9495           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9496             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9497             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9498             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9499           else
9500             ld_shlibs=no
9501           fi
9502         ;;
9503       esac
9504       ;;
9506     sunos4*)
9507       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9508       wlarc=
9509       hardcode_direct=yes
9510       hardcode_shlibpath_var=no
9511       ;;
9513     *)
9514       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9515         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9516         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9517       else
9518         ld_shlibs=no
9519       fi
9520       ;;
9521     esac
9523     if test "$ld_shlibs" = no; then
9524       runpath_var=
9525       hardcode_libdir_flag_spec=
9526       export_dynamic_flag_spec=
9527       whole_archive_flag_spec=
9528     fi
9529   else
9530     # PORTME fill in a description of your system's linker (not GNU ld)
9531     case $host_os in
9532     aix3*)
9533       allow_undefined_flag=unsupported
9534       always_export_symbols=yes
9535       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'
9536       # Note: this linker hardcodes the directories in LIBPATH if there
9537       # are no directories specified by -L.
9538       hardcode_minus_L=yes
9539       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9540         # Neither direct hardcoding nor static linking is supported with a
9541         # broken collect2.
9542         hardcode_direct=unsupported
9543       fi
9544       ;;
9546     aix[4-9]*)
9547       if test "$host_cpu" = ia64; then
9548         # On IA64, the linker does run time linking by default, so we don't
9549         # have to do anything special.
9550         aix_use_runtimelinking=no
9551         exp_sym_flag='-Bexport'
9552         no_entry_flag=""
9553       else
9554         # If we're using GNU nm, then we don't want the "-C" option.
9555         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9556         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9557           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'
9558         else
9559           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'
9560         fi
9561         aix_use_runtimelinking=no
9563         # Test if we are trying to use run time linking or normal
9564         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9565         # need to do runtime linking.
9566         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9567           for ld_flag in $LDFLAGS; do
9568           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9569             aix_use_runtimelinking=yes
9570             break
9571           fi
9572           done
9573           ;;
9574         esac
9576         exp_sym_flag='-bexport'
9577         no_entry_flag='-bnoentry'
9578       fi
9580       # When large executables or shared objects are built, AIX ld can
9581       # have problems creating the table of contents.  If linking a library
9582       # or program results in "error TOC overflow" add -mminimal-toc to
9583       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9584       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9586       archive_cmds=''
9587       hardcode_direct=yes
9588       hardcode_direct_absolute=yes
9589       hardcode_libdir_separator=':'
9590       link_all_deplibs=yes
9591       file_list_spec='${wl}-f,'
9593       if test "$GCC" = yes; then
9594         case $host_os in aix4.[012]|aix4.[012].*)
9595         # We only want to do this on AIX 4.2 and lower, the check
9596         # below for broken collect2 doesn't work under 4.3+
9597           collect2name=`${CC} -print-prog-name=collect2`
9598           if test -f "$collect2name" &&
9599            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9600           then
9601           # We have reworked collect2
9602           :
9603           else
9604           # We have old collect2
9605           hardcode_direct=unsupported
9606           # It fails to find uninstalled libraries when the uninstalled
9607           # path is not listed in the libpath.  Setting hardcode_minus_L
9608           # to unsupported forces relinking
9609           hardcode_minus_L=yes
9610           hardcode_libdir_flag_spec='-L$libdir'
9611           hardcode_libdir_separator=
9612           fi
9613           ;;
9614         esac
9615         shared_flag='-shared'
9616         if test "$aix_use_runtimelinking" = yes; then
9617           shared_flag="$shared_flag "'${wl}-G'
9618         fi
9619         link_all_deplibs=no
9620       else
9621         # not using gcc
9622         if test "$host_cpu" = ia64; then
9623         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9624         # chokes on -Wl,-G. The following line is correct:
9625           shared_flag='-G'
9626         else
9627           if test "$aix_use_runtimelinking" = yes; then
9628             shared_flag='${wl}-G'
9629           else
9630             shared_flag='${wl}-bM:SRE'
9631           fi
9632         fi
9633       fi
9635       export_dynamic_flag_spec='${wl}-bexpall'
9636       # It seems that -bexpall does not export symbols beginning with
9637       # underscore (_), so it is better to generate a list of symbols to export.
9638       always_export_symbols=yes
9639       if test "$aix_use_runtimelinking" = yes; then
9640         # Warning - without using the other runtime loading flags (-brtl),
9641         # -berok will link without error, but may produce a broken library.
9642         allow_undefined_flag='-berok'
9643         # Determine the default libpath from the value encoded in an
9644         # empty executable.
9645         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9646 /* end confdefs.h.  */
9649 main ()
9652   ;
9653   return 0;
9655 _ACEOF
9656 if ac_fn_c_try_link "$LINENO"; then :
9657   
9658 lt_aix_libpath_sed='
9659     /Import File Strings/,/^$/ {
9660         /^0/ {
9661             s/^0  *\(.*\)$/\1/
9662             p
9663         }
9664     }'
9665 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9666 # Check for a 64-bit object if we didn't find anything.
9667 if test -z "$aix_libpath"; then
9668   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9671 rm -f core conftest.err conftest.$ac_objext \
9672     conftest$ac_exeext conftest.$ac_ext
9673 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9675         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9676         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"
9677       else
9678         if test "$host_cpu" = ia64; then
9679           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9680           allow_undefined_flag="-z nodefs"
9681           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"
9682         else
9683          # Determine the default libpath from the value encoded in an
9684          # empty executable.
9685          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9686 /* end confdefs.h.  */
9689 main ()
9692   ;
9693   return 0;
9695 _ACEOF
9696 if ac_fn_c_try_link "$LINENO"; then :
9697   
9698 lt_aix_libpath_sed='
9699     /Import File Strings/,/^$/ {
9700         /^0/ {
9701             s/^0  *\(.*\)$/\1/
9702             p
9703         }
9704     }'
9705 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9706 # Check for a 64-bit object if we didn't find anything.
9707 if test -z "$aix_libpath"; then
9708   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9711 rm -f core conftest.err conftest.$ac_objext \
9712     conftest$ac_exeext conftest.$ac_ext
9713 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9715          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9716           # Warning - without using the other run time loading flags,
9717           # -berok will link without error, but may produce a broken library.
9718           no_undefined_flag=' ${wl}-bernotok'
9719           allow_undefined_flag=' ${wl}-berok'
9720           # Exported symbols can be pulled into shared objects from archives
9721           whole_archive_flag_spec='$convenience'
9722           archive_cmds_need_lc=yes
9723           # This is similar to how AIX traditionally builds its shared libraries.
9724           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'
9725         fi
9726       fi
9727       ;;
9729     amigaos*)
9730       case $host_cpu in
9731       powerpc)
9732             # see comment about AmigaOS4 .so support
9733             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9734             archive_expsym_cmds=''
9735         ;;
9736       m68k)
9737             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)'
9738             hardcode_libdir_flag_spec='-L$libdir'
9739             hardcode_minus_L=yes
9740         ;;
9741       esac
9742       ;;
9744     bsdi[45]*)
9745       export_dynamic_flag_spec=-rdynamic
9746       ;;
9748     cygwin* | mingw* | pw32* | cegcc*)
9749       # When not using gcc, we currently assume that we are using
9750       # Microsoft Visual C++.
9751       # hardcode_libdir_flag_spec is actually meaningless, as there is
9752       # no search path for DLLs.
9753       hardcode_libdir_flag_spec=' '
9754       allow_undefined_flag=unsupported
9755       # Tell ltmain to make .lib files, not .a files.
9756       libext=lib
9757       # Tell ltmain to make .dll files, not .so files.
9758       shrext_cmds=".dll"
9759       # FIXME: Setting linknames here is a bad hack.
9760       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9761       # The linker will automatically build a .lib file if we build a DLL.
9762       old_archive_from_new_cmds='true'
9763       # FIXME: Should let the user specify the lib program.
9764       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9765       fix_srcfile_path='`cygpath -w "$srcfile"`'
9766       enable_shared_with_static_runtimes=yes
9767       ;;
9769     darwin* | rhapsody*)
9770       
9771   
9772   archive_cmds_need_lc=no
9773   hardcode_direct=no
9774   hardcode_automatic=yes
9775   hardcode_shlibpath_var=unsupported
9776   whole_archive_flag_spec=''
9777   link_all_deplibs=yes
9778   allow_undefined_flag="$_lt_dar_allow_undefined"
9779   case $cc_basename in
9780      ifort*) _lt_dar_can_shared=yes ;;
9781      *) _lt_dar_can_shared=$GCC ;;
9782   esac
9783   if test "$_lt_dar_can_shared" = "yes"; then
9784     output_verbose_link_cmd=echo
9785     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9786     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9787     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}"
9788     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}"
9789     
9790   else
9791   ld_shlibs=no
9792   fi
9794       ;;
9796     dgux*)
9797       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9798       hardcode_libdir_flag_spec='-L$libdir'
9799       hardcode_shlibpath_var=no
9800       ;;
9802     freebsd1*)
9803       ld_shlibs=no
9804       ;;
9806     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9807     # support.  Future versions do this automatically, but an explicit c++rt0.o
9808     # does not break anything, and helps significantly (at the cost of a little
9809     # extra space).
9810     freebsd2.2*)
9811       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9812       hardcode_libdir_flag_spec='-R$libdir'
9813       hardcode_direct=yes
9814       hardcode_shlibpath_var=no
9815       ;;
9817     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9818     freebsd2*)
9819       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9820       hardcode_direct=yes
9821       hardcode_minus_L=yes
9822       hardcode_shlibpath_var=no
9823       ;;
9825     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9826     freebsd* | dragonfly*)
9827       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9828       hardcode_libdir_flag_spec='-R$libdir'
9829       hardcode_direct=yes
9830       hardcode_shlibpath_var=no
9831       ;;
9833     hpux9*)
9834       if test "$GCC" = yes; then
9835         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'
9836       else
9837         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'
9838       fi
9839       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9840       hardcode_libdir_separator=:
9841       hardcode_direct=yes
9843       # hardcode_minus_L: Not really in the search PATH,
9844       # but as the default location of the library.
9845       hardcode_minus_L=yes
9846       export_dynamic_flag_spec='${wl}-E'
9847       ;;
9849     hpux10*)
9850       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9851         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9852       else
9853         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9854       fi
9855       if test "$with_gnu_ld" = no; then
9856         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9857         hardcode_libdir_flag_spec_ld='+b $libdir'
9858         hardcode_libdir_separator=:
9859         hardcode_direct=yes
9860         hardcode_direct_absolute=yes
9861         export_dynamic_flag_spec='${wl}-E'
9862         # hardcode_minus_L: Not really in the search PATH,
9863         # but as the default location of the library.
9864         hardcode_minus_L=yes
9865       fi
9866       ;;
9868     hpux11*)
9869       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9870         case $host_cpu in
9871         hppa*64*)
9872           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9873           ;;
9874         ia64*)
9875           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9876           ;;
9877         *)
9878           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9879           ;;
9880         esac
9881       else
9882         case $host_cpu in
9883         hppa*64*)
9884           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9885           ;;
9886         ia64*)
9887           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9888           ;;
9889         *)
9890           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9891           ;;
9892         esac
9893       fi
9894       if test "$with_gnu_ld" = no; then
9895         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9896         hardcode_libdir_separator=:
9898         case $host_cpu in
9899         hppa*64*|ia64*)
9900           hardcode_direct=no
9901           hardcode_shlibpath_var=no
9902           ;;
9903         *)
9904           hardcode_direct=yes
9905           hardcode_direct_absolute=yes
9906           export_dynamic_flag_spec='${wl}-E'
9908           # hardcode_minus_L: Not really in the search PATH,
9909           # but as the default location of the library.
9910           hardcode_minus_L=yes
9911           ;;
9912         esac
9913       fi
9914       ;;
9916     irix5* | irix6* | nonstopux*)
9917       if test "$GCC" = yes; then
9918         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'
9919         # Try to use the -exported_symbol ld option, if it does not
9920         # work, assume that -exports_file does not work either and
9921         # implicitly export all symbols.
9922         save_LDFLAGS="$LDFLAGS"
9923         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9924         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9925 /* end confdefs.h.  */
9926 int foo(void) {}
9927 _ACEOF
9928 if ac_fn_c_try_link "$LINENO"; then :
9929   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'
9930         
9932 rm -f core conftest.err conftest.$ac_objext \
9933     conftest$ac_exeext conftest.$ac_ext
9934         LDFLAGS="$save_LDFLAGS"
9935       else
9936         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'
9937         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'
9938       fi
9939       archive_cmds_need_lc='no'
9940       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9941       hardcode_libdir_separator=:
9942       inherit_rpath=yes
9943       link_all_deplibs=yes
9944       ;;
9946     netbsd* | netbsdelf*-gnu)
9947       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9948         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9949       else
9950         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9951       fi
9952       hardcode_libdir_flag_spec='-R$libdir'
9953       hardcode_direct=yes
9954       hardcode_shlibpath_var=no
9955       ;;
9957     newsos6)
9958       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9959       hardcode_direct=yes
9960       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9961       hardcode_libdir_separator=:
9962       hardcode_shlibpath_var=no
9963       ;;
9965     *nto* | *qnx*)
9966       ;;
9968     openbsd*)
9969       if test -f /usr/libexec/ld.so; then
9970         hardcode_direct=yes
9971         hardcode_shlibpath_var=no
9972         hardcode_direct_absolute=yes
9973         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9974           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9975           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9976           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9977           export_dynamic_flag_spec='${wl}-E'
9978         else
9979           case $host_os in
9980            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9981              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9982              hardcode_libdir_flag_spec='-R$libdir'
9983              ;;
9984            *)
9985              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9986              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9987              ;;
9988           esac
9989         fi
9990       else
9991         ld_shlibs=no
9992       fi
9993       ;;
9995     os2*)
9996       hardcode_libdir_flag_spec='-L$libdir'
9997       hardcode_minus_L=yes
9998       allow_undefined_flag=unsupported
9999       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'
10000       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10001       ;;
10003     osf3*)
10004       if test "$GCC" = yes; then
10005         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10006         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'
10007       else
10008         allow_undefined_flag=' -expect_unresolved \*'
10009         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'
10010       fi
10011       archive_cmds_need_lc='no'
10012       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10013       hardcode_libdir_separator=:
10014       ;;
10016     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10017       if test "$GCC" = yes; then
10018         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10019         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'
10020         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10021       else
10022         allow_undefined_flag=' -expect_unresolved \*'
10023         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'
10024         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~
10025         $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'
10027         # Both c and cxx compiler support -rpath directly
10028         hardcode_libdir_flag_spec='-rpath $libdir'
10029       fi
10030       archive_cmds_need_lc='no'
10031       hardcode_libdir_separator=:
10032       ;;
10034     solaris*)
10035       no_undefined_flag=' -z defs'
10036       if test "$GCC" = yes; then
10037         wlarc='${wl}'
10038         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10039         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10040           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10041       else
10042         case `$CC -V 2>&1` in
10043         *"Compilers 5.0"*)
10044           wlarc=''
10045           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10046           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10047           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10048           ;;
10049         *)
10050           wlarc='${wl}'
10051           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10052           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10053           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10054           ;;
10055         esac
10056       fi
10057       hardcode_libdir_flag_spec='-R$libdir'
10058       hardcode_shlibpath_var=no
10059       case $host_os in
10060       solaris2.[0-5] | solaris2.[0-5].*) ;;
10061       *)
10062         # The compiler driver will combine and reorder linker options,
10063         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10064         # but is careful enough not to reorder.
10065         # Supported since Solaris 2.6 (maybe 2.5.1?)
10066         if test "$GCC" = yes; then
10067           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10068         else
10069           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10070         fi
10071         ;;
10072       esac
10073       link_all_deplibs=yes
10074       ;;
10076     sunos4*)
10077       if test "x$host_vendor" = xsequent; then
10078         # Use $CC to link under sequent, because it throws in some extra .o
10079         # files that make .init and .fini sections work.
10080         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10081       else
10082         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10083       fi
10084       hardcode_libdir_flag_spec='-L$libdir'
10085       hardcode_direct=yes
10086       hardcode_minus_L=yes
10087       hardcode_shlibpath_var=no
10088       ;;
10090     sysv4)
10091       case $host_vendor in
10092         sni)
10093           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10094           hardcode_direct=yes # is this really true???
10095         ;;
10096         siemens)
10097           ## LD is ld it makes a PLAMLIB
10098           ## CC just makes a GrossModule.
10099           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10100           reload_cmds='$CC -r -o $output$reload_objs'
10101           hardcode_direct=no
10102         ;;
10103         motorola)
10104           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10105           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10106         ;;
10107       esac
10108       runpath_var='LD_RUN_PATH'
10109       hardcode_shlibpath_var=no
10110       ;;
10112     sysv4.3*)
10113       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10114       hardcode_shlibpath_var=no
10115       export_dynamic_flag_spec='-Bexport'
10116       ;;
10118     sysv4*MP*)
10119       if test -d /usr/nec; then
10120         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10121         hardcode_shlibpath_var=no
10122         runpath_var=LD_RUN_PATH
10123         hardcode_runpath_var=yes
10124         ld_shlibs=yes
10125       fi
10126       ;;
10128     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10129       no_undefined_flag='${wl}-z,text'
10130       archive_cmds_need_lc=no
10131       hardcode_shlibpath_var=no
10132       runpath_var='LD_RUN_PATH'
10134       if test "$GCC" = yes; then
10135         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10136         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10137       else
10138         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10139         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10140       fi
10141       ;;
10143     sysv5* | sco3.2v5* | sco5v6*)
10144       # Note: We can NOT use -z defs as we might desire, because we do not
10145       # link with -lc, and that would cause any symbols used from libc to
10146       # always be unresolved, which means just about no library would
10147       # ever link correctly.  If we're not using GNU ld we use -z text
10148       # though, which does catch some bad symbols but isn't as heavy-handed
10149       # as -z defs.
10150       no_undefined_flag='${wl}-z,text'
10151       allow_undefined_flag='${wl}-z,nodefs'
10152       archive_cmds_need_lc=no
10153       hardcode_shlibpath_var=no
10154       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10155       hardcode_libdir_separator=':'
10156       link_all_deplibs=yes
10157       export_dynamic_flag_spec='${wl}-Bexport'
10158       runpath_var='LD_RUN_PATH'
10160       if test "$GCC" = yes; then
10161         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10162         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10163       else
10164         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10165         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10166       fi
10167       ;;
10169     uts4*)
10170       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10171       hardcode_libdir_flag_spec='-L$libdir'
10172       hardcode_shlibpath_var=no
10173       ;;
10175     *)
10176       ld_shlibs=no
10177       ;;
10178     esac
10180     if test x$host_vendor = xsni; then
10181       case $host in
10182       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10183         export_dynamic_flag_spec='${wl}-Blargedynsym'
10184         ;;
10185       esac
10186     fi
10187   fi
10189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10190 $as_echo "$ld_shlibs" >&6; }
10191 test "$ld_shlibs" = no && can_build_shared=no
10193 with_gnu_ld=$with_gnu_ld
10196     
10197     
10198     
10200     
10201     
10202     
10204     
10205     
10206     
10210 # Do we need to explicitly link libc?
10212 case "x$archive_cmds_need_lc" in
10213 x|xyes)
10214   # Assume -lc should be added
10215   archive_cmds_need_lc=yes
10217   if test "$enable_shared" = yes && test "$GCC" = yes; then
10218     case $archive_cmds in
10219     *'~'*)
10220       # FIXME: we may have to deal with multi-command sequences.
10221       ;;
10222     '$CC '*)
10223       # Test whether the compiler implicitly links with -lc since on some
10224       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10225       # to ld, don't add -lc before -lgcc.
10226       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10227 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10228       $RM conftest*
10229       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10231       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10232   (eval $ac_compile) 2>&5
10233   ac_status=$?
10234   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10235   test $ac_status = 0; } 2>conftest.err; then
10236         soname=conftest
10237         lib=conftest
10238         libobjs=conftest.$ac_objext
10239         deplibs=
10240         wl=$lt_prog_compiler_wl
10241         pic_flag=$lt_prog_compiler_pic
10242         compiler_flags=-v
10243         linker_flags=-v
10244         verstring=
10245         output_objdir=.
10246         libname=conftest
10247         lt_save_allow_undefined_flag=$allow_undefined_flag
10248         allow_undefined_flag=
10249         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10250   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10251   ac_status=$?
10252   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10253   test $ac_status = 0; }
10254         then
10255           archive_cmds_need_lc=no
10256         else
10257           archive_cmds_need_lc=yes
10258         fi
10259         allow_undefined_flag=$lt_save_allow_undefined_flag
10260       else
10261         cat conftest.err 1>&5
10262       fi
10263       $RM conftest*
10264       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10265 $as_echo "$archive_cmds_need_lc" >&6; }
10266       ;;
10267     esac
10268   fi
10269   ;;
10270 esac
10273     
10274     
10275     
10278     
10279     
10280     
10283     
10284     
10285     
10288     
10289     
10290     
10293     
10294     
10295     
10298     
10299     
10300     
10303     
10304     
10305     
10308     
10309     
10310     
10313     
10314     
10315     
10318     
10319     
10320     
10323     
10324     
10325     
10328     
10329     
10330     
10333     
10334     
10335     
10338     
10339     
10340     
10343     
10344     
10345     
10348     
10349     
10350     
10353     
10354     
10355     
10358     
10359     
10360     
10363     
10364     
10365     
10368     
10369     
10370     
10373     
10374     
10375     
10378     
10379     
10380     
10383     
10384     
10385     
10388     
10389     
10390     
10393     
10394     
10395     
10398     
10399     
10400     
10403     
10404     
10405     
10408     
10409     
10410     
10413     
10414     
10415     
10418     
10419     
10420     
10423     
10424     
10425     
10428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10429 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10431 if test "$GCC" = yes; then
10432   case $host_os in
10433     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10434     *) lt_awk_arg="/^libraries:/" ;;
10435   esac
10436   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10437   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10438     # if the path contains ";" then we assume it to be the separator
10439     # otherwise default to the standard path separator (i.e. ":") - it is
10440     # assumed that no part of a normal pathname contains ";" but that should
10441     # okay in the real world where ";" in dirpaths is itself problematic.
10442     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10443   else
10444     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10445   fi
10446   # Ok, now we have the path, separated by spaces, we can step through it
10447   # and add multilib dir if necessary.
10448   lt_tmp_lt_search_path_spec=
10449   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10450   for lt_sys_path in $lt_search_path_spec; do
10451     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10452       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10453     else
10454       test -d "$lt_sys_path" && \
10455         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10456     fi
10457   done
10458   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10459 BEGIN {RS=" "; FS="/|\n";} {
10460   lt_foo="";
10461   lt_count=0;
10462   for (lt_i = NF; lt_i > 0; lt_i--) {
10463     if ($lt_i != "" && $lt_i != ".") {
10464       if ($lt_i == "..") {
10465         lt_count++;
10466       } else {
10467         if (lt_count == 0) {
10468           lt_foo="/" $lt_i lt_foo;
10469         } else {
10470           lt_count--;
10471         }
10472       }
10473     }
10474   }
10475   if (lt_foo != "") { lt_freq[lt_foo]++; }
10476   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10478   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10479 else
10480   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10482 library_names_spec=
10483 libname_spec='lib$name'
10484 soname_spec=
10485 shrext_cmds=".so"
10486 postinstall_cmds=
10487 postuninstall_cmds=
10488 finish_cmds=
10489 finish_eval=
10490 shlibpath_var=
10491 shlibpath_overrides_runpath=unknown
10492 version_type=none
10493 dynamic_linker="$host_os ld.so"
10494 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10495 need_lib_prefix=unknown
10496 hardcode_into_libs=no
10498 # when you set need_version to no, make sure it does not cause -set_version
10499 # flags to be left without arguments
10500 need_version=unknown
10502 case $host_os in
10503 aix3*)
10504   version_type=linux
10505   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10506   shlibpath_var=LIBPATH
10508   # AIX 3 has no versioning support, so we append a major version to the name.
10509   soname_spec='${libname}${release}${shared_ext}$major'
10510   ;;
10512 aix[4-9]*)
10513   version_type=linux
10514   need_lib_prefix=no
10515   need_version=no
10516   hardcode_into_libs=yes
10517   if test "$host_cpu" = ia64; then
10518     # AIX 5 supports IA64
10519     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10520     shlibpath_var=LD_LIBRARY_PATH
10521   else
10522     # With GCC up to 2.95.x, collect2 would create an import file
10523     # for dependence libraries.  The import file would start with
10524     # the line `#! .'.  This would cause the generated library to
10525     # depend on `.', always an invalid library.  This was fixed in
10526     # development snapshots of GCC prior to 3.0.
10527     case $host_os in
10528       aix4 | aix4.[01] | aix4.[01].*)
10529       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10530            echo ' yes '
10531            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10532         :
10533       else
10534         can_build_shared=no
10535       fi
10536       ;;
10537     esac
10538     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10539     # soname into executable. Probably we can add versioning support to
10540     # collect2, so additional links can be useful in future.
10541     if test "$aix_use_runtimelinking" = yes; then
10542       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10543       # instead of lib<name>.a to let people know that these are not
10544       # typical AIX shared libraries.
10545       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10546     else
10547       # We preserve .a as extension for shared libraries through AIX4.2
10548       # and later when we are not doing run time linking.
10549       library_names_spec='${libname}${release}.a $libname.a'
10550       soname_spec='${libname}${release}${shared_ext}$major'
10551     fi
10552     shlibpath_var=LIBPATH
10553   fi
10554   ;;
10556 amigaos*)
10557   case $host_cpu in
10558   powerpc)
10559     # Since July 2007 AmigaOS4 officially supports .so libraries.
10560     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10561     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10562     ;;
10563   m68k)
10564     library_names_spec='$libname.ixlibrary $libname.a'
10565     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10566     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'
10567     ;;
10568   esac
10569   ;;
10571 beos*)
10572   library_names_spec='${libname}${shared_ext}'
10573   dynamic_linker="$host_os ld.so"
10574   shlibpath_var=LIBRARY_PATH
10575   ;;
10577 bsdi[45]*)
10578   version_type=linux
10579   need_version=no
10580   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10581   soname_spec='${libname}${release}${shared_ext}$major'
10582   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10583   shlibpath_var=LD_LIBRARY_PATH
10584   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10585   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10586   # the default ld.so.conf also contains /usr/contrib/lib and
10587   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10588   # libtool to hard-code these into programs
10589   ;;
10591 cygwin* | mingw* | pw32* | cegcc*)
10592   version_type=windows
10593   shrext_cmds=".dll"
10594   need_version=no
10595   need_lib_prefix=no
10597   case $GCC,$host_os in
10598   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10599     library_names_spec='$libname.dll.a'
10600     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10601     postinstall_cmds='base_file=`basename \${file}`~
10602       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10603       dldir=$destdir/`dirname \$dlpath`~
10604       test -d \$dldir || mkdir -p \$dldir~
10605       $install_prog $dir/$dlname \$dldir/$dlname~
10606       chmod a+x \$dldir/$dlname~
10607       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10608         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10609       fi'
10610     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10611       dlpath=$dir/\$dldll~
10612        $RM \$dlpath'
10613     shlibpath_overrides_runpath=yes
10615     case $host_os in
10616     cygwin*)
10617       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10618       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10619       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10620       ;;
10621     mingw* | cegcc*)
10622       # MinGW DLLs use traditional 'lib' prefix
10623       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10624       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10625       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10626         # It is most probably a Windows format PATH printed by
10627         # mingw gcc, but we are running on Cygwin. Gcc prints its search
10628         # path with ; separators, and with drive letters. We can handle the
10629         # drive letters (cygwin fileutils understands them), so leave them,
10630         # especially as we might pass files found there to a mingw objdump,
10631         # which wouldn't understand a cygwinified path. Ahh.
10632         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10633       else
10634         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10635       fi
10636       ;;
10637     pw32*)
10638       # pw32 DLLs use 'pw' prefix rather than 'lib'
10639       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10640       ;;
10641     esac
10642     ;;
10644   *)
10645     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10646     ;;
10647   esac
10648   dynamic_linker='Win32 ld.exe'
10649   # FIXME: first we should search . and the directory the executable is in
10650   shlibpath_var=PATH
10651   ;;
10653 darwin* | rhapsody*)
10654   dynamic_linker="$host_os dyld"
10655   version_type=darwin
10656   need_lib_prefix=no
10657   need_version=no
10658   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10659   soname_spec='${libname}${release}${major}$shared_ext'
10660   shlibpath_overrides_runpath=yes
10661   shlibpath_var=DYLD_LIBRARY_PATH
10662   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10664   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10665   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10666   ;;
10668 dgux*)
10669   version_type=linux
10670   need_lib_prefix=no
10671   need_version=no
10672   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10673   soname_spec='${libname}${release}${shared_ext}$major'
10674   shlibpath_var=LD_LIBRARY_PATH
10675   ;;
10677 freebsd1*)
10678   dynamic_linker=no
10679   ;;
10681 freebsd* | dragonfly*)
10682   # DragonFly does not have aout.  When/if they implement a new
10683   # versioning mechanism, adjust this.
10684   if test -x /usr/bin/objformat; then
10685     objformat=`/usr/bin/objformat`
10686   else
10687     case $host_os in
10688     freebsd[123]*) objformat=aout ;;
10689     *) objformat=elf ;;
10690     esac
10691   fi
10692   version_type=freebsd-$objformat
10693   case $version_type in
10694     freebsd-elf*)
10695       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10696       need_version=no
10697       need_lib_prefix=no
10698       ;;
10699     freebsd-*)
10700       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10701       need_version=yes
10702       ;;
10703   esac
10704   shlibpath_var=LD_LIBRARY_PATH
10705   case $host_os in
10706   freebsd2*)
10707     shlibpath_overrides_runpath=yes
10708     ;;
10709   freebsd3.[01]* | freebsdelf3.[01]*)
10710     shlibpath_overrides_runpath=yes
10711     hardcode_into_libs=yes
10712     ;;
10713   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10714   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10715     shlibpath_overrides_runpath=no
10716     hardcode_into_libs=yes
10717     ;;
10718   *) # from 4.6 on, and DragonFly
10719     shlibpath_overrides_runpath=yes
10720     hardcode_into_libs=yes
10721     ;;
10722   esac
10723   ;;
10725 gnu*)
10726   version_type=linux
10727   need_lib_prefix=no
10728   need_version=no
10729   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10730   soname_spec='${libname}${release}${shared_ext}$major'
10731   shlibpath_var=LD_LIBRARY_PATH
10732   hardcode_into_libs=yes
10733   ;;
10735 hpux9* | hpux10* | hpux11*)
10736   # Give a soname corresponding to the major version so that dld.sl refuses to
10737   # link against other versions.
10738   version_type=sunos
10739   need_lib_prefix=no
10740   need_version=no
10741   case $host_cpu in
10742   ia64*)
10743     shrext_cmds='.so'
10744     hardcode_into_libs=yes
10745     dynamic_linker="$host_os dld.so"
10746     shlibpath_var=LD_LIBRARY_PATH
10747     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10748     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10749     soname_spec='${libname}${release}${shared_ext}$major'
10750     if test "X$HPUX_IA64_MODE" = X32; then
10751       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10752     else
10753       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10754     fi
10755     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10756     ;;
10757   hppa*64*)
10758     shrext_cmds='.sl'
10759     hardcode_into_libs=yes
10760     dynamic_linker="$host_os dld.sl"
10761     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10762     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10763     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10764     soname_spec='${libname}${release}${shared_ext}$major'
10765     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10766     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10767     ;;
10768   *)
10769     shrext_cmds='.sl'
10770     dynamic_linker="$host_os dld.sl"
10771     shlibpath_var=SHLIB_PATH
10772     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10773     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10774     soname_spec='${libname}${release}${shared_ext}$major'
10775     ;;
10776   esac
10777   # HP-UX runs *really* slowly unless shared libraries are mode 555.
10778   postinstall_cmds='chmod 555 $lib'
10779   ;;
10781 interix[3-9]*)
10782   version_type=linux
10783   need_lib_prefix=no
10784   need_version=no
10785   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10786   soname_spec='${libname}${release}${shared_ext}$major'
10787   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10788   shlibpath_var=LD_LIBRARY_PATH
10789   shlibpath_overrides_runpath=no
10790   hardcode_into_libs=yes
10791   ;;
10793 irix5* | irix6* | nonstopux*)
10794   case $host_os in
10795     nonstopux*) version_type=nonstopux ;;
10796     *)
10797         if test "$lt_cv_prog_gnu_ld" = yes; then
10798                 version_type=linux
10799         else
10800                 version_type=irix
10801         fi ;;
10802   esac
10803   need_lib_prefix=no
10804   need_version=no
10805   soname_spec='${libname}${release}${shared_ext}$major'
10806   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10807   case $host_os in
10808   irix5* | nonstopux*)
10809     libsuff= shlibsuff=
10810     ;;
10811   *)
10812     case $LD in # libtool.m4 will add one of these switches to LD
10813     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10814       libsuff= shlibsuff= libmagic=32-bit;;
10815     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10816       libsuff=32 shlibsuff=N32 libmagic=N32;;
10817     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10818       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10819     *) libsuff= shlibsuff= libmagic=never-match;;
10820     esac
10821     ;;
10822   esac
10823   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10824   shlibpath_overrides_runpath=no
10825   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10826   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10827   hardcode_into_libs=yes
10828   ;;
10830 # No shared lib support for Linux oldld, aout, or coff.
10831 linux*oldld* | linux*aout* | linux*coff*)
10832   dynamic_linker=no
10833   ;;
10835 # This must be Linux ELF.
10836 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10837   version_type=linux
10838   need_lib_prefix=no
10839   need_version=no
10840   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10841   soname_spec='${libname}${release}${shared_ext}$major'
10842   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10843   shlibpath_var=LD_LIBRARY_PATH
10844   shlibpath_overrides_runpath=no
10845   # Some binutils ld are patched to set DT_RUNPATH
10846   save_LDFLAGS=$LDFLAGS
10847   save_libdir=$libdir
10848   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10849        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10851 /* end confdefs.h.  */
10854 main ()
10857   ;
10858   return 0;
10860 _ACEOF
10861 if ac_fn_c_try_link "$LINENO"; then :
10862   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10863   shlibpath_overrides_runpath=yes
10866 rm -f core conftest.err conftest.$ac_objext \
10867     conftest$ac_exeext conftest.$ac_ext
10868   LDFLAGS=$save_LDFLAGS
10869   libdir=$save_libdir
10871   # This implies no fast_install, which is unacceptable.
10872   # Some rework will be needed to allow for fast_install
10873   # before this can be enabled.
10874   hardcode_into_libs=yes
10876   # Append ld.so.conf contents to the search path
10877   if test -f /etc/ld.so.conf; then
10878     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' ' '`
10879     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10880   fi
10882   # We used to test for /lib/ld.so.1 and disable shared libraries on
10883   # powerpc, because MkLinux only supported shared libraries with the
10884   # GNU dynamic linker.  Since this was broken with cross compilers,
10885   # most powerpc-linux boxes support dynamic linking these days and
10886   # people can always --disable-shared, the test was removed, and we
10887   # assume the GNU/Linux dynamic linker is in use.
10888   dynamic_linker='GNU/Linux ld.so'
10889   ;;
10891 netbsdelf*-gnu)
10892   version_type=linux
10893   need_lib_prefix=no
10894   need_version=no
10895   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10896   soname_spec='${libname}${release}${shared_ext}$major'
10897   shlibpath_var=LD_LIBRARY_PATH
10898   shlibpath_overrides_runpath=no
10899   hardcode_into_libs=yes
10900   dynamic_linker='NetBSD ld.elf_so'
10901   ;;
10903 netbsd*)
10904   version_type=sunos
10905   need_lib_prefix=no
10906   need_version=no
10907   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10908     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10909     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10910     dynamic_linker='NetBSD (a.out) ld.so'
10911   else
10912     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10913     soname_spec='${libname}${release}${shared_ext}$major'
10914     dynamic_linker='NetBSD ld.elf_so'
10915   fi
10916   shlibpath_var=LD_LIBRARY_PATH
10917   shlibpath_overrides_runpath=yes
10918   hardcode_into_libs=yes
10919   ;;
10921 newsos6)
10922   version_type=linux
10923   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10924   shlibpath_var=LD_LIBRARY_PATH
10925   shlibpath_overrides_runpath=yes
10926   ;;
10928 *nto* | *qnx*)
10929   version_type=qnx
10930   need_lib_prefix=no
10931   need_version=no
10932   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10933   soname_spec='${libname}${release}${shared_ext}$major'
10934   shlibpath_var=LD_LIBRARY_PATH
10935   shlibpath_overrides_runpath=no
10936   hardcode_into_libs=yes
10937   dynamic_linker='ldqnx.so'
10938   ;;
10940 openbsd*)
10941   version_type=sunos
10942   sys_lib_dlsearch_path_spec="/usr/lib"
10943   need_lib_prefix=no
10944   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10945   case $host_os in
10946     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10947     *)                          need_version=no  ;;
10948   esac
10949   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10950   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10951   shlibpath_var=LD_LIBRARY_PATH
10952   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10953     case $host_os in
10954       openbsd2.[89] | openbsd2.[89].*)
10955         shlibpath_overrides_runpath=no
10956         ;;
10957       *)
10958         shlibpath_overrides_runpath=yes
10959         ;;
10960       esac
10961   else
10962     shlibpath_overrides_runpath=yes
10963   fi
10964   ;;
10966 os2*)
10967   libname_spec='$name'
10968   shrext_cmds=".dll"
10969   need_lib_prefix=no
10970   library_names_spec='$libname${shared_ext} $libname.a'
10971   dynamic_linker='OS/2 ld.exe'
10972   shlibpath_var=LIBPATH
10973   ;;
10975 osf3* | osf4* | osf5*)
10976   version_type=osf
10977   need_lib_prefix=no
10978   need_version=no
10979   soname_spec='${libname}${release}${shared_ext}$major'
10980   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10981   shlibpath_var=LD_LIBRARY_PATH
10982   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10983   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10984   ;;
10986 rdos*)
10987   dynamic_linker=no
10988   ;;
10990 solaris*)
10991   version_type=linux
10992   need_lib_prefix=no
10993   need_version=no
10994   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10995   soname_spec='${libname}${release}${shared_ext}$major'
10996   shlibpath_var=LD_LIBRARY_PATH
10997   shlibpath_overrides_runpath=yes
10998   hardcode_into_libs=yes
10999   # ldd complains unless libraries are executable
11000   postinstall_cmds='chmod +x $lib'
11001   ;;
11003 sunos4*)
11004   version_type=sunos
11005   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11006   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11007   shlibpath_var=LD_LIBRARY_PATH
11008   shlibpath_overrides_runpath=yes
11009   if test "$with_gnu_ld" = yes; then
11010     need_lib_prefix=no
11011   fi
11012   need_version=yes
11013   ;;
11015 sysv4 | sysv4.3*)
11016   version_type=linux
11017   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11018   soname_spec='${libname}${release}${shared_ext}$major'
11019   shlibpath_var=LD_LIBRARY_PATH
11020   case $host_vendor in
11021     sni)
11022       shlibpath_overrides_runpath=no
11023       need_lib_prefix=no
11024       runpath_var=LD_RUN_PATH
11025       ;;
11026     siemens)
11027       need_lib_prefix=no
11028       ;;
11029     motorola)
11030       need_lib_prefix=no
11031       need_version=no
11032       shlibpath_overrides_runpath=no
11033       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11034       ;;
11035   esac
11036   ;;
11038 sysv4*MP*)
11039   if test -d /usr/nec ;then
11040     version_type=linux
11041     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11042     soname_spec='$libname${shared_ext}.$major'
11043     shlibpath_var=LD_LIBRARY_PATH
11044   fi
11045   ;;
11047 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11048   version_type=freebsd-elf
11049   need_lib_prefix=no
11050   need_version=no
11051   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11052   soname_spec='${libname}${release}${shared_ext}$major'
11053   shlibpath_var=LD_LIBRARY_PATH
11054   shlibpath_overrides_runpath=yes
11055   hardcode_into_libs=yes
11056   if test "$with_gnu_ld" = yes; then
11057     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11058   else
11059     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11060     case $host_os in
11061       sco3.2v5*)
11062         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11063         ;;
11064     esac
11065   fi
11066   sys_lib_dlsearch_path_spec='/usr/lib'
11067   ;;
11069 tpf*)
11070   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11071   version_type=linux
11072   need_lib_prefix=no
11073   need_version=no
11074   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11075   shlibpath_var=LD_LIBRARY_PATH
11076   shlibpath_overrides_runpath=no
11077   hardcode_into_libs=yes
11078   ;;
11080 uts4*)
11081   version_type=linux
11082   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11083   soname_spec='${libname}${release}${shared_ext}$major'
11084   shlibpath_var=LD_LIBRARY_PATH
11085   ;;
11088   dynamic_linker=no
11089   ;;
11090 esac
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11092 $as_echo "$dynamic_linker" >&6; }
11093 test "$dynamic_linker" = no && can_build_shared=no
11095 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11096 if test "$GCC" = yes; then
11097   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11100 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11101   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11103 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11104   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11108     
11109     
11110     
11113     
11114     
11115     
11118     
11119     
11120     
11123     
11124     
11125     
11128     
11129     
11130     
11133     
11134     
11135     
11138     
11139     
11140     
11143     
11144     
11145     
11148     
11149     
11150     
11153     
11154     
11155     
11158     
11159     
11160     
11163     
11164     
11165     
11168     
11169     
11170     
11173     
11174     
11175     
11178     
11179     
11180     
11183     
11184     
11185     
11188     
11189     
11190     
11193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11194 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11195 hardcode_action=
11196 if test -n "$hardcode_libdir_flag_spec" ||
11197    test -n "$runpath_var" ||
11198    test "X$hardcode_automatic" = "Xyes" ; then
11200   # We can hardcode non-existent directories.
11201   if test "$hardcode_direct" != no &&
11202      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11203      # have to relink, otherwise we might link with an installed library
11204      # when we should be linking with a yet-to-be-installed one
11205      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11206      test "$hardcode_minus_L" != no; then
11207     # Linking always hardcodes the temporary library directory.
11208     hardcode_action=relink
11209   else
11210     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11211     hardcode_action=immediate
11212   fi
11213 else
11214   # We cannot hardcode anything, or else we can only hardcode existing
11215   # directories.
11216   hardcode_action=unsupported
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11219 $as_echo "$hardcode_action" >&6; }
11221 if test "$hardcode_action" = relink ||
11222    test "$inherit_rpath" = yes; then
11223   # Fast installation is not supported
11224   enable_fast_install=no
11225 elif test "$shlibpath_overrides_runpath" = yes ||
11226      test "$enable_shared" = no; then
11227   # Fast installation is not necessary
11228   enable_fast_install=needless
11231     
11232     
11233     
11236   if test "x$enable_dlopen" != xyes; then
11237   enable_dlopen=unknown
11238   enable_dlopen_self=unknown
11239   enable_dlopen_self_static=unknown
11240 else
11241   lt_cv_dlopen=no
11242   lt_cv_dlopen_libs=
11244   case $host_os in
11245   beos*)
11246     lt_cv_dlopen="load_add_on"
11247     lt_cv_dlopen_libs=
11248     lt_cv_dlopen_self=yes
11249     ;;
11251   mingw* | pw32* | cegcc*)
11252     lt_cv_dlopen="LoadLibrary"
11253     lt_cv_dlopen_libs=
11254     ;;
11256   cygwin*)
11257     lt_cv_dlopen="dlopen"
11258     lt_cv_dlopen_libs=
11259     ;;
11261   darwin*)
11262   # if libdl is installed we need to link against it
11263     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11264 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11265 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11266   $as_echo_n "(cached) " >&6
11267 else
11268   ac_check_lib_save_LIBS=$LIBS
11269 LIBS="-ldl  $LIBS"
11270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11271 /* end confdefs.h.  */
11273 /* Override any GCC internal prototype to avoid an error.
11274    Use char because int might match the return type of a GCC
11275    builtin and then its argument prototype would still apply.  */
11276 #ifdef __cplusplus
11277 extern "C"
11278 #endif
11279 char dlopen ();
11281 main ()
11283 return dlopen ();
11284   ;
11285   return 0;
11287 _ACEOF
11288 if ac_fn_c_try_link "$LINENO"; then :
11289   ac_cv_lib_dl_dlopen=yes
11290 else
11291   ac_cv_lib_dl_dlopen=no
11293 rm -f core conftest.err conftest.$ac_objext \
11294     conftest$ac_exeext conftest.$ac_ext
11295 LIBS=$ac_check_lib_save_LIBS
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11298 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11299 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11300   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11301 else
11302   
11303     lt_cv_dlopen="dyld"
11304     lt_cv_dlopen_libs=
11305     lt_cv_dlopen_self=yes
11306     
11309     ;;
11311   *)
11312     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11313 if test "x$ac_cv_func_shl_load" = x""yes; then :
11314   lt_cv_dlopen="shl_load"
11315 else
11316   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11317 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11318 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11319   $as_echo_n "(cached) " >&6
11320 else
11321   ac_check_lib_save_LIBS=$LIBS
11322 LIBS="-ldld  $LIBS"
11323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11324 /* end confdefs.h.  */
11326 /* Override any GCC internal prototype to avoid an error.
11327    Use char because int might match the return type of a GCC
11328    builtin and then its argument prototype would still apply.  */
11329 #ifdef __cplusplus
11330 extern "C"
11331 #endif
11332 char shl_load ();
11334 main ()
11336 return shl_load ();
11337   ;
11338   return 0;
11340 _ACEOF
11341 if ac_fn_c_try_link "$LINENO"; then :
11342   ac_cv_lib_dld_shl_load=yes
11343 else
11344   ac_cv_lib_dld_shl_load=no
11346 rm -f core conftest.err conftest.$ac_objext \
11347     conftest$ac_exeext conftest.$ac_ext
11348 LIBS=$ac_check_lib_save_LIBS
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11351 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11352 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11353   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11354 else
11355   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11356 if test "x$ac_cv_func_dlopen" = x""yes; then :
11357   lt_cv_dlopen="dlopen"
11358 else
11359   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11360 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11361 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11362   $as_echo_n "(cached) " >&6
11363 else
11364   ac_check_lib_save_LIBS=$LIBS
11365 LIBS="-ldl  $LIBS"
11366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11367 /* end confdefs.h.  */
11369 /* Override any GCC internal prototype to avoid an error.
11370    Use char because int might match the return type of a GCC
11371    builtin and then its argument prototype would still apply.  */
11372 #ifdef __cplusplus
11373 extern "C"
11374 #endif
11375 char dlopen ();
11377 main ()
11379 return dlopen ();
11380   ;
11381   return 0;
11383 _ACEOF
11384 if ac_fn_c_try_link "$LINENO"; then :
11385   ac_cv_lib_dl_dlopen=yes
11386 else
11387   ac_cv_lib_dl_dlopen=no
11389 rm -f core conftest.err conftest.$ac_objext \
11390     conftest$ac_exeext conftest.$ac_ext
11391 LIBS=$ac_check_lib_save_LIBS
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11394 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11395 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11396   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11397 else
11398   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11399 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11400 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11401   $as_echo_n "(cached) " >&6
11402 else
11403   ac_check_lib_save_LIBS=$LIBS
11404 LIBS="-lsvld  $LIBS"
11405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11406 /* end confdefs.h.  */
11408 /* Override any GCC internal prototype to avoid an error.
11409    Use char because int might match the return type of a GCC
11410    builtin and then its argument prototype would still apply.  */
11411 #ifdef __cplusplus
11412 extern "C"
11413 #endif
11414 char dlopen ();
11416 main ()
11418 return dlopen ();
11419   ;
11420   return 0;
11422 _ACEOF
11423 if ac_fn_c_try_link "$LINENO"; then :
11424   ac_cv_lib_svld_dlopen=yes
11425 else
11426   ac_cv_lib_svld_dlopen=no
11428 rm -f core conftest.err conftest.$ac_objext \
11429     conftest$ac_exeext conftest.$ac_ext
11430 LIBS=$ac_check_lib_save_LIBS
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11433 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11434 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11435   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11436 else
11437   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11438 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11439 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11440   $as_echo_n "(cached) " >&6
11441 else
11442   ac_check_lib_save_LIBS=$LIBS
11443 LIBS="-ldld  $LIBS"
11444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11445 /* end confdefs.h.  */
11447 /* Override any GCC internal prototype to avoid an error.
11448    Use char because int might match the return type of a GCC
11449    builtin and then its argument prototype would still apply.  */
11450 #ifdef __cplusplus
11451 extern "C"
11452 #endif
11453 char dld_link ();
11455 main ()
11457 return dld_link ();
11458   ;
11459   return 0;
11461 _ACEOF
11462 if ac_fn_c_try_link "$LINENO"; then :
11463   ac_cv_lib_dld_dld_link=yes
11464 else
11465   ac_cv_lib_dld_dld_link=no
11467 rm -f core conftest.err conftest.$ac_objext \
11468     conftest$ac_exeext conftest.$ac_ext
11469 LIBS=$ac_check_lib_save_LIBS
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11472 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11473 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11474   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11477               
11480             
11483           
11486         
11489       
11492     ;;
11493   esac
11495   if test "x$lt_cv_dlopen" != xno; then
11496     enable_dlopen=yes
11497   else
11498     enable_dlopen=no
11499   fi
11501   case $lt_cv_dlopen in
11502   dlopen)
11503     save_CPPFLAGS="$CPPFLAGS"
11504     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11506     save_LDFLAGS="$LDFLAGS"
11507     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11509     save_LIBS="$LIBS"
11510     LIBS="$lt_cv_dlopen_libs $LIBS"
11512     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11513 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11514 if test "${lt_cv_dlopen_self+set}" = set; then :
11515   $as_echo_n "(cached) " >&6
11516 else
11517           if test "$cross_compiling" = yes; then :
11518   lt_cv_dlopen_self=cross
11519 else
11520   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11521   lt_status=$lt_dlunknown
11522   cat > conftest.$ac_ext <<_LT_EOF
11523 #line __oline__ "configure"
11524 #include "confdefs.h"
11526 #if HAVE_DLFCN_H
11527 #include <dlfcn.h>
11528 #endif
11530 #include <stdio.h>
11532 #ifdef RTLD_GLOBAL
11533 #  define LT_DLGLOBAL           RTLD_GLOBAL
11534 #else
11535 #  ifdef DL_GLOBAL
11536 #    define LT_DLGLOBAL         DL_GLOBAL
11537 #  else
11538 #    define LT_DLGLOBAL         0
11539 #  endif
11540 #endif
11542 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11543    find out it does not work in some platform. */
11544 #ifndef LT_DLLAZY_OR_NOW
11545 #  ifdef RTLD_LAZY
11546 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11547 #  else
11548 #    ifdef DL_LAZY
11549 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11550 #    else
11551 #      ifdef RTLD_NOW
11552 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11553 #      else
11554 #        ifdef DL_NOW
11555 #          define LT_DLLAZY_OR_NOW      DL_NOW
11556 #        else
11557 #          define LT_DLLAZY_OR_NOW      0
11558 #        endif
11559 #      endif
11560 #    endif
11561 #  endif
11562 #endif
11564 void fnord() { int i=42;}
11565 int main ()
11567   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11568   int status = $lt_dlunknown;
11570   if (self)
11571     {
11572       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11573       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11574       /* dlclose (self); */
11575     }
11576   else
11577     puts (dlerror ());
11579   return status;
11581 _LT_EOF
11582   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11583   (eval $ac_link) 2>&5
11584   ac_status=$?
11585   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11586   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11587     (./conftest; exit; ) >&5 2>/dev/null
11588     lt_status=$?
11589     case x$lt_status in
11590       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11591       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11592       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11593     esac
11594   else :
11595     # compilation failed
11596     lt_cv_dlopen_self=no
11597   fi
11599 rm -fr conftest*
11601     
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11604 $as_echo "$lt_cv_dlopen_self" >&6; }
11606     if test "x$lt_cv_dlopen_self" = xyes; then
11607       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11608       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11609 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11610 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11611   $as_echo_n "(cached) " >&6
11612 else
11613           if test "$cross_compiling" = yes; then :
11614   lt_cv_dlopen_self_static=cross
11615 else
11616   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11617   lt_status=$lt_dlunknown
11618   cat > conftest.$ac_ext <<_LT_EOF
11619 #line __oline__ "configure"
11620 #include "confdefs.h"
11622 #if HAVE_DLFCN_H
11623 #include <dlfcn.h>
11624 #endif
11626 #include <stdio.h>
11628 #ifdef RTLD_GLOBAL
11629 #  define LT_DLGLOBAL           RTLD_GLOBAL
11630 #else
11631 #  ifdef DL_GLOBAL
11632 #    define LT_DLGLOBAL         DL_GLOBAL
11633 #  else
11634 #    define LT_DLGLOBAL         0
11635 #  endif
11636 #endif
11638 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11639    find out it does not work in some platform. */
11640 #ifndef LT_DLLAZY_OR_NOW
11641 #  ifdef RTLD_LAZY
11642 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11643 #  else
11644 #    ifdef DL_LAZY
11645 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11646 #    else
11647 #      ifdef RTLD_NOW
11648 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11649 #      else
11650 #        ifdef DL_NOW
11651 #          define LT_DLLAZY_OR_NOW      DL_NOW
11652 #        else
11653 #          define LT_DLLAZY_OR_NOW      0
11654 #        endif
11655 #      endif
11656 #    endif
11657 #  endif
11658 #endif
11660 void fnord() { int i=42;}
11661 int main ()
11663   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11664   int status = $lt_dlunknown;
11666   if (self)
11667     {
11668       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11669       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11670       /* dlclose (self); */
11671     }
11672   else
11673     puts (dlerror ());
11675   return status;
11677 _LT_EOF
11678   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11679   (eval $ac_link) 2>&5
11680   ac_status=$?
11681   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11682   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11683     (./conftest; exit; ) >&5 2>/dev/null
11684     lt_status=$?
11685     case x$lt_status in
11686       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11687       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11688       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11689     esac
11690   else :
11691     # compilation failed
11692     lt_cv_dlopen_self_static=no
11693   fi
11695 rm -fr conftest*
11697       
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11700 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11701     fi
11703     CPPFLAGS="$save_CPPFLAGS"
11704     LDFLAGS="$save_LDFLAGS"
11705     LIBS="$save_LIBS"
11706     ;;
11707   esac
11709   case $lt_cv_dlopen_self in
11710   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11711   *) enable_dlopen_self=unknown ;;
11712   esac
11714   case $lt_cv_dlopen_self_static in
11715   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11716   *) enable_dlopen_self_static=unknown ;;
11717   esac
11720     
11721     
11722     
11725     
11726     
11727     
11730     
11731     
11732     
11735   
11736 striplib=
11737 old_striplib=
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11739 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11740 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11741   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11742   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11744 $as_echo "yes" >&6; }
11745 else
11746 # FIXME - insert some real tests, host_os isn't really good enough
11747   case $host_os in
11748   darwin*)
11749     if test -n "$STRIP" ; then
11750       striplib="$STRIP -x"
11751       old_striplib="$STRIP -S"
11752       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11753 $as_echo "yes" >&6; }
11754     else
11755       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11756 $as_echo "no" >&6; }
11757     fi
11758     ;;
11759   *)
11760     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11761 $as_echo "no" >&6; }
11762     ;;
11763   esac
11766     
11767     
11768     
11771     
11772     
11773     
11777   # Report which library types will actually be built
11778   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11779 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11781 $as_echo "$can_build_shared" >&6; }
11783   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11784 $as_echo_n "checking whether to build shared libraries... " >&6; }
11785   test "$can_build_shared" = "no" && enable_shared=no
11787   # On AIX, shared libraries and static libraries use the same namespace, and
11788   # are all built from PIC.
11789   case $host_os in
11790   aix3*)
11791     test "$enable_shared" = yes && enable_static=no
11792     if test -n "$RANLIB"; then
11793       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11794       postinstall_cmds='$RANLIB $lib'
11795     fi
11796     ;;
11798   aix[4-9]*)
11799     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11800       test "$enable_shared" = yes && enable_static=no
11801     fi
11802     ;;
11803   esac
11804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11805 $as_echo "$enable_shared" >&6; }
11807   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11808 $as_echo_n "checking whether to build static libraries... " >&6; }
11809   # Make sure either enable_shared or enable_static is yes.
11810   test "$enable_shared" = yes || enable_static=yes
11811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11812 $as_echo "$enable_static" >&6; }
11814   
11818 ac_ext=c
11819 ac_cpp='$CPP $CPPFLAGS'
11820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11824 CC="$lt_save_CC"
11833        
11834        
11838         ac_config_commands="$ac_config_commands libtool"
11843 # Only expand once:
11848   if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
11849     GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
11850   else
11851     GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
11852   fi
11854   
11855 @%:@ Check whether --with-gconf-source was given.
11856 if test "${with_gconf_source+set}" = set; then :
11857   withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
11861   
11862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
11863 $as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
11865   if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
11866     GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
11867   fi
11869   
11870 @%:@ Check whether --with-gconf-schema-file-dir was given.
11871 if test "${with_gconf_schema_file_dir+set}" = set; then :
11872   withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
11876   
11877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
11878 $as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
11880   @%:@ Check whether --enable-schemas-install was given.
11881 if test "${enable_schemas_install+set}" = set; then :
11882   enableval=$enable_schemas_install; case ${enableval} in
11883        yes|no) ;;
11884        *) as_fn_error "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;;
11885       esac
11888    if test "$enable_schemas_install" != no; then
11889   GCONF_SCHEMAS_INSTALL_TRUE=
11890   GCONF_SCHEMAS_INSTALL_FALSE='#'
11891 else
11892   GCONF_SCHEMAS_INSTALL_TRUE='#'
11893   GCONF_SCHEMAS_INSTALL_FALSE=
11898 LIBGNOMEUI_REQUIRED=2.0.0
11899 LIBGNOME_REQUIRED=2.0.0
11900 GTK_REQUIRED=2.6.0
11901 GCONF_REQUIRED=1.1.11
11902 DBUS_GLIB_REQUIRED=0.33
11903 GIO_REQUIRED=2.16.0
11907 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11908         if test -n "$ac_tool_prefix"; then
11909   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11910 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11912 $as_echo_n "checking for $ac_word... " >&6; }
11913 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
11914   $as_echo_n "(cached) " >&6
11915 else
11916   case $PKG_CONFIG in
11917   [\\/]* | ?:[\\/]*)
11918   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11919   ;;
11920   *)
11921   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11922 for as_dir in $PATH
11924   IFS=$as_save_IFS
11925   test -z "$as_dir" && as_dir=.
11926     for ac_exec_ext in '' $ac_executable_extensions; do
11927   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11928     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11929     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11930     break 2
11931   fi
11932 done
11933   done
11934 IFS=$as_save_IFS
11936   ;;
11937 esac
11939 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11940 if test -n "$PKG_CONFIG"; then
11941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11942 $as_echo "$PKG_CONFIG" >&6; }
11943 else
11944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11945 $as_echo "no" >&6; }
11950 if test -z "$ac_cv_path_PKG_CONFIG"; then
11951   ac_pt_PKG_CONFIG=$PKG_CONFIG
11952   # Extract the first word of "pkg-config", so it can be a program name with args.
11953 set dummy pkg-config; ac_word=$2
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11955 $as_echo_n "checking for $ac_word... " >&6; }
11956 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
11957   $as_echo_n "(cached) " >&6
11958 else
11959   case $ac_pt_PKG_CONFIG in
11960   [\\/]* | ?:[\\/]*)
11961   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11962   ;;
11963   *)
11964   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11965 for as_dir in $PATH
11967   IFS=$as_save_IFS
11968   test -z "$as_dir" && as_dir=.
11969     for ac_exec_ext in '' $ac_executable_extensions; do
11970   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11971     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11972     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11973     break 2
11974   fi
11975 done
11976   done
11977 IFS=$as_save_IFS
11979   ;;
11980 esac
11982 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11983 if test -n "$ac_pt_PKG_CONFIG"; then
11984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11985 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11986 else
11987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11988 $as_echo "no" >&6; }
11991   if test "x$ac_pt_PKG_CONFIG" = x; then
11992     PKG_CONFIG=""
11993   else
11994     case $cross_compiling:$ac_tool_warned in
11995 yes:)
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11997 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11998 ac_tool_warned=yes ;;
11999 esac
12000     PKG_CONFIG=$ac_pt_PKG_CONFIG
12001   fi
12002 else
12003   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12007 if test -n "$PKG_CONFIG"; then
12008         _pkg_min_version=0.9.0
12009         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12010 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12011         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12012                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12013 $as_echo "yes" >&6; }
12014         else
12015                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12016 $as_echo "no" >&6; }
12017                 PKG_CONFIG=""
12018         fi
12019                 
12022 pkg_failed=no
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME" >&5
12024 $as_echo_n "checking for GNOME... " >&6; }
12026 if test -n "$PKG_CONFIG"; then
12027     if test -n "$GNOME_CFLAGS"; then
12028         pkg_cv_GNOME_CFLAGS="$GNOME_CFLAGS"
12029     else
12030         if test -n "$PKG_CONFIG" && \
12031     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0 >= \$LIBGNOMEUI_REQUIRED
12032                           gtk+-2.0      >= \$GTK_REQUIRED 
12033                           gmodule-2.0
12034                           gio-unix-2.0 >= \$GIO_REQUIRED\""; } >&5
12035   ($PKG_CONFIG --exists --print-errors "libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED
12036                           gtk+-2.0      >= $GTK_REQUIRED 
12037                           gmodule-2.0
12038                           gio-unix-2.0 >= $GIO_REQUIRED") 2>&5
12039   ac_status=$?
12040   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12041   test $ac_status = 0; }; then
12042   pkg_cv_GNOME_CFLAGS=`$PKG_CONFIG --cflags "libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED
12043                           gtk+-2.0      >= $GTK_REQUIRED 
12044                           gmodule-2.0
12045                           gio-unix-2.0 >= $GIO_REQUIRED" 2>/dev/null`
12046 else
12047   pkg_failed=yes
12049     fi
12050 else
12051         pkg_failed=untried
12053 if test -n "$PKG_CONFIG"; then
12054     if test -n "$GNOME_LIBS"; then
12055         pkg_cv_GNOME_LIBS="$GNOME_LIBS"
12056     else
12057         if test -n "$PKG_CONFIG" && \
12058     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0 >= \$LIBGNOMEUI_REQUIRED
12059                           gtk+-2.0      >= \$GTK_REQUIRED 
12060                           gmodule-2.0
12061                           gio-unix-2.0 >= \$GIO_REQUIRED\""; } >&5
12062   ($PKG_CONFIG --exists --print-errors "libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED
12063                           gtk+-2.0      >= $GTK_REQUIRED 
12064                           gmodule-2.0
12065                           gio-unix-2.0 >= $GIO_REQUIRED") 2>&5
12066   ac_status=$?
12067   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12068   test $ac_status = 0; }; then
12069   pkg_cv_GNOME_LIBS=`$PKG_CONFIG --libs "libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED
12070                           gtk+-2.0      >= $GTK_REQUIRED 
12071                           gmodule-2.0
12072                           gio-unix-2.0 >= $GIO_REQUIRED" 2>/dev/null`
12073 else
12074   pkg_failed=yes
12076     fi
12077 else
12078         pkg_failed=untried
12083 if test $pkg_failed = yes; then
12084         
12085 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12086         _pkg_short_errors_supported=yes
12087 else
12088         _pkg_short_errors_supported=no
12090         if test $_pkg_short_errors_supported = yes; then
12091                 GNOME_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED
12092                           gtk+-2.0      >= $GTK_REQUIRED 
12093                           gmodule-2.0
12094                           gio-unix-2.0 >= $GIO_REQUIRED"`
12095         else 
12096                 GNOME_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED
12097                           gtk+-2.0      >= $GTK_REQUIRED 
12098                           gmodule-2.0
12099                           gio-unix-2.0 >= $GIO_REQUIRED"`
12100         fi
12101         # Put the nasty error message in config.log where it belongs
12102         echo "$GNOME_PKG_ERRORS" >&5
12104         as_fn_error "Package requirements (libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED
12105                           gtk+-2.0      >= $GTK_REQUIRED 
12106                           gmodule-2.0
12107                           gio-unix-2.0 >= $GIO_REQUIRED) were not met:
12109 $GNOME_PKG_ERRORS
12111 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12112 installed software in a non-standard prefix.
12114 Alternatively, you may set the environment variables GNOME_CFLAGS
12115 and GNOME_LIBS to avoid the need to call pkg-config.
12116 See the pkg-config man page for more details.
12117 " "$LINENO" 5
12118 elif test $pkg_failed = untried; then
12119         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12120 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12121 as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
12122 is in your PATH or set the PKG_CONFIG environment variable to the full
12123 path to pkg-config.
12125 Alternatively, you may set the environment variables GNOME_CFLAGS
12126 and GNOME_LIBS to avoid the need to call pkg-config.
12127 See the pkg-config man page for more details.
12129 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12130 See \`config.log' for more details." "$LINENO" 5; }
12131 else
12132         GNOME_CFLAGS=$pkg_cv_GNOME_CFLAGS
12133         GNOME_LIBS=$pkg_cv_GNOME_LIBS
12134         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12135 $as_echo "yes" >&6; }
12136         :
12138                         
12145 pkg_failed=no
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
12147 $as_echo_n "checking for DBUS... " >&6; }
12149 if test -n "$PKG_CONFIG"; then
12150     if test -n "$DBUS_CFLAGS"; then
12151         pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
12152     else
12153         if test -n "$PKG_CONFIG" && \
12154     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= \$DBUS_GLIB_REQUIRED\""; } >&5
12155   ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED") 2>&5
12156   ac_status=$?
12157   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12158   test $ac_status = 0; }; then
12159   pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1 >= $DBUS_GLIB_REQUIRED" 2>/dev/null`
12160 else
12161   pkg_failed=yes
12163     fi
12164 else
12165         pkg_failed=untried
12167 if test -n "$PKG_CONFIG"; then
12168     if test -n "$DBUS_LIBS"; then
12169         pkg_cv_DBUS_LIBS="$DBUS_LIBS"
12170     else
12171         if test -n "$PKG_CONFIG" && \
12172     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= \$DBUS_GLIB_REQUIRED\""; } >&5
12173   ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED") 2>&5
12174   ac_status=$?
12175   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12176   test $ac_status = 0; }; then
12177   pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-glib-1 >= $DBUS_GLIB_REQUIRED" 2>/dev/null`
12178 else
12179   pkg_failed=yes
12181     fi
12182 else
12183         pkg_failed=untried
12188 if test $pkg_failed = yes; then
12189         
12190 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12191         _pkg_short_errors_supported=yes
12192 else
12193         _pkg_short_errors_supported=no
12195         if test $_pkg_short_errors_supported = yes; then
12196                 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED"`
12197         else 
12198                 DBUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED"`
12199         fi
12200         # Put the nasty error message in config.log where it belongs
12201         echo "$DBUS_PKG_ERRORS" >&5
12203         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12204 $as_echo "no" >&6; }
12205                 enable_dbus=no
12206 elif test $pkg_failed = untried; then
12207         enable_dbus=no
12208 else
12209         DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
12210         DBUS_LIBS=$pkg_cv_DBUS_LIBS
12211         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12212 $as_echo "yes" >&6; }
12213         enable_dbus=yes
12218 if test "x$enable_dbus" = "xno"; then
12219         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: DBUS support is disabled since dbus $DBUS_GLIB_REQUIRED or higher was not found" >&5
12220 $as_echo "$as_me: WARNING: DBUS support is disabled since dbus $DBUS_GLIB_REQUIRED or higher was not found" >&2;}
12223 if test "x$enable_dbus" = "xyes" ; then
12224         # Extract the first word of "dbus-binding-tool", so it can be a program name with args.
12225 set dummy dbus-binding-tool; ac_word=$2
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12227 $as_echo_n "checking for $ac_word... " >&6; }
12228 if test "${ac_cv_path_DBUS_BINDING_TOOL+set}" = set; then :
12229   $as_echo_n "(cached) " >&6
12230 else
12231   case $DBUS_BINDING_TOOL in
12232   [\\/]* | ?:[\\/]*)
12233   ac_cv_path_DBUS_BINDING_TOOL="$DBUS_BINDING_TOOL" # Let the user override the test with a path.
12234   ;;
12235   *)
12236   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12237 for as_dir in $PATH
12239   IFS=$as_save_IFS
12240   test -z "$as_dir" && as_dir=.
12241     for ac_exec_ext in '' $ac_executable_extensions; do
12242   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12243     ac_cv_path_DBUS_BINDING_TOOL="$as_dir/$ac_word$ac_exec_ext"
12244     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12245     break 2
12246   fi
12247 done
12248   done
12249 IFS=$as_save_IFS
12251   test -z "$ac_cv_path_DBUS_BINDING_TOOL" && ac_cv_path_DBUS_BINDING_TOOL="no"
12252   ;;
12253 esac
12255 DBUS_BINDING_TOOL=$ac_cv_path_DBUS_BINDING_TOOL
12256 if test -n "$DBUS_BINDING_TOOL"; then
12257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_BINDING_TOOL" >&5
12258 $as_echo "$DBUS_BINDING_TOOL" >&6; }
12259 else
12260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12261 $as_echo "no" >&6; }
12266         if test x$DBUS_BINDING_TOOL = "xno" ; then
12267                 as_fn_error "dbus-binding-tool executable not found in your path - should be installed with dbus glib bindings" "$LINENO" 5
12268         fi
12270         
12271 $as_echo "@%:@define ENABLE_DBUS 1" >>confdefs.h
12274         DBUS_VERSION=`$PKG_CONFIG --modversion dbus-glib-1 | sed 's/0\.\([0-9]*\)\.\{0,1\}\([0-9]*\)/\1/'`
12275         
12276 cat >>confdefs.h <<_ACEOF
12277 @%:@define DBUS_VERSION $DBUS_VERSION
12278 _ACEOF
12282 GETTEXT_PACKAGE=gwget
12285 cat >>confdefs.h <<_ACEOF
12286 @%:@define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
12287 _ACEOF
12289 ALL_LINGUAS="ar bg ca cs da de dz el en_CA en_GB es eu fi fr hu it ja lt lv mk ne nl oc pa pl pt pt_BR ro ru rw sk sq sv tr uk vi zh_CN zh_HK zh_TW"
12290       
12291    for ac_header in locale.h
12292 do :
12293   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
12294 if test "x$ac_cv_header_locale_h" = x""yes; then :
12295   cat >>confdefs.h <<_ACEOF
12296 @%:@define HAVE_LOCALE_H 1
12297 _ACEOF
12301 done
12303     if test $ac_cv_header_locale_h = yes; then
12304     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
12305 $as_echo_n "checking for LC_MESSAGES... " >&6; }
12306 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
12307   $as_echo_n "(cached) " >&6
12308 else
12309   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12310 /* end confdefs.h.  */
12311 #include <locale.h>
12313 main ()
12315 return LC_MESSAGES
12316   ;
12317   return 0;
12319 _ACEOF
12320 if ac_fn_c_try_link "$LINENO"; then :
12321   am_cv_val_LC_MESSAGES=yes
12322 else
12323   am_cv_val_LC_MESSAGES=no
12325 rm -f core conftest.err conftest.$ac_objext \
12326     conftest$ac_exeext conftest.$ac_ext
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
12329 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
12330     if test $am_cv_val_LC_MESSAGES = yes; then
12331       
12332 $as_echo "@%:@define HAVE_LC_MESSAGES 1" >>confdefs.h
12334     fi
12335   fi
12336      USE_NLS=yes
12337     
12339     gt_cv_have_gettext=no
12341     CATOBJEXT=NONE
12342     XGETTEXT=:
12343     INTLLIBS=
12345     ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
12346 if test "x$ac_cv_header_libintl_h" = x""yes; then :
12347   gt_cv_func_dgettext_libintl="no"
12348       libintl_extra_libs=""
12350       #
12351       # First check in libc
12352       #
12353       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
12354 $as_echo_n "checking for ngettext in libc... " >&6; }
12355 if test "${gt_cv_func_ngettext_libc+set}" = set; then :
12356   $as_echo_n "(cached) " >&6
12357 else
12358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12359 /* end confdefs.h.  */
12361 #include <libintl.h>
12364 main ()
12366 return !ngettext ("","", 1)
12367   ;
12368   return 0;
12370 _ACEOF
12371 if ac_fn_c_try_link "$LINENO"; then :
12372   gt_cv_func_ngettext_libc=yes
12373 else
12374   gt_cv_func_ngettext_libc=no
12376 rm -f core conftest.err conftest.$ac_objext \
12377     conftest$ac_exeext conftest.$ac_ext
12378         
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
12381 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
12382   
12383       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
12384               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
12385 $as_echo_n "checking for dgettext in libc... " >&6; }
12386 if test "${gt_cv_func_dgettext_libc+set}" = set; then :
12387   $as_echo_n "(cached) " >&6
12388 else
12389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12390 /* end confdefs.h.  */
12392 #include <libintl.h>
12395 main ()
12397 return !dgettext ("","")
12398   ;
12399   return 0;
12401 _ACEOF
12402 if ac_fn_c_try_link "$LINENO"; then :
12403   gt_cv_func_dgettext_libc=yes
12404 else
12405   gt_cv_func_dgettext_libc=no
12407 rm -f core conftest.err conftest.$ac_objext \
12408     conftest$ac_exeext conftest.$ac_ext
12409                 
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
12412 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
12413       fi
12414   
12415       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
12416         for ac_func in bind_textdomain_codeset
12417 do :
12418   ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12419 if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
12420   cat >>confdefs.h <<_ACEOF
12421 @%:@define HAVE_BIND_TEXTDOMAIN_CODESET 1
12422 _ACEOF
12425 done
12427       fi
12429       #
12430       # If we don't have everything we want, check in libintl
12431       #
12432       if test "$gt_cv_func_dgettext_libc" != "yes" \
12433          || test "$gt_cv_func_ngettext_libc" != "yes" \
12434          || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
12435         
12436         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
12437 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
12438 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
12439   $as_echo_n "(cached) " >&6
12440 else
12441   ac_check_lib_save_LIBS=$LIBS
12442 LIBS="-lintl  $LIBS"
12443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12444 /* end confdefs.h.  */
12446 /* Override any GCC internal prototype to avoid an error.
12447    Use char because int might match the return type of a GCC
12448    builtin and then its argument prototype would still apply.  */
12449 #ifdef __cplusplus
12450 extern "C"
12451 #endif
12452 char bindtextdomain ();
12454 main ()
12456 return bindtextdomain ();
12457   ;
12458   return 0;
12460 _ACEOF
12461 if ac_fn_c_try_link "$LINENO"; then :
12462   ac_cv_lib_intl_bindtextdomain=yes
12463 else
12464   ac_cv_lib_intl_bindtextdomain=no
12466 rm -f core conftest.err conftest.$ac_objext \
12467     conftest$ac_exeext conftest.$ac_ext
12468 LIBS=$ac_check_lib_save_LIBS
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
12471 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
12472 if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
12473   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12474 $as_echo_n "checking for ngettext in -lintl... " >&6; }
12475 if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
12476   $as_echo_n "(cached) " >&6
12477 else
12478   ac_check_lib_save_LIBS=$LIBS
12479 LIBS="-lintl  $LIBS"
12480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12481 /* end confdefs.h.  */
12483 /* Override any GCC internal prototype to avoid an error.
12484    Use char because int might match the return type of a GCC
12485    builtin and then its argument prototype would still apply.  */
12486 #ifdef __cplusplus
12487 extern "C"
12488 #endif
12489 char ngettext ();
12491 main ()
12493 return ngettext ();
12494   ;
12495   return 0;
12497 _ACEOF
12498 if ac_fn_c_try_link "$LINENO"; then :
12499   ac_cv_lib_intl_ngettext=yes
12500 else
12501   ac_cv_lib_intl_ngettext=no
12503 rm -f core conftest.err conftest.$ac_objext \
12504     conftest$ac_exeext conftest.$ac_ext
12505 LIBS=$ac_check_lib_save_LIBS
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12508 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12509 if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
12510   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
12511 $as_echo_n "checking for dgettext in -lintl... " >&6; }
12512 if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
12513   $as_echo_n "(cached) " >&6
12514 else
12515   ac_check_lib_save_LIBS=$LIBS
12516 LIBS="-lintl  $LIBS"
12517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12518 /* end confdefs.h.  */
12520 /* Override any GCC internal prototype to avoid an error.
12521    Use char because int might match the return type of a GCC
12522    builtin and then its argument prototype would still apply.  */
12523 #ifdef __cplusplus
12524 extern "C"
12525 #endif
12526 char dgettext ();
12528 main ()
12530 return dgettext ();
12531   ;
12532   return 0;
12534 _ACEOF
12535 if ac_fn_c_try_link "$LINENO"; then :
12536   ac_cv_lib_intl_dgettext=yes
12537 else
12538   ac_cv_lib_intl_dgettext=no
12540 rm -f core conftest.err conftest.$ac_objext \
12541     conftest$ac_exeext conftest.$ac_ext
12542 LIBS=$ac_check_lib_save_LIBS
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
12545 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
12546 if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
12547   gt_cv_func_dgettext_libintl=yes
12555         if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
12556           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
12557 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
12558           { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
12559 $as_echo "" >&6; }
12560           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12561 $as_echo_n "checking for ngettext in -lintl... " >&6; }
12562 if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
12563   $as_echo_n "(cached) " >&6
12564 else
12565   ac_check_lib_save_LIBS=$LIBS
12566 LIBS="-lintl -liconv $LIBS"
12567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12568 /* end confdefs.h.  */
12570 /* Override any GCC internal prototype to avoid an error.
12571    Use char because int might match the return type of a GCC
12572    builtin and then its argument prototype would still apply.  */
12573 #ifdef __cplusplus
12574 extern "C"
12575 #endif
12576 char ngettext ();
12578 main ()
12580 return ngettext ();
12581   ;
12582   return 0;
12584 _ACEOF
12585 if ac_fn_c_try_link "$LINENO"; then :
12586   ac_cv_lib_intl_ngettext=yes
12587 else
12588   ac_cv_lib_intl_ngettext=no
12590 rm -f core conftest.err conftest.$ac_objext \
12591     conftest$ac_exeext conftest.$ac_ext
12592 LIBS=$ac_check_lib_save_LIBS
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12595 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12596 if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
12597   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
12598 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
12599 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
12600   $as_echo_n "(cached) " >&6
12601 else
12602   ac_check_lib_save_LIBS=$LIBS
12603 LIBS="-lintl -liconv $LIBS"
12604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12605 /* end confdefs.h.  */
12607 /* Override any GCC internal prototype to avoid an error.
12608    Use char because int might match the return type of a GCC
12609    builtin and then its argument prototype would still apply.  */
12610 #ifdef __cplusplus
12611 extern "C"
12612 #endif
12613 char dcgettext ();
12615 main ()
12617 return dcgettext ();
12618   ;
12619   return 0;
12621 _ACEOF
12622 if ac_fn_c_try_link "$LINENO"; then :
12623   ac_cv_lib_intl_dcgettext=yes
12624 else
12625   ac_cv_lib_intl_dcgettext=no
12627 rm -f core conftest.err conftest.$ac_objext \
12628     conftest$ac_exeext conftest.$ac_ext
12629 LIBS=$ac_check_lib_save_LIBS
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
12632 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
12633 if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
12634   gt_cv_func_dgettext_libintl=yes
12635                         libintl_extra_libs=-liconv
12636 else
12637   :
12640 else
12641   :
12644         fi
12646         #
12647         # If we found libintl, then check in it for bind_textdomain_codeset();
12648         # we'll prefer libc if neither have bind_textdomain_codeset(),
12649         # and both have dgettext and ngettext
12650         #
12651         if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
12652           glib_save_LIBS="$LIBS"
12653           LIBS="$LIBS -lintl $libintl_extra_libs"
12654           unset ac_cv_func_bind_textdomain_codeset
12655           for ac_func in bind_textdomain_codeset
12656 do :
12657   ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12658 if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
12659   cat >>confdefs.h <<_ACEOF
12660 @%:@define HAVE_BIND_TEXTDOMAIN_CODESET 1
12661 _ACEOF
12664 done
12666           LIBS="$glib_save_LIBS"
12668           if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
12669             gt_cv_func_dgettext_libc=no
12670           else
12671             if test "$gt_cv_func_dgettext_libc" = "yes" \
12672                 && test "$gt_cv_func_ngettext_libc" = "yes"; then
12673               gt_cv_func_dgettext_libintl=no
12674             fi
12675           fi
12676         fi
12677       fi
12679       if test "$gt_cv_func_dgettext_libc" = "yes" \
12680         || test "$gt_cv_func_dgettext_libintl" = "yes"; then
12681         gt_cv_have_gettext=yes
12682       fi
12683   
12684       if test "$gt_cv_func_dgettext_libintl" = "yes"; then
12685         INTLLIBS="-lintl $libintl_extra_libs"
12686       fi
12687   
12688       if test "$gt_cv_have_gettext" = "yes"; then
12689         
12690 $as_echo "@%:@define HAVE_GETTEXT 1" >>confdefs.h
12692         # Extract the first word of "msgfmt", so it can be a program name with args.
12693 set dummy msgfmt; ac_word=$2
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12695 $as_echo_n "checking for $ac_word... " >&6; }
12696 if test "${ac_cv_path_MSGFMT+set}" = set; then :
12697   $as_echo_n "(cached) " >&6
12698 else
12699   case "$MSGFMT" in
12700   /*)
12701   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12702   ;;
12703   *)
12704   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
12705   for ac_dir in $PATH; do
12706     test -z "$ac_dir" && ac_dir=.
12707     if test -f $ac_dir/$ac_word; then
12708       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
12709         ac_cv_path_MSGFMT="$ac_dir/$ac_word"
12710         break
12711       fi
12712     fi
12713   done
12714   IFS="$ac_save_ifs"
12715   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
12716   ;;
12717 esac
12719 MSGFMT="$ac_cv_path_MSGFMT"
12720 if test "$MSGFMT" != "no"; then
12721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12722 $as_echo "$MSGFMT" >&6; }
12723 else
12724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12725 $as_echo "no" >&6; }
12727         if test "$MSGFMT" != "no"; then
12728           glib_save_LIBS="$LIBS"
12729           LIBS="$LIBS $INTLLIBS"
12730           for ac_func in dcgettext
12731 do :
12732   ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
12733 if test "x$ac_cv_func_dcgettext" = x""yes; then :
12734   cat >>confdefs.h <<_ACEOF
12735 @%:@define HAVE_DCGETTEXT 1
12736 _ACEOF
12739 done
12741           MSGFMT_OPTS=
12742           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
12743 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
12744           cat >conftest.foo <<_ACEOF
12746 msgid ""
12747 msgstr ""
12748 "Content-Type: text/plain; charset=UTF-8\n"
12749 "Project-Id-Version: test 1.0\n"
12750 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
12751 "Last-Translator: test <foo@bar.xx>\n"
12752 "Language-Team: C <LL@li.org>\n"
12753 "MIME-Version: 1.0\n"
12754 "Content-Transfer-Encoding: 8bit\n"
12756 _ACEOF
12757 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
12758   ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
12759   ac_status=$?
12760   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12761   test $ac_status = 0; }; then
12762   MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12763 $as_echo "yes" >&6; }
12764 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12765 $as_echo "no" >&6; }
12766 echo "$as_me: failed input was:" >&5
12767 sed 's/^/| /' conftest.foo >&5
12769           
12770           # Extract the first word of "gmsgfmt", so it can be a program name with args.
12771 set dummy gmsgfmt; ac_word=$2
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12773 $as_echo_n "checking for $ac_word... " >&6; }
12774 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
12775   $as_echo_n "(cached) " >&6
12776 else
12777   case $GMSGFMT in
12778   [\\/]* | ?:[\\/]*)
12779   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12780   ;;
12781   *)
12782   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12783 for as_dir in $PATH
12785   IFS=$as_save_IFS
12786   test -z "$as_dir" && as_dir=.
12787     for ac_exec_ext in '' $ac_executable_extensions; do
12788   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12789     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12790     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12791     break 2
12792   fi
12793 done
12794   done
12795 IFS=$as_save_IFS
12797   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12798   ;;
12799 esac
12801 GMSGFMT=$ac_cv_path_GMSGFMT
12802 if test -n "$GMSGFMT"; then
12803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12804 $as_echo "$GMSGFMT" >&6; }
12805 else
12806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12807 $as_echo "no" >&6; }
12811           # Extract the first word of "xgettext", so it can be a program name with args.
12812 set dummy xgettext; ac_word=$2
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12814 $as_echo_n "checking for $ac_word... " >&6; }
12815 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
12816   $as_echo_n "(cached) " >&6
12817 else
12818   case "$XGETTEXT" in
12819   /*)
12820   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12821   ;;
12822   *)
12823   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
12824   for ac_dir in $PATH; do
12825     test -z "$ac_dir" && ac_dir=.
12826     if test -f $ac_dir/$ac_word; then
12827       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
12828         ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
12829         break
12830       fi
12831     fi
12832   done
12833   IFS="$ac_save_ifs"
12834   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
12835   ;;
12836 esac
12838 XGETTEXT="$ac_cv_path_XGETTEXT"
12839 if test "$XGETTEXT" != ":"; then
12840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12841 $as_echo "$XGETTEXT" >&6; }
12842 else
12843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12844 $as_echo "no" >&6; }
12847           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12848 /* end confdefs.h.  */
12851 main ()
12853 extern int _nl_msg_cat_cntr;
12854                          return _nl_msg_cat_cntr
12855   ;
12856   return 0;
12858 _ACEOF
12859 if ac_fn_c_try_link "$LINENO"; then :
12860   CATOBJEXT=.gmo 
12861              DATADIRNAME=share
12862 else
12863   case $host in
12864             *-*-solaris*)
12865                                                                 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12866 if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
12867   CATOBJEXT=.gmo 
12868                DATADIRNAME=share
12869 else
12870   CATOBJEXT=.mo
12871                DATADIRNAME=lib
12874             ;;
12875             *)
12876             CATOBJEXT=.mo
12877             DATADIRNAME=lib
12878             ;;
12879             esac
12881 rm -f core conftest.err conftest.$ac_objext \
12882     conftest$ac_exeext conftest.$ac_ext
12883           LIBS="$glib_save_LIBS"
12884           INSTOBJEXT=.mo
12885         else
12886           gt_cv_have_gettext=no
12887         fi
12888       fi
12889     
12894     if test "$gt_cv_have_gettext" = "yes" ; then
12895       
12896 $as_echo "@%:@define ENABLE_NLS 1" >>confdefs.h
12898     fi
12900         if test "$XGETTEXT" != ":"; then
12901                   if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
12902         : ;
12903       else
12904         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
12905 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
12906         XGETTEXT=":"
12907       fi
12908     fi
12910     # We need to process the po/ directory.
12911     POSUB=po
12913     ac_config_commands="$ac_config_commands default-1"
12916                 for lang in $ALL_LINGUAS; do
12917       GMOFILES="$GMOFILES $lang.gmo"
12918       POFILES="$POFILES $lang.po"
12919     done
12921         
12922     
12923     
12924     
12925     
12926     
12927     
12928     
12929     
12930     
12931   
12933    if test "$gt_cv_have_gettext" = "yes"; then
12934      if test "x$ALL_LINGUAS" = "x"; then
12935        LINGUAS=
12936      else
12937        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
12938 $as_echo_n "checking for catalogs to be installed... " >&6; }
12939        NEW_LINGUAS=
12940        for presentlang in $ALL_LINGUAS; do
12941          useit=no
12942          if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
12943            desiredlanguages="$LINGUAS"
12944          else
12945            desiredlanguages="$ALL_LINGUAS"
12946          fi
12947          for desiredlang in $desiredlanguages; do
12948            # Use the presentlang catalog if desiredlang is
12949            #   a. equal to presentlang, or
12950            #   b. a variant of presentlang (because in this case,
12951            #      presentlang can be used as a fallback for messages
12952            #      which are not translated in the desiredlang catalog).
12953            case "$desiredlang" in
12954              "$presentlang"*) useit=yes;;
12955            esac
12956          done
12957          if test $useit = yes; then
12958            NEW_LINGUAS="$NEW_LINGUAS $presentlang"
12959          fi
12960        done
12961        LINGUAS=$NEW_LINGUAS
12962        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
12963 $as_echo "$LINGUAS" >&6; }
12964      fi
12966           if test -n "$LINGUAS"; then
12967        for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
12968      fi
12969    fi
12971             MKINSTALLDIRS=
12972    if test -n "$ac_aux_dir"; then
12973      MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
12974    fi
12975    if test -z "$MKINSTALLDIRS"; then
12976      MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
12977    fi
12978    
12980          test -d po || mkdir po
12981    if test "x$srcdir" != "x."; then
12982      if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
12983        posrcprefix="$srcdir/"
12984      else
12985        posrcprefix="../$srcdir/"
12986      fi
12987    else
12988      posrcprefix="../"
12989    fi
12990    rm -f po/POTFILES
12991    sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
12992         < $srcdir/po/POTFILES.in > po/POTFILES
12993   
12995 GWGET_CFLAGS="$DBUS_CFLAGS"
12996 GWGET_LIBS="$DBUS_LIBS -lz"
13004 if test "x${prefix}" = "xNONE"; then
13005         
13006 cat >>confdefs.h <<_ACEOF
13007 @%:@define GNOME_ICONDIR "${ac_default_prefix}/share/pixmaps"
13008 _ACEOF
13010 else
13011         
13012 cat >>confdefs.h <<_ACEOF
13013 @%:@define GNOME_ICONDIR "${prefix}/share/pixmaps"
13014 _ACEOF
13017                                                                                                                                                                                    
13018 if test "x${prefix}" = "xNONE"; then
13019         
13020 cat >>confdefs.h <<_ACEOF
13021 @%:@define PIXMAPS_DIR "${ac_default_prefix}/${DATADIRNAME}/${PACKAGE}/pixmaps"
13022 _ACEOF
13024         pixmapsdir="${ac_default_prefix}/${DATADIRNAME}/${PACKAGE}/pixmaps"
13025 else
13026         
13027 cat >>confdefs.h <<_ACEOF
13028 @%:@define PIXMAPS_DIR "${prefix}/${DATADIRNAME}/${PACKAGE}/pixmaps"
13029 _ACEOF
13031         pixmapsdir="${prefix}/${DATADIRNAME}/${PACKAGE}/pixmaps"
13033                                                                                                                                                                                                
13036 @%:@ Check whether --enable-epiphany-extension was given.
13037 if test "${enable_epiphany_extension+set}" = set; then :
13038   enableval=$enable_epiphany_extension; enable_epiphany_extension=$enableval
13039 else
13040   enable_epiphany_extension=yes
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which epiphany to use" >&5
13047 $as_echo_n "checking which epiphany to use... " >&6; }
13049 EPHY_VER=
13051 @%:@ Check whether --with-epiphany-version was given.
13052 if test "${with_epiphany_version+set}" = set; then :
13053   withval=$with_epiphany_version; EPHY_VER="$withval"
13057 EPHY_AUTODETECT="(autodetect)"
13058 if pkg-config --exists epiphany-2.28; then
13059         EPHY_VER=2.28
13060 elif pkg-config --exists epiphany-2.27; then
13061         EPHY_VER=2.27
13062 elif pkg-config --exists epiphany-2.26; then
13063         EPHY_VER=2.26
13064 elif pkg-config --exists epiphany-2.25; then
13065         EPHY_VER=2.25
13066 elif pkg-config --exists epiphany-2.24; then
13067         EPHY_VER=2.24
13068 elif pkg-config --exists epiphany-2.23; then
13069         EPHY_VER=2.23
13070 elif pkg-config --exists epiphany-2.22; then
13071         EPHY_VER=2.22
13072 elif pkg-config --exists epiphany-2.21; then
13073         EPHY_VER=2.21
13074 elif pkg-config --exists epiphany-2.20; then
13075         EPHY_VER=2.20
13076 elif pkg-config --exists epiphany-2.19; then
13077         EPHY_VER=2.19
13078 elif pkg-config --exists epiphany-2.18; then
13079         EPHY_VER=2.18
13080 elif pkg-config --exists epiphany-2.17; then
13081         EPHY_VER=2.17
13082 elif pkg-config --exists epiphany-2.16; then
13083         EPHY_VER=2.16
13084 elif pkg-config --exists epiphany-2.15; then
13085         EPHY_VER=2.15
13086 elif pkg-config --exists epiphany-2.14; then
13087         EPHY_VER=2.14
13088 elif pkg-config --exists epiphany-1.10; then
13089         EPHY_VER=1.10
13090 elif pkg-config --exists epiphany-1.8; then
13091         EPHY_VER=1.8
13092 elif pkg-config --exists epiphany-1.6; then
13093         EPHY_VER=1.6
13094 elif pkg-config --exists epiphany-1.4; then
13095         EPHY_VER=1.4
13096 elif pkg-config --exists epiphany-1.2; then
13097         EPHY_VER=1.2
13101 EPIPHANY_REQUIRED=
13102 EPIPHANY_PKGCONFIG=
13103 EPIPHANY_SHORTVER=
13105 if test "x$EPHY_VER" = "x1.2"; then
13106           EPIPHANY_PKGCONFIG=epiphany-1.2
13107           EPIPHANY_REQUIRED=1.2.0
13108           EPIPHANY_SHORTVER=12
13109 elif test "x$EPHY_VER" = "x1.4"; then
13110           EPIPHANY_PKGCONFIG=epiphany-1.4
13111           EPIPHANY_REQUIRED=1.4.0
13112           EPIPHANY_SHORTVER=14
13113 elif test "x$EPHY_VER" = "x1.6"; then
13114           EPIPHANY_PKGCONFIG=epiphany-1.6
13115           EPIPHANY_REQUIRED=1.6.0
13116           EPIPHANY_SHORTVER=16
13117 elif test "x$EPHY_VER" = "x1.8"; then
13118           EPIPHANY_PKGCONFIG=epiphany-1.8
13119           EPIPHANY_REQUIRED=1.7.0
13120           EPIPHANY_SHORTVER=18
13121 elif test "x$EPHY_VER" = "x1.10"; then
13122           EPIPHANY_PKGCONFIG=epiphany-1.10
13123           EPIPHANY_REQUIRED=1.9.0
13124           EPIPHANY_SHORTVER=110
13125 elif test "x$EPHY_VER" = "x2.14"; then
13126           EPIPHANY_PKGCONFIG=epiphany-2.14
13127           EPIPHANY_REQUIRED=2.14
13128           EPIPHANY_SHORTVER=214
13129 elif test "x$EPHY_VER" = "x2.15"; then
13130           EPIPHANY_PKGCONFIG=epiphany-2.15
13131           EPIPHANY_REQUIRED=2.15
13132           EPIPHANY_SHORTVER=215
13133 elif test "x$EPHY_VER" = "x2.16"; then
13134           EPIPHANY_PKGCONFIG=epiphany-2.16
13135           EPIPHANY_REQUIRED=2.16
13136           EPIPHANY_SHORTVER=216
13137 elif test "x$EPHY_VER" = "x2.17"; then
13138           EPIPHANY_PKGCONFIG=epiphany-2.17
13139           EPIPHANY_REQUIRED=2.17
13140           EPIPHANY_SHORTVER=217
13141 elif test "x$EPHY_VER" = "x2.18"; then
13142           EPIPHANY_PKGCONFIG=epiphany-2.18
13143           EPIPHANY_REQUIRED=2.18
13144           EPIPHANY_SHORTVER=218
13145 elif test "x$EPHY_VER" = "x2.19"; then
13146           EPIPHANY_PKGCONFIG=epiphany-2.19
13147           EPIPHANY_REQUIRED=2.19
13148           EPIPHANY_SHORTVER=219
13149 elif test "x$EPHY_VER" = "x2.20"; then
13150           EPIPHANY_PKGCONFIG=epiphany-2.20
13151           EPIPHANY_REQUIRED=2.20
13152           EPIPHANY_SHORTVER=220
13153 elif test "x$EPHY_VER" = "x2.21"; then
13154           EPIPHANY_PKGCONFIG=epiphany-2.21
13155           EPIPHANY_REQUIRED=2.21
13156           EPIPHANY_SHORTVER=221
13157 elif test "x$EPHY_VER" = "x2.22"; then
13158           EPIPHANY_PKGCONFIG=epiphany-2.22
13159           EPIPHANY_REQUIRED=2.22
13160           EPIPHANY_SHORTVER=222
13161 elif test "x$EPHY_VER" = "x2.23"; then
13162           EPIPHANY_PKGCONFIG=epiphany-2.23
13163           EPIPHANY_REQUIRED=2.23
13164           EPIPHANY_SHORTVER=223
13165 elif test "x$EPHY_VER" = "x2.24"; then
13166           EPIPHANY_PKGCONFIG=epiphany-2.24
13167           EPIPHANY_REQUIRED=2.24
13168           EPIPHANY_SHORTVER=224
13169 elif test "x$EPHY_VER" = "x2.25"; then
13170           EPIPHANY_PKGCONFIG=epiphany-2.25
13171           EPIPHANY_REQUIRED=2.25
13172           EPIPHANY_SHORTVER=225
13173 elif test "x$EPHY_VER" = "x2.26"; then
13174           EPIPHANY_PKGCONFIG=epiphany-2.26
13175           EPIPHANY_REQUIRED=2.26
13176           EPIPHANY_SHORTVER=226
13177 elif test "x$EPHY_VER" = "x2.27"; then
13178           EPIPHANY_PKGCONFIG=epiphany-2.27
13179           EPIPHANY_REQUIRED=2.27
13180           EPIPHANY_SHORTVER=227
13181 elif test "x$EPHY_VER" = "x2.28"; then
13182           EPIPHANY_PKGCONFIG=epiphany-2.28
13183           EPIPHANY_REQUIRED=2.28
13184           EPIPHANY_SHORTVER=228
13185 else
13186         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no epiphany installed" >&5
13187 $as_echo "no epiphany installed" >&6; }
13190 if test -n "$EPIPHANY_SHORTVER" ; then
13192 cat >>confdefs.h <<_ACEOF
13193 @%:@define EPHY_VERSION $EPIPHANY_SHORTVER
13194 _ACEOF
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EPHY_VER $EPHY_AUTODETECT" >&5
13197 $as_echo "$EPHY_VER $EPHY_AUTODETECT" >&6; }
13199 LIBGLIB_REQUIRED=2.4.0
13200 LIBGTK_REQUIRED=2.4.0
13207 pkg_failed=no
13208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPIPHANY_DEPENDENCY" >&5
13209 $as_echo_n "checking for EPIPHANY_DEPENDENCY... " >&6; }
13211 if test -n "$PKG_CONFIG"; then
13212     if test -n "$EPIPHANY_DEPENDENCY_CFLAGS"; then
13213         pkg_cv_EPIPHANY_DEPENDENCY_CFLAGS="$EPIPHANY_DEPENDENCY_CFLAGS"
13214     else
13215         if test -n "$PKG_CONFIG" && \
13216     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13217                   glib-2.0 >= \$LIBGLIB_REQUIRED \\
13218                   gmodule-2.0 \\
13219                   gtk+-2.0 >= \$LIBGTK_REQUIRED \\
13220                   \$EPIPHANY_PKGCONFIG >= \$EPIPHANY_REQUIRED \\
13221                   \""; } >&5
13222   ($PKG_CONFIG --exists --print-errors "\
13223                   glib-2.0 >= $LIBGLIB_REQUIRED \
13224                   gmodule-2.0 \
13225                   gtk+-2.0 >= $LIBGTK_REQUIRED \
13226                   $EPIPHANY_PKGCONFIG >= $EPIPHANY_REQUIRED \
13227                   ") 2>&5
13228   ac_status=$?
13229   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13230   test $ac_status = 0; }; then
13231   pkg_cv_EPIPHANY_DEPENDENCY_CFLAGS=`$PKG_CONFIG --cflags "\
13232                   glib-2.0 >= $LIBGLIB_REQUIRED \
13233                   gmodule-2.0 \
13234                   gtk+-2.0 >= $LIBGTK_REQUIRED \
13235                   $EPIPHANY_PKGCONFIG >= $EPIPHANY_REQUIRED \
13236                   " 2>/dev/null`
13237 else
13238   pkg_failed=yes
13240     fi
13241 else
13242         pkg_failed=untried
13244 if test -n "$PKG_CONFIG"; then
13245     if test -n "$EPIPHANY_DEPENDENCY_LIBS"; then
13246         pkg_cv_EPIPHANY_DEPENDENCY_LIBS="$EPIPHANY_DEPENDENCY_LIBS"
13247     else
13248         if test -n "$PKG_CONFIG" && \
13249     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13250                   glib-2.0 >= \$LIBGLIB_REQUIRED \\
13251                   gmodule-2.0 \\
13252                   gtk+-2.0 >= \$LIBGTK_REQUIRED \\
13253                   \$EPIPHANY_PKGCONFIG >= \$EPIPHANY_REQUIRED \\
13254                   \""; } >&5
13255   ($PKG_CONFIG --exists --print-errors "\
13256                   glib-2.0 >= $LIBGLIB_REQUIRED \
13257                   gmodule-2.0 \
13258                   gtk+-2.0 >= $LIBGTK_REQUIRED \
13259                   $EPIPHANY_PKGCONFIG >= $EPIPHANY_REQUIRED \
13260                   ") 2>&5
13261   ac_status=$?
13262   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13263   test $ac_status = 0; }; then
13264   pkg_cv_EPIPHANY_DEPENDENCY_LIBS=`$PKG_CONFIG --libs "\
13265                   glib-2.0 >= $LIBGLIB_REQUIRED \
13266                   gmodule-2.0 \
13267                   gtk+-2.0 >= $LIBGTK_REQUIRED \
13268                   $EPIPHANY_PKGCONFIG >= $EPIPHANY_REQUIRED \
13269                   " 2>/dev/null`
13270 else
13271   pkg_failed=yes
13273     fi
13274 else
13275         pkg_failed=untried
13280 if test $pkg_failed = yes; then
13281         
13282 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13283         _pkg_short_errors_supported=yes
13284 else
13285         _pkg_short_errors_supported=no
13287         if test $_pkg_short_errors_supported = yes; then
13288                 EPIPHANY_DEPENDENCY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "\
13289                   glib-2.0 >= $LIBGLIB_REQUIRED \
13290                   gmodule-2.0 \
13291                   gtk+-2.0 >= $LIBGTK_REQUIRED \
13292                   $EPIPHANY_PKGCONFIG >= $EPIPHANY_REQUIRED \
13293                   "`
13294         else 
13295                 EPIPHANY_DEPENDENCY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "\
13296                   glib-2.0 >= $LIBGLIB_REQUIRED \
13297                   gmodule-2.0 \
13298                   gtk+-2.0 >= $LIBGTK_REQUIRED \
13299                   $EPIPHANY_PKGCONFIG >= $EPIPHANY_REQUIRED \
13300                   "`
13301         fi
13302         # Put the nasty error message in config.log where it belongs
13303         echo "$EPIPHANY_DEPENDENCY_PKG_ERRORS" >&5
13305         as_fn_error "Package requirements (\
13306                   glib-2.0 >= $LIBGLIB_REQUIRED \
13307                   gmodule-2.0 \
13308                   gtk+-2.0 >= $LIBGTK_REQUIRED \
13309                   $EPIPHANY_PKGCONFIG >= $EPIPHANY_REQUIRED \
13310                   ) were not met:
13312 $EPIPHANY_DEPENDENCY_PKG_ERRORS
13314 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13315 installed software in a non-standard prefix.
13317 Alternatively, you may set the environment variables EPIPHANY_DEPENDENCY_CFLAGS
13318 and EPIPHANY_DEPENDENCY_LIBS to avoid the need to call pkg-config.
13319 See the pkg-config man page for more details.
13320 " "$LINENO" 5
13321 elif test $pkg_failed = untried; then
13322         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13324 as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
13325 is in your PATH or set the PKG_CONFIG environment variable to the full
13326 path to pkg-config.
13328 Alternatively, you may set the environment variables EPIPHANY_DEPENDENCY_CFLAGS
13329 and EPIPHANY_DEPENDENCY_LIBS to avoid the need to call pkg-config.
13330 See the pkg-config man page for more details.
13332 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13333 See \`config.log' for more details." "$LINENO" 5; }
13334 else
13335         EPIPHANY_DEPENDENCY_CFLAGS=$pkg_cv_EPIPHANY_DEPENDENCY_CFLAGS
13336         EPIPHANY_DEPENDENCY_LIBS=$pkg_cv_EPIPHANY_DEPENDENCY_LIBS
13337         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13338 $as_echo "yes" >&6; }
13339         :
13344 if test "x$EPHY_VER" = "x1.2"; then
13345 EPIPHANY_EXTENSIONS_DIR="`$PKG_CONFIG --variable=libdir epiphany-1.2`/epiphany/extensions"
13346 else
13347 EPIPHANY_EXTENSIONS_DIR="`$PKG_CONFIG --variable=extensionsdir epiphany-$EPHY_VER`"
13351 else
13352         enable_epiphany_extension=no
13354  if test "x$enable_epiphany_extension" = "xyes"; then
13355   ENABLE_EPIPHANY_EXTENSION_TRUE=
13356   ENABLE_EPIPHANY_EXTENSION_FALSE='#'
13357 else
13358   ENABLE_EPIPHANY_EXTENSION_TRUE='#'
13359   ENABLE_EPIPHANY_EXTENSION_FALSE=
13365 # Check for libnotify
13367 LIBNOTIFY_REQUIRED=0.2.2
13368 @%:@ Check whether --enable-libnotify was given.
13369 if test "${enable_libnotify+set}" = set; then :
13370   enableval=$enable_libnotify; 
13371 else
13372   enable_libnotify=auto
13375 if test "x$enable_libnotify" != "xno"; then
13376         
13377 pkg_failed=no
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NOTIFY" >&5
13379 $as_echo_n "checking for NOTIFY... " >&6; }
13381 if test -n "$PKG_CONFIG"; then
13382     if test -n "$NOTIFY_CFLAGS"; then
13383         pkg_cv_NOTIFY_CFLAGS="$NOTIFY_CFLAGS"
13384     else
13385         if test -n "$PKG_CONFIG" && \
13386     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13387                           libnotify >= \$LIBNOTIFY_REQUIRED\""; } >&5
13388   ($PKG_CONFIG --exists --print-errors "\
13389                           libnotify >= $LIBNOTIFY_REQUIRED") 2>&5
13390   ac_status=$?
13391   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13392   test $ac_status = 0; }; then
13393   pkg_cv_NOTIFY_CFLAGS=`$PKG_CONFIG --cflags "\
13394                           libnotify >= $LIBNOTIFY_REQUIRED" 2>/dev/null`
13395 else
13396   pkg_failed=yes
13398     fi
13399 else
13400         pkg_failed=untried
13402 if test -n "$PKG_CONFIG"; then
13403     if test -n "$NOTIFY_LIBS"; then
13404         pkg_cv_NOTIFY_LIBS="$NOTIFY_LIBS"
13405     else
13406         if test -n "$PKG_CONFIG" && \
13407     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13408                           libnotify >= \$LIBNOTIFY_REQUIRED\""; } >&5
13409   ($PKG_CONFIG --exists --print-errors "\
13410                           libnotify >= $LIBNOTIFY_REQUIRED") 2>&5
13411   ac_status=$?
13412   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13413   test $ac_status = 0; }; then
13414   pkg_cv_NOTIFY_LIBS=`$PKG_CONFIG --libs "\
13415                           libnotify >= $LIBNOTIFY_REQUIRED" 2>/dev/null`
13416 else
13417   pkg_failed=yes
13419     fi
13420 else
13421         pkg_failed=untried
13426 if test $pkg_failed = yes; then
13427         
13428 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13429         _pkg_short_errors_supported=yes
13430 else
13431         _pkg_short_errors_supported=no
13433         if test $_pkg_short_errors_supported = yes; then
13434                 NOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "\
13435                           libnotify >= $LIBNOTIFY_REQUIRED"`
13436         else 
13437                 NOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "\
13438                           libnotify >= $LIBNOTIFY_REQUIRED"`
13439         fi
13440         # Put the nasty error message in config.log where it belongs
13441         echo "$NOTIFY_PKG_ERRORS" >&5
13443         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13444 $as_echo "no" >&6; }
13445                 have_libnotify=no
13446 elif test $pkg_failed = untried; then
13447         have_libnotify=no
13448 else
13449         NOTIFY_CFLAGS=$pkg_cv_NOTIFY_CFLAGS
13450         NOTIFY_LIBS=$pkg_cv_NOTIFY_LIBS
13451         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13452 $as_echo "yes" >&6; }
13453         have_libnotify=yes
13455         if test "x$have_libnotify" = "xno" -a "x$enable_libnotify" = "xyes"; then
13456           as_fn_error "libnotify support explicitly requested, but libnotify couldn't be found" "$LINENO" 5
13457         fi
13458         if test "x$have_libnotify" = "xyes"; then
13459              enable_libnotify=yes
13460         fi
13462  if test x"$enable_libnotify" = xyes; then
13463   USE_NOTIFY_TRUE=
13464   USE_NOTIFY_FALSE='#'
13465 else
13466   USE_NOTIFY_TRUE='#'
13467   USE_NOTIFY_FALSE=
13470 if test x$enable_libnotify = xyes ; then
13471     # Find out the version of LIBNOTIFY we're using
13472     libnotify_version=`pkg-config --modversion libnotify`
13473     LIBNOTIFY_VERSION_MAJOR=`echo $libnotify_version | awk -F. '{print $1}'`
13474     LIBNOTIFY_VERSION_MINOR=`echo $libnotify_version | awk -F. '{print $2}'`
13475     LIBNOTIFY_VERSION_MICRO=`echo $libnotify_version | awk -F. '{print $3}'`
13476     if test "z$LIBNOTIFY_VERSION_MAJOR" = "z"; then
13477         LIBNOTIFY_VERSION_MAJOR="0"
13478     fi
13479     if test "z$LIBNOTIFY_VERSION_MINOR" = "z"; then
13480         LIBNOTIFY_VERSION_MINOR="0"
13481     fi
13482     if test "z$LIBNOTIFY_VERSION_MICRO" = "z"; then
13483         LIBNOTIFY_VERSION_MICRO="0"
13484     fi
13485     echo "Your libnotify version is $LIBNOTIFY_VERSION_MAJOR,$LIBNOTIFY_VERSION_MINOR,$LIBNOTIFY_VERSION_MICRO."
13486     NOTIFY_CFLAGS="$NOTIFY_CFLAGS -DLIBNOTIFY_VERSION_MAJOR=$LIBNOTIFY_VERSION_MAJOR"
13487     NOTIFY_CFLAGS="$NOTIFY_CFLAGS -DLIBNOTIFY_VERSION_MINOR=$LIBNOTIFY_VERSION_MINOR"
13488     NOTIFY_CFLAGS="$NOTIFY_CFLAGS -DLIBNOTIFY_VERSION_MICRO=$LIBNOTIFY_VERSION_MICRO"
13490     
13491 $as_echo "@%:@define HAVE_NOTIFY 1" >>confdefs.h
13493     
13494     
13499  if test "x$enable_dbus" = "xyes"; then
13500   ENABLE_DBUS_TRUE=
13501   ENABLE_DBUS_FALSE='#'
13502 else
13503   ENABLE_DBUS_TRUE='#'
13504   ENABLE_DBUS_FALSE=
13507  if test "x$DBUS_VERSION" = "x33"; then
13508   DBUS_TOOL_NO_PREFIX_TRUE=
13509   DBUS_TOOL_NO_PREFIX_FALSE='#'
13510 else
13511   DBUS_TOOL_NO_PREFIX_TRUE='#'
13512   DBUS_TOOL_NO_PREFIX_FALSE=
13517 @%:@ Check whether --with-extension-prefix was given.
13518 if test "${with_extension_prefix+set}" = set; then :
13519   withval=$with_extension_prefix; extension_prefix=$withval
13520 else
13521   extension_prefix=/
13525 EXTENSION_PREFIX="$extension_prefix"
13528 # Extract the first word of "glib-genmarshal", so it can be a program name with args.
13529 set dummy glib-genmarshal; ac_word=$2
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13531 $as_echo_n "checking for $ac_word... " >&6; }
13532 if test "${ac_cv_path_GLIB_GENMARSHAL+set}" = set; then :
13533   $as_echo_n "(cached) " >&6
13534 else
13535   case $GLIB_GENMARSHAL in
13536   [\\/]* | ?:[\\/]*)
13537   ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
13538   ;;
13539   *)
13540   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13541 for as_dir in $PATH
13543   IFS=$as_save_IFS
13544   test -z "$as_dir" && as_dir=.
13545     for ac_exec_ext in '' $ac_executable_extensions; do
13546   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13547     ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
13548     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13549     break 2
13550   fi
13551 done
13552   done
13553 IFS=$as_save_IFS
13555   ;;
13556 esac
13558 GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
13559 if test -n "$GLIB_GENMARSHAL"; then
13560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
13561 $as_echo "$GLIB_GENMARSHAL" >&6; }
13562 else
13563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13564 $as_echo "no" >&6; }
13569 ORBIT_IDL="`$PKG_CONFIG --variable=orbit_idl ORBit-2.0`"
13571                                                                                                                                                               
13572 ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile pixmaps/Makefile data/Makefile epiphany-extension/Makefile"
13574 cat >confcache <<\_ACEOF
13575 # This file is a shell script that caches the results of configure
13576 # tests run on this system so they can be shared between configure
13577 # scripts and configure runs, see configure's option --config-cache.
13578 # It is not useful on other systems.  If it contains results you don't
13579 # want to keep, you may remove or edit it.
13581 # config.status only pays attention to the cache file if you give it
13582 # the --recheck option to rerun configure.
13584 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13585 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13586 # following values.
13588 _ACEOF
13590 # The following way of writing the cache mishandles newlines in values,
13591 # but we know of no workaround that is simple, portable, and efficient.
13592 # So, we kill variables containing newlines.
13593 # Ultrix sh set writes to stderr and can't be redirected directly,
13594 # and sets the high bit in the cache file unless we assign to the vars.
13596   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13597     eval ac_val=\$$ac_var
13598     case $ac_val in #(
13599     *${as_nl}*)
13600       case $ac_var in #(
13601       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13602 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13603       esac
13604       case $ac_var in #(
13605       _ | IFS | as_nl) ;; #(
13606       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13607       *) { eval $ac_var=; unset $ac_var;} ;;
13608       esac ;;
13609     esac
13610   done
13612   (set) 2>&1 |
13613     case $as_nl`(ac_space=' '; set) 2>&1` in #(
13614     *${as_nl}ac_space=\ *)
13615       # `set' does not quote correctly, so add quotes: double-quote
13616       # substitution turns \\\\ into \\, and sed turns \\ into \.
13617       sed -n \
13618         "s/'/'\\\\''/g;
13619           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13620       ;; #(
13621     *)
13622       # `set' quotes correctly as required by POSIX, so do not add quotes.
13623       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13624       ;;
13625     esac |
13626     sort
13627 ) |
13628   sed '
13629      /^ac_cv_env_/b end
13630      t clear
13631      :clear
13632      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13633      t end
13634      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13635      :end' >>confcache
13636 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13637   if test -w "$cache_file"; then
13638     test "x$cache_file" != "x/dev/null" &&
13639       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13640 $as_echo "$as_me: updating cache $cache_file" >&6;}
13641     cat confcache >$cache_file
13642   else
13643     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13644 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13645   fi
13647 rm -f confcache
13649 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13650 # Let make expand exec_prefix.
13651 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13653 DEFS=-DHAVE_CONFIG_H
13655 ac_libobjs=
13656 ac_ltlibobjs=
13657 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
13658   # 1. Remove the extension, and $U if already installed.
13659   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13660   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13661   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13662   #    will be set to the directory where LIBOBJS objects are built.
13663   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13664   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13665 done
13666 LIB@&t@OBJS=$ac_libobjs
13668 LTLIBOBJS=$ac_ltlibobjs
13671  if test -n "$EXEEXT"; then
13672   am__EXEEXT_TRUE=
13673   am__EXEEXT_FALSE='#'
13674 else
13675   am__EXEEXT_TRUE='#'
13676   am__EXEEXT_FALSE=
13679 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13680   as_fn_error "conditional \"AMDEP\" was never defined.
13681 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13683 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13684   as_fn_error "conditional \"am__fastdepCC\" was never defined.
13685 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13688   ac_config_commands="$ac_config_commands po/stamp-it"
13691 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13692   as_fn_error "conditional \"am__fastdepCC\" was never defined.
13693 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13695 if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
13696   as_fn_error "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
13697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13699 if test -z "${ENABLE_EPIPHANY_EXTENSION_TRUE}" && test -z "${ENABLE_EPIPHANY_EXTENSION_FALSE}"; then
13700   as_fn_error "conditional \"ENABLE_EPIPHANY_EXTENSION\" was never defined.
13701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13703 if test -z "${USE_NOTIFY_TRUE}" && test -z "${USE_NOTIFY_FALSE}"; then
13704   as_fn_error "conditional \"USE_NOTIFY\" was never defined.
13705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13707 if test -z "${ENABLE_DBUS_TRUE}" && test -z "${ENABLE_DBUS_FALSE}"; then
13708   as_fn_error "conditional \"ENABLE_DBUS\" was never defined.
13709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13711 if test -z "${DBUS_TOOL_NO_PREFIX_TRUE}" && test -z "${DBUS_TOOL_NO_PREFIX_FALSE}"; then
13712   as_fn_error "conditional \"DBUS_TOOL_NO_PREFIX\" was never defined.
13713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13716 : ${CONFIG_STATUS=./config.status}
13717 ac_write_fail=0
13718 ac_clean_files_save=$ac_clean_files
13719 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13721 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13722 as_write_fail=0
13723 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13724 #! $SHELL
13725 # Generated by $as_me.
13726 # Run this file to recreate the current configuration.
13727 # Compiler output produced by configure, useful for debugging
13728 # configure, is in config.log if it exists.
13730 debug=false
13731 ac_cs_recheck=false
13732 ac_cs_silent=false
13734 SHELL=\${CONFIG_SHELL-$SHELL}
13735 export SHELL
13736 _ASEOF
13737 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13738 ## -------------------- ##
13739 ## M4sh Initialization. ##
13740 ## -------------------- ##
13742 # Be more Bourne compatible
13743 DUALCASE=1; export DUALCASE # for MKS sh
13744 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13745   emulate sh
13746   NULLCMD=:
13747   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13748   # is contrary to our usage.  Disable this feature.
13749   alias -g '${1+"$@"}'='"$@"'
13750   setopt NO_GLOB_SUBST
13751 else
13752   case `(set -o) 2>/dev/null` in @%:@(
13753   *posix*) :
13754     set -o posix ;; @%:@(
13755   *) :
13756      ;;
13757 esac
13761 as_nl='
13763 export as_nl
13764 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13765 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13766 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13767 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13768 # Prefer a ksh shell builtin over an external printf program on Solaris,
13769 # but without wasting forks for bash or zsh.
13770 if test -z "$BASH_VERSION$ZSH_VERSION" \
13771     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13772   as_echo='print -r --'
13773   as_echo_n='print -rn --'
13774 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13775   as_echo='printf %s\n'
13776   as_echo_n='printf %s'
13777 else
13778   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13779     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13780     as_echo_n='/usr/ucb/echo -n'
13781   else
13782     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13783     as_echo_n_body='eval
13784       arg=$1;
13785       case $arg in @%:@(
13786       *"$as_nl"*)
13787         expr "X$arg" : "X\\(.*\\)$as_nl";
13788         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13789       esac;
13790       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13791     '
13792     export as_echo_n_body
13793     as_echo_n='sh -c $as_echo_n_body as_echo'
13794   fi
13795   export as_echo_body
13796   as_echo='sh -c $as_echo_body as_echo'
13799 # The user is always right.
13800 if test "${PATH_SEPARATOR+set}" != set; then
13801   PATH_SEPARATOR=:
13802   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13803     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13804       PATH_SEPARATOR=';'
13805   }
13809 # IFS
13810 # We need space, tab and new line, in precisely that order.  Quoting is
13811 # there to prevent editors from complaining about space-tab.
13812 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13813 # splitting by setting IFS to empty value.)
13814 IFS=" ""        $as_nl"
13816 # Find who we are.  Look in the path if we contain no directory separator.
13817 case $0 in @%:@((
13818   *[\\/]* ) as_myself=$0 ;;
13819   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13820 for as_dir in $PATH
13822   IFS=$as_save_IFS
13823   test -z "$as_dir" && as_dir=.
13824     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13825   done
13826 IFS=$as_save_IFS
13828      ;;
13829 esac
13830 # We did not find ourselves, most probably we were run as `sh COMMAND'
13831 # in which case we are not to be found in the path.
13832 if test "x$as_myself" = x; then
13833   as_myself=$0
13835 if test ! -f "$as_myself"; then
13836   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13837   exit 1
13840 # Unset variables that we do not need and which cause bugs (e.g. in
13841 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13842 # suppresses any "Segmentation fault" message there.  '((' could
13843 # trigger a bug in pdksh 5.2.14.
13844 for as_var in BASH_ENV ENV MAIL MAILPATH
13845 do eval test x\${$as_var+set} = xset \
13846   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13847 done
13848 PS1='$ '
13849 PS2='> '
13850 PS4='+ '
13852 # NLS nuisances.
13853 LC_ALL=C
13854 export LC_ALL
13855 LANGUAGE=C
13856 export LANGUAGE
13858 # CDPATH.
13859 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13862 @%:@ as_fn_error ERROR [LINENO LOG_FD]
13863 @%:@ ---------------------------------
13864 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13865 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13866 @%:@ script with status @S|@?, using 1 if that was 0.
13867 as_fn_error ()
13869   as_status=$?; test $as_status -eq 0 && as_status=1
13870   if test "$3"; then
13871     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13872     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
13873   fi
13874   $as_echo "$as_me: error: $1" >&2
13875   as_fn_exit $as_status
13876 } @%:@ as_fn_error
13879 @%:@ as_fn_set_status STATUS
13880 @%:@ -----------------------
13881 @%:@ Set @S|@? to STATUS, without forking.
13882 as_fn_set_status ()
13884   return $1
13885 } @%:@ as_fn_set_status
13887 @%:@ as_fn_exit STATUS
13888 @%:@ -----------------
13889 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13890 as_fn_exit ()
13892   set +e
13893   as_fn_set_status $1
13894   exit $1
13895 } @%:@ as_fn_exit
13897 @%:@ as_fn_unset VAR
13898 @%:@ ---------------
13899 @%:@ Portably unset VAR.
13900 as_fn_unset ()
13902   { eval $1=; unset $1;}
13904 as_unset=as_fn_unset
13905 @%:@ as_fn_append VAR VALUE
13906 @%:@ ----------------------
13907 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
13908 @%:@ advantage of any shell optimizations that allow amortized linear growth over
13909 @%:@ repeated appends, instead of the typical quadratic growth present in naive
13910 @%:@ implementations.
13911 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13912   eval 'as_fn_append ()
13913   {
13914     eval $1+=\$2
13915   }'
13916 else
13917   as_fn_append ()
13918   {
13919     eval $1=\$$1\$2
13920   }
13921 fi # as_fn_append
13923 @%:@ as_fn_arith ARG...
13924 @%:@ ------------------
13925 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
13926 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
13927 @%:@ must be portable across @S|@(()) and expr.
13928 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13929   eval 'as_fn_arith ()
13930   {
13931     as_val=$(( $* ))
13932   }'
13933 else
13934   as_fn_arith ()
13935   {
13936     as_val=`expr "$@" || test $? -eq 1`
13937   }
13938 fi # as_fn_arith
13941 if expr a : '\(a\)' >/dev/null 2>&1 &&
13942    test "X`expr 00001 : '.*\(...\)'`" = X001; then
13943   as_expr=expr
13944 else
13945   as_expr=false
13948 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13949   as_basename=basename
13950 else
13951   as_basename=false
13954 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13955   as_dirname=dirname
13956 else
13957   as_dirname=false
13960 as_me=`$as_basename -- "$0" ||
13961 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13962          X"$0" : 'X\(//\)$' \| \
13963          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13964 $as_echo X/"$0" |
13965     sed '/^.*\/\([^/][^/]*\)\/*$/{
13966             s//\1/
13967             q
13968           }
13969           /^X\/\(\/\/\)$/{
13970             s//\1/
13971             q
13972           }
13973           /^X\/\(\/\).*/{
13974             s//\1/
13975             q
13976           }
13977           s/.*/./; q'`
13979 # Avoid depending upon Character Ranges.
13980 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13981 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13982 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13983 as_cr_digits='0123456789'
13984 as_cr_alnum=$as_cr_Letters$as_cr_digits
13986 ECHO_C= ECHO_N= ECHO_T=
13987 case `echo -n x` in @%:@(((((
13988 -n*)
13989   case `echo 'xy\c'` in
13990   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13991   xy)  ECHO_C='\c';;
13992   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13993        ECHO_T=' ';;
13994   esac;;
13996   ECHO_N='-n';;
13997 esac
13999 rm -f conf$$ conf$$.exe conf$$.file
14000 if test -d conf$$.dir; then
14001   rm -f conf$$.dir/conf$$.file
14002 else
14003   rm -f conf$$.dir
14004   mkdir conf$$.dir 2>/dev/null
14006 if (echo >conf$$.file) 2>/dev/null; then
14007   if ln -s conf$$.file conf$$ 2>/dev/null; then
14008     as_ln_s='ln -s'
14009     # ... but there are two gotchas:
14010     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14011     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14012     # In both cases, we have to default to `cp -p'.
14013     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14014       as_ln_s='cp -p'
14015   elif ln conf$$.file conf$$ 2>/dev/null; then
14016     as_ln_s=ln
14017   else
14018     as_ln_s='cp -p'
14019   fi
14020 else
14021   as_ln_s='cp -p'
14023 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14024 rmdir conf$$.dir 2>/dev/null
14027 @%:@ as_fn_mkdir_p
14028 @%:@ -------------
14029 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
14030 as_fn_mkdir_p ()
14033   case $as_dir in #(
14034   -*) as_dir=./$as_dir;;
14035   esac
14036   test -d "$as_dir" || eval $as_mkdir_p || {
14037     as_dirs=
14038     while :; do
14039       case $as_dir in #(
14040       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14041       *) as_qdir=$as_dir;;
14042       esac
14043       as_dirs="'$as_qdir' $as_dirs"
14044       as_dir=`$as_dirname -- "$as_dir" ||
14045 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14046          X"$as_dir" : 'X\(//\)[^/]' \| \
14047          X"$as_dir" : 'X\(//\)$' \| \
14048          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14049 $as_echo X"$as_dir" |
14050     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14051             s//\1/
14052             q
14053           }
14054           /^X\(\/\/\)[^/].*/{
14055             s//\1/
14056             q
14057           }
14058           /^X\(\/\/\)$/{
14059             s//\1/
14060             q
14061           }
14062           /^X\(\/\).*/{
14063             s//\1/
14064             q
14065           }
14066           s/.*/./; q'`
14067       test -d "$as_dir" && break
14068     done
14069     test -z "$as_dirs" || eval "mkdir $as_dirs"
14070   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
14073 } @%:@ as_fn_mkdir_p
14074 if mkdir -p . 2>/dev/null; then
14075   as_mkdir_p='mkdir -p "$as_dir"'
14076 else
14077   test -d ./-p && rmdir ./-p
14078   as_mkdir_p=false
14081 if test -x / >/dev/null 2>&1; then
14082   as_test_x='test -x'
14083 else
14084   if ls -dL / >/dev/null 2>&1; then
14085     as_ls_L_option=L
14086   else
14087     as_ls_L_option=
14088   fi
14089   as_test_x='
14090     eval sh -c '\''
14091       if test -d "$1"; then
14092         test -d "$1/.";
14093       else
14094         case $1 in @%:@(
14095         -*)set "./$1";;
14096         esac;
14097         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
14098         ???[sx]*):;;*)false;;esac;fi
14099     '\'' sh
14100   '
14102 as_executable_p=$as_test_x
14104 # Sed expression to map a string onto a valid CPP name.
14105 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14107 # Sed expression to map a string onto a valid variable name.
14108 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14111 exec 6>&1
14112 ## ----------------------------------- ##
14113 ## Main body of $CONFIG_STATUS script. ##
14114 ## ----------------------------------- ##
14115 _ASEOF
14116 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14118 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14119 # Save the log message, to keep $0 and so on meaningful, and to
14120 # report actual input values of CONFIG_FILES etc. instead of their
14121 # values after options handling.
14122 ac_log="
14123 This file was extended by $as_me, which was
14124 generated by GNU Autoconf 2.65.  Invocation command line was
14126   CONFIG_FILES    = $CONFIG_FILES
14127   CONFIG_HEADERS  = $CONFIG_HEADERS
14128   CONFIG_LINKS    = $CONFIG_LINKS
14129   CONFIG_COMMANDS = $CONFIG_COMMANDS
14130   $ $0 $@
14132 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14135 _ACEOF
14137 case $ac_config_files in *"
14138 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14139 esac
14141 case $ac_config_headers in *"
14142 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14143 esac
14146 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14147 # Files that config.status was made for.
14148 config_files="$ac_config_files"
14149 config_headers="$ac_config_headers"
14150 config_commands="$ac_config_commands"
14152 _ACEOF
14154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14155 ac_cs_usage="\
14156 \`$as_me' instantiates files and other configuration actions
14157 from templates according to the current configuration.  Unless the files
14158 and actions are specified as TAGs, all are instantiated by default.
14160 Usage: $0 [OPTION]... [TAG]...
14162   -h, --help       print this help, then exit
14163   -V, --version    print version number and configuration settings, then exit
14164       --config     print configuration, then exit
14165   -q, --quiet, --silent
14166                    do not print progress messages
14167   -d, --debug      don't remove temporary files
14168       --recheck    update $as_me by reconfiguring in the same conditions
14169       --file=FILE[:TEMPLATE] 
14170                    instantiate the configuration file FILE
14171       --header=FILE[:TEMPLATE] 
14172                    instantiate the configuration header FILE
14174 Configuration files:
14175 $config_files
14177 Configuration headers:
14178 $config_headers
14180 Configuration commands:
14181 $config_commands
14183 Report bugs to the package provider."
14185 _ACEOF
14186 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14187 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14188 ac_cs_version="\\
14189 config.status
14190 configured by $0, generated by GNU Autoconf 2.65,
14191   with options \\"\$ac_cs_config\\"
14193 Copyright (C) 2009 Free Software Foundation, Inc.
14194 This config.status script is free software; the Free Software Foundation
14195 gives unlimited permission to copy, distribute and modify it."
14197 ac_pwd='$ac_pwd'
14198 srcdir='$srcdir'
14199 INSTALL='$INSTALL'
14200 MKDIR_P='$MKDIR_P'
14201 AWK='$AWK'
14202 test -n "\$AWK" || AWK=awk
14203 _ACEOF
14205 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14206 # The default lists apply if the user does not specify any file.
14207 ac_need_defaults=:
14208 while test $# != 0
14210   case $1 in
14211   --*=*)
14212     ac_option=`expr "X$1" : 'X\([^=]*\)='`
14213     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14214     ac_shift=:
14215     ;;
14216   *)
14217     ac_option=$1
14218     ac_optarg=$2
14219     ac_shift=shift
14220     ;;
14221   esac
14223   case $ac_option in
14224   # Handling of the options.
14225   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14226     ac_cs_recheck=: ;;
14227   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14228     $as_echo "$ac_cs_version"; exit ;;
14229   --config | --confi | --conf | --con | --co | --c )
14230     $as_echo "$ac_cs_config"; exit ;;
14231   --debug | --debu | --deb | --de | --d | -d )
14232     debug=: ;;
14233   --file | --fil | --fi | --f )
14234     $ac_shift
14235     case $ac_optarg in
14236     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14237     esac
14238     as_fn_append CONFIG_FILES " '$ac_optarg'"
14239     ac_need_defaults=false;;
14240   --header | --heade | --head | --hea )
14241     $ac_shift
14242     case $ac_optarg in
14243     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14244     esac
14245     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14246     ac_need_defaults=false;;
14247   --he | --h)
14248     # Conflict between --help and --header
14249     as_fn_error "ambiguous option: \`$1'
14250 Try \`$0 --help' for more information.";;
14251   --help | --hel | -h )
14252     $as_echo "$ac_cs_usage"; exit ;;
14253   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14254   | -silent | --silent | --silen | --sile | --sil | --si | --s)
14255     ac_cs_silent=: ;;
14257   # This is an error.
14258   -*) as_fn_error "unrecognized option: \`$1'
14259 Try \`$0 --help' for more information." ;;
14261   *) as_fn_append ac_config_targets " $1"
14262      ac_need_defaults=false ;;
14264   esac
14265   shift
14266 done
14268 ac_configure_extra_args=
14270 if $ac_cs_silent; then
14271   exec 6>/dev/null
14272   ac_configure_extra_args="$ac_configure_extra_args --silent"
14275 _ACEOF
14276 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14277 if \$ac_cs_recheck; then
14278   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14279   shift
14280   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14281   CONFIG_SHELL='$SHELL'
14282   export CONFIG_SHELL
14283   exec "\$@"
14286 _ACEOF
14287 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14288 exec 5>>config.log
14290   echo
14291   sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
14292 @%:@@%:@ Running $as_me. @%:@@%:@
14293 _ASBOX
14294   $as_echo "$ac_log"
14295 } >&5
14297 _ACEOF
14298 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14300 # INIT-COMMANDS
14302 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14305 # The HP-UX ksh and POSIX shell print the target directory to stdout
14306 # if CDPATH is set.
14307 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14309 sed_quote_subst='$sed_quote_subst'
14310 double_quote_subst='$double_quote_subst'
14311 delay_variable_subst='$delay_variable_subst'
14312 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14313 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14314 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14315 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14316 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14317 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14318 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14319 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14320 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14321 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14322 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14323 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14324 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14325 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14326 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14327 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14328 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14329 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14330 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14331 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14332 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14333 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14334 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14335 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14336 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14337 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14338 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14339 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14340 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14341 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14342 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14343 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14344 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14345 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14346 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14347 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14348 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14349 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14350 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14351 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14352 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14353 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14354 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14355 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14356 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"`'
14357 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"`'
14358 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14359 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14360 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14361 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14362 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14363 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14364 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14365 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14366 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14367 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14368 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
14369 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
14370 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
14371 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14372 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
14373 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14374 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14375 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14376 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14377 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14378 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14379 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14380 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14381 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14382 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14383 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14384 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14385 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14386 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14387 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14388 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14389 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14390 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14391 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14392 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14393 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14394 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14395 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14396 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14397 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14398 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14399 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14400 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14401 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14402 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14403 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14404 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14405 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14406 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14407 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14408 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14409 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14410 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14411 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14412 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14413 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14414 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14415 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14416 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14417 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14418 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14419 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14420 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14421 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14422 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14423 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14424 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14425 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14426 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14427 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14428 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14429 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14431 LTCC='$LTCC'
14432 LTCFLAGS='$LTCFLAGS'
14433 compiler='$compiler_DEFAULT'
14435 # Quote evaled strings.
14436 for var in SED \
14437 GREP \
14438 EGREP \
14439 FGREP \
14440 LD \
14441 NM \
14442 LN_S \
14443 lt_SP2NL \
14444 lt_NL2SP \
14445 reload_flag \
14446 OBJDUMP \
14447 deplibs_check_method \
14448 file_magic_cmd \
14449 AR \
14450 AR_FLAGS \
14451 STRIP \
14452 RANLIB \
14453 CC \
14454 CFLAGS \
14455 compiler \
14456 lt_cv_sys_global_symbol_pipe \
14457 lt_cv_sys_global_symbol_to_cdecl \
14458 lt_cv_sys_global_symbol_to_c_name_address \
14459 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14460 SHELL \
14461 ECHO \
14462 lt_prog_compiler_no_builtin_flag \
14463 lt_prog_compiler_wl \
14464 lt_prog_compiler_pic \
14465 lt_prog_compiler_static \
14466 lt_cv_prog_compiler_c_o \
14467 need_locks \
14468 DSYMUTIL \
14469 NMEDIT \
14470 LIPO \
14471 OTOOL \
14472 OTOOL64 \
14473 shrext_cmds \
14474 export_dynamic_flag_spec \
14475 whole_archive_flag_spec \
14476 compiler_needs_object \
14477 with_gnu_ld \
14478 allow_undefined_flag \
14479 no_undefined_flag \
14480 hardcode_libdir_flag_spec \
14481 hardcode_libdir_flag_spec_ld \
14482 hardcode_libdir_separator \
14483 fix_srcfile_path \
14484 exclude_expsyms \
14485 include_expsyms \
14486 file_list_spec \
14487 variables_saved_for_relink \
14488 libname_spec \
14489 library_names_spec \
14490 soname_spec \
14491 finish_eval \
14492 old_striplib \
14493 striplib; do
14494     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14495     *[\\\\\\\`\\"\\\$]*)
14496       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14497       ;;
14498     *)
14499       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14500       ;;
14501     esac
14502 done
14504 # Double-quote double-evaled strings.
14505 for var in reload_cmds \
14506 old_postinstall_cmds \
14507 old_postuninstall_cmds \
14508 old_archive_cmds \
14509 extract_expsyms_cmds \
14510 old_archive_from_new_cmds \
14511 old_archive_from_expsyms_cmds \
14512 archive_cmds \
14513 archive_expsym_cmds \
14514 module_cmds \
14515 module_expsym_cmds \
14516 export_symbols_cmds \
14517 prelink_cmds \
14518 postinstall_cmds \
14519 postuninstall_cmds \
14520 finish_cmds \
14521 sys_lib_search_path_spec \
14522 sys_lib_dlsearch_path_spec; do
14523     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14524     *[\\\\\\\`\\"\\\$]*)
14525       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14526       ;;
14527     *)
14528       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14529       ;;
14530     esac
14531 done
14533 # Fix-up fallback echo if it was mangled by the above quoting rules.
14534 case \$lt_ECHO in
14535 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14536   ;;
14537 esac
14539 ac_aux_dir='$ac_aux_dir'
14540 xsi_shell='$xsi_shell'
14541 lt_shell_append='$lt_shell_append'
14543 # See if we are running on zsh, and set the options which allow our
14544 # commands through without removal of \ escapes INIT.
14545 if test -n "\${ZSH_VERSION+set}" ; then
14546    setopt NO_GLOB_SUBST
14550     PACKAGE='$PACKAGE'
14551     VERSION='$VERSION'
14552     TIMESTAMP='$TIMESTAMP'
14553     RM='$RM'
14554     ofile='$ofile'
14560 _ACEOF
14562 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14564 # Handling of arguments.
14565 for ac_config_target in $ac_config_targets
14567   case $ac_config_target in
14568     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14569     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14570     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14571     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
14572     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14573     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
14574     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14575     "pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Makefile" ;;
14576     "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
14577     "epiphany-extension/Makefile") CONFIG_FILES="$CONFIG_FILES epiphany-extension/Makefile" ;;
14578     "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
14580   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14581   esac
14582 done
14585 # If the user did not use the arguments to specify the items to instantiate,
14586 # then the envvar interface is used.  Set only those that are not.
14587 # We use the long form for the default assignment because of an extremely
14588 # bizarre bug on SunOS 4.1.3.
14589 if $ac_need_defaults; then
14590   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14591   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14592   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14595 # Have a temporary directory for convenience.  Make it in the build tree
14596 # simply because there is no reason against having it here, and in addition,
14597 # creating and moving files from /tmp can sometimes cause problems.
14598 # Hook for its removal unless debugging.
14599 # Note that there is a small window in which the directory will not be cleaned:
14600 # after its creation but before its name has been assigned to `$tmp'.
14601 $debug ||
14603   tmp=
14604   trap 'exit_status=$?
14605   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14606 ' 0
14607   trap 'as_fn_exit 1' 1 2 13 15
14609 # Create a (secure) tmp directory for tmp files.
14612   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14613   test -n "$tmp" && test -d "$tmp"
14614 }  ||
14616   tmp=./conf$$-$RANDOM
14617   (umask 077 && mkdir "$tmp")
14618 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
14620 # Set up the scripts for CONFIG_FILES section.
14621 # No need to generate them if there are no CONFIG_FILES.
14622 # This happens for instance with `./config.status config.h'.
14623 if test -n "$CONFIG_FILES"; then
14626 ac_cr=`echo X | tr X '\015'`
14627 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14628 # But we know of no other shell where ac_cr would be empty at this
14629 # point, so we can use a bashism as a fallback.
14630 if test "x$ac_cr" = x; then
14631   eval ac_cr=\$\'\\r\'
14633 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14634 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14635   ac_cs_awk_cr='\r'
14636 else
14637   ac_cs_awk_cr=$ac_cr
14640 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14641 _ACEOF
14645   echo "cat >conf$$subs.awk <<_ACEOF" &&
14646   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14647   echo "_ACEOF"
14648 } >conf$$subs.sh ||
14649   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14650 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14651 ac_delim='%!_!# '
14652 for ac_last_try in false false false false false :; do
14653   . ./conf$$subs.sh ||
14654     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14656   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14657   if test $ac_delim_n = $ac_delim_num; then
14658     break
14659   elif $ac_last_try; then
14660     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14661   else
14662     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14663   fi
14664 done
14665 rm -f conf$$subs.sh
14667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14668 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
14669 _ACEOF
14670 sed -n '
14672 s/^/S["/; s/!.*/"]=/
14675 s/^[^!]*!//
14676 :repl
14677 t repl
14678 s/'"$ac_delim"'$//
14679 t delim
14682 s/\(.\{148\}\)..*/\1/
14683 t more1
14684 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14687 b repl
14688 :more1
14689 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14692 s/.\{148\}//
14693 t nl
14694 :delim
14696 s/\(.\{148\}\)..*/\1/
14697 t more2
14698 s/["\\]/\\&/g; s/^/"/; s/$/"/
14701 :more2
14702 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14705 s/.\{148\}//
14706 t delim
14707 ' <conf$$subs.awk | sed '
14708 /^[^""]/{
14709   N
14710   s/\n//
14712 ' >>$CONFIG_STATUS || ac_write_fail=1
14713 rm -f conf$$subs.awk
14714 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14715 _ACAWK
14716 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
14717   for (key in S) S_is_set[key] = 1
14718   FS = "\a"
14722   line = $ 0
14723   nfields = split(line, field, "@")
14724   substed = 0
14725   len = length(field[1])
14726   for (i = 2; i < nfields; i++) {
14727     key = field[i]
14728     keylen = length(key)
14729     if (S_is_set[key]) {
14730       value = S[key]
14731       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14732       len += length(value) + length(field[++i])
14733       substed = 1
14734     } else
14735       len += 1 + keylen
14736   }
14738   print line
14741 _ACAWK
14742 _ACEOF
14743 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14744 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14745   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14746 else
14747   cat
14748 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14749   || as_fn_error "could not setup config files machinery" "$LINENO" 5
14750 _ACEOF
14752 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14753 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14754 # trailing colons and then remove the whole line if VPATH becomes empty
14755 # (actually we leave an empty line to preserve line numbers).
14756 if test "x$srcdir" = x.; then
14757   ac_vpsub='/^[  ]*VPATH[        ]*=/{
14758 s/:*\$(srcdir):*/:/
14759 s/:*\${srcdir}:*/:/
14760 s/:*@srcdir@:*/:/
14761 s/^\([^=]*=[     ]*\):*/\1/
14762 s/:*$//
14763 s/^[^=]*=[       ]*$//
14767 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14768 fi # test -n "$CONFIG_FILES"
14770 # Set up the scripts for CONFIG_HEADERS section.
14771 # No need to generate them if there are no CONFIG_HEADERS.
14772 # This happens for instance with `./config.status Makefile'.
14773 if test -n "$CONFIG_HEADERS"; then
14774 cat >"$tmp/defines.awk" <<\_ACAWK ||
14775 BEGIN {
14776 _ACEOF
14778 # Transform confdefs.h into an awk script `defines.awk', embedded as
14779 # here-document in config.status, that substitutes the proper values into
14780 # config.h.in to produce config.h.
14782 # Create a delimiter string that does not exist in confdefs.h, to ease
14783 # handling of long lines.
14784 ac_delim='%!_!# '
14785 for ac_last_try in false false :; do
14786   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
14787   if test -z "$ac_t"; then
14788     break
14789   elif $ac_last_try; then
14790     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
14791   else
14792     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14793   fi
14794 done
14796 # For the awk script, D is an array of macro values keyed by name,
14797 # likewise P contains macro parameters if any.  Preserve backslash
14798 # newline sequences.
14800 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14801 sed -n '
14802 s/.\{148\}/&'"$ac_delim"'/g
14803 t rset
14804 :rset
14805 s/^[     ]*#[    ]*define[       ][      ]*/ /
14806 t def
14808 :def
14809 s/\\$//
14810 t bsnl
14811 s/["\\]/\\&/g
14812 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14813 D["\1"]=" \3"/p
14814 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
14816 :bsnl
14817 s/["\\]/\\&/g
14818 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14819 D["\1"]=" \3\\\\\\n"\\/p
14820 t cont
14821 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14822 t cont
14824 :cont
14826 s/.\{148\}/&'"$ac_delim"'/g
14827 t clear
14828 :clear
14829 s/\\$//
14830 t bsnlc
14831 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14833 :bsnlc
14834 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14835 b cont
14836 ' <confdefs.h | sed '
14837 s/'"$ac_delim"'/"\\\
14838 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14840 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14841   for (key in D) D_is_set[key] = 1
14842   FS = "\a"
14844 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14845   line = \$ 0
14846   split(line, arg, " ")
14847   if (arg[1] == "#") {
14848     defundef = arg[2]
14849     mac1 = arg[3]
14850   } else {
14851     defundef = substr(arg[1], 2)
14852     mac1 = arg[2]
14853   }
14854   split(mac1, mac2, "(") #)
14855   macro = mac2[1]
14856   prefix = substr(line, 1, index(line, defundef) - 1)
14857   if (D_is_set[macro]) {
14858     # Preserve the white space surrounding the "#".
14859     print prefix "define", macro P[macro] D[macro]
14860     next
14861   } else {
14862     # Replace #undef with comments.  This is necessary, for example,
14863     # in the case of _POSIX_SOURCE, which is predefined and required
14864     # on some systems where configure will not decide to define it.
14865     if (defundef == "undef") {
14866       print "/*", prefix defundef, macro, "*/"
14867       next
14868     }
14869   }
14871 { print }
14872 _ACAWK
14873 _ACEOF
14874 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14875   as_fn_error "could not setup config headers machinery" "$LINENO" 5
14876 fi # test -n "$CONFIG_HEADERS"
14879 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14880 shift
14881 for ac_tag
14883   case $ac_tag in
14884   :[FHLC]) ac_mode=$ac_tag; continue;;
14885   esac
14886   case $ac_mode$ac_tag in
14887   :[FHL]*:*);;
14888   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
14889   :[FH]-) ac_tag=-:-;;
14890   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14891   esac
14892   ac_save_IFS=$IFS
14893   IFS=:
14894   set x $ac_tag
14895   IFS=$ac_save_IFS
14896   shift
14897   ac_file=$1
14898   shift
14900   case $ac_mode in
14901   :L) ac_source=$1;;
14902   :[FH])
14903     ac_file_inputs=
14904     for ac_f
14905     do
14906       case $ac_f in
14907       -) ac_f="$tmp/stdin";;
14908       *) # Look for the file first in the build tree, then in the source tree
14909          # (if the path is not absolute).  The absolute path cannot be DOS-style,
14910          # because $ac_f cannot contain `:'.
14911          test -f "$ac_f" ||
14912            case $ac_f in
14913            [\\/$]*) false;;
14914            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14915            esac ||
14916            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14917       esac
14918       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14919       as_fn_append ac_file_inputs " '$ac_f'"
14920     done
14922     # Let's still pretend it is `configure' which instantiates (i.e., don't
14923     # use $as_me), people would be surprised to read:
14924     #    /* config.h.  Generated by config.status.  */
14925     configure_input='Generated from '`
14926           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14927         `' by configure.'
14928     if test x"$ac_file" != x-; then
14929       configure_input="$ac_file.  $configure_input"
14930       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14931 $as_echo "$as_me: creating $ac_file" >&6;}
14932     fi
14933     # Neutralize special characters interpreted by sed in replacement strings.
14934     case $configure_input in #(
14935     *\&* | *\|* | *\\* )
14936        ac_sed_conf_input=`$as_echo "$configure_input" |
14937        sed 's/[\\\\&|]/\\\\&/g'`;; #(
14938     *) ac_sed_conf_input=$configure_input;;
14939     esac
14941     case $ac_tag in
14942     *:-:* | *:-) cat >"$tmp/stdin" \
14943       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
14944     esac
14945     ;;
14946   esac
14948   ac_dir=`$as_dirname -- "$ac_file" ||
14949 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14950          X"$ac_file" : 'X\(//\)[^/]' \| \
14951          X"$ac_file" : 'X\(//\)$' \| \
14952          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14953 $as_echo X"$ac_file" |
14954     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14955             s//\1/
14956             q
14957           }
14958           /^X\(\/\/\)[^/].*/{
14959             s//\1/
14960             q
14961           }
14962           /^X\(\/\/\)$/{
14963             s//\1/
14964             q
14965           }
14966           /^X\(\/\).*/{
14967             s//\1/
14968             q
14969           }
14970           s/.*/./; q'`
14971   as_dir="$ac_dir"; as_fn_mkdir_p
14972   ac_builddir=.
14974 case "$ac_dir" in
14975 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14977   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14978   # A ".." for each directory in $ac_dir_suffix.
14979   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14980   case $ac_top_builddir_sub in
14981   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14982   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14983   esac ;;
14984 esac
14985 ac_abs_top_builddir=$ac_pwd
14986 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14987 # for backward compatibility:
14988 ac_top_builddir=$ac_top_build_prefix
14990 case $srcdir in
14991   .)  # We are building in place.
14992     ac_srcdir=.
14993     ac_top_srcdir=$ac_top_builddir_sub
14994     ac_abs_top_srcdir=$ac_pwd ;;
14995   [\\/]* | ?:[\\/]* )  # Absolute name.
14996     ac_srcdir=$srcdir$ac_dir_suffix;
14997     ac_top_srcdir=$srcdir
14998     ac_abs_top_srcdir=$srcdir ;;
14999   *) # Relative name.
15000     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15001     ac_top_srcdir=$ac_top_build_prefix$srcdir
15002     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15003 esac
15004 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15007   case $ac_mode in
15008   :F)
15009   #
15010   # CONFIG_FILE
15011   #
15013   case $INSTALL in
15014   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15015   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15016   esac
15017   ac_MKDIR_P=$MKDIR_P
15018   case $MKDIR_P in
15019   [\\/$]* | ?:[\\/]* ) ;;
15020   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15021   esac
15022 _ACEOF
15024 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15025 # If the template does not know about datarootdir, expand it.
15026 # FIXME: This hack should be removed a few years after 2.60.
15027 ac_datarootdir_hack=; ac_datarootdir_seen=
15028 ac_sed_dataroot='
15029 /datarootdir/ {
15030   p
15031   q
15033 /@datadir@/p
15034 /@docdir@/p
15035 /@infodir@/p
15036 /@localedir@/p
15037 /@mandir@/p'
15038 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15039 *datarootdir*) ac_datarootdir_seen=yes;;
15040 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15041   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15042 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15043 _ACEOF
15044 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15045   ac_datarootdir_hack='
15046   s&@datadir@&$datadir&g
15047   s&@docdir@&$docdir&g
15048   s&@infodir@&$infodir&g
15049   s&@localedir@&$localedir&g
15050   s&@mandir@&$mandir&g
15051   s&\\\${datarootdir}&$datarootdir&g' ;;
15052 esac
15053 _ACEOF
15055 # Neutralize VPATH when `$srcdir' = `.'.
15056 # Shell code in configure.ac might set extrasub.
15057 # FIXME: do we really want to maintain this feature?
15058 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15059 ac_sed_extra="$ac_vpsub
15060 $extrasub
15061 _ACEOF
15062 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15064 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15065 s|@configure_input@|$ac_sed_conf_input|;t t
15066 s&@top_builddir@&$ac_top_builddir_sub&;t t
15067 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15068 s&@srcdir@&$ac_srcdir&;t t
15069 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15070 s&@top_srcdir@&$ac_top_srcdir&;t t
15071 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15072 s&@builddir@&$ac_builddir&;t t
15073 s&@abs_builddir@&$ac_abs_builddir&;t t
15074 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15075 s&@INSTALL@&$ac_INSTALL&;t t
15076 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15077 $ac_datarootdir_hack
15079 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
15080   || as_fn_error "could not create $ac_file" "$LINENO" 5
15082 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15083   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15084   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15085   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15086 which seems to be undefined.  Please make sure it is defined." >&5
15087 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15088 which seems to be undefined.  Please make sure it is defined." >&2;}
15090   rm -f "$tmp/stdin"
15091   case $ac_file in
15092   -) cat "$tmp/out" && rm -f "$tmp/out";;
15093   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15094   esac \
15095   || as_fn_error "could not create $ac_file" "$LINENO" 5
15096  ;;
15097   :H)
15098   #
15099   # CONFIG_HEADER
15100   #
15101   if test x"$ac_file" != x-; then
15102     {
15103       $as_echo "/* $configure_input  */" \
15104       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15105     } >"$tmp/config.h" \
15106       || as_fn_error "could not create $ac_file" "$LINENO" 5
15107     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15108       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15109 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15110     else
15111       rm -f "$ac_file"
15112       mv "$tmp/config.h" "$ac_file" \
15113         || as_fn_error "could not create $ac_file" "$LINENO" 5
15114     fi
15115   else
15116     $as_echo "/* $configure_input  */" \
15117       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15118       || as_fn_error "could not create -" "$LINENO" 5
15119   fi
15120 # Compute "$ac_file"'s index in $config_headers.
15121 _am_arg="$ac_file"
15122 _am_stamp_count=1
15123 for _am_header in $config_headers :; do
15124   case $_am_header in
15125     $_am_arg | $_am_arg:* )
15126       break ;;
15127     * )
15128       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15129   esac
15130 done
15131 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15132 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15133          X"$_am_arg" : 'X\(//\)[^/]' \| \
15134          X"$_am_arg" : 'X\(//\)$' \| \
15135          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15136 $as_echo X"$_am_arg" |
15137     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15138             s//\1/
15139             q
15140           }
15141           /^X\(\/\/\)[^/].*/{
15142             s//\1/
15143             q
15144           }
15145           /^X\(\/\/\)$/{
15146             s//\1/
15147             q
15148           }
15149           /^X\(\/\).*/{
15150             s//\1/
15151             q
15152           }
15153           s/.*/./; q'`/stamp-h$_am_stamp_count
15154  ;;
15155   
15156   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15157 $as_echo "$as_me: executing $ac_file commands" >&6;}
15158  ;;
15159   esac
15162   case $ac_file$ac_mode in
15163     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15164   # Autoconf 2.62 quotes --file arguments for eval, but not when files
15165   # are listed without --file.  Let's play safe and only enable the eval
15166   # if we detect the quoting.
15167   case $CONFIG_FILES in
15168   *\'*) eval set x "$CONFIG_FILES" ;;
15169   *)   set x $CONFIG_FILES ;;
15170   esac
15171   shift
15172   for mf
15173   do
15174     # Strip MF so we end up with the name of the file.
15175     mf=`echo "$mf" | sed -e 's/:.*$//'`
15176     # Check whether this is an Automake generated Makefile or not.
15177     # We used to match only the files named `Makefile.in', but
15178     # some people rename them; so instead we look at the file content.
15179     # Grep'ing the first line is not enough: some people post-process
15180     # each Makefile.in and add a new line on top of each file to say so.
15181     # Grep'ing the whole file is not good either: AIX grep has a line
15182     # limit of 2048, but all sed's we know have understand at least 4000.
15183     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15184       dirpart=`$as_dirname -- "$mf" ||
15185 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15186          X"$mf" : 'X\(//\)[^/]' \| \
15187          X"$mf" : 'X\(//\)$' \| \
15188          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15189 $as_echo X"$mf" |
15190     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15191             s//\1/
15192             q
15193           }
15194           /^X\(\/\/\)[^/].*/{
15195             s//\1/
15196             q
15197           }
15198           /^X\(\/\/\)$/{
15199             s//\1/
15200             q
15201           }
15202           /^X\(\/\).*/{
15203             s//\1/
15204             q
15205           }
15206           s/.*/./; q'`
15207     else
15208       continue
15209     fi
15210     # Extract the definition of DEPDIR, am__include, and am__quote
15211     # from the Makefile without running `make'.
15212     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15213     test -z "$DEPDIR" && continue
15214     am__include=`sed -n 's/^am__include = //p' < "$mf"`
15215     test -z "am__include" && continue
15216     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15217     # When using ansi2knr, U may be empty or an underscore; expand it
15218     U=`sed -n 's/^U = //p' < "$mf"`
15219     # Find all dependency output files, they are included files with
15220     # $(DEPDIR) in their names.  We invoke sed twice because it is the
15221     # simplest approach to changing $(DEPDIR) to its actual value in the
15222     # expansion.
15223     for file in `sed -n "
15224       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15225          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15226       # Make sure the directory exists.
15227       test -f "$dirpart/$file" && continue
15228       fdir=`$as_dirname -- "$file" ||
15229 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15230          X"$file" : 'X\(//\)[^/]' \| \
15231          X"$file" : 'X\(//\)$' \| \
15232          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15233 $as_echo X"$file" |
15234     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15235             s//\1/
15236             q
15237           }
15238           /^X\(\/\/\)[^/].*/{
15239             s//\1/
15240             q
15241           }
15242           /^X\(\/\/\)$/{
15243             s//\1/
15244             q
15245           }
15246           /^X\(\/\).*/{
15247             s//\1/
15248             q
15249           }
15250           s/.*/./; q'`
15251       as_dir=$dirpart/$fdir; as_fn_mkdir_p
15252       # echo "creating $dirpart/$file"
15253       echo '# dummy' > "$dirpart/$file"
15254     done
15255   done
15257  ;;
15258     "libtool":C) 
15259     
15260     # See if we are running on zsh, and set the options which allow our
15261     # commands through without removal of \ escapes.
15262     if test -n "${ZSH_VERSION+set}" ; then
15263       setopt NO_GLOB_SUBST
15264     fi
15266     cfgfile="${ofile}T"
15267     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15268     $RM "$cfgfile"
15270     cat <<_LT_EOF >> "$cfgfile"
15271 #! $SHELL
15273 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15274 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15275 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15276 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15278 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15279 #                 2006, 2007, 2008 Free Software Foundation, Inc.
15280 #   Written by Gordon Matzigkeit, 1996
15282 #   This file is part of GNU Libtool.
15284 # GNU Libtool is free software; you can redistribute it and/or
15285 # modify it under the terms of the GNU General Public License as
15286 # published by the Free Software Foundation; either version 2 of
15287 # the License, or (at your option) any later version.
15289 # As a special exception to the GNU General Public License,
15290 # if you distribute this file as part of a program or library that
15291 # is built using GNU Libtool, you may include this file under the
15292 # same distribution terms that you use for the rest of that program.
15294 # GNU Libtool is distributed in the hope that it will be useful,
15295 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15296 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15297 # GNU General Public License for more details.
15299 # You should have received a copy of the GNU General Public License
15300 # along with GNU Libtool; see the file COPYING.  If not, a copy
15301 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15302 # obtained by writing to the Free Software Foundation, Inc.,
15303 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15306 # The names of the tagged configurations supported by this script.
15307 available_tags=""
15309 # ### BEGIN LIBTOOL CONFIG
15311 # Which release of libtool.m4 was used?
15312 macro_version=$macro_version
15313 macro_revision=$macro_revision
15315 # Whether or not to build shared libraries.
15316 build_libtool_libs=$enable_shared
15318 # Whether or not to build static libraries.
15319 build_old_libs=$enable_static
15321 # What type of objects to build.
15322 pic_mode=$pic_mode
15324 # Whether or not to optimize for fast installation.
15325 fast_install=$enable_fast_install
15327 # The host system.
15328 host_alias=$host_alias
15329 host=$host
15330 host_os=$host_os
15332 # The build system.
15333 build_alias=$build_alias
15334 build=$build
15335 build_os=$build_os
15337 # A sed program that does not truncate output.
15338 SED=$lt_SED
15340 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15341 Xsed="\$SED -e 1s/^X//"
15343 # A grep program that handles long lines.
15344 GREP=$lt_GREP
15346 # An ERE matcher.
15347 EGREP=$lt_EGREP
15349 # A literal string matcher.
15350 FGREP=$lt_FGREP
15352 # A BSD- or MS-compatible name lister.
15353 NM=$lt_NM
15355 # Whether we need soft or hard links.
15356 LN_S=$lt_LN_S
15358 # What is the maximum length of a command?
15359 max_cmd_len=$max_cmd_len
15361 # Object file suffix (normally "o").
15362 objext=$ac_objext
15364 # Executable file suffix (normally "").
15365 exeext=$exeext
15367 # whether the shell understands "unset".
15368 lt_unset=$lt_unset
15370 # turn spaces into newlines.
15371 SP2NL=$lt_lt_SP2NL
15373 # turn newlines into spaces.
15374 NL2SP=$lt_lt_NL2SP
15376 # How to create reloadable object files.
15377 reload_flag=$lt_reload_flag
15378 reload_cmds=$lt_reload_cmds
15380 # An object symbol dumper.
15381 OBJDUMP=$lt_OBJDUMP
15383 # Method to check whether dependent libraries are shared objects.
15384 deplibs_check_method=$lt_deplibs_check_method
15386 # Command to use when deplibs_check_method == "file_magic".
15387 file_magic_cmd=$lt_file_magic_cmd
15389 # The archiver.
15390 AR=$lt_AR
15391 AR_FLAGS=$lt_AR_FLAGS
15393 # A symbol stripping program.
15394 STRIP=$lt_STRIP
15396 # Commands used to install an old-style archive.
15397 RANLIB=$lt_RANLIB
15398 old_postinstall_cmds=$lt_old_postinstall_cmds
15399 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15401 # A C compiler.
15402 LTCC=$lt_CC
15404 # LTCC compiler flags.
15405 LTCFLAGS=$lt_CFLAGS
15407 # Take the output of nm and produce a listing of raw symbols and C names.
15408 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15410 # Transform the output of nm in a proper C declaration.
15411 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15413 # Transform the output of nm in a C name address pair.
15414 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15416 # Transform the output of nm in a C name address pair when lib prefix is needed.
15417 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15419 # The name of the directory that contains temporary libtool files.
15420 objdir=$objdir
15422 # Shell to use when invoking shell scripts.
15423 SHELL=$lt_SHELL
15425 # An echo program that does not interpret backslashes.
15426 ECHO=$lt_ECHO
15428 # Used to examine libraries when file_magic_cmd begins with "file".
15429 MAGIC_CMD=$MAGIC_CMD
15431 # Must we lock files when doing compilation?
15432 need_locks=$lt_need_locks
15434 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15435 DSYMUTIL=$lt_DSYMUTIL
15437 # Tool to change global to local symbols on Mac OS X.
15438 NMEDIT=$lt_NMEDIT
15440 # Tool to manipulate fat objects and archives on Mac OS X.
15441 LIPO=$lt_LIPO
15443 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15444 OTOOL=$lt_OTOOL
15446 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15447 OTOOL64=$lt_OTOOL64
15449 # Old archive suffix (normally "a").
15450 libext=$libext
15452 # Shared library suffix (normally ".so").
15453 shrext_cmds=$lt_shrext_cmds
15455 # The commands to extract the exported symbol list from a shared archive.
15456 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15458 # Variables whose values should be saved in libtool wrapper scripts and
15459 # restored at link time.
15460 variables_saved_for_relink=$lt_variables_saved_for_relink
15462 # Do we need the "lib" prefix for modules?
15463 need_lib_prefix=$need_lib_prefix
15465 # Do we need a version for libraries?
15466 need_version=$need_version
15468 # Library versioning type.
15469 version_type=$version_type
15471 # Shared library runtime path variable.
15472 runpath_var=$runpath_var
15474 # Shared library path variable.
15475 shlibpath_var=$shlibpath_var
15477 # Is shlibpath searched before the hard-coded library search path?
15478 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15480 # Format of library name prefix.
15481 libname_spec=$lt_libname_spec
15483 # List of archive names.  First name is the real one, the rest are links.
15484 # The last name is the one that the linker finds with -lNAME
15485 library_names_spec=$lt_library_names_spec
15487 # The coded name of the library, if different from the real name.
15488 soname_spec=$lt_soname_spec
15490 # Command to use after installation of a shared archive.
15491 postinstall_cmds=$lt_postinstall_cmds
15493 # Command to use after uninstallation of a shared archive.
15494 postuninstall_cmds=$lt_postuninstall_cmds
15496 # Commands used to finish a libtool library installation in a directory.
15497 finish_cmds=$lt_finish_cmds
15499 # As "finish_cmds", except a single script fragment to be evaled but
15500 # not shown.
15501 finish_eval=$lt_finish_eval
15503 # Whether we should hardcode library paths into libraries.
15504 hardcode_into_libs=$hardcode_into_libs
15506 # Compile-time system search path for libraries.
15507 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15509 # Run-time system search path for libraries.
15510 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15512 # Whether dlopen is supported.
15513 dlopen_support=$enable_dlopen
15515 # Whether dlopen of programs is supported.
15516 dlopen_self=$enable_dlopen_self
15518 # Whether dlopen of statically linked programs is supported.
15519 dlopen_self_static=$enable_dlopen_self_static
15521 # Commands to strip libraries.
15522 old_striplib=$lt_old_striplib
15523 striplib=$lt_striplib
15526 # The linker used to build libraries.
15527 LD=$lt_LD
15529 # Commands used to build an old-style archive.
15530 old_archive_cmds=$lt_old_archive_cmds
15532 # A language specific compiler.
15533 CC=$lt_compiler
15535 # Is the compiler the GNU compiler?
15536 with_gcc=$GCC
15538 # Compiler flag to turn off builtin functions.
15539 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15541 # How to pass a linker flag through the compiler.
15542 wl=$lt_lt_prog_compiler_wl
15544 # Additional compiler flags for building library objects.
15545 pic_flag=$lt_lt_prog_compiler_pic
15547 # Compiler flag to prevent dynamic linking.
15548 link_static_flag=$lt_lt_prog_compiler_static
15550 # Does compiler simultaneously support -c and -o options?
15551 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15553 # Whether or not to add -lc for building shared libraries.
15554 build_libtool_need_lc=$archive_cmds_need_lc
15556 # Whether or not to disallow shared libs when runtime libs are static.
15557 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15559 # Compiler flag to allow reflexive dlopens.
15560 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15562 # Compiler flag to generate shared objects directly from archives.
15563 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15565 # Whether the compiler copes with passing no objects directly.
15566 compiler_needs_object=$lt_compiler_needs_object
15568 # Create an old-style archive from a shared archive.
15569 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15571 # Create a temporary old-style archive to link instead of a shared archive.
15572 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15574 # Commands used to build a shared archive.
15575 archive_cmds=$lt_archive_cmds
15576 archive_expsym_cmds=$lt_archive_expsym_cmds
15578 # Commands used to build a loadable module if different from building
15579 # a shared archive.
15580 module_cmds=$lt_module_cmds
15581 module_expsym_cmds=$lt_module_expsym_cmds
15583 # Whether we are building with GNU ld or not.
15584 with_gnu_ld=$lt_with_gnu_ld
15586 # Flag that allows shared libraries with undefined symbols to be built.
15587 allow_undefined_flag=$lt_allow_undefined_flag
15589 # Flag that enforces no undefined symbols.
15590 no_undefined_flag=$lt_no_undefined_flag
15592 # Flag to hardcode \$libdir into a binary during linking.
15593 # This must work even if \$libdir does not exist
15594 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15596 # If ld is used when linking, flag to hardcode \$libdir into a binary
15597 # during linking.  This must work even if \$libdir does not exist.
15598 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15600 # Whether we need a single "-rpath" flag with a separated argument.
15601 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15603 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15604 # DIR into the resulting binary.
15605 hardcode_direct=$hardcode_direct
15607 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15608 # DIR into the resulting binary and the resulting library dependency is
15609 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15610 # library is relocated.
15611 hardcode_direct_absolute=$hardcode_direct_absolute
15613 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15614 # into the resulting binary.
15615 hardcode_minus_L=$hardcode_minus_L
15617 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15618 # into the resulting binary.
15619 hardcode_shlibpath_var=$hardcode_shlibpath_var
15621 # Set to "yes" if building a shared library automatically hardcodes DIR
15622 # into the library and all subsequent libraries and executables linked
15623 # against it.
15624 hardcode_automatic=$hardcode_automatic
15626 # Set to yes if linker adds runtime paths of dependent libraries
15627 # to runtime path list.
15628 inherit_rpath=$inherit_rpath
15630 # Whether libtool must link a program against all its dependency libraries.
15631 link_all_deplibs=$link_all_deplibs
15633 # Fix the shell variable \$srcfile for the compiler.
15634 fix_srcfile_path=$lt_fix_srcfile_path
15636 # Set to "yes" if exported symbols are required.
15637 always_export_symbols=$always_export_symbols
15639 # The commands to list exported symbols.
15640 export_symbols_cmds=$lt_export_symbols_cmds
15642 # Symbols that should not be listed in the preloaded symbols.
15643 exclude_expsyms=$lt_exclude_expsyms
15645 # Symbols that must always be exported.
15646 include_expsyms=$lt_include_expsyms
15648 # Commands necessary for linking programs (against libraries) with templates.
15649 prelink_cmds=$lt_prelink_cmds
15651 # Specify filename containing input files.
15652 file_list_spec=$lt_file_list_spec
15654 # How to hardcode a shared library path into an executable.
15655 hardcode_action=$hardcode_action
15657 # ### END LIBTOOL CONFIG
15659 _LT_EOF
15661   case $host_os in
15662   aix3*)
15663     cat <<\_LT_EOF >> "$cfgfile"
15664 # AIX sometimes has problems with the GCC collect2 program.  For some
15665 # reason, if we set the COLLECT_NAMES environment variable, the problems
15666 # vanish in a puff of smoke.
15667 if test "X${COLLECT_NAMES+set}" != Xset; then
15668   COLLECT_NAMES=
15669   export COLLECT_NAMES
15671 _LT_EOF
15672     ;;
15673   esac
15675   
15676 ltmain="$ac_aux_dir/ltmain.sh"
15679   # We use sed instead of cat because bash on DJGPP gets confused if
15680   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15681   # text mode, it properly converts lines to CR/LF.  This bash problem
15682   # is reportedly fixed, but why not run on old versions too?
15683   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15684     || (rm -f "$cfgfile"; exit 1)
15686   case $xsi_shell in
15687   yes)
15688     cat << \_LT_EOF >> "$cfgfile"
15690 # func_dirname file append nondir_replacement
15691 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15692 # otherwise set result to NONDIR_REPLACEMENT.
15693 func_dirname ()
15695   case ${1} in
15696     */*) func_dirname_result="${1%/*}${2}" ;;
15697     *  ) func_dirname_result="${3}" ;;
15698   esac
15701 # func_basename file
15702 func_basename ()
15704   func_basename_result="${1##*/}"
15707 # func_dirname_and_basename file append nondir_replacement
15708 # perform func_basename and func_dirname in a single function
15709 # call:
15710 #   dirname:  Compute the dirname of FILE.  If nonempty,
15711 #             add APPEND to the result, otherwise set result
15712 #             to NONDIR_REPLACEMENT.
15713 #             value returned in "$func_dirname_result"
15714 #   basename: Compute filename of FILE.
15715 #             value retuned in "$func_basename_result"
15716 # Implementation must be kept synchronized with func_dirname
15717 # and func_basename. For efficiency, we do not delegate to
15718 # those functions but instead duplicate the functionality here.
15719 func_dirname_and_basename ()
15721   case ${1} in
15722     */*) func_dirname_result="${1%/*}${2}" ;;
15723     *  ) func_dirname_result="${3}" ;;
15724   esac
15725   func_basename_result="${1##*/}"
15728 # func_stripname prefix suffix name
15729 # strip PREFIX and SUFFIX off of NAME.
15730 # PREFIX and SUFFIX must not contain globbing or regex special
15731 # characters, hashes, percent signs, but SUFFIX may contain a leading
15732 # dot (in which case that matches only a dot).
15733 func_stripname ()
15735   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15736   # positional parameters, so assign one to ordinary parameter first.
15737   func_stripname_result=${3}
15738   func_stripname_result=${func_stripname_result#"${1}"}
15739   func_stripname_result=${func_stripname_result%"${2}"}
15742 # func_opt_split
15743 func_opt_split ()
15745   func_opt_split_opt=${1%%=*}
15746   func_opt_split_arg=${1#*=}
15749 # func_lo2o object
15750 func_lo2o ()
15752   case ${1} in
15753     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15754     *)    func_lo2o_result=${1} ;;
15755   esac
15758 # func_xform libobj-or-source
15759 func_xform ()
15761   func_xform_result=${1%.*}.lo
15764 # func_arith arithmetic-term...
15765 func_arith ()
15767   func_arith_result=$(( $* ))
15770 # func_len string
15771 # STRING may not start with a hyphen.
15772 func_len ()
15774   func_len_result=${#1}
15777 _LT_EOF
15778     ;;
15779   *) # Bourne compatible functions.
15780     cat << \_LT_EOF >> "$cfgfile"
15782 # func_dirname file append nondir_replacement
15783 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15784 # otherwise set result to NONDIR_REPLACEMENT.
15785 func_dirname ()
15787   # Extract subdirectory from the argument.
15788   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15789   if test "X$func_dirname_result" = "X${1}"; then
15790     func_dirname_result="${3}"
15791   else
15792     func_dirname_result="$func_dirname_result${2}"
15793   fi
15796 # func_basename file
15797 func_basename ()
15799   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15803 # func_stripname prefix suffix name
15804 # strip PREFIX and SUFFIX off of NAME.
15805 # PREFIX and SUFFIX must not contain globbing or regex special
15806 # characters, hashes, percent signs, but SUFFIX may contain a leading
15807 # dot (in which case that matches only a dot).
15808 # func_strip_suffix prefix name
15809 func_stripname ()
15811   case ${2} in
15812     .*) func_stripname_result=`$ECHO "X${3}" \
15813            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15814     *)  func_stripname_result=`$ECHO "X${3}" \
15815            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15816   esac
15819 # sed scripts:
15820 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15821 my_sed_long_arg='1s/^-[^=]*=//'
15823 # func_opt_split
15824 func_opt_split ()
15826   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15827   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15830 # func_lo2o object
15831 func_lo2o ()
15833   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15836 # func_xform libobj-or-source
15837 func_xform ()
15839   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15842 # func_arith arithmetic-term...
15843 func_arith ()
15845   func_arith_result=`expr "$@"`
15848 # func_len string
15849 # STRING may not start with a hyphen.
15850 func_len ()
15852   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15855 _LT_EOF
15856 esac
15858 case $lt_shell_append in
15859   yes)
15860     cat << \_LT_EOF >> "$cfgfile"
15862 # func_append var value
15863 # Append VALUE to the end of shell variable VAR.
15864 func_append ()
15866   eval "$1+=\$2"
15868 _LT_EOF
15869     ;;
15870   *)
15871     cat << \_LT_EOF >> "$cfgfile"
15873 # func_append var value
15874 # Append VALUE to the end of shell variable VAR.
15875 func_append ()
15877   eval "$1=\$$1\$2"
15880 _LT_EOF
15881     ;;
15882   esac
15885   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15886     || (rm -f "$cfgfile"; exit 1)
15888   mv -f "$cfgfile" "$ofile" ||
15889     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15890   chmod +x "$ofile"
15892  ;;
15893     "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
15894         sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
15895       esac ;;
15896     "po/stamp-it":C) 
15897     if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
15898        as_fn_error "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
15899     fi
15900     rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
15901     >"po/stamp-it.tmp"
15902     sed '/^#/d
15903          s/^[[].*] *//
15904          /^[    ]*$/d
15905         '"s|^|  $ac_top_srcdir/|" \
15906       "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
15907     
15908     sed '/^POTFILES =/,/[^\\]$/ {
15909                 /^POTFILES =/!d
15910                 r po/POTFILES
15911           }
15912          ' "po/Makefile.in" >"po/Makefile"
15913     rm -f "po/Makefile.tmp"
15914     mv "po/stamp-it.tmp" "po/stamp-it"
15915    ;;
15917   esac
15918 done # for ac_tag
15921 as_fn_exit 0
15922 _ACEOF
15923 ac_clean_files=$ac_clean_files_save
15925 test $ac_write_fail = 0 ||
15926   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15929 # configure is writing to config.log, and then calls config.status.
15930 # config.status does its own redirection, appending to config.log.
15931 # Unfortunately, on DOS this fails, as config.log is still kept open
15932 # by configure, so config.status won't be able to write to it; its
15933 # output is simply discarded.  So we exec the FD to /dev/null,
15934 # effectively closing config.log, so it can be properly (re)opened and
15935 # appended to by config.status.  When coming back to configure, we
15936 # need to make the FD available again.
15937 if test "$no_create" != yes; then
15938   ac_cs_success=:
15939   ac_config_status_args=
15940   test "$silent" = yes &&
15941     ac_config_status_args="$ac_config_status_args --quiet"
15942   exec 5>/dev/null
15943   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15944   exec 5>>config.log
15945   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15946   # would make configure fail if this is the last instruction.
15947   $ac_cs_success || as_fn_exit $?
15949 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15950   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15951 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}